/* =======================================================================
   CEDARLINE CUSTOM HOMES INC — landing page
   Palette: orange #1E9E57 · charcoal #17181B · white
   Apple-premium, liquid-glass, scroll-driven build hero
   ======================================================================= */

:root {
  --orange:      #1E9E57;
  --orange-600:  #16824A;
  --orange-050:  #EAF7EF;
  --ink:         #17181B;
  --ink-2:       #26282E;
  --paper:       #FFFFFF;
  --paper-2:     #F6F4F1;   /* warm off-white */
  --muted:       #6C6F78;
  --muted-2:     #9A9DA6;
  --line:        rgba(23,24,27,.10);

  --glass-tint:  rgba(30,158,87,.10);
  --shadow-lg:   0 30px 70px -30px rgba(20,18,16,.55);
  --shadow-md:   0 18px 40px -22px rgba(20,18,16,.45);

  --wrap: 1200px;
  --r-lg: 28px;
  --r-md: 20px;

  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --nav-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }

/* ---------- shared type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}
.eyebrow--light { color: #7fe0a8; }

.section-head { max-width: 640px; margin: 0 auto 3.2rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.section-head__sub { margin-top: 1rem; color: var(--muted); font-size: 1.06rem; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: .95rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad-y) var(--pad-x);
  font-weight: 600; font-size: .98rem; border-radius: 100px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, color .25s;
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn--lg { --pad-y: 1.15rem; --pad-x: 2rem; font-size: 1.05rem; }

.btn--solid {
  background: var(--orange); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(30,158,87,.7);
}
.btn--solid:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(30,158,87,.8); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }

.btn--glass {
  background: rgba(255,255,255,.14); color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
}
.btn--glass:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }

/* =====================================================================
   LOADER — branded gate while the build animation preloads
   ===================================================================== */
body.is-loading { overflow: hidden; }

.loader {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(80% 60% at 50% 110%, rgba(30,158,87,.28), transparent 60%),
    linear-gradient(160deg, #1d1e22, #131417);
  opacity: 1; transition: opacity .65s ease;
  touch-action: none;
}
.loader.is-done { opacity: 0; pointer-events: none; }

.loader__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.loader__mark { color: var(--orange); animation: loaderPulse 2.2s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.loader__name {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: .01em;
  line-height: .95; color: #fff; display: flex; flex-direction: column; align-items: center;
}
.loader__sub { font-size: .66rem; font-weight: 700; letter-spacing: .3em; color: var(--orange); margin-top: .3rem; }
.loader__bar {
  width: min(300px, 70vw); height: 3px; border-radius: 100px; overflow: hidden;
  background: rgba(255,255,255,.14); margin-top: 2.1rem;
}
.loader__bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), #7fe0a8);
  box-shadow: 0 0 14px rgba(30,158,87,.9);
  transition: width .25s ease;
}
.loader__status {
  margin-top: .9rem; font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55);
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  body.is-loading { overflow: auto; }
  .loader__mark { animation: none; }
}

/* =====================================================================
   NAV — transparent over the pinned hero, solid only after it (scroll rule)
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: min(var(--wrap), 92vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; transition: color .4s; }
.brand__mark { display: inline-flex; color: var(--orange); }
.brand__name {
  font-family: var(--font-display); font-weight: 900; font-size: 1.12rem; letter-spacing: .01em;
  line-height: .92; display: flex; flex-direction: column;
}
.brand__sub { font-size: .58rem; font-weight: 700; letter-spacing: .26em; color: var(--orange); }
.brand__name--foot { color: var(--paper); font-size: 1.35rem; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  color: rgba(255,255,255,.9); font-weight: 500; font-size: .95rem; position: relative;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--orange); transition: width .3s ease;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  padding: .6rem 1.2rem; border-radius: 100px; font-weight: 600; font-size: .9rem;
  background: var(--orange); color: #fff;
  box-shadow: 0 10px 22px -12px rgba(30,158,87,.9);
  transition: transform .25s, background .25s;
}
.nav__cta:hover { transform: translateY(-2px); background: var(--orange-600); }

/* solid state */
.nav--solid {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(20,18,16,.4);
}
.nav--solid .brand { color: var(--ink); }
.nav--solid .brand__name { color: var(--ink); }
.nav--solid .nav__links a { color: var(--ink-2); }

/* =====================================================================
   HERO — scroll-driven build
   ===================================================================== */
.hero {
  position: relative;
  height: var(--hero-scroll, 240vh);   /* scroll runway for the scrub */
  background: var(--ink);
}
.hero__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video, .hero__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
  will-change: transform;
}
.hero__video { opacity: 0; transition: opacity .6s ease; }
.hero__video.is-active { opacity: 1; }
.hero__video.is-active + .hero__fallback { opacity: 0; }

/* desktop frame-sequence canvas — sits above video/poster, below scrim */
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: 0; transition: opacity .45s ease;
}
.hero__canvas.is-active { opacity: 1; }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,14,13,.55) 0%, rgba(15,14,13,.12) 26%, rgba(15,14,13,.30) 62%, rgba(15,14,13,.82) 100%),
    radial-gradient(120% 80% at 20% 90%, rgba(30,158,87,.22), transparent 60%);
}
.hero__grain { position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 3px 3px; }

.hero__content {
  position: relative; z-index: 2;
  width: min(var(--wrap), 92vw); margin-inline: auto;
  color: #fff; max-width: 760px;
  padding-top: var(--nav-h);
}
.hero__title {
  font-size: clamp(2.7rem, 7.5vw, 5.6rem); font-weight: 900; line-height: .98;
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.hero__title span { display: block; color: #fff; }
.hero__title span { color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.9); }
@supports not (-webkit-text-stroke: 1px #000) { .hero__title span { color: #fff; } }

.hero__lede {
  margin: 1.6rem 0 2.2rem; font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.9); max-width: 560px; font-weight: 400;
}
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-row--center { justify-content: center; }

.hero__cue {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  transition: opacity .4s ease;
}
.hero__cue svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* build-progress bar (fills as the house builds) */
.hero__progress {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255,255,255,.16);
}
.hero__progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), #7fe0a8);
  box-shadow: 0 0 16px rgba(30,158,87,.8);
}

/* mobile-only band covers (see index.html comment) — hidden on desktop */
.hero__topcap, .hero__band { display: none; }

/* =====================================================================
   INTRO / STATS
   ===================================================================== */
.intro { padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem); background: var(--paper); text-align: center; }
.intro__kicker { color: var(--muted); font-weight: 600; letter-spacing: .04em; margin-bottom: 1.4rem; }
.intro__statement {
  font-size: clamp(1.7rem, 4.4vw, 3rem); max-width: 900px; margin: 0 auto;
  letter-spacing: -.025em;
}
.stats {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink); line-height: 1; }
.stat__plus, .stat__pct, .stat__star { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--orange); margin-top: .1rem; }
.stat p { margin-top: .5rem; color: var(--muted); font-size: .92rem; }
.stat { position: relative; }
.stat__num, .stat__plus, .stat__pct, .stat__star { display: inline; }
.stat > .stat__num { }
.stat p { order: 3; }

/* keep number + symbol on one line */
.stat { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .1rem; }
.stat p { flex-basis: 100%; }

/* =====================================================================
   SERVICES — liquid glass cards over an aurora
   ===================================================================== */
.services {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(6rem, 11vw, 9rem);
  background: radial-gradient(120% 120% at 50% -10%, #23252c 0%, #17181B 55%, #101114 100%);
  color: #fff;
}
.services__aura { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 480px; height: 480px; background: rgba(30,158,87,.55); top: -120px; left: -80px; }
.blob--2 { width: 420px; height: 420px; background: rgba(30,158,87,.30); bottom: -140px; right: -60px; }
.blob--3 { width: 360px; height: 360px; background: rgba(120,150,255,.18); top: 40%; left: 55%; }
.services .wrap { position: relative; z-index: 1; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* ---- LIQUID GLASS ---- */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -1px 0 rgba(255,255,255,.06) inset, var(--shadow-lg);
}

.card {
  padding: 1.9rem 1.6rem 2.1rem;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
  transform-style: preserve-3d;
}
.card::before {
  /* brand tint wash */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(120% 100% at 50% 0%, var(--glass-tint), transparent 70%);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 1.2rem;
  color: #fff; background: linear-gradient(160deg, var(--orange), var(--orange-600));
  box-shadow: 0 10px 22px -10px rgba(30,158,87,.9), 0 1px 0 rgba(255,255,255,.4) inset;
}
.card h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.card p { color: rgba(255,255,255,.82); font-size: .96rem; }
.card__sheen {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px 160px at var(--mx,50%) var(--my,0%), rgba(255,255,255,.22), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.4); }
.card:hover .card__sheen { opacity: 1; }

/* =====================================================================
   FEATURED WORK — photo tiles with glass captions
   ===================================================================== */
.work { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper-2); }
.gallery {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem;
  grid-auto-rows: 300px;
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  grid-column: span 2; box-shadow: var(--shadow-md);
  background: #ddd;
}
.tile--wide { grid-column: span 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(15,14,13,.42) 100%);
}
/* compact chip — photos stay the hero, the card covers almost nothing */
.tile__cap {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; right: auto;
  max-width: calc(100% - 28px);
  padding: .5rem .95rem; border-radius: 13px;
  display: block; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
}
.tile__cap strong { font-family: var(--font-display); font-weight: 800; font-size: .98rem; white-space: nowrap; }
.tile__cap em { display: none; }   /* detail line dropped — cards stay tiny */
.tile__tag {
  position: absolute; left: 0; bottom: calc(100% + 8px);
  white-space: nowrap;
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--orange); padding: .22rem .62rem; border-radius: 100px;
}

/* =====================================================================
   RESTORATION SPOTLIGHT
   ===================================================================== */
.restore { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper); }
.restore__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.restore__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.restore__media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.restore__badge {
  position: absolute; top: 16px; left: 16px; color: #fff; font-size: .78rem; font-weight: 600;
  padding: .45rem .9rem; border-radius: 100px;
}
.restore__copy h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: .3rem 0 1.2rem; }
.restore__copy p { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.ticks { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; font-weight: 500; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange-050);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%231E9E57' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 15px; background-repeat: no-repeat; background-position: center;
}

/* =====================================================================
   CTA
   ===================================================================== */
.cta { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 8rem) 0; text-align: center;
  background: linear-gradient(160deg, #1d1e22, #17181B); color: #fff; }
.cta__aura {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(30,158,87,.5), transparent 60%),
    radial-gradient(60% 50% at 80% 100%, rgba(30,158,87,.22), transparent 60%);
  opacity: .9;
}
.cta__inner { position: relative; z-index: 1; max-width: 720px; }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4rem); }
.cta p { margin: 1.3rem auto 2.2rem; color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 540px; }
.cta__fine { margin-top: 1.6rem; font-size: .86rem; color: rgba(255,255,255,.6); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { background: #0F1013; color: rgba(255,255,255,.75); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot__tag { color: var(--orange); font-weight: 600; margin-top: .8rem; font-size: .95rem; letter-spacing: .01em; }
.foot__col h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700; }
.foot__col a, .foot__col p { display: block; color: rgba(255,255,255,.68); font-size: .95rem; margin-bottom: .55rem; transition: color .25s; }
.foot__col a:hover { color: var(--orange); }
.foot__legal {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  font-size: .82rem; color: rgba(255,255,255,.45);
}

/* =====================================================================
   REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal.in { transition-delay: calc(var(--i, 0) * 80ms); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .tile, .tile--wide { grid-column: span 1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .restore__grid { grid-template-columns: 1fr; }
  .restore__media img { max-height: 440px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }

  /* Nav: hide inline links, keep brand + CTA; never opaque over hero video */
  .nav__links { display: none; }
  .nav__cta { padding: .5rem 1rem; font-size: .84rem; }

  /* Hero (phones): full-bleed PORTRAIT build video, UNCROPPED. The clip has
     baked-in WHITE bands (top 7.3%, bottom 7.1%). The top band becomes the
     header's background (dark logo on white); the bottom band is covered by
     a static orange strip carrying the scroll cue. Video itself untouched. */
  .hero { --hero-scroll: 220vh; }
  .hero__video, .hero__fallback { object-position: center; }
  .hero__grain { display: none; }
  .hero__canvas { display: none; }   /* phones scrub the video, not frames */

  /* nav sits on the video's own white band → dark text, seamless white blend */
  .nav { background: linear-gradient(180deg, rgba(255,255,255,.97) 55%, rgba(255,255,255,0) 100%); }
  .nav .brand { color: var(--ink); }
  .nav .brand__name { color: var(--ink); }

  /* white top cap: guarantees the band area reads as one clean header zone
     (covers device-rounding slivers); static — never fades */
  .hero__topcap {
    display: block; position: absolute; z-index: 1; left: 0; right: 0; top: 0;
    height: 7.4%;
    background: linear-gradient(180deg, #fff 0%, #fff 86%, rgba(255,255,255,0) 100%);
  }

  /* orange strip: covers the bottom white band, carries the scroll cue;
     static — never fades, so the band stays hidden through the whole scrub */
  .hero__band {
    display: flex; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
    height: 8%;
    align-items: center; justify-content: center; gap: .55rem;
    background: linear-gradient(180deg, var(--orange) 0%, var(--orange-600) 100%);
    color: #fff; font-size: .8rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
  }
  .hero__band svg { animation: bob 1.8s ease-in-out infinite; }

  /* the old floating cue is replaced by the band on phones */
  .hero__cue { display: none; }

  /* progress bar rides the bottom edge of the orange strip */
  .hero__progress { background: rgba(255,255,255,.25); }
  .hero__progress span { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.7); }

  /* scrim: only a mid-frame wash for headline legibility — must NOT tint the
     white bands (it fades out on scroll anyway) */
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(10,10,12,0) 8%, rgba(10,10,12,.34) 26%,
      rgba(10,10,12,.34) 58%, rgba(10,10,12,0) 82%);
  }

  .hero__content { padding-top: calc(var(--nav-h) + 10px); }
  .hero__title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero__lede { font-size: 1.02rem; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row--center .btn { width: 100%; }
  .foot__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .foot__legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__cue svg, .hero__band svg { animation: none; }
}
