/* ===================================================
   TiByte — Full-Width Alternating Theme Architecture
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset & Base Variables ──────────────────────── */

:root {
  --serif:      'Cormorant Garamond', 'Georgia', serif;
  --sans:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:       'IBM Plex Mono', monospace;

  --max-w:      1280px;   /* Standard content container */
  --gutter:     64px;     /* Horizontal breathing room */
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background-color: #f9f9f6; /* Base fallback */
}

/* ── Theme Wrappers ────────────────────────────── */

.theme-light {
  --bg:           #f8f6f1; /* Warm Cream White */
  --bg-panel:     #ffffff;
  --text:         #111827; /* Dark Charcoal */
  --text-muted:   #666666; /* Standard readable mid-grey */
  --accent:       #007bff; /* Primary Blue Accent */
  --border:       rgba(17, 24, 39, 0.1);
  --selection:    #111827;
  --cta-bg:       #111827;
  --cta-text:     #ffffff;
  --headline-grad: linear-gradient(180deg, #111827 0%, #374151 100%);

  background-color: var(--bg);
  color: var(--text);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.theme-dark {
  --bg:           #0b101e;
  --bg-panel:     #131a2a;
  --text:         #ffffff;
  --text-muted:   #8b96ad;
  --accent:       #6382ad;
  --accent-glow:  rgba(99, 130, 173, 0.4);
  --border:       rgba(255, 255, 255, 0.08);
  --selection:    #6382ad;
  --cta-bg:       #ffffff;
  --cta-text:     #0b101e;
  --headline-grad: linear-gradient(180deg, #ffffff 0%, #aab2c2 100%);

  background-color: var(--bg);
  color: var(--text);
  position: relative; /* Contains absolutely positioned children */
  overflow: hidden;   /* Clips hero-bg-container so it never bleeds into Section 2 */
  z-index: 1;
}

::selection {
  background: var(--selection);
  color: #fff;
}

/* ── Noise / Film Grain Texture ────────────────── */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ── Cinematic Hero Background ─────────────────── */
.hero-bg-container {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 110vh;
  overflow: hidden;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  /* Cinematic pan */
  animation: kenBurns 30s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}

/* Dark scrim overlay to guarantee white text legibility */
.hero-gradient-mask {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(11, 16, 30, 0.9) 0%, rgba(11, 16, 30, 0.6) 50%, rgba(11, 16, 30, 0.1) 100%),
              linear-gradient(to bottom, rgba(11, 16, 30, 0.4) 0%, rgba(11, 16, 30, 0.7) 70%, #0b101e 100%);
}

/* Ambient Radial Glows for dark theme */
.ambient-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99,130,173,0.06) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

/* ── Section Nav — Notion-style right rail ──────── */
.section-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
}

/* The thin vertical connecting line */
.section-nav-line {
  position: absolute;
  right: 5px; /* Center behind 9px dots → 9/2 - 1/2 ≈ 4-5px */
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 123, 255, 0.2);
}

.section-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  align-items: flex-end;
}

.section-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
}

/* Label — always visible but muted; brightens on hover/active */
.section-nav-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  opacity: 1;
  transform: translateX(0);
  transition: color 0.25s ease;
  pointer-events: none;
}

/* Dot — always blue, inactive is translucent blue */
.section-nav-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.25);
  border: 1.5px solid rgba(0, 123, 255, 0.5);
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

/* Hover: show label + brighten dot */
.section-nav-item:hover .section-nav-label {
  color: rgba(255, 255, 255, 0.9);
}

.section-nav-item:hover .section-nav-dot {
  background: rgba(0, 123, 255, 0.55);
  border-color: #007bff;
  transform: scale(1.2);
}

/* Active: solid filled blue dot + label visible */
.section-nav-item.active .section-nav-dot {
  background: #007bff;
  border-color: #007bff;
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
}

.section-nav-item.active .section-nav-label {
  color: #ffffff;
}

/* Light section overrides — only labels shift to dark text; dots stay blue */
.section-nav.theme-on-light .section-nav-line {
  background: rgba(0, 123, 255, 0.18);
}

.section-nav.theme-on-light .section-nav-label {
  color: rgba(17, 24, 39, 0.45);
}

.section-nav.theme-on-light .section-nav-item:hover .section-nav-label {
  color: rgba(17, 24, 39, 0.9);
}

.section-nav.theme-on-light .section-nav-item.active .section-nav-label {
  color: #111827;
}

/* Mobile: hide */
@media (max-width: 1024px) {
  .section-nav { display: none; }
}



/* ── Layout & Sections ─────────────────────────── */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.hero {
  padding-top: 0;
  padding-bottom: 80px;
  min-height: 100vh; /* fallback */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #f8fafc;
  margin-bottom: 48px;
  padding: 10px 28px 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(16px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-logo:hover {
  border-color: rgba(99, 130, 173, 0.3);
  box-shadow: 0 0 20px rgba(99, 130, 173, 0.08);
}

.hero-logo .status-dot {
  width: 7px;
  height: 7px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
  animation: pulseDot 3s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 6px rgba(59, 130, 246, 0.4); }
  50% { opacity: 1; box-shadow: 0 0 16px rgba(59, 130, 246, 0.8); }
}

/* Split Layout — standard 45/55 column proportion */
.split-layout {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 60px;
  align-items: stretch;
}

.split-left {
  /* No sticky — left and right are now matched height */
  position: relative;
}

.split-right {
  display: flex;
  flex-direction: column;
}

/* Premium Transition Divider */
.glowing-divider {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  z-index: 2;
}

/* ── Typography (Dynamic by Theme) ─────────────── */
.schematic-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}

.headline {
  font-family: var(--serif);
  font-weight: 400; /* Lighter weight for elegance */
  line-height: 1.15;
  letter-spacing: -0.01em;
  /* Dynamic gradient mask */
  background: var(--headline-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mixed italic styling */
.headline i {
  font-style: italic;
  font-weight: 400;
  font-family: var(--serif);
}

.headline--hero {
  font-size: clamp(2.8rem, 4.5vw, 5rem); /* Controlled: max 5rem, not 7rem */
  line-height: 1.08;
  margin-bottom: 28px;
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.headline--section {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  margin-bottom: 24px;
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.subheadline {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.body-text {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 520px; /* ~65 chars — optimal reading measure */
  position: relative;
  z-index: 2;
}

.supporting-line {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-top: 48px;
  max-width: 600px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ── Interactive Dynamic CTA Button ────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta-text);
  background: var(--cta-bg);
  padding: 16px 36px;
  text-decoration: none;
  border-radius: 100px; /* Pill shape */
  transition: all 0.3s ease;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  background: var(--accent);
  color: #fff;
}

.theme-dark .cta:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 15px var(--accent-glow);
}

/* ── Scroll Reveal Animations ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.60s; }

/* ── Section 2: Narrative Redesign ──────────────── */

/* Pull-quote: the dramatic one-liner */
.pull-quote {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  margin: 40px 0;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

/* ── Narrative Timeline ────────────────────────── */
.narrative-timeline {
  margin-top: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 24px;
}

.timeline-line {
  position: absolute;
  left: 5px; /* Aligns with the center of the nodes */
  top: 6px;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-line.active {
  transform: scaleY(1);
}

.timeline-step {
  position: relative;
}

.timeline-node {
  position: absolute;
  left: -24px; /* Center node exactly on the line */
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  transition: border-color 0.4s ease 0.2s, box-shadow 0.4s ease 0.2s, background-color 0.4s ease 0.2s;
  z-index: 2;
}

/* When the step reveals, light up the node */
.timeline-step.active .timeline-node {
  border-color: var(--accent);
  background: var(--accent);
}

.timeline-content {
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.timeline-step.active .timeline-content {
  opacity: 1;
  transform: translateX(0);
}

.timeline-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.timeline-content .body-text {
  margin-bottom: 0;
}
.data-stack-container {
  padding: 40px 40px;
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    #0b101e 0%,
    #0d1a2e 25%,
    #091520 50%,
    #0f1d30 75%,
    #0b101e 100%
  );
  background-size: 400% 400%;
  animation: meshShift 18s ease infinite;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: none;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  position: static;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@keyframes meshShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.data-stack-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Editorial Grid: 2-column to match left panel height ── */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
}

.editorial-card {
  position: relative;
  padding: 20px 16px 20px 20px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: default;
  /* Explicitly define all transitions to prevent conflicts with .reveal classes */
  transition: background 0.2s ease, opacity 0.8s ease, transform 0.8s ease;
}

/* Remove right border from the right column */
.editorial-card:nth-child(2n) {
  border-right: none;
}

/* Last card spans both columns (5 is odd) */
.editorial-card:last-child {
  grid-column: 1 / -1;
  border-bottom: none;
  border-right: none;
}

/* Animated left accent border: wipes in from top on hover */
.editorial-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: #007bff;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover::before {
  transform: scaleY(1);
}

.editorial-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Shimmer flash when counter lands */
@keyframes shimmerFlash {
  0%   { background: rgba(0, 123, 255, 0); }
  30%  { background: rgba(0, 123, 255, 0.12); }
  100% { background: rgba(255, 255, 255, 0); }
}

.editorial-card.counter-done {
  animation: shimmerFlash 0.6s ease forwards;
}

/* ── Stat Number Typography ────────────────────── */
.stat-number {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 6px;
}

/* Blue counting number — matches section headline (Cormorant Garamond) */
.counter-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
  color: #007bff;
  letter-spacing: -0.01em;
  text-shadow: none;
}

.counter-suffix {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: #007bff;
  letter-spacing: -0.01em;
  margin-left: 1px;
}

.stat-desc {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
  max-width: 340px;
}

/* Let the full-width bottom card use its extra space so text spans 2 lines */
.editorial-card:last-child .stat-desc {
  max-width: 560px;
}

/* ── TiByte's Viewpoint Callout ─────────────────── */
/* (removed — viewpoint section deleted from Section 2) */

/* ── Section 2 Responsive ──────────────────────── */
@media (max-width: 1024px) {
  .data-stack-container {
    position: relative;
    top: 0;
    padding: 32px 28px;
  }
  .counter-num { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-card:last-child { grid-column: 1; border-top: none; }
  .data-stack-container { padding: 28px 20px; }
  .counter-num { font-size: 2rem; }
  .counter-suffix { font-size: 1rem; }
  .stat-desc { max-width: 100%; }
}

/* ── Glowing Hover Grid (TiByte Approach) ──────── */
/* ── Section 3: Thesis Index ────────────────────── */
.split-left {
  position: relative;
}

.sticky-container {
  position: sticky;
  top: 140px;
}

.thesis-index {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Dim un-hovered rows to create holistic focus */
.thesis-index:hover .thesis-row:not(:hover) {
  opacity: 0.3;
}

.thesis-row {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: opacity 0.35s ease;
  cursor: default;
}

.thesis-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Subtle mouse-tracking frost/glow effect behind the text */
.thesis-row::before {
  content: "";
  position: absolute;
  top: 0; left: -24px; right: -24px; bottom: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(255, 255, 255, 0.03),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 12px;
}

.thesis-row:hover::before {
  opacity: 1;
}

.thesis-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #007bff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

.thesis-row:hover .thesis-title {
  transform: translateX(8px);
  color: #3b82f6;
}

.thesis-desc {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  max-width: 90%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.thesis-row:hover .thesis-desc {
  transform: translateX(8px);
}

/* ═══════════════════════════════════════════════════
   Section 4 — The Approach: Indexed Manifest
   ═══════════════════════════════════════════════════ */

/* Tighter section padding vs. global 120px */
#the-approach {
  padding: 100px 0;
}

/* ── Section header ───────────────────────────────── */
.approach-header {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.approach-headline {
  margin-bottom: 24px;
  max-width: 1000px;
}

.approach-intro {
  margin: 0;
  max-width: 850px;
}

/* ── Indexed Manifest Rows ──────────────────────── */
.manifest-index {
  display: flex;
  flex-direction: column;
}

.manifest-row {
  display: grid;
  /* number / slash / icon / title / description */
  grid-template-columns: 72px 24px 44px 1fr 1fr;
  align-items: center;
  gap: 0 40px;
  padding: 36px 0 36px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
  cursor: default;
  transition: opacity 0.35s ease;
}

/* Dim siblings, focus current row */
.manifest-index:hover .manifest-row:not(:hover) {
  opacity: 0.35;
}

/* Left accent bar — same wipe-in used in Sections 2 & 3 */
.manifest-row::before {
  content: '';
  position: absolute;
  left: -var(--gutter); /* Bleeds to the page edge */
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.manifest-row:hover::before {
  transform: scaleY(1);
}

/* Radial frost on hover — same technique as thesis-row */
.manifest-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    1200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 123, 255, 0.03),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.manifest-row:hover::after {
  opacity: 1;
}

/* Large muted serif number */
.manifest-number {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(17, 24, 39, 0.12); /* Very muted — decorative */
  transition: color 0.35s ease;
  user-select: none;
}

.manifest-row:hover .manifest-number {
  color: var(--accent);
}

/* Italic slash separator */
.manifest-slash {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--border);
  line-height: 1;
  transition: color 0.35s ease;
  user-select: none;
}

.manifest-row:hover .manifest-slash {
  color: rgba(0, 123, 255, 0.3);
}

/* Basis title */
.manifest-label {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  display: block;
  transition: color 0.35s ease, transform 0.35s ease;
}

.manifest-row:hover .manifest-label {
  color: var(--accent);
  transform: translateX(6px);
}

/* Description */
.manifest-desc {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  max-width: 100%;
}

/* ── Manifest Row Icons ────────────────────────── */
.manifest-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  transition: color 0.35s ease, transform 0.35s ease;
}

.manifest-icon svg {
  width: 28px;
  height: 28px;
}

.manifest-row:hover .manifest-icon {
  color: var(--accent);
  transform: scale(1.1);
}


.footer {
  padding: 32px 0 32px;
  position: relative;
}

.footer-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-copyright {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-social {
  color: var(--text-muted);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-social:hover {
  color: var(--accent);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Manifest rows: number+slash+icon+title on top row, desc full-width below */
  .manifest-row {
    grid-template-columns: 56px 20px 36px 1fr;
    grid-template-rows: auto auto;
    padding-left: 16px;
  }
  .manifest-desc-col {
    grid-column: 1 / -1;
    padding-top: 16px;
  }
  .manifest-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  /* Approach header stacks */
  .approach-header {
    flex-direction: column;
    gap: 16px;
  }
  /* Manifest rows: fully stacked */
  .manifest-row {
    grid-template-columns: 40px 16px 28px 1fr;
    grid-template-rows: auto auto;
    padding: 24px 0 24px 12px;
  }
  .manifest-number {
    font-size: 2.2rem;
  }
  .manifest-label {
    font-size: 1.3rem;
  }
  .manifest-desc-col {
    grid-column: 1 / -1;
    padding-top: 12px;
  }
  .manifest-icon svg {
    width: 20px;
    height: 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
}
