/* =========================================================
   Mounir Toumi — styles.css
   ========================================================= */

:root {
  --bg: #0a0a0c;
  --surface: #14141a;
  --border: #26262f;
  --text: #f1f1f4;
  --muted: #8a8a96;
  --accent: #ff4d2d;
  --accent-2: #ff8a3d;
  --gold: #f5d28b;

  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
/* IMPORTANT: do not use overflow-x: hidden here — kills position:sticky. */
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

main { display: block; }

/* ---------- progress rail ---------- */
.progress-rail {
  position: fixed; top: 0; right: 0; width: 2px; height: 100vh;
  background: rgba(255,255,255,0.04);
  z-index: 60;
}
.progress-rail span {
  display: block; width: 100%;
  height: var(--pct, 0%);
  background: linear-gradient(180deg, var(--accent), var(--gold));
  transition: height .08s linear;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(10,10,12,0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-family: var(--display); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(255,77,45,0.6);
}
.wordmark { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 0.86rem; font-weight: 500;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text);
  transition: border-color .2s, background .2s;
}
.nav-cta:hover { border-color: var(--accent); background: rgba(255,77,45,0.08); }

@media (max-width: 760px) {
  .nav-links, .wordmark { display: none; }
  .nav { padding: 12px 18px; }
}

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.eyebrow.accent { color: var(--accent); }
.eyebrow .dot { color: var(--accent); margin: 0 .4em; }

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
  line-height: 1.5;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255,77,45,0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(255,77,45,0.85); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text); }
.btn-xl {
  padding: 22px 42px;
  font-size: 1.1rem;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* =========================================================
   SCENE STAGE
   ========================================================= */
.scene {
  position: relative;
  height: 350vh;
}
.pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* scene-specific tints */
.scene-tint {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.tint-red {
  background: radial-gradient(60% 50% at 30% 50%, rgba(255,77,45,0.10), transparent 70%);
}
.tint-orange {
  background: radial-gradient(60% 50% at 30% 50%, rgba(255,138,61,0.10), transparent 70%);
}
.tint-gold {
  background: radial-gradient(60% 50% at 30% 50%, rgba(245,210,139,0.08), transparent 70%);
}

/* giant background number */
.big-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20rem, 44vw, 44rem);
  line-height: 0.8;
  color: rgba(255,255,255,0.022);
  letter-spacing: -0.06em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* =========================================================
   FX SYSTEM — driven by --p on the scene, --s/--e on each layer
   ========================================================= */
[data-fx] {
  /* local time within the layer's window */
  --t: clamp(0, calc((var(--p, 0) - var(--s, 0)) / max(0.001, var(--e, 0.25) - var(--s, 0))), 1);
  /* outro time (when data-out present, fades back out at end of scene) */
  --to-t: clamp(0, calc((var(--p, 0) - var(--os, 0.85)) / max(0.001, var(--oe, 0.98) - var(--os, 0.85))), 1);
  will-change: opacity, transform;
}
[data-fx]:not([data-out]) { --to-t: 0; }

/* fade — opacity + translateY(70px → 0) */
[data-fx="fade"] {
  opacity: calc(var(--t) * (1 - var(--to-t)));
  transform: translateY(calc((1 - var(--t)) * 70px));
}

/* fade-left */
[data-fx="fade-left"] {
  opacity: calc(var(--t) * (1 - var(--to-t)));
  transform: translateX(calc((1 - var(--t)) * -160px));
}

/* fade-right */
[data-fx="fade-right"] {
  opacity: calc(var(--t) * (1 - var(--to-t)));
  transform: translateX(calc((1 - var(--t)) * 160px));
}

/* zoom — visible all along, scale --from -> --to */
[data-fx="zoom"] {
  --scale: calc(var(--from, 2) + (var(--to, 1) - var(--from, 2)) * var(--t));
  opacity: calc(1 - var(--to-t));
  transform: scale(var(--scale));
}

/* zoom-fade — opacity + scale */
[data-fx="zoom-fade"] {
  --scale: calc(var(--from, 1.8) + (var(--to, 1) - var(--from, 1.8)) * var(--t));
  opacity: calc(var(--t) * (1 - var(--to-t)));
  transform: scale(var(--scale));
}

/* fly — opacity + translate3d + rotate, from off-canvas to (0,0,0deg) */
[data-fx="fly"] {
  --inv: calc(1 - var(--t));
  opacity: calc(var(--t) * (1 - var(--to-t)));
  transform:
    translate3d(calc(var(--x, 0px) * var(--inv)), calc(var(--y, 0px) * var(--inv)), 0)
    rotate(calc(var(--rot, 0deg) * var(--inv)));
}

/* ---- HERO entrance variants ---- */
/* Visible on page load via CSS keyframes (fill-mode backwards yields
   back to the underlying scroll-driven --to-t fade afterwards). */
[data-fx="hero-fade"] {
  opacity: calc(1 - var(--to-t, 0));
  transform: translateY(calc(var(--to-t, 0) * -30px));
  animation: hero-fade-in 1s cubic-bezier(.2,.7,.2,1) var(--d, 0s) backwards;
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-fx="hero-zoom"] {
  opacity: calc(1 - var(--to-t, 0));
  transform: scale(1);
  animation: hero-zoom-in 1.1s cubic-bezier(.2,.7,.2,1) var(--d, 0s) backwards;
}
@keyframes hero-zoom-in {
  from { opacity: 0; transform: scale(1.45); }
  to   { opacity: 1; transform: scale(1); }
}

/* =========================================================
   HERO
   ========================================================= */
.scene-hero .pin { background: var(--bg); }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute; width: 60vmax; height: 60vmax;
  border-radius: 50%; filter: blur(120px); opacity: 0.4;
}
.orb-a {
  top: -20vmax; left: -20vmax;
  background: radial-gradient(circle, rgba(255,77,45,0.55), transparent 60%);
  animation: float-a 22s ease-in-out infinite alternate;
}
.orb-b {
  bottom: -20vmax; right: -20vmax;
  background: radial-gradient(circle, rgba(245,210,139,0.40), transparent 60%);
  animation: float-b 28s ease-in-out infinite alternate;
}
@keyframes float-a {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(10vmax, 8vmax); }
}
@keyframes float-b {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-8vmax, -10vmax); }
}

.grid-mask {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.65;
}

.hero-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 1100px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}

.hero-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.5rem, 13vw, 9rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
  display: flex; gap: clamp(0.25rem, 2vw, 1.2rem);
  flex-wrap: wrap; justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #b9b9c2 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-word {
  display: inline-block;
  transform-origin: 50% 60%;
}

.hero-tag {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--muted);
  max-width: 38ch;
  margin: 0;
  line-height: 1.4;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.scroll-hint {
  position: absolute;
  bottom: 36px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint .bob {
  font-size: 1rem;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* scroll-hint already wrapped in data-fx; need to keep absolute positioning */
.scroll-hint[data-fx] { /* positioning kept */ }

/* =========================================================
   SPLIT (services scenes 2-4)
   ========================================================= */
.split {
  position: relative; z-index: 1;
  width: 100%; max-width: 1280px;
  padding: 0 48px;
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.split-visual { display: flex; align-items: center; justify-content: center; min-height: 360px; }
.split-text { display: flex; flex-direction: column; gap: 22px; }
.split-text .display { margin-top: 4px; }
.bullets {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.bullets li {
  font-size: 1.02rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 10px; height: 1px; background: var(--accent);
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; padding: 80px 24px 24px; gap: 36px; }
  .split-visual { order: -1; min-height: 280px; }
}

/* =========================================================
   SCENE 2 — WP 911 (EKG vitals trace)
   ========================================================= */
.visual-911 {
  position: relative;
  width: clamp(300px, 36vw, 460px);
  height: 260px;
  display: flex; align-items: center; justify-content: center;
  transform-origin: center;
}

.ekg {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 90% at 50% 50%, rgba(255,77,45,0.10), transparent 70%),
    linear-gradient(180deg, rgba(20,20,26,0.7), rgba(20,20,26,0.25));
  box-shadow:
    0 30px 80px -30px rgba(255,77,45,0.45),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  z-index: 1;
}
.ekg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,77,45,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,77,45,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 95%);
          mask-image: radial-gradient(ellipse at center, black 40%, transparent 95%);
  pointer-events: none;
}
.ekg-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.ekg-base-line {
  stroke: rgba(255,77,45,0.18);
  stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.ekg-line {
  stroke: var(--accent);
  stroke-width: 3.2;
  stroke-linecap: round; stroke-linejoin: round;
  filter:
    drop-shadow(0 0 6px rgba(255,77,45,0.9))
    drop-shadow(0 0 18px rgba(255,77,45,0.5));
  stroke-dasharray: 180 2200;
  animation: ekg-trace 3.2s linear infinite;
}
@keyframes ekg-trace {
  from { stroke-dashoffset: 180; }
  to   { stroke-dashoffset: -2200; }
}

.ekg-readout {
  position: absolute;
  left: 14px; bottom: 12px; right: 14px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ekg-led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: ekg-blink 1.1s ease-in-out infinite;
}
@keyframes ekg-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.ekg-bpm {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
}

.pulse-ring {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,77,45,0.45);
  animation: pulse-ring 2.6s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}
.pulse-ring.r1 { animation-delay: 0s; }
.pulse-ring.r2 { animation-delay: 0.85s; }
.pulse-ring.r3 { animation-delay: 1.7s; }
@keyframes pulse-ring {
  0%   { transform: scale(0.55); opacity: 1; }
  100% { transform: scale(2.0);  opacity: 0; }
}

/* =========================================================
   SCENE 3 — SPEED
   ========================================================= */
.visual-speed {
  position: relative;
  width: 460px; max-width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.speedo {
  width: 100%; max-width: 420px; height: auto;
  filter: drop-shadow(0 10px 40px rgba(255,77,45,0.18));
}
.dial-bg { stroke: var(--border); stroke-width: 8; stroke-linecap: round; }
.dial-fg {
  stroke: var(--accent);
  stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - 100 * var(--p, 0));
  filter: drop-shadow(0 0 8px rgba(255,77,45,0.55));
  transition: stroke-dashoffset .05s linear;
}
.needle {
  transform-box: view-box;
  transform-origin: 100px 110px;
  transform: rotate(calc(-90deg + 180deg * var(--p, 0)));
  transition: transform .05s linear;
}
.needle line {
  stroke: var(--text); stroke-width: 4; stroke-linecap: round;
}
.hub { fill: var(--gold); }

.readout { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.readout-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
  background: linear-gradient(180deg, #ffffff, #c9c9d2);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.readout-unit { font-size: 0.5em; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.readout-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--muted);
}
.chip b { color: var(--text); font-weight: 600; margin-right: 4px; }

/* =========================================================
   SCENE 4 — BUILD
   ========================================================= */
.visual-build {
  position: relative;
  width: 280px; height: 280px;
}
.b {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 22px;
  will-change: opacity, transform;
}
.b1 { top: 0; left: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 20px 50px -20px rgba(255,77,45,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}
.b2 { top: 0; right: 0;
  background: linear-gradient(135deg, var(--gold), #c79658);
  box-shadow: 0 20px 50px -20px rgba(245,210,139,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.b3 { bottom: 0; left: 0;
  background: linear-gradient(135deg, #1d1d25, #14141a);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}
.b4 { bottom: 0; right: 0;
  background: linear-gradient(135deg, #1d1d25, #14141a);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}

/* =========================================================
   ABOUT (normal flow)
   ========================================================= */
.about {
  padding: 180px 48px 160px;
  max-width: 1280px; margin: 0 auto;
}
.about-inner {
  display: flex; flex-direction: column;
  gap: 88px;
}

.about-head {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 820px;
}
.about-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  background: linear-gradient(180deg, #ffffff 0%, #b9b9c2 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.about-left { display: flex; flex-direction: column; gap: 40px; }

.mono {
  display: flex; gap: clamp(.5rem, 2vw, 1.2rem);
  line-height: 0.85;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(6rem, 14vw, 12rem);
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.mono-letter { display: inline-block; }

.about-meta {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.meta-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.meta-k {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
}
.meta-v {
  color: var(--text);
  font-size: 0.95rem;
}
.meta-v a {
  color: var(--text);
  border-bottom: 1px solid rgba(255,77,45,0.4);
  transition: border-color .2s, color .2s;
}
.meta-v a:hover { color: var(--accent); border-color: var(--accent); }

.about-text {
  display: flex; flex-direction: column;
  gap: 22px;
  padding-top: 12px;
}
.about-text p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.about-text strong { color: var(--text); font-weight: 600; }

.about-quote {
  margin: 12px 0 0;
  padding: 28px 0 0 24px;
  border-top: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  margin-left: 0;
  padding-left: 24px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.about-stack {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stack-label {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-right: 12px;
}
.about-stack .chip {
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .about { padding: 120px 24px 100px; }
  .about-inner { gap: 56px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .meta-row { grid-template-columns: 110px 1fr; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 160px 48px 200px;
  text-align: center;
}
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.contact-h {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
  display: flex; flex-direction: column;
}
.contact-h span {
  background: linear-gradient(180deg, #ffffff, #b9b9c2);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.contact-h span:last-child {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.contact-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 6px 0 16px;
}
.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.btn-whatsapp {
  gap: 12px;
  border-color: #25d366;
}
.btn-whatsapp svg { color: #25d366; flex-shrink: 0; }
.btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}
.btn-whatsapp:hover svg { color: #ffffff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 48px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--display);
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .footer { padding: 20px 24px; flex-direction: column; gap: 6px; text-align: center; }
}

/* =========================================================
   REVEAL SYSTEM (one-shot, IntersectionObserver)
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="left"]  { transform: translateX(-80px); }
[data-reveal="right"] { transform: translateX(80px); }
[data-reveal].is-visible {
  opacity: 1; transform: translate(0, 0);
}

/* =========================================================
   RESPONSIVE — shorter scenes under 720px
   ========================================================= */
@media (max-width: 720px) {
  .scene { height: 280vh; }
  .hero-name { font-size: clamp(3rem, 14vw, 6rem); }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .scene { height: auto; }
  .pin {
    position: static;
    height: auto;
    min-height: 100vh;
    padding: 120px 0;
  }
  /* pinned text at rest */
  [data-fx], [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  /* drawn dial fully filled */
  .dial-fg { stroke-dashoffset: 0 !important; }
  .needle { transform: rotate(60deg) !important; }

  /* kill infinite animations */
  .orb-a, .orb-b, .pulse-ring, .bob, .ekg-line, .ekg-led { animation: none !important; }
  .ekg-line { stroke-dasharray: none; }
}
