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

/* ── Palette ── */
:root {
  --navy-deep:   #000e28;
  --navy:        #001741;
  --navy-mid:    #00205b;
  --navy-light:  #01328c;
  --near-black:  #111418;

  --gold1:       #5c4405;
  --gold2:       #866103;
  --gold3:       #d1980b;
  --gold4:       #f0b726;
  --gold5:       #fbd065;
  --gold7:       #ffeab5;
  --gold:        #f0b726;
  --gold-dim:    #d1980b;

  --red:         #8e292c;
  --red-mid:     #ac2f33;
  --green:       #165a36;
  --green-mid:   #1c6e42;
  --green3:      #238551;

  --blue5:       #96BBFF;

  --dark-gray1:  #1c2127;
  --dark-gray2:  #252a31;
  --dark-gray3:  #2f343c;
  --dark-gray4:  #383e47;
  --dark-gray5:  #404854;
  --gray1:       #5f6b7c;
  --gray2:       #738091;
  --gray3:       #8f99a8;
  --gray4:       #abb3bf;
  --gray5:       #c5cbd3;
  --light-gray1: #d3d8de;
  --light-gray2: #dce0e5;
  --light-gray3: #e5e8eb;
  --light-gray4: #edeff2;

  --white:       #ffffff;
  --code-bg:     #111418;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Layout ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
section { padding: 110px 0; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
h2 { font-size: 2.2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
p { margin-bottom: 18px; color: var(--gray4); }
strong { color: var(--white); font-weight: 600; }

/* ── Label ── */
.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

/* ── Utility ── */
.gold { color: var(--gold); }

/* ── Buttons ── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 38px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-gold:hover { background: var(--gold-dim); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 37px;
  border: 1.5px solid var(--gold);
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
}
.btn-outline:hover { background: rgba(196, 162, 101, 0.08); transform: translateY(-1px); }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0, 23, 65, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 40px;
}
nav .inner {
  display: grid; grid-template-columns: auto 1fr;
  align-items: center;
  height: 64px;
  padding: 0;
}
nav .logo {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, var(--light-gray1), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-bar {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  z-index: 99;
  height: 34px;
  background: #000a1c;
  border-bottom: 1px solid rgba(209, 152, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-bar span {
  font-family: 'Merriweather', serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 768px) {
  .brand-bar { display: none; }
}
nav .logo .logo-icon {
  -webkit-text-fill-color: var(--gold);
  filter: drop-shadow(0 0 4px rgba(255, 200, 100, 0.3));
  margin-right: 6px;
  font-size: 20px;
  font-style: normal;
}
nav .nav-links { display: flex; gap: 28px; align-items: center; justify-self: center; margin-right: 40px; }
nav .nav-links a {
  color: var(--gray3); text-decoration: none;
  font-size: 0.84rem; font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
nav .nav-links a:hover { color: var(--white); }
nav .nav-links .btn-nav {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 24px;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}
nav .nav-links .btn-nav:hover { background: var(--gold-dim); }

/* ── Nav dropdown ── */
.dropdown {
  position: relative;
}
.dropdown-trigger {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-right: 1.5px solid var(--gray3);
  border-bottom: 1.5px solid var(--gray3);
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s ease;
}
.dropdown:hover .dropdown-trigger::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: var(--navy);
  border: 1px solid var(--dark-gray3);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--gray4) !important;
  font-size: 0.84rem !important;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}
.dropdown-menu a:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.04);
}
.dropdown-menu .product-name {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.84rem;
  margin-bottom: 2px;
}
.dropdown-menu .product-desc {
  display: block;
  color: var(--gray2);
  font-size: 0.75rem;
  font-weight: 400;
}
.dropdown-menu .divider {
  height: 1px;
  background: var(--dark-gray3);
  margin: 6px 0;
}

/* ── Hero ── */
.hero {
  padding: 204px 0 110px;
  text-align: center;
  background: var(--white);
  overflow: hidden;
  position: relative;
  transition: background 0.8s ease;
}

/* Video background - hidden initially, fades in with phase 3 */
.hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  animation: video-in 1.2s ease-in-out 7.2s forwards;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(17, 20, 24, 0.75);
  opacity: 0;
  z-index: 1;
  animation: video-in 1.2s ease-in-out 7.2s forwards;
}
@keyframes video-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* All hero content sits above the video */
.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-headline {
  position: relative;
  max-width: 800px;
  margin: 0 auto 32px;
  min-height: 8rem;
}

.hero-headline .hero-phase {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateX(50px);
}

/* Phase 1: problem - dark text on white */
.hero-headline .hero-phase-1 {
  color: var(--near-black);
  opacity: 1;
  transform: translateX(0);
  animation: phase-out 0.6s ease-in-out 3.5s forwards;
}

/* Phase 2: Lightning in near-black, tagline in navy */
.hero-headline .hero-phase-2 {
  color: var(--near-black);
  animation: phase-in 0.6s ease-in-out 3.8s forwards,
             phase-out 0.6s ease-in-out 7.5s forwards;
}

.hero-headline .hero-phase-2 .accent-bar {
  display: inline-block;
  border-left: 3px solid var(--green3);
  padding-left: 18px;
  text-align: left;
}

.hero-headline .hero-phase-2 .hero-navy {
  color: var(--navy);
}

/* Phase 3: competitors line - white text on video */
.hero-headline .hero-phase-3 {
  color: var(--white);
  animation: phase-in 0.8s ease-in-out 7.8s forwards;
}

@keyframes phase-out {
  0%   { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-50px); }
}
@keyframes phase-in {
  0%   { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

.hero .label {
  color: var(--gray2);
  margin-bottom: 28px;
  font-size: 0.7rem;
  transition: color 0.8s ease;
}
.hero .subtitle {
  font-size: 1.12rem;
  color: var(--gray1);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.8;
  transition: color 0.8s ease;
}

/* Subtitle and label switch to light when video appears */
.hero.video-active .label { color: var(--gold); }
.hero.video-active .subtitle { color: var(--gray4); }

.hero .btn-gold {
  background: var(--navy);
  color: var(--white);
  transition: all 0.25s ease;
}
.hero .btn-gold:hover { background: var(--navy-mid); }

/* Buttons switch to gold when video is active */
.hero.video-active .btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.hero.video-active .btn-gold:hover { background: var(--gold-dim); }

.hero .btn-outline {
  color: var(--navy);
  border-color: var(--navy);
  transition: all 0.25s ease;
}
.hero .btn-outline:hover { background: rgba(0, 23, 65, 0.04); }

.hero.video-active .btn-outline {
  color: var(--gold);
  border-color: var(--gold);
}
.hero.video-active .btn-outline:hover { background: rgba(240, 183, 38, 0.08); }

.hero-actions {
  display: flex; gap: 16px;
  align-items: center; justify-content: center;
}

/* ── Stats bar ── */
.stats-bar {
  padding: 44px 0;
  background: var(--dark-gray1);
  border-top: 1px solid var(--dark-gray3);
  border-bottom: 1px solid var(--dark-gray3);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}
.stat-item .desc {
  font-size: 0.85rem;
  color: var(--gray3);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ── Problem section ── */
.problem { background: var(--near-black); }
.problem .label { color: var(--gold); }
.problem h2 { color: var(--white); }
.problem > .container-wide > p { color: var(--gray3); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.problem-card {
  background: var(--dark-gray1);
  border: 1px solid var(--dark-gray3);
  border-radius: 8px;
  padding: 32px;
  transition: border-color 0.25s ease;
}
.problem-card:hover { border-color: var(--dark-gray5); }
.problem-card h3 { color: var(--white); font-size: 1.05rem; }
.problem-card p { color: var(--gray3); font-size: 1rem; margin-bottom: 0; }
.problem-card .cost {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
}

/* ── SCA section ── */
.sca-section {
  background: var(--white);
}
.sca-section .label { color: var(--navy); }
.sca-section h2 { color: var(--near-black); }
.sca-section .sca-intro {
  color: var(--gray1);
  margin-bottom: 52px;
}
.sca-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.sca-pillar {
  padding: 32px 28px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--navy-deep);
  transition: border-color 0.25s ease;
}
.sca-pillar:hover { border-color: var(--gold-dim); }
.sca-letter {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.sca-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray4);
  margin-bottom: 18px;
}
.sca-pillar p {
  color: var(--gray3);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.sca-infographic {
  width: 100%;
  margin-bottom: 48px;
  border-radius: 10px;
  overflow: hidden;
}
.sca-infographic img {
  width: 100%;
  height: auto;
  display: block;
}
.post-figure {
  margin: 52px 0;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  padding: 28px 0 16px;
}
.post-figure .sca-infographic {
  margin-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.post-figure figcaption {
  background: var(--navy);
  padding: 13px 20px;
  border-radius: 0 0 10px 10px;
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
}
.post-figure figcaption strong {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 6px;
}
.sca-note {
  font-size: 0.95rem;
  color: var(--gray1);
  font-style: italic;
  margin-bottom: 0;
}
img.zoomable { cursor: zoom-in; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 10, 28, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.image-lightbox.open { display: flex; }
.image-lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}
.image-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.image-lightbox-close:hover { opacity: 1; }

/* ── Answer section (video cycling background) ── */
.answer-section {
  background: var(--white);
  color: var(--near-black);
  position: relative;
  overflow: hidden;
}
.answer-section .bg-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  filter: grayscale(60%);
  transition: opacity 1.5s ease;
}
.answer-section .bg-video.active {
  opacity: 0.18;
}
.answer-section > .container-wide {
  position: relative;
  z-index: 1;
}
.answer-section .label { color: var(--navy); }
.answer-section h2 { color: var(--near-black); }
.answer-section > .container-wide > p { color: var(--gray1); }
.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.answer-card {
  border: 1px solid var(--dark-gray3);
  border-radius: 8px;
  padding: 32px;
  background: var(--dark-gray1);
  transition: all 0.25s ease;
}
.answer-card:hover {
  border-color: var(--dark-gray5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.answer-card .icon {
  display: none;
}
.answer-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--white); }
.answer-card p { font-size: 1rem; color: var(--gray3); margin-bottom: 0; line-height: 1.65; }

/* ── Code section ── */
.code-section {
  background: var(--light-gray4);
  color: var(--near-black);
}
.code-section .label { color: var(--navy); }
.code-section h2 { color: var(--near-black); }
.code-section > .container-wide > p { color: var(--gray1); }
.code-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 48px;
}
.code-example h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--near-black); }
.code-example p { font-size: 0.95rem; color: var(--gray1); margin-bottom: 14px; }
pre {
  background: var(--code-bg);
  border: 1px solid var(--dark-gray3);
  border-radius: 8px;
  padding: 24px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--gray5);
}
pre .kw { color: var(--gold); }
pre .str { color: var(--red-mid); }
pre .cm { color: var(--green-mid); font-style: italic; }
pre .fn { color: var(--white); }
pre .ty { color: var(--blue5); }
pre .num { color: var(--gold-dim); }
pre .punct { color: var(--gray2); }

/* ── Industries ── */
.industries-section {
  background: var(--white);
  color: var(--near-black);
  position: relative;
  overflow: hidden;
}
.industries-section .bg-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  filter: grayscale(60%);
  transition: opacity 1.5s ease;
}
.industries-section .bg-video.active {
  opacity: 0.18;
}
.industries-section > .container-wide {
  position: relative;
  z-index: 1;
}
.industries-section .label { color: var(--navy); }
.industries-section h2 { color: var(--near-black); }
.industries-section > .container-wide > p { color: var(--gray1); }
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.industry-card {
  border: 1px solid var(--light-gray2);
  border-radius: 8px;
  padding: 36px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.industry-card:hover {
  border-color: var(--light-gray1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
}
.industry-card.trading::before { background: var(--red-mid); }
.industry-card.energy::before { background: var(--green-mid); }
.industry-card.manufacturing::before { background: var(--gold); }
.industry-card.defence::before { background: var(--gray2); }
.industry-card.environment::before { background: var(--green-mid); }
.industry-card.insurance::before { background: var(--gold-dim); }

.industry-card .industry-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.industry-card.trading .industry-label { color: var(--red-mid); }
.industry-card.energy .industry-label { color: var(--green-mid); }
.industry-card.manufacturing .industry-label { color: var(--gold-dim); }
.industry-card.defence .industry-label { color: var(--gray2); }
.industry-card.environment .industry-label { color: var(--green-mid); }
.industry-card.insurance .industry-label { color: var(--gold-dim); }

.industry-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--near-black); }
.industry-card p { font-size: 0.95rem; color: var(--gray1); margin-bottom: 16px; line-height: 1.7; }

/* ── Data lake section ── */
.datalake {
  background: var(--light-gray4);
  color: var(--near-black);
  border-top: none;
}
.datalake .label { color: var(--navy); }
.datalake h2 { color: var(--near-black); }
.datalake > .container-wide > p { color: var(--gray1); }
.datalake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.datalake-point { margin-bottom: 32px; }
.datalake-point h3 {
  font-size: 1rem;
  color: var(--near-black);
  margin-bottom: 8px;
}
.datalake-point p {
  font-size: 1rem;
  color: var(--gray1);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ── Rust section ── */
.rust-section {
  background: var(--white);
  color: var(--near-black);
}
.rust-section .label { color: var(--navy); }
.rust-section h2 { color: var(--near-black); }
.rust-section h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 44px;
  margin-bottom: 10px;
}
.rust-section p { color: var(--gray1); line-height: 1.75; }

/* ── CTA section ── */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(175deg, var(--navy-mid) 0%, var(--navy) 100%);
}
.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -0.03em;
}
.cta-section p {
  font-size: 1.1rem;
  color: var(--gray4);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* ── Footer ── */
footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  height: 38px;
  background: var(--near-black);
  border-top: 1px solid rgba(209, 152, 11, 0.2);
}
footer .container-wide {
  height: 100%;
}
footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
footer .legal {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}
footer .links { display: flex; gap: 24px; }
footer .links a {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
footer .links a:hover { color: var(--white); }
body { padding-bottom: 38px; }

/* ── Why section ── */
.why-section {
  background: var(--white);
  color: var(--near-black);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--light-gray3);
}
.why-section .label { color: var(--navy); }
.why-section .why-lede { max-width: 760px; margin-top: 32px; }
.why-section .why-lede .lede-p {
  font-size: 1.28rem;
  line-height: 1.62;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 22px;
}
.why-section .why-lede p {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--gray1);
  margin-bottom: 18px;
}

/* ── About page ── */
.about-founder-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 52px;
  align-items: start;
  margin-top: 16px;
}
.about-founder-photo {
  width: 200px;
  height: 250px;
  border-radius: 4px;
  overflow: hidden;
}
.about-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-founder-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}
.about-founder-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 28px;
  display: block;
}
.about-founder-photo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-founder-links {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}
.about-founder-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}
.about-founder-links a:hover { color: var(--navy); }
.about-company-info {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px 32px;
  margin-top: 20px;
  margin-bottom: 32px;
}
.about-company-info dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}
.about-company-info dd {
  margin: 0;
  color: var(--near-black);
  font-size: 0.95rem;
  line-height: 1.55;
}
.about-company-info dd a {
  color: var(--gold-dim);
  text-decoration: none;
}
.about-company-info dd a:hover { color: var(--navy); }
@media (max-width: 768px) {
  .about-founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-founder-photo { width: 140px; height: 175px; }
  .about-company-info { grid-template-columns: 1fr; gap: 4px 0; }
  .about-company-info dt { margin-top: 14px; }
}

/* ── Industry card learn-more link ── */
.industry-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 0.2s ease;
}
.industry-card.trading .learn-more      { color: var(--red-mid); }
.industry-card.manufacturing .learn-more{ color: var(--gold-dim); }
.industry-card.energy .learn-more       { color: var(--green-mid); }
.industry-card.defence .learn-more      { color: var(--gray2); }
.industry-card .learn-more:hover        { gap: 10px; }
.industry-card .learn-more::after       { content: '→'; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-headline .hero-phase { font-size: 2rem; }
  .hero-headline { min-height: 6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sca-pillars { grid-template-columns: 1fr; }
  .problem-grid, .code-grid, .industries-grid,
  .datalake-grid, .answer-grid { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 80px; }
  section { padding: 80px 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  nav .nav-links a:not(.btn-nav) { display: none; }
  nav .dropdown { display: none; }
}

/* ═══════════════════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════════════════ */

/* Blog & post typography override — SpaceCell brand fonts */
.blog-hero, .blog-hero h1, .blog-hero p,
.blog-index, .blog-card, .blog-card p, .blog-card .blog-meta, .blog-card .read-more,
.post-hero, .post-hero h1, .post-hero .label, .post-hero .post-meta, .post-hero .back-link,
.post-body, .post-body p, .post-body li, .post-body blockquote,
.post-cta h3, .post-cta p {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.blog-hero h1,
.blog-card h3,
.post-hero h1,
.post-body h2,
.post-body h3,
.post-cta h3 {
  font-family: 'Merriweather', 'Open Sans', Georgia, serif;
  letter-spacing: -0.01em;
}
.post-body code,
.post-body pre,
.post-body pre code,
.blog-card p code {
  font-family: 'Fira Code', 'JetBrains Mono', Consolas, monospace;
}

/* Blog index hero (navy with subtle video texture) */
.blog-hero {
  padding: 160px 0 60px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.blog-hero .blog-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.blog-hero .blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 23, 65, 0.65) 0%,
    rgba(0, 23, 65, 0.85) 60%,
    var(--navy) 100%);
  z-index: 1;
  pointer-events: none;
}
.blog-hero .container {
  position: relative;
  z-index: 2;
}
.blog-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--white);
}
.blog-hero p {
  max-width: 640px;
  color: var(--gray4);
  font-size: 1.1rem;
}
.blog-hero .label { color: var(--gold); margin-bottom: 20px; }

/* Blog index (white) */
.blog-index {
  padding: 80px 0 120px;
  background: var(--white);
  color: var(--near-black);
}
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 880px;
}
.blog-card {
  display: block;
  padding: 36px 0;
  border-bottom: 1px solid var(--light-gray3);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.blog-card:hover { transform: translateX(4px); }
.blog-card:hover h3 { color: var(--gold-dim); }
.blog-card .blog-meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--navy);
  transition: color 0.2s ease;
}
.blog-card p {
  color: var(--gray1);
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 680px;
}
.blog-card .read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dim);
  letter-spacing: 0.04em;
}

/* Post hero (navy with fibre texture) */
.post-hero {
  padding: 164px 0 90px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  /* Fibres + fine grain on navy base */
  background-color: var(--navy);
  background-image:
    /* Fine light specks */
    radial-gradient(circle at 17% 23%, rgba(240, 183, 38, 0.06) 0.5px, transparent 1px),
    radial-gradient(circle at 73% 61%, rgba(255, 255, 255, 0.04) 0.5px, transparent 1px),
    radial-gradient(circle at 41% 87%, rgba(240, 183, 38, 0.05) 0.5px, transparent 1px),
    radial-gradient(circle at 89% 14%, rgba(255, 255, 255, 0.04) 0.5px, transparent 1px),
    /* Horizontal fibres (gold) */
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 2px,
      rgba(240, 183, 38, 0.04) 2px,
      rgba(240, 183, 38, 0.04) 3px,
      transparent 3px,
      transparent 8px
    ),
    /* Vertical fibres (white, fainter) */
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 5px,
      rgba(255, 255, 255, 0.02) 5px,
      rgba(255, 255, 255, 0.02) 6px,
      transparent 6px,
      transparent 13px
    ),
    /* Warm deepening at the top for depth */
    radial-gradient(
      ellipse 1400px 60% at 50% 0%,
      rgba(1, 50, 140, 0.35) 0%,
      transparent 70%
    );
  background-size:
    11px 11px,
    13px 13px,
    17px 17px,
    19px 19px,
    auto,
    auto,
    auto;
}
.post-hero .container {
  position: relative;
  z-index: 2;
}
/* Kicker line above label */
.post-hero .kicker-bar {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 28px;
}
.post-hero .label {
  color: var(--gold);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}
.post-hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 32px;
  max-width: 860px;
  color: var(--white);
}
.post-hero .post-meta {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gray5);
  letter-spacing: 0;
  line-height: 1.55;
  max-width: 680px;
}

/* Thin animated band between hero and body */
.post-divider {
  position: relative;
  height: 4px;
  background: var(--navy);
  overflow: hidden;
}
.post-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--gold-dim) 40%,
    var(--gold) 50%,
    var(--gold-dim) 60%,
    transparent 100%);
  opacity: 0.6;
}

/* Post body (white with gutter video texture that fades out) */
.post-body {
  padding: 80px 0 100px;
  background: var(--white);
  color: var(--near-black);
  position: relative;
  overflow: hidden;
}
.post-body .post-body-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  animation: post-body-video-fade 12s ease-out forwards;
}
@keyframes post-body-video-fade {
  0%   { opacity: 0.12; }
  50%  { opacity: 0.12; }   /* hold at 0.12 for ~6s */
  100% { opacity: 0; }       /* fade out over remaining ~6s */
}
.post-body .post-body-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 760px 100% at center,
    var(--white) 0%,
    var(--white) 40%,
    rgba(255, 255, 255, 0.75) 75%,
    rgba(255, 255, 255, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.post-body .container {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

/* Lede — the first paragraph after a heading gets editorial weight */
.post-body > .container > p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 32px;
  max-width: 660px;
}

/* Respect reader preference - no motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .post-body .post-body-video {
    animation: none;
    opacity: 0;
  }
}
.post-body h2 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-top: 72px;
  margin-bottom: 24px;
  color: var(--navy);
  position: relative;
  padding-top: 28px;
}
/* Thin gold line above each H2 — editorial section marker */
.post-body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold-dim);
}
.post-body h2:first-child { margin-top: 0; }
.post-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--navy);
}
.post-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--near-black);
  margin-bottom: 22px;
}
.post-body p strong,
.post-body li strong,
.post-body td strong,
.post-body th strong {
  color: var(--navy);
  font-weight: 700;
}
.post-body a {
  color: var(--gold-dim);
  text-decoration: underline;
  text-decoration-color: rgba(209, 152, 11, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.post-body a:hover { text-decoration-color: var(--gold-dim); }
.post-body ul, .post-body ol {
  padding-left: 28px;
  margin-bottom: 22px;
}
.post-body li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--near-black);
  margin-bottom: 8px;
}
.post-body blockquote {
  border-left: 3px solid var(--gold-dim);
  padding: 8px 0 8px 32px;
  margin: 40px 0;
  color: var(--navy);
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 400;
}
.post-body blockquote p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin-bottom: 0;
}
.post-body > .container > code,
.post-body p code,
.post-body li code,
.post-body td code,
.post-body th code {
  background: var(--light-gray4);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.92em;
  color: var(--navy);
}
.post-body pre {
  background: var(--code-bg);
  border: 1px solid var(--light-gray3);
  border-radius: 6px;
  padding: 22px 26px;
  margin: 26px 0;
  overflow-x: auto;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--light-gray2);
}
.post-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.95rem;
}
.post-body th, .post-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-gray3);
  text-align: left;
  color: var(--near-black);
}
.post-body th {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--gold-dim);
  background: var(--light-gray4);
}
.post-body hr {
  border: none;
  border-top: 1px solid var(--light-gray2);
  margin: 56px 0;
}

/* Post footer CTA (navy with subtle video texture) */
.post-cta {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-cta .post-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.post-cta .post-cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(0, 23, 65, 0.55) 0%,
    rgba(0, 23, 65, 0.9) 100%);
  z-index: 1;
  pointer-events: none;
}
.post-cta .container {
  position: relative;
  z-index: 2;
}
.contact-form {
  margin-top: 32px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.contact-form-field input,
.contact-form-field textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: var(--gold-dim);
}
.contact-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.contact-form-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.contact-form-check label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  line-height: 1.5;
}
.contact-form .btn-gold {
  align-self: flex-start;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 600px) {
  .contact-form-row { grid-template-columns: 1fr; }
}
.post-cta h3 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
}
.post-cta p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--gray4);
}

/* Back-to-blog link within the hero */
.post-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  color: var(--gray4);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}
.post-hero .back-link::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.post-hero .back-link:hover { color: var(--gold); }
.post-hero .back-link:hover::before { transform: rotate(45deg) translate(-2px, 2px); }

/* Syntax highlighting within blog pre blocks (dark code block on white bg) */
.post-body pre .kw  { color: var(--gold4); }
.post-body pre .str { color: #e88b8d; }
.post-body pre .cm  { color: #6cad8a; font-style: italic; }
.post-body pre .fn  { color: var(--white); }
.post-body pre .ty  { color: var(--blue5); }
.post-body pre .num { color: var(--gold5); }
.post-body pre .punct { color: var(--gray4); }

/* Responsive for blog */
@media (max-width: 768px) {
  .blog-hero h1 { font-size: 2rem; }
  .post-hero h1 { font-size: 2rem; }
  .post-hero { padding: 120px 0 40px; }
  .post-body { padding: 56px 0 80px; }
  .post-body h2 { font-size: 1.5rem; margin-top: 48px; }
  .post-body p, .post-body li { font-size: 1rem; }
  .post-body pre { padding: 16px; font-size: 0.82rem; }
  .blog-card h3 { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════
   REPORTS — formal institutional treatment
   ═══════════════════════════════════════════════════════ */

/* Report typography — shares brand fonts with blog */
.report-hero, .report-hero h1, .report-hero .label, .report-hero .report-subtitle, .report-hero .back-link, .report-hero .report-meta,
.report-index, .report-card, .report-card p, .report-card .report-meta, .report-card .report-meta-item,
.report-body, .report-body p, .report-body li, .report-body blockquote, .report-body .exhibit-label, .report-body .exhibit-title,
.report-cta h3, .report-cta p {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.report-hero h1,
.report-card h3,
.report-body h2,
.report-body h3,
.report-cta h3 {
  font-family: 'Merriweather', 'Open Sans', Georgia, serif;
  letter-spacing: -0.01em;
}
.report-body code,
.report-body pre,
.report-body pre code {
  font-family: 'Fira Code', 'JetBrains Mono', Consolas, monospace;
}

/* Report index hero */
.report-hero.index {
  padding: 160px 0 60px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.report-hero.index h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.report-hero.index p {
  max-width: 640px;
  color: var(--gray4);
  font-size: 1.1rem;
}
.report-hero.index .label { color: var(--gold); margin-bottom: 20px; }

/* Report index list */
.report-index {
  padding: 80px 0 120px;
  background: var(--white);
  color: var(--near-black);
}
.report-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 880px;
}
.report-card {
  display: block;
  padding: 40px 0;
  border-bottom: 1px solid var(--light-gray3);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.report-card:hover { transform: translateX(4px); }
.report-card:hover h3 { color: var(--gold-dim); }
.report-card .report-meta {
  display: flex;
  gap: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 12px;
}
.report-card .report-meta-item {
  color: var(--gray1);
  font-weight: 500;
}
.report-card .report-meta-item:first-child {
  color: var(--gold-dim);
  font-weight: 700;
}
.report-card h3 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--navy);
  transition: color 0.2s ease;
}
.report-card p {
  color: var(--gray1);
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 680px;
  line-height: 1.6;
}
.report-card .read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dim);
  letter-spacing: 0.04em;
}

/* Report document hero (navy with fibre texture, shared style) */
.report-hero.document {
  padding: 130px 0 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 17% 23%, rgba(240, 183, 38, 0.06) 0.5px, transparent 1px),
    radial-gradient(circle at 73% 61%, rgba(255, 255, 255, 0.04) 0.5px, transparent 1px),
    radial-gradient(circle at 41% 87%, rgba(240, 183, 38, 0.05) 0.5px, transparent 1px),
    radial-gradient(circle at 89% 14%, rgba(255, 255, 255, 0.04) 0.5px, transparent 1px),
    repeating-linear-gradient(
      90deg, transparent 0px, transparent 2px,
      rgba(240, 183, 38, 0.04) 2px, rgba(240, 183, 38, 0.04) 3px,
      transparent 3px, transparent 8px
    ),
    repeating-linear-gradient(
      0deg, transparent 0px, transparent 5px,
      rgba(255, 255, 255, 0.02) 5px, rgba(255, 255, 255, 0.02) 6px,
      transparent 6px, transparent 13px
    ),
    radial-gradient(
      ellipse 1400px 60% at 50% 0%,
      rgba(1, 50, 140, 0.35) 0%, transparent 70%
    );
  background-size: 11px 11px, 13px 13px, 17px 17px, 19px 19px, auto, auto, auto;
}
.report-hero.document .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.report-hero.document .back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  color: var(--gray4);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}
.report-hero.document .back-link::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.report-hero.document .back-link:hover { color: var(--gold); }
.report-hero.document .back-link:hover::before { transform: rotate(45deg) translate(-2px, 2px); }

.report-hero.document .label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.report-hero.document h1 {
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 28px;
  color: var(--white);
}
.report-hero.document .report-subtitle {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gray5);
  line-height: 1.55;
  max-width: 720px;
  margin-bottom: 48px;
}

/* Report metadata block — Prepared for / Classification / Date */
.report-hero.document .report-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(240, 183, 38, 0.35);
  max-width: 720px;
}
.report-hero.document .report-meta dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.report-hero.document .report-meta dd {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
}

/* Report body — white with gutter video texture that fades out (same pattern as post-body) */
.report-body {
  padding: 80px 0 100px;
  background: var(--white);
  color: var(--near-black);
  position: relative;
  overflow: hidden;
}
.report-body .report-body-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  animation: post-body-video-fade 12s ease-out forwards;
}
.report-body .report-body-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 760px 100% at center,
    var(--white) 0%, var(--white) 40%,
    rgba(255, 255, 255, 0.75) 75%,
    rgba(255, 255, 255, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.report-body .container {
  max-width: 780px;
  position: relative;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .report-body .report-body-video {
    animation: none;
    opacity: 0;
  }
}

/* Numbered section headers */
.report-body h2 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 80px;
  margin-bottom: 24px;
  color: var(--navy);
  padding-top: 32px;
  border-top: 2px solid var(--gold-dim);
}
.report-body h2:first-child {
  margin-top: 0;
}
.report-body h2 .section-number {
  display: block;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-style: normal;
}
.report-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 48px;
  margin-bottom: 14px;
  color: var(--navy);
}
.report-body h3 .section-number {
  color: var(--gold-dim);
  font-weight: 500;
  margin-right: 10px;
}

.report-body p {
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--near-black);
  margin-bottom: 20px;
}
.report-body p strong,
.report-body li strong {
  color: var(--navy);
  font-weight: 700;
}
.report-body a {
  color: var(--gold-dim);
  text-decoration: underline;
  text-decoration-color: rgba(209, 152, 11, 0.4);
  text-underline-offset: 3px;
}
.report-body a:hover { text-decoration-color: var(--gold-dim); }

.report-body ul, .report-body ol {
  padding-left: 28px;
  margin-bottom: 22px;
}
.report-body li {
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--near-black);
  margin-bottom: 10px;
}

.report-body blockquote {
  border-left: 3px solid var(--gold-dim);
  padding: 8px 0 8px 28px;
  margin: 36px 0;
  color: var(--navy);
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
}

.report-body code {
  background: var(--light-gray4);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.92em;
  color: var(--navy);
}

/* Exhibit block — numbered, labelled, institutional */
.report-body .exhibit {
  margin: 40px 0;
  padding: 24px 28px;
  background: var(--light-gray4);
  border-left: 3px solid var(--gold-dim);
}
.report-body .exhibit-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}
.report-body .exhibit-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Tables inside reports get institutional treatment */
.report-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
  font-size: 0.92rem;
}
.report-body th, .report-body td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--light-gray2);
  text-align: left;
  color: var(--near-black);
  vertical-align: top;
}
.report-body th {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px solid var(--navy);
  background: transparent;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.report-body .exhibit table {
  background: var(--white);
  margin-top: 0;
}
.report-body .exhibit th {
  background: var(--white);
}

.report-body hr {
  border: none;
  border-top: 1px solid var(--light-gray2);
  margin: 64px 0;
}

/* Report CTA — shared pattern with post CTA */
.report-cta {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.report-cta .report-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.report-cta .report-cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(0, 23, 65, 0.55) 0%,
    rgba(0, 23, 65, 0.9) 100%);
  z-index: 1;
  pointer-events: none;
}
.report-cta .container {
  position: relative;
  z-index: 2;
}
.report-cta h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}
.report-cta p {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--gray4);
}

/* Responsive */
@media (max-width: 768px) {
  .report-hero.index h1 { font-size: 2rem; }
  .report-hero.document h1 { font-size: 2rem; }
  .report-hero.document { padding: 110px 0 50px; }
  .report-body { padding: 56px 0 80px; }
  .report-body h2 { font-size: 1.45rem; margin-top: 56px; }
  .report-body p, .report-body li { font-size: 1rem; }
  .report-body table { font-size: 0.82rem; }
  .report-body th, .report-body td { padding: 8px 10px; }
  .report-card h3 { font-size: 1.25rem; }
}
