/* ===================================================================
   Fraud Prevention Strategies, LLC — Redesign
   Design system
   =================================================================== */

:root {
  /* Brand colors — deep navy authority + gold accent */
  --navy-950: #050b1c;
  --navy-900: #0a1329;
  --navy-800: #0f1c3d;
  --navy-700: #142657;
  --navy-600: #1a3372;
  --navy-500: #22458f;
  --navy-400: #2c5cb0;

  --gold-500: #d4a24c;
  --gold-400: #e6b968;
  --gold-300: #f0cf90;
  --gold-200: #f7e2b8;

  --cream: #faf7f2;
  --cream-2: #f2ede3;
  --cream-3: #e8e0d0;
  --paper: #ffffff;

  --ink-900: #0e1220;
  --ink-800: #1a1f33;
  --ink-700: #313650;
  --ink-500: #5b6079;
  --ink-400: #7d8299;
  --ink-300: #a9adbe;
  --ink-200: #d3d6e0;
  --ink-100: #ebedf2;

  --red-600: #b23a2b;

  /* Typography — federal/institutional register */
  --font-display: 'IBM Plex Serif', 'Iowan Old Style', Georgia, serif;
  --font-editorial: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  /* Type scale — mobile-first, fluid */
  --text-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --text-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.92rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  --text-lg: clamp(1.12rem, 1.05rem + 0.35vw, 1.22rem);
  --text-xl: clamp(1.35rem, 1.2rem + 0.7vw, 1.6rem);
  --text-2xl: clamp(1.75rem, 1.5rem + 1.2vw, 2.2rem);
  --text-3xl: clamp(2.2rem, 1.8rem + 2vw, 3rem);
  --text-4xl: clamp(2.8rem, 2.2rem + 3vw, 4.2rem);
  --text-hero: clamp(2.8rem, 2rem + 4.5vw, 5.4rem);

  /* Space scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --section-pad-y: clamp(4rem, 8vw, 8rem);
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(10, 19, 41, 0.06), 0 1px 3px rgba(10, 19, 41, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(10, 19, 41, 0.08), 0 10px 20px -5px rgba(10, 19, 41, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(10, 19, 41, 0.15), 0 20px 40px -10px rgba(10, 19, 41, 0.1);
  --shadow-gold: 0 8px 24px -8px rgba(212, 162, 76, 0.5);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================================================================
   Reset & base
   =================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--space-4); }
h1, h2, h3, h4 { margin: 0 0 var(--space-4); font-weight: 600; letter-spacing: -0.02em; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* ===================================================================
   Layout primitives
   =================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad-y);
  position: relative;
}

.section-head {
  max-width: 780px;
  margin-bottom: var(--space-16);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-4xl);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-bottom: var(--space-6);
  color: var(--navy-900);
}
.section-title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-500);
  letter-spacing: -0.02em;
}
.section-title-light { color: var(--cream); }
.section-title-light em { color: var(--gold-400); }

.section-sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 62ch;
}
.section-title-light + .section-sub {
  color: rgba(250, 247, 242, 0.72);
}

/* Tactical eyebrow — reads like a classification strip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  padding-left: 0;
  position: relative;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}
.eyebrow-dark { color: var(--gold-500); }
.eyebrow-light { color: var(--gold-400); }

/* Optional: classification chip for hero */
.classified-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(212, 162, 76, 0.32);
  background: rgba(212, 162, 76, 0.04);
}
.classified-chip .chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.18);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-700);
  margin-bottom: var(--space-4);
}

/* ===================================================================
   Buttons
   =================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 0.6rem 1.15rem; font-size: var(--text-xs); letter-spacing: 0.05em; text-transform: uppercase; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--navy-900);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(212, 162, 76, 0.65);
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-400) 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 247, 242, 0.25);
}
.btn-ghost:hover {
  background: rgba(250, 247, 242, 0.08);
  border-color: rgba(250, 247, 242, 0.5);
}
.btn-ghost-dark {
  color: var(--navy-800);
  border-color: rgba(14, 18, 32, 0.18);
}
.btn-ghost-dark:hover {
  background: rgba(14, 18, 32, 0.06);
  border-color: rgba(14, 18, 32, 0.32);
}

.btn-block { width: 100%; padding: 1rem 1.5rem; font-size: var(--text-sm); }

.link-gold {
  color: var(--gold-500);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.link-gold:hover { border-color: var(--gold-500); }

/* ===================================================================
   Header
   =================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: var(--space-4) 0;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 19, 41, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  padding: var(--space-3) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--cream);
  flex-shrink: 0;
  position: relative;
  z-index: 60;
}
.brand-mark { color: var(--gold-500); flex-shrink: 0; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold-500);
  font-weight: 600;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex: 1;
  justify-content: center;
}
.nav-primary a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(250, 247, 242, 0.85);
  position: relative;
  padding: var(--space-2) 0;
  transition: color 0.2s;
}
.nav-primary a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-primary a:hover { color: var(--cream); }
.nav-primary a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 5.5rem var(--container-pad) 2rem;
  background: var(--navy-900);
  flex-direction: column;
  gap: var(--space-4);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  z-index: 45;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  padding: var(--space-3) 0;
  color: var(--cream);
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 500;
  border-bottom: 1px solid rgba(250, 247, 242, 0.08);
}
.mobile-nav .btn { margin-top: var(--space-4); align-self: flex-start; }

/* ===================================================================
   HERO — Dossier / Field Report aesthetic
   =================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(6rem, 12vh, 8rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 15% 25%, rgba(44, 92, 176, 0.28), transparent 60%),
    radial-gradient(ellipse 70% 60% at 85% 75%, rgba(20, 38, 87, 0.55), transparent 65%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}
.hero-bg-scan {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(212, 162, 76, 0.035) 0px,
    rgba(212, 162, 76, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.6;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
}

/* Classification bar across top */
.hero-classification {
  position: absolute;
  top: 5rem;
  left: 0; right: 0;
  z-index: 1;
  border-top: 1px solid rgba(212, 162, 76, 0.18);
  border-bottom: 1px solid rgba(212, 162, 76, 0.18);
  background: rgba(212, 162, 76, 0.03);
}
.hero-class-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding: 0.55rem 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold-400);
  text-transform: uppercase;
}
.class-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  opacity: 0.85;
}
.class-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 8px rgba(230, 185, 104, 0.7);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(2rem, 5vh, 3.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
  margin-bottom: clamp(var(--space-12), 8vw, var(--space-20));
}

.hero-copy .classified-chip { margin-bottom: var(--space-8); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.8rem + 4vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: var(--cream);
}
.hero-title span {
  display: block;
}
.hero-title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-400);
  display: inline-block;
  padding: 0 0.05em;
  line-height: 1.05;
  letter-spacing: -0.015em;
  position: relative;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0.05em; right: 0.05em;
  bottom: -0.08em;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 15%, var(--gold-500) 85%, transparent);
  opacity: 0.55;
}

.hero-attribution {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(230, 185, 104, 0.75);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}
.hero-attribution .attr-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(230, 185, 104, 0.55);
}

.hero-lede {
  max-width: 56ch;
  margin: 0 0 var(--space-8);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.82);
}
.hero-lede strong { color: var(--gold-300); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Dossier card */
.hero-dossier { position: relative; }
.dossier-frame {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background:
    linear-gradient(180deg, rgba(15, 28, 61, 0.6), rgba(10, 19, 41, 0.6));
  border: 1px solid rgba(212, 162, 76, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(212, 162, 76, 0.05);
}
.dossier-corners .corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--gold-400);
}
.corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.dossier-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: var(--space-6);
  background: var(--navy-800);
  filter: contrast(1.02) saturate(0.94);
}
.dossier-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(5, 11, 28, 0.7) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(5, 11, 28, 0.55) 100%);
  pointer-events: none;
}
.dossier-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.dossier-reticle {
  position: absolute;
  right: 12px; top: 12px;
  color: var(--gold-400);
  opacity: 0.65;
  pointer-events: none;
  width: 84px; height: 84px;
}
.dossier-reticle svg { width: 100%; height: 100%; }

.dossier-meta {
  display: grid;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.88);
}
.dossier-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: var(--space-4);
  align-items: baseline;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(212, 162, 76, 0.2);
}
.dossier-row:last-child { border-bottom: none; padding-bottom: 0; }
.dm-key {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--gold-500);
  text-transform: uppercase;
}
.dm-val {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--cream);
  letter-spacing: 0;
  line-height: 1.4;
}
.dm-sub {
  display: block;
  font-size: 0.78rem;
  color: rgba(245, 240, 226, 0.62);
  letter-spacing: 0;
  margin-top: 0.1rem;
}
.dm-active { display: inline-flex; align-items: center; gap: 0.5rem; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7cd39c;
  box-shadow: 0 0 8px rgba(124, 211, 156, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  border-top: 1px solid rgba(212, 162, 76, 0.2);
  border-bottom: 1px solid rgba(212, 162, 76, 0.2);
  background: rgba(212, 162, 76, 0.02);
}
.hero-stat {
  padding: var(--space-6) var(--space-5);
  position: relative;
}
.hero-stat + .hero-stat {
  border-left: 1px dashed rgba(212, 162, 76, 0.2);
}
.hero-stat-key {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  opacity: 0.85;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 2.6vw, 2.6rem);
  line-height: 1;
  color: var(--gold-300);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stat-num span {
  font-family: var(--font-mono);
  font-size: 0.42em;
  color: var(--gold-500);
  font-weight: 500;
  margin-left: 0.15em;
  letter-spacing: 0;
  vertical-align: 0.35em;
}
.hero-stat-lbl {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(250, 247, 242, 0.62);
}

.hero-curve {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
  z-index: 0;
}
.hero-curve svg { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .hero-classification { top: 4.4rem; }
  .hero-class-row { font-size: 0.6rem; gap: var(--space-4); padding: 0.45rem 0; }
  .hide-mobile { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero-dossier { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat + .hero-stat { border-left: none; }
  .hero-stat:nth-child(2) { border-left: 1px dashed rgba(212, 162, 76, 0.2); }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) { border-top: 1px dashed rgba(212, 162, 76, 0.2); }
  .hero-stat:nth-child(4) { border-left: 1px dashed rgba(212, 162, 76, 0.2); }
  .dossier-row { grid-template-columns: 100px 1fr; }
}

/* ===================================================================
   ABOUT
   =================================================================== */

.section-about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: center;
}

.about-portrait {
  position: relative;
}
.portrait-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, var(--cream-2), var(--cream-3));
  box-shadow: var(--shadow-lg);
}
.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 162, 76, 0.3);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}
.portrait-frame::after {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  bottom: 18px;
  left: 18px;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.portrait-caption {
  margin-top: var(--space-4);
  padding-left: var(--space-4);
  border-left: 2px solid var(--gold-500);
}
.caption-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--navy-900);
}
.caption-title {
  font-size: var(--text-sm);
  color: var(--ink-500);
}

.about-body p { color: var(--ink-700); }
.about-body strong { color: var(--navy-800); font-weight: 600; }

.cred-list {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cred-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-5);
  align-items: baseline;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--ink-100);
}
.cred-list li:last-child { border-bottom: 1px solid var(--ink-100); }
.cred-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--gold-500);
  line-height: 1;
}
.cred-txt {
  font-size: var(--text-sm);
  color: var(--ink-700);
}

/* Honors + venues (visionary pass) */
.about-credentials-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: var(--space-8) 0 var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.about-credentials-label::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold-500);
}
.about-credentials {
  font-size: 0.9rem;
  color: var(--ink-600);
  line-height: 1.65;
  margin: 0;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--ink-200);
}
.about-credentials em {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--ink-700);
}
.about-appearances-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: var(--space-8) 0 var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.about-appearances-label::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--gold-500);
  opacity: 0.7;
}
.about-venues {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.about-venues li {
  font-size: 0.95rem;
  color: var(--navy-800);
  padding: var(--space-2) 0;
  border-bottom: 1px dashed var(--ink-200);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.about-venues li:last-child { border-bottom: none; }
.venue-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ===================================================================
   LIBRARY
   =================================================================== */

.section-library {
  background: var(--navy-950);
  color: var(--cream);
  overflow: hidden;
  position: relative;
}
.library-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(44, 92, 176, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(20, 38, 87, 0.6), transparent 60%);
  pointer-events: none;
}
.section-library > .container { position: relative; z-index: 1; }

.library-head { margin-inline: auto; text-align: center; max-width: 780px; }
.library-head .section-sub { margin-inline: auto; }
.library-head .section-sub em { color: var(--gold-400); font-style: italic; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(var(--space-4), 2vw, var(--space-8));
  margin-block: var(--space-16);
}
.book-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: transform 0.4s var(--ease);
}
.book-card:hover { transform: translateY(-6px); }

.book-cover {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(212, 162, 76, 0.15);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.book-card:hover .book-cover {
  border-color: var(--gold-500);
  box-shadow: 0 20px 40px -20px rgba(212, 162, 76, 0.5);
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.5));
}

.book-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-1);
  line-height: 1.25;
}
.book-desc {
  font-size: var(--text-xs);
  color: rgba(250, 247, 242, 0.7);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}
.book-authors {
  font-size: var(--text-xs);
  color: var(--gold-400);
  letter-spacing: 0.03em;
  margin: 0;
}

.library-note {
  text-align: center;
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(250, 247, 242, 0.6);
}

/* ===================================================================
   NEW RELEASES
   =================================================================== */

.section-new {
  background: var(--cream);
  color: var(--ink-900);
}
.section-new .section-head { text-align: center; margin-inline: auto; }

.release {
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-16));
  border: 1px solid var(--ink-100);
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.release + .release { margin-top: var(--space-8); }

.release-featured {
  grid-template-columns: 5fr 7fr;
  background: linear-gradient(160deg, #fbfaf7 0%, #f4efe6 100%);
  border-color: rgba(212, 162, 76, 0.25);
}
.release-secondary {
  grid-template-columns: 7fr 4fr;
}

.release-cover {
  position: relative;
}
.release-cover img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(10, 19, 41, 0.25));
  border-radius: var(--radius);
}
.release-cover-sm img {
  max-width: 300px;
  margin-inline: auto;
}
.release-badge {
  position: absolute;
  top: var(--space-4);
  left: -12px;
  background: var(--navy-900);
  color: var(--gold-400);
  padding: 0.4rem 1rem;
  border-radius: 4px 4px 4px 0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}
.release-badge::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  border: 4px solid transparent;
  border-top-color: var(--navy-700);
  border-right-color: var(--navy-700);
}

.release-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-500);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.release-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-3);
}
.release-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ink-500);
  margin-bottom: var(--space-6);
  font-weight: 400;
}
.release-body p { color: var(--ink-700); }
.release-body em { color: var(--navy-700); font-style: italic; }
.release-body strong { color: var(--navy-900); }

.release-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
.release-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-3);
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-700);
}
.check {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-500);
  position: relative;
  margin-top: 4px;
  flex-shrink: 0;
}
.check::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9l3 3 5-6' fill='none' stroke='%230a1329' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.release-authors {
  font-size: var(--text-sm);
  color: var(--ink-500);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.release-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===================================================================
   RESEARCH
   =================================================================== */

.section-research {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section-research::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 90% 30%, rgba(44, 92, 176, 0.2), transparent 60%);
  pointer-events: none;
}
.section-research > .container { position: relative; z-index: 1; }
.section-research .section-head { margin-inline: auto; text-align: center; }
.section-research .section-head .section-sub { margin-inline: auto; }

.research-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 940px;
  margin: 0 auto;
}

.research-item {
  background: rgba(250, 247, 242, 0.03);
  border: 1px solid rgba(250, 247, 242, 0.08);
  border-radius: var(--radius);
  transition: background 0.3s, border-color 0.3s;
}
.research-item:hover {
  background: rgba(250, 247, 242, 0.05);
  border-color: rgba(212, 162, 76, 0.25);
}

.research-item details {
  padding: 0;
}
.research-item summary {
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: var(--space-6);
  cursor: pointer;
  list-style: none;
}
.research-item summary::-webkit-details-marker { display: none; }

.research-cover {
  width: 72px;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-md);
}
.research-cover img { width: 100%; height: 100%; object-fit: cover; }

.research-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--gold-500);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.research-tag::before {
  content: "";
  display: inline-block;
  width: 14px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.research-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 var(--space-2);
}
.research-cite {
  font-size: var(--text-xs);
  color: rgba(250, 247, 242, 0.55);
  font-style: italic;
  margin: 0;
}

.research-caret {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, 0.2);
  position: relative;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.research-caret::before,
.research-caret::after {
  content: '';
  position: absolute;
  background: var(--cream);
  top: 50%;
  left: 50%;
  transition: transform 0.3s var(--ease);
}
.research-caret::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.research-caret::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}
details[open] .research-caret {
  background: var(--gold-500);
  border-color: var(--gold-500);
}
details[open] .research-caret::before { background: var(--navy-900); }
details[open] .research-caret::after { transform: translate(-50%, -50%) rotate(90deg); background: var(--navy-900); }

.research-body {
  padding: 0 var(--space-6) var(--space-6);
  padding-left: calc(72px + var(--space-6) + var(--space-6));
  max-width: 720px;
  border-top: 1px solid rgba(250, 247, 242, 0.06);
  margin-top: -1px;
  padding-top: var(--space-5);
}
.research-body p { color: rgba(250, 247, 242, 0.85); font-size: var(--text-base); line-height: 1.65; }
.research-body strong { color: var(--gold-300); font-weight: 600; }

.key-finding span {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.key-finding { margin-bottom: var(--space-3) !important; }

/* ===================================================================
   SPEAKER
   =================================================================== */

.section-speaker {
  background: var(--cream);
  color: var(--ink-900);
}

/* Speaker impact panel — Senate testimony documentary */
.speaker-impact {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto var(--space-14);
  padding: var(--space-7);
  background: #fbf6ea;
  border: 1px solid rgba(180, 140, 60, 0.22);
  position: relative;
}
.speaker-impact::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 1px;
  background: var(--gold-500);
}
.speaker-impact-photo {
  position: relative;
  overflow: hidden;
  background: #0a1220;
  min-height: 340px;
}
.speaker-impact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}
.speaker-impact-brackets .bracket {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid rgba(224, 178, 84, 0.85);
}
.speaker-impact-brackets .tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.speaker-impact-brackets .tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.speaker-impact-brackets .bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.speaker-impact-brackets .br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.speaker-impact-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4) 0;
  margin: 0;
}
.impact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600, #b48c3c);
  margin: 0 0 var(--space-4);
  padding-left: 2rem;
  position: relative;
}
.impact-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.5rem;
  height: 1px;
  background: var(--gold-500);
}
.impact-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--ink-900);
  margin: 0 0 var(--space-3);
  font-weight: 400;
}
.impact-attrib {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500, #7a6f5c);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(180, 140, 60, 0.28);
}
.impact-meta { display: flex; flex-direction: column; gap: 0.6rem; }
.impact-meta-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-3);
  align-items: baseline;
}
.impact-meta-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600, #b48c3c);
}
.impact-meta-val {
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.4;
}
@media (max-width: 780px) {
  .speaker-impact {
    grid-template-columns: 1fr;
    padding: var(--space-5);
    gap: var(--space-5);
    margin-bottom: var(--space-10);
  }
  .speaker-impact-photo { min-height: 260px; }
  .impact-quote { font-size: 1.15rem; }
  .impact-meta-row { grid-template-columns: 72px 1fr; }
}

.speaker-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: center;
}

.speaker-body p { color: var(--ink-700); }

.speaker-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-block: var(--space-8);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-700);
  transition: background 0.2s, border-color 0.2s;
}
.tag:hover { border-color: var(--gold-500); background: rgba(212, 162, 76, 0.08); }

.speaker-media {
  position: relative;
}
.speaker-image {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.speaker-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 162, 76, 0.3);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}
.speaker-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.speaker-image-1::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -30px;
  bottom: -30px;
  left: 30px;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ===================================================================
   CONTACT
   =================================================================== */

.section-contact {
  background: var(--navy-950);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 20% 30%, rgba(44, 92, 176, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 60% at 85% 80%, rgba(212, 162, 76, 0.1), transparent 60%);
  pointer-events: none;
}
.section-contact > .container { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(250, 247, 242, 0.75);
}
.contact-list-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 162, 76, 0.35);
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list-icon svg { width: 18px; height: 18px; }

/* Form */
.contact-form {
  background: rgba(250, 247, 242, 0.04);
  border: 1px solid rgba(250, 247, 242, 0.1);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.6);
}
.field-label em { color: var(--gold-500); font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(250, 247, 242, 0.15);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-size: var(--text-base);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.15);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 8l4 4 4-4' stroke='%23d4a24c' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}
.field select option {
  background: var(--navy-900);
  color: var(--cream);
}

.form-note {
  font-size: var(--text-xs);
  color: rgba(250, 247, 242, 0.5);
  margin: 0;
  text-align: center;
  font-style: italic;
  transition: color 200ms ease;
}
.form-note-success {
  color: var(--gold-400);
  font-style: normal;
}
.form-note-error {
  color: #f4a3a3;
  font-style: normal;
}

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

.site-footer {
  background: var(--navy-950);
  color: rgba(250, 247, 242, 0.6);
  padding-block: var(--space-16) var(--space-8);
  border-top: 1px solid rgba(250, 247, 242, 0.08);
  font-size: var(--text-sm);
}
.footer-inner {
  display: grid;
  grid-template-columns: 4fr 5fr 3fr;
  gap: var(--space-10);
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--gold-500);
}
.footer-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--cream);
}
.footer-tag {
  font-size: var(--text-xs);
  color: rgba(250, 247, 242, 0.5);
  margin-top: 2px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-self: center;
}
.footer-nav a {
  color: rgba(250, 247, 242, 0.7);
  font-size: var(--text-sm);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold-400); }

.footer-meta {
  text-align: right;
  font-size: var(--text-xs);
  color: rgba(250, 247, 242, 0.45);
}
.footer-meta p { margin: 0 0 var(--space-1); }

/* ===================================================================
   Scroll reveal animations
   =================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   RESPONSIVE — Tablet
   =================================================================== */

@media (max-width: 1080px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .book-grid li:nth-child(4) { grid-column: 1; }
  .book-grid li:nth-child(5) { grid-column: 2; }
}

@media (max-width: 900px) {
  .nav-primary { display: none; }
  .header-inner > .btn { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .about-grid > .about-portrait { order: 2; margin-top: var(--space-4); }
  .about-grid > .about-body { order: 1; }
  .about-portrait { max-width: 380px; margin: 0 auto; }
  .portrait-frame::after { display: none; }

  .release-featured,
  .release-secondary {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .release-featured .release-body,
  .release-secondary .release-body,
  .release-featured .release-cover,
  .release-secondary .release-cover,
  .release-secondary .release-cover-sm {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .release-secondary .release-cover-sm { order: -1; }
  .release-list { text-align: left; }
  .release-body > p:not(.release-label):not(.release-sub):not(.release-authors) { text-align: left; }
  .release-cta { width: 100%; justify-content: center; }
  .release-cta .btn { max-width: 100%; word-break: break-word; font-size: 0.85rem; padding-inline: 1rem; }

  /* Reposition badge on mobile so it doesn't overlap the book title */
  .release-featured .release-cover { padding-top: 2.25rem; }
  .release-badge {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.68rem;
    padding: 0.4rem 0.85rem;
  }
  .release-badge::after { display: none; }

  .speaker-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .speaker-image-1::after { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .footer-brand { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .footer-nav { justify-self: center; }
}

/* ===================================================================
   RESPONSIVE — Mobile
   =================================================================== */

@media (max-width: 720px) {
  .brand-name { font-size: var(--text-sm); }
  .brand-sub { display: none; }
  .brand-text { line-height: 1.2; }

  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 4rem; }

  .hero-badges {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .hero-badge { justify-self: center; width: 100px; }
  .hero-badge-right { grid-row: 1; }
  .hero-badge:not(.hero-badge-right) { grid-row: 3; }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
  }
  .hero-stat + .hero-stat {
    border-left: none;
    border-top: 1px solid rgba(250, 247, 242, 0.1);
    padding-top: var(--space-4);
  }

  .book-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .book-grid li:nth-child(4),
  .book-grid li:nth-child(5) { grid-column: auto; }
  .book-grid li:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 220px;
    margin-inline: auto;
  }

  .research-item summary {
    grid-template-columns: 56px 1fr auto;
    gap: var(--space-4);
    padding: var(--space-4);
  }
  .research-cover { width: 56px; }
  .research-body {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .form-row-2 { grid-template-columns: 1fr; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .release { padding: var(--space-6); }
  .release-cover img { max-width: 260px; margin-inline: auto; }

  .release-cta { justify-content: center; }
  .release-cta .btn { width: 100%; }

  .cred-list li { grid-template-columns: 60px 1fr; gap: var(--space-3); }
  .cred-num { font-size: var(--text-xl); }
}
