/* =================================================================
   BURRI STUDIO — Design tokens + all section styles
   Ice blue + steel on #050505. Confident, cinematic, restrained.
   ================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Surface */
  --bg:       #0B0F17;
  --bg-2:     #0E1320;
  --bg-3:     #12171F;
  --bg-4:     #1B1F27;

  /* Text */
  --text:     #FFFFFF;
  --text-2:   #E6E8EB;
  --text-3:   #7A8290;
  --text-4:   #454B57;

  /* Accent — BURRI brand blues */
  --ice:        #386DFF;
  --ice-soft:   #64B5FF;
  --ice-deep:   #2A52CC;
  --ice-glow:   rgba(56, 109, 255, 0.45);
  --ice-glow-2: rgba(56, 109, 255, 0.15);

  /* Borders + glass */
  --hairline:    rgba(255, 255, 255, 0.06);
  --hairline-2:  rgba(255, 255, 255, 0.10);
  --hairline-3:  rgba(255, 255, 255, 0.18);
  --glass:       rgba(255, 255, 255, 0.025);
  --glass-2:     rgba(255, 255, 255, 0.05);

  /* Layout */
  --content-max: 1440px;
  --pad-x:       clamp(24px, 5vw, 64px);
  --section-py:  clamp(120px, 16vh, 200px);   /* @kind spacing */
  --header-h:    72px;

  /* Type */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Motion */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);    /* @kind other */
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);   /* @kind other */
  --ease-expo:     cubic-bezier(0.19, 1, 0.22, 1);   /* @kind other */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  /* Subtle radial atmosphere — very faint brand-blue tint at top */
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 109, 255, 0.06), transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 110%, rgba(56, 109, 255, 0.03), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}

::selection { background: var(--ice); color: var(--bg); }

/* Grain overlay — barely-there film grain across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* Scrollbar — minimal */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--hairline-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--hairline-3); }

/* ============================================================
   LENIS smooth scroll — recommended setup
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--text-4);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding-inline: var(--pad-x);
  pointer-events: none;
  background: transparent;
  opacity: 0; transform: translateY(-20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.nav.nav-visible {
  opacity: 1; transform: translateY(0);
}
.nav.scrolled {
  background: transparent;
}
.nav > * { pointer-events: auto; }
.nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.nav .brand img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 8px var(--ice-glow-2)); }
.nav .brand span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  word-spacing: -0.05em;
}
.nav .menu {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav .menu a {
  position: relative;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  border-radius: 0;
  background: transparent;
  transition: color 220ms var(--ease-out);
}
.nav .menu a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%;
  width: 0; height: 2px; background: var(--ice);
  transform: translateX(-50%); border-radius: 1px;
  transition: width 300ms var(--ease-out);
}
.nav .menu a:hover { color: var(--text); background: transparent; }
.nav .menu a:hover::after { width: 60%; }
.nav .menu a.active { color: var(--text); }
.nav .menu a.active::after { width: 60%; }
.nav .menu .pill {
  border: 1px solid var(--hairline-2);
  margin-left: 12px;
  padding: 10px 22px;
  background: var(--glass);
}
.nav .menu .pill:hover { border-color: var(--ice); color: var(--ice-soft); background: var(--glass-2); }
.nav .menu .cta {
  background: var(--ice);
  color: var(--bg);
  font-weight: 600;
  margin-left: 4px;
}
.nav .menu .cta:hover { background: var(--ice-soft); color: var(--bg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 0;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
/* Vignette */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 50%, rgba(5,5,5,0.6) 100%),
    linear-gradient(to bottom, rgba(5,5,5,0.5) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-inline: var(--pad-x);
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}
.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 12px var(--ice), 0 0 24px var(--ice-glow);
  animation: pulse 2.4s infinite var(--ease-in-out);
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8.4vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 40px;
  max-width: 1100px;
}
.hero h1 .ghost {
  display: inline-block;
  background: linear-gradient(180deg, var(--ice-soft) 0%, var(--text-2) 30%, var(--text-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  transition: transform 320ms var(--ease-out), background 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at var(--mx, 50%) var(--my, 50%), var(--ice-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  pointer-events: none;
}
.btn:hover::before { opacity: 0.7; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--ice-glow); }
.btn .arrow {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  transition: transform 320ms var(--ease-out);
}
.btn:hover .arrow { transform: translateX(3px) rotate(-45deg); }
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--hairline-2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.btn.secondary::before { background: radial-gradient(ellipse 120% 80% at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.08) 0%, transparent 60%); }
.btn.secondary:hover { border-color: var(--ice); color: var(--ice-soft); box-shadow: 0 16px 40px -10px var(--ice-glow); }
.btn.secondary .arrow { background: var(--glass-2); color: var(--text); }

/* Scroll indicator — minimal vertical line + label */
.scroll-indicator {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

/* Scroll indicator integrated into pillar layout (center column) */
.hero-pillar-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 1px;
  padding: 0 20px;
  padding-top: 40px;
  flex-shrink: 0;
  position: relative;
}
.hero-pillar-scroll .track {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(56, 109, 255, 0.15));
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-pillar-scroll .track::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 20px;
  background: linear-gradient(to bottom, transparent, var(--ice-soft));
  animation: scrollDown 2.8s infinite var(--ease-in-out);
  opacity: 0.5;
}
.hero-pillar-scroll span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-4);
  line-height: 1.35;
  text-align: center;
  opacity: 0.65;
  margin-top: 16px;
  flex-shrink: 0;
}
.scroll-indicator .track {
  width: 1px;
  height: 48px;
  background: var(--hairline-2);
  position: relative;
  overflow: hidden;
}
.scroll-indicator .track::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 16px;
  background: linear-gradient(to bottom, transparent, var(--ice));
  animation: scrollDown 2.2s infinite var(--ease-in-out);
}
@keyframes scrollDown {
  0%   { top: -16px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 48px; opacity: 0; }
}

/* Hero centered layout variant */
.hero-content--centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 64px;
}
.hero-content--centered h1 { text-align: center; max-width: 100%; }
.hero-content--centered .hero-tag { justify-content: center; }
.hero-content--centered .hero-actions { justify-content: center; }

/* ── Hero pillars — borderless, environment-integrated ────────── */
.hero-pillars {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
  width: 100%;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}
.hero-pillar {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  cursor: default;
  position: relative;
}
.hero-pillar-sep {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, var(--hairline-2) 30%, var(--hairline-2) 70%, transparent);
  flex-shrink: 0;
}
.hero-pillar-icon {
  width: 30px;
  height: 30px;
  color: var(--text-3);
  transition: color 400ms var(--ease-out), transform 400ms var(--ease-out), filter 400ms var(--ease-out);
}
.hero-pillar-icon svg { width: 100%; height: 100%; }
.hero-pillar h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-2);
  margin: 0;
  transition: color 400ms var(--ease-out);
}
.hero-pillar p {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-2);
  opacity: 0.7;
  margin: 0;
  max-width: 200px;
  transition: color 400ms var(--ease-out), opacity 400ms var(--ease-out);
  text-shadow: 0 1px 6px rgba(11, 15, 23, 0.8);
}
/* Hover — icon brightens + blue glow, title emphasis, subtle lift */
.hero-pillar:hover .hero-pillar-icon {
  color: var(--ice);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 8px var(--ice-glow));
}
.hero-pillar:hover h4 { color: var(--text); }
.hero-pillar:hover p { opacity: 0.9; }

@media (max-width: 640px) {
  .hero-pillars { flex-wrap: wrap; }
  .hero-pillar { flex: 1 1 45%; min-width: 180px; }
  .hero-pillar-sep { display: none; }
}

/* Marquee at hero bottom edge */
.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  background: rgba(5,5,5,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  gap: 0;
  white-space: nowrap;
}
.hero-marquee .row {
  display: flex;
  gap: 0;
  animation: marquee 50s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  opacity: 0.8;
  flex-shrink: 0;
}
.hero-marquee .row span { padding: 0 16px; }
.hero-marquee .row .sep {
  color: var(--ice);
  opacity: 0.9;
  padding: 0 8px;
  font-weight: 400;
  letter-spacing: 0;
}
.hero-marquee .row .star { color: var(--ice); opacity: 0.9; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS — general
   ============================================================ */
section.band {
  position: relative;
  padding: var(--section-py) 0;
}
/* Alternating section backgrounds for depth */
section.band:nth-of-type(odd)  { background: var(--bg); }
/* Alternating section backgrounds removed — each section controls its own bg */
.band-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 80px;
}
.band-head .lead { max-width: 880px; }
.band-head h2 {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.04em;
}
.band-head h2 .ghost {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px var(--hairline-3);
  font-style: italic;
  font-weight: 300;
}
.band-head .index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: right;
  white-space: nowrap;
}
.band-head .index strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  margin-top: 6px;
}

/* ============================================================
   WEB DEVELOPMENT — scroll-based, always-visible layout
   ============================================================ */
section.webdev-section {
  padding: clamp(48px, 6vh, 72px) 0 var(--section-py);
  position: relative;
  overflow: hidden;
}

/* Atmospheric background — digital workshop */
.webdev-atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
/* Layer 1: visible volumetric gradients */
.webdev-atmo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 8% 12%, rgba(56, 109, 255, 0.10), transparent 55%),
    radial-gradient(ellipse 45% 50% at 92% 70%, rgba(100, 181, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 25% at 50% 0%, rgba(56, 109, 255, 0.06), transparent 45%),
    radial-gradient(ellipse 40% 35% at 65% 95%, rgba(56, 109, 255, 0.05), transparent 50%);
}
/* Layer 2: moving light reflections — clearly visible */
.webdev-atmo::after {
  content: "";
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  background:
    radial-gradient(ellipse 30% 35% at 25% 35%, rgba(56, 109, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 25% 30% at 75% 55%, rgba(100, 181, 255, 0.09), transparent 55%);
  animation: workshopLight 16s ease-in-out infinite alternate;
}
@keyframes workshopLight {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(5%, -3%) scale(1.06); }
  66%  { transform: translate(-3%, 4%) scale(1.1); }
  100% { transform: translate(2%, -1%) scale(1.03); }
}
.webdev-section > .container { position: relative; z-index: 1; }

/* Header — icon, title, tagline */
.webdev-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.webdev-header-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  color: var(--ice);
  opacity: 0.7;
}
.webdev-header-icon svg { width: 100%; height: 100%; }
.webdev-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0;
}
.webdev-accent { color: var(--ice); }
.webdev-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text-2);
  margin: 0 0 16px;
}
.webdev-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 560px;
  margin: 0 auto;
}

/* Benefits row */
.webdev-benefits {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.webdev-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}
.webdev-benefit-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 10px var(--ice-glow);
}

/* Process — vertical flow */
.webdev-process {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.webdev-section { position: relative; }
.webdev-phase {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--hairline);
  position: relative;
  z-index: 1;
}
.webdev-phase:last-child { border-bottom: 1px solid var(--hairline); }

.webdev-phase-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
}
/* Phase — always active */
.webdev-phase .webdev-phase-num { color: var(--ice); }
.webdev-phase .webdev-phase-title { color: var(--text); }
.webdev-phase .webdev-phase-line {
  opacity: 0.7;
  height: 56px;
  background: linear-gradient(to bottom, var(--ice), var(--ice-soft), transparent);
}
.webdev-phase-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ice);
}
.webdev-phase-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.webdev-phase-line {
  width: 1px;
  height: 56px;
  margin-top: 8px;
  background: linear-gradient(to bottom, var(--ice), var(--ice-soft), transparent);
  opacity: 0.7;
}

/* Panels — visible by default */
.webdev-phase .cs-panel {
  opacity: 1;
  transform: none;
}

/* ── IDEA card — static brief ────────────────────────────────── */
/* No animation — the brief is a reference document */

/* ── WIREFRAME card — JS rebuilds layout continuously ────────── */
.cs-panel--wireframe { position: relative; }
.cs-panel--wireframe {
  position: relative;
  overflow: hidden;
}
/* Soft cinematic blue light sweep — behind card only */
.cs-panel--wireframe::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -50%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse 100% 60% at 50% 50%, rgba(56, 109, 255, 0.04), transparent 70%);
  pointer-events: none;
  animation: wireSweep 14s ease-in-out infinite;
  z-index: 0;
}
@keyframes wireSweep {
  0%   { left: -50%; opacity: 0.3; }
  50%  { left: 90%; opacity: 0.7; }
  100% { left: -50%; opacity: 0.3; }
}
.cs-panel--wireframe .cs-wire-body { position: relative; z-index: 1; }

/* ── DESIGN card — JS cycles token sets + code snippets ──────── */
.cs-design-anim {
  animation: designFadeIn 0.5s ease-out both;
}
@keyframes designFadeIn {
  0%   { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cs-code-anim {
  animation: codeLineType 0.4s ease-out both;
}
@keyframes codeLineType {
  0%   { opacity: 0; transform: translateX(-8px); }
  100% { opacity: 1; transform: translateX(0); }
}
/* Blinking cursor */
.cs-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--ice);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: cursorBlink 1.2s step-end infinite;
}
@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ── ONLINE card — JS updates metrics + deploy data ──────────── */
.cs-panel--live { position: relative; }
.cs-panel--live::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(15, 163, 54, 0.15);
  pointer-events: none;
  animation: liveBorderPulse 3s ease-in-out infinite;
}
@keyframes liveBorderPulse {
  0%, 100% { border-color: rgba(15, 163, 54, 0.08); box-shadow: none; }
  50%      { border-color: rgba(15, 163, 54, 0.25); box-shadow: 0 0 20px rgba(15, 163, 54, 0.08); }
}
.cs-dot--green {
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: none; }
  50%      { box-shadow: 0 0 6px rgba(15, 163, 54, 0.6); }
}
.cs-panel--deploy .cs-deploy-success {
  animation: deployPulse 2.5s ease-in-out infinite;
}
@keyframes deployPulse {
  0%, 100% { opacity: 0.8; }
  50%      { opacity: 1; text-shadow: 0 0 8px rgba(15, 163, 54, 0.4); }
}

/* Phase content */
.webdev-phase-content {
  max-width: 520px;
}
.webdev-phase-content--duo {
  display: flex;
  gap: 20px;
  max-width: 100%;
  flex-wrap: wrap;
}
.webdev-phase-content--duo > .cs-panel { flex: 1; min-width: 280px; }

/* Override panel widths for this layout */
.webdev-section .cs-panel--brief { width: 100%; max-width: 520px; }
.webdev-section .cs-panel--wireframe { width: 100%; max-width: 520px; }
.webdev-section .cs-panel--design { width: auto; flex: 1; min-width: 260px; }
.webdev-section .cs-panel--code { width: auto; flex: 1; min-width: 280px; position: relative; top: auto; right: auto; }
.webdev-section .cs-panel--live { width: auto; flex: 1.4; min-width: 320px; }
.webdev-section .cs-panel--deploy { width: auto; flex: 1; min-width: 220px; position: relative; top: auto; right: auto; }

/* Responsive */
@media (max-width: 900px) {
  .webdev-phase { grid-template-columns: 1fr; gap: 24px; }
  .webdev-phase-head { position: static; flex-direction: row; align-items: center; gap: 16px; }
  .webdev-phase-line { display: none; }
  .webdev-phase-content--duo { flex-direction: column; }
}

/* ============================================================
   LAUNCHUP CASE STUDY (legacy tab styles — removed)
   ============================================================ */
.case-study { overflow: hidden; }
.cs-phases, .cs-stage, .cs-frame { display: none; } /* dead code, keep CSS clean */

/* Panels — the floating cards */
.cs-panel {
  background: var(--bg-4);
  border: 1px solid var(--hairline-2);
  overflow: hidden;
  flex-shrink: 0;
}
.cs-panel--float {
  position: absolute;
}
.cs-panel-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--hairline);
}
.cs-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hairline-3);
}
.cs-dot--green { background: #0fa336; }
.cs-file {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.cs-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cs-badge--live { color: #0fa336; }
.cs-panel-body { padding: 20px; }

/* Brief panel */
.cs-panel--brief {
  width: 420px;
  position: relative;
  overflow: hidden;
}
/* Soft light reflection — sweeps across every 10s */
.cs-panel--brief::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -40%;
  width: 35%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(56, 109, 255, 0.055) 35%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(56, 109, 255, 0.055) 65%,
    transparent 100%
  );
  pointer-events: none;
  animation: briefReflection 4.5s ease-in-out infinite;
}
@keyframes briefReflection {
  0%, 70%  { left: -40%; opacity: 0; }
  78%      { opacity: 1; }
  100%     { left: 110%; opacity: 0; }
}
/* Gentle surface illumination — subtle ambient breathing */
.cs-panel--brief::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(56, 109, 255, 0.025), transparent 70%);
  pointer-events: none;
  animation: briefAmbient 8s ease-in-out infinite alternate;
}
@keyframes briefAmbient {
  0%   { opacity: 0.3; }
  100% { opacity: 0.8; }
}
.cs-brief-header {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.cs-brief-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-bottom: 20px;
}
.cs-brief-rows { display: flex; flex-direction: column; gap: 10px; }
.cs-brief-row { display: flex; gap: 16px; }
.cs-k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  min-width: 90px;
}
.cs-v {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
}
.cs-brief-approved {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  color: #2dd45b;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: approvedPulse 5s ease-in-out infinite;
}
.cs-approved-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd45b;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(45, 212, 91, 0.4), 0 0 14px rgba(45, 212, 91, 0.15);
  animation: dotHalo 4s ease-in-out infinite;
}
@keyframes dotHalo {
  0%, 100% { box-shadow: 0 0 4px rgba(45, 212, 91, 0.3), 0 0 10px rgba(45, 212, 91, 0.1); }
  50%      { box-shadow: 0 0 8px rgba(45, 212, 91, 0.5), 0 0 20px rgba(45, 212, 91, 0.2); }
}
@keyframes approvedPulse {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; text-shadow: 0 0 8px rgba(45, 212, 91, 0.2); }
}

/* Stats floating panel */
.cs-panel--stats {
  right: 0;
  top: 60px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.cs-stat {
  background: var(--bg-4);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cs-stat-v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.cs-stat-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Wireframe panel */
.cs-panel--wireframe { width: 480px; }
.cs-wire-body { display: flex; flex-direction: column; gap: 24px; }
.cs-wire-nav { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.cs-wire-block {
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  height: 8px;
}
.cs-wire-hero { padding: 16px 0; }
.cs-wire-btn {
  width: 100px; height: 28px;
  background: rgba(56, 109, 255, 0.15);
  border: 1px solid rgba(56, 109, 255, 0.3);
  border-radius: 2px;
}
.cs-wire-btn--ghost {
  background: transparent;
  border-color: var(--hairline-2);
}
.cs-wire-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cs-wire-card {
  height: 80px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
  border-radius: 2px;
}

/* Annotation floating */
.cs-panel--annotation {
  right: 0;
  bottom: 40px;
  width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.cs-annot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 10px var(--ice-glow);
  flex-shrink: 0;
}
.cs-annot-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  line-height: 1.4;
}

/* Design tokens panel */
.cs-panel--design { width: 320px; }
.cs-token-section { margin-bottom: 20px; }
.cs-token-section:last-child { margin-bottom: 0; }
.cs-token-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.cs-token-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cs-swatch {
  width: 28px; height: 28px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  flex-shrink: 0;
}
.cs-token-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.cs-token-hex {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}
.cs-type-specimen {
  font-family: "Space Grotesk", var(--font-display);
  font-size: 48px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.cs-token-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}

/* Code panel */
.cs-panel--code {
  right: 0;
  top: 20px;
  width: 380px;
}
.cs-code-body { padding: 4px 0; }
.cs-code-line {
  display: flex;
  gap: 12px;
  padding: 3px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-2);
}
.cs-ln { color: var(--text-4); min-width: 18px; text-align: right; user-select: none; }
.cs-kw { color: var(--ice); }
.cs-fn { color: var(--ice-soft); }
.cs-tag { color: #e06c75; }
.cs-str { color: #98c379; }

/* Live panel */
.cs-panel--live { width: 520px; }
.cs-live-body { padding: 0; }
.cs-live-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-2);
}
.cs-live-brand {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cs-live-links {
  margin-left: auto;
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cs-live-hero { padding: 28px 24px; }
.cs-live-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.cs-live-h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.cs-live-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.5;
}
.cs-live-btns { display: flex; gap: 10px; }
.cs-live-btn-primary {
  padding: 8px 18px;
  background: #0057FF;
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
}
.cs-live-btn-ghost {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--hairline-2);
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
}
.cs-live-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
}
.cs-live-metric {
  background: var(--bg-4);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-live-metric-v {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.cs-live-metric-l {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Deploy floating panel */
.cs-panel--deploy {
  right: 0;
  top: 40px;
  width: 260px;
}
.cs-deploy-success {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #0fa336;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.cs-deploy-rows { display: flex; flex-direction: column; gap: 8px; }
.cs-deploy-row { display: flex; gap: 12px; }
.cs-deploy-row .cs-k { min-width: 60px; font-size: 10px; }
.cs-deploy-row .cs-v { font-size: 12px; }
/* Deploy rows activate sequentially */
.cs-deploy-row {
  animation: deployRowIn 0.8s ease-out both;
  animation-delay: 0.5s;
}
/* Animation stagger index — not a theme token (kept local to the deploy rows) */
.cs-deploy-row:nth-child(1) { animation-delay: 0.5s; }
.cs-deploy-row:nth-child(2) { animation-delay: 0.8s; }
.cs-deploy-row:nth-child(3) { animation-delay: 1.1s; }
.cs-deploy-row:nth-child(4) { animation-delay: 1.4s; }
@keyframes deployRowIn {
  0%   { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .cs-phases { flex-wrap: wrap; justify-content: center; }
  .cs-phase-arrow { display: none; }
  .cs-panel--float { position: relative !important; top: auto !important; right: auto !important; bottom: auto !important; }
  .cs-frame { flex-direction: column; align-items: stretch; }
  .cs-panel--brief, .cs-panel--wireframe, .cs-panel--design, .cs-panel--live, .cs-panel--code { width: 100%; }
  .cs-panel--stats { width: 100%; flex-direction: row; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-grid .lead-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
.about-grid .lead-text strong {
  font-weight: 500;
  background: linear-gradient(180deg, var(--ice-soft) 0%, var(--text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.about-stat {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 180px;
  justify-content: space-between;
  transition: background 320ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.about-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 100%, var(--ice-glow-2), transparent 70%);
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  pointer-events: none;
}
.about-stat:hover::before { opacity: 1; }
.about-stat .v {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.about-stat .v .plus { color: var(--ice); font-weight: 400; }
.about-stat .l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.service-card {
  position: relative;
  background: var(--bg);
  padding: 48px 36px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  transition: background 400ms var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at var(--mx, 50%) var(--my, 50%), var(--ice-glow-2), transparent 60%);
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: var(--bg-2); }
.service-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-3);
  margin-bottom: auto;
}
.service-card .icon {
  width: 56px;
  height: 56px;
  margin: 32px 0;
  color: var(--ice-soft);
  position: relative;
  z-index: 1;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}
.service-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-3);
  max-width: 320px;
  position: relative;
  z-index: 1;
}
.service-card .arrow-mini {
  margin-top: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--hairline-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: transform 320ms var(--ease-out), background 320ms var(--ease-out), border-color 320ms var(--ease-out), color 320ms var(--ease-out);
  position: relative; z-index: 1;
}
.service-card:hover .arrow-mini {
  transform: rotate(-45deg);
  border-color: var(--ice);
  color: var(--ice);
}


/* ============================================================
   VIDEO PRODUCTION
   ============================================================ */
section.vp-section {
  position: relative; overflow: hidden; background: var(--bg);
  padding: 32px 0 var(--section-py);
}
.vp-atmo {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 50% 35% at 60% 20%, rgba(56,109,255,0.04), transparent 60%),
    radial-gradient(ellipse 35% 40% at 30% 80%, rgba(100,181,255,0.025), transparent 60%);
}

/* Header — centered hero composition (matches Web Development) */
.vp-header {
  text-align: center; max-width: 720px;
  margin: 0 auto 36px; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
.vp-h2 {
  font-family: var(--font-display); font-size: clamp(40px,5.5vw,72px);
  font-weight: 700; line-height: 1.0; letter-spacing: -0.04em;
  color: var(--text); margin: 0; text-transform: uppercase;
}
.vp-accent { color: var(--ice); }
.vp-bar { width: 48px; height: 3px; background: var(--ice); margin: 12px auto 16px; box-shadow: 0 0 8px var(--ice-glow); }
.vp-lead {
  font-family: var(--font-display); font-size: clamp(18px,2.2vw,24px); font-weight: 300;
  line-height: 1.35; color: var(--text-2); margin: 0 0 16px; letter-spacing: -0.01em;
  white-space: nowrap;
}
.vp-desc {
  font-family: var(--font-body); font-size: 17px; font-weight: 300;
  line-height: 1.6; color: var(--text-3); margin: 0 auto 0; max-width: 640px;
  text-wrap: pretty;
}

/* Cinematic presentation — luxury post-production showcase */
.vp-suite {
  position: relative; z-index: 1; margin-top: 32px;
  display: flex; justify-content: center;
}
.vp-stage {
  position: relative;
  width: 100%; max-width: 760px;
  perspective: 1800px;
  padding: 28px 0;
}
/* Volumetric light + bloom — reduced for premium restraint */
.vp-stage-glow {
  position: absolute; inset: -15% -20%;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(56,109,255,0.08), transparent 65%),
    radial-gradient(ellipse 40% 35% at 68% 60%, rgba(100,181,255,0.05), transparent 60%),
    radial-gradient(ellipse 30% 25% at 32% 35%, rgba(56,109,255,0.04), transparent 55%);
  filter: blur(30px);
  pointer-events: none;
  animation: vpGlowPulse 10s ease-in-out infinite alternate;
}
@keyframes vpGlowPulse {
  0%   { opacity: 0.55; transform: scale(1) translateY(0); }
  100% { opacity: 1; transform: scale(1.07) translateY(-1%); }
}
.vp-stage-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3;
}
.vp-particle {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(184,212,255,0.6);
  box-shadow: 0 0 5px rgba(109,179,255,0.6);
}

/* Frame */
.vp-frame {
  margin: 0; position: relative;
  transform: rotateX(4deg) rotateY(-3deg) rotateZ(0.3deg);
  transform-style: preserve-3d;
}
.vp-frame-split {
  position: relative; overflow: hidden;
  aspect-ratio: 21 / 9;
  background: #06090f;
  border-radius: 5px;
  box-shadow:
    0 70px 160px -45px rgba(0,0,0,0.9),
    0 30px 70px -25px rgba(56,109,255,0.10),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 0 80px rgba(0,0,0,0.3);
}

/* Base = FINAL graded — refined cinematic look */
.vp-frame-raw {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: contrast(1.22) saturate(1.05) brightness(1.0);
}
/* Overlay = RAW flat, clipped reveal from left */
.vp-frame-final-wrap {
  position: absolute; inset: 0; z-index: 2;
  overflow: hidden; width: 50%;
}
.vp-frame-final {
  position: absolute; top: 0; left: 0; height: 100%;
  width: 760px; max-width: none;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: saturate(0.55) contrast(0.88) brightness(0.97);
}
/* Reveal divider — subtle, supports the footage */
.vp-divider {
  position: absolute; top: 0; bottom: 0; z-index: 5;
  width: 1px; left: 50%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4) 30%, rgba(184,212,255,0.55) 50%, rgba(255,255,255,0.4) 70%, transparent);
  box-shadow: 0 0 6px rgba(56,109,255,0.25);
}
.vp-divider-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(6,9,15,0.4); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vp-divider-handle::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 3px; height: 3px;
  border-radius: 50%; background: rgba(184,212,255,0.8);
}

/* Letterbox */
.vp-letterbox {
  position: absolute; left: 0; right: 0; height: 7%; z-index: 4;
  background: #000; opacity: 0.92;
}
.vp-letterbox--top { top: 0; }
.vp-letterbox--bottom { bottom: 0; }

/* Premium grain + vignette */
.vp-grain {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  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.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}
.vp-vignette {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 55%, rgba(0,0,0,0.45) 100%);
}
/* Hero frame glow pulse when a workflow step activates */
.vp-frame-split.vp-pulse {
  box-shadow:
    0 70px 160px -45px rgba(0,0,0,0.9),
    0 30px 70px -25px rgba(56,109,255,0.10),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 0 80px rgba(0,0,0,0.3),
    0 0 40px -8px rgba(56,109,255,0.22);
}
.vp-frame-split { transition: box-shadow 0.8s var(--ease-out); }

/* Editorial spec line */
.vp-editorial {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 22px; flex-wrap: wrap;
}
.vp-editorial span {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2);
  transition: color 0.5s var(--ease-out), text-shadow 0.5s var(--ease-out);
}
.vp-editorial i {
  width: 3px; height: 3px; border-radius: 50%; background: var(--ice);
  opacity: 0.8; flex-shrink: 0;
}
.vp-editorial span.is-active {
  color: var(--ice-soft);
  text-shadow: 0 0 12px rgba(56,109,255,0.4);
}
/* Cinematic production-stage reel */
.vp-reel {
  position: relative; margin-top: 36px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  padding: 0 8px;
}
.vp-reel-line {
  position: absolute; left: 8%; right: 8%; top: 27%;
  height: 1px; background: linear-gradient(to right, transparent, var(--hairline-2) 12%, var(--hairline-2) 88%, transparent);
  z-index: 0;
}
.vp-reel-item {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.5s var(--ease-out);
}
.vp-reel-frame {
  aspect-ratio: 16 / 10; border-radius: 3px;
  background-size: cover; background-position: center;
  border: 1px solid rgba(255,255,255,0.06);
  filter: saturate(1.15) contrast(1.08) brightness(0.92);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.7);
  position: relative;
  transition: filter 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.vp-reel-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px;
  box-shadow: inset 0 0 24px rgba(0,0,0,0.4);
}
.vp-reel-item--hero { /* baseline-aligned, glow comes from active state */ }
.vp-reel-item--hero .vp-reel-frame {
  filter: saturate(1.15) contrast(1.1) brightness(0.96);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 20px 48px -18px rgba(0,0,0,0.75);
}
.vp-reel-item:hover .vp-reel-frame { filter: saturate(1.2) contrast(1.1) brightness(1.0); }
/* Sequential highlight state — no vertical shift */
.vp-reel-item.is-active .vp-reel-frame {
  filter: saturate(1.3) contrast(1.15) brightness(1.08);
  border-color: rgba(56,109,255,0.55);
  box-shadow:
    0 24px 60px -18px rgba(0,0,0,0.8),
    0 0 0 1px rgba(56,109,255,0.35),
    0 0 36px -4px rgba(56,109,255,0.4);
}
.vp-reel-item.is-active .vp-reel-cap { color: var(--text); }
.vp-reel-item.is-active .vp-reel-num { opacity: 1; }
.vp-reel-cap {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3);
  justify-content: center;
}
.vp-reel-num { color: var(--ice); opacity: 0.7; }
.vp-reel-item--hero .vp-reel-cap { color: var(--text); }

@media (max-width: 640px) {
  .vp-reel { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .vp-reel-line { display: none; }
}



/* ── Two-column editorial layout ── */
.vp-layout {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(140px, 20vw, 290px);
  align-items: start;
  margin-top: 140px;
  position: relative; z-index: 1;
}
/* Drop the showcase down so its top aligns with the first service item */
.vp-layout .vp-suite { transform: translateY(50px); }
/* Rightward nudge only where the column has slack (desktop) — avoids overflow on narrow screens */
@media (min-width: 1180px) {
  .vp-layout .vp-suite { transform: translate(70px, 50px); }
}
.vp-layout .vp-suite {
  margin-top: 0;
  display: block;
  position: sticky; top: 100px;
}

/* LEFT — luxury editorial services column */
.vp-editorial-col { position: relative; z-index: 1; padding-top: 4px; }
.vp-edit-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ice);
  margin-bottom: 28px;
}
.vp-edit-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.vp-edit-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 4px;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
  position: relative;
  transition: background 0.5s var(--ease-out);
}
.vp-edit-item:last-child { border-bottom: 1px solid var(--hairline); }
/* expanding accent line on the top border */
.vp-edit-item::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 0; height: 1px; background: var(--ice);
  box-shadow: 0 0 8px var(--ice-glow);
  transition: width 0.55s var(--ease-out);
}
.vp-edit-item:hover::before { width: 56px; }
.vp-edit-num {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: var(--text-4); letter-spacing: 0.05em; padding-top: 3px;
  transition: color 0.45s var(--ease-out);
}
.vp-edit-item:hover .vp-edit-num { color: var(--ice); }
.vp-edit-body { min-width: 0; }
.vp-edit-head { display: flex; align-items: center; gap: 12px; }
.vp-edit-ico {
  width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0;
  transition: color 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}
.vp-edit-ico svg { width: 100%; height: 100%; }
.vp-edit-item:hover .vp-edit-ico {
  color: var(--ice);
  filter: drop-shadow(0 0 6px var(--ice-glow));
}
.vp-edit-title {
  font-family: var(--font-display); font-size: 19px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--text); margin: 0;
  transition: color 0.45s var(--ease-out);
}
.vp-edit-desc {
  font-family: var(--font-body); font-size: 14px; font-weight: 300;
  line-height: 1.55; color: var(--text-3); margin: 8px 0 0;
  opacity: 0.85; transition: opacity 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.vp-edit-item:hover .vp-edit-desc { opacity: 1; color: var(--text-2); }

/* Content Formats — Creator-focused reels strip */
.vp-formats {
  margin-top: 72px; position: relative; z-index: 1;
}
.vp-formats-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.vp-formats-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice);
  white-space: nowrap;
}
.vp-formats-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--ice-glow), transparent);
  opacity: 0.4;
}
.vp-formats-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4);
  white-space: nowrap;
}

/* Reels strip */
.vp-reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Each vertical 9:16 content card */
.vp-reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  background: #06090f;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.8);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out),
              border-color 0.6s var(--ease-out);
}
.vp-reel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56,109,255,0.3);
  box-shadow: 0 36px 80px -28px rgba(0,0,0,0.85), 0 0 40px -10px rgba(56,109,255,0.25);
}

.vp-reel-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: contrast(1.08) saturate(1.05) brightness(0.92);
  transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease-out);
}
.vp-reel-card:hover .vp-reel-media {
  transform: scale(1.05);
  filter: contrast(1.12) saturate(1.12) brightness(1.0);
}
/* Bottom protection gradient */
.vp-reel-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,8,15,0.92) 0%, rgba(5,8,15,0.4) 30%, transparent 55%);
  z-index: 1; pointer-events: none;
}

/* Passive diagonal light sweep */
.vp-reel-sweep {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(120,170,255,0.12) 48%, rgba(160,200,255,0.18) 50%, rgba(120,170,255,0.12) 52%, transparent 65%);
  background-size: 280% 100%;
  background-position: 120% 0;
  animation: reelSweep 7s var(--ease-in-out) infinite;
  animation-delay: calc(var(--d) * 1.1s);
  mix-blend-mode: screen;
}
@keyframes reelSweep {
  0%   { background-position: 130% 0; opacity: 0; }
  12%  { opacity: 1; }
  45%  { background-position: -30% 0; opacity: 1; }
  55%  { background-position: -30% 0; opacity: 0; }
  100% { background-position: -30% 0; opacity: 0; }
}

/* Passive scanning line */
.vp-reel-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, transparent, rgba(120,170,255,0.5) 50%, transparent);
  box-shadow: 0 0 8px rgba(56,109,255,0.4);
  opacity: 0;
  animation: reelScan 9s linear infinite;
  animation-delay: calc(var(--d) * 1.6s + 2s);
}
@keyframes reelScan {
  0%   { transform: translateY(0); opacity: 0; }
  8%   { opacity: 0.9; }
  42%  { transform: translateY(2400%); opacity: 0.9; }
  50%  { transform: translateY(2400%); opacity: 0; }
  100% { transform: translateY(2400%); opacity: 0; }
}

/* Format badge (play glyph) top-left */
.vp-reel-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,14,22,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  transition: background 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.vp-reel-badge svg { width: 11px; height: 11px; color: #fff; margin-left: 1px; }
.vp-reel-card:hover .vp-reel-badge {
  background: rgba(56,109,255,0.4);
  border-color: rgba(120,170,255,0.5);
}
/* ambient pulse on badge */
.vp-reel-badge::before {
  content: '';
  position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(120,170,255,0.4);
  opacity: 0;
  animation: reelBadgePulse 5s var(--ease-out) infinite;
  animation-delay: calc(var(--d) * 0.9s);
}
@keyframes reelBadgePulse {
  0%   { transform: scale(1); opacity: 0.6; }
  40%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ── Per-card animation language — each reel has its own personality ── */

/* Card 1 · Reels Ready → cinematic light reflection (glossy diagonal pass) */
.vp-reel-card:nth-child(1) .vp-reel-scan { display: none; }
.vp-reel-card:nth-child(1) .vp-reel-sweep {
  background: linear-gradient(118deg, transparent 38%, rgba(160,200,255,0.16) 48%, rgba(205,228,255,0.30) 50%, rgba(160,200,255,0.16) 52%, transparent 62%);
  background-size: 250% 100%;
  background-position: 120% 0;
  animation: reelGloss 8s var(--ease-in-out) infinite;
}
@keyframes reelGloss {
  0%   { background-position: 130% 0; opacity: 0; }
  14%  { opacity: 1; }
  52%  { background-position: -30% 0; opacity: 1; }
  62%  { background-position: -30% 0; opacity: 0; }
  100% { background-position: -30% 0; opacity: 0; }
}

/* Card 2 · Shorts Optimized → rendering / progress motion (bottom bar) */
.vp-reel-card:nth-child(2) .vp-reel-sweep { display: none; }
.vp-reel-card:nth-child(2) .vp-reel-scan {
  top: auto; bottom: 0; height: 2px;
  background: linear-gradient(to right, rgba(56,109,255,0.85), rgba(140,190,255,0.95));
  box-shadow: 0 0 12px rgba(56,109,255,0.6);
  transform-origin: left center;
  animation: reelRender 5.5s var(--ease-in-out) infinite;
}
@keyframes reelRender {
  0%   { transform: scaleX(0); opacity: 0; }
  8%   { opacity: 1; }
  68%  { transform: scaleX(1); opacity: 1; }
  84%  { transform: scaleX(1); opacity: 0; }
  100% { transform: scaleX(0); opacity: 0; }
}

/* Card 3 · Social First → cinematic image breathing + story progress line */
.vp-reel-card:nth-child(3) .vp-reel-sweep { display: none; }
.vp-reel-card:nth-child(3) .vp-reel-media {
  animation: reelImgBreathe 6s ease-in-out infinite;
}
@keyframes reelImgBreathe {
  0%   { transform: scale(1.0)  translate(0, 0); }
  50%  { transform: scale(1.05) translate(3px, -3px); }
  100% { transform: scale(1.0)  translate(0, 0); }
}
/* slim Instagram-story-style progress indicator near the top */
.vp-reel-card:nth-child(3) .vp-reel-scan {
  display: block;
  top: 10px; left: 12px; right: 12px; bottom: auto; width: auto; height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.16);
  box-shadow: none;
  transform: none;
  overflow: hidden;
  animation: none;
}
.vp-reel-card:nth-child(3) .vp-reel-scan::after {
  content: '';
  position: absolute; inset: 0;
  transform-origin: left center;
  background: linear-gradient(to right, rgba(140,190,255,0.85), rgba(205,228,255,1));
  box-shadow: 0 0 8px rgba(56,109,255,0.4);
  transform: scaleX(0);
  animation: reelStory 6.5s linear infinite;
}
@keyframes reelStory {
  0%   { transform: scaleX(0); opacity: 1; }
  88%  { transform: scaleX(1); opacity: 1; }
  96%  { transform: scaleX(1); opacity: 0; }
  100% { transform: scaleX(0); opacity: 0; }
}

/* Card 4 · Cinematic Storytelling → horizontal lens scan */
.vp-reel-card:nth-child(4) .vp-reel-sweep { display: none; }
.vp-reel-card:nth-child(4) .vp-reel-scan {
  top: 0; bottom: 0; height: auto; left: 0; right: auto; width: 28%;
  background: linear-gradient(to right, transparent, rgba(150,195,255,0.22) 45%, rgba(195,222,255,0.3) 50%, rgba(150,195,255,0.22) 55%, transparent);
  box-shadow: none;
  animation: reelLens 7s var(--ease-in-out) infinite;
}
@keyframes reelLens {
  0%   { transform: translateX(-110%); opacity: 0; }
  16%  { opacity: 1; }
  84%  { transform: translateX(400%); opacity: 1; }
  92%  { transform: translateX(400%); opacity: 0; }
  100% { transform: translateX(400%); opacity: 0; }
}

/* Card 5 · Brand Impact → breathing glow border + ambient corner bloom */
.vp-reel-card:nth-child(5) .vp-reel-sweep {
  background: none;
  border-radius: 6px;
  animation: reelBreathe 5.5s ease-in-out infinite;
}
@keyframes reelBreathe {
  0%,100% { box-shadow: inset 0 0 18px -6px rgba(56,109,255,0.3),  inset 0 0 0 1px rgba(120,170,255,0.18); opacity: 0.7; }
  50%     { box-shadow: inset 0 0 34px -3px rgba(56,109,255,0.6),  inset 0 0 0 1px rgba(140,190,255,0.55); opacity: 1; }
}
/* second layer: ambient corner light bloom */
.vp-reel-card:nth-child(5) .vp-reel-scan {
  display: block;
  top: 0; bottom: 0; left: 0; right: 0; width: auto; height: auto;
  background: radial-gradient(circle at 84% 14%, rgba(72,130,255,0.3), transparent 46%);
  box-shadow: none;
  transform: none;
  animation: reelBloom 6.5s ease-in-out infinite;
}
@keyframes reelBloom {
  0%,100% { opacity: 0.25; }
  50%     { opacity: 0.85; }
}

/* Meta block at bottom */
.vp-reel-meta {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
}
.vp-reel-eyebrow {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em; color: var(--text);
  display: block; margin-bottom: 5px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.vp-reel-meta p {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 300;
  line-height: 1.45; color: var(--text-2); margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

@media (max-width: 1100px) {
  .vp-reels { grid-template-columns: repeat(3, 1fr); }
  .vp-reel-card:nth-child(4), .vp-reel-card:nth-child(5) { display: none; }
}
@media (max-width: 640px) {
  .vp-reels { grid-template-columns: repeat(2, 1fr); }
  .vp-reel-card:nth-child(3) { display: none; }
}

@media (max-width: 1100px) {
  .vp-layout { grid-template-columns: 1fr; gap: 40px; margin-top: 72px; }
  .vp-layout .vp-suite { order: -1; position: relative; top: 0; transform: none; }
}
@media (max-width: 640px) {
  .vp-cinema-split { height: 200px; }
}


/* ============================================================
   FEATURED WORK
   ============================================================ */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.work-row {
  position: relative;
  background: var(--bg);
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 1fr 80px;
  align-items: center;
  gap: 32px;
  padding: 40px var(--pad-x);
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: background 400ms var(--ease-out);
}
.work-row:hover { background: var(--bg-2); }
.work-row .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-3);
}
.work-row .name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.work-row .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.work-row .tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--hairline-2);
  border-radius: 9999px;
  color: var(--text-2);
}
.work-row .year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-align: right;
}
.work-row .arrow-mini {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  justify-self: end;
  transition: transform 320ms var(--ease-out), background 320ms var(--ease-out), color 320ms var(--ease-out), border-color 320ms var(--ease-out);
}
.work-row:hover .arrow-mini { transform: rotate(-45deg); border-color: var(--ice); color: var(--ice); }

/* Floating preview that follows cursor */
.work-preview {
  position: fixed;
  top: 0; left: 0;
  width: 320px;
  height: 240px;
  pointer-events: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hairline-2);
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), 0 0 0 1px var(--hairline);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  z-index: 80;
  transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out);
}
.work-preview.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-preview .blur-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(0.5px) saturate(0.7);
}
.work-preview .label {
  position: absolute;
  inset: auto 16px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-rail {
  position: relative;
  padding: 0;
}
.process-rail .line {
  position: absolute;
  left: 0; right: 0; top: 36px;
  height: 1px;
  background: var(--hairline);
}
.process-rail .line .fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(to right, var(--ice-deep), var(--ice));
  box-shadow: 0 0 16px var(--ice-glow);
  transition: width 800ms var(--ease-out);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.process-step .node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--hairline-2);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-2);
  transition: border-color 400ms var(--ease-out), background 400ms var(--ease-out), color 400ms var(--ease-out);
}
.process-step .node::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--ice);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.process-step.in-view .node { border-color: var(--ice); color: var(--ice-soft); background: var(--bg-2); }
.process-step.in-view .node::after { opacity: 0.7; transform: scale(1); }
.process-step h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.process-step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
  max-width: 220px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-stage {
  position: relative;
  padding: 40px 0 0;
}
.testimonials-track {
  position: relative;
  min-height: 380px;
}
.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.testimonial.active { opacity: 1; visibility: visible; pointer-events: auto; }
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.8;
  color: var(--ice);
  font-weight: 700;
  opacity: 0.6;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 900px;
}
.testimonial .author {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial .author .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice-deep), var(--bg-3));
  border: 1px solid var(--hairline-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.testimonial .author .who { display: flex; flex-direction: column; gap: 2px; }
.testimonial .author .who .name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.testimonial .author .who .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.testimonials-nav {
  margin-top: 48px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.testimonials-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-2);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 240ms var(--ease-out), color 240ms var(--ease-out), background 240ms var(--ease-out);
}
.testimonials-nav button:hover { border-color: var(--ice); color: var(--ice); }
.testimonials-nav .index {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-3);
}
.testimonials-nav .index .current { color: var(--text); font-weight: 500; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: clamp(120px, 18vh, 220px) 0;
  text-align: center;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(56, 109, 255, 0.1), transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  margin: 0 auto 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 1100px;
}
.final-cta h2 .ghost {
  background: linear-gradient(180deg, var(--ice-soft) 0%, var(--text-2) 30%, var(--text-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; font-weight: 300;
}
.final-cta .sub {
  font-size: 18px;
  color: var(--text-2);
  margin: 0 auto 56px;
  max-width: 560px;
  line-height: 1.55;
}
.final-cta .actions { display: inline-flex; gap: 16px; align-items: center; }
.final-cta .stamps {
  margin-top: 96px;
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.final-cta .stamps span { display: inline-flex; align-items: center; gap: 8px; }
.final-cta .stamps span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 8px var(--ice);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--hairline);
  padding: 80px 0 40px;
  background: var(--bg-4);
  position: relative;
  z-index: 1;
}
footer .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--hairline);
}
footer .brand-block { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
footer .brand-block .lockup { display: flex; align-items: center; gap: 12px; }
footer .brand-block .lockup img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 12px var(--ice-glow-2)); }
footer .brand-block .lockup span {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 16px;
}
footer .brand-block p { margin: 0; color: var(--text-3); font-size: 13px; line-height: 1.6; }
footer .col h5 {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
footer .col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
footer .col li a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  transition: color 220ms var(--ease-out);
}
footer .col li a:hover { color: var(--ice-soft); }
footer .bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-3);
}

/* ============================================================
   REVEAL ANIMATIONS — disabled (iframe environment pauses CSS
   transitions/animations even when document.visibilityState is
   "visible", which leaves content stuck at opacity:0). Content
   ships visible-by-default; the cinematic feel comes from the
   3D scene, smooth scroll, and layout craft.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

/* Hero content visible by default. (Entrance animations were removed —
   the preview environment sometimes runs the page with visibilityState=hidden,
   which would pause the animations at opacity:0 forever. The cinematic feel
   comes from the 3D scene + scroll reveals on downstream sections.) */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav .menu a:not(.pill):not(.cta) { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .work-row { grid-template-columns: 60px 1fr 60px; gap: 16px; }
  .work-row .tags, .work-row .year { display: none; }
  footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .band-head { grid-template-columns: 1fr; }
  .band-head .index { text-align: left; }
  .testimonial { grid-template-columns: 1fr; gap: 16px; }
  footer .top { grid-template-columns: 1fr; }
  footer .bottom { flex-direction: column; gap: 12px; }
  .about-stats { grid-template-columns: 1fr; }
  .nav .brand span { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
