/* ==================================================================
   Purelymix — stylesheet
   Real food. No preservatives. No frozen.
   ================================================================== */

:root {
  /* Brand palette */
  --green-900: #0d2f22;
  --green-800: #14402f;
  --green-700: #1b5440;
  --green-500: #2f7d5c;
  --lime-500:  #7cc243;
  --lime-400:  #97d45f;
  --lime-100:  #e8f6da;
  --cream:     #fbf7ef;
  --cream-200: #f3ecdf;
  --sand:      #e7dcc7;
  --clay:      #d9743f;
  --ink:       #17211c;
  --ink-600:   #4d5a52;
  --ink-400:   #7a867e;
  --white:     #ffffff;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 47, 34, .06), 0 2px 8px rgba(13, 47, 34, .05);
  --shadow:    0 4px 14px rgba(13, 47, 34, .08), 0 18px 40px -22px rgba(13, 47, 34, .35);
  --shadow-lg: 0 30px 70px -30px rgba(13, 47, 34, .45);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
}

/* ------------------------------- base ------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  color: var(--green-900);
}

h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--lime-400); color: var(--green-900); }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; 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: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--green-900); color: var(--white);
  padding: .7rem 1.25rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; font-size: .9rem;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------ layout ------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section {
  padding-block: clamp(3.75rem, 9vw, 7rem);
}

.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section--alt { background: var(--cream-200); }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: var(--lime-500);
  border-radius: 2px;
}
.section-head.center .eyebrow::before { display: none; }

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-600);
  max-width: 40rem;
}
.section-head.center .lede { margin-inline: auto; }

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

.btn {
  --btn-bg: var(--green-800);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--lime { --btn-bg: var(--lime-500); --btn-fg: var(--green-900); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--green-800);
  border-color: rgba(20, 64, 47, .22);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--white); }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }

.btn svg { width: 1.1em; height: 1.1em; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: rgba(20, 64, 47, .1);
  box-shadow: 0 6px 24px -18px rgba(13, 47, 34, .5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -.02em;
  color: var(--green-900);
  margin-right: auto;
}
.brand__mark {
  width: 2.3rem; height: 2.3rem;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green-700), var(--green-900));
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.brand__mark svg { width: 1.35rem; height: 1.35rem; }
.brand b { font-weight: 700; }
.brand span { color: var(--lime-500); }

.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--radius-pill);
  font-size: .94rem;
  font-weight: 600;
  color: var(--ink-600);
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--green-900); background: rgba(124, 194, 67, .18); }

.nav__cta { display: flex; align-items: center; gap: .6rem; }

.nav__toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(20, 64, 47, .16);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute;
  left: 50%; top: 50%;
  width: 1.15rem; height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; left: 0; transform: none; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top:  6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; order: 3; }
  .nav__links {
    order: 4;
    position: fixed;
    inset: 4.5rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: var(--cream);
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid rgba(20, 64, 47, .12);
    box-shadow: var(--shadow);
    transform: translateY(-115%);
    transition: transform .28s cubic-bezier(.3, .7, .2, 1);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: .85rem .5rem; font-size: 1.05rem; color: var(--green-900); }
  .nav__cta .btn--ghost { display: none; }
}

/* On the narrowest phones the logo + CTA + hamburger overflow the bar, so the
   header CTA steps aside — the menu, the hero buttons and the basket bar all
   still offer a way to order. */
@media (max-width: 400px) {
  .nav__cta { display: none; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 70vh;
  background:
    radial-gradient(45% 55% at 18% 40%, rgba(124, 194, 67, .28), transparent 70%),
    radial-gradient(38% 50% at 82% 20%, rgba(217, 116, 63, .18), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
/* let the highlighted phrase wrap on narrow screens so it can't overflow */
@media (max-width: 520px) {
  .hero h1 em { white-space: normal; }
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -.06em; right: -.06em; bottom: .06em;
  height: .32em;
  background: var(--lime-400);
  border-radius: var(--radius-pill);
  z-index: -1;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--ink-600);
  max-width: 34rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  background: var(--white);
  border: 1px solid rgba(20, 64, 47, .1);
  border-radius: var(--radius-pill);
  font-size: .84rem;
  font-weight: 700;
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}
.pill i { font-style: normal; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(20, 64, 47, .12);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--green-900);
}
.stat span {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-400);
  text-transform: uppercase;
}

/* hero collage */
.hero__art {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.food-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  min-height: 11rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--green-900);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.food-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fc-bg, linear-gradient(160deg, var(--lime-100), var(--cream-200)));
}
.food-card__glyph {
  position: absolute;
  top: .55rem; right: .75rem;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(13, 47, 34, .18));
}
.food-card > * { position: relative; }
.food-card strong { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.food-card small { font-weight: 700; font-size: .78rem; color: var(--green-700); }
.food-card:nth-child(1) { --fc-bg: linear-gradient(160deg, #e9f7d8, #cfeab2); margin-top: 1.75rem; }
.food-card:nth-child(2) { --fc-bg: linear-gradient(160deg, #fdeede, #f7d7b8); }
.food-card:nth-child(3) { --fc-bg: linear-gradient(160deg, #e2f0ea, #c3ded1); }
.food-card:nth-child(4) { --fc-bg: linear-gradient(160deg, #f6efdc, #e8dcb9); margin-top: -1rem; }

.hero__badge {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 3;
  background: var(--green-900);
  color: var(--cream);
  border-radius: var(--radius-pill);
  padding: .7rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--lime-400);
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.1;
}
.hero__badge span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-400); font-weight: 700; }

/* --------------------------- marquee strip -------------------------- */

.strip {
  background: var(--green-900);
  color: var(--cream);
  padding: .9rem 0;
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: slide 26s linear infinite;
}
.strip__track span {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  white-space: nowrap;
  letter-spacing: .01em;
}
.strip__track span::after {
  content: "✦";
  color: var(--lime-400);
  font-size: .8em;
}
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
}

/* ------------------------------ promises ---------------------------- */

.promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
}
.promise {
  background: var(--white);
  border: 1px solid rgba(20, 64, 47, .08);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.promise:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promise__icon {
  width: 2.9rem; height: 2.9rem;
  border-radius: 14px;
  background: var(--lime-100);
  color: var(--green-700);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
}
.promise h3 { margin-bottom: .45em; }
.promise p { color: var(--ink-600); font-size: .95rem; margin: 0; }

/* -------------------------------- menu ------------------------------ */

.menu-bar {
  position: sticky;
  top: 4.5rem;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  padding: .85rem 0;
  margin-bottom: 1.75rem;
  background: linear-gradient(var(--cream) 70%, rgba(251, 247, 239, 0));
}

.filters {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: none;
  margin-right: auto;
}
.filters::-webkit-scrollbar { display: none; }

.filter {
  flex: none;
  padding: .55rem 1.05rem;
  border: 1px solid rgba(20, 64, 47, .14);
  background: var(--white);
  color: var(--green-800);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.filter:hover { transform: translateY(-1px); }
.filter[aria-selected="true"] {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--cream);
}

.filter-note {
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-500);
  flex: none;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.15rem;
}

.dish {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(20, 64, 47, .08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.dish__media {
  position: relative;
  height: 8.5rem;
  display: grid;
  place-items: center;
  background: var(--dish-bg, linear-gradient(150deg, var(--lime-100), var(--cream-200)));
  font-size: 3.1rem;
  line-height: 1;
}
.dish__media img { width: 100%; height: 100%; object-fit: cover; }
.dish__protein {
  position: absolute;
  left: .75rem; bottom: .75rem;
  display: inline-flex;
  align-items: baseline;
  gap: .22rem;
  padding: .35rem .7rem;
  background: var(--green-900);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
}
.dish__protein b { color: var(--lime-400); font-size: .95rem; }

.dish__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .6rem;
}
.dish__body h3 { font-size: 1.1rem; margin: 0; }
.dish__desc { font-size: .89rem; color: var(--ink-600); margin: 0; flex: 1; }

.dish__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--lime-100);
  border-radius: var(--radius-pill);
  padding: .25rem .6rem;
}

.dish__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .35rem;
  border-top: 1px dashed rgba(20, 64, 47, .16);
  margin-top: .2rem;
}
.price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-900);
}
.add-btn {
  border: 1px solid var(--green-800);
  background: var(--white);
  color: var(--green-800);
  border-radius: var(--radius-pill);
  padding: .5rem .95rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.add-btn:hover, .add-btn.is-added { background: var(--green-800); color: var(--cream); }

.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-400);
}

/* ---------------------------- how it works -------------------------- */

.how { background: var(--green-900); color: var(--cream); }
.how h2, .how h3 { color: var(--white); }
.how .eyebrow { color: var(--lime-400); }
.how .lede { color: rgba(251, 247, 239, .78); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.75rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lime-400);
  margin-bottom: .6rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4em; }
.step p { color: rgba(251, 247, 239, .75); font-size: .93rem; margin: 0; }

/* ----------------------------- protein band ------------------------- */

.protein-band {
  background: var(--lime-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 820px) { .protein-band { grid-template-columns: 1fr; } }

.protein-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.protein-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.protein-list b {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green-700);
  white-space: nowrap;
}

/* -------------------------------- plans ----------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.15rem;
  align-items: start;
}
.plan {
  background: var(--white);
  border: 1px solid rgba(20, 64, 47, .1);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  background: var(--green-800);
  color: var(--cream);
  border-color: var(--green-800);
  box-shadow: var(--shadow);
}
.plan--featured h3 { color: var(--white); }
.plan--featured .plan__price { color: var(--lime-400); }
.plan--featured li { color: rgba(251, 247, 239, .82); }

.plan__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--lime-400);
  color: var(--green-900);
  border-radius: var(--radius-pill);
  padding: .25rem .7rem;
  margin-bottom: .9rem;
}
.plan__price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-900);
  line-height: 1;
  margin-bottom: .25rem;
}
.plan__price small { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: inherit; opacity: .7; }
.plan ul { list-style: none; margin: 1.1rem 0 1.5rem; padding: 0; display: grid; gap: .5rem; font-size: .92rem; color: var(--ink-600); }
.plan li { display: flex; gap: .5rem; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--lime-500); font-weight: 800; }

/* --------------------------------- faq ------------------------------ */

.faq { display: grid; gap: .7rem; max-width: 50rem; margin-inline: auto; }
details.qa {
  background: var(--white);
  border: 1px solid rgba(20, 64, 47, .1);
  border-radius: var(--radius-sm);
  padding: 0 1.15rem;
  box-shadow: var(--shadow-sm);
}
details.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 2rem 1.05rem 0;
  font-weight: 700;
  color: var(--green-900);
  position: relative;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-500);
}
details.qa[open] summary::after { content: "–"; }
details.qa p { padding-bottom: 1.1rem; color: var(--ink-600); font-size: .94rem; margin: 0; }

/* ------------------------------- order ------------------------------ */

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 880px) { .order-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list .ci {
  width: 2.4rem; height: 2.4rem; flex: none;
  border-radius: 12px;
  background: var(--lime-100);
  display: grid; place-items: center;
  font-size: 1.05rem;
}
.contact-list strong { display: block; font-size: .95rem; color: var(--green-900); }
.contact-list span, .contact-list a { font-size: .92rem; color: var(--ink-600); }
.contact-list a:hover { color: var(--green-700); text-decoration: underline; }

form.order-form {
  background: var(--white);
  border: 1px solid rgba(20, 64, 47, .1);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.15rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
.field { display: grid; gap: .35rem; }
.field.row2 { grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field.row2 { grid-template-columns: 1fr; } }
label { font-size: .83rem; font-weight: 700; color: var(--green-800); letter-spacing: .01em; }
input, select, textarea {
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  padding: .8rem .9rem;
  border: 1px solid rgba(20, 64, 47, .18);
  border-radius: var(--radius-sm);
  background: var(--cream);
  width: 100%;
}
textarea { resize: vertical; min-height: 5rem; }
input:focus, select:focus, textarea:focus { border-color: var(--green-500); background: var(--white); }
.form-note { font-size: .8rem; color: var(--ink-400); margin: 0; }
.form-note--center { text-align: center; margin-top: 1.25rem; }

.basket-preview {
  background: var(--cream-200);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  font-size: .9rem;
}
.basket-preview h4 { margin: 0 0 .5rem; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-400); }
.basket-preview ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.basket-preview li { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-600); }
.basket-preview .empty { color: var(--ink-400); }
.basket-preview .total {
  border-top: 1px dashed rgba(20, 64, 47, .22);
  margin-top: .55rem; padding-top: .55rem;
  font-weight: 800; color: var(--green-900);
}

/* --------------------------- floating basket ------------------------ */

.basket-bar {
  position: fixed;
  left: 50%; bottom: 1.1rem;
  transform: translate(-50%, 200%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(34rem, calc(100% - 2rem));
  padding: .7rem .8rem .7rem 1.2rem;
  background: var(--green-900);
  color: var(--cream);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  transition: transform .3s cubic-bezier(.3, .8, .2, 1);
}
.basket-bar.is-visible { transform: translate(-50%, 0); }
.basket-bar__info { margin-right: auto; line-height: 1.3; }
.basket-bar__info strong { display: block; font-size: .95rem; }
.basket-bar__info span { font-size: .78rem; color: var(--lime-400); font-weight: 700; }
.basket-bar .btn { padding: .7rem 1.2rem; }
.basket-bar__clear {
  background: none; border: 0; color: rgba(251, 247, 239, .6);
  font: inherit; font-size: .8rem; cursor: pointer; padding: .3rem;
}
.basket-bar__clear:hover { color: var(--cream); text-decoration: underline; }

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

.site-footer {
  background: var(--green-900);
  color: rgba(251, 247, 239, .72);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(8rem, 1fr));
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: var(--cream); margin: 0 0 .9rem; }
.footer-tagline { color: var(--lime-400); }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime-400);
  margin-bottom: .9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.35rem;
  font-size: .82rem;
  color: rgba(251, 247, 239, .55);
}
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center;
  color: var(--cream);
  transition: background .15s ease, transform .15s ease;
}
.socials a:hover { background: var(--lime-500); color: var(--green-900); transform: translateY(-2px); }
.socials svg { width: 1.05rem; height: 1.05rem; }

/* ------------------------- reveal animation ------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------- vertical floating taglines -------------------- */

.vtag { margin: 0 0 1.1rem; }

.vtag__viewport {
  height: 2.1em;
  overflow: hidden;
  /* soft fade at both edges so lines arrive and leave rather than pop */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
}

.vtag__track {
  list-style: none;
  margin: 0; padding: 0;
  animation: vtag-float 10.5s cubic-bezier(.76, 0, .24, 1) infinite;
}

.vtag__track li {
  height: 2.1em;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--green-700);
  white-space: nowrap;
}
.vtag__track li:first-child,
.vtag__track li:last-child {
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--green-900);
}

@keyframes vtag-float {
  0%,   26% { transform: translateY(0); }
  33%,  59% { transform: translateY(-2.1em); }
  66%,  92% { transform: translateY(-4.2em); }
  100%      { transform: translateY(-6.3em); }
}

@media (prefers-reduced-motion: reduce) {
  .vtag__viewport { height: auto; -webkit-mask-image: none; mask-image: none; }
  .vtag__track { animation: none; }
  .vtag__track li:last-child { display: none; }   /* the loop duplicate */
  .vtag__track li { height: auto; line-height: 1.45; }
}

/* ------------------------------- combos ----------------------------- */

/* one block per activity level, each holding the women's + men's day */
.combo-grid { display: grid; gap: 1.6rem; }

.combo-level {
  position: relative;
  border: 1px solid rgba(20, 64, 47, .12);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.3rem 1.45rem;
  background: var(--cream-200);
}
.combo-level--featured {
  background: var(--green-900);
  border-color: var(--green-900);
}
.combo-level--featured .combo-level__title h3 { color: var(--white); }
.combo-level--featured .combo-level__title p,
.combo-level--featured .combo-level__targets dt { color: rgba(251, 247, 239, .72); }
.combo-level--featured .combo-level__targets dd { color: var(--lime-400); }
.combo-level--featured .combo-level__glyph { background: rgba(255, 255, 255, .1); }

.combo-level__badge {
  position: absolute;
  top: -.7rem; right: 1.4rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--lime-400);
  color: var(--green-900);
  border-radius: var(--radius-pill);
  padding: .3rem .75rem;
}

.combo-level__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.4rem;
  margin-bottom: 1.15rem;
}
.combo-level__glyph {
  width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: 14px;
  background: var(--white);
  display: grid; place-items: center;
  font-size: 1.35rem;
}
.combo-level__title { flex: 1 1 14rem; }
.combo-level__title h3 { margin: 0; font-size: 1.22rem; }
.combo-level__title p { margin: 0; font-size: .85rem; color: var(--ink-600); }

.combo-level__targets {
  display: flex;
  gap: 1.4rem;
  margin: 0;
  flex: none;
}
.combo-level__targets dt {
  display: flex; align-items: center; gap: .35rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.combo-level__targets dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--green-900);
  white-space: nowrap;
}
.combo-level__targets dd small { font-family: var(--font-body); font-size: .72rem; font-weight: 600; opacity: .6; }
.who-dot { width: .6rem; height: .6rem; border-radius: 2px; flex: none; }

.combo-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.05rem;
  /* equal height so the two days' prices and buttons line up, even when one
     day has an extra meal */
  align-items: stretch;
}

.combo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  border: 1px solid rgba(20, 64, 47, .1);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.combo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.combo-level--featured .combo { border-color: transparent; }

.combo__badge {
  position: absolute;
  top: -.7rem; right: 1.2rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--lime-400);
  color: var(--green-900);
  border-radius: var(--radius-pill);
  padding: .3rem .75rem;
}

.combo__head { display: grid; gap: .25rem; }
.combo__who {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--lime-100);
  border-radius: var(--radius-pill);
  padding: .22rem .6rem;
}
/* --who is the series colour for this card's sex, set inline by app.js */
.combo__who::before {
  content: "";
  width: .5rem; height: .5rem;
  border-radius: 2px;
  background: var(--who, var(--lime-500));
}
.combo__head h4 { margin: .15rem 0 0; font-size: 1.18rem; font-family: var(--font-display); }
.combo__tagline { margin: 0; font-size: .84rem; color: var(--ink-400); font-weight: 600; }
.combo__band {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-500);
}

.combo__numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  padding: .85rem 0;
  border-block: 1px solid rgba(20, 64, 47, .1);
  text-align: center;
}
.combo__numbers strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.1;
  color: var(--green-800);
}
.combo__numbers span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.combo__for { margin: 0; font-size: .89rem; color: var(--ink-600); }

.combo__items { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; flex: 1; }
.combo__items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: .45rem;
  border-bottom: 1px dashed rgba(20, 64, 47, .12);
}
.combo__items li:last-child { border-bottom: 0; padding-bottom: 0; }
.combo__meal-kcal { font-weight: 600; font-size: .76rem; color: var(--ink-400); white-space: nowrap; }

.combo__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(20, 64, 47, .1);
}
.combo__foot .price small { font-family: var(--font-body); font-size: .78rem; font-weight: 600; opacity: .65; }

/* ------------------------------ customise --------------------------- */

.customise {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--lime-100);
  border: 1px dashed rgba(20, 64, 47, .22);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.customise h3 { margin: 0 0 .4em; font-size: 1.2rem; }
.customise p { margin: 0; max-width: 46rem; font-size: .93rem; color: var(--ink-600); }

/* ------------------------------- chart ------------------------------ */

.chart-card {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(20, 64, 47, .1);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
  margin-bottom: 1.1rem;
}
.chart-legend__item {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  font-size: .86rem;
  color: var(--ink-600);
}
.chart-legend__swatch {
  width: .85rem; height: .85rem;
  border-radius: 3px;
  flex: none;
  transform: translateY(1px);
}
.chart-legend__item b { color: var(--green-900); font-weight: 700; }
.chart-legend__item em { font-style: normal; color: var(--ink-400); font-size: .8rem; }

/* the bars need ~40rem to keep their labels legible; narrower than that the
   plot scrolls sideways rather than shrinking the type into illegibility
   (the table view below is the no-scroll fallback) */
.chart-plot { position: relative; overflow-x: auto; }
.chart-plot svg { width: 100%; min-width: 40rem; height: auto; display: block; }
.chart-bar { cursor: pointer; transition: opacity .15s ease; }
.chart-bar:hover { opacity: .82; }

.chart-tick {
  font-family: var(--font-body);
  font-size: 12px;
  fill: var(--ink-400);
}
.chart-axis-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  fill: var(--ink-400);
}
.chart-endlabel {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  fill: var(--green-900);
}
/* activity level, written above each pair of bars */
.chart-rowhead {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  fill: var(--green-900);
}
.chart-rowhead__hint { font-weight: 600; fill: var(--ink-400); }
/* every bar is labelled, so identity never rests on colour alone */
.chart-barlabel {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  fill: var(--ink-600);
}
.chart-legend__item--note { color: var(--ink-400); }

.chart-tooltip {
  position: absolute;
  top: 0;
  transform: translateX(14px);
  pointer-events: none;
  background: var(--green-900);
  color: var(--cream);
  border-radius: var(--radius-sm);
  padding: .6rem .75rem;
  font-size: .82rem;
  line-height: 1.5;
  box-shadow: var(--shadow);
  white-space: nowrap;
  z-index: 3;
}
.chart-tooltip--flip { transform: translateX(-100%) translateX(-14px); }
.chart-tooltip strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: .95rem;
  margin-bottom: .2rem;
}
.chart-tooltip__row { display: flex; align-items: center; gap: .4rem; }
.chart-tooltip__row b { margin-left: auto; padding-left: .9rem; color: var(--lime-400); }
.chart-tooltip__swatch { width: .6rem; height: .6rem; border-radius: 2px; flex: none; }

.chart-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .75rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 64, 47, .1);
}
.chart-toggle {
  flex: none;
  border: 1px solid rgba(20, 64, 47, .2);
  background: var(--cream);
  color: var(--green-800);
  border-radius: var(--radius-pill);
  padding: .5rem 1rem;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.chart-toggle:hover { background: var(--lime-100); }
.chart-note { margin: 0; font-size: .8rem; color: var(--ink-400); max-width: 44rem; }

.chart-table { margin-top: 1.1rem; overflow-x: auto; }
.chart-table table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 28rem; }
.chart-table caption { text-align: left; font-size: .8rem; color: var(--ink-400); padding-bottom: .5rem; }
.chart-table th, .chart-table td { padding: .5rem .7rem; text-align: right; border-bottom: 1px solid rgba(20,64,47,.1); }
.chart-table thead th { color: var(--green-900); font-weight: 700; }
.chart-table tbody th { text-align: left; font-weight: 700; color: var(--ink-600); }

/* -------------------------- dish stat chips ------------------------- */

.dish__stats {
  position: absolute;
  left: .75rem; bottom: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: .22rem;
  padding: .35rem .65rem;
  background: var(--green-900);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-size: .74rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.stat-chip b { color: var(--lime-400); font-size: .9rem; }
.stat-chip--kcal { background: var(--white); color: var(--ink-600); }
.stat-chip--kcal b { color: var(--green-800); }

/* --------------------------------- toast ---------------------------- */

.toast {
  position: fixed;
  left: 50%; bottom: 5.5rem;
  transform: translate(-50%, 1rem);
  z-index: 120;
  background: var(--green-800);
  color: var(--cream);
  padding: .7rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  /* stays fully hidden until triggered — no stray pill on the page */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .28s ease, opacity .22s ease, visibility .22s;
}
.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}
