/* ============================================================
 * Léonard 42 · Landing page styles
 * Editorial, quietly-luxurious real-estate brochure aesthetic.
 * Palette: Black Bean (ink) · Mongoose (accent) · Almond (cream) · White
 * ============================================================ */

/* ---------- @font-face (self-hosted) ---------- */
@font-face { font-family:'Instrument Serif'; src:url('../fonts/InstrumentSerif-Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Instrument Serif'; src:url('../fonts/InstrumentSerif-Italic.ttf') format('truetype'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Instrument Sans'; src:url('../fonts/InstrumentSans-VariableFont_wdth,wght.ttf') format('truetype'); font-weight:400 700; font-style:normal; font-display:swap; }

/* ---------- Tokens ---------- */
:root{
  --ink:#34170D; --accent:#BD9A81; --cream:#F6F3EE; --white:#fff;
  --serif:'Instrument Serif', Georgia, serif;
  --sans:'Instrument Sans', -apple-system, Segoe UI, sans-serif;
  --maxw:1200px; --gutter:clamp(20px,5vw,80px);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--ink);background:var(--cream);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}

/* ---------- Supplementary tokens (additive; used for rgba mixes) ---------- */
:root{
  --ink-rgb:52,23,13;
  --accent-rgb:189,154,129;
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---------- Additional base/reset ---------- */
*, *::before, *::after{ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
body{ overflow-x:hidden; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; border:0; background:none; }
input, textarea, button{ font-family:inherit; color:inherit; }
fieldset{ border:0; padding:0; margin:0; }
legend{ padding:0; }
ul, ol{ list-style:none; }
::selection{ background:var(--accent); color:var(--ink); }
[hidden]{ display:none!important; }

/* ============================================================
 * Header / nav
 * ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:60;
  display:flex; align-items:center; justify-content:space-between;
  padding: clamp(18px,3vw,30px) var(--gutter);
  background: linear-gradient(180deg, rgba(var(--ink-rgb),.55) 0%, rgba(var(--ink-rgb),0) 100%);
  box-shadow: none;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
/* Compact, refined bar once scrolled past the hero (toggled by main.js). A slim
   translucent Black Bean bar with a hairline underline — no heavy shadow — so it
   sits quietly over the light sections beneath without eating vertical space. */
.nav--scrolled{
  background: rgba(var(--ink-rgb),.9);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
  padding: 9px var(--gutter);
  box-shadow: inset 0 -1px 0 rgba(246,243,238,.14);
}
.nav__brand{ display:inline-flex; align-items:center; }
.nav__logo{
  height: clamp(90px,9.8vw,134px); width:auto;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.38));
  transition: height .32s var(--ease), filter .32s var(--ease);
}
/* Keep the scrolled mark large enough that the stacked wordmark's fine
   letterforms (the O, the D) stay crisp — at ~54px they got cramped/rough. */
.nav--scrolled .nav__logo{ height: clamp(56px,5.6vw,74px); filter:none; }
.nav__cta{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 26px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  color: var(--white);
  font-size: 11.5px; letter-spacing:.18em; text-transform:uppercase;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.nav__cta:hover{ background: var(--cream); color: var(--ink); border-color: var(--cream); }
.nav--scrolled .nav__cta{ padding: 8px 20px; font-size: 10.5px; }

/* ============================================================
 * Hero
 * ============================================================ */
/* ---- Full-width cinematic hero: full-bleed render + bottom-left content ---- */
.hero{
  position:relative;
  /* Nearly full-screen for an immersive feel, but capped so the wide 1920×890
     render still shows most of its width (dezoomed) rather than being scaled up
     and cropped hard on the sides. */
  min-height: clamp(600px, 92vh, 940px);
  display:flex;
  overflow:hidden;
  color: var(--cream);
  background: var(--ink);
}
.hero__img{
  position:absolute; inset:0;
  background-size:cover;
  /* Anchor low so the Meuse waterline at the foot of the render is always kept
     in frame (client: "montrer le lien avec la Meuse"). No extra zoom — the
     source is already tight, so scaling it up cropped the water. */
  background-position:center bottom;
}
/* No overlay filter on the render — legibility comes from the frosted-glass card
   around the headline (.hero__inner), so the image itself stays fully clean. */
.hero__veil{
  position:absolute; inset:0;
  background:none;
}
/* Thin gallery frame — quiet luxury detail. */
.hero__frame{
  position:absolute; inset: clamp(16px,1.7vw,28px);
  border:1px solid rgba(246,243,238,.34);
  pointer-events:none; z-index:2;
}
/* Editorial hero: an eyebrow (location) → large serif headline → supporting
   line → CTA, all left-aligned and anchored to the bottom-left of the render.
   The Léonard 42 wordmark lives only in the nav, so it isn't duplicated here. */
/* Direction B: content anchored to the bottom-left of the render. */
.hero{ align-items:flex-end; }
/* Frosted-glass card (glassmorphism, like Rive Urbaine): the headline + CTA sit
   on a blurred translucent panel at the bottom-left. The outer offset uses margin
   (left edge still aligns under the nav wordmark's "4"); inner padding is the card
   padding. The render stays sharp everywhere outside the card. */
.hero__inner{
  position:relative; z-index:3;
  width:auto; max-width: min(600px, 84vw);
  margin: 0 var(--gutter) clamp(48px,9vh,96px)
          calc(var(--gutter) + 0.455 * clamp(90px,9.8vw,134px));
  padding: clamp(30px,3.2vw,46px) clamp(32px,3.6vw,52px) clamp(32px,3.6vw,50px);
  display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:0;
  /* Very discreet frosted glass: barely-there tint, gentle blur, faint hairline. */
  background: rgba(var(--ink-rgb),.12);
  -webkit-backdrop-filter: blur(10px) saturate(112%);
  backdrop-filter: blur(10px) saturate(112%);
  border:1px solid rgba(246,243,238,.12);
  border-radius: 22px;
  box-shadow: 0 18px 50px -36px rgba(0,0,0,.45);
}
.hero__head{
  font-family: var(--serif); font-weight:400; font-style:italic;
  /* Sized so the two lines sit over the quay/houses on the left and don't run
     in front of the main building (client feedback). */
  font-size: clamp(2.1rem,4.2vw,3.6rem);
  line-height:1.08; letter-spacing:.005em;
  max-width: 16ch; margin:0 0 clamp(26px,4vh,40px); color:#fff;
  /* Layered shadow keeps the headline readable now that the veil is gone. */
  text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 2px 26px rgba(0,0,0,.6);
}
.hero__inner .btn{ margin:0; padding:17px 40px; font-size:12.5px; }
.hero__scroll{
  position:absolute; z-index:3;
  left:50%; transform:translateX(-50%); bottom: clamp(22px,4vh,40px);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  font-size:10.5px; letter-spacing:.34em; text-transform:uppercase;
  color: rgba(246,243,238,.85);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  transition: color .3s var(--ease);
}
.hero__scroll::after{
  content:''; width:1px; height:34px;
  background: linear-gradient(180deg, rgba(246,243,238,.8), transparent);
}
.hero__scroll:hover{ color: var(--accent); }

@media (max-width: 820px){
  .hero__inner{
    max-width:none;
    margin: 0 var(--gutter) clamp(40px,8vh,80px);
    padding: clamp(24px,5.5vw,34px) clamp(22px,5vw,30px) clamp(26px,5.5vw,34px);
    border-radius: 18px;
  }
  .hero__head{ font-size: clamp(1.9rem,6.6vw,2.9rem); max-width:18ch; }
  .hero__scroll{ display:none; }
}

/* ============================================================
 * Buttons (shared)
 * ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 15px 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 12px; letter-spacing:.18em; text-transform:uppercase; font-weight:500;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover{ background: var(--ink); color: var(--cream); }
.btn--primary{
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--primary:hover{ background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--cream{ background: var(--cream); color: var(--ink); border-color: var(--cream); box-shadow: 0 24px 48px -24px rgba(0,0,0,.5); }
.btn--cream:hover{ background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn.is-sending{opacity:.6;pointer-events:none;cursor:progress}

/* ============================================================
 * Eyebrow label
 * ============================================================ */
.eyebrow{
  display:inline-flex; align-items:center; gap:14px;
  font-size:12px; letter-spacing:.3em; text-transform:uppercase;
  color: var(--accent); font-weight:600;
  margin-bottom:20px;
}
.eyebrow::before{
  content:''; width:26px; height:1px; background: var(--accent);
}

/* ============================================================
 * Intro
 * ============================================================ */
/* White runs edge-to-edge (client); the content stays centred via .intro__inner. */
.intro{
  background: var(--white);
  padding: clamp(80px,11vw,160px) var(--gutter);
}
.intro__inner{
  max-width: var(--maxw); margin: 0 auto;
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,110px);
  align-items:center;
}
.intro__text{ max-width: 560px; }
.intro__heading{
  font-family: var(--serif); font-weight:400;
  font-size: clamp(1.9rem,3.6vw,3.1rem);
  line-height:1.14;
  max-width:16ch;
  margin-bottom:28px;
  color: var(--ink);
}
.intro__body p{
  font-size: 1.02rem; line-height:1.8;
  color: rgba(var(--ink-rgb),.82);
  max-width:52ch;
  margin-bottom:1.1em;
}
.intro__body p:last-child{ margin-bottom:0; }
.intro__body strong{ color: var(--ink); font-weight:600; }

.intro__figure{ margin:0; }
.intro__img{
  aspect-ratio: 4/5;
  background-size:cover; background-position:center;
  background-color: var(--cream);
}
.intro__figure figcaption{
  margin-top:16px;
  font-size:11.5px; letter-spacing:.14em; text-transform:uppercase;
  color: rgba(var(--ink-rgb),.6);
}

@media (max-width: 820px){
  .intro__inner{ grid-template-columns:1fr; }
}

/* ============================================================
 * Stats
 * ============================================================ */
/* Three USP, sitting directly beneath the hero (same layout as Rive Urbaine):
   a centred trio with an index medallion, a hairline divider between each. */
.stats{
  background: var(--cream);
  padding: clamp(80px,11vw,140px) var(--gutter);
}
.stats__grid{
  max-width: var(--maxw); margin:0 auto;
  display:grid; grid-template-columns: repeat(3,1fr);
  gap: clamp(24px,5vw,70px);
}
.stat{
  position:relative; text-align:center;
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:16px;
  padding: clamp(14px,2.4vw,28px) 18px;
}
/* Overline title above each USP text (Rive Urbaine style). */
.stat__title{
  font-family: var(--sans); font-weight:600;
  font-size: 12px; letter-spacing:.24em; text-transform:uppercase;
  color: var(--accent);
}
.stat p{
  font-family: var(--serif);
  font-size: clamp(1.15rem,1.7vw,1.42rem);
  line-height:1.4; max-width: 18ch;
  color: var(--ink);
}
@media (min-width: 761px){
  .stat + .stat::before{
    content:''; position:absolute; left: calc(-1 * clamp(12px,2.5vw,35px));
    top:10%; bottom:10%; width:1px;
    background: linear-gradient(transparent, rgba(var(--accent-rgb),.5), transparent);
  }
}
@media (max-width: 760px){
  .stats__grid{ grid-template-columns: 1fr; gap: 34px; }
}

/* ============================================================
 * Visual band
 * ============================================================ */
.visual{ position:relative; }
.visual__img{
  width:100%;
  height: clamp(360px,68vh,640px);
  background-size:cover; background-position:center;
  background-color: var(--ink);
}
.visual::after{
  content:'';
  position:absolute; left:0; right:0; bottom:0; height:35%;
  background: linear-gradient(180deg, transparent, rgba(var(--ink-rgb),.65));
  pointer-events:none;
}
.visual__caption{
  position:absolute; left: var(--gutter); bottom: 22px; z-index:2;
  font-size:11.5px; letter-spacing:.12em; text-transform:uppercase;
  color: rgba(255,255,255,.9);
}

/* ============================================================
 * Form section
 * ============================================================ */
/* Beige runs edge-to-edge (client); two-column layout mirrors Rive Urbaine:
   a sticky intro on the left, the form on the right. No white card. */
.form-sec{
  background: var(--cream);
  padding: clamp(80px,11vw,150px) var(--gutter);
}
.form-sec__inner{
  /* Same 1200px container as the intro/stats sections so the heading's left
     edge lines up with "Une résidence…" above it. */
  max-width: var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:.9fr 1.1fr;
  gap: clamp(36px,6vw,88px);
  align-items:start;
}
.form-sec__intro{ position:sticky; top:110px; }
.form-sec__heading{
  font-family: var(--serif); font-weight:400;
  font-size: clamp(1.9rem,3.4vw,2.9rem);
  line-height:1.16;
  margin-bottom: 20px;
  color: var(--ink);
}
.form-sec__lede{
  font-size: 1.02rem; line-height:1.7;
  color: rgba(var(--ink-rgb),.72);
  max-width: 34ch;
}
@media (max-width: 820px){
  .form-sec__inner{ grid-template-columns:1fr; gap: clamp(28px,6vw,44px); }
  .form-sec__intro{ position:static; }
}

.form{ display:flex; flex-direction:column; gap:28px; }

.form__row{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width: 640px){ .form__row{ grid-template-columns:1fr; } }

.form__field{
  display:flex; flex-direction:column; gap:9px;
}
.form__field span{
  font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color: rgba(var(--ink-rgb),.7); font-weight:600;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea{
  border:0; border-bottom: 1.5px solid rgba(var(--ink-rgb),.22);
  background: transparent;
  padding: 9px 2px 11px;
  font-size:15px; color: var(--ink);
  outline:none;
  transition: border-color .3s var(--ease);
}
.form input:focus,
.form textarea:focus{ border-bottom-color: var(--accent); }
.form textarea{ min-height:120px; line-height:1.6; resize:vertical; }

.form__choices{
  display:flex; flex-wrap:wrap; gap:12px;
}
.form__choices legend{
  flex: 0 0 100%;
  font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color: rgba(var(--ink-rgb),.7); font-weight:600;
  margin-bottom:14px;
}
.form__choices label{
  position:relative;
  display:inline-flex; align-items:center;
  padding: 11px 20px;
  border: 1px solid rgba(var(--ink-rgb),.25);
  border-radius: 999px;
  font-size:12.5px; letter-spacing:.04em;
  color: var(--ink);
  cursor:pointer;
  user-select:none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.form__choices label input{
  position:absolute; inset:0; opacity:0; margin:0; cursor:pointer;
}
.form__choices label:hover{ border-color: var(--ink); }
.form__choices label:has(input:checked){
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.form__consent{
  display:flex; align-items:flex-start; gap:12px;
  font-size:13px; line-height:1.55;
  color: rgba(var(--ink-rgb),.72);
  cursor:pointer;
}
.form__consent input[type="checkbox"]{
  appearance:none; -webkit-appearance:none;
  width:18px; height:18px;
  border: 1.5px solid rgba(var(--ink-rgb),.35);
  margin-top:2px; flex-shrink:0;
  position:relative; cursor:pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.form__consent input[type="checkbox"]:checked{
  background: var(--ink); border-color: var(--ink);
}
.form__consent input[type="checkbox"]:checked::after{
  content:'';
  position:absolute; inset:3px;
  background: var(--cream);
  clip-path: polygon(20% 50%, 40% 70%, 80% 25%, 70% 15%, 40% 50%, 30% 40%);
}

.form .btn--primary{
  align-self:flex-start;
  margin-top:6px;
}

.form-error{
  padding-top:32px;
  border-top: 1px solid var(--accent);
}
.form-error h3{
  font-family: var(--serif); font-weight:400;
  font-size: 1.5rem;
  margin-bottom:10px;
  color: var(--ink);
}
.form-error p{
  color: rgba(var(--ink-rgb),.72);
  margin-bottom:18px;
}

/* ============================================================
 * Footer
 * ============================================================ */
/* Centred, stacked footer (same layout as Axis): hairline rule → centred brand
   block (wordmark + "développé par" / "conçu par" credits) → two-column grid
   (Adresse · Suivez-nous) → bottom bar (copyright ↔ legal links). */
.footer{
  background: var(--ink);
  color: var(--cream);
  padding: clamp(34px,4.2vw,50px) var(--gutter) 28px;
  position:relative;
}
.footer__brand{
  max-width: var(--maxw); margin: 0 auto clamp(20px,2.8vw,32px);
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap: clamp(10px,1.3vw,15px);
}
/* Bigger logo, with a little extra space beneath so it isn't stuck to
   "développé par" — but not so much that the footer grows tall. */
.footer__logo{
  height: clamp(104px,11vw,148px); width:auto;
  margin-bottom: clamp(8px,1.1vw,14px);
}
.footer__developer{
  display:flex; flex-direction:column; align-items:center; gap:8px; margin:0;
}
.footer__developer-prefix{
  font-size:10.5px; letter-spacing:.26em; text-transform:uppercase;
  color: rgba(246,243,238,.55);
}
.footer__developer-logo{ height: clamp(34px,3.4vw,46px); width:auto; opacity:.95; }
.footer__architect-logo{ height: clamp(15px,1.6vw,19px); width:auto; opacity:.9; }
.footer__grid{
  max-width: var(--maxw); margin: 0 auto;
  display:grid; grid-template-columns: repeat(2,1fr); gap:56px;
  align-items:start;
  padding-top: clamp(22px,2.8vw,32px);
  border-top: 1px solid rgba(246,243,238,.16);
}
.footer__col p{ margin:0; font-size:14px; line-height:1.85; color: rgba(246,243,238,.72); }
/* Developer name heading the address, so it's clear the address is Ardent's. */
.footer__col .footer__addr-name{ color: rgba(246,243,238,.95); font-weight:600; }
.footer__col a:hover{ color: var(--accent); }
.footer__col-label{
  font-size:10.5px; letter-spacing:.3em; text-transform:uppercase;
  color: var(--accent); margin:0 0 14px; line-height:1;
}
.footer__col--social{ display:flex; flex-direction:column; align-items:flex-end; text-align:right; }
.footer__socials{ display:inline-flex; gap:12px; align-items:center; }
.footer__socials a{
  display:inline-grid; place-items:center; width:38px; height:38px;
  border:1px solid rgba(246,243,238,.28); border-radius:50%;
  color: rgba(246,243,238,.8);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.footer__socials a:hover{ background: var(--accent); border-color: var(--accent); color: var(--ink); }
.footer__socials svg{ width:16px; height:16px; display:block; fill:currentColor; }
.footer__bottom{
  max-width: var(--maxw); margin: clamp(20px,2.8vw,30px) auto 0;
  padding-top:18px; border-top: 1px solid rgba(246,243,238,.16);
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  font-size:11.5px; letter-spacing:.08em; color: rgba(246,243,238,.5);
}
.footer__copy{ margin:0; }
.footer__legal a{ color: rgba(246,243,238,.5); transition: color .25s var(--ease); }
.footer__legal a:hover{ color: var(--accent); }

@media (max-width: 760px){
  .footer__grid{ grid-template-columns:1fr; gap:34px; text-align:center; }
  .footer__col--social{ align-items:center; text-align:center; }
  .footer__bottom{ flex-direction:column; text-align:center; gap:10px; }
}

/* ============================================================
 * Reveal-on-scroll (consumed by Task 5 JS) + preview mode
 * ============================================================ */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s ease}
.reveal.is-visible{opacity:1;transform:none}
.cms-preview .reveal{opacity:1;transform:none;transition:none}
.preview-banner{position:fixed;top:0;left:0;right:0;z-index:9999;background:var(--ink);color:var(--cream);padding:8px 16px;font-size:13px;display:flex;gap:12px;align-items:center;justify-content:center}
.preview-banner__exit{color:inherit;text-decoration:underline;text-decoration-color:transparent;transition:text-decoration-color .2s ease}
.preview-banner__exit:hover,.preview-banner__exit:focus{text-decoration-color:currentColor}

/* ============================================================
 * Cookie consent banner (slide-up, bottom)
 * ============================================================ */
.cookie{
  position:fixed; left:0; right:0; bottom:0; z-index:200;
  background:var(--ink); color:var(--cream);
  box-shadow:0 -12px 40px -18px rgba(0,0,0,.6);
  transform:translateY(100%);
  transition:transform .5s var(--ease);
}
.cookie.is-visible{ transform:translateY(0); }
.cookie__inner{
  max-width:var(--maxw); margin:0 auto;
  padding:18px var(--gutter);
  display:flex; align-items:center; justify-content:space-between;
  gap:20px 32px; flex-wrap:wrap;
}
.cookie__text{ margin:0; font-size:13.5px; line-height:1.5; max-width:720px; color:var(--cream); }
.cookie__text a{ color:var(--cream); text-decoration:underline; text-underline-offset:2px; }
.cookie__actions{ display:flex; gap:12px; flex-shrink:0; }
.cookie__btn{
  font-family:var(--sans); font-size:11px; letter-spacing:.22em; text-transform:uppercase;
  padding:12px 24px; border:1px solid var(--cream); border-radius:999px; cursor:pointer;
  transition:background .3s var(--ease), color .3s var(--ease), opacity .3s;
}
.cookie__btn--ghost{ background:transparent; color:var(--cream); }
.cookie__btn--ghost:hover{ background:rgba(246,243,238,.14); }
.cookie__btn--solid{ background:var(--cream); color:var(--ink); }
.cookie__btn--solid:hover{ opacity:.85; }
@media (max-width:640px){
  .cookie__inner{ flex-direction:column; align-items:stretch; padding:18px var(--gutter) 22px; }
  .cookie__actions{ justify-content:stretch; }
  .cookie__btn{ flex:1; text-align:center; }
}

/* Avoid a flash of default content while CMS preview data is being applied. */
.cms-preview:not(.cms-preview-ready){ visibility:hidden; }

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

/* ============================================================
 * Small-viewport polish
 * ============================================================ */
@media (max-width: 480px){
  .stats{ padding: 64px var(--gutter); }
}
