/* ============================================================
   VENAIR BY BETTY — refined: thin condensed type, glass pills,
   atmospheric backdrops, original layout in HVAC dual-tone.
   ============================================================ */

:root{
  --ink-0: #000000;
  --ink-1: #050608;
  --ink-2: #0a0c11;
  --ink-3: #14171f;
  --ink-4: #1c2030;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --line-bright: rgba(255,255,255,0.28);

  --cream: #ecebe6;
  --cream-2: #d8d6cf;

  --navy: #1a2a52;
  --navy-glow: #2a4488;
  --heat: #e94e3a;
  --heat-warm: #ff7a48;
  --cold: #4ea7e6;
  --cold-deep: #2b6db0;

  --fg: #ffffff;
  --fg-dim: #c9ccd2;
  --fg-quiet: #8a8f9b;
  --fg-faint: #4a4f5a;

  --display: "Barlow Condensed", "Oswald", "Helvetica Neue Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: 28px;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--body);
  font-weight: 300;
  background: var(--ink-1);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
  letter-spacing: 0.005em;
}
img{ max-width: 100%; display: block; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a{ color: inherit; text-decoration: none; }

.eyebrow, .label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-dim);
  font-weight: 400;
}
.label{ font-size: 10px; letter-spacing: 0.28em; color: var(--fg-quiet); }

.display{
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ───────── Atmosphere layers ───────── */
.atmosphere{
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.atmosphere::before{
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(50% 35% at 12% 22%, rgba(233, 78, 58, 0.14), transparent 65%),
    radial-gradient(48% 38% at 92% 80%, rgba(78, 167, 230, 0.12), transparent 65%),
    radial-gradient(35% 25% at 78% 12%, rgba(255, 122, 72, 0.08), transparent 70%);
  filter: blur(48px);
  animation: drift 36s ease-in-out infinite alternate;
}
@keyframes drift{
  0%{ transform: translate(0,0) scale(1); }
  100%{ transform: translate(2%,-1%) scale(1.04); }
}
.motes{
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
.mote{
  position: absolute;
  width: 2px; height: 2px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(0.5px);
  box-shadow: 0 0 6px currentColor;
  animation: rise linear infinite;
}
@keyframes rise{
  from{ transform: translateY(20vh); opacity: 0; }
  10%{ opacity: 0.7; }
  90%{ opacity: 0.45; }
  to{ transform: translateY(-110vh); opacity: 0; }
}

/* ───────── Layout ───────── */
.shell{ position: relative; z-index: 2; }
.section{
  position: relative;
  padding: 140px var(--gutter);
  scroll-margin-top: 90px;
}
.section-tight{ padding: 80px var(--gutter); }
.container{
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.section-head{
  display: flex; flex-direction: column; align-items: center;
  gap: 26px;
  margin-bottom: 64px;
  text-align: center;
}
.section-head .display{ font-size: clamp(28px, 3.4vw, 46px); }

/* ───────── Glass pill nav (corner pills like ciridae's general motif) ───────── */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 400ms ease, backdrop-filter 400ms ease, border-color 400ms ease;
}
.nav.scrolled{
  background: rgba(5, 6, 8, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 220ms;
}
.nav-pill:hover{
  border-color: var(--heat-warm);
  color: var(--heat-warm);
  text-shadow: 0 0 12px rgba(255,122,72,0.45);
  box-shadow: 0 0 0 1px rgba(255,122,72,0.4), 0 0 24px rgba(255,122,72,0.18);
}
.nav-pill.cold:hover{
  border-color: var(--cold);
  color: var(--cold);
  text-shadow: 0 0 12px rgba(78,167,230,0.45);
  box-shadow: 0 0 0 1px rgba(78,167,230,0.4), 0 0 24px rgba(78,167,230,0.18);
}
.nav-pill .burger{
  display: inline-flex; flex-direction: column; gap: 3px;
}
.nav-pill .burger span{
  width: 14px; height: 1px; background: currentColor;
}

/* Center mark (small) appears when scrolled */
.nav-mark{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: 0;
  transition: opacity 320ms 80ms;
  pointer-events: none;
}
.nav.scrolled .nav-mark{ opacity: 1; pointer-events: auto; }
.nav-mark img{ height: 24px; filter: drop-shadow(0 0 8px rgba(233,78,58,0.4)); }

/* Mobile drawer */
.menu-overlay{
  position: fixed; inset: 0;
  z-index: 60;
  background: rgba(5,6,8,0.92);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms;
}
.menu-overlay.open{ opacity: 1; pointer-events: auto; }
.menu-overlay button{
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 12px 0;
  transition: color 220ms;
}
.menu-overlay button:hover{ color: var(--heat-warm); text-shadow: 0 0 24px rgba(255,122,72,0.6); }
.menu-overlay .menu-close{
  position: absolute; top: 22px; right: var(--gutter);
}
.menu-overlay-meta{
  position: absolute; bottom: 28px;
  left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 var(--gutter);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-quiet);
}

/* ───────── Hero ───────── */
.hero{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter) 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background-image: url("assets/Landing_page.png");
  background-size: cover;
  background-position: center 72%;
  background-repeat: no-repeat;
}

/* ─── Hero-only heat-haze background system ───
   Goal: feel like a real photo of hot asphalt at dusk — not flat black, but a
   living, breathing dark with warm undertones, film grain, and visible heat
   shimmer rising off the page. */
.hero::before{
  /* Light overlay stack on top of the desert sunset image set on .hero.
     Lets the image read clearly while preserving the original orange
     edge glow and a soft vignette frame. */
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -3;
  background:
    /* Restored warm/cool edge radials at original opacities — the
       cinematic orange edge glow that frames the dark center */
    radial-gradient(circle at 6% 82%, rgba(255, 138, 78, 0.45), transparent 32%),
    radial-gradient(circle at 104% 38%, rgba(200, 130, 95, 0.38), transparent 26%),
    radial-gradient(circle at 18% 12%, rgba(60, 80, 110, 0.28), transparent 34%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(255, 120, 60, 0.28), transparent 75%),
    radial-gradient(circle at 82% 22%, rgba(255, 170, 110, 0.20), transparent 22%),
    /* Light top-down dark wash — minimal at the top so sun/sky read,
       heavier at the bottom so the location/license labels stay legible */
    linear-gradient(180deg,
      rgba(2,4,8,0.10) 0%,
      rgba(5,7,12,0.15) 45%,
      rgba(3,5,9,0.25) 75%,
      rgba(2,4,8,0.40) 100%),
    /* Cinematic vignette — fully transparent at center so the desert
       reads clearly, darker fall-off only at the edges */
    radial-gradient(ellipse 80% 60% at 50% 50%,
      rgba(10,13,24, 0)    0%,
      rgba(6,8,16,  0.10) 40%,
      rgba(3,5,9,   0.30) 75%,
      rgba(2,4,7,   0.55) 100%);
  animation: hero-bokeh-drift 22s ease-in-out infinite alternate;
  filter: blur(0.5px) contrast(1.05);
}
@keyframes hero-bokeh-drift{
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-2%, 1.2%) scale(1.04); }
  66%  { transform: translate(1.5%, -1%) scale(1.06); }
  100% { transform: translate(0.8%, 0.6%) scale(1.03); }
}

/* Heat shimmer — displacement turbulence layer with stronger ripple lines
   so the distortion is actually visible against the warm blooms behind. */
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    /* Horizontal heat ripple lines — brighter so the warp reads clearly */
    repeating-linear-gradient(
      0deg,
      rgba(255, 150, 95, 0.08) 0 2px,
      transparent 2px 6px
    ),
    /* Edge vignette to focus the eye on center */
    radial-gradient(ellipse 75% 55% at 50% 55%, transparent 35%, rgba(2, 4, 8, 0.72) 95%);
  filter: url(#heat-haze);
  mix-blend-mode: screen;
  opacity: 1;
}

/* Rising-heat veil — now significantly more visible, denser lines, faster drift,
   and warmer color so it reads as actual rising heat instead of grain. */
.hero-heat-veil{
  position: absolute;
  inset: -8% -8%;
  z-index: -1;
  pointer-events: none;
  background:
    /* Primary rising-heat lines (warm amber, very subtle) */
    repeating-linear-gradient(
      0deg,
      rgba(255, 145, 90, 0.03) 0 1px,
      transparent 1px 6px
    ),
    /* Secondary thicker bands at a different rhythm — makes the haze
       feel layered instead of regular */
    repeating-linear-gradient(
      0deg,
      rgba(255, 110, 65, 0.018) 0 2px,
      transparent 2px 14px
    );
  filter: url(#heat-haze) blur(0.3px);
  animation: heat-veil-rise 9s linear infinite;
  opacity: 1;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  /* Fade the horizontal edges so the SVG displacement filter can't
     expose vertical seams/tears at the sides of the hero. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
@keyframes heat-veil-rise{
  /* Constant opacity — only the position drifts. Previously the opacity
     pulsed 0.55 → 1 → 0.55 which read as side-of-page flicker on lighter
     backgrounds. */
  0%   { transform: translateY(10%); }
  100% { transform: translateY(-18%); }
}

/* A second slower veil pass for depth — like multiple plumes rising at
   different rates, the way it actually looks above pavement. */
.hero-heat-veil-2{
  position: absolute;
  inset: -5% -6%;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 160, 100, 0.022) 0 1px,
    transparent 1px 10px
  );
  filter: url(#heat-haze);
  animation: heat-veil-rise 16s linear infinite reverse;
  opacity: 0.85;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
}

/* Film-grain layer — photographic noise gives the whole hero that
   "shot on real film" texture instead of a flat web gradient. */
.hero-grain{
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.85  0 0 0 0 0.7  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  opacity: 0.18;
  mix-blend-mode: overlay;
  animation: grain-shift 0.7s steps(4) infinite;
}
@keyframes grain-shift{
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 1%); }
  50%  { transform: translate(2%, -2%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce){
  .hero::before, .hero::after,
  .hero-heat-veil, .hero-heat-veil-2, .hero-grain{ animation: none; }
}
.hero-side{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
}
.hero-side.left{ left: var(--gutter); }
.hero-side.right{ right: var(--gutter); text-align: right; }
@media (max-width: 880px){
  .hero-side{ position: static; transform: none; margin: 8px 0; }
}

.hero-mark-wrap{
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 0;
}
.hero-mark{
  width: 110px;
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 30px rgba(233, 78, 58, 0.45)) drop-shadow(0 0 50px rgba(78, 167, 230, 0.2));
  animation: pulse-glow 5s ease-in-out infinite;
}
@keyframes pulse-glow{
  0%, 100%{ filter: drop-shadow(0 0 30px rgba(233, 78, 58, 0.4)) drop-shadow(0 0 50px rgba(78, 167, 230, 0.18)); }
  50%{ filter: drop-shadow(0 0 50px rgba(233, 78, 58, 0.7)) drop-shadow(0 0 70px rgba(78, 167, 230, 0.3)); }
}

.hero-wordmark{
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 88px);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--fg);
}
.hero-wordmark .by{
  font-style: italic;
  font-weight: 300;
  text-transform: lowercase;
  font-size: 0.42em;
  vertical-align: 0.32em;
  margin: 0 0.18em;
  color: var(--fg-dim);
  letter-spacing: 0;
}

.hero-tagline{
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.9;
}
.hero-tagline span{ color: var(--heat-warm); }
.hero-tagline em{ font-style: normal; color: var(--cold); }

.hero-bottom{
  position: absolute;
  bottom: 32px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-quiet);
}

/* ───────── Cream intermission ───────── */
.cream-strip{
  background: var(--cream);
  color: #1a1a1a;
  padding: 72px var(--gutter);
}
.cream-strip-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 38px;
}
.cream-strip .eyebrow, .cream-strip .label{
  color: #2a2a2a;
}
.cream-row{
  display: flex; align-items: center; justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  width: 100%;
}
.cream-logo{
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  text-transform: uppercase;
  opacity: 0.85;
  display: flex; align-items: center; gap: 8px;
  transition: opacity 220ms, transform 220ms;
}
.cream-logo:hover{ opacity: 1; transform: scale(1.05); }
.cream-logo i{
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--heat);
  letter-spacing: 0.22em;
}

/* ───────── Buttons ───────── */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  transition: all 240ms;
}
.btn:hover{
  border-color: var(--heat-warm);
  color: var(--heat-warm);
  text-shadow: 0 0 12px rgba(255,122,72,0.55);
  box-shadow: 0 0 0 1px rgba(255,122,72,0.4), 0 0 28px rgba(255,122,72,0.25);
}
.btn-primary{
  background: linear-gradient(135deg, var(--heat) 0%, var(--heat-warm) 100%);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 0 24px rgba(233,78,58,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover{
  color: var(--fg);
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
  box-shadow: 0 0 36px rgba(233,78,58,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-1px);
}
.btn-cold:hover{
  border-color: var(--cold);
  color: var(--cold);
  text-shadow: 0 0 12px rgba(78,167,230,0.55);
  box-shadow: 0 0 0 1px rgba(78,167,230,0.4), 0 0 28px rgba(78,167,230,0.25);
}
.btn-arrow{ display: inline-block; transition: transform 220ms; }
.btn:hover .btn-arrow{ transform: translateX(4px); }

.cta-row{
  display: flex; gap: 18px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ───────── Pitch / centered narrative ───────── */
.pitch{
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.pitch .display{ font-size: clamp(28px, 3.6vw, 52px); }
.pitch .display em{ font-style: italic; color: var(--heat-warm); font-family: "Newsreader", serif; font-weight: 300; text-transform: lowercase; letter-spacing: 0; }
.pitch .display b{ font-style: italic; color: var(--cold); font-family: "Newsreader", serif; font-weight: 300; text-transform: lowercase; letter-spacing: 0; }
.pitch p{
  margin-top: 36px;
  font-size: 16px;
  color: var(--fg-dim);
  max-width: 620px;
  margin-left: auto; margin-right: auto;
  line-height: 1.8;
}

/* Narrow narrative block */
.narrative{
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; gap: 22px;
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.85;
}
.narrative .eyebrow{ margin-bottom: 28px; color: var(--fg); }

/* ───────── Pillars (atmospheric — no solid backdrop) ───────── */
.pillars-section{
  position: relative;
  padding: 140px var(--gutter);
  overflow: hidden;
}

/* (pillar entrance animation now merged into .pillar-card rule below) */
.pillars-container{
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px){ .pillars-container{ grid-template-columns: 1fr; } }

.pillar-card{
  position: relative;
  padding: 32px 30px 56px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  display: flex; flex-direction: column; align-items: center;
  gap: 28px;
  text-align: center;
  min-height: 480px;
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 320ms;
}
.pillars-container.in .pillar-card{
  opacity: 1;
  transform: translateY(0);
}
.pillars-container.in .pillar-card:nth-child(1){ transition-delay: 0ms, 0ms, 0ms; }
.pillars-container.in .pillar-card:nth-child(2){ transition-delay: 420ms, 420ms, 0ms; }
.pillars-container.in .pillar-card:nth-child(3){ transition-delay: 840ms, 840ms, 0ms; }
.pillar-card:hover{
  background: rgba(255,255,255,0.07);
}
@media (prefers-reduced-motion: reduce){
  .pillar-card{ opacity: 1; transform: none; }
}
.pillar-card:nth-child(2)::before,
.pillar-card:nth-child(2)::after{ animation-delay: -2.6s; }
.pillar-card:nth-child(3)::before,
.pillar-card:nth-child(3)::after{ animation-delay: -5.3s; }
.pillar-num{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.04);
}
.pillar-card h3{
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: -8px;
}
.pillar-glyph{ margin: 18px 0; }
.pillar-card p{
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-top: auto;
  padding-top: 24px;
}

/* ─────────── Scroll-pinned logo reveal ─────────── */
.reveal{
  position: relative;
  height: 400vh; /* 4 viewports of scroll runway */
  background: linear-gradient(180deg, #8c8a8a 0%, #9f9d9d 15%, #c8c5be 60%, #ecebe6 100%);
}
.reveal::before{
  /* Soft fade into the prior dark hero */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14vh;
  background: linear-gradient(180deg, rgba(5,6,8,0.5), transparent);
  pointer-events: none;
  z-index: 1;
}
.reveal-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.reveal-title{
  position: absolute;
  top: 10vh;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 700ms cubic-bezier(0.2,0.8,0.2,1), transform 700ms cubic-bezier(0.2,0.8,0.2,1);
  z-index: 2;
}
.reveal-title.in{ opacity: 1; transform: translateY(0); }

.reveal-stage{
  position: relative;
  width: clamp(420px, 72vh, 820px);
  aspect-ratio: 1024 / 720;
  display: grid;
  place-items: center;
  margin-top: 2vh;
  z-index: 2;
}
.reveal-layer{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 380ms ease-out, filter 380ms ease-out;
  will-change: opacity, filter;
}
.reveal-aura{
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 55%,
    rgba(233,78,58,var(--aura-red, 0)) 0%,
    rgba(78,167,230,var(--aura-blue, 0)) 35%,
    transparent 65%);
  filter: blur(36px);
  opacity: var(--aura-on, 0);
  transition: opacity 600ms ease, background 600ms ease;
}

@media (max-width: 720px){
  .reveal-title{ top: 7vh; }
  .reveal-stage{ width: clamp(280px, 80vw, 480px); }
}
/* ─── Animated glow-border (red→orange→blue, slowly rotating) ─── */
@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.glow-border{
  position: relative;
  isolation: isolate;
}
.glow-border::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    rgba(233, 78, 58, 0.85),
    rgba(255, 122, 72, 0.85),
    rgba(255, 200, 130, 0.45),
    rgba(78, 167, 230, 0.85),
    rgba(43, 109, 176, 0.6),
    rgba(233, 78, 58, 0.85)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: glow-rotate 8s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.glow-border::after{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    rgba(233, 78, 58, 0.55),
    rgba(255, 122, 72, 0.55),
    rgba(255, 200, 130, 0.25),
    rgba(78, 167, 230, 0.55),
    rgba(43, 109, 176, 0.35),
    rgba(233, 78, 58, 0.55)
  );
  filter: blur(22px);
  opacity: 0.35;
  animation: glow-rotate 8s linear infinite;
  pointer-events: none;
  z-index: -1;
  transition: opacity 320ms;
}
.glow-border:hover::after{ opacity: 0.6; }
.glow-border > *{ position: relative; z-index: 1; }

@keyframes glow-rotate{
  to { --glow-angle: 360deg; }
}
/* Fallback for browsers without @property — animate background-position */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
  .glow-border::before, .glow-border::after{
    background: linear-gradient(90deg,
      rgba(233,78,58,0.7),
      rgba(255,122,72,0.7),
      rgba(78,167,230,0.7),
      rgba(255,122,72,0.7),
      rgba(233,78,58,0.7));
    background-size: 300% 100%;
    animation: glow-slide 8s linear infinite;
  }
  @keyframes glow-slide{ to{ background-position: -300% 0; } }
}

.stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
@media (max-width: 880px){ .stats{ grid-template-columns: repeat(2, 1fr); } }
.stat{
  background: rgba(255, 255, 255, 0.03);
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 320ms;
}
.stat:hover{ background: rgba(255, 255, 255, 0.06); }
.stat::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--accent, rgba(233,78,58,0.15)), transparent 70%);
  opacity: 0;
  transition: opacity 320ms;
  pointer-events: none;
}
.stat:hover::after{ opacity: 1; }
/* Subtle pulse-in for the range stat dash + zero-tick checkmark */
.zero-tick{
  display: inline-flex;
  align-items: center;
  margin-left: 0.18em;
  color: var(--cold);
  filter: drop-shadow(0 0 10px rgba(78,167,230,0.7));
  animation: zero-pop 600ms cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes zero-pop{
  from{ transform: scale(0.2) rotate(-20deg); opacity: 0; }
  to  { transform: scale(1) rotate(0); opacity: 1; }
}
.stat-num{
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  font-variant-numeric: tabular-nums;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 5vw, 78px);
  line-height: 1;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.stat-num em{ font-style: normal; }
.stat-num.heat{ color: var(--heat-warm); text-shadow: 0 0 28px rgba(255,122,72,0.4); }
.stat-num.cold{ color: var(--cold); text-shadow: 0 0 28px rgba(78,167,230,0.4); }
.stat-label{
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg-quiet);
}

/* ───────── Services as numbered image columns ───────── */
.svc-row{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  height: 520px;
}
@media (max-width: 1080px){
  .svc-row{ grid-template-columns: 1fr 1fr; grid-auto-rows: 360px; height: auto; }
}
.svc-tile{
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  transition: all 480ms cubic-bezier(0.4, 0.1, 0.2, 1);
  background: var(--ink-3);
  display: flex; flex-direction: column;
}
.svc-tile.expanded{ grid-column: span 2; }
@media (max-width: 1080px){ .svc-tile.expanded{ grid-column: span 2; } }

.svc-tile-bg{
  position: absolute; inset: 0;
  transition: filter 480ms;
}
/* Heat tones (tiles 01–03) — orange texture */
.svc-tile.tone-heat-1 .svc-tile-bg,
.svc-tile.tone-heat-2 .svc-tile-bg,
.svc-tile.tone-heat-3 .svc-tile-bg{
  background-image: url("assets/service-bg-orange.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Cold tones (tiles 04–06) — blue texture */
.svc-tile.tone-cold-1 .svc-tile-bg,
.svc-tile.tone-cold-2 .svc-tile-bg,
.svc-tile.tone-cold-3 .svc-tile-bg{
  background-image: url("assets/service-bg-blue.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.svc-tile-bg::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(2px 2px at 22% 18%, rgba(255,200,160,0.5), transparent 60%),
    radial-gradient(1px 1px at 78% 24%, rgba(255,180,140,0.4), transparent 60%),
    radial-gradient(2px 2px at 38% 70%, rgba(255,210,170,0.35), transparent 60%),
    radial-gradient(1px 1px at 62% 82%, rgba(255,190,150,0.4), transparent 60%);
}
.svc-tile-bg::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 100%);
}
.svc-tile-content{
  position: relative;
  z-index: 1;
  padding: 24px;
  color: var(--fg);
  display: flex; flex-direction: column;
  height: 100%;
}
.svc-num{
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg);
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 18px;
}
.svc-tile h3{
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.svc-tile.expanded h3{ font-size: 22px; }
.svc-detail{
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  max-width: 360px;
  opacity: 0;
  transition: opacity 320ms 200ms;
}
.svc-tile.expanded .svc-detail{ opacity: 1; }
.svc-explore{
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--heat-warm);
  opacity: 0;
  transition: opacity 320ms 240ms;
}
.svc-tile.expanded .svc-explore{ opacity: 1; }
.svc-tile.tone-cold-1 .svc-explore,
.svc-tile.tone-cold-2 .svc-explore,
.svc-tile.tone-cold-3 .svc-explore{ color: var(--cold); }

/* ───────── Service modal ───────── */
.modal-backdrop{
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  animation: fade 240ms ease;
}
@keyframes fade{ from{ opacity: 0; } to{ opacity: 1; } }
.modal{
  width: 100%; max-width: 980px; max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(20, 22, 30, 0.95), rgba(8, 10, 14, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 80px rgba(233,78,58,0.1);
  display: grid; grid-template-columns: 1fr 1fr;
  animation: slide-up 320ms cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes slide-up{ from{ transform: translateY(20px); opacity: 0; } to{ transform: translateY(0); opacity: 1; } }
@media (max-width: 800px){ .modal{ grid-template-columns: 1fr; max-height: 92vh; } }
.modal-img{
  background: var(--ink-2); position: relative; min-height: 360px; overflow: hidden;
}
.modal-img-placeholder{
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(78,167,230,0.08) 0 12px, transparent 12px 28px),
    linear-gradient(180deg, var(--ink-3), var(--ink-1));
  display: grid; place-items: center;
}
.modal-img-real{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(1.05);
}
.modal-img-placeholder span{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-quiet);
  padding: 8px 16px;
  border: 1px dashed var(--line-strong);
  background: rgba(0,0,0,0.4);
}
.modal-body{ padding: 48px 44px; position: relative; }
.modal-close{
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--fg-dim);
  transition: all 220ms;
}
.modal-close:hover{ color: var(--heat-warm); border-color: var(--heat-warm); }
.modal-body h2{
  font-family: var(--display);
  font-weight: 300;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 16px 0 20px;
}
.modal-body > p{ color: var(--fg-dim); margin-bottom: 24px; font-size: 14px; line-height: 1.75; }
.modal-body ul{ list-style: none; padding: 0; margin: 16px 0 24px; }
.modal-body ul li{
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--fg-dim);
  display: flex; align-items: center; gap: 12px;
}
.modal-body ul li::before{
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--heat-warm);
  box-shadow: 0 0 8px var(--heat);
  flex-shrink: 0;
}
.modal.cold .modal-body ul li::before{ background: var(--cold); box-shadow: 0 0 8px var(--cold); }

/* ───────── Process ───────── */
.process-list{
  border-top: 1px solid var(--line);
  max-width: 1080px; margin: 0 auto;
}
.process-step{
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 32px;
  padding: 36px 8px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 220ms;
}
.process-step:hover{ background: rgba(20, 22, 30, 0.4); }
@media (max-width: 720px){
  .process-step{ grid-template-columns: 60px 1fr; }
  .process-step p{ grid-column: 1 / -1; }
}
.process-num{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-quiet);
  letter-spacing: 0.18em;
}
.process-title{
  font-family: var(--display);
  font-weight: 300;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.process-step p{
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 520px;
}

/* ───────── Gallery ───────── */
.gallery{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 8px;
}
.gallery-item{
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
  transition: all 320ms;
}
.gallery-item:hover{ box-shadow: inset 0 0 0 1px var(--heat-warm), 0 0 24px rgba(233,78,58,0.18); }
.gallery-item .ph{
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(78,167,230,0.06) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #14171f, #050608);
}
.gallery-item.heat .ph{
  background:
    repeating-linear-gradient(45deg, rgba(233,78,58,0.08) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #2a1a18, #050608);
}
.gallery-item .ph-img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 320ms;
  filter: brightness(0.78) saturate(1.05);
}
.gallery-item:hover .ph-img{
  transform: scale(1.04);
  filter: brightness(1) saturate(1.15);
}
.gallery-item.heat .ph-img{
  filter: brightness(0.78) saturate(1.1) hue-rotate(-4deg);
}
.gallery-item.heat:hover .ph-img{
  filter: brightness(1) saturate(1.18) hue-rotate(-4deg);
}
.gallery-item .ph-label{
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-quiet);
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border: 1px solid var(--line);
}
.gallery-item .ph-meta{
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  color: var(--fg-faint);
}
.g-1{ grid-column: span 6; grid-row: span 2; }
.g-2{ grid-column: span 3; grid-row: span 2; }
.g-3{ grid-column: span 3; grid-row: span 1; }
.g-4{ grid-column: span 3; grid-row: span 1; }
.g-5{ grid-column: span 4; grid-row: span 1; }
.g-6{ grid-column: span 4; grid-row: span 1; }
.g-7{ grid-column: span 4; grid-row: span 1; }
@media (max-width: 880px){
  .gallery{ grid-template-columns: repeat(6, 1fr); }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6, .g-7{ grid-column: span 6; grid-row: span 1; }
}

/* ───────── Partners (light) ───────── */
.partners-section{
  background: var(--cream);
  color: #1a1a1a;
  padding: 100px var(--gutter);
  text-align: center;
}
.partners-section .eyebrow{ color: #2a2a2a; }
.partners-section h2{
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0e0e10;
  max-width: 800px;
  margin: 24px auto 60px;
  text-wrap: balance;
}
.partners-grid{
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 40px 60px;
  padding: 32px 0;
}
.partner-mark{
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity 220ms, transform 220ms;
  display: flex; flex-direction: column; align-items: center;
  white-space: nowrap;
}
.partner-mark:hover{ opacity: 1; transform: scale(1.04); }
.partner-mark small{
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  font-weight: 400;
  color: #6a6a6a;
  margin-top: 4px;
  text-transform: uppercase;
}

/* ───────── Testimonials ───────── */
.tests-section{
  padding: 140px 0;
  position: relative;
}
.tests-section .section-head{ padding: 0 var(--gutter); margin-bottom: 80px; }
.tests-track{
  display: flex;
  gap: 24px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tests-track::-webkit-scrollbar{ display: none; }
.test-card{
  flex: 0 0 min(560px, 88vw);
  scroll-snap-align: start;
  background: rgba(255,255,255,0.04);
  padding: 40px 36px;
  display: flex; flex-direction: column;
  gap: 20px;
  min-height: 320px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: 6px;
  transition: background 320ms;
}
.test-card:hover{ background: rgba(255,255,255,0.07); }
/* Stagger the rotation of adjacent testimonial cards so the glows feel alive, not synced */
.test-card:nth-child(2n)::before,
.test-card:nth-child(2n)::after{ animation-delay: -2.6s; }
.test-card:nth-child(3n)::before,
.test-card:nth-child(3n)::after{ animation-delay: -5.3s; }
.test-quote-mark{
  font-family: "Newsreader", serif;
  font-size: 44px;
  line-height: 0.5;
  color: var(--heat-warm);
  opacity: 0.85;
}
.test-card p{
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  flex-grow: 1;
}
.test-cite{
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.test-author-pill{
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--heat-warm);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heat-warm);
}
.test-card.cold .test-author-pill{ border-color: var(--cold); color: var(--cold); }
.test-card.cold .test-quote-mark{ color: var(--cold); }
.test-loc{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-quiet);
}
.test-loc .test-stars{
  letter-spacing: 0.12em;
  color: var(--heat-warm);
  text-shadow: 0 0 8px rgba(255, 122, 72, 0.45);
}
.test-card.cold .test-loc .test-stars{
  color: var(--cold);
  text-shadow: 0 0 8px rgba(78, 167, 230, 0.45);
}
.tests-controls{
  margin-top: 36px;
  padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
}
.tests-pager{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-quiet);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 8px 14px;
}
.tests-arrows{
  display: flex; gap: 8px;
}
.test-arrow{
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  display: grid; place-items: center;
  color: var(--fg-dim);
  transition: all 220ms;
}
.test-arrow:hover{ color: var(--heat-warm); border-color: var(--heat-warm); }

/* ───────── Security/recap strip ───────── */
.security-strip{
  text-align: center;
  padding: 120px var(--gutter);
}
.security-strip .eyebrow{ margin-bottom: 32px; color: var(--fg); }
.security-strip p{
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--fg);
}

/* ───────── FAQ ───────── */
.faq-list{
  border-top: 1px solid var(--line);
  max-width: 880px;
  margin: 0 auto;
}
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  width: 100%;
  text-align: left;
  padding: 28px 8px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display);
  font-weight: 300;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg);
  transition: color 220ms;
}
.faq-q:hover{ color: var(--heat-warm); text-shadow: 0 0 12px rgba(255,122,72,0.4); }
.faq-toggle{
  font-family: var(--mono); font-size: 22px; color: var(--fg-quiet);
  transition: transform 320ms, color 220ms;
}
.faq-item.open .faq-toggle{ transform: rotate(45deg); color: var(--heat-warm); }
.faq-a{
  max-height: 0; overflow: hidden;
  transition: max-height 420ms cubic-bezier(0.2,0.8,0.2,1);
}
.faq-item.open .faq-a{ max-height: 400px; }
.faq-a > div{
  padding: 0 8px 32px;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.75;
  max-width: 720px;
}

/* ───────── Quote form ───────── */
.quote-grid{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px){ .quote-grid{ grid-template-columns: 1fr; gap: 40px; } }
.quote-info h2{
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 42px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.quote-info p{
  color: var(--fg-dim); margin-bottom: 32px; font-size: 15px; line-height: 1.75;
}
.contact-card{
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 28px;
  border-radius: 6px;
  transition: background 320ms;
}
.contact-card:hover{ background: rgba(255,255,255,0.06); }
.contact-card::before,
.contact-card::after{ animation-delay: -3.4s; }
.contact-row{
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-row:last-child{ border-bottom: 0; }
.contact-row svg{ color: var(--heat-warm); flex-shrink: 0; }
.contact-row .label{ display: block; }
.contact-row a{
  color: var(--fg);
  font-size: 15px;
  transition: color 220ms;
}
.contact-row a:hover{ color: var(--heat-warm); text-shadow: 0 0 8px rgba(255,122,72,0.4); }

.quote-form{
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 36px;
  border-radius: 6px;
  transition: background 320ms;
}
.quote-form:hover{ background: rgba(255,255,255,0.05); }
.quote-form::before,
.quote-form::after{ animation-delay: -5.8s; }
.field{ margin-bottom: 22px; }
.field-row{
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 600px){ .field-row{ grid-template-columns: 1fr; } }
.field label{
  display: block;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-quiet);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--fg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 220ms;
}
.field input:hover, .field select:hover, .field textarea:hover{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.field input::placeholder, .field textarea::placeholder{ color: var(--fg-faint); }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--heat-warm);
  box-shadow: 0 0 0 3px rgba(255,122,72,0.15), 0 0 16px rgba(255,122,72,0.15);
}
/* ─── Date + Time pickers (gradient orange→blue text) ─── */
.date-wrap, .time-wrap{ position: relative; }
.date-wrap.open, .time-wrap.open{ z-index: 50; }

/* When a popover is open, lift its parent field-row above the form's other rows
   (which all share z-index:1 from .glow-border > *) */
.field-row:has(.date-wrap.open),
.field-row:has(.time-wrap.open),
.field:has(.date-wrap.open),
.field:has(.time-wrap.open){
  position: relative;
  z-index: 60;
}

.date-trigger, .time-trigger{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--fg);
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 220ms;
  text-align: left;
}
.date-trigger:hover, .time-trigger:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}
.date-placeholder, .time-placeholder{ color: var(--fg-faint); }
.date-value, .time-value{
  background: linear-gradient(90deg, var(--heat-warm), var(--cold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.time-sub-inline{ color: var(--fg-quiet); font-weight: 300; -webkit-text-fill-color: var(--fg-quiet); }
.date-icon, .time-icon{ color: var(--fg-quiet); flex-shrink: 0; }

/* ─── Calendar popover ─── */
.cal{
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 0;
  width: min(340px, 92vw);
  background: #0a0e1a;
  background-image:
    linear-gradient(180deg, rgba(20,28,48,0.96), rgba(8,10,18,0.98)),
    radial-gradient(ellipse at 0% 0%, rgba(255,122,72,0.10), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(78,167,230,0.10), transparent 60%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 16px;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 40px rgba(255,122,72,0.12),
    0 0 60px rgba(78,167,230,0.10);
  animation: cal-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes cal-in{ from{ opacity: 0; transform: translateY(-6px); } to{ opacity: 1; transform: translateY(0); } }
.cal-head{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.cal-title{
  display: flex; gap: 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cal-month{
  background: linear-gradient(90deg, var(--heat-warm), var(--cold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cal-year{ color: var(--fg-dim); }
.cal-nav{
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--fg);
  font-size: 18px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 220ms;
}
.cal-nav:hover{
  border-color: var(--heat-warm);
  color: var(--heat-warm);
  box-shadow: 0 0 12px rgba(255,122,72,0.35);
}

.cal-weekdays{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}
.cal-weekday{
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-quiet);
  padding: 6px 0;
}
/* Color the weekday letters across the orange→blue gradient by column */
.cal-weekday:nth-child(1){ color: rgba(255,122,72,0.85); }
.cal-weekday:nth-child(2){ color: rgba(255,140,100,0.85); }
.cal-weekday:nth-child(3){ color: rgba(220,140,140,0.85); }
.cal-weekday:nth-child(4){ color: rgba(180,150,180,0.85); }
.cal-weekday:nth-child(5){ color: rgba(140,160,210,0.85); }
.cal-weekday:nth-child(6){ color: rgba(110,170,225,0.85); }
.cal-weekday:nth-child(7){ color: rgba(78,167,230,0.95); }

.cal-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-cell{
  --mix: 0.5;
  position: relative;
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  display: grid; place-items: center;
  /* Per-cell orange→blue gradient text */
  background-image: linear-gradient(
    135deg,
    rgba(255, 122, 72, calc(1 - var(--mix))),
    rgba(78, 167, 230, var(--mix))
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-color 180ms, border-color 180ms, transform 180ms, filter 180ms;
}
.cal-cell.empty{ background: none; pointer-events: none; }
.cal-cell.past{
  opacity: 0.28;
  cursor: not-allowed;
  filter: grayscale(0.4);
}
.cal-cell:not(.past):not(.empty):hover{
  background-color: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(255,122,72,0.35)) drop-shadow(0 0 12px rgba(78,167,230,0.25));
}
.cal-cell.today{
  border-color: rgba(255,255,255,0.22);
}
.cal-cell.today::after{
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--heat-warm), var(--cold));
}
.cal-cell.selected{
  background-color: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 1px rgba(255,122,72,0.4), 0 0 20px rgba(78,167,230,0.35);
}

.cal-foot{
  display: flex; gap: 8px;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cal-foot-btn{
  flex: 1;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  background-image: linear-gradient(90deg, var(--heat-warm), var(--cold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 220ms;
}
.cal-foot-btn:hover{
  border-color: rgba(255,255,255,0.3);
  background-color: rgba(255,255,255,0.06);
}

/* ─── Time-window menu ─── */
.time-menu{
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #0a0e1a;
  background-image:
    linear-gradient(180deg, rgba(20,28,48,0.96), rgba(8,10,18,0.98)),
    radial-gradient(ellipse at 0% 0%, rgba(255,122,72,0.10), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(78,167,230,0.10), transparent 60%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 6px;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 40px rgba(255,122,72,0.12),
    0 0 60px rgba(78,167,230,0.10);
  animation: cal-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex; flex-direction: column;
  max-height: 280px;
  overflow-y: auto;
}
.time-opt{
  --mix: 0.5;
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font-family: var(--body);
  transition: background 180ms, border-color 180ms;
}
.time-opt:hover{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
}
.time-opt.selected{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 0 1px rgba(255,122,72,0.3), 0 0 18px rgba(78,167,230,0.2);
}
.time-opt-label{
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  /* Per-row orange→blue gradient text */
  background: linear-gradient(
    90deg,
    rgba(255, 122, 72, calc(1 - var(--mix))),
    rgba(78, 167, 230, var(--mix))
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.time-opt-sub{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-quiet);
}
.field textarea{ min-height: 120px; resize: vertical; font-family: var(--body); }

.upload-zone{
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-quiet);
  cursor: pointer;
  transition: all 220ms;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.upload-zone:hover{
  border-color: var(--heat-warm);
  color: var(--heat-warm);
  background: rgba(233,78,58,0.04);
}
.upload-zone svg{ display: block; margin: 0 auto 8px; opacity: 0.6; }
.upload-files{ margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.upload-file{
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 10px;
  background: rgba(78,167,230,0.08);
  border: 1px solid rgba(78,167,230,0.25);
  border-radius: 4px;
  color: var(--cold);
  backdrop-filter: blur(6px);
}
.submit-btn{
  width: 100%;
  margin-top: 12px;
  padding: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--heat) 0%, var(--heat-warm) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--fg);
  cursor: pointer;
  transition: all 240ms;
  box-shadow: 0 0 0 1px rgba(233,78,58,0.4), 0 0 24px rgba(233,78,58,0.3), inset 0 1px 0 rgba(255,255,255,0.18);
}
.submit-btn:hover{
  box-shadow: 0 0 0 1px rgba(233,78,58,0.6), 0 0 36px rgba(233,78,58,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-1px);
}
.success{ text-align: center; padding: 60px 40px; }
.success svg{ color: var(--cold); margin-bottom: 24px; filter: drop-shadow(0 0 24px rgba(78,167,230,0.5)); }
.success h3{
  font-family: var(--display); font-weight: 300; font-size: 32px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em;
}
.success p{ color: var(--fg-dim); }

/* ───────── Footer cosmic — slides up as glass overlay ───────── */
.footer-spacer{
  /* Allows user to keep scrolling past contact section, which triggers the slide-up */
  height: 90vh;
  position: relative;
  pointer-events: none;
}
.footer{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 56px var(--gutter) 28px;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(100%);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  background: rgba(10, 12, 18, 0.32);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border-top: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 -30px 80px rgba(0,0,0,0.4), 0 -1px 0 rgba(255,255,255,0.04) inset;
  max-height: 96vh;
  overflow-y: auto;
  margin-top: 0;
}
.footer.in{
  transform: translateY(0);
}
.footer-bg{ display: none; }
@media (prefers-reduced-motion: reduce){
  .footer{ transition: opacity 400ms; transform: translateY(0); opacity: 0; }
  .footer.in{ opacity: 1; }
}
.footer-inner{ position: relative; max-width: var(--maxw); margin: 0 auto; }
.footer-mark{
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 36px; text-align: center;
}
.footer-mark img{ height: 56px; margin-bottom: 12px; filter: drop-shadow(0 0 18px rgba(233,78,58,0.4)); }
.footer-mark .display{ font-size: 26px; }
.footer-mark .label{ margin-top: 8px; }

.footer-cta-row{
  display: flex; gap: 16px;
  justify-content: center;
  margin: 36px 0;
  flex-wrap: wrap;
}

.footer-recap{
  display: flex; justify-content: center; gap: 32px;
  margin: 32px 0;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.footer-recap span{ position: relative; padding: 0 4px; }
.footer-recap span:not(:last-child)::after{
  content: "•";
  position: absolute; right: -18px;
  color: var(--heat-warm);
  text-shadow: 0 0 8px var(--heat);
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px){ .footer-grid{ grid-template-columns: repeat(2, 1fr); } }
.footer-col h4{
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--fg-quiet);
  margin-bottom: 18px;
}
.footer-col ul{ list-style: none; padding: 0; }
.footer-col li{ padding: 4px 0; }
.footer-col a, .footer-col li{
  font-size: 13px;
  color: var(--fg-dim);
  transition: color 220ms;
  cursor: pointer;
}
.footer-col a:hover, .footer-col li:hover{
  color: var(--heat-warm);
  text-shadow: 0 0 8px rgba(255,122,72,0.4);
}
.footer-col li.cold:hover{
  color: var(--cold); text-shadow: 0 0 8px rgba(78,167,230,0.4);
}

.footer-base{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-quiet);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-license{ color: var(--cold); }


/* ───────── Intro reveal sequence (page load) ───────── */
/* 1. black cover  2. logo+wordmark  3. left tagline  4. right tagline
   5. bottom meta + nav  6. heat-haze + atmosphere */

#intro-cover{
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  pointer-events: none;
  animation: introCoverOut 1.1s ease 0.6s forwards;
}
@keyframes introCoverOut{
  0%   { opacity: 1; visibility: visible; }
  99%  { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

/* Stage 2 — logo image + wordmark */
.hero-mark{
  /* override original animation to chain entry + ongoing pulse-glow */
  animation:
    introFadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.7s both,
    pulse-glow 5s ease-in-out 1.7s infinite;
}
.hero-wordmark{
  animation: introFadeUp 0.9s cubic-bezier(.22,1,.36,1) 0.9s both;
}

/* Stage 3 — "Beat The Heat" slides in left → right */
.hero-side.left{
  animation: introSlideInLeft 0.9s cubic-bezier(.22,1,.36,1) 1.55s both;
}
/* Stage 4 — "Warm The Mornings" slides in left → right */
.hero-side.right{
  animation: introSlideInLeft 0.9s cubic-bezier(.22,1,.36,1) 2.15s both;
}

/* Stage 5 — remaining hero meta + nav pills */
.hero-tagline{       animation: introFadeUp 0.8s cubic-bezier(.22,1,.36,1) 2.75s both; }
.hero-bottom{        animation: introFadeUp 0.8s cubic-bezier(.22,1,.36,1) 2.85s both; }
.nav > .nav-pill{    animation: introFadeUp 0.8s cubic-bezier(.22,1,.36,1) 2.75s both; }
/* nav-mark uses its own keyframe so the existing translateX(-50%) centering
   is preserved through the animation (otherwise the final keyframe's
   translateY overrides centering and the mark drifts right of center). */
.nav > .nav-mark{    animation: introFadeUpCentered 0.8s cubic-bezier(.22,1,.36,1) 2.75s both; }

/* Stage 6 — heat-wave effects + global atmosphere come last. Only fade in;
   the heat-veil's own keyframes / SVG filter handle motion naturally without
   triggering the side-band glitch. */
.hero-heat-veil,
.hero-heat-veil-2,
.hero-grain,
.atmosphere,
.grid-overlay,
.motes{
  animation: introFadeIn 1.4s ease 3.55s both;
}

@keyframes introFadeUp{
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes introFadeUpCentered{
  /* Same fade-up as introFadeUp but preserves the translateX(-50%)
     horizontal centering used by .nav-mark. */
  from { opacity: 0; transform: translate(-50%, 14px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes introSlideInLeft{
  from { opacity: 0; transform: translate(-48px, -50%); }
  to   { opacity: 1; transform: translate(0, -50%); }
}
@keyframes introFadeIn{
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reduced motion: skip the slide/fade and just clear the cover quickly */
@media (prefers-reduced-motion: reduce){
  #intro-cover{ animation: introCoverOut 0.4s ease 0.05s forwards; }
  .hero-mark,
  .hero-wordmark,
  .hero-side.left,
  .hero-side.right,
  .hero-tagline,
  .hero-bottom,
  .nav > .nav-pill,
  .nav > .nav-mark,
  .hero-heat-veil,
  .hero-heat-veil-2,
  .hero-grain,
  .atmosphere,
  .grid-overlay,
  .motes{
    animation: none;
  }
  /* preserve hero-side vertical centering when animation is suppressed */
  .hero-side.left, .hero-side.right{ transform: translateY(-50%); }
  /* keep the logo's ongoing pulse */
  .hero-mark{ animation: pulse-glow 5s ease-in-out infinite; }
}
