/* Fentner Group */
:root {
  --bg: #f8f9f6;
  --panel: #ffffff;
  --ink: #10141a;
  --muted: #565e6a;
  --rule: #e2e4dd;
  --accent: #1b3a6b;
  --mark: #22c55e;
  --wrap: 1120px;
  --read: 720px;
  --radius: 6px;
  --display: "Faculty Glyphic", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

/* Eyebrow labels */
.eyebrow, .section-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 14px;
}
.eyebrow-glyph {
  color: var(--mark);
  margin-right: 10px;
  font-size: 9px;
  vertical-align: 2px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  margin-bottom: 72px;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.wordmark {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-decoration: none;
}
.site-nav {
  display: flex;
  gap: 30px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  opacity: 0.82;
}
.site-nav a:hover, .site-nav a.active { opacity: 1; color: var(--accent); }
.nav-cta {
  display: inline-block;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  margin-bottom: 96px;
  background: #0d1b30;
}
.hero-media, .hero-grid, .hero-scrim {
  position: absolute;
  inset: 0;
}
.hero-media {
  background-image: url("/hero.png");
  background-size: cover;
  background-position: center;
}
.hero-grid {
  background-image:
    repeating-linear-gradient(to right, rgba(255,255,255,0.13) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.13) 0 1px, transparent 1px 72px);
}
.hero-scrim {
  background: linear-gradient(
    to bottom,
    rgba(8,20,40,0.42) 0%,
    rgba(8,20,40,0.20) 38%,
    rgba(8,20,40,0.38) 72%,
    rgba(248,249,246,0.55) 93%,
    var(--bg) 100%
  );
}
.hero-layer {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.site-header.on-hero {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 0;
}
.site-header.on-hero .wordmark,
.site-header.on-hero .site-nav a { color: #fff; }
.site-header.on-hero .site-nav a:hover,
.site-header.on-hero .site-nav a.active { color: #fff; opacity: 1; }
.site-header.on-hero .nav-cta {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.site-header.on-hero .nav-cta:hover { background: rgba(255,255,255,0.86); }

.hero-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 132px;
  max-width: var(--wrap);
  width: 100%;
}
.hero-inner .eyebrow { color: rgba(255,255,255,0.85); }
.hero-title {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0 0 22px;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-lead {
  margin: 0;
  max-width: 54ch;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* Intro */
.intro { max-width: var(--read); margin-bottom: 56px; }
.intro h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 16px;
}
.intro p { margin: 0; color: var(--muted); max-width: var(--read); }

/* Sections */
.section { margin-bottom: 72px; }
.section-title {
  margin: 0 0 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

/* Meta lines */
.meta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin: 0 0 10px;
}
.meta .sep { padding: 0 8px; color: var(--rule); }

/* Card list */
.entries { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.entry {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.entry-title {
  font-size: 26px;
  line-height: 1.18;
  margin: 0 0 8px;
  max-width: var(--read);
}
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-title a:hover { color: var(--accent); }
.entry-excerpt { margin: 0; color: var(--muted); max-width: var(--read); }

.more {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin: 28px 0 0;
}
.more a { text-decoration: none; color: var(--accent); }
.more a:hover { text-decoration: underline; }

/* Report */
.report { max-width: var(--read); }
.report h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 18px;
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.prose { max-width: var(--read); }
.prose.narrow { max-width: var(--read); }
.prose h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 44px 0 14px;
}
.prose h3 {
  font-size: 20px;
  line-height: 1.25;
  margin: 30px 0 10px;
}
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose img {
  max-width: 100%; height: auto; display: block;
  margin: 1.5rem 0; border: 1px solid var(--rule);
}
.prose blockquote {
  margin: 0 0 18px;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  color: var(--muted);
}
.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 18px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.prose th, .prose td {
  border-bottom: 1px solid var(--rule);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.prose tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 0 0 18px; }
.table-scroll table { margin: 0; }

/* Entity fact card */
.facts {
  margin: 0 0 36px;
  padding: 24px 26px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  max-width: var(--read);
}
.facts h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin: 0 0 12px;
}
.facts h2 .sep { padding: 0 8px; color: var(--rule); }
.facts table { width: 100%; border-collapse: collapse; }
.facts th, .facts td {
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.45;
  vertical-align: top;
}
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding-right: 20px;
  white-space: nowrap;
}
.facts td { text-align: right; color: var(--ink); }
.facts td a { word-break: break-word; }
@media (max-width: 520px) {
  .facts th, .facts td {
    display: block;
    text-align: left;
    border-bottom: 0;
    padding: 0;
  }
  .facts th { padding-top: 12px; }
  .facts td { padding-bottom: 9px; border-bottom: 1px solid var(--rule); }
}

/* Position + principles */
.position { margin-top: 24px; }
.position p:last-child { margin-bottom: 0; }
.principles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.principle {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.principle-index {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.11em;
  color: var(--mark);
  margin: 4px 0 0;
}
.principle-title {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 6px;
}
.principle-text { margin: 0; color: var(--muted); max-width: var(--read); }

/* People */
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.person {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.person-photo {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.person-body { max-width: var(--read); }
.person-name {
  font-size: 26px;
  line-height: 1.18;
  margin: 0 0 6px;
}
.person-title { color: var(--accent); margin: 0 0 14px; }
.person-bio { margin: 0; color: var(--muted); }

/* Subject block */
.subject {
  margin: 48px 0 0;
  padding: 24px 26px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  max-width: var(--read);
}
.subject h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin: 0 0 8px;
}
.subject p { margin: 0; }

/* Report media */
.media { margin: 48px 0 0; max-width: var(--read); }
.media-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.episode-list { list-style: none; padding: 0; margin: 0; }
.episode-list li { margin-bottom: 8px; }
.episode-list a { color: var(--accent); }

/* Video */
.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 0 0 20px;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  margin-top: 96px;
  padding: 28px 0 56px;
  border-top: 1px solid var(--rule);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer p {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 860px) {
  .hero-title { font-size: 44px; max-width: 18ch; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .site-header { margin-bottom: 44px; }
  .header-inner { padding-top: 16px; padding-bottom: 14px; gap: 12px 20px; }
  .wordmark { flex: 1 1 auto; }
  .nav-cta { order: 2; padding: 7px 14px; }
  .site-nav { order: 3; flex: 1 1 100%; gap: 18px; flex-wrap: wrap; font-size: 14px; }
  .hero { margin-bottom: 64px; }
  .hero-inner { padding-bottom: 96px; }
  .hero-title { font-size: 34px; max-width: none; }
  .hero-lead { font-size: 16px; }
  .intro h1 { font-size: 30px; }
  .report h1 { font-size: 30px; }
  .prose h2 { font-size: 23px; }
  .lead { font-size: 17px; }
  .entry, .person, .subject, .principle { padding: 22px 20px; }
  .principle { gap: 14px; }
  .principle-title { font-size: 18px; }
  .entry-title { font-size: 22px; }
  .meta .sep { padding: 0 6px; }
  .person { flex-direction: column; gap: 18px; }
  .person-photo { width: 170px; }
  .person-name { font-size: 22px; }
}
