/* ==========================================================================
   One hand-written stylesheet, no build step.
   Feel: light, warm, playful, friendly. Cream paper, rounded shapes, sketched
   fruit, one confident green for actions and berry red for delight.
   ========================================================================== */

@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat Brush"; src: url("/fonts/caveat-brush-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --cream: #FFFAF2;
  --paper: #FFFFFF;
  --sand: #F7EEDF;
  --line: #EEE2CF;
  --ink: #2D2A26;
  --ink-soft: #5E5850;

  --berry: #E0314B;
  --berry-deep: #B3173B;
  --berry-tint: #FFE4E9;
  --leaf: #1F7A33;
  --leaf-deep: #175E27;
  --leaf-bright: #3BA551;
  --leaf-tint: #E3F4E0;
  --sun: #FFC94D;
  --sun-tint: #FFF2CC;
  --apricot: #F08A1C;
  --apricot-tint: #FFE8CC;
  --blueberry: #4654C9;
  --blueberry-tint: #E5E8FB;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --pill: 999px;
  --shadow: 0 4px 18px rgba(86, 58, 20, .08);
  --shadow-lift: 0 14px 34px rgba(86, 58, 20, .16);

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --display: "Fredoka", ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat Brush", "Segoe Print", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: var(--berry-deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1.15em; }
:focus-visible { outline: 3px solid var(--blueberry); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - var(--gutter) * 2, 780px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); z-index: 100; }
.skip:focus { left: 12px; }
.icon { width: 1.35em; height: 1.35em; flex: none; }
.hand { font-family: var(--hand); font-weight: 400; color: var(--berry); font-size: 1.6rem; line-height: 1; letter-spacing: .01em; transform: rotate(-2deg); display: inline-block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1.05rem/1 var(--display); padding: .95em 1.6em; border-radius: var(--pill); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--green { background: var(--leaf); color: #fff; box-shadow: 0 5px 0 var(--leaf-deep); }
.btn--green:hover { background: var(--leaf-deep); color: #fff; box-shadow: 0 7px 0 #0F4A1D; }
.btn--berry { background: var(--berry-deep); color: #fff; box-shadow: 0 5px 0 #7E0F29; }
.btn--berry:hover { color: #fff; background: #9C1433; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: var(--sun-tint); }
.btn--small { font-size: .95rem; padding: .7em 1.2em; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--leaf); color: #fff; text-align: center; font: 600 .95rem/1.4 var(--body); padding: .55em var(--gutter); }
.announce a { color: #fff; text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 242, .93); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5em .85em; border-radius: var(--pill); font: 500 1.03rem/1 var(--display); color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sun-tint); color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--sun-tint); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--cream); padding: 90px 26px 30px; transform: translateX(105%); transition: transform .28s ease; box-shadow: var(--shadow-lift); overflow-y: auto; }
  .site-nav.is-open { transform: none; }
  .nav { flex-direction: column; align-items: stretch; gap: 6px; }
  .nav a { font-size: 1.3rem; padding: .7em .9em; }
  .header-tools .btn { display: none; }
  .nav-close { position: absolute; top: 16px; right: 16px; }
}
@media (min-width: 961px) { .nav-close { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 96px) 0; position: relative; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--sun { background: var(--sun); }
.section--sand { background: var(--sand); }
.section--leaf { background: var(--leaf); color: #fff; }
.section--leaf h2, .section--leaf h3 { color: #fff; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 44px); }
.section__head h2 { margin: 0; }
.section__head p { margin: .4em 0 0; color: var(--ink-soft); max-width: 60ch; }
.more-link { font: 600 1.05rem var(--display); display: inline-flex; align-items: center; gap: .3em; text-decoration: none; }
.more-link .icon { width: 1em; height: 1em; transition: transform .2s; }
.more-link:hover .icon { transform: translateX(4px); }
.wave { display: block; width: 100%; height: 38px; margin-bottom: -1px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(48px, 7vw, 84px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--berry); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; right: 0; bottom: -.22em; width: 100%; height: .3em; color: var(--sun); }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; }
.hero__blob { position: absolute; inset: 6%; background: var(--berry-tint); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; animation: blob 16s ease-in-out infinite alternate; }
.hero__art .doodle { position: absolute; }
.hero__note { position: absolute; right: 2%; bottom: 8%; text-align: center; }
.hero__note .icon { width: 64px; height: 40px; color: var(--ink); margin: 0 auto 0 0; transform: scaleX(-1) rotate(20deg); }
.doodle { color: var(--berry); animation: float 7s ease-in-out infinite; }
.doodle--leaf { color: var(--leaf-bright); }
.doodle--sun { color: var(--apricot); }
.doodle--blue { color: var(--blueberry); }
.doodle:nth-child(2n) { animation-duration: 9s; animation-delay: -3s; }
.doodle:nth-child(3n) { animation-duration: 11s; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--tilt, 0deg) + 5deg)); } }
@keyframes blob { to { border-radius: 44% 56% 42% 58% / 56% 44% 58% 42%; transform: rotate(8deg); } }
.edge-doodles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.edge-doodles .doodle { position: absolute; opacity: .55; }
@media (max-width: 860px) {
  /* Words first on a phone: the headline is what people and search engines came for. */
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 340px; }
  .hero__art .doodle--carrot { bottom: 36% !important; right: 0 !important; }
  .hero__note { bottom: 0; right: 0; }
}
@media (prefers-reduced-motion: reduce) { .doodle, .hero__blob { animation: none; } html { scroll-behavior: auto; } .btn, .card, .tile { transition: none; } }

/* ---------- USP row ---------- */
.usps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.usps li { text-align: center; font: 500 1rem/1.3 var(--display); color: var(--ink); }
.usps .icon { width: 54px; height: 54px; margin: 0 auto 10px; color: var(--leaf); }
.usps small { display: block; font: 400 .9rem/1.4 var(--body); color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 760px) { .usps { grid-template-columns: repeat(2, 1fr); } .usps li:last-child { grid-column: span 2; } }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; padding: 24px; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s; }
.tile:hover { transform: translateY(-6px) rotate(-1.2deg); box-shadow: var(--shadow-lift); color: var(--ink); }
.tile h3 { margin: 0 0 4px; font-size: 1.55rem; }
.tile p { margin: 0; font-size: .98rem; color: var(--ink); opacity: .82; }
.tile .icon { position: absolute; top: 18px; right: 16px; width: 104px; height: 104px; opacity: .9; transition: transform .3s; }
.tile:hover .icon { transform: rotate(10deg) scale(1.08); }
.tile--berry { background: var(--berry-tint); } .tile--berry .icon { color: var(--berry); }
.tile--fruit { background: var(--apricot-tint); } .tile--fruit .icon { color: var(--apricot); }
.tile--veg { background: var(--leaf-tint); } .tile--veg .icon { color: var(--leaf); }
.tile--powder { background: var(--blueberry-tint); } .tile--powder .icon { color: var(--blueberry); }
.tile--sun { background: var(--sun-tint); } .tile--sun .icon { color: var(--apricot); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 170px; } }

/* ---------- Steps band ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 70px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font: 600 1.5rem var(--display); box-shadow: 0 4px 0 rgba(45, 42, 38, .18); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink); opacity: .85; font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid, .grid--4 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--sun-tint); display: grid; place-items: center; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .icon { width: 42%; height: 60%; color: var(--apricot); opacity: .9; }
.card:nth-child(3n+1) .card__media { background: var(--berry-tint); } .card:nth-child(3n+1) .card__media .icon { color: var(--berry); }
.card:nth-child(3n+2) .card__media { background: var(--leaf-tint); } .card:nth-child(3n+2) .card__media .icon { color: var(--leaf); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__kicker { font: 600 .82rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--berry-deep); }
.card h3 { margin: 0; font-size: 1.28rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
.card__meta { margin-top: auto; padding-top: 8px; font-size: .88rem; color: var(--ink-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 32px; }
.chips a { display: inline-block; padding: .45em 1.05em; border-radius: var(--pill); background: var(--paper); border: 1.5px solid var(--line); font: 500 .98rem var(--display); color: var(--ink); text-decoration: none; }
.chips a:hover, .chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Page head + breadcrumbs ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); position: relative; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }
.page-head__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .92rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--berry-deep); text-decoration: underline; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--ink-soft); font-size: .95rem; margin-top: 18px; }
.meta-row .tag { background: var(--berry-tint); color: var(--berry-deep); padding: .25em .8em; border-radius: var(--pill); font: 600 .85rem var(--display); text-decoration: none; }

/* ---------- Article layout ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(48px, 7vw, 90px); }
.article--single { grid-template-columns: minmax(0, 780px); justify-content: center; }
.article__hero { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 34px; box-shadow: var(--shadow); background: var(--sand); }
.article__hero img { width: 100%; height: auto; }
.aside { position: sticky; top: 100px; display: grid; gap: 22px; }
@media (max-width: 1020px) { .article { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } .aside .toc { display: none; } }
.toc, .panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.toc h2, .panel h2 { font-size: 1.1rem; margin-bottom: .7em; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 58vh; overflow: auto; }
.toc a { display: block; padding: .35em .6em; border-radius: 10px; color: var(--ink-soft); text-decoration: none; font-size: .95rem; line-height: 1.35; border-left: 3px solid transparent; }
.toc a:hover, .toc a.is-active { background: var(--sun-tint); color: var(--ink); border-left-color: var(--sun); }
.toc .lvl-3 a { padding-left: 1.5em; font-size: .9rem; }
.toc-inline { margin: 0 0 30px; }
.toc-inline summary { cursor: pointer; font: 600 1.1rem var(--display); }
@media (min-width: 1021px) { .toc-inline { display: none; } }
.panel--join { background: var(--leaf-tint); border-color: transparent; }
.panel--join p { font-size: .97rem; color: var(--ink); }

.takeaways { background: var(--sun-tint); border-radius: var(--radius); padding: 24px 26px; margin: 0 0 34px; position: relative; }
.takeaways h2 { font-size: 1.25rem; margin-bottom: .5em; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin: .3em 0; }

/* ---------- Prose ---------- */
.prose { font-size: 1.1rem; line-height: 1.78; }
.prose > * { max-width: 72ch; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.55rem, 2.8vw, 2.05rem); }
.prose h3 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--berry); font-weight: 700; }
.prose a { font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; background: var(--leaf-tint); border-radius: var(--radius); border-left: 6px solid var(--leaf-bright); font-style: italic; }
.prose blockquote p:last-child { margin: 0; }
.prose hr { border: 0; height: 12px; margin: 2.4em auto; max-width: 180px; background: radial-gradient(circle, var(--berry) 3px, transparent 3.5px) 0 0 / 24px 12px repeat-x; }
.prose code { background: var(--sand); padding: .1em .4em; border-radius: 6px; font-size: .92em; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.table-scroll { overflow-x: auto; margin: 1.6em 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.prose th, .prose td { padding: .75em 1em; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sun-tint); font: 600 .95rem var(--display); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose .callout, .prose .article-disclaimer { background: var(--blueberry-tint); border-radius: var(--radius); padding: 18px 22px; margin: 1.8em 0; font-size: 1rem; }
.prose .callout--tip { background: var(--leaf-tint); }
.prose .callout--warm { background: var(--sun-tint); }
.prose .callout > :last-child, .prose .article-disclaimer > :last-child { margin-bottom: 0; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0 0 34px; padding: 0; list-style: none; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.facts b { display: block; font: 600 1.25rem/1.2 var(--display); color: var(--berry-deep); }
.facts span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 18px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font: 600 1.12rem/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font: 600 1.3rem/1 var(--display); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 0 20px; color: var(--ink-soft); }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Author + share ---------- */
.author { display: flex; gap: 18px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 44px; }
.author__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--berry-tint); display: grid; place-items: center; flex: none; color: var(--berry); }
.author__avatar .icon { width: 36px; height: 36px; }
.author h2 { font-size: 1.1rem; margin: 0 0 .2em; }
.author p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

/* ---------- Newsletter ---------- */
.join { position: relative; }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 60px); align-items: center; }
.join h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.join p { color: rgba(255, 255, 255, .92); max-width: 48ch; }
.join-form { display: flex; gap: 10px; flex-wrap: wrap; }
.join-form input[type="email"] { flex: 1 1 230px; min-width: 0; font: 500 1.05rem var(--body); padding: .95em 1.3em; border-radius: var(--pill); border: 2px solid transparent; background: #fff; color: var(--ink); }
.join-form input[type="email"]:focus { outline: none; border-color: var(--sun); }
.join-form .btn { background: var(--sun); color: var(--ink); box-shadow: 0 5px 0 #C99413; }
.join-form .btn:hover { background: #FFD670; color: var(--ink); }
.join-form .hp { position: absolute; left: -5000px; }
.join-small { font-size: .85rem; margin-top: 12px; opacity: .9; }
.join-small a { color: inherit; }
.join-msg { margin-top: 12px; font-weight: 700; min-height: 1.4em; }
.panel--join .join-form input[type="email"] { border-color: var(--line); }
.panel--join .join-form .btn { background: var(--leaf); color: #fff; box-shadow: 0 5px 0 var(--leaf-deep); width: 100%; }
@media (max-width: 800px) { .join__grid { grid-template-columns: 1fr; } }

/* ---------- Coming-soon product slot ---------- */
.shop-soon { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--paper); border: 2px dashed var(--berry); border-radius: var(--radius-lg); padding: 24px 26px; margin: 0 0 36px; }
.shop-soon .icon { width: 74px; height: 74px; color: var(--berry); }
.shop-soon h2 { font-size: 1.35rem; margin: 0 0 .25em; }
.shop-soon p { margin: 0 0 12px; color: var(--ink-soft); font-size: 1rem; }
.shop-soon .join-form input[type="email"] { border-color: var(--line); }
.shop-soon .join-form .btn { background: var(--berry-deep); color: #fff; box-shadow: 0 5px 0 #7E0F29; }
@media (max-width: 560px) { .shop-soon { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc { background: var(--sun-tint); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 34px); margin: 0 0 36px; display: grid; gap: 16px; }
.calc h2 { font-size: 1.45rem; margin: 0; }
.calc__row { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.calc label, .calc legend { font: 600 1rem var(--display); padding: 0; }
.calc select, .calc input[type="number"] { font: 500 1.1rem var(--body); padding: .8em 1em; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; max-width: 420px; }
.calc select:focus, .calc input[type="number"]:focus { outline: none; border-color: var(--leaf-bright); }
.calc__toggle { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.calc__toggle legend { float: left; margin-right: 18px; }
.calc__toggle label { font: 500 1.05rem var(--body); display: inline-flex; align-items: center; gap: .45em; cursor: pointer; }
.calc__toggle input { width: 1.15em; height: 1.15em; accent-color: var(--leaf); }
.calc__result { font: 600 clamp(1.25rem, 2.6vw, 1.6rem)/1.3 var(--display); color: var(--berry-deep); background: var(--paper); border-radius: var(--radius); padding: 18px 22px; margin: 4px 0 0; }
.calc__note { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Recipe ---------- */
.recipe-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); margin-bottom: 40px; }
.recipe-card__stats { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0 0 18px; margin: 0 0 22px; border-bottom: 2px dashed var(--line); list-style: none; }
.recipe-card__stats b { display: block; font: 600 1.15rem var(--display); }
.recipe-card__stats span { font-size: .85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.recipe-card__cols { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; }
.recipe-card h2 { font-size: 1.35rem; }
.recipe-card ul, .recipe-card ol { margin: 0; padding-left: 1.2em; }
.recipe-card li { margin: .5em 0; }
@media (max-width: 720px) { .recipe-card__cols { grid-template-columns: 1fr; } }

/* ---------- Pagination, search, forms ---------- */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: var(--pill); background: var(--paper); border: 1.5px solid var(--line); font: 600 1rem var(--display); color: var(--ink); text-decoration: none; }
.pagination a:hover { background: var(--sun-tint); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .is-disabled { opacity: .4; }
.search-form { display: flex; gap: 10px; max-width: 620px; }
.search-form input { flex: 1; font: 500 1.1rem var(--body); padding: .9em 1.3em; border-radius: var(--pill); border: 2px solid var(--line); background: var(--paper); color: var(--ink); min-width: 0; }
.search-form input:focus { outline: none; border-color: var(--leaf-bright); }
.search-pop { position: fixed; inset: 0; background: rgba(45, 42, 38, .45); z-index: 80; display: none; padding: 14vh var(--gutter) 0; }
.search-pop.is-open { display: block; }
.search-pop__box { background: var(--cream); border-radius: var(--radius-lg); padding: 28px; max-width: 680px; margin: 0 auto; box-shadow: var(--shadow-lift); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #EDE6DA; padding: clamp(44px, 7vw, 80px) 0 28px; margin-top: 0; }
.site-footer a { color: #EDE6DA; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer-grid h2 { font-size: 1.05rem; color: #fff; margin-bottom: .9em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; font-size: .98rem; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .98rem; color: #CFC6B8; max-width: 38ch; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 22px; font-size: .85rem; line-height: 1.6; color: #B9AF9F; }
.footer-legal p { margin: 0 0 .6em; max-width: 110ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Message pages ---------- */
.message { text-align: center; padding: clamp(60px, 12vw, 140px) 0; }
.message .icon { width: 110px; height: 110px; color: var(--berry); margin: 0 auto 20px; }
.message p { color: var(--ink-soft); font-size: 1.15rem; max-width: 52ch; margin-inline: auto; }
