/* AgroNGA storefront: hand-written, no build step.
   Tokens → base → layout → components → sections → pages. */

/* ───────── Tokens ───────── */
:root {
  --bg: #f4f7f0;
  --surface: #ffffff;
  --surface-2: #e8efe2;
  --ink: #112017;
  --muted: #4a5c51;
  --line: #d4ddcd;
  --brand: #1b6b3a;
  --brand-600: #14562e;
  --brand-ink: #ffffff;
  --forest: #0d2418;
  --forest-2: #143323;
  --on-forest: #eaf2e6;
  --on-forest-muted: #a9bcae;
  --gold: #e0a526;
  --gold-ink: #2a1b00;
  --danger: #b3261e;
  --ok: #1b6b3a;
  --shadow: 0 1px 2px rgba(13,36,24,.06), 0 8px 24px -8px rgba(13,36,24,.14);
  --shadow-lg: 0 24px 60px -20px rgba(13,36,24,.35);
  --radius: 14px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b1510;
  --surface: #12201a;
  --surface-2: #192b22;
  --ink: #e8f1e4;
  --muted: #9fb2a6;
  --line: #25382d;
  --brand: #4fbf7a;
  --brand-600: #3aa766;
  --brand-ink: #04140a;
  --forest: #07110c;
  --forest-2: #0e1d15;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -8px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: color-mix(in oklab, var(--gold) 55%, transparent); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.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 { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-fill { fill: currentColor; stroke: none; }
.wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), 1240px); margin-inline: auto; }
.tabular, .price { font-variant-numeric: tabular-nums; }

/* scroll reveal: only when JS is present */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───────── Buttons ───────── */
.btn {
  --_bg: var(--brand); --_fg: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  background: var(--_bg); color: var(--_fg); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--_bg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { --_bg: var(--gold); --_fg: var(--gold-ink); }
.btn-ghost { --_bg: transparent; --_fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-light { --_bg: #fff; --_fg: var(--forest); }
.btn-outline-light { --_bg: transparent; --_fg: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; box-shadow: none; }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .i { width: 1.15em; height: 1.15em; }

/* add-to-cart states */
.add { position: relative; overflow: hidden; }
.add .add-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5em; background: var(--ok); color: #fff; transform: translateY(101%); transition: transform .3s var(--ease); }
.add.is-added .add-done { transform: none; }
[data-theme="dark"] .add .add-done { color: #04140a; }
.fly { position: fixed; z-index: 300; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); pointer-events: none; box-shadow: 0 0 0 4px rgba(224,165,38,.3); }

/* ───────── Top bar + header ───────── */
.topbar { background: var(--forest); color: var(--on-forest-muted); font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info .i { width: 15px; height: 15px; color: var(--gold); }
.socials { display: flex; gap: 6px; align-items: center; }
.socials a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.socials .i { width: 16px; height: 16px; }
.topbar .socials a:hover { background: var(--gold); color: var(--gold-ink); transform: translateY(-2px); }

.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(13,36,24,.3); }
.header-row { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1; }
.brand-name b { color: var(--brand); }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .06em; color: var(--muted); margin-top: 3px; }
.nav { display: none; margin-inline: auto; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); transition: background-color .2s, transform .2s var(--ease), border-color .2s; text-decoration: none; }
.icon-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.icon-btn .i { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--gold); color: var(--gold-ink); font-size: .75rem; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
.burger { display: grid; }
.header-cta { display: none; }

/* ₦ / $ switch */
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.seg::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--brand); transition: transform .35s var(--ease); }
.seg[data-active="USD"]::before { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; border: 0; background: none; min-width: 44px; height: 36px; padding: 0 12px; border-radius: 999px; font-weight: 800; font-size: .95rem; color: var(--muted); transition: color .25s; }
.seg button[aria-checked="true"] { color: var(--brand-ink); }
.seg-lg button { height: 42px; min-width: 56px; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--forest); color: var(--on-forest); padding: 20px clamp(16px,4vw,40px) 32px; display: flex; flex-direction: column; gap: 24px; transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; overflow-y: auto; }
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 2rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .socials a { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); }
.mobile-menu .seg { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.mobile-menu .seg button { color: var(--on-forest-muted); }
.mobile-menu .seg button[aria-checked="true"] { color: var(--brand-ink); }
.mobile-menu .seg::before { background: var(--gold); }
.mobile-menu .seg button[aria-checked="true"] { color: var(--gold-ink); }
.mm-close { border-color: rgba(255,255,255,.25); background: transparent; color: #fff; }

@media (min-width: 1000px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
}
@media (max-width: 720px) {
  .topbar-info .hide-sm { display: none; }
  .header-tools .seg { display: none; }
  .header-tools .theme-btn { display: none; }
  .brand-sub { display: none; }
}

/* ───────── Section scaffolding ───────── */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-dark { background: var(--forest); color: var(--on-forest); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.section-head p { max-width: 46ch; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: var(--on-forest-muted); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--brand); text-decoration: none; }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }
.section-dark .link-arrow { color: var(--gold); }

/* ───────── Hero slides ───────── */
.hero { position: relative; background: var(--forest); color: var(--on-forest); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 30%, var(--tint, #1b6b3a) 0%, transparent 70%); opacity: .55; transition: background .8s; }
.hero-track { display: grid; }
.slide { grid-area: 1 / 1; display: grid; gap: 28px; align-items: center; padding-block: clamp(32px, 5vw, 64px) 120px; visibility: hidden; opacity: 0; transition: opacity .7s var(--ease), visibility 0s .7s; }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity .7s var(--ease); z-index: 2; }
.slide-copy { max-width: 620px; }
.slide-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); font-size: .88rem; font-weight: 600; }
.slide-kicker i { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--gold-ink); }
.slide-kicker .i { width: 13px; height: 13px; }
.slide-title { font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -.035em; margin-top: 18px; }
.slide-lead { margin-top: 18px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--on-forest-muted); max-width: 46ch; }
.slide-buy { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.slide-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; }
.slide-price small { display: block; margin-top: 6px; font: 600 .82rem var(--font-body); color: var(--on-forest-muted); }
.slide-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.slide-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); outline: 1px solid rgba(255,255,255,.12); outline-offset: -1px; }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7.5s linear; }
.slide.is-active .slide-photo img { transform: scale(1); }
.slide-tag { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(13,36,24,.72); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 600; color: #fff; }

/* staggered entrance (the one orchestrated moment) */
.slide .slide-copy > *, .slide .slide-photo { opacity: 0; transform: translateY(22px); }
.slide.is-active .slide-copy > *, .slide.is-active .slide-photo { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--n, 0) * 90ms + 150ms); }
.slide-copy > :nth-child(1) { --n: 0; } .slide-copy > :nth-child(2) { --n: 1; } .slide-copy > :nth-child(3) { --n: 2; } .slide-copy > :nth-child(4) { --n: 3; }
.slide-photo { --n: 2; }

.hero-nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding-bottom: 28px; }
.hero-nav .wrap { display: flex; align-items: center; gap: 18px; }
.hero-dots { display: flex; gap: 8px; flex: 1; max-width: 520px; }
.hero-dot { flex: 1; padding: 14px 0; border: 0; background: none; text-align: left; color: var(--on-forest-muted); }
.hero-dot .bar { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.hero-dot .bar::after { content: ""; display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-done .bar::after { transform: none; }
.hero-dot.is-active .bar::after { animation: fill var(--dur, 7000ms) linear forwards; }
.hero.is-paused .hero-dot.is-active .bar::after { animation-play-state: paused; }
.hero-dot .lbl { display: none; margin-top: 8px; font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-dot.is-active .lbl { color: #fff; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; margin-left: auto; }
.hero-arrows .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.hero-arrows .icon-btn:hover { background: #fff; color: var(--forest); border-color: #fff; }

@media (min-width: 880px) {
  .slide { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 84px) 140px; }
  .slide-photo { aspect-ratio: 5 / 4; transform-origin: center; }
  .hero-dot .lbl { display: block; }
}
@media (max-width: 879px) {
  .slide-photo { order: -1; }
  .slide { padding-bottom: 110px; }
}

/* ───────── Ticker ───────── */
.ticker { background: var(--gold); color: var(--gold-ink); overflow: hidden; border-block: 1px solid rgba(0,0,0,.08); }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; gap: 10px; padding: 13px 28px; white-space: nowrap; font-weight: 700; font-size: .95rem; border-right: 1px solid rgba(42,27,0,.18); }
.ticker li span.u { font-weight: 500; opacity: .75; }
.ticker a { text-decoration: none; display: flex; gap: 10px; align-items: center; }
.ticker a:hover { text-decoration: underline; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ───────── Product cards + filter ───────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 9px 18px; min-height: 42px; border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); display: inline-flex; align-items: center; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid-products { display: grid; gap: clamp(14px, 2vw, 26px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.pcard { --accent: var(--brand); position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); }
.pcard.is-hidden { display: none; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3.2; background: color-mix(in oklab, var(--accent) 18%, var(--surface-2)); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .01em; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.pcard h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.2; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card is clickable */
.pcard-blurb { color: var(--muted); font-size: .94rem; }
.pcard-foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.pcard .price { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.02em; }
.pcard .unit { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.pcard .add { position: relative; z-index: 2; }
.price.is-flip { animation: flip .5s var(--ease); }
@keyframes flip { 0% { opacity: 0; transform: translateY(10px) rotateX(60deg); } 100% { opacity: 1; transform: none; } }

/* ───────── Kaju King flavour panels ───────── */
.kk { position: relative; background: var(--forest); color: var(--on-forest); overflow: hidden; }
.kk-intro { display: grid; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.kk-intro h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 16ch; }
.kk-intro p { color: var(--on-forest-muted); max-width: 52ch; font-size: 1.05rem; }
@media (min-width: 900px) { .kk-intro { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 60px; } }
.panels { display: flex; flex-direction: column; gap: 10px; }
.panel { --accent: #fff; position: relative; flex: none; height: 92px; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; background: var(--forest-2); isolation: isolate; transition: height .6s var(--ease); outline-offset: 4px; }
.panel.is-active { height: 460px; cursor: default; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; transform: scale(1.15); filter: saturate(.7) brightness(.7); transition: transform 1s var(--ease), filter .6s; }
.panel.is-active img { transform: scale(1); filter: none; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7,17,12,.92) 0%, rgba(7,17,12,.35) 55%, rgba(7,17,12,.2) 100%); }
.panel-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px; }
.panel-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.panel-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.panel.is-active .panel-more { grid-template-rows: 1fr; }
.panel-more > div { overflow: hidden; opacity: 0; transition: opacity .4s; }
.panel.is-active .panel-more > div { opacity: 1; transition-delay: .25s; }
.panel-more p { margin-top: 10px; color: #d7e4d9; max-width: 44ch; font-size: .98rem; }
.panel-buy { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.panel .price { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
@media (min-width: 900px) {
  .panels { flex-direction: row; height: 540px; }
  .panel { height: auto; flex: 1; transition: flex-grow .7s var(--ease); }
  .panel.is-active { height: auto; flex: 3.4; }
  .panel:not(.is-active) .panel-name { writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; }
  .panel:not(.is-active) .panel-in { align-items: flex-start; justify-content: flex-end; }
  .panel:not(.is-active) .panel-name { font-size: 1.2rem; }
}

/* ───────── Price board ───────── */
.board { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); overflow: hidden; background: var(--forest-2); }
.board-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 8px 18px; align-items: center; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.09); transition: background-color .25s; }
.board-row:first-child { border-top: 0; }
.board-row:hover { background: rgba(255,255,255,.04); }
.board-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.board-thumb img { width: 100%; height: 100%; object-fit: cover; }
.board-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.board-name:hover { color: var(--gold); }
.board-unit { display: block; font-size: .85rem; color: var(--on-forest-muted); }
.board-price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-align: right; white-space: nowrap; }
.board-act { grid-column: 2 / -1; display: flex; justify-content: flex-start; }
@media (min-width: 760px) {
  .board-row { grid-template-columns: 72px 1fr 200px 170px; }
  .board-thumb { width: 72px; height: 72px; }
  .board-act { grid-column: auto; justify-content: flex-end; }
}
.bulk-split { display: grid; gap: 40px; }
@media (min-width: 1000px) { .bulk-split { grid-template-columns: 5fr 7fr; align-items: start; gap: 72px; } .bulk-split .sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
.bulk-copy p { color: var(--on-forest-muted); margin-top: 16px; font-size: 1.05rem; max-width: 44ch; }
.bulk-copy .btn { margin-top: 28px; }
.bulk-copy h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.note { margin-top: 14px; font-size: .86rem; color: var(--on-forest-muted); }

/* ───────── Why / pillars ───────── */
.pillars { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.pillar { padding: 32px 28px 36px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .pillar { border-right: 1px solid var(--line); padding-left: 28px; } .pillar:first-child { padding-left: 0; } }
.pillar .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; color: var(--brand); margin-bottom: 20px; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.pillar:hover .ic { background: var(--brand); color: var(--brand-ink); transform: rotate(-6deg) scale(1.05); }
.pillar .ic .i { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); }

/* ───────── Process ───────── */
.steps { display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); position: absolute; top: -19px; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font: 800 1rem var(--font-display); display: grid; place-items: center; }
.step h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.step p { color: var(--muted); max-width: 36ch; }
.js .steps .step { border-top-color: transparent; background: linear-gradient(var(--brand), var(--brand)) top left / 0 2px no-repeat, linear-gradient(var(--line), var(--line)) top left / 100% 2px no-repeat; transition: background-size 1.1s var(--ease); }
.js .steps.in .step { background-size: 100% 2px, 100% 2px; }

/* ───────── Testimonials ───────── */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; }
.quote cite { font-style: normal; font-weight: 700; display: block; }
.quote cite span { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; }

/* ───────── Quote CTA + forms ───────── */
.cta { background: var(--brand); color: var(--brand-ink); position: relative; overflow: hidden; }
[data-theme="dark"] .cta { background: var(--forest-2); color: var(--on-forest); }
.cta::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(224,165,38,.35), transparent 65%); pointer-events: none; }
.cta-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; } }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.cta-copy p { margin-top: 18px; opacity: .9; font-size: 1.08rem; max-width: 42ch; }
.cta-contact { margin-top: 28px; display: grid; gap: 10px; }
.cta-contact a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.cta-contact a:hover { text-decoration: underline; }
.formcard { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 560px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.input { display: block; width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 110px; resize: vertical; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 22%, transparent); }
.field.has-error .input { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; font-weight: 600; margin-top: 6px; }
[data-theme="dark"] .field-error { color: #ff8a80; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 14px; border-radius: 12px; background: color-mix(in oklab, var(--danger) 12%, var(--surface)); color: var(--danger); font-weight: 600; font-size: .92rem; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .tick { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; animation: pop .6s var(--ease); }
.form-success .tick .i { width: 32px; height: 32px; stroke-width: 2.6; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ───────── Footer ───────── */
.site-footer { background: var(--forest); color: var(--on-forest); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer .brand-name b { color: var(--gold); }
.site-footer p.about { margin-top: 16px; color: var(--on-forest-muted); max-width: 36ch; font-size: .95rem; }
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; color: #fff; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { text-decoration: none; color: var(--on-forest-muted); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .socials { margin-top: 22px; gap: 8px; }
.site-footer .socials a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); color: #fff; }
.site-footer .socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); transform: translateY(-3px); }
.site-footer address { font-style: normal; color: var(--on-forest-muted); display: grid; gap: 10px; font-size: .95rem; }
.site-footer address .row { display: flex; gap: 10px; }
.site-footer address .i { color: var(--gold); margin-top: 3px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; font-size: .86rem; color: var(--on-forest-muted); }
.footer-base nav { display: flex; gap: 22px; }
.pay-note { background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px 14px; font-size: .84rem; color: var(--on-forest-muted); margin-top: 18px; }

/* ───────── Cart drawer ───────── */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(7,17,12,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%); background: var(--surface); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; box-shadow: var(--shadow-lg); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); display: grid; gap: 12px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.sum-row .price, .sum-row .val { font-family: var(--font-display); font-size: 1.5rem; }
.fine { font-size: .84rem; color: var(--muted); }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty .i { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--line); stroke-width: 1.4; }
.empty h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: 6px; }
.empty .btn { margin-top: 20px; }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: slidein .4s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateX(16px); } }
.line.is-leaving { animation: slideout .3s var(--ease) forwards; }
@keyframes slideout { to { opacity: 0; transform: translateX(30px); height: 0; padding: 0; } }
.line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.line-name { font-weight: 700; line-height: 1.25; text-decoration: none; }
.line-unit { font-size: .82rem; color: var(--muted); }
.line-bottom { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.line-total { font-family: var(--font-display); font-weight: 700; }
.line-remove { border: 0; background: none; color: var(--muted); font-size: .82rem; text-decoration: underline; padding: 6px 0; }
.line-remove:hover { color: var(--danger); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 38px; height: 38px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s; }
.qty button:hover { background: var(--surface-2); }
.qty .i { width: 16px; height: 16px; }
.qty output, .qty input { min-width: 32px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; border: 0; background: none; width: 44px; font: inherit; color: inherit; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ───────── Inner page header ───────── */
.page-head { background: var(--forest); color: var(--on-forest); padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(27,107,58,.7), transparent 68%); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.035em; }
.page-head p { margin-top: 16px; max-width: 54ch; color: var(--on-forest-muted); font-size: 1.1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--on-forest-muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs-ink { color: var(--muted); } .crumbs-ink a:hover { color: var(--ink); }

/* ───────── Product page ───────── */
.pdp { display: grid; gap: clamp(28px, 4vw, 64px); padding-block: 28px clamp(48px, 6vw, 88px); --accent: var(--brand); }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: color-mix(in oklab, var(--accent) 16%, var(--surface-2)); cursor: zoom-in; border: 1px solid var(--line); }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .35s; }
.gallery-main:hover img { transform: scale(1.05); }
.gallery-main img.is-swap { opacity: 0; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(13,36,24,.72); color: #fff; font-size: .78rem; font-weight: 600; display: flex; align-items: center; gap: 6px; backdrop-filter: blur(6px); }
.thumbs { display: flex; gap: 10px; }
.thumb { width: 84px; height: 72px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--brand); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.buybox { display: grid; gap: 20px; align-content: start; }
@media (min-width: 960px) { .buybox { position: sticky; top: calc(var(--header-h) + 24px); } }
.buybox h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
.pdp-badge { display: inline-block; justify-self: start; padding: 5px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 800; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.pdp-price .price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.pdp-price .unit { color: var(--muted); font-weight: 600; }
.pdp-alt { font-size: .92rem; color: var(--muted); margin-top: -8px; }
.pdp-alt strong { color: var(--ink); }
.pdp-lead { font-size: 1.1rem; color: var(--muted); }
.ticks { display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks .i { color: var(--brand); width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.4; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.buy-row .btn { flex: 1; min-width: 180px; min-height: 54px; font-size: 1rem; }
.buy-row .qty { min-height: 54px; }
.buy-row .qty button { width: 46px; height: 50px; }
.assure { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: .92rem; }
.assure div { display: flex; gap: 12px; align-items: flex-start; }
.assure .i { color: var(--brand); margin-top: 2px; }
.assure b { display: block; }
.assure span { color: var(--muted); }
.tabs { margin-top: clamp(8px, 2vw, 24px); }
.tab-list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-list button { border: 0; background: none; padding: 14px 20px; font-weight: 700; color: var(--muted); position: relative; white-space: nowrap; }
.tab-list button[aria-selected="true"] { color: var(--ink); }
.tab-list button[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--gold); border-radius: 3px; animation: grow .35s var(--ease); }
@keyframes grow { from { transform: scaleX(0); } }
.tab-panel { padding-block: 28px; max-width: 760px; animation: fadein .45s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }
.tab-panel p + p { margin-top: 14px; }
.specs { display: grid; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-weight: 600; } .specs dd { margin: 0; font-weight: 600; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--surface); border-top: 1px solid var(--line); padding: 10px clamp(16px,4vw,40px) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .4s var(--ease); box-shadow: 0 -10px 30px -12px rgba(13,36,24,.25); }
.stickybar.is-shown { transform: none; }
.stickybar .sb-name { flex: 1; min-width: 0; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stickybar .price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; display: block; }
@media (min-width: 960px) { .stickybar { display: none; } }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(7,17,12,.92); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox img { max-height: 88vh; max-width: min(1100px, 94vw); border-radius: 16px; transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox .icon-btn { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }

/* ───────── Shop page extras ───────── */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.shop-bar .chips { margin-bottom: 0; }
.count { color: var(--muted); font-weight: 600; }
.bulk-banner { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--forest); color: var(--on-forest); }
.bulk-banner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); } .bulk-banner p { color: var(--on-forest-muted); margin-top: 8px; max-width: 54ch; }
@media (min-width: 800px) { .bulk-banner { grid-template-columns: 1fr auto; align-items: center; } }

/* ───────── Cart page ───────── */
.cart-layout { display: grid; gap: 32px; padding-block: 40px 88px; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; } .cart-layout aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.cart-lines .line { grid-template-columns: 96px 1fr; }
.cart-lines .line img { width: 96px; height: 96px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.summary h2 { font-size: 1.5rem; }
.trust-line { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.trust-line .i { color: var(--brand); margin-top: 2px; }

/* ───────── About / contact / FAQ / legal ───────── */
.split { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 88px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow-lg); }
.prose { max-width: 70ch; } .prose p + p { margin-top: 1.1em; } .prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; } .prose h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; } .prose ul { list-style: disc; padding-left: 1.3em; margin-block: .8em; } .prose li + li { margin-top: .4em; } .prose a { color: var(--brand); }
.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { padding: 22px 0; border-top: 2px solid var(--ink); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1; }
.stat span { color: var(--muted); font-weight: 600; }
.contact-grid { display: grid; gap: 40px; padding-block: 48px 88px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; } }
.info-list { display: grid; gap: 22px; }
.info-list .row { display: flex; gap: 16px; }
.info-list .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--surface-2); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-list b { display: block; } .info-list span, .info-list a { color: var(--muted); text-decoration: none; } .info-list a:hover { color: var(--brand); }
.safe { margin-top: 32px; padding: 22px; border-radius: var(--radius); background: color-mix(in oklab, var(--gold) 16%, var(--surface)); border: 1px solid color-mix(in oklab, var(--gold) 45%, var(--line)); }
.safe h3 { font-size: 1.1rem; margin-bottom: 8px; } .safe li { padding-left: 1.2em; position: relative; margin-top: 6px; font-size: .94rem; } .safe li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.faq { max-width: 860px; margin-inline: auto; padding-block: 48px 96px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .35s var(--ease); color: var(--brand); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq .ans { padding-bottom: 24px; color: var(--muted); max-width: 64ch; animation: fadein .4s var(--ease); }
.faq .ans p + p { margin-top: 12px; }
.legal { padding-block: 48px 96px; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
.notfound { text-align: center; padding-block: 120px; } .notfound h1 { font-size: clamp(4rem, 14vw, 9rem); color: var(--brand); }

/* ───────── Toast ───────── */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%, 140%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; display: flex; gap: 10px; align-items: center; transition: transform .45s var(--ease); box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); }
.toast.is-shown { transform: translate(-50%, 0); }
.toast .i { color: var(--gold); }
[data-theme="dark"] .toast .i { color: var(--brand-600); }

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ───────── Late additions ───────── */
.panel-name { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; letter-spacing: inherit; }
.panel-name:focus-visible { outline-offset: 6px; }
.price-alt { font-variant-numeric: tabular-nums; }
.pcard.is-hidden { display: none; }
.site-footer .brand-name { color: #fff; }
.section-head h2.wide { max-width: 26ch; }
ol { list-style: none; margin: 0; padding: 0; }
.pcard .add { padding-inline: 1em; }
.pcard-foot { gap: 10px; }
.line-unit { display: block; }

/* ───────── Order status + payment ───────── */
.status-card { max-width: 640px; margin-inline: auto; }
.status-lines { display: grid; gap: 10px; }
.status-lines li { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.form-success .tick.warn { background: var(--gold); color: var(--gold-ink); }
.spinner { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-lg { min-height: 56px; font-size: 1.02rem; }

/* ═════════ Responsive + accuracy pass ═════════ */

/* Fluid fallbacks: metric-matched system fonts so text does not jump when the web fonts arrive */
@font-face { font-family: "Bricolage Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"); size-adjust: 100%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
:root {
  --font-display: "Bricolage Grotesque", "Bricolage Fallback", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap-max: 1240px;
}
@media (min-width: 1700px) { :root { --wrap-max: 1400px; } }
html { -webkit-tap-highlight-color: transparent; }
button, a, summary, .chip, .panel { touch-action: manipulation; }
body { overflow-x: clip; }
.wrap { width: min(100% - 2 * max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)), var(--wrap-max)); }

/* Every grid column may shrink: stops long prices or words from stretching a layout wider than the screen */
.pdp, .cart-layout, .contact-grid, .split, .bulk-split, .cta-grid, .kk-intro, .footer-grid, .bulk-banner, .slide, .form-grid { grid-template-columns: minmax(0, 1fr); }
.pdp > *, .cart-layout > *, .contact-grid > *, .split > *, .bulk-split > *, .cta-grid > *, .footer-grid > *, .slide > *, .buybox > *, .form-grid > * { min-width: 0; }
@media (min-width: 560px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
@media (min-width: 800px) { .bulk-banner { grid-template-columns: 1fr auto; } }
@media (min-width: 880px) { .slide { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .kk-intro { grid-template-columns: 1.1fr 1fr; } .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .cta-grid { grid-template-columns: 5fr 6fr; } .cart-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
@media (min-width: 1000px) { .bulk-split { grid-template-columns: 5fr 7fr; } }
.pdp-price .price, .board-price, .slide-price, .sum-row .val { overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }

/* Touch targets: 44px minimum wherever a finger is likely (phones, tablets, touch laptops) */
.brand { min-height: 44px; }
.link-arrow { min-height: 44px; display: inline-flex; align-items: center; }
.quote h3 a { display: inline-block; padding-block: 10px; }
.qty input { height: 44px; }
@media (max-width: 1000px), (pointer: coarse) {
  .icon-btn { width: 44px; height: 44px; }
  .btn-sm { min-height: 44px; }
  .chip { min-height: 44px; }
  .seg button { min-height: 44px; min-width: 48px; height: 44px; }
  .qty button { width: 44px; height: 44px; }
  .hero-dot { padding: 20px 0; }
  .mobile-menu .socials a, .socials a { width: 44px; height: 44px; }
  .faq summary { min-height: 44px; }
  .tab-list button { min-height: 48px; }
}

/* Phones */
@media (max-width: 720px) {
  .topbar { display: none; }                         /* phone + social icons live in the menu and footer on small screens */
  :root { --header-h: 64px; }
  .header-row { gap: 8px; }
  .header-tools { gap: 8px; }
  .header-tools .seg { display: inline-grid; }
  .header-tools .theme-btn { display: none; }
  .header-cta { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { display: none; }
  .section-head h2 { max-width: none; }
  .pcard-body { padding: 16px; }
  .hero-arrows { display: none; }                    /* swipe or tap the progress bars instead */
  .hero-nav .wrap { gap: 0; }
  .hero-dots { max-width: none; }
  .slide { padding-bottom: 96px; }
  .slide-buy { gap: 16px; }
  .slide-actions { width: 100%; }
  .slide-actions .btn { flex: 1 1 auto; }
  .board-row { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; padding: 16px; }
  .board-thumb { width: 56px; height: 56px; grid-row: span 2; }
  .board-price { grid-column: 2; text-align: left; font-size: 1.25rem; }
  .board-act { grid-column: 1 / -1; margin-top: 8px; }
  .board-act .btn { width: 100%; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .buy-row .btn { min-width: 0; flex: 1 1 160px; }
  .line, .cart-lines .line { grid-template-columns: 64px minmax(0, 1fr); }
  .cart-lines .line img, .line img { width: 64px; height: 64px; }
  .line-bottom { flex-wrap: wrap; }
  .toast { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .footer-base { flex-direction: column; }
}
/* Very small phones: wordmark gives way to the logo mark so the header never overflows */
@media (max-width: 374px) {
  .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .seg button { min-width: 44px; }
  .slide-title { font-size: 2rem; }
  .section-head h2 { font-size: 1.85rem; }
  .page-head h1 { font-size: 2.1rem; }
  .pdp-price .price { font-size: 2rem; }
}
/* Tablets */
@media (min-width: 721px) and (max-width: 999px) {
  .topbar-info .hide-sm { display: inline-flex; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-cta { display: none; }
}
@media (min-width: 1000px) and (max-width: 1139px) { .nav a { padding-inline: 10px; } .header-row { gap: 12px; } .brand-sub { display: none; } }
/* Short landscape screens: do not make the hero taller than the screen */
@media (max-height: 520px) and (orientation: landscape) { .slide { padding-block: 24px 88px; } .mobile-menu nav a { font-size: 1.4rem; padding: 8px 0; } }
/* Big monitors: keep proportions, avoid tiny content in a huge canvas */
@media (min-width: 1700px) { html { font-size: 106.25%; } }
@media (min-width: 2200px) { html { font-size: 118%; } }

/* Dynamic viewport units so mobile browser toolbars never cut the drawer or menu */
.mobile-menu { height: 100vh; height: 100dvh; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.drawer { height: 100vh; height: 100dvh; }
.drawer-head { padding-top: calc(20px + env(safe-area-inset-top)); }
.site-header { padding-top: env(safe-area-inset-top); }
@media print { .topbar, .site-header, .site-footer, .drawer, .scrim, .stickybar, .toast { display: none !important; } body { background: #fff; } }
.mm-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--on-forest); }

/* ═════════ Pass 2 ═════════ */
.btn { text-align: center; line-height: 1.25; }
.btn-block, .buy-row .btn, .slide-actions .btn, .bulk-banner .btn { white-space: normal; }
.hero-dot { min-height: 44px; }
.panel-name { min-height: 44px; min-width: 44px; display: inline-flex; align-items: flex-end; }
.quote h3 a { padding-block: 12px; }
.brand-sub { font-size: .75rem; }
.board-name { display: inline-block; padding-block: 4px; }

@media (min-width: 1000px) and (max-width: 1199px) { .header-cta { display: none; } }
@media (max-width: 1000px), (pointer: coarse) { .board-name { min-height: 44px; display: inline-flex; align-items: center; padding-block: 0; } }
@media (min-width: 760px) { .board-row { grid-template-columns: 72px minmax(0, 1fr) auto auto; } .board-price { min-width: 9ch; } }
.slide-copy { max-width: 40rem; }
@media (max-width: 480px) { .slide-tag { display: none; } }
.form-success h2 { font-size: 1.8rem; margin-bottom: 8px; }

/* ═════════ Checkout totals + live quote ═════════ */
.totals { display: grid; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); transition: opacity .25s; }
.sum-row .val-sm { font-weight: 700; }
.sum-row.total { padding-top: 12px; border-top: 1px dashed var(--line); font-size: 1.05rem; }
.is-quoting .totals { opacity: .5; }
.is-quoting .totals [data-q-total], .is-quoting .totals [data-q-shipping] { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.rate-note { padding: 10px 12px; border-radius: 10px; background: color-mix(in oklab, var(--gold) 14%, var(--surface)); border: 1px solid color-mix(in oklab, var(--gold) 40%, var(--line)); }
.q-notes { display: grid; gap: 6px; }
.q-notes:empty { display: none; }
.q-notes li { padding-left: 1.1em; position: relative; }
.q-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.linklike { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; color: inherit; cursor: pointer; min-height: 44px; }
.val-sm { font-variant-numeric: tabular-nums; }
@media (max-width: 1000px), (pointer: coarse) { .line-remove { min-height: 44px; min-width: 44px; padding-inline: 8px; } }

/* ═════════ Header with the image logo (static/img/brand/logo.png) ═════════ */
.brand img { height: auto; flex: none; }
.brand { min-width: 0; flex: none; }
@media (max-width: 720px) {
  .brand img { width: 44px; }
  .header-tools .seg button { min-width: 44px; }
  .header-row { gap: 8px; }
}
/* Phones narrower than 390px: the logo mark alone, so nothing in the header can overlap */
@media (max-width: 389px) {
  .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}
