/* ==========================================================================
   South Beach Recipes - "Ocean Drive Deco"
   --------------------------------------------------------------------------
   Art direction: Miami Beach Art Deco, daylight edition. Pastel stucco
   facades, lagoon water, flamingo neon and a hard noon sun, organized with
   the geometry of 1930s Deco: arches, sunbursts, stepped "ziggurat" rules
   and triple speed lines. Deliberately far from warm editorial /
   terracotta-cream-olive-gold magazine styling.

   Palette (light)
     Harbor Navy   #10263B  ink, header badge, footer band
     Lagoon Teal   #0E8583  primary actions, links, bowl in the logo
     Flamingo      #FF5E78  accent, badges, sale prices, logo rim
     Noon Sun      #FFC53D  highlights, tip callouts, logo sun
     Sea Glass     #CDEFE9  tints, offset card shadows
     Salt White    #F5FBFA  page background (cool, not cream)
   Dark mode is "Ocean Drive after dark": deep navy night, neon teal and
   flamingo, sun turned to warm neon.

   Type: geometric Deco sans for display (Futura / Century Gothic / Avenir
   Next stack) paired with a humanist sans for reading (Seravek / Gill Sans
   Nova / Segoe UI stack). System fonts only - no external font requests.

   Motifs: arch-top image frames; sunburst hero; offset "sea glass" card
   shadows with 2px ink outlines; triple speed-line rules; numbered step
   medallions on a dotted pier line; tide-chart nutrition tiles.
   ========================================================================== */

:root {
  --navy: #10263B;
  --teal: #0E8583;
  --teal-strong: #0A6B69;
  --flamingo: #FF5E78;
  --flamingo-ink: #C22746;
  --sun: #FFC53D;
  --seaglass: #CDEFE9;
  --blush: #FFE4EA;
  --sunwash: #FFF3CF;

  --bg: #F5FBFA;
  --surface: #FFFFFF;
  --surface-2: #EAF6F4;
  --ink: #10263B;
  --ink-soft: #3E5569;
  --muted: #5D7184;
  --line: #CFE0E1;
  --outline: #10263B;
  --shadow-offset: #CDEFE9;
  --focus: #FF5E78;
  --on-primary: #FFFFFF;
  --success-bg: #DDF5EC;
  --success-ink: #0B5E47;
  --error-bg: #FFE4EA;
  --error-ink: #A3173A;
  --footer-bg: #10263B;
  --footer-ink: #DDEBEE;

  --font-display: Futura, "Futura PT", "Century Gothic", "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  --font-body: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --arch: 999px 999px 18px 18px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 6px 6px 0 var(--shadow-offset);
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #3FD3C6;
    --teal-strong: #6FE3D8;
    --flamingo: #FF7A90;
    --flamingo-ink: #FF9BAC;
    --sun: #FFD166;
    --seaglass: #1C4A55;
    --blush: #3A1E2E;
    --sunwash: #3A3220;

    --bg: #0B1626;
    --surface: #122238;
    --surface-2: #172B45;
    --ink: #EAF4F4;
    --ink-soft: #C3D4DA;
    --muted: #93A8B6;
    --line: #26405C;
    --outline: #3FD3C6;
    --shadow-offset: #07101C;
    --on-primary: #06201F;
    --success-bg: #0F3A33;
    --success-ink: #9BEBD5;
    --error-bg: #401A28;
    --error-ink: #FFB3C1;
    --footer-bg: #07101C;
    --footer-ink: #C3D4DA;
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-strong); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { top: 8px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
main { display: block; min-height: 50vh; }
main:focus { outline: none; }

.icon { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }

/* ---------- Deco ornaments ---------- */
.kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}
.kicker--rule { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 .6rem; }
.kicker--rule::before, .kicker--rule::after {
  content: "";
  width: 28px; height: 7px;
  background: linear-gradient(var(--flamingo) 0 1.5px, transparent 1.5px 2.75px, var(--flamingo) 2.75px 4.25px, transparent 4.25px 5.5px, var(--flamingo) 5.5px 7px);
}
.speedlines { height: 10px; margin: 2.5rem 0; background: linear-gradient(var(--line) 0 2px, transparent 2px 4px, var(--line) 4px 6px, transparent 6px 8px, var(--line) 8px 10px); border: 0; }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 8px; vertical-align: middle; opacity: .6; }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tint { background: var(--surface-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.25rem; }
.section-head h2 { margin-bottom: .4rem; }
.section-head__lede { color: var(--muted); margin: 0 auto .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; font-family: var(--font-display); letter-spacing: .02em; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

/* ---------- Buttons / forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .03em; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s;
  line-height: 1.2; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal); color: var(--on-primary); }
.btn--primary:hover { background: var(--teal-strong); color: var(--on-primary); }
.btn--accent { background: var(--flamingo); color: #fff; }
.btn--accent:hover { background: var(--flamingo-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--outline); }
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn--sun { background: var(--sun); color: #10263B; }
.btn--sun:hover { filter: brightness(.95); color: #10263B; }
.btn--sm { min-height: 38px; padding: 6px 14px; font-size: .85rem; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-weight: 700; font-size: .92rem; }
.field__hint { font-size: .85rem; color: var(--muted); margin: 0; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=search], .field input[type=tel], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--flamingo); }
.field__error { color: var(--error-ink); font-size: .85rem; margin: 0; }
.field-row { display: grid; gap: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 16px; border-left: 5px solid; font-weight: 600; }
.alert--success { background: var(--success-bg); color: var(--success-ink); border-color: var(--teal); }
.alert--error { background: var(--error-bg); color: var(--error-ink); border-color: var(--flamingo); }
.alert--info { background: var(--sunwash); color: var(--ink); border-color: var(--sun); }
.flash-stack { padding-top: 20px; }

/* ---------- Header ---------- */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile nav and clip it. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); isolation: isolate; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.announce { background: var(--navy); color: #EAF4F4; font-size: .8rem; letter-spacing: .03em; }
.announce__row { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 34px; flex-wrap: wrap; text-align: center; }
.announce__row span { display: inline-flex; align-items: center; gap: 6px; }
.announce__sep { width: 5px; height: 5px; background: var(--sun); transform: rotate(45deg); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; border-radius: 9px; }
@media (prefers-color-scheme: dark) { .brand__mark { box-shadow: 0 0 0 1.5px rgba(205, 239, 233, .35); } }
.brand__word { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em; color: var(--ink); }
.brand__sub { font-family: var(--font-display); font-size: .66rem; letter-spacing: .42em; text-transform: uppercase; color: var(--teal); margin-top: 4px; font-weight: 700; }
.primary-nav { display: flex; gap: 4px; margin-left: auto; }
.primary-nav a { position: relative; padding: 10px 14px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; border-radius: 999px; }
.primary-nav a:hover { background: var(--surface-2); color: var(--ink); }
.primary-nav a[aria-current="page"] { background: var(--seaglass); }
.primary-nav__mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.cart-badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--flamingo); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; line-height: 1; border: 2px solid var(--bg); }
.cart-badge[hidden] { display: none; }
.cart-badge.is-bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.nav-toggle { display: none; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: inline-block; }
.search-drawer { border-top: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-height: 48px; border: 2px solid var(--line); border-radius: 999px; padding: 0 20px; background: var(--bg); min-width: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .icon-btn--account { display: none; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); z-index: 60;
    display: none; flex-direction: column; gap: 2px; padding: 90px 20px 24px; margin: 0;
    background: var(--surface); border-left: 2px solid var(--outline); overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; box-shadow: -12px 0 0 var(--shadow-offset); animation: nav-in .22s ease; }
  @keyframes nav-in { from { transform: translateX(40px); opacity: 0; } }
  .primary-nav a { font-size: 1.15rem; padding: 12px 16px; }
  .primary-nav__mobile-extra { display: grid; gap: 2px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .header-actions { margin-left: auto; }
  .nav-open .nav-toggle { position: relative; z-index: 70; }
  .brand__name { font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .announce__row .announce__sep, .announce__row span:last-child { display: none; }
  .header-row { gap: 8px; min-height: 64px; }
  .brand__mark { width: 32px; height: 32px; }
  .icon-btn { width: 40px; height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--flamingo-ink); }
.hero__lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 26px; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--ink); }
.hero__stats span { font-size: .85rem; color: var(--muted); }
.hero__art { position: relative; aspect-ratio: 4 / 4.3; }
.hero__sun {
  position: absolute; inset: 4% 2% 16% 2%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--sun) 0deg 7deg, transparent 7deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0 70%, transparent 71%);
          mask: radial-gradient(circle, #000 0 70%, transparent 71%);
  opacity: .55;
}
.hero__arch { position: absolute; inset: 8% 12% 0 12%; border-radius: var(--arch); overflow: hidden; border: 3px solid var(--outline); box-shadow: 12px 12px 0 var(--seaglass); background: var(--surface-2); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip { position: absolute; left: 0; bottom: 10%; background: var(--surface); border: 2px solid var(--outline); border-radius: 999px; padding: 10px 18px; font-family: var(--font-display); font-weight: 700; box-shadow: 5px 5px 0 var(--flamingo); display: flex; align-items: center; gap: 8px; }
.hero__chip .icon { color: var(--flamingo); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* ---------- Page head ---------- */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); text-align: center; background:
  radial-gradient(120% 90% at 50% 120%, var(--seaglass) 0 40%, transparent 41%), var(--bg); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .35rem; }
.page-head p { color: var(--ink-soft); max-width: 680px; margin: 0 auto; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs--left ol { justify-content: flex-start; }

/* ---------- Chips / filters ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 28px; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.chip:hover { border-color: var(--teal); color: var(--ink); }
.chip[aria-current="page"], .chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .chip[aria-current="page"], .chip.is-active { background: var(--teal); border-color: var(--teal); color: var(--on-primary); } }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.toolbar__count { color: var(--muted); margin: 0; }
.toolbar form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toolbar select { min-height: 42px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); padding: 0 14px; }

/* ---------- Grids + cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid--4, .grid--3 { grid-template-columns: 1fr; } }

.rcard { display: flex; flex-direction: column; background: var(--surface); border: 2px solid var(--outline); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.rcard:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--shadow-offset); }
.rcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); border-bottom: 2px solid var(--outline); }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rcard:hover .rcard__media img { transform: scale(1.04); }
.rcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rcard__title { font-size: 1.08rem; margin: 0; }
.rcard__title a { color: var(--ink); text-decoration: none; }
.rcard__title a:hover { color: var(--teal); }
.rcard__stats { margin: auto 0 0; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tag--free { background: var(--seaglass); color: var(--ink); }
.tag--member { background: var(--sunwash); color: var(--ink); }

.catcard { position: relative; display: block; text-decoration: none; color: var(--ink); text-align: center; }
.catcard__arch { aspect-ratio: 3 / 3.6; border-radius: var(--arch); overflow: hidden; border: 2px solid var(--outline); background: var(--surface-2); }
.catcard__arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.catcard:hover .catcard__arch img { transform: scale(1.05); }
.catcard__name { font-family: var(--font-display); font-weight: 700; margin: 10px 0 0; line-height: 1.2; }
.catcard__count { font-size: .8rem; color: var(--muted); }
.catgrid { display: grid; gap: 22px 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) { .catgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 440px) { .catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pcard { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.grid > .pcard:nth-child(3n+1) .pcard__media { background: var(--seaglass); }
.grid > .pcard:nth-child(3n+2) .pcard__media { background: var(--blush); }
.grid > .pcard:nth-child(3n+3) .pcard__media { background: var(--sunwash); }
.pcard__media { position: relative; display: block; padding: 18px 18px 0; aspect-ratio: 1 / 1; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--arch); }
.pcard__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pcard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__title { font-size: 1rem; margin: 0; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--teal); }
.pcard__rating { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.pcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 6px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0; color: var(--ink); }
.price__was { font-weight: 400; font-size: .85em; color: var(--muted); margin-left: 4px; }
.stars { position: relative; display: inline-block; width: 80px; height: 15px; background: linear-gradient(90deg, var(--line) 0 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4L3 13.8l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.stars__fill { position: absolute; inset: 0 auto 0 0; background: var(--sun); }

/* ---------- Bands ---------- */
.club-band { position: relative; overflow: hidden; background: var(--navy); color: #EAF4F4; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.club-band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: repeating-conic-gradient(var(--sun) 0 6deg, transparent 6deg 14deg); opacity: .22; }
.club-band h2 { color: #fff; }
.club-band p { color: #C9DBE0; }
.club-band .kicker { color: var(--sun); }
.club-band__price { position: relative; z-index: 1; background: #fff; color: #10263B; border-radius: 20px; padding: 22px; text-align: center; box-shadow: 8px 8px 0 var(--flamingo); }
.club-band__price strong { font-family: var(--font-display); font-size: 2.4rem; display: block; line-height: 1; color: #10263B; }
.club-band__price .btn--primary { background: #0E8583; color: #fff; }
@media (prefers-color-scheme: dark) { .club-band { background: var(--surface-2); border: 2px solid var(--line); } }
@media (max-width: 780px) { .club-band { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--teal); margin-top: 3px; }
.club-band .ticks .icon { color: var(--sun); }

.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.trust .icon { width: 30px; height: 30px; color: var(--teal); }
.trust strong { display: block; font-family: var(--font-display); }
.trust span { font-size: .88rem; color: var(--muted); }
@media (max-width: 780px) { .trust-row { grid-template-columns: 1fr; } }

/* ---------- Recipe detail ---------- */
.recipe-hero { padding: clamp(28px, 4vw, 52px) 0 12px; }
.recipe-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.recipe-hero__media { border-radius: var(--arch); overflow: hidden; border: 3px solid var(--outline); box-shadow: 12px 12px 0 var(--seaglass); aspect-ratio: 4 / 3.6; background: var(--surface-2); }
.recipe-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.recipe-hero__desc { font-size: 1.1rem; color: var(--ink-soft); }
.recipe-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 860px) { .recipe-hero__grid { grid-template-columns: 1fr; } }

.meta-band { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 22px 0 0; border: 2px solid var(--outline); border-radius: 18px; overflow: hidden; background: var(--surface); }
.meta-band div { padding: 12px 10px; text-align: center; border-right: 2px dashed var(--line); }
.meta-band div:last-child { border-right: 0; }
.meta-band dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; font-family: var(--font-display); }
.meta-band dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
@media (max-width: 600px) { .meta-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } .meta-band div { border-bottom: 2px dashed var(--line); } .meta-band div:nth-child(2n) { border-right: 0; } .meta-band div:last-child { grid-column: 1 / -1; border-bottom: 0; } }

.highlights { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.highlights li { display: inline-flex; gap: 6px; align-items: center; background: var(--sunwash); border-radius: 999px; padding: 5px 12px; font-size: .88rem; font-weight: 600; }
.highlights .icon { color: var(--flamingo-ink); }

.recipe-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: 28px 0 48px; }
@media (max-width: 900px) { .recipe-layout { grid-template-columns: 1fr; } }
.headnote { font-size: 1.12rem; max-width: 780px; margin: 22px 0 0; }
.panel { background: var(--surface); border: 2px solid var(--outline); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.panel--sticky { position: sticky; top: 130px; }
@media (max-width: 900px) { .panel--sticky { position: static; } }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.panel__head h2 { margin: 0; font-size: 1.45rem; }
.scaler { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.scaler button { width: 36px; height: 34px; border: 0; background: var(--surface-2); cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.scaler output { min-width: 78px; text-align: center; font-size: .85rem; font-weight: 700; }
.ingredients { list-style: none; margin: 0; padding: 0; }
.ingredients li { border-bottom: 1px dashed var(--line); }
.ingredients li:last-child { border-bottom: 0; }
.ingredients label { display: flex; gap: 12px; padding: 10px 0; cursor: pointer; align-items: flex-start; }
.ingredients input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin-top: 2px; border: 2px solid var(--teal); border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--surface); }
.ingredients input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform .15s; }
.ingredients input:checked::after { transform: scale(1); }
.ingredients input:checked + span { text-decoration: line-through; color: var(--muted); }
.ingredients .qty { font-weight: 700; font-family: var(--font-display); }
.ingredients .note { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; border-left: 3px dotted var(--seaglass); }
.steps li { position: relative; padding: 0 0 26px 66px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--sun); }
@media (prefers-color-scheme: dark) { .steps li::before { background: var(--teal); color: var(--on-primary); } }
.steps li p { margin: 0; }
.steps li.is-done p { color: var(--muted); }
.steps li.is-done::before { content: "\2713"; background: var(--teal); }

.tips { background: var(--sunwash); border-radius: 22px; padding: 22px 24px; margin-top: 12px; border: 2px solid var(--sun); }
.tips h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 8px; }
.tips ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 8px; }
.nutrition { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.nutrition div { background: var(--surface-2); border-radius: 14px; padding: 12px; text-align: center; border-bottom: 4px solid var(--teal); }
.nutrition div:nth-child(2n) { border-bottom-color: var(--flamingo); }
.nutrition dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.nutrition dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.fineprint { font-size: .82rem; color: var(--muted); }

.join-wall { position: relative; margin-top: 8px; }
.join-wall__fade { height: 140px; margin-top: -140px; position: relative; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.join-wall__card { position: relative; text-align: center; background: var(--surface); border: 2px solid var(--outline); border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: 10px 10px 0 var(--sun); }
.join-wall__card .icon { width: 42px; height: 42px; color: var(--flamingo); margin: 0 auto 8px; display: block; }
.join-wall__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.locked-list { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; }

.section-title { font-size: 1.6rem; margin: 0 0 16px; }

/* ---------- Product detail ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); padding: 32px 0 48px; align-items: start; }
.product__media { background: var(--seaglass); border-radius: 28px; padding: clamp(18px, 3vw, 36px); }
.product__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--arch); border: 3px solid var(--outline); }
.product__price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 14px; }
.product__price .price { font-size: 2rem; }
.product__save { background: var(--blush); color: var(--flamingo-ink); padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem; }
.product__buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.qty-input { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty-input button { width: 40px; height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; font-weight: 700; }
.qty-input input { width: 46px; height: 44px; border: 0; text-align: center; background: transparent; -moz-appearance: textfield; }
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; color: var(--success-ink); font-weight: 600; }
.features { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.features li { display: flex; gap: 10px; }
.features .icon { color: var(--teal); margin-top: 3px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 700; color: var(--ink-soft); background: var(--surface-2); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* ---------- Cart / checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 4vw, 44px); align-items: start; padding: 32px 0 60px; }
@media (max-width: 900px) { .cart-layout, .checkout-layout { grid-template-columns: 1fr; } }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--outline); }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 88px; height: 88px; object-fit: cover; border-radius: 44px 44px 10px 10px; background: var(--surface-2); }
.cart-line__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-line__unit { font-size: .85rem; color: var(--muted); margin: 2px 0 8px; }
.cart-line__total { font-family: var(--font-display); font-weight: 700; text-align: right; }
.cart-line__remove { background: none; border: 0; color: var(--flamingo-ink); cursor: pointer; font-size: .85rem; padding: 4px 0; text-decoration: underline; }
@media (max-width: 520px) { .cart-line { grid-template-columns: 64px minmax(0, 1fr); } .cart-line img { width: 64px; height: 64px; } .cart-line__total { grid-column: 2; text-align: left; } }
.summary { background: var(--surface); border: 2px solid var(--outline); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); position: sticky; top: 130px; }
@media (max-width: 900px) { .summary { position: static; } }
.summary h2 { font-size: 1.35rem; }
.summary__rows { margin: 0; }
.summary__rows div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; }
.summary__rows dt { color: var(--ink-soft); }
.summary__rows dd { margin: 0; font-weight: 700; text-align: right; }
.summary__rows .summary__total { border-top: 2px solid var(--outline); margin-top: 6px; padding-top: 12px; font-size: 1.2rem; font-family: var(--font-display); }
.summary__rows .summary__total dt { color: var(--ink); }
.summary__items { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.summary__items li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .9rem; }
.summary__items img { width: 52px; height: 52px; object-fit: cover; border-radius: 26px 26px 8px 8px; }
.shipping-meter { font-size: .88rem; background: var(--seaglass); border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.shipping-meter__bar { height: 8px; border-radius: 999px; background: var(--surface); margin-top: 8px; overflow: hidden; }
.shipping-meter__bar span { display: block; height: 100%; background: var(--teal); width: 0; transition: width .3s; }
.empty-state { text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: 22px; }
.empty-state .icon { width: 48px; height: 48px; color: var(--teal); margin: 0 auto 10px; display: block; }

.checkout-form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.checkout-form legend { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 0; }
.checkout-form legend .step-no { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-grid; place-items: center; font-size: .95rem; }
@media (prefers-color-scheme: dark) { .checkout-form legend .step-no { background: var(--teal); color: var(--on-primary); } }
.card-fields { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 18px 18px 4px; }
.guarantee { display: flex; gap: 12px; align-items: flex-start; background: var(--sunwash); border: 2px solid var(--sun); border-radius: 16px; padding: 14px 16px; margin: 18px 0; font-size: .95rem; }
.guarantee .icon { width: 28px; height: 28px; color: var(--teal); }
.guarantee p { margin: 0; }
.plan-summary { text-align: left; }
.plan-summary__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.secure-note { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-top: 12px; justify-content: center; }

/* ---------- Membership ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 2px solid var(--outline); border-radius: 26px; padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan--featured { box-shadow: 10px 10px 0 var(--flamingo); }
.plan__ribbon { position: absolute; top: -14px; right: 22px; background: var(--flamingo); color: #fff; padding: 4px 14px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan__price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; margin: 8px 0 4px; }
.plan__price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan .ticks { margin: 18px 0 22px; }
.plan .btn { margin-top: auto; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Auth / account ---------- */
.auth-wrap { display: grid; place-items: center; padding: clamp(32px, 6vw, 72px) 0; }
.auth-card { width: 100%; max-width: 460px; background: var(--surface); border: 2px solid var(--outline); border-radius: 26px; padding: clamp(22px, 4vw, 36px); box-shadow: 10px 10px 0 var(--seaglass); }
.auth-card h1 { font-size: 2rem; }
.auth-card__alt { text-align: center; margin: 16px 0 0; font-size: .95rem; }
.account-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; padding: 32px 0 60px; align-items: start; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-family: var(--font-display); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--surface-2); }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--seaglass); color: var(--ink); }

/* ---------- Prose (legal, blog, about) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 36px 0 64px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); }
.prose .callout { background: var(--seaglass); border-radius: 18px; padding: 18px 20px; border-left: 6px solid var(--teal); }
.prose .callout--sun { background: var(--sunwash); border-left-color: var(--sun); }
.policy-meta { color: var(--muted); font-size: .92rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 20px 0; }
.toc ol { margin: 0; columns: 2; column-gap: 28px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

.post-hero { max-width: 1000px; margin: 0 auto; }
.post-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 28px 28px 28px 28px; border: 3px solid var(--outline); box-shadow: 12px 12px 0 var(--seaglass); }
.post-meta { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; }
.bcard { display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.bcard__media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bcard:hover .bcard__media img { transform: scale(1.04); }
.bcard__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bcard__body h3 { margin: 0; font-size: 1.15rem; }
.bcard__body h3 a { color: var(--ink); text-decoration: none; }
.bcard__body h3 a:hover { color: var(--teal); }
.bcard__body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.bcard__meta { font-size: .8rem; color: var(--muted); margin-top: auto !important; padding-top: 8px; }

.team-card { text-align: center; }
.team-card__photo { width: min(240px, 80%); aspect-ratio: 3 / 3.6; margin: 0 auto 14px; border-radius: var(--arch); overflow: hidden; border: 3px solid var(--outline); box-shadow: 8px 8px 0 var(--sun); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__role { color: var(--teal); font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.team-card p { font-size: .95rem; color: var(--ink-soft); text-align: left; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split__img { border-radius: var(--arch); overflow: hidden; border: 3px solid var(--outline); box-shadow: 12px 12px 0 var(--flamingo); aspect-ratio: 4 / 4.2; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.stat-row div { background: var(--surface); border: 2px solid var(--outline); border-radius: 18px; padding: 14px; text-align: center; }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--teal); line-height: 1.1; }
@media (max-width: 600px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ + jobs accordions */
.accordion { display: grid; gap: 12px; }
.accordion details { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 0 20px; }
.accordion details[open] { border-color: var(--outline); box-shadow: var(--shadow); }
.accordion summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-family: var(--font-display); font-weight: 700; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal); }
.accordion details[open] summary::after { content: "\2212"; }
.accordion details > div { padding: 0 0 18px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; font-family: var(--font-body); font-weight: 400; }
.job-meta li { font-size: .8rem; background: var(--surface-2); border-radius: 999px; padding: 2px 10px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; padding: 36px 0 64px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.sitemap-cols { columns: 3 260px; column-gap: 32px; padding: 32px 0 64px; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 26px; }
.sitemap-cols ul { padding-left: 1.1rem; margin: 0; }
.sitemap-cols h2 { font-size: 1.2rem; }

.not-found { text-align: center; padding: clamp(48px, 8vw, 100px) 0; }
.not-found__code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; font-weight: 700; color: var(--flamingo); text-shadow: 6px 6px 0 var(--seaglass); margin: 0; }

.success-hero { text-align: center; padding: clamp(36px, 6vw, 72px) 0 20px; }
.success-hero__badge { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--teal); color: var(--on-primary); box-shadow: 0 0 0 8px var(--seaglass); }
.success-hero__badge .icon { width: 44px; height: 44px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 36px 0 0; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.pagination span[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination a:hover { border-color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; color: var(--footer-bg); }
.site-footer__wave { display: block; width: 100%; height: 36px; }
.site-footer__inner { background: var(--footer-bg); color: var(--footer-ink); padding: 40px 0 24px; margin-top: -1px; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { color: #FFC53D; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__sub { color: #FFC53D; }
.brand--footer .brand__mark { width: 40px; height: 40px; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.footer-brand__tag { margin: 14px 0; color: #B9CCD3; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: #FFC53D; }
.footer-col__title { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin: 6px 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .94rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 18px; font-size: .84rem; color: #9FB5BE; }
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom a { text-decoration: underline; }

/* ---------- Toast + cookie notice ---------- */
.toast-region { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: grid; gap: 10px; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; border-radius: 16px; padding: 12px 14px 12px 16px; box-shadow: 6px 6px 0 var(--sun); animation: toast-in .25s ease; max-width: 380px; }
.toast a { color: var(--sun); font-weight: 700; white-space: nowrap; }
.toast .icon { color: var(--sun); }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: all .25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-color-scheme: dark) { .toast { background: var(--surface-2); border: 1px solid var(--line); } }
.cookie-notice { position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: 460px; background: var(--surface); border: 2px solid var(--outline); border-radius: 18px; padding: 16px; box-shadow: 8px 8px 0 var(--shadow-offset); font-size: .92rem; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0 0 10px; }
.cookie-notice__actions { display: flex; gap: 8px; justify-content: flex-end; }
@media (max-width: 520px) { .cookie-notice { right: 16px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print (recipe cards) ---------- */
@media print {
  .site-header, .site-footer, .cookie-notice, .toast-region, .recipe-hero__actions, .no-print, .join-wall { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .panel, .recipe-hero__media { box-shadow: none; border: 1px solid #999; }
  .recipe-layout { grid-template-columns: 1fr 1.4fr; }
  .steps li::before { box-shadow: none; background: #000; }
  a { color: #000; text-decoration: none; }
}
