/* =========================
   RESET + THEME VARIABLES
========================= */

:root{
  /* Core palette */
  --bg: #050505;
  --bg-soft: #0e0e0e;      /* deeper section background */
  --surface-1: #0b0b0b;    /* hero/section glow base */
  --surface-2: #121212;    /* panels / gradients */
  --text: #fcfcfc;
  --text-soft: #ccc;
  --text-dim: #666;
  --muted: #888;

  --panel: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.10);

  --accent: #00f0ff;
  --accent-rgb: 0,240,255;      /* for rgba overlays */
  --accent-2: #d4af37;

  /* Type */
  --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Georgia', serif;

  /* Compatibility aliases (so older rules don't explode) */
  --void-black: var(--bg);
  --sterile-white: var(--text);
  --chrome-silver: #e0e0e0;
  --gold-accent: var(--accent-2);
}

/* Christmas corpo theme: active when body[data-theme="corpo-xmas"] is set */
body[data-theme="corpo-xmas"]{
  --bg: #060606;
  --bg-soft: #0d1110;
  --surface-1: #090b0a;
  --surface-2: #0f1412;

  --text: #fbfbfb;
  --text-soft: #d7d7d7;
  --text-dim: #8a8a8a;
  --muted: #b7b7b7;

  --panel: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.12);

  /* restrained green + gold, with optional “policy red” */
  --accent: #1fbf7a;
  --accent-rgb: 31,191,122;
  --accent-2: #d4af37;
  --holiday-red: #b0122a;
}

/* February: Texas-themed Valentine */
body[data-theme="corpo-feb"]{
  --bg: #07070a;
  --bg-soft: #0f0f12;
  --surface-1: #0b0c11;
  --surface-2: #111217;

  --text: #fff7f8;
  --text-soft: #f1dfe2;
  --text-dim: #a18f95;
  --muted: #b7a6ab;

  --panel: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.08);

  /* Valentine warm pink + Texas blue accent */
  --accent: #ff4d6d;            /* pink heart */
  --accent-rgb: 255,77,109;
  --accent-2: #0b3d91;         /* Texas blue */
  --holiday-red: #b0122a;
}

/* Tinted spurflake spark for Feb hearts */
body[data-theme="corpo-feb"] .spurflake::after{
  background: var(--spark, rgba(255,90,110,0.95));
}
body[data-theme="corpo-feb"] .spurflake{
  filter: drop-shadow(0 0 8px rgba(255,90,110,0.18));
}

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

body{
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3{
  font-weight: 300;
  letter-spacing: -0.02em;
}

.serif{
  font-family: var(--font-serif);
  font-style: italic;
}

.gradient-text{
  background: linear-gradient(90deg, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   LAYOUT UTILITIES
========================= */

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* JS-enhanced fade-in (won’t blank the page if JS fails) */
.section{
  padding: 100px 0;
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

body.js .section{
  opacity: 0;
  transform: translateY(20px);
}

body.js .section.visible{
  opacity: 1;
  transform: translateY(0);
}

.section-title{
  text-align: center;
  margin-bottom: 50px;
}

/* =========================
   TOPBAR (shared with press)
========================= */

.pr-topbar{
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 min(5vw, 48px);
  height: 56px;
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.pr-topbar__logo{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.pr-topbar__logo:hover { text-decoration: none; }

.pr-topbar__logo-mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #000;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 4px;
}

.pr-topbar__logo-text{
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.pr-topbar__nav{
  display: flex;
  gap: 28px;
}

.pr-topbar__nav a{
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-soft);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s;
}

.pr-topbar__nav a:hover{ color: var(--text); }

@media (max-width: 600px){
  .pr-topbar__nav { display: none; }
}

/* =========================
   HERO
========================= */

.hero{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, var(--surface-2) 0%, var(--bg) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(var(--accent-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

.hero-content{
  z-index: 2;
  max-width: min(980px, 92vw);
  padding: 0 14px;
}

.hero h1{
  font-size: clamp(2.0rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: clamp(0.06em, 1.2vw, 0.2em);
  text-transform: uppercase;
  margin-bottom: 20px;

  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 420px){
  .hero h1{ letter-spacing: 0.06em; }
}

.hero p{
  font-size: clamp(1.1rem, 3.8vw, 1.5rem);
  color: var(--muted);
  margin-bottom: 40px;
}

.hero-tagline{
  font-size: 1.05rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse 3s infinite;
}

/* Force the hero-tagline color to the main accent only on the NLT index and Founders page */
body[data-page="nlt"] .hero-tagline,
body[data-page="founders"] .hero-tagline {
  color: #00f0ff;
}

/* =========================
   INTRO COPY
========================= */

.centered-copy{
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.intro-title{
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  margin-bottom: 30px;
}

.intro-lede{
  font-size: 1.2rem;
  color: var(--text-soft);
}

.intro-attribution{
  margin-top: 20px;
  font-style: italic;
  color: var(--text-dim);
}

.intro-press-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--accent-rgb, 0,255,255), 0.3);
  transition: border-color 0.2s, color 0.2s;
}

.intro-press-link:hover {
  color: #fff;
  border-color: #fff;
}

/* =========================
   ECOSYSTEM GRID
========================= */

.grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 700px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover{
  transform: translateY(-5px);
  border-color: var(--accent);
}

.card h3{
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--chrome-silver);
}

.card p{
  color: var(--text-soft);
  font-size: 0.95rem;
  opacity: 0.85;
}

.card-icon{
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

/* =========================
   NETWORK STATE SECTION
========================= */

.network-state{
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.split-layout{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.split-text{
  flex: 1;
  min-width: 300px;
}

.split-text h2{ margin-bottom: 20px; }

.split-text p{
  color: var(--text-soft);
  margin-bottom: 20px;
}

.split-text p:last-child{ margin-bottom: 0; }

.split-visual{
  flex: 1;
  min-width: 300px;
  height: 360px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid #333;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.split-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
}

.split-visual{
  position: relative;
}

.spns-static-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.28; /* static intensity */
}

.visual-label{
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =========================
   PLEDGE SECTION
========================= */

.pledge-section{
  text-align: center;
  background: radial-gradient(circle at center, var(--surface-2) 0%, var(--bg) 80%);
}

.pledge-box{
  background: rgba(0,0,0,0.8);
  border: 1px solid var(--accent-2);
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* subtle “holiday compliance glow” */
body[data-theme="corpo-xmas"] .pledge-box{
  box-shadow:
    0 0 0 1px rgba(176,18,42,0.20),
    0 0 30px rgba(31,191,122,0.08);
}

.pledge-box::before{
  content: "SYSTEM UPLINK: ACTIVE";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 20px;
  color: var(--accent-2);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.pledge-title{
  color: var(--accent-2);
  margin-bottom: 20px;
}

.pledge-text{
  margin-bottom: 30px;
  color: var(--text-soft);
}

/* Buttons */
.btn-group{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn{
  padding: 15px 30px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn:hover{
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.btn-gold{
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn-gold:hover{
  background: var(--accent-2);
  color: #000;
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

/* =========================
   FOOTER
========================= */

footer{
  padding: 50px 20px;
  text-align: center;
  border-top: 1px solid #222;
  color: #555;
  font-size: 0.8rem;
}

.footer-links{
  margin-top: 10px;
}

.footer-links a{
  color: #555;
  text-decoration: none;
}

.footer-links a:hover{
  color: #aaa;
}

.footer-warning{
  margin-top: 20px;
  font-size: 0.7rem;
  opacity: 0.5;
}

/* Redaction gag */
.redacted{
  background-color: #555;
  color: #555;
  user-select: none;
}

.redacted:hover{
  background-color: transparent;
  color: #fff;
  transition: 0.3s;
}

/* Maroon-series: censored by default; glitch-reveal on hover */
.footer-links .maroon-link{
  position: relative;
  display: inline-block;
  color: #555;
}
.footer-links .maroon-link .censored{
  display: inline-block;
  letter-spacing: 0.02em;
}
.footer-links .maroon-link .real{
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 0.22s ease, opacity 0.18s ease;
  pointer-events: none;
}
.footer-links .maroon-link:hover .real{
  clip-path: inset(0 0 0 0);
  opacity: 1;
  animation: glitch 0.6s steps(2) infinite;
}
.footer-links .maroon-link:hover .censored{
  opacity: 0;
  transition: opacity 0.12s ease;
}

@keyframes glitch{
  0%{ transform: translateX(0); text-shadow: none; }
  10%{ transform: translate(-2px,-1px); text-shadow: -2px 0 0 rgba(255,0,150,0.6); }
  20%{ transform: translate(2px,1px); text-shadow: 2px 0 0 rgba(0,200,255,0.55); }
  30%{ transform: translate(-1px,1px); text-shadow: -1px 0 0 rgba(255,0,150,0.5); }
  40%{ transform: translate(1px,-1px); text-shadow: 1px 0 0 rgba(0,200,255,0.4); }
  100%{ transform: translateX(0); text-shadow: none; }
}

/* =========================
   ANIMATIONS
========================= */

@keyframes pulse{
  0% { opacity: 0.6; }
  50%{ opacity: 1; }
  100%{ opacity: 0.6; }
}

/* =========================
   FALLING SPURS OVERLAY
========================= */

#falling-spurs{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}

.spurflake{
  position: absolute;
  top: -12vh;
  left: 0;

  width: var(--s, 18px);
  height: var(--s, 18px);
  opacity: var(--o, 0.75);

  background: var(--img) center/contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.18));

  transform: translate3d(var(--x, 50vw), -12vh, 0);
  animation:
    spurFall var(--d, 10s) linear var(--delay, 0s) infinite,
    spurDrift var(--d2, 4s) ease-in-out var(--delay, 0s) infinite,
    spurSpin var(--d3, 6s) linear var(--delay, 0s) infinite;
}

/* Sparkle burst when the spur reaches the bottom */
.spurflake::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-2px;                 /* sparkle “on the ground” */
  width:6px;
  height:6px;
  transform: translateX(-50%) scale(0);
  border-radius: 50%;
  opacity: 0;
  background: var(--spark, rgba(255,255,255,0.9));
  box-shadow: 0 0 0 0 rgba(255,255,255,0);

  /* run in sync with the fall */
  animation: spurSpark var(--d, 10s) linear var(--delay, 0s) infinite;
}

@keyframes spurSpark{
  0%, 92%{
    opacity: 0;
    transform: translateX(-50%) scale(0);
    box-shadow: 0 0 0 0 rgba(255,255,255,0);
  }
  95%{
    opacity: 0;
    transform: translateX(-50%) scale(0.2);
  }
  96%{
    opacity: 1;
    transform: translateX(-50%) scale(1.6);
    box-shadow:
      0 0 14px 3px color-mix(in srgb, var(--spark) 70%, transparent),
      0 0 28px 10px color-mix(in srgb, var(--spark) 35%, transparent);
  }
  97%{
    opacity: 0.55;
    transform: translateX(-50%) scale(0.9);
  }
  100%{
    opacity: 0;
    transform: translateX(-50%) scale(0);
    box-shadow: 0 0 0 0 rgba(255,255,255,0);
  }
}

@keyframes spurFall{
  to { transform: translate3d(var(--x, 50vw), 112vh, 0); }
}

@keyframes spurDrift{
  0%, 100% { margin-left: 0px; }
  50%      { margin-left: var(--drift, 24px); }
}

@keyframes spurSpin{
  to { rotate: 360deg; }
}

@media (prefers-reduced-motion: reduce){
  #falling-spurs{ display: none; }
}

/* Generic decoration layer */
#decor-layer{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}

.decor-slot{
  pointer-events: none;
}

.nlt-title-wrap{
  position: relative;
  display: inline-block;
}

/* Reduced motion: kill animated decorations */
@media (prefers-reduced-motion: reduce){
  #decor-layer{ display:none !important; }
  .decor-slot{ display:none !important; }
}

/* ---------- Example: Title lights (only if JS mounts them) ---------- */
/* Lights wrapper */
.decor-lights{
  position: absolute;
  left: -8%;
  right: -8%;
  top: -40px;
  height: 56px;         /* room for sag + bulbs */
  pointer-events: none;
}

/* The wire itself (SVG background) */
.decor-wire{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 32px;
  background: var(--wire-bg) center/100% 100% no-repeat;
}

/* Bulbs now use --y from JS */
.decor-bulb{
  position: absolute;
  top: 0;
  width: 10px;
  height: 12px;
  transform: translate(-50%, var(--y, 14px));
  border-radius: 50% 50% 45% 45%;
  background: var(--c, #fff);
  opacity: 0.85;
  box-shadow: 0 0 10px rgba(255,255,255,0.35);
  animation: bulbBlink var(--dur, 2.2s) infinite;
  animation-delay: var(--delay, 0s);
}

.decor-lights::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:0;
  height:32px;
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32' preserveAspectRatio='none'>\
  <path d='M0 14 C 25 26, 75 26, 100 14' fill='none' stroke='white' stroke-opacity='0.22' stroke-width='2'/>\
</svg>") center/100% 100% no-repeat;
}


.decor-bulb::after{
  content:"";
  position:absolute;
  top:-4px;
  left:50%;
  width:8px;
  height:5px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.15);
}

@keyframes bulbBlink{
  0%,100%{ opacity:0.55; filter: brightness(0.85); }
  50%{ opacity:1; filter: brightness(1.45); }
}

/* ---------- Example: Falling spurflakes (page overlay) ---------- */
.spurflake{
  position:absolute;
  top:-12vh;
  left:0;
  width: var(--s, 18px);
  height: var(--s, 18px);
  opacity: var(--o, 0.75);
  background: var(--img) center/contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.18));
  transform: translate3d(var(--x, 50vw), -12vh, 0);
  animation:
    spurFall var(--d, 10s) linear var(--delay, 0s) infinite,
    spurDrift var(--d2, 4s) ease-in-out var(--delay, 0s) infinite,
    spurSpin var(--d3, 6s) linear var(--delay, 0s) infinite;
}

@keyframes spurFall{ to { transform: translate3d(var(--x, 50vw), 112vh, 0); } }
@keyframes spurDrift{ 0%,100%{ margin-left:0 } 50%{ margin-left: var(--drift, 24px); } }
@keyframes spurSpin{ to { rotate: 360deg; } }

.card-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;          /* consistent icon row height */
  margin-bottom: 20px;
}

.card-logo{
  width: 32px;           /* set your “small” target */
  height: 32px;
  object-fit: contain;   /* never stretch */
  display: block;
}

.live-signal .signal-head{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 16px;
  margin-bottom: 18px;
}

.signal-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.signal-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.35);
  opacity: 0.85;
}

.signal-follow{
  color: var(--accent-2);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.signal-follow:hover{
  border-color: var(--accent);
}

.signal-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px){
  .signal-grid{ grid-template-columns: 1fr; }
}

.signal-post{
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.signal-post:hover{
  transform: translateY(-2px);
  border-color: var(--accent);
}

.signal-text{
  color: var(--text-soft);
  white-space: pre-wrap;
}

.signal-foot{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.signal-link{
  color: var(--accent-2);
  text-decoration:none;
}

.signal-link:hover{ text-decoration: none; }

/* Remove underlines from all links site-wide (including hover/focus/active) */
a, a:link, a:visited, a:hover, a:focus, a:active{
  text-decoration: none !important;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  color: inherit; /* keep link color consistent with surrounding text */
}

/* Ensure card links don't show underlines and inherit color */
.card-link{
  text-decoration: none !important;
  color: inherit;
}

/* Image helpers for founder page */
.profile-photo--selfie{ object-position: center 35%; }
.profile-photo--full{ object-position: center; }
.card-image{ width:100%; height:220px; object-fit:cover; display:block; margin-bottom:16px; border-radius:4px; }

/* Centered full-body portrait on founder page */
.centered-portrait img{ max-width:820px; width:100%; height:auto; display:block; margin:0 auto; border-radius:6px; box-shadow: 0 10px 30px rgba(0,0,0,0.6); }

/* Hero portrait styling */
.hero-portrait img{ max-width:920px; width:100%; height:auto; display:block; margin:22px auto 0; border-radius:6px; box-shadow: 0 20px 40px rgba(0,0,0,0.6); }

/* Biography floating image */
.bio-image{ float:right; width:320px; height:auto; margin:0 0 18px 24px; border-radius:6px; object-fit:cover; box-shadow: 0 8px 20px rgba(0,0,0,0.45); }

@media (max-width: 900px){
  .bio-image{ float:none; display:block; margin: 0 auto 18px; width:70%; }
  .hero-portrait img{ max-width:640px; }
}

/* Ensure profile copy appears above decorative/portrait layers */
.split-text{ position: relative; z-index: 3; }
.hero-portrait{ position: relative; z-index: 1; }

/* Shorten hero on founders page so profile content is visible below the fold */
body[data-page="founders"] .hero{
  height: auto;
  min-height: 48vh;
  padding: 40px 0 20px;
}
body[data-page="founders"] .hero-content{ padding-bottom: 0; }
body[data-page="founders"] .hero-portrait img{ max-width:760px; margin-top:16px; }

/* Founder page: narrow biography column and enlarge hero portrait */
body[data-page="founders"] .split-text{
  max-width: 680px;
  flex: 0 1 680px;
}

body[data-page="founders"] .bio-image{
  width: 360px;
  margin: 0 0 18px 28px;
}

body[data-page="founders"] .hero-portrait img{
  max-width: 1100px;
  margin-top: 18px;
}

@media (max-width: 900px){
  body[data-page="founders"] .split-text{ max-width: 100%; flex: 1 1 100%; }
  body[data-page="founders"] .bio-image{ width:70%; margin:0 auto 18px; float:none; }
  body[data-page="founders"] .hero-portrait img{ max-width:760px; }
}

/* Aside for highlights to the right of the biography */
.split-aside{
  flex: 0 0 360px;
  min-width: 280px;
}
.split-aside .grid-vertical{ display:flex; flex-direction:column; gap:18px; }
.split-aside .card{ padding:12px 14px; border-radius:6px; }

@media (max-width: 1000px){
  .split-aside{ flex: 1 1 100%; min-width: auto; }
  .split-layout{ gap: 30px; }
}

/* Align highlights aside with biography on founders page */
/* Allow the aside to stretch to match the biography height so we can space its cards */
body[data-page="founders"] .split-layout{ align-items: stretch; }

.split-aside{ height:100%; }
.split-aside .card{ padding:8px 10px; border-radius:6px; }
.split-aside .card p{
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-soft);
  white-space: normal;
  word-wrap: break-word;
  display: block;
  margin: 0;
}
.split-aside .card p + p{ margin-top: 6px; }
.split-aside .card strong{ display: inline-block; margin-bottom: 4px; }
.split-aside .card h3{ font-size: 0.98rem; margin: 6px 0 6px; }
.split-aside .card .card-icon{ font-size: 1.2rem; margin-bottom: 8px; }

/* Stylized compact card look for founder aside */
.split-aside .card{
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
  border-left: 3px solid rgba(var(--accent-rgb), 0.14);
  padding: 10px 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.split-aside .card:hover{
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.55);
  border-left-color: rgba(var(--accent-rgb), 0.28);
}
.split-aside .card .card-icon{
  width:36px;
  height:36px;
  border-radius:50%;
  background: rgba(255,255,255,0.03);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  margin-bottom:8px;
}
.split-aside .card h3{ font-size:1rem; margin:6px 0 6px; color:var(--chrome-silver); }
.split-aside .card p{ font-size:0.82rem; color:var(--text-soft); line-height:1.4; margin:0; }

/* Make the grid inside the aside take full height and distribute cards so
  first card sits at the top and last card at the bottom */
.split-aside .grid-vertical{ display:flex; flex-direction:column; justify-content:space-between; height:100%; gap:12px; }

/* Make Highlights card text slightly smaller and ensure paragraphs behave as blocks */
.split-aside .card p{
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
  white-space: normal;
  word-wrap: break-word;
  display: block;
  margin: 0;
}
.split-aside .card p + p{ margin-top: 8px; }
.split-aside .card strong{ display: inline-block; margin-bottom: 4px; }

.split-aside .card h3{ font-size: 1.02rem; margin: 6px 0 8px; }
.split-aside .card .card-icon{ font-size: 1.4rem; margin-bottom: 10px; }

/* =========================
   FOUNDER PULL-QUOTE & BIO EMPHASIS
   Applied only to enhance the quote and biography prominence
========================= */
.founder-quote{
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--text);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.04), transparent);
  padding: 22px 26px 18px 58px;
  border-left: 6px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
  margin: 18px 0 22px;
  position: relative;
  line-height: 1.45;
}

.founder-quote::before{
  content: "“";
  font-size: 4.6rem;
  position: absolute;
  left: 16px;
  top: -6px;
  color: rgba(var(--accent-rgb), 0.12);
  font-family: var(--font-serif);
  line-height: 1;
}

.founder-bio{
  font-size: 1rem;
  color: var(--text-soft);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  margin-top: 12px;
  line-height: 1.6;
}

@media (max-width: 900px){
  .founder-quote{ font-size: 1.06rem; padding: 16px 18px 14px 46px; }
  .founder-quote::before{ font-size: 3.2rem; left: 12px; top: -4px; }
  .founder-bio{ padding: 14px; }
}

/* =========================
   TRANSCRIPT / PRESS STYLES
   Small, purpose-specific rules for press transcript pages
========================= */
.transcript-hero{ padding: 120px 0 80px; }
.transcript-hero .hero h1{ letter-spacing: 0.08em; text-transform: none; }

.transcript-meta{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-bottom:22px; }
.transcript-download{ background:transparent; color:var(--accent); border:1px solid rgba(var(--accent-rgb),0.12); padding:8px 12px; border-radius:6px; text-decoration:none; }
.transcript-download:hover{ background:rgba(var(--accent-rgb),0.03); }

.transcript{ color:var(--text); font-size:1rem; line-height:1.6; }
.transcript .stage-direction{ color:var(--muted); font-style:italic; margin:0.5rem 0; }
.transcript .speaker{ font-weight:700; color:var(--chrome-silver); display:inline-block; min-width:120px; }
.transcript .line{ display:inline-block; color:var(--text-soft); }
.transcript p{ margin:8px 0; }

/* Compact layout for long transcripts */
.transcript-body{ max-width:920px; margin:0 auto; padding-top:8px; }

@media (max-width:700px){
  .transcript .speaker{ display:block; margin-top:10px; min-width:auto; }
  .transcript .line{ display:block; margin-left:0; }
  .transcript-meta{ flex-direction:column; align-items:flex-start; }
}
