/* NIDARI NUTRITION — base.css
   Foundation + shell. Loaded on every page.
   Hand-edit freely: no build step, no preprocessor. */

/* ═══════════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════ */
/* ============================================================================
   NIDARI NUTRITION — Design tokens
   "Fresh garden": bright, green-forward, light. Deliberately NOT the cream +
   high-contrast-serif + terracotta AI default — green leads, terracotta is only
   the Hard-tier accent, and the base is a barely-there green-white, not cream.
   ============================================================================ */

:root {
  /* ── Base / paper ─────────────────────────────────────────────── */
  --paper: #fff6e5;        /* page background — warm cream */
  --paper-2: #f7ecd4;      /* raised panels / alternating bands — deeper cream */
  --paper-3: #efe3c8;      /* deepest light wash */
  --white: #ffffff;

  /* ── Ink / text ───────────────────────────────────────────────── */
  --ink: #1c261f;          /* headlines — warm near-black green */
  --ink-body: #33413198;   /* (unused placeholder guard) */
  --body: #3d473e;         /* body copy */
  --muted: #6a726a;        /* captions, secondary */
  --line: #e4e6dd;         /* hairlines, borders */
  --line-strong: #d3d7c8;

  /* ── Herb green — primary brand ───────────────────────────────── */
  --herb: #227244;         /* primary buttons, links, nav ink */
  --herb-deep: #16311f;    /* deepest green ink */
  --herb-700: #1b5c37;     /* hover */
  --herb-bright: #35a05e;  /* glow / particle / energy */
  --herb-lime: #86bb3c;    /* fresh zest accent (sparingly) */
  --herb-wash: #e6efdb;    /* tinted fill */

  /* ── Tier accents (recur on every tier reference) ─────────────── */
  --sage: #7c9a64;         /* Light tier */
  --sage-deep: #5f7c48;
  --sage-wash: #e6ecd7;

  --amber: #d69a2e;        /* Medium tier */
  --amber-deep: #b07e1e;
  --amber-wash: #f7ead0;

  --terra: #c05b3a;        /* Hard tier */
  --terra-deep: #a3472a;
  --terra-wash: #f4ddd2;

  /* Tier "inks" — each tier's own hue at ~15% lightness. Used for the dark foot
     of the approach cards so difficulty is readable at a glance. */
  --sage-ink:  #223018;    /* Light  — deep forest */
  --amber-ink: #3a2c12;    /* Medium — deep bronze */
  --terra-ink: #3d1e14;    /* Hard   — deep rust */

  /* ── Peacock — brand plumage (feather bg + accents) ───────────── */
  --peacock: #147d8c;      /* teal barb */
  --peacock-blue: #2f5fa6; /* blue barb */
  --peacock-green: #3f8f5c;/* green barb */
  --peacock-gold: #cba14a; /* eye / gold barb */
  --peacock-deep: #0c3b52; /* dark plume core (Atlas kinship) */
  /* deep/wash pairs, so peacock hues can drive a card the way the tiers do */
  --peacock-blue-deep: #24487d;
  --peacock-blue-wash: #e3eaf7;
  --peacock-gold-deep: #a67e2f;
  --peacock-gold-wash: #f7ecd4;

  /* ── Single energy accent — pomegranate (used very sparingly) ── */
  --pom: #c73e56;
  --pom-soft: #f6d7dd;
  --pom-deep: #a52f45;
  --pom-wash: #f9e2e7;

  /* ── Shadows — soft, low, never the templated puffy card ──────── */
  --sh-sm: 0 1px 2px rgba(30, 42, 32, .04), 0 2px 8px rgba(30, 42, 32, .05);
  --sh-md: 0 12px 34px -18px rgba(22, 49, 31, .28);
  --sh-lg: 0 34px 70px -34px rgba(22, 49, 31, .40);
  --sh-glow: 0 0 40px -6px rgba(53, 160, 94, .35);

  /* ── Type ─────────────────────────────────────────────────────── */
  /* Inter leads (per Saans spec fallback) — thicker, more trustworthy than the
     old slim Jost. Cormorant kept only for occasional italic accents. */
  --heading: "Saans", "Helvetica Neue", "Inter", Roboto, Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Cormorant Garamond", cursive;
  --arabic: "Amiri", "Cormorant Garamond", serif;
  --wt-heading: 720;       /* display / heading weight — bolder per review */
  --wt-strong: 600;

  /* fluid type scale */
  --fs-eyebrow: .95rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-h3: clamp(1.4rem, 2.4vw, 1.9rem);
  --fs-h2: clamp(2.1rem, 5vw, 3.6rem);
  --fs-display: clamp(3rem, 9vw, 7rem);

  /* ── Layout ───────────────────────────────────────────────────── */
  --wrap: 1200px;
  --wrap-wide: 1360px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;          /* restrained — not pill-rounded cards */
  --radius-lg: 12px;
  --header-h: 72px;

  /* ── Motion ───────────────────────────────────────────────────── */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL BASE
   ═══════════════════════════════════════════════════════════════════ */
/* ============================================================================
   NIDARI NUTRITION — Global base
   ============================================================================ */

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* clip horizontal overflow at the root only — keeps the viewport as the sole
     scroll container (setting overflow-x on <body> too creates a second one and
     breaks window scrolling). */
  overflow-x: clip;
}

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

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--heading);
  color: var(--ink);
  line-height: 1.05;
  font-weight: var(--wt-heading);
  letter-spacing: -.02em;
}

p { text-wrap: pretty; }

a {
  color: var(--herb);
  text-decoration: none;
  transition: color .25s var(--ease-soft);
}

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul { list-style: none; }

:focus-visible {
  outline: 2.5px solid var(--herb);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Reusable layout helpers ─────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide { max-width: var(--wrap-wide); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--herb);
}

.section {
  position: relative;
  padding-block: clamp(72px, 12vw, 140px);
}

/* keep anchored sections clear of the fixed header when jumped-to */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.lead {
  font-size: var(--fs-lead);
  color: var(--body);
  line-height: 1.55;
}

/* ── Arabic / RTL ────────────────────────────────────────────────── */
.arabic {
  font-family: var(--arabic);
  direction: rtl;
  line-height: 2;
  font-weight: 400;
}

/* The custom cursor is disabled (see site.js). The rule that hid the native
   pointer is deliberately gone — never leave a visitor without a cursor. */

/* screen-reader only */
.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;
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
/* ============================================================================
   NIDARI — Buttons (shared across every CTA)
   ============================================================================ */

.btn {
  --btn-bg: var(--herb);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .005em;
  padding: .9em 1.7em;
  border-radius: 100px;        /* rounded — no longer square */
  background: var(--btn-bg);
  color: var(--btn-fg);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out),
              background .25s var(--ease-soft);
  will-change: transform;
}
.btn::after {
  /* soft sheen wipe on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--herb);
  box-shadow: 0 10px 26px -10px rgba(34, 114, 68, .55);
}
.btn--primary:hover {
  background: var(--herb-700);
  box-shadow: 0 16px 34px -12px rgba(34, 114, 68, .6);
}

/* highlighted hero CTA — big, glowing, impossible to miss */
.btn--hero {
  --btn-bg: linear-gradient(135deg, var(--herb-bright), var(--herb));
  font-size: 1.08rem;
  font-weight: 700;
  padding: 1.1em 2.3em;
  box-shadow: 0 14px 32px -10px rgba(34, 114, 68, .55),
              0 0 0 6px rgba(53, 160, 94, .12);
}
.btn--hero:hover {
  --btn-bg: linear-gradient(135deg, var(--herb-bright), var(--herb-700));
  box-shadow: 0 20px 44px -12px rgba(34, 114, 68, .62),
              0 0 0 8px rgba(53, 160, 94, .16);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--herb-deep);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover { background: var(--herb-wash); border-color: var(--herb); }

.btn--wa {
  --btn-bg: #fff;
  --btn-fg: var(--herb-deep);
  border: 1.5px solid var(--line-strong);
}
.btn--wa:hover { border-color: #25d366; color: #128c43; }
.btn--wa svg { width: 1.15em; height: 1.15em; }

.btn--lg { padding: 1.05em 2.1em; font-size: 1.05rem; }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
.hdr {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  transition: background .4s var(--ease-soft), box-shadow .4s var(--ease-soft),
              border-color .4s var(--ease-soft);
  border-bottom: 1px solid transparent;
}
.hdr--stuck {
  background: var(--paper);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(22, 49, 31, .3);
}
.hdr__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height .4s var(--ease-soft);
}
.hdr--stuck .hdr__inner { height: 62px; }

/* on dark heroes (e.g. Atlas): light nav until the header sticks */
.hdr--on-dark .hdr__link { color: rgba(255,255,255,.82); }
.hdr--on-dark .hdr__link:hover { color: #fff; }
.hdr--on-dark .hdr__burger span { background: #fff; }

/* logo — official nidari nutrition wordmark (gold script + teal NUTRITION) */
.hdr__logo { display: inline-flex; align-items: center; }
.hdr__logo-img {
  height: 44px;
  width: auto;
  transition: height .4s var(--ease-soft);
}
.hdr--stuck .hdr__logo-img { height: 38px; }

/* nav */
.hdr__nav { display: flex; gap: 30px; }
.hdr__link {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  color: var(--body);
  position: relative;
  padding: 4px 0;
}
.hdr__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--herb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.hdr__link:hover { color: var(--herb-deep); }
.hdr__link:hover::after { transform: scaleX(1); }

/* actions */
.hdr__actions { display: flex; align-items: center; gap: 12px; }

.hdr__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hdr__burger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s var(--ease-out);
}

/* mobile drawer */
.hdr__mobile {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px var(--gutter) 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hdr__mobile a {
  padding: 12px 4px;
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 860px) {
  .hdr__nav { display: none; }
  .hdr__wa { display: none; }
  .hdr__burger { display: flex; }
  .hdr__mobile { display: none; }
  .hdr__mobile.is-open { display: flex; }
}
@media (max-width: 460px) {
  .hdr__inner { gap: 12px; }
  .hdr__logo-img { height: 38px; }
  .hdr__actions .btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--paper-2);
  color: var(--body);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 84px);
  padding-bottom: 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer__logo { height: 46px; width: auto; margin-bottom: 16px; }
.footer__tag { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.footer__note { font-size: .86rem; line-height: 1.6; color: var(--muted); max-width: 34ch; }

.footer__col h3 {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--herb);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col li { font-size: .92rem; color: var(--body); }
.footer__col a { color: inherit; }
.footer__col a:hover { color: var(--herb-deep); }
.footer__wa { display: inline-flex; align-items: center; gap: 7px; }

.footer__legal { padding-top: 26px; }
.footer__disclaimer { font-size: .78rem; line-height: 1.6; color: var(--muted); max-width: 90ch; margin-bottom: 20px; }
.footer__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .76rem;
  color: var(--muted);
}
.footer__links { display: flex; gap: 18px; }
.footer__links a:hover { color: var(--herb-deep); }
.footer__mark { letter-spacing: .14em; color: var(--herb); font-weight: 700; }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__strip { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════════════ */
.cursor__ring,
.cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

.cursor__ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--herb);
  border-radius: 50%;
  opacity: .55;
  transition: width .3s var(--ease-out), height .3s var(--ease-out),
              opacity .3s var(--ease-out), background .3s var(--ease-out),
              border-color .3s var(--ease-out);
}
.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--herb-deep);
  border-radius: 50%;
}

.cursor__ring--big {
  width: 62px;
  height: 62px;
  margin: -11px;
  opacity: .9;
  background: rgba(53, 160, 94, .1);
  border-color: var(--herb-bright);
}
.cursor__ring--press { transform-origin: center; opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════
   FLOATING WHATSAPP
   ═══════════════════════════════════════════════════════════════════ */
.fab-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
}
.fab-wa .btn { box-shadow: var(--sh-lg); }

@media (max-width: 520px) {
  .fab-wa { bottom: 14px; right: 14px; }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADING
   ═══════════════════════════════════════════════════════════════════ */
.sechead { margin-bottom: clamp(40px, 6vw, 68px); }
.sechead--center { text-align: center; margin-inline: auto; max-width: 720px; }
.sechead--right { text-align: right; margin-left: auto; max-width: 760px; }
.sechead--right .sechead__title,
.sechead--right .sechead__intro { max-width: none; margin-left: auto; }

.sechead__eyebrow { margin-bottom: 16px; }
.sechead__title {
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.sechead--center .sechead__title { max-width: none; margin-inline: auto; }
.sechead__intro { margin-top: 20px; max-width: 58ch; }
.sechead--center .sechead__intro { margin-inline: auto; }

/* ═══════════════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════════════ */
.marquee {
  /* clip horizontally but let vertical card lift/shadow spill out */
  overflow-x: clip;
  overflow-clip-margin: 24px;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeDrift var(--duration, 60s) linear infinite;
  animation-delay: 0s;            /* all rows share one timeline → stay aligned */
  will-change: transform;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  gap: 20px;                      /* = the inter-card gap */
  padding-right: 20px;            /* keeps the gap even across the seam */
  flex: 0 0 auto;
}
@keyframes marqueeDrift {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOTION PRIMITIVES
   Replaces the old Framer Motion runtime. Pure CSS + a few classes
   toggled by site.js / home.js.

   IMPORTANT: every "hidden" state below is scoped to `html.js`, which
   site.js sets in <head>. If JavaScript fails, nothing is hidden —
   the page degrades to fully visible rather than blank.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Scroll reveal ─────────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── On-load entrance (heroes) ─────────────────────────────────────── */
.js [data-rise] {
  opacity: 0;
  animation: riseIn .75s var(--ease-out) forwards;
  animation-delay: var(--rise-delay, 0s);
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ── Rotating word (hero "We help with ___") ───────────────────────── */
.rotator {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
}
.rotator__word {
  display: inline-block;
  white-space: nowrap;
  transition: transform .55s var(--ease-out), opacity .55s var(--ease-out),
              filter .55s var(--ease-out);
}
.rotator__word.is-out {
  transform: translateY(-0.7em);
  opacity: 0;
  filter: blur(4px);
}
.rotator__word.is-in-start {
  transform: translateY(0.7em);
  opacity: 0;
  filter: blur(4px);
  transition: none;
}

/* ── Story stack (hero deck) ───────────────────────────────────────── */
.stack__card {
  transition: transform 1.1s cubic-bezier(.65, 0, .35, 1),
              opacity 1.1s cubic-bezier(.65, 0, .35, 1);
}

/* ── Cohort slider ─────────────────────────────────────────────────────
   All five posters ship in the HTML (indexable, and readable without JS).
   They are stacked in one grid cell and JS reveals the active one.
   ─────────────────────────────────────────────────────────────────── */
.js .cxs__stage { display: grid; }
.js .cxs__slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(var(--enter-from, 60px));
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.js .cxs__slide.is-active { opacity: 1; pointer-events: auto; transform: none; }

/* (The FAQ accordion lives in home.css — it must load after the FAQ's own
   padding rules to collapse them correctly.) */

/* ── Floating WhatsApp entrance ────────────────────────────────────── */
.js .fab-wa {
  opacity: 0;
  animation: riseIn .5s var(--ease-out) 1.2s forwards;
}

/* ── Atlas catalogue filter ────────────────────────────────────────── */
.atlas__card {
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.atlas__card.is-hidden { display: none; }
.atlas__card.is-fading { opacity: 0; transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-rise]   { opacity: 1; animation: none; }
  .js .fab-wa       { opacity: 1; animation: none; }
}

/* ── Icon sizing ───────────────────────────────────────────────────────
   The React build set these per-icon via inline style props. Here they are
   once, in CSS, for every page.
   ─────────────────────────────────────────────────────────────────── */
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn--wa svg { width: 1.15em; height: 1.15em; }
.footer__wa svg { width: 16px; height: 16px; }

/* ── Dark-hero header ──────────────────────────────────────────────────
   The Atlas page opens on a dark hero, so the nav starts light. Once the
   header sticks it gets the cream background, so the ink must go dark
   again — the React build did this in state; here it is pure CSS.
   ─────────────────────────────────────────────────────────────────── */
.hdr--on-dark.hdr--stuck .hdr__link { color: var(--body); }
.hdr--on-dark.hdr--stuck .hdr__link:hover { color: var(--herb-deep); }
.hdr--on-dark.hdr--stuck .hdr__burger span { background: var(--ink); }

/* ── Menu button tap target ────────────────────────────────────────────
   The bars stay 22×2 as designed; only the button's own box grows to a
   comfortable 44×44.
   ─────────────────────────────────────────────────────────────────── */
.hdr__burger {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ── Marquee on touch devices ──────────────────────────────────────────
   The auto-scroll only paused on :hover / :focus-within — neither exists
   on a phone, so the approach cards drifted past continuously and the
   visitor had to tap a moving target. On coarse pointers the row becomes
   a normal swipeable rail instead: the visitor controls it.
   ─────────────────────────────────────────────────────────────────── */
@media (hover: none), (pointer: coarse) {
  .marquee {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee__track { animation: none; width: max-content; }
  /* site.js clones the row for the seamless loop; a swipeable rail doesn't
     need the duplicate, and showing it would list every card twice. */
  .marquee__group + .marquee__group { display: none; }
  .marquee__group { padding-inline: var(--gutter); }
  .fcard-slot { scroll-snap-align: start; }
}
