/* ═══════════════════════════════════════════════════════════════════
   SEED GANESHA — Mangalam Stores
   Design system + page styles. Hand-authored, no build step.
   ═══════════════════════════════════════════════════════════════════ */

/* ── tokens ──────────────────────────────────────────────────────── */
:root{
  /* surface */
  --cream:      #FBF6EA;
  --cream-2:    #F3E9D6;
  --paper:      #FFFDF8;

  /* ink */
  --ink:        #16110A;
  --ink-70:     #4A4034;
  --ink-45:     #6B6156;      /* 4.7:1 on cream — safe for 11px labels */

  /* brand */
  --green:      #0C5A34;
  --green-deep: #06371F;
  --teal:       #0D4A52;
  --brick:      #9C3620;
  --gold:       #B98526;      /* on light surfaces */
  --gold-lt:    #E9C46A;      /* on dark surfaces — 8.4:1 on --green-deep */
  --saffron:    #DE7420;

  --line:       color-mix(in srgb, var(--ink) 14%, transparent);
  --line-soft:  color-mix(in srgb, var(--ink) 8%, transparent);

  /* type */
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body:    "Inter Tight", system-ui, -apple-system, sans-serif;
  --telugu:  "Noto Sans Telugu", var(--body);

  /* rhythm
     --sect is HALF a section gap: two stacked sections each contribute their
     padding, so 83px + 83px lands on ~166px between sections. Filled sections
     (teal / deep green) use --sect-solid, which needs real internal room. */
  /* live header height, measured by main.js; this fallback covers first paint
     and the no-JS case. The hero pads down from it so the headline can never
     slide under the fixed bar. */
  --head-h:     104px;

  --gutter:     clamp(1.25rem, 4vw, 4.5rem);
  --maxw:       88rem;
  --sect:       clamp(3rem, 6.5vw, 6rem);
  --sect-solid: clamp(4.5rem, 9vw, 8rem);

  /* shape — one radius plus pill, nothing else */
  --radius:      1rem;
  --radius-pill: 99px;

  /* motion — entrances are long and soft, exits are ~46% of that so
     dismissing anything feels immediate rather than sluggish */
  --ease:       cubic-bezier(.22,.61,.36,1);
  --ease-enter: cubic-bezier(.16,1,.3,1);
  --ease-exit:  cubic-bezier(.55,0,1,.45);
  --dur:        .32s;
  --dur-enter:  .52s;
  --dur-exit:   .24s;
}

/* ── reset ───────────────────────────────────────────────────────── */
*,*::before,*::after{ box-sizing:border-box; }
*{ margin:0; }
/* No overflow-x on html/body: it breaks ScrollTrigger pinning (position:fixed
   gets the wrong containing block). Overflow is contained per-section instead.
   No `scroll-behavior:smooth` either — it animates the scroll corrections
   ScrollTrigger makes while pinning, which reads as stuttering. Anchor links
   are smooth-scrolled from JS instead, where it only affects real clicks. */
html{ -webkit-text-size-adjust:100%; }

/* Lenis smooth scroll — required base styles */
html.lenis,html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-stopped{ overflow:hidden; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior:contain; }
body{
  background:var(--cream);
  color:var(--ink);
  font-family:var(--body);
  font-size:clamp(1rem,.95rem + .2vw,1.0625rem);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; padding:0; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }

:where(a,button,[tabindex]):focus-visible{
  outline:2.5px solid var(--brick);
  outline-offset:3px;
  border-radius:2px;
}

.skip-link{
  position:absolute; left:var(--gutter); top:-100px; z-index:10000;
  background:var(--green); color:var(--cream);
  padding:.75rem 1.25rem; border-radius:var(--radius-pill); font-weight:600; font-size:.875rem;
  transition:top var(--dur) var(--ease);
}
.skip-link:focus{ top:1rem; }

/* ── typography primitives ───────────────────────────────────────── */
.display{
  font-family:var(--display);
  font-weight:800;
  line-height:.92;
  letter-spacing:-.028em;
  text-transform:uppercase;
  text-wrap:balance;
}
.display--xl{ font-size:clamp(2.75rem, 8.2vw, 8.25rem); }
.display--lg{ font-size:clamp(2.25rem, 5.6vw, 5.25rem); }
.display--stack{ font-size:clamp(2.5rem, 5vw, 4.75rem); line-height:.86; }

.label{
  font-size:.6875rem; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; color:var(--ink-45);
}

.eyeblock{
  display:inline-flex; align-items:center; gap:.6rem;
  font-size:.75rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--green);
  border:1px solid var(--line); border-radius:var(--radius-pill);
  padding:.5rem 1rem .5rem .75rem;
  background:var(--paper);
}
.eyeblock--light{ color:var(--cream); border-color:rgb(255 255 255/.22); background:rgb(255 255 255/.06); }
.dot{ width:.4rem; height:.4rem; border-radius:50%; background:var(--saffron); flex:none; }
.eyeblock--light .dot{ background:var(--gold-lt); }

.telugu{ font-family:var(--telugu); font-weight:600; }

/* ── buttons ─────────────────────────────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  min-height:48px; padding:.85rem 1.6rem;
  font-size:.8125rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  border-radius:var(--radius-pill); border:1.5px solid transparent;
  transition:background var(--dur) var(--ease), color var(--dur) var(--ease),
             border-color var(--dur) var(--ease), transform .18s var(--ease);
  cursor:pointer; white-space:nowrap;
}
.btn:active{ transform:scale(.97); }
.btn--solid{ background:var(--green); color:var(--cream); }
.btn--solid:hover{ background:var(--green-deep); }
.btn--ghost{ border-color:var(--line); color:var(--ink); background:var(--paper); }
.btn--ghost:hover{ border-color:var(--green); color:var(--green); }
.btn--pill{
  background:var(--ink); color:var(--cream);
  min-height:42px; padding:.6rem 1.1rem; font-size:.6875rem;
}
.btn--pill:hover{ background:var(--green); }
.btn__dot{ width:.4rem; height:.4rem; border-radius:50%; background:var(--saffron); }

/* ═══════════════════════════ loader ══════════════════════════════
   Concentric colour circles bloom out from the centre, the wordmark
   and sweets land, then the whole panel wipes upward.
   ════════════════════════════════════════════════════════════════ */
.loader{
  position:fixed; inset:0; z-index:9999;
  background:var(--cream);
  display:grid; place-items:center;
  clip-path:inset(0 0 0 0);
  overflow:hidden;
}
.loader.is-gone{ display:none; }

.loader__blooms{ position:absolute; inset:0; }
.bloom{
  position:absolute; top:50%; left:50%;
  width:280%; aspect-ratio:1; border-radius:50%;
  background:var(--c);
  transform:translate(-50%,-50%) scale(0);
  will-change:transform;
}
@media (min-width:1024px){ .bloom{ width:210%; } }

.loader__mark{
  position:relative; display:grid; justify-items:center; gap:1.25rem;
  padding-inline:1.5rem; text-align:center;
}
.loader__sweets{ display:flex; gap:clamp(.65rem,2vw,1.35rem); align-items:center; }
.sweet{ width:clamp(2.25rem,6vw,3.5rem); opacity:0; will-change:transform; }
.sweet:nth-child(even){ width:clamp(1.9rem,5vw,3rem); }

.loader__brand{
  display:grid; justify-items:center; line-height:.84;
  font-family:var(--display); text-transform:uppercase;
}
.loader__brand-a{
  font-weight:800; font-size:clamp(2.1rem,8.5vw,4.75rem);
  letter-spacing:-.03em; color:var(--brick);
}
.loader__brand-b{
  font-weight:700; font-size:clamp(.7rem,2.2vw,1.15rem);
  letter-spacing:.44em; color:var(--green); padding-left:.44em;
}
.loader__tag{
  font-size:clamp(.65rem,1.8vw,.8125rem); font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--ink-45);
}

/* ═════════════════════════════ header ════════════════════════════ */
/* Open bar, not a floating capsule: wordmark hard left, nav hard right, no
   container chrome. Visible from the first paint rather than sliding in. */
.site-head{
  position:fixed; inset:0 0 auto 0; z-index:900;
  padding:clamp(1.1rem,2.2vw,1.85rem) var(--gutter);
  border-bottom:1px solid transparent;
  transition:padding var(--dur) var(--ease), background var(--dur) var(--ease),
             border-color var(--dur) var(--ease);
}
/* once scrolled it picks up a cream backdrop, otherwise the links become
   unreadable over the teal and deep-green sections further down */
.site-head.is-in{
  padding-block:clamp(.7rem,1.3vw,1rem);
  background:color-mix(in srgb, var(--cream) 90%, transparent);
  -webkit-backdrop-filter:blur(12px) saturate(1.3);
  backdrop-filter:blur(12px) saturate(1.3);
  border-bottom-color:var(--line-soft);
}

.site-head__inner{
  max-width:var(--maxw); margin-inline:auto;
  display:flex; align-items:center; justify-content:space-between; gap:2rem;
}

.brand{
  display:flex; flex-direction:column; justify-content:center;
  line-height:.86; flex:none; min-height:44px;
}
.brand__name{
  font-family:var(--display); font-weight:800; font-size:1.0625rem;
  letter-spacing:-.02em; color:var(--brick);
}
.brand__sub{
  font-size:.6875rem; font-weight:700; letter-spacing:.34em; color:var(--ink-70);
  padding-left:.1em;
}

.nav{ display:flex; gap:clamp(1.1rem,2.2vw,2.4rem); margin-left:auto; }
.nav a{
  font-size:.75rem; font-weight:600; letter-spacing:.14em;
  color:var(--ink-70);
  transition:color var(--dur) var(--ease);
}
.nav a:hover{ color:var(--green); }

/* hover text-swap (Bucks Sauce signature)
   Padding lives on the spans, not the anchor — with padding on the anchor the
   outgoing span slides into the padding box and overflow:hidden can't clip it,
   leaving a duplicate label visible under the nav bar. */
.swap{ position:relative; overflow:hidden; display:inline-grid; }
.swap > span{
  grid-area:1/1; display:block;
  padding:.4rem 0;
  transition:transform .42s var(--ease);
}
.swap > span:last-child{ transform:translateY(105%); color:var(--green); }
.swap:hover > span:first-child{ transform:translateY(-105%); }
.swap:hover > span:last-child{ transform:translateY(0); }

.burger{ display:none; width:44px; height:44px; place-items:center; flex:none; }
.burger span{ display:block; width:20px; height:1.8px; background:var(--ink); transition:transform .3s var(--ease), opacity .3s; }
.burger span + span{ margin-top:5px; }
.burger[aria-expanded="true"] span:first-child{ transform:translateY(3.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child{ transform:translateY(-3.4px) rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0; z-index:890;
  background:var(--green-deep); color:var(--cream);
  display:flex; flex-direction:column; justify-content:center; gap:2rem;
  padding:var(--gutter);
  opacity:0; transition:opacity .3s var(--ease);
  pointer-events:none;
}
/* must out-specify `.mobile-menu{display:flex}`, or [hidden] does nothing and
   an invisible full-screen overlay swallows every click on the page */
.mobile-menu[hidden]{ display:none; }
.mobile-menu.is-open{ opacity:1; pointer-events:auto; }
.mobile-menu nav{ display:flex; flex-direction:column; gap:.4rem; }
.mobile-menu a{
  font-family:var(--display); font-weight:700; font-size:clamp(1.85rem,9vw,3rem);
  letter-spacing:-.02em; text-transform:uppercase; line-height:1.06;
  display:flex; align-items:center; min-height:48px; padding:.2rem 0;
}
.mobile-menu a:hover{ color:var(--gold-lt); }
.mobile-menu__foot{ font-size:.75rem; letter-spacing:.18em; text-transform:uppercase; opacity:.6; }

/* ══════════════════════════════ hero ═════════════════════════════ */
.hero{
  position:relative;
  padding:calc(var(--head-h) + clamp(1rem,3vh,2.5rem)) var(--gutter) clamp(2rem,5vw,4rem);
  max-width:var(--maxw); margin-inline:auto;
  overflow:clip;              /* contains the oversized mandala on BOTH axes —
                                 with overflow-x alone it bled down over the
                                 strip and rail and cut off mid-pattern */
}
/* Centred on the hero and faded with a closest-side circle, so the ornament
   dissolves to nothing well before any edge. The previous mask was elliptical
   and anchored to the image (which is ~2x taller than the hero), so the fade
   never reached the hero's bottom and `overflow:clip` sliced it flat. */
.hero__mandala{
  position:absolute; top:50%; right:4%;
  width:min(46rem,64vw); height:auto;
  /* standalone `translate`, not transform — GSAP animates `transform` for the
     scroll rotation and would otherwise overwrite the centring offset */
  translate:0 -50%;
  opacity:.09; pointer-events:none; z-index:0;
  -webkit-mask-image:radial-gradient(closest-side at 50% 50%, #000 16%, transparent 70%);
  mask-image:radial-gradient(closest-side at 50% 50%, #000 16%, transparent 70%);
  /* own layer — rotating a masked 700px+ image repaints far too much without it */
  will-change:transform;
}
.hero__figure img{ will-change:transform; }
.hero__grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.72fr) minmax(0,1fr);
  align-items:center; gap:clamp(1.5rem,4vw,4rem);
}

.hero__copy{ display:grid; justify-items:start; gap:clamp(1rem,1.9vw,1.5rem); }
/* Sized so the whole hero clears the fold: at 118px this ran to five lines and
   652px on its own, pushing 267px of the section below the viewport. */
.hero h1{ font-size:clamp(2.35rem,6.25vw,5.75rem); }
.hero__lede{
  max-width:46ch; color:var(--ink-70);
  font-size:clamp(1rem,1.35vw,1.1875rem);
}

/* fit-content + auto margins centre the idol in its column, and keep the figure
   hugging the image so the grounded shadow below tracks its real width */
.hero__figure{
  position:relative;
  width:fit-content; margin-inline:auto;
}
.hero__figure::after{               /* grounded shadow */
  content:""; position:absolute; left:8%; right:8%; bottom:-1.5rem; height:2.5rem;
  background:radial-gradient(ellipse at center, rgb(22 17 10/.22), transparent 70%);
  filter:blur(6px);
}
/* capped so the whole idol stays visible on a laptop screen instead of running
   past the fold — height leads, width follows the aspect ratio */
.hero__figure img{ width:auto; max-width:100%; max-height:min(52vh,28rem); }

.hero__cta{ display:flex; flex-wrap:wrap; gap:.65rem; }

.hero__telugu{
  font-size:clamp(1rem,1.9vw,1.375rem); color:var(--brick);
}

/* ═══════════════════════════ manifesto ═══════════════════════════ */
.manifesto{
  padding:var(--sect) var(--gutter);
  max-width:64rem; margin-inline:auto;
}
.manifesto__text{
  font-family:var(--display); font-weight:600;
  font-size:clamp(1.5rem,3.4vw,3rem); line-height:1.18; letter-spacing:-.02em;
  text-wrap:balance;
}
.words .w{ color:var(--line); transition:color .5s var(--ease); }
.words .w.is-lit{ color:var(--ink); }

/* ═════════════════════════ benefit strip ════════════════════════ */
.strip{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(.65rem,1.1vw,1rem);
  max-width:var(--maxw); margin-inline:auto;
  padding:0 var(--gutter) var(--sect);
}
.strip__cell{
  background:var(--paper);
  border-radius:var(--radius);
  padding:clamp(1.75rem,2.6vw,2.5rem) clamp(1.5rem,2vw,2rem);
  display:grid; align-content:start;
}
.strip__title{
  font-family:var(--display); font-weight:800; font-size:clamp(1.05rem,1.7vw,1.5rem);
  line-height:1; letter-spacing:-.02em; text-transform:uppercase;
  color:var(--green);
}
/* short gold rule under each claim — the one bit of ornament these carry */
.strip__title::after{
  content:""; display:block; width:1.75rem; height:2px;
  background:var(--gold); margin:1.1rem 0 1.1rem;
}
.strip__cell p{ font-size:.9375rem; color:var(--ink-70); }

/* ══════════════════════════ product rail ════════════════════════ */
.rail{ background:var(--cream-2); }
.rail__pin{
  min-height:100vh; display:flex; flex-direction:column; justify-content:center;
  gap:clamp(2rem,4vw,3.5rem);
  padding:clamp(4rem,8vw,6rem) 0;
  overflow:hidden;
}
.rail__head{
  padding-inline:var(--gutter);
  max-width:var(--maxw); margin-inline:auto; width:100%;
  display:grid; grid-template-columns:auto 1fr auto; align-items:end; gap:clamp(1.5rem,4vw,4rem);
}
.rail__note{ max-width:38ch; color:var(--ink-70); font-size:.9375rem; }
.rail__hint{
  font-size:.6875rem; font-weight:700; letter-spacing:.2em; color:var(--ink-45);
  white-space:nowrap;
}

.rail__track{
  display:flex; gap:clamp(1rem,1.8vw,1.75rem);
  padding-inline:var(--gutter);
  will-change:transform;
}
/* fallback: native horizontal scroll if GSAP is unavailable */
.rail__track:not(.is-pinned){ overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:1rem; }
.rail__track:not(.is-pinned) .card{ scroll-snap-align:center; }

.card{
  flex:0 0 clamp(19rem,26vw,24rem);
  background:var(--paper);
  border:1px solid var(--line-soft);
  border-radius:var(--radius);
  padding:clamp(1.5rem,2vw,2rem);
  display:flex; flex-direction:column;
  transition:border-color var(--dur-exit) var(--ease-exit), transform var(--dur-exit) var(--ease-exit);
}
.card:hover{
  border-color:color-mix(in srgb, var(--green) 40%, transparent);
  transform:translateY(-4px);
}
.card__no{
  font-family:var(--display); font-weight:800; font-size:.875rem;
  letter-spacing:.06em; color:var(--brick);
}
/* grid-template-rows gives the row a DEFINITE height — without it the row is
   auto-sized to the image and `max-height:100%` resolves against the image
   itself, so a tall portrait shot blows straight through the box. */
.card__img{
  height:clamp(11rem,17vw,15rem);
  display:grid; grid-template-rows:minmax(0,1fr); place-items:center;
  margin:1rem 0 1.5rem;
}
.card__img img{ max-height:100%; max-width:100%; width:auto; object-fit:contain; }
.card__title{
  font-family:var(--display); font-weight:800; font-size:clamp(1.5rem,2.3vw,2rem);
  line-height:.95; letter-spacing:-.025em; text-transform:uppercase; color:var(--green);
}
.card__line{ margin-top:.75rem; font-size:.9375rem; color:var(--ink-70); }
.card__spec{
  margin:1.5rem 0; padding-top:1rem; border-top:1px solid var(--line-soft);
  display:grid; gap:.5rem;
}
.card__spec > div{ display:flex; justify-content:space-between; gap:1rem; font-size:.8125rem; }
.card__spec dt{ color:var(--ink-45); text-transform:uppercase; letter-spacing:.1em; font-size:.6875rem; font-weight:600; }
.card__spec dd{ font-weight:600; }
.card__cta{
  margin-top:auto; display:inline-flex; align-items:center; justify-content:space-between;
  min-height:48px; padding:.8rem 1.25rem;
  border:1.5px solid var(--line); border-radius:var(--radius-pill);
  font-size:.75rem; font-weight:700; letter-spacing:.12em;
  transition:background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card__cta:hover{ background:var(--green); border-color:var(--green); color:var(--cream); }

/* closing card — the rail ends on the CTA rather than trailing off */
.card--end{
  background:var(--green-deep); color:var(--cream);
  border-color:var(--green-deep); justify-content:center;
}
.card--end .card__no{ color:var(--gold-lt); }
.card--end .card__title{ color:var(--cream); margin-top:1rem; }
.card--end .card__line{ color:color-mix(in srgb, var(--cream) 78%, transparent); }
.card--end .card__spec{ border-top-color:rgb(255 255 255/.18); }
.card--end .card__spec dt{ color:var(--gold-lt); }
.card--end .card__cta{ border-color:rgb(255 255 255/.3); }
.card--end .card__cta:hover{ background:var(--cream); border-color:var(--cream); color:var(--green-deep); }
.card--end:hover{ border-color:var(--gold-lt); }

/* ═══════════════════════════ how he grows ═══════════════════════ */
.grow{ padding:var(--sect) var(--gutter); max-width:var(--maxw); margin-inline:auto; }
.grow__head{ text-align:center; display:grid; justify-items:center; gap:1.5rem; }
.grow__head h2{ max-width:16ch; }

.steps{
  margin-top:clamp(3rem,6vw,5rem);
  display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(1rem,2vw,1.75rem);
  counter-reset:step;
}
.step{
  position:relative; padding-top:2.25rem;
  border-top:2px solid var(--line);
}
.step::before{                        /* progress node */
  content:""; position:absolute; top:-.4375rem; left:0;
  width:.875rem; height:.875rem; border-radius:50%;
  background:var(--cream); border:2px solid var(--green);
}
.step__no{
  font-family:var(--display); font-weight:800; font-size:.8125rem;
  letter-spacing:.08em; color:var(--brick);
}
.step__icon{ width:2.75rem; height:2.75rem; color:var(--green); margin:1rem 0 1.25rem; }
.step h3{
  font-family:var(--display); font-weight:700; font-size:clamp(.9375rem,1.25vw,1.125rem);
  line-height:1.1; letter-spacing:-.015em; text-transform:uppercase; margin-bottom:.6rem;
}
.step p{ font-size:.875rem; color:var(--ink-70); }

.pullquote{
  margin-top:clamp(3.5rem,7vw,6rem); text-align:center;
  padding:clamp(2rem,4vw,3.5rem) var(--gutter);
  background:var(--green-deep); color:var(--cream); border-radius:var(--radius);
}
.pullquote p{
  font-family:var(--display); font-weight:700;
  font-size:clamp(1.35rem,3.2vw,2.75rem); line-height:1.1; letter-spacing:-.02em;
  max-width:22ch; margin-inline:auto; text-wrap:balance;
}

/* ═══════════════════════════ why / reasons ══════════════════════ */
.why{
  background:var(--cream-2);
  padding:var(--sect) var(--gutter);
  display:grid; grid-template-columns:auto 1fr; gap:clamp(2rem,5vw,5rem);
  max-width:var(--maxw); margin-inline:auto;
  border-radius:var(--radius);
}
.why__spine{
  writing-mode:vertical-rl;
  font-family:var(--display); font-weight:800;
  font-size:clamp(1.25rem,2vw,1.75rem); letter-spacing:.22em;
  color:var(--line); align-self:start; position:sticky; top:7rem;
  user-select:none;
}
.why__title{ max-width:18ch; }
/* Paper cards layered on the section's cream-2 ground, each carrying an
   oversized ghosted numeral. Depth comes from surface contrast and scale,
   never shadow — the same restraint the reference site uses. */
.reasons{
  margin-top:clamp(2.5rem,5vw,4rem);
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(.65rem,1.1vw,1rem);
}
.reasons li{
  position:relative; overflow:hidden; isolation:isolate;
  background:var(--paper);
  border-radius:var(--radius);
  padding:clamp(1.9rem,2.5vw,2.4rem);
  transition:background var(--dur) var(--ease);
}
.reasons li:hover{ background:var(--cream); }

/* the index becomes a watermark, bled off the bottom-right corner */
.reasons span{
  position:absolute; right:.5rem; bottom:-.3em; z-index:-1;
  font-family:var(--display); font-weight:800;
  font-size:clamp(4rem,6.5vw,6.5rem); line-height:1; letter-spacing:-.05em;
  color:var(--green); opacity:.07;
  transition:opacity var(--dur) var(--ease);
  user-select:none;
}
.reasons li:hover span{ opacity:.13; }

.reasons h3{
  font-family:var(--display); font-weight:700; font-size:clamp(1.05rem,1.5vw,1.3rem);
  line-height:1.05; letter-spacing:-.015em; text-transform:uppercase; color:var(--green);
}
.reasons h3::before{
  content:""; display:block; width:1.75rem; height:2px;
  background:var(--gold); margin-bottom:1.1rem;
}
.reasons p{ margin-top:.7rem; font-size:.875rem; color:var(--ink-70); max-width:34ch; }

/* ═══════════════════════════ for brands ═════════════════════════ */
.brands{
  background:var(--teal); color:var(--cream);
  padding:var(--sect-solid) var(--gutter);
  margin-top:var(--sect);
}
/* copy left, product shot right — fills the half of the section that was empty */
.brands__top{
  max-width:var(--maxw); margin-inline:auto;
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(2rem,5vw,4.5rem); align-items:center;
}
.brands__intro{ display:grid; gap:1.75rem; justify-items:start; }
.brands__intro h2{ max-width:14ch; }
.brands__lede{ max-width:48ch; opacity:.82; font-size:clamp(1rem,1.3vw,1.1875rem); }

.brands__art{ justify-self:center; }
.brands__art figure{ display:grid; gap:1.1rem; justify-items:center; }
/* the box art is a cut-out and its panels are teal — it would vanish straight
   into this section, so it sits on a cream plate like every other product shot */
.brands__art img{
  width:auto; max-height:clamp(20rem,40vw,34rem);
  background:var(--cream); border-radius:var(--radius);
  padding:clamp(1.25rem,3vw,2.5rem);
}
.brands__art figcaption{ font-size:.8125rem; opacity:.75; text-align:center; max-width:42ch; }

.phases{
  max-width:var(--maxw); margin:clamp(3rem,6vw,5rem) auto 0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:rgb(255 255 255/.16);
  border:1px solid rgb(255 255 255/.16); border-radius:var(--radius); overflow:hidden;
}
.phase{ background:var(--teal); padding:clamp(1.75rem,2.5vw,2.5rem); }
.phase__tag{
  font-size:.6875rem; font-weight:700; letter-spacing:.2em; color:var(--gold-lt);
}
.phase h3{
  margin:1rem 0 1.25rem;
  font-family:var(--display); font-weight:700; font-size:clamp(1.25rem,1.9vw,1.625rem);
  letter-spacing:-.02em; line-height:1.05;
}
.phase ul{ display:grid; gap:.7rem; }
.phase li{
  position:relative; padding-left:1.35rem; font-size:.9375rem; opacity:.85;
}
.phase li::before{
  content:""; position:absolute; left:0; top:.6em;
  width:.4rem; height:.4rem; border-radius:50%; background:var(--gold-lt);
}

/* ═════════════════════════════ proof ════════════════════════════ */
/* no bottom padding — the marquee is the section's closing rule, so the gallery's
   own top padding is the whole gap. Both together left a ~350px dead band. */
.proof{ padding:var(--sect) 0 0; }
.stats{
  max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter);
  display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(1.5rem,3vw,3rem);
}
.stats li{ display:grid; gap:.6rem; }
.stats strong{
  font-family:var(--display); font-weight:800;
  font-size:clamp(2.75rem,6vw,5.5rem); line-height:.9; letter-spacing:-.04em;
  color:var(--green);
}
.stats span{ font-size:.875rem; color:var(--ink-70); max-width:22ch; }

.proof__note{
  max-width:var(--maxw); margin:clamp(3rem,6vw,5rem) auto clamp(1.5rem,3vw,2.5rem);
  padding-inline:var(--gutter);
  font-size:.9375rem; color:var(--ink-70); max-width:60ch;
}

.marquee{
  border-block:1px solid var(--line);
  padding:1.25rem 0; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.marquee__row{
  display:flex; gap:2.5rem; width:max-content;
  animation:slide 55s linear infinite;
}
.marquee__row span{
  font-family:var(--display); font-weight:700; font-size:clamp(1rem,1.6vw,1.375rem);
  letter-spacing:-.01em; text-transform:uppercase; color:var(--ink-45);
  white-space:nowrap; display:flex; align-items:center; gap:2.5rem;
}
.marquee__row span::after{
  content:""; width:.375rem; height:.375rem; border-radius:50%; background:var(--saffron);
}
@keyframes slide{ to{ transform:translateX(-50%); } }
.marquee:hover .marquee__row{ animation-play-state:paused; }

/* ════════════════════════════ gallery ═══════════════════════════ */
.gallery{ padding:var(--sect) var(--gutter); max-width:var(--maxw); margin-inline:auto; }
.gallery__head{ display:grid; gap:1.25rem; max-width:48rem; }
.gallery__head p{ color:var(--ink-70); }

.grid-gal{
  margin-top:clamp(2.5rem,5vw,4rem);
  display:grid; grid-template-columns:repeat(4,1fr);
  grid-auto-rows:clamp(9rem,14vw,14rem);
  grid-auto-flow:dense;   /* backstop: never leave a hole if the count changes */
  gap:clamp(.65rem,1.2vw,1rem);
}
.g{ overflow:hidden; border-radius:var(--radius); background:var(--cream-2); }
.g img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); }
.g:hover img{ transform:scale(1.05); }
.g--wide{ grid-column:span 2; }
.g--tall{ grid-row:span 2; }

/* ════════════════════════════ contact ═══════════════════════════ */
.contact{
  position:relative; overflow:hidden;
  background:var(--green-deep); color:var(--cream);
  padding:var(--sect-solid) var(--gutter);
}
/* Two mirrored ornaments, both dissolved at the edges. One alone left the right
   half of the section as flat green with a hard vertical cut where it ended. */
.contact__mandala{
  position:absolute; pointer-events:none;
  width:min(56rem,90vw);
  opacity:.07; filter:brightness(6);
  /* The source art is a half-mandala: sparse arcs on the left, dense centre hard
     against the right edge. Fade that inner edge out so it dissolves into the
     green instead of ending on a straight vertical line mid-section. The mask is
     in element space, so the mirrored copy inherits it flipped — which is exactly
     what we want: both fade toward the middle, both bleed off their outer edge. */
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 42%,transparent 92%);
  mask-image:linear-gradient(90deg,#000 0%,#000 42%,transparent 92%);
}
.contact__mandala--a{ left:-16%; bottom:-30%; }
.contact__mandala--b{ right:-16%; top:-30%; transform:scaleX(-1); }
/* copy left, the three numbers stacked right — fills the empty half */
.contact__top{
  position:relative;
  max-width:var(--maxw); margin-inline:auto;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr);
  gap:clamp(2rem,5vw,4.5rem); align-items:center;
}
.contact__head{ display:grid; gap:1.75rem; justify-items:start; }
.contact__head h2{ max-width:11ch; }
.contact__lede{ max-width:46ch; opacity:.8; font-size:clamp(1rem,1.3vw,1.1875rem); }

.phones{ display:grid; gap:clamp(.85rem,1.4vw,1.1rem); }
.phone{
  background:rgb(255 255 255/.06);
  border:1px solid rgb(255 255 255/.14);
  border-radius:var(--radius);
  padding:clamp(1.15rem,1.7vw,1.5rem) clamp(1.25rem,1.9vw,1.75rem);
  display:grid; gap:.8rem; align-content:start;
  transition:background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.phone:hover{ background:rgb(255 255 255/.1); border-color:rgb(255 255 255/.3); }
.phone__role{
  font-size:.6875rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-lt);
}
.phone__num{
  font-family:var(--display); font-weight:800;
  font-size:clamp(1.35rem,2.4vw,2rem); letter-spacing:-.025em;
  font-variant-numeric:tabular-nums;
  display:inline-flex; align-items:center; min-height:44px;
  width:fit-content;
}
.phone__num:hover{ color:var(--gold-lt); }
.phone__acts{ display:flex; gap:.5rem; flex-wrap:wrap; }
.chip{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:.6rem 1.15rem;
  border:1.5px solid rgb(255 255 255/.28); border-radius:var(--radius-pill);
  font-size:.6875rem; font-weight:700; letter-spacing:.12em;
  transition:background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover{ background:var(--cream); color:var(--green-deep); border-color:var(--cream); }
.chip--wa{ background:var(--gold-lt); border-color:var(--gold-lt); color:var(--green-deep); }
.chip--wa:hover{ background:var(--cream); border-color:var(--cream); }

.contact__foot{
  position:relative;
  max-width:var(--maxw); margin:clamp(2.5rem,5vw,4rem) auto 0;
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem;
  font-size:.875rem; opacity:.75;
}
.contact__foot a{
  text-decoration:underline; text-underline-offset:3px;
  display:inline-flex; align-items:center; min-height:44px;
}
.contact__foot a:hover{ color:var(--gold-lt); }

/* ════════════════════════════ footer ════════════════════════════ */
.site-foot{ padding:clamp(3rem,6vw,5rem) var(--gutter) 2rem; max-width:var(--maxw); margin-inline:auto; }
.site-foot__top{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:2rem;
  padding-bottom:clamp(2rem,4vw,3rem); border-bottom:1px solid var(--line);
}
.brand--foot{ min-height:48px; }
.brand--foot .brand__name{ font-size:1.375rem; }
.site-foot__nav{ display:flex; flex-wrap:wrap; gap:.25rem 1.5rem; font-size:.875rem; }
.site-foot__nav a{
  color:var(--ink-70); transition:color var(--dur) var(--ease);
  display:inline-flex; align-items:center; min-height:44px;
}
.site-foot__nav a:hover{ color:var(--green); }

.site-foot__mark{
  margin:clamp(2rem,5vw,3.5rem) 0 clamp(1.5rem,3vw,2.5rem);
  font-size:clamp(3rem,15.5vw,15rem); line-height:.82;
  color:var(--line); text-align:center; letter-spacing:-.04em;
  user-select:none;
}
.site-foot__bottom{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem;
  font-size:.8125rem; color:var(--ink-45);
}

/* ═════════════════ ambient drifting brand texture ═══════════════
   A seamless mandala tile drifting exactly one tile-width every 12s, which is
   what makes the loop invisible. Animates background-position rather than
   transform: a transform needs an over-wide element, and that pushed 140px of
   horizontal overflow onto the page. `isolation:isolate` lets z-index:-1 sit
   above the section's own background but beneath its content.
   ════════════════════════════════════════════════════════════════ */
:root{
  --tex-tile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke='%230C5A34' stroke-opacity='.5' stroke-width='1.1'%3E%3Ccircle cx='70' cy='70' r='5'/%3E%3Ccircle cx='70' cy='70' r='14'/%3E%3Ccircle cx='70' cy='70' r='27' stroke-dasharray='3 5'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Ccircle cx='140' cy='0' r='9'/%3E%3Ccircle cx='0' cy='140' r='9'/%3E%3Ccircle cx='140' cy='140' r='9'/%3E%3C/g%3E%3Cg fill='%230C5A34' fill-opacity='.5'%3E%3Ccircle cx='70' cy='43' r='2'/%3E%3Ccircle cx='70' cy='97' r='2'/%3E%3Ccircle cx='43' cy='70' r='2'/%3E%3Ccircle cx='97' cy='70' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.tex{ position:relative; isolation:isolate; }
.tex::before{
  content:""; position:absolute; inset:0;
  z-index:-1; pointer-events:none;
  background-image:var(--tex-tile);
  background-size:140px 140px;
  background-repeat:repeat;
  opacity:.16;
  animation:tex-drift 12s linear infinite;
}
@keyframes tex-drift{ from{ background-position:0 0; } to{ background-position:140px 0; } }

/* ═══════════ enter/exit motion split (Bucks Sauce pattern) ══════════
   At rest, components carry the fast exit curve so un-hovering snaps back.
   On hover they switch to the long soft entrance. Only duration and easing
   are overridden — each component keeps its own property list. */
.btn, .card, .card__cta, .chip, .phone,
.nav a, .reasons li, .g img, .site-foot__nav a{
  transition-duration:var(--dur-exit);
  transition-timing-function:var(--ease-exit);
}
.btn:hover, .card:hover, .card__cta:hover, .chip:hover, .phone:hover,
.nav a:hover, .reasons li:hover, .g:hover img, .site-foot__nav a:hover{
  transition-duration:var(--dur-enter);
  transition-timing-function:var(--ease-enter);
}

/* ═══════════════════════ scroll-reveal states ═══════════════════ */
.split .ln{ display:block; overflow:hidden; }
.split .ln > span{ display:block; will-change:transform; }

.reveal-line{ opacity:0; }

/* ═══════════════════════════ responsive ═════════════════════════ */
@media (max-width:1100px){
  .strip{ grid-template-columns:repeat(2,1fr); }
  .strip__cell:nth-child(3){ border-left:0; }
  .strip__cell:nth-child(n+3){ border-top:1px solid var(--line); }
  .steps{ grid-template-columns:repeat(3,1fr); row-gap:2.5rem; }
  .reasons{ grid-template-columns:repeat(2,1fr); }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .phases{ grid-template-columns:1fr; }
  .brands__top{ grid-template-columns:1fr; }
  .contact__top{ grid-template-columns:1fr; }
  .grid-gal{ grid-template-columns:repeat(3,1fr); }
}

@media (max-width:900px){
  .nav{ display:none; }
  .burger{ display:grid; margin-left:auto; }

  /* idol on top, copy beneath — image capped so the headline stays close */
  .hero__grid{ grid-template-columns:1fr; gap:clamp(1.5rem,5vw,2.5rem); }
  .hero__figure{ justify-self:center; }
  .hero__figure img{ max-height:44vh; width:auto; }
  .hero__figure::after{ bottom:-1rem; height:1.75rem; }

  .why{ grid-template-columns:1fr; border-radius:var(--radius); }
  .why__spine{ display:none; }
  .rail__head{ grid-template-columns:1fr; }
  .rail__hint{ display:none; }
}

@media (max-width:640px){
  .strip{ grid-template-columns:1fr; }
  .strip__cell{ border-left:0; border-top:1px solid var(--line); }
  .strip__cell:first-child{ border-top:0; }
  .steps{ grid-template-columns:1fr; }
  .reasons{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:1fr; }
  .grid-gal{ grid-template-columns:repeat(2,1fr); grid-auto-rows:9rem; }
  .g--tall{ grid-row:span 1; }
  .card{ flex-basis:min(78vw,20rem); }
  .site-foot__mark{ font-size:clamp(2.25rem,14vw,5rem); }
}

/* ── short laptop screens (1366×768 and similar) ─────────────────
   The hero is sized to clear the fold; on a ~720px viewport the default
   padding pushed it ~19px over, so trim the vertical breathing room. */
@media (max-height:800px) and (min-width:901px){
  /* only the BOTTOM tightens — the top must still clear the fixed header */
  .hero{ padding-top:calc(var(--head-h) + clamp(.5rem,1.5vh,1rem)); padding-bottom:clamp(1.25rem,3vh,2rem); }
  .hero__copy{ gap:clamp(.8rem,1.5vw,1.15rem); }
}

/* ═══════════════════════ motion preferences ═════════════════════ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  .marquee__row{ animation:none; }
  .tex::before{ animation:none; }
  .words .w{ color:var(--ink); }
  .reveal-line{ opacity:1; }
  .sweet{ opacity:1; }
}

@media print{
  .site-head,.loader,.mobile-menu,.marquee{ display:none !important; }
  body{ background:#fff; }
}
