/* Lotus Kitchens — design system
   White ground, one blue (the logo's), one amber accent for emphasis.
   Blue is the only colour that means "you can act on this". */

:root {
  /* Ink: cool neutrals, tinted toward the brand navy rather than pure grey. */
  --ink:          #0c2340;
  --ink-soft:     #445f7d;
  --ink-faint:    #637890;

  /* Blue: anchored on the logo artwork (#00469c) so the mark and the interface
     are the same colour. Blue owns every action and link. */
  --blue-950:     #041d3d;
  --blue-900:     #062f63;
  --blue-800:     #00397f;
  --blue-700:     #00469c;
  --blue-600:     #0f5fbe;
  --blue-500:     #2b81d8;
  --blue-300:     #86b6e9;
  --blue-100:     #dbe8f8;
  --blue-050:     #f1f6fd;

  /* Gold: the single accent. Emphasis only - never an action.
     Held at hue ~46 deg across the ramp; the earlier 38 deg read as brown.
     700 is the only step light enough for small text (4.5:1 on white),
     600 carries stars and display type (3:1), 500 is a fill for dark grounds. */
  --accent-700:   #937204;
  --accent-600:   #b08a04;
  --accent-500:   #eec02b;
  --accent-100:   #fbf1d0;
  --accent-050:   #fefbf0;

  /* Red exists only to report a problem. */
  --error-700:    #8c1d18;
  --error-600:    #b3261e;
  --error-100:    #f4c7c3;
  --error-050:    #fdeceb;

  --white:        #ffffff;
  --paper:        #f7fafd;
  --line:         #d9e3ef;
  --line-soft:    #eaf1f8;

  --radius:       14px;
  --radius-lg:    22px;
  --shadow-sm:    0 1px 2px rgba(6, 35, 64, .06), 0 2px 8px rgba(6, 35, 64, .05);
  --shadow-md:    0 2px 6px rgba(6, 35, 64, .07), 0 12px 28px rgba(6, 35, 64, .08);
  --shadow-lg:    0 8px 20px rgba(6, 35, 64, .10), 0 28px 60px rgba(6, 35, 64, .12);

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 650; }

p { margin: 0 0 1.1em; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-900); }

img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 760px; }

.lede { font-size: 1.2rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: .9rem;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--blue-050); }
.section-accent { background: var(--accent-050); }

.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

/* the blue bar terminates the header on pages that carry it, so the hairline
   underneath it is redundant. Pages without a bar keep it. */
.site-header:has(.tipbar) { border-bottom: none; }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand:hover { color: var(--blue-900); }
.brand svg { flex: none; }

/* The supplied artwork is a stacked lockup; its wordmark is unreadable at
   header size, so the header uses the mark alone beside live text and the
   footer uses the full lockup, where there is room for it. */
.brand-mark { flex: none; display: block; width: auto; height: 36px; }
.brand-lockup { display: block; width: auto; height: 96px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-nav a:hover { background: var(--blue-050); color: var(--blue-900); }
.site-nav a[aria-current="page"] { color: var(--blue-900); background: var(--blue-100); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover:not(:disabled) { background: var(--blue-800); color: #fff; box-shadow: var(--shadow-md); }

.btn-blue { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-blue:hover:not(:disabled) { background: var(--blue-800); color: #fff; box-shadow: var(--shadow-md); }

.btn-ghost { background: var(--white); color: var(--blue-900); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: var(--blue-500); background: var(--blue-050); }

.btn-lg { padding: 16px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 32rem at 12% -12%, var(--blue-100) 0%, transparent 62%),
    radial-gradient(46rem 30rem at 92% 8%, var(--accent-050) 0%, transparent 60%),
    var(--white);
  border-bottom: 1px solid var(--line-soft);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}

.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--accent-600); }
.hero .lede { font-size: 1.28rem; max-width: 34ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .93rem;
  color: var(--ink-faint);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- hero media: two counter-scrolling columns ----------
   Left column travels upward, right column downward. Tiles are small enough
   that four to six dishes are on screen at once, and the whole thing drifts
   slowly (~28px/sec) so it reads as ambient rather than as a carousel. */

.hero-media {
  --tile-gap: 14px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* start, not the default stretch: the columns hold different numbers of
     tiles, and stretching the shorter one to match would pad it with empty
     space that the -50% loop then scrolls through as a gap. */
  align-items: start;
  gap: var(--tile-gap);
  height: min(680px, 82vh);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
}

/* --dur is set per column in the markup and scaled to that column's tile
   count, so both columns travel at the same speed despite holding a
   different number of photos. */
.vmarquee {
  display: flex;
  flex-direction: column;
  gap: var(--tile-gap);
  animation: vscroll var(--dur, 80s) linear infinite;
  will-change: transform;
}
/* Same keyframes played backwards, so this column travels top-to-bottom. */
.vmarquee-down { animation-direction: reverse; }

/* Half a gap is subtracted so the duplicated second set lands exactly where
   the first began -- without it the loop jumps by half a gap each cycle. */
@keyframes vscroll {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(-50% - var(--tile-gap) / 2)); }
}

.vmarquee figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--blue-100);
}
/* height:auto is load-bearing -- the width/height attributes on <img> act as
   presentational hints for the CSS width/height properties, and an explicit
   height would otherwise beat aspect-ratio and render tiles at full size. */
.vmarquee img,
.vmarquee video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- archetype band ----------
   One full screen tall, bounded top and bottom by a rule so the section reads
   as a distinct band. The tabs hang off the top edge and the selected one is
   filled with the band colour, so it merges into the panel with no seam. */

.archetypes {
  --band: var(--blue-050);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.archetypes-rail {
  background: var(--white);
  padding-top: clamp(30px, 5vh, 62px);
}
.archetypes-rail .section-head { margin-bottom: clamp(18px, 3vh, 32px); }

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  margin-bottom: -1px;                    /* overlap the band's top rule */
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-bottom-color: transparent;
  border-radius: 13px 13px 0 0;
  background: var(--white);
  font: inherit;
  font-size: .97rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.tab:hover { background: var(--blue-100); color: var(--blue-900); }
.tab svg { flex: none; width: 20px; height: 20px; }
.tab[aria-selected="true"] {
  background: var(--band);
  color: var(--blue-900);
  border-bottom-color: var(--band);       /* paints over the rule below */
}
.tab:focus-visible { outline: 2px solid var(--blue-700); outline-offset: -3px; }

.archetypes-band {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(24px, 4vh, 52px);
}
.archetypes-band > .wrap { width: 100%; }

.tabpanel {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: clamp(1.45rem, 2.7vw, 2.05rem); margin-bottom: .4em; }
.tabpanel .panel-lede { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 0; }

/* Supporting points: no rules or boxes, just a quiet marker and a bold
   lead-in, so the panel stays light enough to read at a glance. */
.points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .97rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.points strong { color: var(--ink); font-weight: 650; }
.point-dot {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-700);
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 700;
}

/* A pair of portraits, height-capped so the band still fits one screen */
.tab-media {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  height: clamp(280px, 44vh, 440px);
}
.tab-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ---------- savings calculator ---------- */

.calc {
  margin-top: 20px;
  padding: 15px 20px 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.calc-head label { font-weight: 600; font-size: .95rem; }
.calc-head output { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--blue-900); }
.calc input[type="range"] {
  width: 100%;
  margin: 12px 0 0;
  accent-color: var(--blue-700);
  cursor: pointer;
}
.calc input[type="range"]:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 4px; }
.calc-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.calc-amount {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--accent-600);
  font-variant-numeric: tabular-nums;
}
.calc-result span { color: var(--ink-soft); font-size: .97rem; }
.calc-note { margin: 12px 0 0; font-size: .83rem; color: var(--ink-faint); }

/* ---------- "see what others are cooking" strip ---------- */

.cookstrip {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.cookstrip-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: hscroll 88s linear infinite;   /* ~40px/sec */
  will-change: transform;
}

@keyframes hscroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}

.cook-card {
  position: relative;
  flex: none;
  width: 330px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ink);
}
.cook-card img,
.cook-card video {
  display: block;
  width: 100%;
  height: auto;                /* see the note on .vmarquee img */
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.cook-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 18px 14px;
  background: linear-gradient(180deg, rgba(6, 26, 44, 0) 0%, rgba(6, 26, 44, .55) 42%, rgba(6, 26, 44, .92) 100%);
  color: #fff;
}
.cook-card .dish { display: block; font-weight: 650; font-size: 1rem; line-height: 1.3; }

/* ---------- reviews ---------- */

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stars { color: var(--accent-600); font-size: 1.02rem; letter-spacing: 3px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1rem; line-height: 1.62; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-900);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .86rem;
}
.review figcaption strong { display: block; font-size: .95rem; }
.review figcaption span { display: block; font-size: .86rem; color: var(--ink-faint); }

/* ---------- feature grid ---------- */

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }


/* ---------- steps ---------- */

.steps { counter-reset: step; display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); }

.step { position: relative; padding-top: 62px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--blue-100);
}
.step::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 58px;
  right: -14px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 14px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.12rem; }
.step p { font-size: .97rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- pull quote ---------- */


/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--blue-950) 0%, var(--blue-700) 58%, var(--blue-600) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 7vw, 88px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .86); max-width: 54ch; margin-inline: auto; font-size: 1.12rem; }
.cta-band .btn-primary { background: var(--accent-500); color: var(--blue-950); }
.cta-band .btn-primary:hover { background: var(--accent-100); color: var(--blue-950); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 52px 0 34px;
  font-size: .94rem;
  color: var(--ink-soft);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: var(--ink); margin-bottom: .7em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--blue-700); text-decoration: underline; }
.footer-base {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--ink-faint);
}

/* ---------- forms ---------- */

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.field .hint { font-size: .88rem; color: var(--ink-faint); margin: 0 0 8px; }

input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}
textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
textarea.recipe-input { min-height: 300px; font-family: var(--mono); font-size: .93rem; }

.field-error { display: block; margin-top: 6px; font-size: .88rem; color: var(--error-600); }

.form-note { font-size: .88rem; color: var(--ink-faint); }

.alert {
  padding: 14px 18px;
  border-radius: 11px;
  font-size: .96rem;
  margin-bottom: 18px;
}
.alert-error { background: var(--error-050); border: 1px solid var(--error-100); color: var(--error-700); }
.alert-success { background: var(--blue-100); border: 1px solid var(--blue-300); color: var(--blue-900); }
.alert-warn { background: var(--accent-050); border: 1px solid var(--accent-100); color: var(--accent-700); }

/* ---------- quote page ---------- */

.page-head {
  background: linear-gradient(180deg, var(--blue-050), var(--white));
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(44px, 6vw, 72px) 0 clamp(36px, 5vw, 56px);
}
.page-head p { max-width: 60ch; }

.hidden { display: none !important; }

.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-panel { text-align: center; padding: 60px 20px; }
.loading-panel .spinner {
  width: 34px; height: 34px; border-width: 3px;
  border-color: var(--blue-100); border-top-color: var(--blue-700);
  margin: 0 auto 20px;
}

/* headline price */
.price-hero {
  background: linear-gradient(120deg, var(--blue-950), var(--blue-700) 60%, var(--blue-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.price-hero h2 { color: #fff; margin-bottom: .2em; font-size: 1.7rem; }
.price-hero .meta { color: rgba(255, 255, 255, .82); font-size: .96rem; margin: 0; }
.price-figure { text-align: right; }
.price-figure .amount {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-figure .unit { display: block; font-size: .95rem; color: rgba(255, 255, 255, .82); margin-top: 6px; }
.price-figure .order-total { font-size: .95rem; color: rgba(255, 255, 255, .9); margin-top: 12px; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}
.panel > h3 { margin-bottom: .25em; }
.panel .panel-sub { color: var(--ink-soft); font-size: .96rem; margin-bottom: 20px; }

/* selectable option tiles */
.choice-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }

.choice {
  display: block;
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 52px;
  cursor: pointer;
  background: var(--white);
  transition: border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
}
.choice:hover { border-color: var(--blue-500); background: var(--blue-050); }
.choice input { position: absolute; top: 20px; left: 19px; width: 18px; height: 18px; accent-color: var(--blue-700); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue-700); background: var(--blue-050); box-shadow: 0 0 0 3px var(--blue-100); }
.choice input:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 2px; }

.choice-title { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-weight: 650; margin-bottom: 4px; }
.choice-price { font-variant-numeric: tabular-nums; color: var(--accent-700); white-space: nowrap; }
.choice-price.up { color: var(--error-600); }
.choice-desc { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.choice-trade { font-size: .88rem; color: var(--ink-faint); margin: 8px 0 0; font-style: italic; }

.savings-summary {
  margin-top: 18px;
  padding: 13px 17px;
  border-radius: 11px;
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: .95rem;
  font-weight: 550;
}

/* tables */
.table-scroll { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 460px;
}
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.data th {
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tbody tr:hover { background: var(--blue-050); }
table.data tr.is-current { background: var(--blue-050); }
table.data tr.is-current td { font-weight: 600; }
table.data tfoot td { border-bottom: none; border-top: 2px solid var(--ink); font-weight: 650; padding-top: 14px; }

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--blue-100);
  color: var(--blue-800);
  vertical-align: middle;
}
.tag.blue { background: var(--blue-100); color: var(--blue-900); }


details.breakdown { margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
details.breakdown summary { cursor: pointer; font-weight: 600; color: var(--blue-700); }
details.breakdown summary:hover { color: var(--blue-900); }
details.breakdown > div { padding-top: 18px; }


.checkout-row { display: grid; grid-template-columns: 200px 1fr; gap: 14px; align-items: end; }

/* thin inspiration banner - last child of the sticky header, so it
   stays with the nav as the page scrolls */
.tipbar {
  background: var(--blue-800);
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  padding: 8px 20px;
  font-size: .82rem;
  line-height: 1.5;
  text-align: center;
}
.tipbar p { margin: 0 auto; max-width: 1120px; }
.tipbar strong { font-weight: 600; }
.tipbar a {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.tipbar a:hover { text-decoration-thickness: 2px; }
.tipbar a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }

/* order page: a slim appetite band under the header */
.dish-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.dish-band img {
  display: block;
  width: 100%;
  height: auto;                /* beats the width/height attributes */
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* squares shown while the quote is being costed */
.wait-strip { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.wait-strip img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* "how to get an accurate quote" - collapsed by default */
.tips-row {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 24px;
}
.tips-row > details.tips { flex: 1 1 0; min-width: 0; }

details.tips {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: transparent;
  margin-bottom: 0;
  overflow: hidden;
}
details.tips summary {
  cursor: pointer;
  list-style: none;
  padding: 9px 32px 9px 13px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}
details.tips[open] summary { color: var(--blue-900); font-weight: 600; }
details.tips summary::-webkit-details-marker { display: none; }
details.tips summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px; height: 7px;
  margin-top: -5px;
  border-right: 1.5px solid var(--ink-faint);
  border-bottom: 1.5px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
details.tips[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.tips summary:hover::after { border-color: var(--blue-700); }
details.tips summary:hover { background: var(--blue-050); color: var(--blue-900); }
details.tips summary:focus-visible { outline: 2px solid var(--blue-700); outline-offset: -3px; }
details.tips > div { padding: 0 14px 14px; font-size: .86rem; }
details.tips ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
details.tips li { font-size: .96rem; line-height: 1.55; color: var(--ink-soft); }
details.tips strong { color: var(--ink); }
details.tips p { font-size: .96rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: .9em; }

/* by-dish guide on the reheating page */
.dish-guide { display: grid; gap: 0; }
.dish-guide article {
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr 200px;   /* empty right column where there's no photo */
  gap: 28px;
  align-items: start;
}
.dish-guide article > img {
  width: 200px;
  height: auto;                       /* beats the width/height attributes */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.dish-guide article:last-child { border-bottom: 1px solid var(--line-soft); }
.dish-guide h3 { font-size: 1.18rem; margin-bottom: .4em; }
.dish-guide p { margin: 0; color: var(--ink-soft); }

/* assumptions / clarifications / modifications */
.note-group { margin-top: 26px; }
.note-group:first-of-type { margin-top: 18px; }
.note-group h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 4px;
  font-size: .95rem;
  color: var(--ink);
}
.note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .7rem;
  line-height: 1;
}
.note-group-sub {
  margin: 0 0 12px;
  font-size: .86rem;
  color: var(--ink-soft);
  max-width: 70ch;
}
.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li {
  padding: 11px 0 11px 15px;
  border-left: 2px solid var(--line);
  margin-bottom: 8px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.note-list li:last-child { margin-bottom: 0; }
.note-list strong { color: var(--ink); font-weight: 600; }
.note-why {
  display: block;
  margin-top: 3px;
  font-size: .82rem;
  color: var(--ink-faint);
}
.note-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--blue-050);
  color: var(--blue-800);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
  vertical-align: 1px;
}

/* the ask-us group is the one that stops the order, so it reads louder */
.note-group-ask .note-icon { background: var(--accent-100); color: var(--accent-700); }
.note-group-ask .note-list li { border-left-color: var(--accent-500); }

/* a disabled checkout must look disabled, not just refuse to work */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  filter: grayscale(35%);
}

/* debug cost breakdown - only shown when the server flag is on */
.debug-panel {
  border-color: var(--accent-500);
  background: var(--accent-050);
}
.debug-panel h3 { display: flex; align-items: center; gap: 10px; }
.debug-panel .tag { background: var(--accent-100); color: var(--accent-700); }
.debug-panel h4 {
  margin: 22px 0 8px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-700);
}
.debug-panel h4:first-of-type { margin-top: 0; }
.debug-panel table.data { font-size: .9rem; }
.debug-panel table.data th, .debug-panel table.data td { padding: 7px 12px; }
.debug-panel tbody tr:hover { background: var(--accent-100); }
.debug-panel .formula { color: var(--ink-faint); font-size: .84rem; }
.debug-panel tr.rollup td { font-weight: 650; border-top: 2px solid var(--ink); }

/* servings stepper */
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 46px;
  height: 46px;
  flex: none;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-900);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.stepper button:hover:not(:disabled) { border-color: var(--blue-500); background: var(--blue-050); }
.stepper button:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 2px; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper output {
  font-family: var(--display);
  font-size: 2.1rem;
  min-width: 3ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stepper-note { color: var(--ink-soft); font-size: .96rem; }

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }

.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: .96rem; }
.fact-list li:last-child { border-bottom: none; }
.fact-list strong { display: block; color: var(--ink); }
.fact-list span { color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 44px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.faq-nav a {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--blue-050);
  border: 1px solid var(--line-soft);
  font-size: .9rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--blue-900);
}
.faq-nav a:hover { background: var(--blue-100); border-color: var(--blue-500); }

.faq-group { margin-bottom: 52px; scroll-margin-top: 96px; }
/* the contact card is an anchor target; keep it clear of the sticky header */
#contact { scroll-margin-top: 96px; }
.faq-group > h2 { font-size: 1.6rem; padding-bottom: 12px; border-bottom: 2px solid var(--blue-700); margin-bottom: 8px; }

details.faq {
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 40px 16px 0;
  font-weight: 600;
  font-size: 1.03rem;
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 9px; height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--blue-700);
  border-bottom: 2px solid var(--blue-700);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
details.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.faq summary:hover { color: var(--blue-900); }
details.faq > div { padding: 0 8px 20px 0; color: var(--ink-soft); }
details.faq > div > p:last-child { margin-bottom: 0; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero .lede { max-width: 52ch; }
  .hero-media { height: 540px; max-width: 620px; }
  .dish-guide article { grid-template-columns: 1fr 160px; gap: 22px; }
  .dish-guide article > img { width: 160px; }
  .dish-band { grid-template-columns: repeat(3, 1fr); }
  .dish-band img:nth-child(n+4) { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tabpanel { grid-template-columns: 1fr; gap: 30px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  /* stacked, the band can no longer fit one screen - let it grow instead of
     cramping the collage */
  .archetypes { min-height: 0; }
  .tab-media { height: clamp(240px, 34vh, 340px); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  /* the blue bar terminates the header on pages that carry it, so the hairline
   underneath it is redundant. Pages without a bar keep it. */
.site-header:has(.tipbar) { border-bottom: none; }

.site-header .wrap { flex-wrap: wrap; min-height: 0; padding-block: 12px; gap: 10px; }
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav a { padding: 7px 12px; font-size: .9rem; }
  .grid-3, .grid-2, .steps, .choice-grid { grid-template-columns: 1fr; }
  .price-hero { grid-template-columns: 1fr; padding: 26px 24px; }
  .price-figure { text-align: left; }
  .checkout-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .panel { padding: 22px 20px; }
  .hero-media { height: 430px; --tile-gap: 10px; }
  .tips-row { flex-direction: column; gap: 8px; }
  .dish-guide article { grid-template-columns: 1fr; gap: 16px; }
  .dish-guide article > img { width: 100%; }
  .tipbar { font-size: .74rem; padding: 7px 16px; text-align: left; line-height: 1.42; }
  .dish-band { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dish-band img:nth-child(n+3) { display: none; }
  .wait-strip img { width: 68px; height: 68px; }
  .review-grid { grid-template-columns: 1fr; }
  .cook-card { width: 268px; }
  /* Keep the tabs on one row so the selected one still meets the band edge --
     wrapped rows would leave the upper row floating above the seam. */
  .tablist {
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-inline: 18px;
    margin-inline: -18px;
  }
  .tablist::-webkit-scrollbar { display: none; }
  .tab {
    flex: none;
    white-space: nowrap;
    padding: 10px 13px;
    font-size: .88rem;
    gap: 7px;
    border-radius: 11px 11px 0 0;
  }
  .tab svg { width: 17px; height: 17px; }
  .tab-media { height: 250px; gap: 10px; }
  .brand-mark { height: 30px; }
  .brand-lockup { height: 76px; }
}

/* Short laptop screens: the band still has to fit one viewport, so tighten its
   vertical rhythm rather than letting it spill past the fold. */
@media (min-width: 981px) and (max-height: 800px) {
  .archetypes-rail { padding-top: 26px; }
  .archetypes-rail .section-head { margin-bottom: 14px; }
  .archetypes-band { padding-block: 20px; }
  .tabpanel h3 { font-size: 1.55rem; margin-bottom: .32em; }
  .tabpanel .panel-lede { font-size: 1.01rem; }
  .points { margin-top: 13px; gap: 9px; }
  .points li { font-size: .94rem; line-height: 1.45; }
  .calc { margin-top: 16px; }
}

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

  /* The marquees are content, not decoration: stop them moving but keep every
     item reachable by turning each track into a normal scroll container. */
  .vmarquee, .cookstrip-track {
    animation: none !important;
    transform: none !important;
  }
  .hero-media { height: auto; max-height: 620px; overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
  .cookstrip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .cookstrip-track { width: auto; }
}
