/* ============================================================
   THOUGHTBOOK — Main Stylesheet
   ============================================================ */

/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,300..900,0..100,0..1&family=Geist+Mono:wght@300;400;500&family=Geist:wght@300;400;500;600;700&display=swap');

/* ========== CUSTOM PROPERTIES ========== */
:root {
  --ink: #0a0a0a;
  --bone: #f4f1ea;
  --paper: #ebe7dd;
  --char: #1a1a1a;

  /* nebula palette */
  --nebula-deep: #0c2a35;
  --nebula-mid: #155368;
  --nebula-cyan: #3fb6c9;
  --nebula-glow: #7ee8f5;
  --starlight: #e8f9ff;

  /* legacy aliases — mapped to nebula tones for cohesion */
  --acid: #7ee8f5;
  --rust: #1f7a8c;
  --plum: #0c2a35;
  --sky: #3fb6c9;

  --line: rgba(10, 10, 10, 0.12);
  --line-light: rgba(244, 241, 234, 0.18);

  --display: 'Fraunces', serif;
  --body: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', monospace;
}

/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bone);
  color: var(--ink);
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--acid); color: var(--ink); }

/* ========== GRAIN OVERLAY ========== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ========== KEYFRAMES ========== */
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes twinkle {
  from { opacity: .55; }
  to   { opacity: .95; }
}
@keyframes drawLine {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  20%  { opacity: .7; }
  60%  { stroke-dashoffset: 0; opacity: .7; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes nodePulse {
  0%, 100% { opacity: .6; r: 3; }
  50%       { opacity: 1;  r: 5; }
}
@keyframes pulse {
  0%, 100% { opacity: 1;  transform: scale(1);   }
  50%       { opacity: .5; transform: scale(1.3); }
}
@keyframes barRise {
  0%, 100% { transform: scaleY(0.3); }
  50%       { transform: scaleY(1);   }
}
@keyframes arrowJiggle {
  0%, 100% { transform: translateY(0);  }
  50%       { transform: translateY(-2px); }
}
@keyframes floatA {
  0%, 100% { transform: translate(0,0) scale(1);        }
  33%       { transform: translate(20%,30%) scale(1.15); }
  66%       { transform: translate(-10%,15%) scale(.9);  }
}
@keyframes floatB {
  0%, 100% { transform: translate(0,0) scale(1);          }
  50%       { transform: translate(-25%,-20%) scale(1.2); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0,0) scale(1);           }
  40%       { transform: translate(-30%,-25%) scale(1.1);  }
  80%       { transform: translate(15%,-10%) scale(.95);   }
}
@keyframes rotate {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* ========== NAV ========== */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
  color: var(--bone);
}
nav.top .logo {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -.02em;
  font-style: italic;
}
nav.top .logo span { font-style: normal; font-weight: 300; }
nav.top ul {
  display: flex;
  gap: 32px;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
nav.top a { color: inherit; text-decoration: none; opacity: .85; transition: opacity .3s; }
nav.top a:hover { opacity: 1; }
nav.top .cta {
  border: 1px solid currentColor;
  padding: 8px 16px;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  padding: 140px 32px 80px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(126,232,245,0.10), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(21,83,104,0.45), transparent 65%),
    radial-gradient(ellipse 40% 40% at 85% 60%, rgba(63,182,201,0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 10%, rgba(126,232,245,0.06), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 22%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 22% 60%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1px 1px at 38% 18%, var(--starlight) 50%, transparent 100%),
    radial-gradient(2px 2px at 55% 75%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1px 1px at 72% 32%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 68%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1px 1px at 95% 18%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1px 1px at 12% 88%, var(--starlight) 50%, transparent 100%),
    radial-gradient(2px 2px at 48% 42%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 92%, var(--starlight) 50%, transparent 100%);
  opacity: .7;
  animation: twinkle 5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  opacity: .55;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(60px, 14vw, 220px);
  line-height: .88;
  letter-spacing: -.04em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--nebula-glow);
  text-shadow: 0 0 40px rgba(126,232,245,0.35);
}
.hero h1 .accent {
  display: inline-block;
  background: var(--nebula-glow);
  color: var(--ink);
  padding: 0 .15em;
  transform: rotate(-1deg);
  font-style: italic;
  font-weight: 400;
  box-shadow: 0 0 40px rgba(126,232,245,0.35);
}
.hero-bottom {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-desc {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.3;
  max-width: 600px;
  letter-spacing: -.01em;
  opacity: .92;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--line-light);
  padding-top: 24px;
}
.stat .num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1;
}
.stat .lbl {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .55;
  margin-top: 8px;
  display: block;
}

/* ========== MARQUEE ========== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 24px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: scroll 40s linear infinite;
  font-family: var(--display);
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -.02em;
}
.marquee-track span { margin-right: 60px; }
.marquee-track span:nth-child(even) { font-style: italic; color: var(--rust); }

/* ========== STICKY MANIFESTO ========== */
.manifesto {
  position: relative;
  background: var(--ink);
  color: var(--bone);
}
.manifesto-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  overflow: hidden;
}
.manifesto-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 35%, rgba(63,182,201,0.22), transparent 60%),
    radial-gradient(ellipse 70% 60% at 75% 70%, rgba(21,83,104,0.55), transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(232,249,255,0.06), transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(63,182,201,0.10), transparent 40%);
}
.manifesto-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1px 1px at 28% 45%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(2px 2px at 42% 22%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1px 1px at 58% 70%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 38%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1px 1px at 85% 60%, var(--starlight) 50%, transparent 100%),
    radial-gradient(2px 2px at 18% 75%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1px 1px at 92% 12%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1px 1px at 5% 50%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 65% 88%, var(--nebula-glow) 50%, transparent 100%);
  opacity: .85;
  animation: twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}
.manifesto-text {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 6vw, 96px);
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 1200px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.manifesto-text .word {
  display: inline-block;
  transition: opacity .4s, color .4s, text-shadow .4s;
  opacity: .2;
  margin: 0 .15em;
}
.manifesto-text .word.lit { opacity: 1; }
.manifesto-text .word.accent {
  color: var(--nebula-glow);
  font-style: italic;
  text-shadow: 0 0 30px rgba(126,232,245,0.4);
}
.manifesto-spacer { height: 300vh; }

/* ========== SHOWCASE ========== */
.showcase {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  padding: 160px 32px 200px;
  overflow: hidden;
  z-index: 1;
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(21,83,104,0.4), transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(63,182,201,0.18), transparent 60%);
  pointer-events: none;
}
.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 22%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 22% 60%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1px 1px at 38% 18%, var(--starlight) 50%, transparent 100%),
    radial-gradient(2px 2px at 55% 75%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1px 1px at 72% 32%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 68%, var(--starlight) 50%, transparent 100%);
  opacity: .5;
  animation: twinkle 5s ease-in-out infinite alternate;
  pointer-events: none;
}
.showcase-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}
.showcase-header { margin-bottom: 100px; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: auto auto;
  gap: 32px;
}
.showcase-card {
  position: relative;
  border: 1px solid rgba(126,232,245,0.18);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(12,42,53,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .5s, box-shadow .5s;
}
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126,232,245,0.45);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 60px rgba(63,182,201,0.15);
}
.showcase-card-eyebrow {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .55;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.showcase-card-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--nebula-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(126,232,245,0.7);
  animation: pulse 2s ease-in-out infinite;
}
.showcase-card-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.6) 30%, rgba(10,10,10,0.85) 100%);
  z-index: 5;
}
.showcase-card-foot h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.showcase-card-foot h3 em {
  font-style: italic;
  color: var(--nebula-glow);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.showcase-card-foot p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  opacity: .6;
  text-transform: uppercase;
}

/* --- Card 1: Constellation --- */
.card-constellation { grid-row: 1 / span 2; min-height: 680px; }
.constellation-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.constellation-line {
  stroke: var(--nebula-cyan);
  stroke-width: 1;
  fill: none;
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawLine 6s ease-out forwards infinite;
}
.constellation-line.l1 { animation-delay: 0s;   }
.constellation-line.l2 { animation-delay: .4s;  }
.constellation-line.l3 { animation-delay: .8s;  }
.constellation-line.l4 { animation-delay: 1.2s; }
.constellation-line.l5 { animation-delay: 1.6s; }
.constellation-line.l6 { animation-delay: 2.0s; }
.constellation-line.l7 { animation-delay: 2.4s; }
.constellation-line.l8 { animation-delay: 2.8s; }
.constellation-node circle {
  fill: var(--nebula-glow);
  filter: drop-shadow(0 0 8px var(--nebula-glow));
  animation: nodePulse 3s ease-in-out infinite;
}
.constellation-node:nth-child(1) circle { animation-delay: 0s;   }
.constellation-node:nth-child(2) circle { animation-delay: .4s;  }
.constellation-node:nth-child(3) circle { animation-delay: .8s;  }
.constellation-node:nth-child(4) circle { animation-delay: 1.2s; }
.constellation-node:nth-child(5) circle { animation-delay: 1.6s; }
.constellation-node:nth-child(6) circle { animation-delay: 2.0s; }
.constellation-node:nth-child(7) circle { animation-delay: 2.4s; }
.constellation-node:nth-child(8) circle { animation-delay: 2.8s; }
.constellation-label {
  fill: var(--starlight);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}

/* --- Card 2: Dashboard --- */
.card-dashboard {
  aspect-ratio: 1.15/1;
  background: linear-gradient(135deg, rgba(12,42,53,0.95) 0%, rgba(21,83,104,0.85) 100%);
}
.dash-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126,232,245,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,232,245,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.dash-content {
  position: absolute;
  inset: 60px 28px 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dash-headline {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -.01em;
  opacity: .8;
}
.dash-counter {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--nebula-glow);
  font-variation-settings: "opsz" 144;
  text-shadow: 0 0 40px rgba(126,232,245,0.4);
}
.dash-counter em { font-style: italic; font-size: 36px; opacity: .7; }
.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-top: auto;
}
.dash-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--nebula-glow) 0%, var(--nebula-cyan) 100%);
  border-radius: 2px 2px 0 0;
  animation: barRise 3s ease-in-out infinite;
  transform-origin: bottom;
  opacity: .85;
}
.dash-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(126,232,245,0.12);
  font-family: var(--mono);
  font-size: 11px;
  opacity: .85;
}
.dash-row .key { opacity: .6; letter-spacing: .05em; }
.dash-row .val { color: var(--nebula-glow); font-weight: 500; }
.dash-row .arrow { display: inline-block; margin-left: 6px; animation: arrowJiggle 2s ease-in-out infinite; }

/* --- Card 3: Aurora --- */
.card-aurora { aspect-ratio: 1.15/1; background: #000; }
.aurora-canvas { position: absolute; inset: 0; overflow: hidden; }
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora-blob.b1 { width:65%; height:65%; background:#3fb6c9; top:-10%; left:-10%; animation:floatA 14s ease-in-out infinite; }
.aurora-blob.b2 { width:55%; height:55%; background:#7ee8f5; top:30%; left:35%; animation:floatB 18s ease-in-out infinite; }
.aurora-blob.b3 { width:50%; height:50%; background:#155368; bottom:-10%; right:-5%; animation:floatC 16s ease-in-out infinite; }
.aurora-blob.b4 { width:30%; height:30%; background:#e8f9ff; top:60%; left:10%; animation:floatA 12s ease-in-out infinite reverse; opacity:.5; }
.aurora-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.aurora-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; height: 60%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.aurora-orbit svg { width: 100%; height: 100%; animation: rotate 40s linear infinite; }
.aurora-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  z-index: 5;
}
.aurora-center .num {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--starlight);
  text-shadow: 0 0 30px rgba(126,232,245,0.6);
  font-variation-settings: "opsz" 144;
}
.aurora-center .num em {
  font-style: italic;
  color: var(--nebula-glow);
  font-size: 48px;
  margin-left: 4px;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.aurora-center .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .65;
  margin-top: 8px;
  color: var(--starlight);
}

/* ========== CAMPAIGNS ========== */
.campaigns { background: var(--bone); padding: 140px 32px 100px; position: relative; z-index: 1; }
.campaigns-inner { max-width: 1400px; margin: 0 auto; }
.campaigns-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 80px;
  gap: 60px;
  flex-wrap: wrap;
}
.campaigns-header h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 120px);
  line-height: .95;
  letter-spacing: -.04em;
}
.campaigns-header h2 em {
  font-style: italic;
  color: var(--rust);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.campaigns-header p { font-family: var(--display); font-style: italic; font-size: 18px; max-width: 380px; line-height: 1.4; opacity: .7; }
.campaigns-grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap: 24px;
}
.campaign {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.campaign:hover { transform: translateY(-6px); }
.campaign:hover .campaign-art { transform: scale(1.04); }
.campaign-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.campaign-art svg { width: 100%; height: 100%; display: block; }
.campaign-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.0) 0%, rgba(10,10,10,0.0) 45%, rgba(10,10,10,0.55) 80%, rgba(10,10,10,0.85) 100%);
  pointer-events: none;
}
.campaign-meta {
  position: absolute;
  top: 24px; left: 24px; right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  z-index: 3;
}
.campaign-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(10,10,10,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(244,241,234,0.18);
  display: flex; align-items: center; gap: 8px;
}
.campaign-tag::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--nebula-glow);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--nebula-glow);
}
.campaign-num { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--bone); opacity: .6; }
.campaign-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 28px 28px;
  color: var(--bone);
  z-index: 3;
}
.campaign-foot .client { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .65; margin-bottom: 10px; }
.campaign-foot h3 { font-family: var(--display); font-weight: 300; font-size: 30px; line-height: 1.05; letter-spacing: -.025em; font-variation-settings: "opsz" 144, "SOFT" 30; }
.campaign-foot h3 em { font-style: italic; color: var(--nebula-glow); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.campaign-foot .stats { display: flex; gap: 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(244,241,234,0.18); }
.campaign-foot .stats div { display: flex; flex-direction: column; gap: 2px; }
.campaign-foot .stats .v { font-family: var(--display); font-size: 20px; font-weight: 400; letter-spacing: -.01em; }
.campaign-foot .stats .v em { font-style: italic; color: var(--nebula-glow); }
.campaign-foot .stats .k { font-family: var(--mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; opacity: .55; }
.campaign.feature { grid-row: 1 / span 1; aspect-ratio: auto; }

/* ========== SERVICES ========== */
.services { padding: 140px 32px 60px; background: var(--bone); }
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  opacity: .6;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 40px;
}
.section-label::before { content: ""; width: 8px; height: 8px; background: var(--rust); border-radius: 50%; }
.section-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 140px);
  line-height: .92;
  letter-spacing: -.04em;
  margin-bottom: 80px;
}
.section-title em { font-style: italic; color: var(--rust); }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  cursor: pointer;
  transition: background .4s, padding .4s;
  text-decoration: none;
  color: inherit;
}
.service-row:hover { background: var(--ink); color: var(--bone); padding: 40px 24px; }
.service-row:hover .service-arrow { transform: translateX(8px); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-num { font-family: var(--mono); font-size: 13px; opacity: .5; }
.service-name { font-family: var(--display); font-size: 36px; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.service-name em { font-style: italic; color: var(--rust); }
.service-row:hover .service-name em { color: var(--acid); }
.service-desc { font-size: 15px; line-height: 1.5; opacity: .75; max-width: 480px; }
.service-arrow { font-family: var(--display); font-size: 32px; text-align: right; transition: transform .4s; }

/* ========== WORK (horizontal scroll) ========== */
.work { background: var(--ink); color: var(--bone); padding: 140px 0 80px; overflow: hidden; position: relative; }
.work::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(21,83,104,0.45), transparent 65%),
    radial-gradient(ellipse 40% 30% at 95% 90%, rgba(63,182,201,0.18), transparent 60%);
  pointer-events: none;
}
.work-header, .work-track, .work-hint { position: relative; z-index: 1; }
.work-header { padding: 0 32px 80px; }
.work-header .section-label { opacity: .7; }
.work-header .section-label::before { background: var(--acid); }
.work-track {
  display: flex;
  gap: 32px;
  padding: 0 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 24px;
  cursor: grab;
}
.work-track:active { cursor: grabbing; }
.work-track::-webkit-scrollbar { display: none; }
.work-hint {
  padding: 0 32px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .5;
}
.work-hint .arrows { display: flex; gap: 8px; }
.work-hint button {
  background: transparent;
  border: 1px solid var(--bone);
  color: var(--bone);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: background .3s, color .3s;
}
.work-hint button:hover { background: var(--bone); color: var(--ink); }
.work-card { flex: 0 0 min(560px, 80vw); scroll-snap-align: start; }
.work-img {
  aspect-ratio: 4/5;
  background: var(--char);
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.work-card:hover .work-img { transform: scale(1.02); }
.work-img.w1 { background: linear-gradient(135deg, #3fb6c9 0%, #1f7a8c 50%, #0c2a35 100%); }
.work-img.w2 { background: radial-gradient(circle at 30% 30%, #7ee8f5 0%, #1a1a1a 60%); }
.work-img.w3 { background: linear-gradient(180deg, #3fb6c9 0%, #ebe7dd 100%); }
.work-img.w4 { background: linear-gradient(135deg, #0c2a35 0%, #155368 60%, #3fb6c9 100%); }
.work-img.w5 { background: linear-gradient(135deg, #f4f1ea 0%, #7ee8f5 100%); }
.work-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .6; margin-bottom: 8px; }
.work-title { font-family: var(--display); font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.work-title em { font-style: italic; color: var(--acid); }

/* ========== FEATURE / PARALLAX ========== */
.feature { position: relative; background: var(--paper); padding: 160px 32px; overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1400px; margin: 0 auto; }
.feature-visual { aspect-ratio: 1; position: relative; }
.feature-text h2 { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; margin-bottom: 32px; }
.feature-text h2 em { font-style: italic; color: var(--rust); }
.feature-text p { font-size: 18px; line-height: 1.6; margin-bottom: 20px; max-width: 500px; }
.feature-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.feature-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.feature-list li span:last-child { opacity: .5; }

/* ========== TESTIMONIALS ========== */
.voices { padding: 140px 32px; background: var(--bone); }
.voice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; margin-top: 60px; }
.voice { padding: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); position: relative; transition: transform .4s; }
.voice:nth-child(odd) { transform: translateY(20px); }
.voice:hover { transform: translateY(-4px); }
.voice:nth-child(odd):hover { transform: translateY(16px); }
.voice-quote { font-family: var(--display); font-size: 24px; font-weight: 300; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 32px; }
.voice-quote em { font-style: italic; color: var(--rust); }
.voice-author { display: flex; justify-content: space-between; align-items: end; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; border-top: 1px solid var(--line); padding-top: 20px; }
.voice-author strong { font-weight: 500; }
.voice-author span { opacity: .5; }

/* ========== CTA / FOOTER ========== */
.end { background: var(--ink); color: var(--bone); padding: 160px 32px 60px; position: relative; overflow: hidden; }
.end::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 35% 65%, var(--nebula-glow) 50%, transparent 100%),
    radial-gradient(1px 1px at 60% 30%, var(--starlight) 50%, transparent 100%),
    radial-gradient(1px 1px at 80% 75%, var(--starlight) 50%, transparent 100%),
    radial-gradient(2px 2px at 92% 22%, var(--nebula-glow) 50%, transparent 100%);
  opacity: .6;
  pointer-events: none;
  animation: twinkle 5s ease-in-out infinite alternate;
}
.end::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(232,249,255,0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(21,83,104,0.4), transparent 65%),
    radial-gradient(ellipse 40% 40% at 85% 60%, rgba(63,182,201,0.12), transparent 60%);
}
.end-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }
.end h2 { font-family: var(--display); font-weight: 300; font-size: clamp(60px, 12vw, 200px); line-height: .9; letter-spacing: -.04em; margin-bottom: 60px; }
.end h2 em { font-style: italic; color: var(--acid); }
.end-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; border-top: 1px solid var(--line-light); padding-top: 60px; }
.end-row p { font-size: 18px; line-height: 1.5; max-width: 500px; opacity: .85; }
.end-row h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .5; margin-bottom: 16px; }
.end-row a { color: var(--bone); text-decoration: none; display: block; font-size: 18px; margin-bottom: 8px; transition: color .3s; }
.end-row a:hover { color: var(--nebula-glow); text-shadow: 0 0 12px rgba(126,232,245,0.4); }

/* ========== LEAD FORM ========== */
.lead-form { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; max-width: 560px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: flex; flex-direction: column; }
.field label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; opacity: .55; margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  background: rgba(126,232,245,0.04);
  border: 1px solid rgba(126,232,245,0.18);
  color: var(--bone);
  padding: 14px 16px;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -.005em;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; font-family: var(--body); font-size: 15px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(244,241,234,0.32); font-style: italic; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--nebula-glow);
  background: rgba(126,232,245,0.07);
  box-shadow: 0 0 0 3px rgba(126,232,245,0.10);
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237ee8f5' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.field select option { background: #0a0a0a; color: var(--bone); }
.submit-btn {
  background: var(--nebula-glow);
  color: var(--ink);
  border: none;
  padding: 18px 28px;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 500;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, background .3s;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  box-shadow: 0 0 0 0 rgba(126,232,245,0);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(126,232,245,0.4); }
.submit-btn:active { transform: translateY(0); }
.submit-btn[disabled] { opacity: .5; cursor: wait; }
.submit-btn .arrow { transition: transform .3s; }
.submit-btn:hover .arrow { transform: translateX(4px); }
.form-status { font-family: var(--display); font-size: 15px; font-style: italic; margin-top: 8px; min-height: 24px; transition: opacity .3s; }
.form-status.success { color: var(--nebula-glow); }
.form-status.error { color: #ff8a73; }
.end-row.with-form { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 60px; }
.footer-row {
  margin-top: 120px;
  border-top: 1px solid var(--line-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .campaigns-grid { grid-template-columns: 1fr 1fr; }
  .campaign.feature { grid-column: 1 / span 2; aspect-ratio: 16/10; }
}
@media (max-width: 768px) {
  nav.top ul { display: none; }
  nav.top { padding: 14px 20px; }
  .hero { padding: 120px 20px 40px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat .num { font-size: 36px; }
  .marquee-track { font-size: 42px; }
  .services, .voices, .end, .feature { padding-left: 20px; padding-right: 20px; }
  .service-row { grid-template-columns: 40px 1fr 30px; }
  .service-desc { display: none; }
  .service-row:hover { padding: 40px 12px; }
  .service-name { font-size: 24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .voice-grid { grid-template-columns: 1fr; }
  .voice:nth-child(odd) { transform: none; }
  .end-row { grid-template-columns: 1fr; gap: 40px; }
  .footer-row { flex-direction: column; gap: 8px; }
  .lead-row { grid-template-columns: 1fr; }
  .end-row.with-form { grid-template-columns: 1fr; gap: 40px; }
  .showcase { padding: 100px 20px 120px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .card-constellation { grid-row: auto; min-height: 480px; }
  .card-dashboard, .card-aurora { aspect-ratio: 1/1; }
  .dash-counter { font-size: 48px; }
  .aurora-center .num { font-size: 54px; }
  .aurora-center .num em { font-size: 34px; }
}
@media (max-width: 600px) {
  .campaigns { padding: 80px 20px; }
  .campaigns-grid { grid-template-columns: 1fr; gap: 16px; }
  .campaign.feature { grid-column: auto; aspect-ratio: 4/5; }
  .campaign { aspect-ratio: 4/5; }
  .campaign-foot h3 { font-size: 24px; }
}
