/* =====================================================
   [BRAND] · Version A — Dark Cinematic + Minimal
   The can is the drama. Everything else is clean.
   ===================================================== */

:root {
  /* Backgrounds — dark warm near-black, tinted toward RED's ember hue */
  --bg-deep:        #150807;
  --bg-mid:         #1d0d0a;
  --bg-card:        #281410;
  --bg-card-hover:  #331b15;

  /* Text — warm white */
  --text-primary:   #f6efe9;
  --text-secondary: rgba(246,239,233,0.70);
  --text-muted:     rgba(246,239,233,0.55);

  /* Accent — RED: a muted, orangish terracotta (not bright) */
  --accent:         #cb6443;
  --accent-hover:   #dd7752;
  --accent-red:     #C8102E; /* kept for can label */

  /* Border */
  --border:         rgba(203,100,67,0.16);

  /* Fonts */
  --font-display:   'JetBrains Mono', ui-monospace, monospace;
  --font-body:      'Inter', system-ui, sans-serif;
  --font-can:       'Bungee', cursive;
  --section-pad:    clamp(80px, 10vw, 140px);
}

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }

/* JetBrains Mono display headings need an explicit heavy weight */
.hero-tagline, .section-title, .splat-headline, .shift__headline, .shift__callout,
.metric-after, .build__card h3, .stat-number, .credibility__tagline,
.cta-section__headline, .contact__title {
  font-weight: 800;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 200;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(21,8,7,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 40px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.navbar__brand img { height: 17px; width: auto; opacity: 0.92; }
.navbar__brand-divider {
  width: 1px; height: 20px;
  background: var(--border);
}
.navbar__brand-name { color: var(--accent); font-size: 26px; letter-spacing: 2px; font-family: var(--font-can); line-height: 1; }
.navbar__links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.navbar__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.navbar__links a:hover { color: var(--text-primary); }
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(203,100,67,0.10);
}

/* ===== HERO (scroll-driven cinematic scene) ===== */
.hero-scroll {
  position: relative;
  height: 860vh;            /* scroll distance that drives the whole animation */
}
.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 65%, #3d180e 0%, #1f0e0a 55%, #150807 100%);
}

/* ---- Stage atmosphere ---- */
.cinema-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* Stage light flickers gently while idle (before the user scrolls) */
@keyframes stageFlicker {
  0%, 100% { filter: brightness(1); }
  5%   { filter: brightness(1.55); }
  8%   { filter: brightness(0.55); }
  11%  { filter: brightness(1.3); }
  15%  { filter: brightness(0.9); }
  40%  { filter: brightness(1); }
  43%  { filter: brightness(0.45); }
  46%  { filter: brightness(1.4); }
  50%  { filter: brightness(0.8); }
  75%  { filter: brightness(1); }
  78%  { filter: brightness(1.5); }
  81%  { filter: brightness(0.6); }
  85%  { filter: brightness(1.15); }
}
/* only the spotlight aimed at the can flickers — the floor stays steady */
.stage-foco { position: absolute; inset: 0; will-change: filter; }
.cinema-stage.is-idle .stage-foco { animation: stageFlicker 3.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .cinema-stage.is-idle .stage-foco { animation: none; }
}
.light-beam {
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 90%;
  background: linear-gradient(180deg,
    rgba(255,214,170,0.17) 0%,
    rgba(245,176,120,0.10) 30%,
    rgba(225,130,70,0.04) 60%,
    transparent 100%);
  clip-path: polygon(38% 0, 62% 0, 90% 100%, 10% 100%);
  filter: blur(8px);
  opacity: 0.9;
  will-change: opacity;
}
.spotlight-pool {
  position: absolute;
  top: 50%; left: 50%;
  width: 90%; max-width: 1100px; height: 70%;
  transform: translate(-50%, -10%);   /* sits lower, over the lowered scene */
  background: radial-gradient(ellipse 50% 50% at 50% 50%,
    rgba(255,221,185,0.36) 0%,
    rgba(240,165,105,0.16) 25%,
    rgba(210,105,55,0.05) 50%,
    transparent 75%);
  filter: blur(4px);
  will-change: transform, opacity;
}
.distant-lights { position: absolute; inset: 0; z-index: 2; }
.distant-lights span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,200,150,0.42);
  animation: floatDust 12s linear infinite;
}
.distant-lights span:nth-child(1){ left:28%; top:35%; animation-delay:0s; animation-duration:14s; }
.distant-lights span:nth-child(2){ left:45%; top:22%; animation-delay:-3s; animation-duration:11s; }
.distant-lights span:nth-child(3){ left:62%; top:30%; animation-delay:-6s; animation-duration:13s; }
.distant-lights span:nth-child(4){ left:38%; top:50%; animation-delay:-2s; animation-duration:16s; }
.distant-lights span:nth-child(5){ left:56%; top:45%; animation-delay:-8s; animation-duration:12s; }
.distant-lights span:nth-child(6){ left:70%; top:40%; animation-delay:-5s; animation-duration:15s; }
@keyframes floatDust {
  0%   { transform:translate(0,0) scale(1); opacity:0; }
  10%  { opacity:0.6; }
  90%  { opacity:0.4; }
  100% { transform:translate(-30px,80px) scale(0.4); opacity:0; }
}
.floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(180deg, transparent 0%, rgba(42,18,10,0.4) 25%, #2a120c 60%, #1c0b08 90%, #140706 100%);
}
.floor::before {
  content:'';
  position:absolute; inset:0;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 60px, rgba(0,0,0,0.25) 60px, rgba(0,0,0,0.25) 62px);
  opacity: 0.4;
}

/* ---- Hero intro overlay ---- */
.hero__intro {
  position: absolute;
  top: clamp(96px, 13vh, 150px);
  left: 0;
  right: 0;
  padding: 0 20px;
  text-align: center;
  z-index: 60;
  will-change: transform, opacity;
  transition: top 0.45s ease;
}
.hero-eyebrow {
  display: block;
  margin-bottom: 16px;
  transition: opacity 0.35s ease, margin 0.35s ease, max-height 0.35s ease;
  max-height: 90px;
  overflow: hidden;
}
.hero-eyebrow__red {
  display: block;
  font-family: var(--font-can);
  font-size: clamp(24px, 3.4vw, 40px);
  letter-spacing: 3px;
  line-height: 1;
  color: var(--accent);
}
.hero-eyebrow__by {
  display: block;
  font-family: var(--font-can);
  font-size: clamp(9px, 0.85vw, 11px);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.22;
  color: var(--text-primary);
  letter-spacing: -1px;
  transition: font-size 0.45s ease;
}

/* Compact persistent state — the phrase shrinks to a single line and stays
   pinned at the top through the whole animation (it never disappears) */
.hero__intro.compact { top: clamp(64px, 8vh, 90px); }
.hero__intro.compact .hero-eyebrow {
  opacity: 0;
  margin-bottom: 0;
  max-height: 0;
}
.hero__intro.compact .hero-tagline {
  font-size: clamp(14px, 1.8vw, 20px);
  letter-spacing: 0.3px;
  white-space: nowrap;
  opacity: 0.92;
}
.hero__intro.compact .hero-tagline br { display: none; }
.hero-tagline em { font-style:italic; color:var(--accent); }

/* ---- Scene: 1000 × 680 virtual canvas, scaled & shaken by JS ---- */
.cs-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1000px;
  height: 680px;
  margin-left: -500px;
  margin-top: -340px;
  z-index: 5;               /* above cinema-stage atmosphere (z:1) */
  transform-origin: center center;
  will-change: transform;
}
.cs-scene > * { position: absolute; }

/* Can (body + rim, no lid) */
.cs-can {
  left: 390px;
  top: 232px;
  width: 220px;
  transform-origin: center bottom;   /* crush flattens downward */
  z-index: 10;
  will-change: transform;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,0.7));
}
.cs-can svg { width: 100%; height: auto; }

/* Lid — shares can geometry so it sits exactly on the rim, then flies off */
.cs-lid {
  left: 390px;
  top: 232px;
  width: 220px;
  transform-origin: center center;
  z-index: 22;
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.5));
}
.cs-lid svg { width: 100%; height: auto; }

/* Springs — JS sets left/top/width/height/transform-origin + transform */
.cs-spring {
  z-index: 15;
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.55));
}
.cs-spring svg { width: 100%; height: 100%; }
.cs-spring .spring-tag { will-change: opacity; }

/* Boot — descends from above, crushes everything, stays down.
   PNG is 723×505; width 360 → height ≈251, sole sits near the image bottom. */
.cs-boot {
  left: 320px;
  top: 70px;
  width: 360px;
  z-index: 25;
  will-change: transform;
  filter: drop-shadow(0 36px 36px rgba(0,0,0,0.85));
}
.cs-boot img { width: 100%; height: auto; display: block; }

/* Floor shadow — grows on impact */
.cs-shadow {
  left: 345px;
  top: 556px;
  width: 310px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, transparent 78%);
  transform-origin: center center;
  z-index: 2;
}

/* Debris particles (created & positioned by JS) */
.cs-dust { inset: 0; z-index: 30; pointer-events: none; }
.cs-particle {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  will-change: transform, opacity, left, top;
}

/* Impact flash */
.cs-flash {
  inset: 0;
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 56%, rgba(255,255,255,0.92) 0%, rgba(255,228,200,0.35) 30%, transparent 65%);
}

/* Yellow fogonazo — a flat horizontal burst that squeezes out of the lid seam */
.cs-burst {
  left: 500px; top: 264px;
  width: 400px; height: 150px;
  margin-left: -200px; margin-top: -75px;
  z-index: 18;                      /* above the can rim, below the lid (z:22) */
  opacity: 0;
  pointer-events: none;
  filter: blur(2px);
  mix-blend-mode: screen;
  transform: scale(0.6, 0.4);
  transform-origin: 50% 50%;
  background: radial-gradient(ellipse 60% 38% at 50% 50%,
    rgba(255,252,210,0.98) 0%,
    rgba(255,222,90,0.92) 20%,
    rgba(255,168,32,0.58) 42%,
    rgba(255,116,16,0.2) 64%,
    transparent 82%);
  will-change: transform, opacity;
}

/* Worms get spooked when the boot appears: open "O" mouth + a scroll-driven
   shiver (the trembling transform is set by JS from the scroll position) */
.cs-spring svg { transform-origin: 50% 96%; }   /* shiver pivots at the base */
.cs-spring .worm-scared { opacity: 0; }
.cs-spring.is-scared .worm-mouth  { opacity: 0; }
.cs-spring.is-scared .worm-scared { opacity: 1; }

/* ---- Impact veil — darkens the illustration so the message takes over,
        and blends the hero into the next (dark) section ---- */
.hero-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 52%,
    rgba(2,11,22,0.45) 0%, var(--bg-deep) 58%, var(--bg-deep) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  will-change: opacity;
}

/* ---- SPLAT! mark — punches in at the exact moment of impact ---- */
.splat-mark {
  position: absolute;
  top: 52%; left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg) scale(0.5);
  font-family: var(--font-can);
  font-size: clamp(54px, 9vw, 124px);
  color: var(--accent-red);
  letter-spacing: 4px;
  -webkit-text-stroke: 2px var(--accent);
  text-shadow: 4px 4px 0 var(--accent), 8px 8px 0 rgba(0,0,0,0.5);
  line-height: 0.9;
  opacity: 0;
  pointer-events: none;
  z-index: 58;
  will-change: transform, opacity;
}

/* ---- Message — fades in over the darkened scene ---- */
.splat-message {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 94vw);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 62;
  will-change: opacity, transform;
}
.splat-headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.7vw, 36px);
  line-height: 1.32;
  color: var(--text-primary);
  margin: 24px auto 16px;
  max-width: 940px;
  letter-spacing: -1px;
  text-wrap: balance;
}
.splat-sub {
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
  font-style: italic;
}
.splat-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #1a0907;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  pointer-events: auto;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.splat-cta:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 12px 30px rgba(203,100,67,0.40);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  z-index: 50;
  animation: scrollBob 2s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes scrollBob {
  0%,100%{ transform:translate(-50%,0); }
  50%    { transform:translate(-50%,8px); }
}

/* ===== SECTION BASE ===== */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: var(--section-pad) 40px;
  position: relative;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.12;
  color: var(--text-primary);
  letter-spacing: -1.5px;
}
.section-body {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin-top: 24px;
}
.section-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== ACT 2 — THE SHIFT ===== */
.shift {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.shift__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: var(--section-pad) 40px;
}
.shift__headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.08;
  color: var(--text-primary);
  letter-spacing: -2px;
  margin-bottom: 48px;
}
.shift__headline em {
  color: var(--accent);
  font-style: normal;   /* same font as the rest — only the color changes */
}
.section-title em {
  color: var(--accent);
  font-style: normal;
}
.shift__body {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 48px;
}
.shift__body strong {
  color: var(--text-primary);
  font-weight: 600;
}
.shift__callout {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 760px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
  letter-spacing: -0.5px;
  text-wrap: balance;
}

/* Metrics strip */
.shift__metrics {
  display: flex;
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.shift__metric {
  flex: 1;
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.shift__metric:last-child { border-right: none; }
.metric-before {
  display: inline-block;
  position: relative;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
/* the strike-through draws itself when the strip scrolls into view */
.metric-before::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  top: 52%;
  height: 1.5px;
  background: var(--text-muted);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}
.metric-after {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 38px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 6px;
  /* resting (pre-reveal) state — popped in by the keyframe below */
  opacity: 0;
  transform: translateY(10px) scale(0.82);
}
/* Flashy reveal: each before→after pair animates in, staggered left→right */
@keyframes metricPop {
  0%   { opacity: 0; transform: translateY(14px) scale(0.7);  text-shadow: none; }
  55%  { opacity: 1; transform: translateY(0) scale(1.18);    text-shadow: 0 0 30px rgba(221,119,82,0.7); }
  100% { opacity: 1; transform: translateY(0) scale(1);       text-shadow: 0 0 0 rgba(221,119,82,0); }
}
/* the down-arrow between before → after */
.metric-arrow {
  display: flex;
  justify-content: center;
  color: var(--accent);
  margin: 2px 0 4px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.metric-arrow svg { width: 22px; height: 22px; }

.shift__metrics.visible .metric-after          { animation: metricPop 0.85s both; }
.shift__metrics.visible .metric-before::after  { transform: scaleX(1); }
.shift__metrics.visible .metric-arrow          { opacity: 0.95; transform: translateY(0); }
.shift__metric:nth-child(2) .metric-after          { animation-delay: 0.28s; }
.shift__metric:nth-child(2) .metric-before::after  { transition-delay: 0.28s; }
.shift__metric:nth-child(2) .metric-arrow          { transition-delay: 0.28s; }
.shift__metric:nth-child(3) .metric-after          { animation-delay: 0.56s; }
.shift__metric:nth-child(3) .metric-before::after  { transition-delay: 0.56s; }
.shift__metric:nth-child(3) .metric-arrow          { transition-delay: 0.56s; }

/* Product links (Our Products card) read as tappable chips */
.build__tag--product {
  color: var(--accent);
  border-color: rgba(203,100,67,0.3);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.build__tag--product:hover {
  background: rgba(203,100,67,0.12);
  border-color: var(--accent);
  color: var(--accent-hover);
}
.metric-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ===== ACT 3 — WHAT WE BUILD ===== */
.build { background: var(--bg-deep); }
.build__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.build__card {
  background: var(--bg-card);
  padding: 52px 44px;
  transition: background 0.25s;
  position: relative;
}
.build__card:hover { background: var(--bg-card-hover); }
.build__card--coming {
  opacity: 0.7;
}
.build__card-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(203,100,67,0.28);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 28px;
}
.build__card h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.18;
  color: var(--text-primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.build__card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.build__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.build__tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(246,239,233,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  letter-spacing: 0.3px;
}
.build__coming {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ===== ACT 4 — WHY US / CREDIBILITY ===== */
.credibility {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
}
.credibility__intro {
  max-width: 760px;
  margin-bottom: 72px;
}
.credibility__tagline {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.7vw, 21px);
  color: var(--accent);
  margin-top: 28px;
  letter-spacing: -0.5px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 64px;
}
.stat-block {
  background: var(--bg-card);
  padding: 44px 32px;
  text-align: center;
}
.stat-block:hover { background: var(--bg-card-hover); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -1.5px;
  display: block;
  margin-bottom: 10px;
}
.stat-number .stat-suffix {
  font-size: 0.55em;
  color: var(--accent);
}
.stat-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* World map */
.world-container {
  opacity: 0.65;
  margin-top: 16px;
}
.world-svg { width: 100%; max-width: 760px; margin: 0 auto; }
.world-pulse {
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0%   { opacity:0.8; transform:scale(1); transform-box:fill-box; transform-origin:center; }
  70%  { opacity:0; transform:scale(2.5); }
  100% { opacity:0; transform:scale(2.5); }
}
.origin-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
  letter-spacing: 1px;
}

/* ===== ACT 5 — CONTACT ===== */
.contact {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}
.contact__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: var(--section-pad) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -2px;
  color: var(--text-primary);
}
.contact__title em { color: var(--accent); font-style: normal; }
.contact__subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 440px;
  margin-top: 24px;
}
.contact__social { display: flex; gap: 14px; margin-top: 36px; }
.contact__social-link {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.contact__social-link svg { width: 20px; height: 20px; }
.contact__social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(203,100,67,0.10);
  transform: translateY(-2px);
}

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__hp { display: none; }
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.contact__form-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: var(--accent);
  color: #1a0907;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 16px 40px rgba(203,100,67,0.40);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(203,100,67,0.08);
}
.contact__alt { font-size: 14px; color: var(--text-muted); margin-top: 6px; }
.contact__alt a { color: var(--accent); }
.contact__alt a:hover { color: var(--accent-hover); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}
.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand img { height: 22px; width: auto; opacity: 0.7; }
.footer__divider { width:1px; height:16px; background: var(--border); }
.footer__sub { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; }
.footer__tagline { font-size: 13px; color: var(--text-muted); text-align: center; }
.footer__copy { font-size: 12px; color: var(--text-muted); text-align: right; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reveal is an enhancement, never a gate: if the user prefers reduced motion,
   show everything at rest with no transition (content must never ship blank). */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* metrics: show the final state instantly, no pop / no draw */
  .metric-after { opacity: 1; transform: none; animation: none; text-shadow: none; }
  .metric-before::after { transform: scaleX(1); transition: none; }
  .metric-arrow { opacity: 0.95; transform: none; transition: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .shift__metrics { flex-direction: column; }
  .shift__metric { border-right: none; border-bottom: 1px solid var(--border); }
  .shift__metric:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .navbar.scrolled { padding: 12px 20px; }
  .navbar__links { display: none; }
  .hero-scroll { height: 740vh; }       /* less scroll travel on small screens */
  .hero-sticky { min-height: 560px; }
  .section-inner { padding: 64px 20px; }
  .shift__inner { padding: 64px 20px; }
  .build__grid { grid-template-columns: 1fr; }
  .build__card { padding: 36px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__copy { text-align: left; }
}

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