:root {
  --ink: #07141c;
  --ink-soft: #102630;
  --paper: #f3efe6;
  --paper-deep: #e8e0d2;
  --white: #fffdf8;
  --signal: #d05a36;
  --signal-dark: #9f3f25;
  --sage: #8fa694;
  --line: rgba(7, 20, 28, 0.16);
  --muted: #657078;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  margin: 0;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
::selection { background: var(--signal); color: #fff; }
[hidden] { display: none !important; }

.skip {
  background: var(--white);
  border: 2px solid var(--ink);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -90px;
  z-index: 1000;
}
.skip:focus { top: 16px; }

.topline {
  background: #050d12;
  color: #a9b7bc;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 8px clamp(20px, 4vw, 64px);
  text-align: center;
  text-transform: uppercase;
}
.sitebar {
  background: rgba(243, 239, 230, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}
.sitebar .inner {
  align-items: center;
  display: flex;
  gap: 36px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1500px;
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 64px);
}
.brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--signal); }
.nav { align-items: center; display: flex; flex-wrap: wrap; gap: 7px 22px; justify-content: flex-end; }
.nav a {
  border-bottom: 2px solid transparent;
  font-size: .875rem;
  font-weight: 750;
  padding: 8px 0 6px;
  text-decoration: none;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { border-color: var(--signal); color: var(--signal-dark); }

.wrap, .main, .footer-inner { margin-inline: auto; max-width: 1480px; width: 100%; }
.hero {
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.06) calc(100% - 1px)) 0 0 / 25% 100%,
    var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
}
.hero::after {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
  height: 520px;
  position: absolute;
  right: -270px;
  top: -250px;
  width: 520px;
}
.hero .wrap { padding: clamp(76px, 10vw, 142px) clamp(22px, 6vw, 96px) clamp(62px, 8vw, 105px); position: relative; z-index: 1; }
.eyebrow {
  color: var(--signal);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.4vw, 7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .92;
  margin: 28px 0 0;
  max-width: 1160px;
}
.hero > .wrap > p {
  color: #b9c5c9;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.34rem);
  line-height: 1.68;
  margin: 35px 0 0;
  max-width: 930px;
}
.hero-grid {
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(55px, 8vw, 100px);
}
.metric { border-right: 1px solid rgba(255,255,255,.16); min-height: 112px; padding: 24px 24px 20px; }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.25rem); font-weight: 400; line-height: 1; }
.metric span { color: #91a2a8; display: block; font-size: .68rem; letter-spacing: .08em; line-height: 1.45; margin-top: 10px; text-transform: uppercase; }

.main { padding: 0 clamp(22px, 6vw, 96px) 120px; }
.notice {
  background: var(--sage-light, #ced8ce);
  border-left: 4px solid var(--ink);
  color: #30433a;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  margin: clamp(54px, 7vw, 90px) 0 24px;
  padding: 24px 28px;
}
.notice strong { color: var(--ink); }
.orientation {
  background: var(--white);
  border: 1px solid var(--line);
  margin-top: 24px;
  padding: clamp(28px, 4vw, 52px);
}
.orientation-heading {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
}
.orientation-heading h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: 16px 0 0;
  max-width: 760px;
}
.orientation-heading > p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}
.reading-paths {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
}
.reading-path {
  background: var(--paper);
  display: flex;
  min-height: 210px;
  padding: 28px;
  text-decoration: none;
  flex-direction: column;
  transition: background-color .2s ease, color .2s ease;
}
.reading-path > span {
  color: var(--signal-dark);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .1em;
}
.reading-path > strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  margin-top: 28px;
}
.reading-path > small {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  margin-top: 12px;
}
.reading-path:hover, .reading-path:focus-visible { background: var(--ink); color: #fff; outline: none; }
.reading-path:hover > span, .reading-path:focus-visible > span { color: #f09b80; }
.reading-path:hover > small, .reading-path:focus-visible > small { color: #b9c5c9; }
.reading-notes {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  padding-top: 28px;
}
.reading-notes strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; }
.reading-notes p { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 8px 0 0; }
.toc {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 120px minmax(0, 1fr);
  margin-top: 30px;
  padding: 20px 0;
}
.toc-title { font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.toc-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.toc a { color: var(--muted); font-size: .875rem; font-weight: 750; text-decoration: none; }
.toc a:hover, .toc a:focus-visible { color: var(--signal-dark); }
.toc a[aria-current="location"] { color: var(--signal-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.filters {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  margin: 28px 0 0;
  padding: 20px;
  position: sticky;
  top: 96px;
  z-index: 30;
}
.filter-heading { align-items: center; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 15px; }
.filter-heading label { display: grid; gap: 3px; }
.filter-heading label strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.filter-heading label span { color: var(--muted); font-size: .86rem; }
kbd { background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); font: 700 .78rem/1 var(--sans); padding: 3px 6px; }
.record-total { color: var(--signal-dark); font-size: .75rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.search {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  outline: none;
  padding: 12px 16px;
  width: 100%;
}
.search:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(208,90,54,.12); }
.search-status { color: var(--muted); font-size: .75rem; margin: 10px 2px 0; }
.quick-search { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quick-search > span { color: var(--muted); font-size: .78rem; font-weight: 800; margin-right: 2px; }
.quick-search button {
  background: transparent;
  border: 1px solid rgba(7,20,28,.22);
  color: var(--ink-soft);
  cursor: pointer;
  font: 750 .8rem/1.2 var(--sans);
  min-height: 34px;
  padding: 7px 11px;
}
.quick-search button:hover, .quick-search button:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; outline: none; }
.quick-search [data-clear-search] { border-color: transparent; color: var(--signal-dark); margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }

.section { border-top: 1px solid var(--line); padding: clamp(88px, 10vw, 145px) 0 0; scroll-margin-top: 150px; }
.section + .section { margin-top: clamp(88px, 10vw, 145px); }
.section-heading { max-width: 1180px; }
.section-meta { align-items: center; display: flex; gap: 12px; }
.section-number { background: var(--ink); color: #fff; font-size: .7rem; font-weight: 850; letter-spacing: .08em; padding: 5px 8px; }
.section-count { border-left: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; margin-left: auto; padding-left: 12px; text-transform: uppercase; }
.section h2 {
  font-family: var(--serif);
  font-size: clamp(2.45rem, 4.5vw, 4.65rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
  margin: 20px 0 0;
  max-width: 1150px;
}
.section-lead {
  color: #4d5b63;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.75;
  margin: 28px 0 0;
  max-width: 960px;
}
.callout {
  background: var(--ink);
  color: #b7c4c8;
  margin: 34px 0;
  padding: clamp(24px, 4vw, 42px);
}
.callout h3 { color: #fff; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; margin-bottom: 9px; }
.callout p { margin-bottom: 0; }
.callout a { text-underline-offset: 3px; }

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: rgba(7,20,28,.38); box-shadow: 0 15px 40px rgba(7,20,28,.08); transform: translateY(-2px); }
.media {
  aspect-ratio: 16 / 9;
  background: #d9d3c8;
  display: block;
  overflow: hidden;
}
.media img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.card:hover .media img { transform: scale(1.025); }
.media.no-preview { align-items: center; color: var(--muted); display: flex; font-size: .76rem; font-weight: 750; justify-content: center; letter-spacing: .08em; padding: 30px; text-align: center; text-decoration: none; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 19px; }
.badge { border: 1px solid currentColor; display: inline-flex; font-size: .63rem; font-weight: 850; letter-spacing: .08em; padding: 4px 7px; text-transform: uppercase; }
.p-high { color: #39765a; }
.p-mid { color: #976422; }
.p-low { color: #9c4d43; }
.card h3 { font-family: var(--serif); font-size: 1.42rem; font-weight: 400; line-height: 1.2; margin-bottom: 12px; }
.card p { color: #536169; font-size: .9rem; line-height: 1.65; margin-bottom: 10px; }
.card p strong { color: var(--ink); }
.source-link {
  border-bottom: 1px solid var(--signal);
  color: var(--signal-dark);
  font-size: .875rem;
  font-weight: 800;
  margin-top: auto;
  padding-top: 15px;
  text-decoration: none;
  width: fit-content;
}
.source-link:hover, .source-link:focus-visible { color: var(--signal); }
.caption { color: var(--muted); font-size: .82rem; line-height: 1.55; padding: 11px 14px; }
.date { color: var(--signal-dark); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.timeline { border-top: 1px solid var(--line); margin-top: 42px; }
.tl {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 140px 1fr;
  padding: 29px 0;
}
.tl time, .tl > strong { color: var(--signal-dark); font-family: var(--serif); font-size: 1.2rem; }
.tl h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin-bottom: 8px; }
.tl p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }

.video-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 42px; }
.video-card { background: var(--ink-soft); color: #fff; display: flex; flex-direction: column; min-width: 0; }
.video-thumb { aspect-ratio: 16 / 9; background: #061015; display: block; overflow: hidden; position: relative; }
.video-thumb img { height: 100%; object-fit: cover; opacity: .86; transition: opacity .2s ease, transform .3s ease; width: 100%; }
.video-card:hover .video-thumb img { opacity: 1; transform: scale(1.025); }
.video-thumb .play { align-items: center; background: var(--signal); border-radius: 50%; bottom: 16px; color: #fff; display: flex; height: 46px; justify-content: center; position: absolute; right: 16px; width: 46px; }
.video-thumb.no-preview { align-items: center; color: #c0ccd0; display: flex; font-size: .75rem; font-weight: 800; justify-content: center; letter-spacing: .08em; padding: 30px; text-align: center; text-decoration: none; }
.video-card .card-body { padding: 24px; }
.video-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.25; }
.video-card p { color: #a8b6bb; font-size: .9rem; }
.video-card .source-link { color: #f09b80; }

.subsection-title { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.25rem); font-weight: 400; line-height: 1.2; margin: 46px 0 0; }
.table-scroll { background: var(--white); border: 1px solid var(--line); margin-top: 28px; overflow-x: auto; }
.legal-table { border-collapse: collapse; margin: 0; min-width: 920px; width: 100%; }
.legal-table caption { color: var(--ink); font-family: var(--serif); font-size: 1.45rem; padding: 22px; text-align: left; }
.legal-table th {
  background: var(--ink);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .08em;
  padding: 15px 13px;
  text-align: left;
  text-transform: uppercase;
}
.legal-table td { border-bottom: 1px solid var(--line); color: #45535a; font-size: .875rem; line-height: 1.55; padding: 15px 14px; vertical-align: top; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table tr:hover td { background: #f8f5ee; }
.legal-table a { color: var(--signal-dark); font-weight: 800; text-underline-offset: 3px; }
.proc { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; }

.rights-box { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin-top: 42px; background: var(--line); border: 1px solid var(--line); }
.rights-box > div { background: var(--white); min-height: 210px; padding: 30px; }
.rights-box h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 14px; }
.rights-box p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }

.progressive-ready .entry-collapsed { display: none !important; }
.collection-control { display: flex; justify-content: center; margin-top: 24px; }
.collection-toggle {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  cursor: pointer;
  font: 800 .875rem/1.2 var(--sans);
  min-height: 48px;
  padding: 13px 20px;
}
.collection-toggle:hover, .collection-toggle:focus-visible { background: var(--signal-dark); border-color: var(--signal-dark); outline: 3px solid rgba(208,90,54,.18); outline-offset: 2px; }
.end-navigation { border-top: 1px solid var(--line); margin-top: 90px; padding-top: 28px; text-align: right; }
.end-navigation a { color: var(--signal-dark); font-size: .875rem; font-weight: 800; text-underline-offset: 4px; }

footer { background: #050d12; color: #fff; padding: 62px clamp(22px, 6vw, 96px); }
.footer-inner { display: grid; gap: 22px; }
.footer-inner > strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.footer-inner > p { color: #82949b; font-size: .75rem; margin: 0; max-width: 900px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 11px 25px; }
.footer-links a { color: #b2c0c5; font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; }

@media (max-width: 1100px) {
  .grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rights-box { grid-template-columns: repeat(2, 1fr); }
  .orientation-heading { align-items: start; grid-template-columns: 1fr; }
  .reading-paths, .reading-notes { grid-template-columns: 1fr; }
  .reading-path { min-height: 0; }
  .sitebar .inner { align-items: flex-start; flex-direction: column; gap: 5px; }
  .nav { justify-content: flex-start; }
  .filters { top: 126px; }
}

@media (max-width: 720px) {
  .topline { font-size: .62rem; }
  .sitebar { position: relative; }
  .sitebar .inner { padding-block: 17px; }
  .nav { gap: 4px 16px; }
  .nav a { font-size: .69rem; }
  .hero .wrap { padding-top: 68px; }
  .hero-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .metric:nth-child(3) { padding-left: 0; }
  .main { padding-bottom: 80px; }
  .filters { position: static; }
  .filter-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .quick-search [data-clear-search] { margin-left: 0; }
  .toc { gap: 10px; grid-template-columns: 1fr; }
  .grid, .video-grid, .rights-box { grid-template-columns: 1fr; }
  .tl { gap: 8px; grid-template-columns: 1fr; }
  .section { scroll-margin-top: 20px; }
  .table-scroll { margin-inline: -22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .sitebar, .topline, .filters, .toc, .collection-control, .end-navigation { display: none !important; }
  body { background: #fff; color: #000; font-size: 10pt; }
  .hero { background: #fff; color: #000; }
  .hero .wrap { padding: 30px 0; }
  .hero > .wrap > p, .metric span { color: #333; }
  .main { max-width: none; padding: 0; }
  .card, .video-card, .callout, .reading-path { break-inside: avoid; }
  .progressive-ready article.entry-collapsed { display: flex !important; }
  .progressive-ready tr.entry-collapsed { display: table-row !important; }
  .grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  a { text-decoration: none; }
}
