/* ==========================================================================
   Highbach Organics: Growroom bei Nacht
   Tokens, base, layout per section, components.
   ========================================================================== */

/* ---------- fonts (self-hosted, Fontshare) ---------- */
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg: #0a0f0c;
  --surface: #111814;
  --surface-2: #18211b;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef3ee;
  --muted: #9daaa1;
  --accent: #31ac6b;
  --accent-ink: #06140c;

  --r-card: 20px;
  --r-input: 12px;
  --r-pill: 999px;

  --nav-h: 68px;
  --gutter: clamp(1.25rem, 4.2vw, 4rem);
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-head: "Cabinet Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
button { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(5rem, 11vw, 9.5rem); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 200; padding: 0.8rem 1.2rem; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

html.is-locked { overflow: hidden; }

/* ---------- page layers: backdrop 0, plant canvas 1, content 2 ---------- */
.backdrop { position: absolute; inset: 0 0 auto 0; z-index: 0; height: max(112dvh, 760px); overflow: hidden; pointer-events: none; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: brightness(0.7) saturate(0.85); }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 15, 12, 0.82) 38%, rgba(10, 15, 12, 0.3) 100%),
    linear-gradient(180deg, rgba(10, 15, 12, 0.55) 0%, rgba(10, 15, 12, 0) 30%, var(--bg) 96%);
}
#fx { position: fixed; inset: 0 0 auto 0; z-index: 1; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; }
html.rm #fx { display: none; }
main, .footer { position: relative; z-index: 2; }
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

/* ---------- buttons, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0 1.5rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn[data-magnetic] { transition-property: background-color, border-color, color; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #3dc27b; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.24); background: rgba(10, 15, 12, 0.4); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); background: rgba(49, 172, 107, 0.12); }
.btn--lg { min-height: 56px; padding: 0 1.9rem; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn.is-done { background: var(--surface-2); color: var(--accent); border-color: var(--accent); }
.btn span { pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent); font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px; transition: background-size 0.4s var(--ease);
}
.link:hover { background-size: calc(100% - 1.75rem) 1px; }
.link .ic { transition: transform 0.3s var(--ease); }
.link:hover .ic { transform: translateX(3px); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; text-decoration: none;
  transition: background-color 0.25s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
.icon-btn .ic { width: 1.5rem; height: 1.5rem; }
.badge[hidden] { display: none; }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink); font: 700 0.7rem/1 var(--font-body);
}
.bump .badge, .bump .ic { animation: bump 0.55s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

/* ---------- reveals (only when JS runs and motion is allowed) ---------- */
html.js-on .rv { opacity: 0; transform: translateY(26px); }
html.js-on .rv.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.nav.is-glass { background: rgba(10, 15, 12, 0.64); border-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.nav__in { display: flex; align-items: center; gap: 1.5rem; height: 100%; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.nav__logo { flex: none; display: block; }
.nav__logo img { width: 100px; height: 40px; object-fit: contain; }
.nav__links { flex: 1; display: flex; justify-content: center; }
.nav__links ul { display: flex; gap: clamp(1.25rem, 2.6vw, 2.75rem); list-style: none; }
.nav__links a {
  position: relative; display: block; padding: 0.5rem 0; font-weight: 500; font-size: 0.97rem; color: var(--text); text-decoration: none; white-space: nowrap;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; align-items: flex-start;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  background: rgba(10, 15, 12, 0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s;
}
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu nav { width: 100%; display: grid; gap: 2.5rem; }
.menu ul { list-style: none; display: grid; }
.menu li a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font: 800 clamp(2rem, 9vw, 3rem)/1.1 var(--font-head); letter-spacing: -0.03em; text-decoration: none; }

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-grid; }
}

/* ---------- 1. hero ---------- */
.hero { min-height: 100dvh; display: flex; align-items: center; padding-top: 5.5rem; padding-bottom: 3rem; }
.hero__in { position: relative; }
.hero__copy { max-width: 52rem; }
.hero__eyebrow { margin-bottom: 1.1rem; }
.hero__h { font-size: clamp(2.3rem, 4vw, 3.75rem); letter-spacing: -0.035em; line-height: 1.04; }
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line > span { display: inline-block; }
.hero__sub { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: #cfd9d1; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }
.hero__leaf { display: none; }

html.js-on .line > span { transform: translateY(115%); }
html.js-on.is-ready .line > span { transform: none; transition: transform 1.15s var(--ease) calc(var(--i) * 0.14s + 0.05s); }
html.js-on .hero__eyebrow, html.js-on .hero__sub, html.js-on .hero__cta { opacity: 0; transform: translateY(18px); }
html.js-on.is-ready .hero__eyebrow, html.js-on.is-ready .hero__sub, html.js-on.is-ready .hero__cta {
  opacity: 1; transform: none; transition: opacity 0.9s var(--ease) var(--hd, 0s), transform 0.9s var(--ease) var(--hd, 0s);
}
html.js-on.is-ready .hero__eyebrow { --hd: 0s; }
html.js-on.is-ready .hero__sub { --hd: 0.35s; }
html.js-on.is-ready .hero__cta { --hd: 0.5s; }

/* static leaf motif when there is no 3D plant */
.nogl .hero__leaf {
  display: block; position: absolute; right: 2%; top: 50%; width: min(34vw, 420px); aspect-ratio: 1; object-fit: contain;
  transform: translateY(-50%); opacity: 0.92; filter: drop-shadow(0 0 60px rgba(49, 172, 107, 0.35));
}

/* ---------- 2. trust ---------- */
.trust { border-block: 1px solid var(--line); background: rgba(10, 15, 12, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__list li { display: flex; align-items: center; gap: 1rem; padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); font-weight: 500; line-height: 1.35; }
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list .ic { width: 1.75rem; height: 1.75rem; color: var(--accent); }

/* ---------- 3. definition ---------- */
.def__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.def__copy { grid-column: 1 / 8; }
.def__copy, .phases__h, .cta__in { text-shadow: 0 0 28px rgba(10, 15, 12, 0.9); }
.def__answer { max-width: 40rem; margin: 1.75rem 0 2.25rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; }
.points { list-style: none; max-width: 40rem; margin-bottom: 2.25rem; border-top: 1px solid var(--line); }
.points li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.points .ic { width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; color: var(--accent); }
.points strong { font-weight: 700; }
.points p { color: #cfd9d1; }
.points strong { color: var(--text); margin-right: 0.35rem; }
.def__media { grid-column: 9 / 13; margin-top: 4.5rem; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.def__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4. phases (pinned) ---------- */
.phases { min-height: 100dvh; }
.phases__pin { min-height: 100dvh; display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + 1.75rem); padding-bottom: 2.5rem; }
.phases__h { font-size: clamp(1.9rem, 3.4vw, 3.1rem); max-width: 11em; }
.phases__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 25rem) 1fr auto; align-items: center; column-gap: 2rem; }
.phases__steps { display: grid; grid-column: 1; }
.step { grid-area: 1 / 1; text-shadow: 0 0 24px rgba(10, 15, 12, 0.85); }
.step__no { margin-bottom: 0.9rem; font: 700 0.95rem/1 var(--font-body); letter-spacing: 0.14em; color: var(--accent); }
.step h3 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.1rem; }
.step p:not(.step__no) { margin-bottom: 1.5rem; font-size: 1.1rem; color: #cfd9d1; }

.rail { grid-column: 3; position: relative; padding-left: 2.1rem; }
.rail ol { list-style: none; display: grid; gap: 3.4rem; }
.rail li { position: relative; font: 700 0.98rem/1 var(--font-body); color: var(--muted); transition: color 0.35s; }
.rail li::before { content: ""; position: absolute; left: -2.1rem; top: 50%; width: 12px; height: 12px; margin-top: -6px; margin-left: -5px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255, 255, 255, 0.25); transition: background-color 0.35s, border-color 0.35s; z-index: 1; }
.rail li.is-active { color: var(--text); }
.rail li.is-active::before { background: var(--accent); border-color: var(--accent); }
.rail__line { position: absolute; left: 0; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--line); }
.rail__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }

/* ---------- 5. shop ---------- */
.shop__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.75rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.shop__sub { margin-top: 1rem; color: var(--muted); font-size: 1.15rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab {
  min-height: 44px; padding: 0 1.15rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: rgba(10, 15, 12, 0.5); font: 500 0.95rem/1 var(--font-body); color: var(--text); cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.tab:hover { border-color: rgba(255, 255, 255, 0.28); }
.tab[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }

.grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color 0.3s, background-color 0.3s; }
.card[hidden] { display: none; }
.card:hover { border-color: rgba(49, 172, 107, 0.5); background: var(--surface-2); }
.card__media { aspect-ratio: 1 / 1; overflow: hidden; background: #0d1410; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 1.1rem 1.15rem 1.2rem; }
.card__cat { font-size: 0.8rem; color: var(--muted); }
.card__name { margin-top: 0.3rem; font-size: 1.28rem; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.card__info { margin-top: 0.4rem; font-size: 0.93rem; line-height: 1.45; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 1.1rem; display: grid; gap: 0.7rem; }
.card__price { font: 700 1.12rem/1 var(--font-body); color: var(--accent); }
.card__price.is-ask { color: var(--muted); font-weight: 500; font-size: 1rem; }
.shop__more { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- 6. ingredients: see V3 panels below ---------- */

/* ---------- 7. grow service ---------- */
.service__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.service__media { grid-column: 1 / 7; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__copy { grid-column: 8 / 13; }
.service__copy .eyebrow { margin-bottom: 1.1rem; }
.service__lead { margin-top: 1.5rem; color: #cfd9d1; font-size: 1.12rem; }
.steps3 { list-style: none; margin: 2rem 0 2.25rem; border-top: 1px solid var(--line); }
.steps3 li { display: flex; gap: 1.1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.steps3__no { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 700 0.9rem/1 var(--font-body); transform: translateY(0.3rem); }
.steps3 h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.steps3 p { margin-top: 0.2rem; color: var(--muted); }

/* ---------- 8. wissen (bento) ---------- */
.wissen__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.bento { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); gap: 1.25rem; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 250px; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.tile--lg { grid-row: 1 / 3; min-height: 520px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 15, 12, 0.95) 0%, rgba(10, 15, 12, 0.62) 42%, rgba(10, 15, 12, 0.05) 100%); }
.tile:hover img { transform: scale(1.045); }
.tile__text { position: relative; z-index: 1; padding: 1.5rem; max-width: 34rem; }
.tile__meta { margin-bottom: 0.5rem; font-size: 0.85rem; color: #c3cec6; }
.tile h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -0.025em; line-height: 1.1; }
.tile--lg h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); }

/* ---------- 9. faq ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.faq__grid h2 { grid-column: 1 / 5; position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq__list { grid-column: 6 / 13; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; padding: 1.25rem 0; font: 700 1.15rem/1.3 var(--font-body); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__caret { color: var(--accent); transition: transform 0.35s var(--ease); }
.faq__item[open] .faq__caret { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__a { padding: 0 0 1.5rem; max-width: 42rem; color: #cfd9d1; }

/* ---------- 10. final CTA ---------- */
.cta { position: relative; padding-block: clamp(7rem, 16vw, 13rem); text-align: center; }
.cta__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 14ch; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 0.98; letter-spacing: -0.04em; }
.cta__sub { max-width: 34rem; margin-top: 1.75rem; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: #d8e1d9; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.5rem; }
.cta__contact { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; margin-top: 3rem; color: #cfd9d1; }
.cta__contact li { display: inline-flex; align-items: center; gap: 0.55rem; }
.cta__contact .ic { color: var(--accent); }
.cta__contact a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); transition: border-color 0.25s, color 0.25s; }
.cta__contact a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 11. footer ---------- */
.footer { padding-top: clamp(4rem, 8vw, 6rem); background: var(--surface); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 2.5rem; }
.footer__brand img { width: 120px; height: auto; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 24rem; color: var(--muted); }
.footer__brand address { margin-top: 1.25rem; color: var(--text); line-height: 1.6; }
.social { list-style: none; display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: border-color 0.25s, color 0.25s; }
.social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__col h2 { margin-bottom: 1rem; font: 700 1rem/1.2 var(--font-body); letter-spacing: 0; }
.footer__col ul { list-style: none; display: grid; gap: 0.15rem; }
.footer__col a { display: inline-block; padding: 0.35rem 0; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.footer__col a:hover { color: var(--text); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: 3.5rem; padding-block: 1.75rem 2.25rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }

/* ---------- cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(5, 8, 6, 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.35s; }
.drawer-overlay[hidden] { display: none; }
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; display: flex; flex-direction: column; width: min(440px, 100%);
  background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(100%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s;
}
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.6rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.5rem; overscroll-behavior: contain; }
.cart-list { list-style: none; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-item[hidden], .cart-list[hidden], .cart-empty[hidden], .drawer__foot[hidden] { display: none; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-input); background: var(--surface-2); }
.cart-item__name { font-weight: 700; line-height: 1.25; }
.cart-item__price { margin-top: 0.15rem; font-size: 0.92rem; color: var(--accent); }
.qty { display: inline-flex; align-items: center; margin-top: 0.7rem; border: 1px solid var(--line); border-radius: var(--r-pill); }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color 0.2s; }
.qty button:hover { background: rgba(255, 255, 255, 0.08); }
.qty span { min-width: 1.6rem; text-align: center; font-weight: 700; }
.cart-item__remove { align-self: start; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.cart-item__remove:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.cart-empty { display: grid; justify-items: start; gap: 0.75rem; padding: 3rem 0; color: var(--muted); }
.cart-empty__t { font: 800 1.6rem/1.1 var(--font-head); letter-spacing: -0.02em; color: var(--text); }
.cart-empty .btn { margin-top: 1rem; }
.drawer__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.9rem; }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.subtotal strong { font-size: 1.3rem; color: var(--text); }
.note { text-align: center; font-size: 0.88rem; color: var(--muted); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 95; max-width: calc(100% - 2rem); padding: 0.85rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface-2); color: var(--text); font-weight: 500;
  transform: translate(-50%, 140%); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.3s; pointer-events: none;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- age gate ---------- */
.age { width: min(30rem, calc(100% - 2rem)); margin: auto; padding: clamp(1.75rem, 4vw, 2.75rem); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--text); text-align: center; }
.age::backdrop { background: rgba(5, 8, 6, 0.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.age img { width: 120px; height: auto; margin: 0 auto 1.4rem; }
.age h2 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
.age p { margin-top: 0.9rem; color: var(--muted); }
.age__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.75rem; }
.age__deny .btn { margin-top: 1.5rem; }
.age [hidden] { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .def__copy { grid-column: 1 / 8; }
  .def__media { grid-column: 8 / 13; }
  .service__media { grid-column: 1 / 7; }
  .service__copy { grid-column: 7 / 13; }
  .faq__grid h2 { grid-column: 1 / -1; position: static; margin-bottom: 2rem; }
  .faq__list { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .section { padding-block: 4.5rem; }

  .hero { align-items: flex-start; padding-top: 5.25rem; padding-bottom: 2rem; }
  .hero__h { font-size: clamp(2.05rem, 9.2vw, 2.5rem); }
  .hero__sub { margin-top: 1.1rem; font-size: 1.02rem; }
  .hero__cta { margin-top: 1.5rem; gap: 0.7rem; }
  .hero__cta .btn { width: 100%; }
  .nogl .hero__leaf { position: static; width: 52vw; margin: 2rem auto 0; transform: none; }

  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .trust__list li { padding: 1.25rem 1rem; border-left: 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
  .trust__list li:nth-child(-n + 2) { border-top: 0; }
  .trust__list li:nth-child(odd) { padding-left: 0; }
  .trust__list li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust__list .ic { width: 1.5rem; height: 1.5rem; }

  .def__grid { display: block; }
  .def__media { margin-top: 2.5rem; aspect-ratio: 4 / 4.4; }

  .phases__pin { padding-top: calc(var(--nav-h) + 39dvh); padding-bottom: 1.25rem; }
  .phases__h { font-size: 1.6rem; }
  .phases__grid { grid-template-columns: 1fr; align-content: start; row-gap: 1.5rem; margin-top: 1.75rem; }
  .step h3 { font-size: 2rem; margin-bottom: 0.6rem; }
  .step__no { margin-bottom: 0.5rem; }
  .step p:not(.step__no) { font-size: 1rem; margin-bottom: 1rem; }
  .rail { grid-column: 1; padding: 1rem 0 0; }
  .rail ol { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .rail li { font-size: 0.82rem; }
  .rail li::before { left: 0; top: -1rem; margin: -5px 0 0; }
  .rail__line { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
  .rail__fill { transform-origin: left; transform: scaleX(0); }
  .rail__line { top: 0; }

  .shop__head { align-items: flex-start; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .shop__head > div:first-child { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .card__body { padding: 0.85rem 0.85rem 1rem; }
  .card__name { font-size: 1.08rem; }
  .card__info { font-size: 0.86rem; }
  .card .btn { padding: 0 0.6rem; font-size: 0.88rem; }

  .service__grid { display: block; }
  .service__media { aspect-ratio: 4 / 4.6; margin-bottom: 2.25rem; }

  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile--lg { grid-row: auto; min-height: 400px; }

  .cta { padding-block: 6rem; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}

/* native horizontal scroll (mobile, or reduced motion on any screen) */
@media (max-width: 767px) {
}

/* ==========================================================================
   Reduced motion: static layout, no pins, no hidden states
   ========================================================================== */
html.rm .phases { min-height: 0; }
html.rm .phases__pin { min-height: 0; padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 5rem; }
html.rm .phases__grid { grid-template-columns: minmax(0, 36rem); }
html.rm .phases__steps { gap: 3.5rem; margin-top: 2.5rem; }
html.rm .step { grid-area: auto; }
html.rm .rail { display: none; }
html.rm .hero__leaf { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}


/* ==========================================================================
   Hero photo cards
   ========================================================================== */
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero__art { position: relative; justify-self: end; width: min(100%, 27rem); aspect-ratio: 5 / 6; }
.hero__art::before { content: ""; position: absolute; inset: -18% -22%; background: radial-gradient(closest-side, rgba(49, 172, 107, 0.3), rgba(49, 172, 107, 0)); pointer-events: none; }
.hero__card { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-card); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75); will-change: transform; }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card--a { inset: 0 0 12% 16%; }
.hero__card--b { left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; }

/* ==========================================================================
   Phases: photo stack next to the steps
   ========================================================================== */
.phases__pin { position: relative; }
.phases__media { grid-column: 2; justify-self: center; position: relative; width: min(100%, 30rem); height: min(62vh, 36rem); }
.pm { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: var(--r-card); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8); background: var(--surface-2); will-change: transform, opacity; }
.pm img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
html.js-on .pm:not(:first-child) { opacity: 0; }
html.rm .phases__media { display: none; }

@media (max-width: 767px) {
  .hero__in { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero__art { justify-self: stretch; width: 100%; aspect-ratio: auto; height: 25dvh; min-height: 9.5rem; display: grid; grid-template-columns: 1.35fr 1fr; gap: 0.75rem; }
  .hero__art::before { inset: -30% -10%; }
  .hero__card { position: relative; inset: auto; width: auto; height: 100%; aspect-ratio: auto; min-height: 0; }
  .hero__card--a, .hero__card--b { inset: auto; left: auto; bottom: auto; width: auto; aspect-ratio: auto; }

  .phases__media { position: absolute; grid-column: auto; justify-self: stretch; top: calc(var(--nav-h) + 0.9rem); left: var(--gutter); right: auto; width: calc(100% - 2 * var(--gutter)); height: 36dvh; }
}

/* ==========================================================================
   V3: hero scroll story (tent zooms into the soil)
   ========================================================================== */
.story { position: relative; z-index: 2; }
.story__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.story__media { position: absolute; inset: -1px 0 -2px; background: var(--bg); }
.story__poster, .story__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__poster img { width: 100%; height: 100%; object-fit: cover; }
.story__canvas { opacity: 0; transition: opacity 0.4s; }
.story__canvas.is-ready { opacity: 1; }

.story__shade {
  position: absolute; inset: 0; opacity: 0.2;
  background:
    linear-gradient(90deg, rgba(10, 15, 12, 0.92) 0%, rgba(10, 15, 12, 0.55) 45%, rgba(10, 15, 12, 0.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 15, 12, 0) 30%);
  will-change: opacity;
}
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 12, 0.85) 0%, rgba(10, 15, 12, 0.35) 55%, rgba(10, 15, 12, 0) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10, 15, 12, 0) 26%); pointer-events: none; }
.story__copy { position: relative; height: 100%; display: grid; align-items: center; padding-top: var(--nav-h); }
.story__intro { grid-area: 1 / 1; max-width: 46rem; }
.story .hero__h { font-size: clamp(3rem, 7.4vw, 6.6rem); letter-spacing: -0.045em; line-height: 0.96; }
.story .hero__sub { max-width: 31rem; }
.story__line {
  grid-area: 1 / 1; justify-self: center; text-align: center; max-width: 18ch;
  font: 800 clamp(2.1rem, 5.2vw, 4.6rem)/1.02 var(--font-head); letter-spacing: -0.04em; color: var(--text);
  text-shadow: 0 2px 40px rgba(10, 15, 12, 0.8);
}
.story__line--2 { max-width: 24ch; font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.1; }
.story__line--2 strong { display: block; margin-top: 0.4em; color: var(--accent); font-weight: inherit; }
.story__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.6rem; height: 2px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; overflow: hidden; }
.story__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   V3: quick buy bento
   ========================================================================== */
.quick__head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.quick__head h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -0.04em; }
.quick__grid { list-style: none; display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.qcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); transition: border-color 0.3s; }
.qcard:hover { border-color: rgba(49, 172, 107, 0.5); }
.qcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.qcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.qcard:hover .qcard__media img { transform: scale(1.04); }
.qcard__body { display: flex; flex-direction: column; flex: 1; gap: 0.35rem; padding: 1.15rem 1.25rem 1.25rem; }
.qcard__name { font-size: 1.3rem; letter-spacing: -0.02em; }
.qcard .card__foot { margin-top: auto; padding-top: 1rem; }
.qcard--big { grid-row: 1 / 3; position: relative; }
.qcard--big .qcard__media { flex: 1; aspect-ratio: auto; min-height: 22rem; }
.qcard--big .qcard__name { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.qcard--big .card__info { font-size: 1.05rem; }
.quick__grid > .qcard:last-child { grid-column: 2 / 4; flex-direction: row; }
.quick__grid > .qcard:last-child .qcard__media { width: 42%; aspect-ratio: auto; }

/* ==========================================================================
   V3: comparison table
   ========================================================================== */
.compare__intro { max-width: 46rem; margin-bottom: 3rem; }
.compare__intro h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -0.04em; }
.ctable { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: rgba(17, 24, 20, 0.7); }
.ctable table { width: 100%; border-collapse: collapse; }
.ctable th, .ctable td { padding: 1.15rem 1.5rem; text-align: left; vertical-align: top; }
.ctable thead th { font: 700 0.95rem/1.2 var(--font-body); color: var(--muted); border-bottom: 1px solid var(--line); }
.ctable thead th.is-us { color: var(--accent); }
.ctable tbody th { width: 22%; font-weight: 700; color: var(--text); }
.ctable tbody tr + tr > * { border-top: 1px solid var(--line); }
.ctable td { color: var(--muted); }
.ctable td.is-us { color: var(--text); background: rgba(49, 172, 107, 0.07); }
.ctable .is-us { width: 39%; }

/* ==========================================================================
   V3: three steps
   ========================================================================== */
.how__h { font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -0.04em; max-width: 14ch; margin-bottom: 3rem; }
.how__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.how__item:nth-child(2) { margin-top: 4rem; }
.how__item:nth-child(3) { margin-top: 8rem; }
.how__media { aspect-ratio: 4 / 5; margin: 0 0 1.25rem; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); }
.how__media img { width: 100%; height: 100%; object-fit: cover; }
.how__no { display: block; font: 800 3.4rem/1 var(--font-head); color: var(--accent); letter-spacing: -0.04em; margin-bottom: 0.4rem; }
.how__item h3 { font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.how__item p { color: var(--muted); max-width: 30ch; }
.how__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.how__end p { font: 800 clamp(1.5rem, 2.6vw, 2.3rem)/1.1 var(--font-head); letter-spacing: -0.03em; }

@media (max-width: 767px) {
  .story__pin { min-height: 520px; }
  .story__copy { align-items: end; padding-bottom: 4.5rem; }
  .story__media::after { background: linear-gradient(0deg, rgba(10, 15, 12, 0.94) 0%, rgba(10, 15, 12, 0.45) 38%, rgba(10, 15, 12, 0) 70%); }
  .story .hero__h { font-size: clamp(2.9rem, 14vw, 3.8rem); }
  .story__line { align-self: center; font-size: clamp(2rem, 9vw, 2.6rem); }
  .story__line--2 { font-size: clamp(1.45rem, 6.4vw, 1.8rem); }
  .story__bar { bottom: 1.2rem; }

  .quick__head { flex-direction: column; align-items: flex-start; margin-bottom: 1.75rem; }
  .quick__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 0.75rem; }
  .qcard--big { grid-row: auto; grid-column: 1 / -1; }
  .qcard--big .qcard__media { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .quick__grid > .qcard:last-child { grid-column: 1 / -1; }
  .quick__grid > .qcard:last-child .qcard__media { width: 40%; }
  .qcard__body { padding: 0.95rem 1rem 1rem; }
  .qcard__name { font-size: 1.1rem; }
  .qcard .card__foot { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .qcard .card__foot .btn { width: 100%; }

  .ctable thead { display: none; }
  .ctable table, .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; width: auto; }
  .ctable tbody tr { padding: 1rem 1.1rem; }
  .ctable tbody tr + tr > * { border-top: 0; }
  .ctable tbody tr + tr { border-top: 1px solid var(--line); }
  .ctable th, .ctable td { padding: 0; }
  .ctable tbody th { margin-bottom: 0.6rem; }
  .ctable td { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; padding: 0.35rem 0; font-size: 0.95rem; }
  .ctable td::before { content: attr(data-label); font-size: 0.8rem; font-weight: 700; color: var(--muted); }
  .ctable tbody th, .ctable .is-us { width: auto; }
  .ctable td.is-us { background: none; }
  .ctable td.is-us::before { color: var(--accent); }

  .how__list { grid-template-columns: 1fr; gap: 2.5rem; }
  .how__item:nth-child(n) { margin-top: 0; }
  .how__media { aspect-ratio: 16 / 10; }
  .how__end { flex-direction: column; align-items: stretch; }

}

/* reduced motion: static hero, both story lines visible under the intro */
html.rm .story__pin { height: auto; min-height: 100svh; }
html.rm .story__copy { display: flex; flex-direction: column; justify-content: center; gap: 2rem; padding-block: calc(var(--nav-h) + 3rem) 4rem; }
html.rm .story__line { justify-self: start; text-align: left; font-size: clamp(1.4rem, 3vw, 2rem); max-width: 30ch; }
html.rm .story__canvas, html.rm .story__bar { display: none; }


@media (max-width: 767px) {

  /* comparison: one card per topic, the two answers side by side */
  .ctable { border: 0; border-radius: 0; background: none; overflow: visible; }
  .ctable tbody { display: grid; gap: 0.75rem; }
  .ctable tbody tr, .ctable tbody tr + tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
  .ctable tbody th { grid-column: 1 / -1; margin: 0 0 0.25rem; font-size: 1.08rem; }
  .ctable td { display: block; padding: 0.8rem 0.85rem; border-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: 0.93rem; line-height: 1.4; }
  .ctable td::before { display: block; margin-bottom: 0.4rem; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
  .ctable td.is-us { background: rgba(49, 172, 107, 0.12); color: var(--text); box-shadow: inset 0 0 0 1px rgba(49, 172, 107, 0.5); }

}

/* ==========================================================================
   V3: three steps, pinned sequence (all widths)
   ========================================================================== */
.how__bar { height: 2px; margin-top: 1.5rem; background: rgba(255, 255, 255, 0.12); border-radius: 2px; overflow: hidden; }
.how__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
html:not(.js-on) .how__bar { display: none; }

html.js-on .how { padding-block: 0; }
html.js-on .how .container { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--nav-h) + 1.5rem) 2rem; }
html.js-on .how__h { margin-bottom: 2rem; max-width: none; }
html.js-on .how__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
html.js-on .how__item { grid-area: 1 / 1; margin-top: 0; }
html.js-on .how__media { will-change: clip-path; }
html.js-on .how__media img { will-change: transform; }
html.js-on .how__end { margin-top: 1.5rem; padding-top: 1.5rem; }

@media (min-width: 768px) {
  html.js-on .how__h { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
  html.js-on .how__item { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  html.js-on .how__media { grid-row: 1 / 4; aspect-ratio: auto; height: 52vh; height: 52svh; margin: 0; }
  html.js-on .how__no { align-self: end; margin-top: 3vh; font-size: clamp(4.5rem, 8vw, 7.5rem); line-height: 0.9; }
  html.js-on .how__item h3 { font-size: clamp(2rem, 3.2vw, 3rem); }
  html.js-on .how__item p { font-size: 1.15rem; max-width: 26ch; }
}
@media (max-width: 767px) {
  html.js-on .how__h { font-size: 2rem; margin-bottom: 1.25rem; }
  html.js-on .how__media { aspect-ratio: 16 / 11; }
  html.js-on .how__end p { font-size: 1.35rem; }
}

/* ==========================================================================
   V3: ingredients as a native sideways strip ("recipe")
   ========================================================================== */
.recipe { --edge: max(var(--gutter), calc((100% - var(--max)) / 2)); overflow: hidden; }
.recipe__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
.recipe__head h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -0.04em; max-width: 14ch; }
.recipe__head p { margin-top: 1rem; max-width: 42ch; color: var(--muted); font-size: 1.08rem; }
.recipe__nav { display: flex; gap: 0.5rem; flex: none; }
.rbtn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
}
.rbtn .ic { width: 20px; height: 20px; }
.rbtn:hover:not(:disabled) { border-color: var(--accent); }
.rbtn:active:not(:disabled) { transform: scale(0.94); }
.rbtn:disabled { opacity: 0.3; cursor: default; }
.rbtn:focus-visible, .recipe__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.recipe__track {
  display: flex; gap: 1rem; overflow-x: auto; overflow-y: hidden;
  padding: 0.25rem var(--edge) 0.5rem; scroll-padding-inline: var(--edge);
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab;
  /* soft fade on the side where more cards wait */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent 100%);
  --fade-l: 3rem; --fade-r: 3rem;
}
.recipe__track::-webkit-scrollbar { display: none; }
.recipe__track.is-start { --fade-l: 0px; }
.recipe__track.is-end { --fade-r: 0px; }
.recipe__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.recipe__track::after { content: ""; flex: 0 0 1px; } /* keeps the right padding in every browser */

.rcard {
  position: relative; flex: none; width: clamp(15rem, 22vw, 20rem); aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: var(--r-card); background: var(--surface-2);
  scroll-snap-align: start; isolation: isolate;
}
.rcard--mix { width: clamp(20rem, 40vw, 34rem); aspect-ratio: auto; }
.rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 15, 12, 0.95) 0%, rgba(10, 15, 12, 0.6) 38%, rgba(10, 15, 12, 0) 62%); }
.rcard__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.25rem 1.15rem; }
.rcard h3 { font: 800 1.65rem/1.05 var(--font-head); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.rcard--mix h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.rcard p { margin-top: 0.4rem; color: #d3dcd5; font-size: 0.95rem; line-height: 1.45; max-width: 32ch; }
.rcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.rcard__price { font-weight: 700; color: var(--accent); white-space: nowrap; }

.recipe__bar { position: relative; height: 3px; margin-top: 1.5rem; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.recipe__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: inherit; background: var(--accent); will-change: transform; }

@media (max-width: 767px) {
  .recipe__head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 1.5rem; }
  .recipe__nav { display: none; }
  .recipe__track { gap: 0.75rem; --fade-l: 1rem; --fade-r: 0.75rem; }
  .rcard { width: 74vw; }
  .rcard--mix { width: 74vw; aspect-ratio: 3 / 4; }
  .rcard__foot .btn { padding-inline: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .recipe__track { scroll-behavior: auto; }
}
