/* ============================================================
   ANTFARM SOLUTIONS — Cinematic Scroll-Driven Layout
   Palette: Copper #C45C1A · Steel Slate #3A5F7D · Cream #EDE8E0
   ============================================================ */

:root,
[data-theme="light"] {
  --color-bg:               #F5F2ED;
  --color-surface:          #F0EDE7;
  --color-surface-2:        #FAF8F5;
  --color-border:           #D4CFC7;
  --color-divider:          #E0DBD4;
  --color-text:             #1A1410;
  --color-text-muted:       #6B6560;
  --color-text-faint:       #B0ABA5;
  --color-text-inverse:     #F8F6F2;
  --color-primary:          #C45C1A;
  --color-primary-hover:    #A84B12;
  --color-secondary:        #3A5F7D;
  --color-secondary-dark:   #1E3A52;
  --color-accent:           #D4900A;
  --shadow-sm:  0 1px 3px rgba(26,20,16,0.06);
  --shadow-md:  0 4px 16px rgba(26,20,16,0.10);
  --shadow-lg:  0 16px 48px rgba(26,20,16,0.18);
  --radius-sm:  0.375rem;
  --radius-md:  0.625rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full:9999px;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --text-xs:    clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:    clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:    clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:    clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:   clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:   clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero:  clamp(3rem, 0.5rem + 7vw, 8rem);
  --space-1:0.25rem;--space-2:0.5rem;--space-3:0.75rem;--space-4:1rem;
  --space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;
  --space-12:3rem;--space-16:4rem;--space-20:5rem;--space-24:6rem;
  --font-display:'Cabinet Grotesk','Helvetica Neue',sans-serif;
  --font-body:'Satoshi','Helvetica Neue',sans-serif;
}

[data-theme="dark"] {
  --color-bg:               #0D1117;
  --color-surface:          #131920;
  --color-surface-2:        #192028;
  --color-border:           #2A3540;
  --color-divider:          #1E2830;
  --color-text:             #E4DDD5;
  --color-text-muted:       #7A8490;
  --color-text-faint:       #4A5560;
  --color-text-inverse:     #131920;
  --color-primary:          #E07840;
  --color-primary-hover:    #F09060;
  --color-secondary:        #6B9EC0;
  --color-secondary-dark:   #1A2F40;
  --color-accent:           #F0AD28;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:#0D1117;--color-surface:#131920;--color-surface-2:#192028;
    --color-border:#2A3540;--color-divider:#1E2830;
    --color-text:#E4DDD5;--color-text-muted:#7A8490;--color-text-faint:#4A5560;
    --color-text-inverse:#131920;
    --color-primary:#E07840;--color-primary-hover:#F09060;
    --color-secondary:#6B9EC0;--color-secondary-dark:#1A2F40;
    --color-accent:#F0AD28;
    --shadow-sm:0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg:0 16px 48px rgba(0,0,0,0.55);
  }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
ul[role="list"] { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); text-wrap: balance; line-height: 1.05; }
p, li { text-wrap: pretty; }
::selection { background: color-mix(in oklab, var(--color-primary) 25%, transparent); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
a, button { transition: color var(--transition-interactive), background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive); }
button { cursor: pointer; background: none; border: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── SCROLL DRIVER (tall page) ── */
#scroll-driver {
  /* Height set by JS: SCENE_COUNT * 100vh */
  position: relative;
  z-index: 0;
}

/* ── FIXED STAGE ── */
#stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* re-enabled per scene by JS */
}

/* ── SCENES ── */
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Visibility controlled by JS */
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.scene.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Scene backgrounds */
.scene-bg {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  z-index: 0;
}
.scene-bg--dark {
  background: linear-gradient(160deg, #0F1A2B 0%, #152030 100%);
}
[data-theme="dark"] .scene-bg--dark {
  background: linear-gradient(160deg, #090E15 0%, #0D1520 100%);
}
.scene-bg--surface { background: var(--color-surface); }
.scene-bg--secondary {
  background: linear-gradient(160deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
}
.scene-bg--cta {
  background: linear-gradient(160deg, #0F1A2B 0%, #1A2838 50%, #213040 100%);
  overflow: hidden;
}
[data-theme="dark"] .scene-bg--cta {
  background: linear-gradient(160deg, #090E14 0%, #0D1520 100%);
}

/* Scene content containers */
.scene-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 6vw, var(--space-20));
  padding-block: var(--space-20);
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: color-mix(in oklab, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s var(--ease-out), background 0.3s;
  pointer-events: auto;
}
.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 6vw, var(--space-20));
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-logo {
  display: flex; align-items: center; gap: var(--space-3);
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img { height: 34px; width: 34px; object-fit: contain; border-radius: var(--radius-sm); }
.nav-logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm);
  color: var(--color-text); letter-spacing: -0.01em;
}
.nav-links {
  display: flex; align-items: center; gap: var(--space-6); margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text-muted); text-decoration: none;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--color-primary); }
.nav-links a.nav-cta {
  background: var(--color-primary); color: #fff;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full); font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  color: var(--color-text-muted); flex-shrink: 0;
}
.theme-toggle:hover { color: var(--color-primary); background: var(--color-surface); }
.nav-menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: var(--space-2); margin-left: auto;
}
.nav-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  border-top: 1px solid transparent;
}
.mobile-menu.is-open { max-height: 300px; border-top-color: var(--color-divider); }
.mobile-link {
  display: block;
  padding: var(--space-4) clamp(var(--space-6), 6vw, var(--space-20));
  color: var(--color-text-muted); text-decoration: none;
  font-weight: 500; border-bottom: 1px solid var(--color-divider);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover, .mobile-link--cta { color: var(--color-primary); }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-toggle { display: flex; }
}

/* ── PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-divider);
  z-index: 199;
  pointer-events: none;
}
.scroll-progress-fill {
  height: 100%;
  background: var(--color-primary);
  width: 0%;
  transition: width 0.1s linear;
  transform-origin: left;
}

/* ── SCENE COUNTER / DOTS ── */
.scene-counter {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  pointer-events: none;
}
#sceneNum {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-faint);
  letter-spacing: 0.1em;
}
.scene-dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scene-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-text-faint);
  opacity: 0.4;
  transition: opacity 0.3s, background 0.3s, transform 0.3s;
  cursor: pointer;
  pointer-events: auto;
}
.scene-dot.is-active {
  opacity: 1;
  background: var(--color-primary);
  transform: scale(1.4);
}

@media (max-width: 640px) { .scene-counter { display: none; } }

/* ── HERO SCENE ── */
.scene-content--hero {
  padding-top: clamp(var(--space-20), 12vh, var(--space-32));
  padding-bottom: var(--space-16);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 85% 85% at 40% 50%, black 20%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, var(--color-primary), transparent 70%); top: -20%; left: -15%; opacity: 0.28; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--color-secondary), transparent 70%); top: 10%; right: -5%; opacity: 0.22; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, var(--color-accent), transparent 70%); bottom: 5%; left: 35%; opacity: 0.15; }

.hero-eyebrow {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: var(--space-6);
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:0.4;transform:scale(1.6);}
}
.hero-headline {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  max-width: 14ch;
}
.headline-accent { font-style: italic; color: var(--color-primary); }
.hero-subtext {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: var(--space-10);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-16); }
.hero-stats { display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 800;
  color: var(--color-text); line-height: 1;
}
.stat-label { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 40px; background: var(--color-border); flex-shrink: 0; }

.scene-scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  left: clamp(var(--space-6), 6vw, var(--space-20));
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs); color: var(--color-text-faint);
  letter-spacing: 0.08em; text-transform: uppercase; z-index: 2;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--color-border); overflow: hidden; position: relative;
}
.scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--color-primary);
  animation: sweep 2s ease-in-out infinite;
}
@keyframes sweep { 0%{transform:translateX(-100%);}100%{transform:translateX(100%);} }

/* ── BRIDGE/TRANSITION SCENES ── */
.scene-content--centered {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: var(--space-6);
}
.bridge-overline {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary);
}
.bridge-overline--copper { color: var(--color-primary); }
.bridge-headline {
  font-size: var(--text-2xl); font-weight: 900;
  color: #fff; letter-spacing: -0.02em;
}
.bridge-headline--white { color: #fff; }
[data-theme="dark"] .bridge-headline, [data-theme="dark"] .bridge-headline--white { color: var(--color-text); }
.bridge-sub {
  font-size: var(--text-lg); color: rgba(210,225,240,0.75);
  max-width: 52ch; line-height: 1.6;
}
.bridge-sub--muted { color: rgba(200,215,230,0.7); }
[data-theme="dark"] .bridge-sub, [data-theme="dark"] .bridge-sub--muted { color: var(--color-text-muted); }

/* ── MARQUEE ── */
.marquee-strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
[data-theme="dark"] .marquee-strip { border-color: var(--color-border); }
.marquee-track {
  display: flex; gap: var(--space-6);
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span { font-size: var(--text-sm); font-weight: 500; color: rgba(210,225,240,0.6); white-space: nowrap; }
.marquee-track .dot { color: var(--color-primary); opacity: 0.7; }
[data-theme="dark"] .marquee-track span { color: var(--color-text-muted); }
@keyframes marquee { from{transform:translateX(0);}to{transform:translateX(-50%);} }

/* ── SERVICE SCENES ── */
.scene-content--service {
  display: grid;
  grid-template-columns: 80px 1fr 320px;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}
.scene-content--service-flip {
  grid-template-columns: 80px 320px 1fr;
}
@media (max-width: 900px) {
  .scene-content--service,
  .scene-content--service-flip {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .service-visual { display: none; }
  .service-num-large { display: none; }
}

.service-num-large {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 900;
  color: var(--color-border);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  align-self: flex-start;
  padding-top: var(--space-4);
}
.service-num-large--light { color: rgba(255,255,255,0.15); }

.service-eyebrow {
  display: inline-block;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: var(--space-4);
}
.service-eyebrow--light { color: rgba(255,230,180,0.9); }
.service-eyebrow--gold { color: var(--color-accent); }

.service-title {
  font-size: var(--text-2xl); font-weight: 900;
  letter-spacing: -0.025em; color: var(--color-text);
  margin-bottom: var(--space-6);
}
.service-title--light { color: #fff; }
[data-theme="dark"] .service-title--light { color: var(--color-text); }

.service-desc {
  font-size: var(--text-base); color: var(--color-text-muted);
  line-height: 1.7; margin-bottom: var(--space-6); max-width: 52ch;
}
.service-desc--light { color: rgba(210,230,248,0.8); }
[data-theme="dark"] .service-desc--light { color: var(--color-text-muted); }

.service-list {
  display: flex; flex-direction: column; gap: var(--space-3);
  list-style: none;
}
.service-list li {
  font-size: var(--text-sm); color: var(--color-text-muted);
  padding-left: var(--space-5); position: relative; max-width: none;
}
.service-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--color-primary); font-size: 0.75em; top: 3px;
}
.service-list--light li { color: rgba(200,225,245,0.8); }
.service-list--light li::before { color: var(--color-accent); }

.service-visual {
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-8);
}
.service-svg { width: 200px; height: 200px; color: var(--color-primary); }
.service-svg--light { color: white; }

/* ── APPROACH TIMELINE (inside scene-5) ── */
.approach-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: var(--space-10);
}
.timeline-step {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
}
.ts-marker {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-xs);
  color: var(--color-primary);
  background: rgba(196,92,26,0.12);
}
.ts-marker--dim {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}
.ts-body {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-align: center;
}
.ts-body strong { font-size: var(--text-sm); font-weight: 700; color: #fff; }
.ts-body span { font-size: var(--text-xs); color: rgba(200,215,230,0.6); }
[data-theme="dark"] .ts-body strong { color: var(--color-text); }
[data-theme="dark"] .ts-body span { color: var(--color-text-muted); }
.ts-connector {
  flex: 1; height: 2px; min-width: 40px;
  background: linear-gradient(to right, var(--color-primary), rgba(255,255,255,0.15));
  margin-bottom: var(--space-8);
  max-width: 120px;
}
@media (max-width: 600px) {
  .approach-timeline { flex-direction: column; align-items: flex-start; }
  .ts-connector { width: 2px; height: 24px; min-width: 0; min-height: 24px; background: linear-gradient(to bottom, var(--color-primary), rgba(255,255,255,0.1)); margin-left: 26px; margin-bottom: 0; }
  .timeline-step { flex-direction: row; gap: var(--space-4); }
  .ts-body { align-items: flex-start; text-align: left; }
}

/* ── QUOTE SCENE ── */
.scene-content--quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  max-width: 800px;
}
.quote-block { position: relative; }
.quote-mark {
  font-family: var(--font-display); font-size: 8rem; font-weight: 900;
  color: var(--color-primary); opacity: 0.3; line-height: 0.6;
  margin-bottom: var(--space-4); display: block;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600; font-style: italic;
  color: rgba(230,215,200,0.95); line-height: 1.45;
  max-width: 72ch;
}
[data-theme="dark"] .quote-block blockquote { color: var(--color-text); }
.quote-block cite {
  display: block; margin-top: var(--space-5);
  font-size: var(--text-xs); font-style: normal; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-primary);
}
.focus-tags {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
}
.focus-tag {
  padding: var(--space-2) var(--space-5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 600;
  color: rgba(210,225,240,0.7);
  backdrop-filter: blur(4px);
}
[data-theme="dark"] .focus-tag { border-color: var(--color-border); color: var(--color-text-muted); }

/* ── ABOUT SCENE ── */
.scene-content--about {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}
@media (max-width: 900px) {
  .scene-content--about { grid-template-columns: 1fr; }
  .about-logo-col { display: none; }
}
.about-logo-col { display: flex; flex-direction: column; gap: var(--space-6); }
.about-logo-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.about-logo-frame img {
  width: 100%; object-fit: contain;
  background: var(--color-surface-2);
  padding: var(--space-8);
}
.about-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: color-mix(in oklab, var(--color-secondary) 12%, transparent);
  color: var(--color-secondary);
  border: 1px solid color-mix(in oklab, var(--color-secondary) 22%, transparent);
  font-size: var(--text-xs); font-weight: 600;
  border-radius: var(--radius-full);
}
[data-theme="dark"] .badge {
  background: rgba(58,95,125,0.18);
  color: var(--color-secondary);
  border-color: rgba(107,158,192,0.25);
}
.about-copy { display: flex; flex-direction: column; gap: var(--space-5); }
.about-headline {
  font-size: var(--text-2xl); font-weight: 900;
  letter-spacing: -0.025em; color: var(--color-text);
}
.about-copy p { color: var(--color-text-muted); line-height: 1.7; }
.about-location { font-size: var(--text-sm); color: var(--color-text-faint) !important; }

/* ── CTA SCENE ── */
.cta-orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
}
.cta-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--color-primary), transparent 70%);
  top: -20%; left: -10%; opacity: 0.18;
}
.cta-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  bottom: -10%; right: 0%; opacity: 0.14;
}
.scene-content--cta {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: var(--space-6);
}
.cta-headline {
  font-size: var(--text-2xl); font-weight: 900;
  color: #fff; letter-spacing: -0.025em;
}
[data-theme="dark"] .cta-headline { color: var(--color-text); }
.cta-desc {
  font-size: var(--text-base);
  color: rgba(200,220,240,0.75); max-width: 50ch;
  line-height: 1.65;
}
[data-theme="dark"] .cta-desc { color: var(--color-text-muted); }
.cta-actions {
  display: flex; flex-direction: column;
  align-items: center; gap: var(--space-4);
}
.cta-email {
  font-size: var(--text-sm);
  color: rgba(200,220,240,0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,220,240,0.2);
}
.cta-email:hover { color: var(--color-primary); border-color: var(--color-primary); }
.cta-timeline {
  display: flex; align-items: center;
  gap: var(--space-2); margin-top: var(--space-6);
}
.ct-step {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.ct-step strong {
  font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700;
  color: rgba(230,215,200,0.9);
}
[data-theme="dark"] .ct-step strong { color: var(--color-text); }
.ct-step span { font-size: var(--text-xs); color: rgba(180,200,220,0.5); text-transform: uppercase; letter-spacing: 0.06em; }
.ct-step--accent strong { color: var(--color-primary); }
.ct-line {
  width: 50px; height: 1px;
  background: rgba(255,255,255,0.15);
  margin-bottom: var(--space-5); flex-shrink: 0;
}
@media (max-width: 400px) { .ct-line { width: 24px; } }

/* ── FOOTER (inside last scene) ── */
.scene-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-5) clamp(var(--space-6), 6vw, var(--space-20));
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
  z-index: 2;
}
[data-theme="dark"] .scene-footer { border-color: var(--color-border); }
.footer-logo { height: 28px; width: 28px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.scene-footer span { font-size: var(--text-xs); color: rgba(200,215,230,0.5); }
[data-theme="dark"] .scene-footer span { color: var(--color-text-faint); }
.scene-footer a { color: rgba(200,215,230,0.6); text-decoration: none; }
.scene-footer a:hover { color: var(--color-primary); }
.footer-copy { margin-left: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--color-primary); color: #fff; border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-hover); border-color: var(--color-primary-hover);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-1px); }
.btn--lg { padding: var(--space-4) var(--space-10); font-size: var(--text-base); }

/* ── MOBILE: fallback to normal scroll if reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  #stage { position: static; }
  #scroll-driver { display: none; }
  .scene { position: static; opacity: 1; pointer-events: auto; }
  .scene-counter, .scroll-progress { display: none; }
}

/* ── FALLBACK for very small screens ── */
@media (max-width: 480px) {
  .scene-content--service { padding-inline: var(--space-5); }
}
