/* ==========================================================================
   bluesight.ai — Awwwards-Inspired Visual Editorial Exhibition
   Pure Vanilla CSS | Obsidian, Warm Museum Paper, Electric Cobalt & Acid #E7E72B
   ========================================================================== */

:root {
  --obsidian: #060a12;
  --obsidian-2: #0c1322;
  --cream: #f4f1ea;
  --ink: #0a101d;
  --ink-soft: #435066;
  --cobalt: #1f6bff;
  --cobalt-bright: #5b9bff;
  --acid: #e7e72b;
  --emerald: #19c37d;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(10, 16, 29, 0.14);

  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--obsidian); }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--obsidian);
  color: #f4f7fc;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: rgba(31, 107, 255, 0.12);
}

.serif { font-family: var(--font-serif); font-weight: 400; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.italic { font-style: italic; }
.acid { color: var(--acid); }
.cobalt { color: var(--cobalt-bright); }
.emerald { color: var(--emerald); }
.blue-dark { color: var(--cobalt); }
.relative-z { position: relative; z-index: 5; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Film grain texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Pointer Halo */
.cursor-halo {
  position: fixed;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(231, 231, 43, 0.65);
  pointer-events: none;
  z-index: 85;
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, height 0.22s ease, opacity 0.22s ease;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor-halo.is-active { opacity: 1; }
.cursor-halo.is-hover { width: 54px; height: 54px; }

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--obsidian);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3rem);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}
.preloader.is-done {
  transform: translateY(-102%);
  pointer-events: none;
}
.preloader-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}
.skip-btn {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}
.skip-btn:hover { color: #ffffff; }
.preloader-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--acid);
  margin-bottom: 0.75rem;
}
.preloader-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.preloader-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.preloader-note { font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.preloader-pct { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--acid); }
.preloader-bar-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--acid);
  transition: width 0.08s linear;
}

/* Scroll Progress */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.06);
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cobalt), var(--acid));
  transition: width 60ms linear;
}

/* Floating Pill Header */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 24px));
  z-index: 70;
  background: rgba(8, 13, 24, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 10px 14px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.site-header.light-mode {
  background: rgba(244, 241, 234, 0.86);
  border-color: var(--line-light);
  color: var(--ink);
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}
.brand-tld { color: var(--cobalt-bright); }
.site-header.light-mode .brand-tld { color: var(--cobalt); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 247, 252, 0.68);
  padding: 6px 11px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}
.site-header.light-mode .nav-link { color: var(--ink-soft); }
.site-header.light-mode .nav-link:hover,
.site-header.light-mode .nav-link.active {
  color: var(--ink);
  background: rgba(10, 16, 29, 0.08);
}

.hdr-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: 0;
  background: var(--acid);
  color: var(--obsidian);
  cursor: pointer;
}
.site-header.light-mode .hdr-btn {
  background: var(--ink);
  color: var(--acid);
}

/* Side Chapter Dots */
.chapter-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chapter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.chapter-dot.is-active {
  background: var(--acid);
  border-color: var(--acid);
  transform: scale(1.35);
}
.chapter-rail.on-light .chapter-dot { border-color: rgba(10, 16, 29, 0.35); }
.chapter-rail.on-light .chapter-dot.is-active { background: var(--cobalt); border-color: var(--cobalt); }

/* Buttons & Interactions */
.magnetic {
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), background 200ms ease, opacity 200ms ease;
  will-change: transform;
}
.btn-acid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  background: var(--acid);
  color: var(--obsidian);
  font-weight: 700;
  font-size: 0.92rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 36px -10px rgba(231, 231, 43, 0.45);
}
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.11); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; }
.btn-full { width: 100%; text-transform: uppercase; letter-spacing: 0.06em; }

/* Reveal Mechanics */
.reveal-mask { overflow: hidden; display: block; }
.reveal-line {
  display: block;
  transform: translateY(108%);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}
body.hero-ready .reveal-line { transform: translateY(0%); }
body.hero-ready .reveal-line.d1 { transition-delay: 0.08s; }
body.hero-ready .reveal-line.d2 { transition-delay: 0.22s; }

.sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr.in { opacity: 1; transform: translateY(0); }

/* ACT 0: HERO */
.act-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--obsidian);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 32%, rgba(31, 107, 255, 0.22), transparent 52%),
    radial-gradient(circle at 18% 78%, rgba(231, 231, 43, 0.09), transparent 45%);
}
.hero-stage {
  position: relative;
  z-index: 10;
  padding-top: clamp(6.5rem, 12vw, 9rem);
  padding-bottom: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}
.hero-headline {
  font-size: clamp(3.2rem, 8.2vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 2.25rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: end;
}
.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.74);
  max-width: 560px;
}
.hero-lead strong { color: #ffffff; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.hero-kpi-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 1.1rem;
}
.kpi-lbl { font-size: 11px; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 0.3rem; }
.kpi-val { font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 700; line-height: 1.1; }
.kpi-sub { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 0.3rem; }

/* Marquee */
.marquee-wrap {
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(6, 10, 18, 0.65);
  padding-block: 0.9rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78);
  animation: marqueeScroll 34s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Shared Section Styling */
.section-cream {
  background: var(--cream);
  color: var(--ink);
  padding-block: clamp(4.5rem, 9vw, 7rem);
  border-bottom: 1px solid var(--line-light);
}
.section-dark {
  position: relative;
  background: var(--obsidian);
  color: #ffffff;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.kicker-blue {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cobalt);
  margin-bottom: 0.85rem;
}
.kicker-acid {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--acid);
  margin-bottom: 0.85rem;
}
.display-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.acid-underline {
  text-decoration: underline;
  text-decoration-color: var(--acid);
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}
.section-head-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.section-side-copy { font-size: 0.98rem; color: var(--ink-soft); }
.section-head-wide { max-width: 780px; margin-bottom: 3.5rem; }
.section-lead-dark { font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); margin-top: 1.25rem; }

/* ACT 1: MACRO LAYOUT */
.macro-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem;
  align-items: start;
}
.macro-beats { display: flex; flex-direction: column; gap: 1rem; }
.beat-card {
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.beat-card:hover { background: #ffffff; transform: translateX(4px); }
.beat-card.is-active {
  background: #ffffff;
  border-color: var(--ink);
  box-shadow: 0 22px 46px -24px rgba(10, 16, 29, 0.34);
}
.beat-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.55rem; }
.beat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); }
.pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill-acid { background: var(--acid); color: var(--ink); }
.pill-ink { background: var(--ink); color: #ffffff; }
.pill-blue { background: var(--cobalt); color: #ffffff; }
.beat-number { font-size: clamp(2.8rem, 4.5vw, 3.8rem); line-height: 1; margin-bottom: 0.55rem; }
.beat-text { font-size: 0.9rem; color: var(--ink-soft); }

.macro-sticky { position: sticky; top: 94px; }
.sculpture-panel {
  background: var(--ink);
  color: #ffffff;
  border-radius: 26px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 32px 80px -24px rgba(10, 16, 29, 0.45);
}
.sculpture-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.sculpture-kicker { font-size: 11px; letter-spacing: 0.18em; color: var(--acid); }
.sculpture-title { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 0.25rem; }
.sculpture-badge { font-size: 11px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.7); }
.sculpture-stage { min-height: 300px; display: flex; align-items: center; justify-content: center; }
.sculpture-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

/* ACT 2: ONCOLOGY */
.cancer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 28%, rgba(31, 107, 255, 0.16), transparent 50%),
    radial-gradient(circle at 82% 72%, rgba(25, 195, 125, 0.12), transparent 48%);
}
.onco-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.onco-stage-panel {
  background: var(--obsidian-2);
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.onco-stage-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.onco-mode-label { font-size: 11px; letter-spacing: 0.16em; color: var(--acid); }
.onco-mode-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 0.2rem; }
.onco-mode-hero { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; color: var(--acid); }

.onco-canvas-frame {
  position: relative;
  width: 100%;
  height: 330px;
  border-radius: 18px;
  background: var(--obsidian);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.onco-canvas { width: 100%; height: 100%; display: block; }
.onco-canvas-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: rgba(6, 10, 18, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.onco-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
}
.onco-meta-k { display: block; color: rgba(255, 255, 255, 0.5); }
.onco-meta-v { font-weight: 600; }

.onco-tabs { display: flex; flex-direction: column; justify-content: space-between; gap: 0.85rem; }
.onco-tab {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 1.2rem 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.onco-tab:hover { background: rgba(255, 255, 255, 0.07); }
.onco-tab.is-active {
  background: rgba(31, 107, 255, 0.16);
  border-color: var(--acid);
  transform: translateX(4px);
}
.onco-tab-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.25rem; }
.onco-tab-k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); }
.onco-tab-n { font-size: 1.25rem; font-weight: 700; }
.onco-tab-h { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.onco-tab-p { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); line-height: 1.5; }

.bridge-quote {
  border-radius: 26px;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid rgba(231, 231, 43, 0.35);
  background: linear-gradient(135deg, #0f1a31, #08101f);
}
.bridge-quote blockquote {
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  line-height: 1.22;
  max-width: 920px;
}

/* ACT 3: PILLARS + ARENA */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}
.tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(231, 231, 43, 0.15), transparent 60%);
}
.tilt-card:hover::after { opacity: 1; }

.pillar-card {
  border-radius: 24px;
  padding: clamp(1.65rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
}
.pillar-dark { background: var(--ink); color: #ffffff; border: 1px solid rgba(10, 16, 29, 0.12); }
.pillar-light {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line-light);
  box-shadow: 0 18px 40px -24px rgba(10, 16, 29, 0.2);
}
.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid currentColor;
  border-bottom-color: rgba(128, 128, 128, 0.22);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.pillar-stat { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.pillar-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 0.8rem; }
.pillar-card p { font-size: 0.92rem; opacity: 0.78; margin-bottom: 1.35rem; flex: 1; }
.pillar-foot {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  font-size: 12px;
  opacity: 0.7;
}
.dot-emerald, .dot-blue, .dot-acid { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-emerald { background: var(--emerald); }
.dot-blue { background: var(--cobalt); }
.dot-acid { background: var(--acid); }

.arena-panel {
  background: var(--ink);
  color: #ffffff;
  border-radius: 26px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 30px 70px -24px rgba(10, 16, 29, 0.4);
}
.arena-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.arena-title { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
.arena-legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 12px; }
.arena-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.swatch-acid, .swatch-blue, .swatch-muted { width: 12px; height: 5px; border-radius: 99px; display: inline-block; }
.swatch-acid { background: var(--acid); }
.swatch-blue { background: var(--cobalt-bright); }
.swatch-muted { background: rgba(255, 255, 255, 0.42); }
.svg-scroll { overflow-x: auto; }
.arena-svg { width: 100%; min-width: 540px; height: auto; display: block; }

/* ACT 4: ROI STUDIO */
.roi-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.preset-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.preset-btn {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.preset-btn:hover { border-color: var(--acid); }
.preset-btn.is-active {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--obsidian);
  font-weight: 700;
}

.roi-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem;
}
.roi-controls-panel, .roi-output-panel {
  background: var(--obsidian-2);
  border: 1px solid var(--line-dark);
  border-radius: 26px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.sliders-stack { display: flex; flex-direction: column; gap: 1.35rem; }
.slider-label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; font-size: 0.9rem; }
.slider-label-row output { font-weight: 700; }
.slider-hint { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 0.35rem; }

input[type="range"].studio-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
  cursor: pointer;
}
input[type="range"].studio-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--acid);
  border: 3px solid var(--obsidian);
  box-shadow: 0 0 0 1px rgba(231, 231, 43, 0.55);
}
input[type="range"].studio-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--acid);
  border: 3px solid var(--obsidian);
}
.roi-toggle { padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.roi-toggle label { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); cursor: pointer; }
.roi-toggle input { margin-top: 0.2rem; width: 16px; height: 16px; accent-color: var(--acid); }

.roi-metrics-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.roi-m-lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); margin-bottom: 0.3rem; }
.roi-net-val { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--acid); letter-spacing: -0.025em; }
.roi-m-val { display: block; font-size: 1.55rem; font-weight: 700; }
.roi-m-sub { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.62); }

.roi-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}
.roi-svg-box {
  border-radius: 16px;
  background: var(--obsidian);
  border: 1px solid var(--line-dark);
  padding: 0.75rem;
  overflow-x: auto;
}
.roi-svg { width: 100%; min-width: 440px; height: auto; display: block; }
.roi-footnote { font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* ACT 5: FINALE */
.section-finale {
  position: relative;
  background: var(--obsidian);
  padding-block: clamp(5.5rem, 11vw, 8.5rem);
  overflow: hidden;
}
.finale-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 60%, rgba(231, 231, 43, 0.12), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(31, 107, 255, 0.22), transparent 55%);
}
.finale-inner { position: relative; z-index: 5; text-align: center; max-width: 860px; }
.finale-title { font-size: clamp(3rem, 7.5vw, 5.8rem); line-height: 0.98; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.finale-copy { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, 0.72); max-width: 660px; margin: 0 auto 2.5rem; }
.finale-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.copy-toast { margin-top: 1.25rem; font-size: 12px; color: var(--emerald); min-height: 1.3em; }

/* Footer */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--line-dark);
  padding-block: 2.5rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.footer-brand { font-size: 0.95rem; font-weight: 700; color: #ffffff; margin-bottom: 0.35rem; }
.footer-citations strong { color: rgba(255, 255, 255, 0.82); }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(4, 7, 14, 0.78);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal-backdrop.is-open { display: flex; }
.modal-box {
  background: var(--obsidian-2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
}
.modal-title { font-size: 2.2rem; margin-bottom: 0.5rem; }
.modal-desc { font-size: 0.9rem; color: rgba(255, 255, 255, 0.68); margin-bottom: 1.35rem; }
.modal-summary {
  background: var(--obsidian);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.modal-summary div { display: flex; justify-content: space-between; }
.modal-summary span:first-child { color: rgba(255, 255, 255, 0.52); }
.modal-form { display: flex; flex-direction: column; gap: 0.8rem; }
.modal-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--obsidian);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}
.modal-form input:focus { outline: none; border-color: var(--acid); }
.modal-feedback { font-size: 12px; color: var(--emerald); margin-top: 0.85rem; min-height: 1.25em; }

/* Responsive */
@media (max-width: 960px) {
  .site-nav, .chapter-rail, .cursor-halo { display: none; }
  .hero-grid, .section-head-split, .macro-layout, .onco-layout, .pillars-grid, .roi-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .macro-sticky { position: static; }
  .roi-metrics-bar { grid-template-columns: 1fr 1fr; }
  .roi-net-col { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero-kpis { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
  .reveal-line { transform: none !important; }
  .sr { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}
