/* Inter i Source Serif 4, SIL Open Font License. Lokalno, latin i latin-ext. */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/css/fonts/inter-400-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/css/fonts/inter-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/css/fonts/inter-500-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/css/fonts/inter-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/css/fonts/inter-600-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/css/fonts/inter-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/css/fonts/inter-700-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/css/fonts/inter-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/css/fonts/inter-800-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/css/fonts/inter-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/css/fonts/source-serif-4-400-italic-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/css/fonts/source-serif-4-400-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/css/fonts/source-serif-4-400-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/css/fonts/source-serif-4-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/css/fonts/source-serif-4-600-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/css/fonts/source-serif-4-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #12110f;
  --bg-elev: #1b1a16;
  --bg-card: #221f1a;
  --line: rgba(232, 228, 217, 0.12);
  --text: #ebe6d8;
  --muted: #a39c8c;
  --cream: #f3ead6;
  --gold: #c4a35a;
  --gold-dim: #8a7340;
  --doc: #4caf7a;
  --ind: #d4a017;
  --deny: #ef6b5c;
  --radius: 14px;
  --max: 1120px;
  --sans: Inter, system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --display: Inter, var(--sans);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 163, 90, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus,
.skip:focus-visible {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 30;
  background: var(--bg-elev);
  color: var(--cream);
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(18, 17, 15, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  min-height: 64px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-search {
  position: relative;
  z-index: 2;
  margin: 28px 0 0;
  max-width: 36rem;
}

.hero-search input {
  width: 100%;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-size: 1rem;
}

.hero-search input::placeholder {
  color: var(--muted);
}

.hero-search input:focus {
  border-color: var(--gold-dim);
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 10px 4px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.search-suggestions button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
}

.search-suggestions button:hover {
  border-bottom-color: currentColor;
  color: var(--cream);
}

.site-search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(70vh, 440px);
  overflow: auto;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.site-search-kicker {
  margin: 8px 8px 4px;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-search-results a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.site-search-results a:hover,
.site-search-results a:focus-visible,
.site-search-results a[aria-selected="true"] {
  background: rgba(196, 163, 90, 0.12);
}

.site-search-empty {
  margin: 0;
  padding: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  padding-top: 6px;
  padding-right: 8px;
  overflow: visible;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  font-size: 1.28rem;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  justify-content: center;
  overflow: visible;
}

.logo-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  position: relative;
  overflow: visible;
}

.logo-na {
  position: relative;
  z-index: 1;
  color: var(--cream);
}

.logo-uvid {
  position: relative;
  display: inline-block;
  z-index: 1;
  letter-spacing: -0.045em;
  overflow: visible;
  color: var(--gold);
}

.logo-tag {
  display: none;
  margin-left: 0.85rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7a06a;
  line-height: 1;
}

@media (min-width: 900px) {
  .header-inner {
    min-height: 72px;
  }

  .logo {
    font-size: 1.85rem;
  }

  .logo-tag {
    display: block;
  }
}

.nav-toggle {
  display: none;
  background: var(--bg-card);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

#site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 4px;
}

#site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 999px;
}

#site-nav a[aria-current="page"] {
  color: var(--cream);
  background: rgba(196, 163, 90, 0.12);
}

#site-nav a:hover {
  color: var(--cream);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
}

main.wrap > .hero {
  overflow: visible;
  padding: 32px 0 28px;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #161410 0%, var(--bg) 86%);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.hero-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(transparent, var(--bg));
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(243, 234, 214, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 234, 214, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 20%, transparent 75%);
}

.hero-source {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
  margin: 44px 0 0;
  max-width: 52rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.hero-evidence {
  position: relative;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(243, 234, 214, 0.04), transparent 50%),
    #191714;
  border-right: 1px solid var(--line);
}

.hero-doc {
  position: absolute;
  inset: 22px 36px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(196, 163, 90, 0.32);
  background:
    linear-gradient(180deg, rgba(243, 234, 214, 0.06), transparent 36%),
    #1d1b16;
}

.hero-doc-kicker {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-doc-line {
  display: block;
  height: 7px;
  width: 100%;
  border-radius: 99px;
  background: rgba(243, 234, 214, 0.12);
}

.hero-doc-line.short {
  width: 62%;
}

.hero-doc-hit {
  align-self: flex-start;
  margin: 4px 0;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(196, 163, 90, 0.18);
  border: 1px solid rgba(196, 163, 90, 0.45);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.3;
}

.hero-doc-source {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.hero-lens {
  position: absolute;
  right: 10px;
  top: 42%;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(196, 163, 90, 0.06);
  box-shadow: inset 0 0 0 1px rgba(243, 234, 214, 0.12);
}

.hero-lens::after {
  content: "";
  position: absolute;
  left: 72%;
  top: 78%;
  width: 36px;
  height: 6px;
  border-radius: 99px;
  background: var(--gold);
  transform: rotate(40deg);
  transform-origin: left center;
}

.hero .lede {
  max-width: none;
}

body[data-page="index"] .hero .lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #161410;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
}

.btn:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: #161410;
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dim);
  padding: 8px 14px;
  font-size: 0.72rem;
}

.btn-ghost:hover {
  background: rgba(196, 163, 90, 0.12);
  border-color: var(--gold);
  color: var(--cream);
}

@media (max-width: 720px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hero-source {
    grid-template-columns: 1fr;
  }

  .hero-evidence {
    display: none;
  }

  .hero-lens {
    display: none;
  }

  .hero-doc {
    inset: 16px 16px 16px 16px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-stage::before,
  .hero-grid,
  .hero-lens {
    display: none;
  }

  .hero-stage {
    background: var(--bg-elev);
  }
}

.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--cream);
}

h1 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin: 10px 0 14px;
  max-width: 28ch;
  line-height: 1.2;
}

body[data-page="index"] .hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin: 12px 0 18px;
  max-width: 22ch;
  line-height: 1.15;
}

.hero h1 {
  max-width: 22ch;
}

main.wrap > .hero h1 {
  max-width: 22ch;
}

.lede {
  font-size: 1.2rem;
  max-width: 46rem;
  color: var(--text);
}

.pullquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--bg-elev);
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
}

.pullquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
}

.hero .pullquote {
  margin: 0;
  max-width: none;
  padding: 32px 32px 28px 28px;
  border-left: 0;
  background: transparent;
  font-size: 1.32rem;
  line-height: 1.4;
}

.hero .pullquote cite {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text);
}

.hero .pullquote-source {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.pullquote p {
  margin: 0;
}

.pullquote-source {
  margin: 16px 0 0;
}

.hero .pullquote-source a {
  color: var(--gold);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.latest-line {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 8px 18px;
  margin: 0;
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.latest-line[aria-busy="true"] {
  min-height: 1.4em;
}

.latest-kicker {
  justify-self: start;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.latest-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 12px;
  text-align: center;
}

.latest-line a {
  color: var(--cream);
  text-decoration: none;
}

.latest-line a:hover {
  color: var(--gold);
}

.latest-line time {
  color: var(--muted);
  font-size: 0.86rem;
}

.latest-all {
  justify-self: end;
  color: var(--gold) !important;
  font-size: 0.86rem;
}

.latest-all::after {
  content: " →";
}

.trust-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-of-type {
  padding-right: 0;
  border-right: 0;
}

.trust-item strong {
  flex: 0 0 auto;
  color: var(--cream);
  font-size: 1.12rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-item-link {
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease;
}

.trust-item-link:hover {
  background: rgba(196, 163, 90, 0.06);
}

.trust-item-link .trust-arrow {
  margin-left: auto;
  color: var(--gold);
}

.know-block {
  padding-bottom: 64px;
}

.know-summary {
  max-width: 38rem;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.know-line {
  margin: 18px 0 0;
  max-width: 28rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--cream);
}

.know-block .hero-actions {
  margin-top: 22px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

.badge.documented {
  color: var(--doc);
}

.badge.indications {
  color: var(--ind);
}

.badge.not-claimed {
  color: var(--deny);
}

.badge.outcome,
.badge.count {
  color: var(--cream);
  background: var(--bg-elev);
}

.hub-card .hub-count {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
  margin-bottom: 28px;
}

.footer-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-grid .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.7;
}

.footer-links {
  margin: 0 0 6px;
}

.footer-links li + li {
  margin-top: 2px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-social svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

.footer-copy {
  margin: 28px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-legal {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.78rem;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--cream);
}

.updated-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.change-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 8px;
}

.change-list[aria-busy="true"] {
  min-height: 276px;
}

.change-card {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 16px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
}

.change-card:hover {
  border-color: var(--gold-dim);
}

.change-card time {
  color: var(--gold);
  font-size: 0.88rem;
  padding-top: 2px;
  white-space: nowrap;
}

.change-body .kicker {
  margin: 0 0 6px;
}

.change-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.change-body p {
  margin: 0;
}

.indicator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 8px;
}

.indicator-grid[aria-busy="true"] {
  min-height: 260px;
}

.indicator-grid-detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.indicator-group {
  margin: 0 0 48px;
}

.indicator-group > .kicker {
  margin-bottom: 6px;
}

.indicator-group > h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.indicator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.indicator-tab {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.indicator-tab[aria-selected="true"] {
  border-color: var(--gold-dim);
  background: #29251e;
  color: var(--gold);
}

.indicator-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.indicator-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.indicator-panel[hidden] {
  display: none;
}

.indicator-panel h2 {
  margin: 0 0 14px;
  font-size: 1.6rem;
}

.indicator-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: inherit;
}

.indicator-card-preview {
  padding-right: 42px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.indicator-card-preview:hover {
  border-color: var(--gold-dim);
  background: #29251e;
  transform: translateY(-2px);
}

.indicator-card .kicker {
  margin: 0 0 10px;
  font-size: 0.68rem;
}

.indicator-card h2,
.indicator-card h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.indicator-card-detailed h2 {
  font-size: 1.35rem;
}

.indicator-score {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.indicator-position {
  margin: 10px 0 12px;
  color: var(--cream);
  font-weight: 600;
}

.indicator-delta {
  margin: 10px 0 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.indicator-delta-down {
  color: var(--deny);
}

.indicator-delta-up {
  color: var(--doc);
}

.indicator-card-preview .muted {
  margin: auto 0 0;
  font-size: 0.88rem;
}

.indicator-card-detailed {
  scroll-margin-top: 96px;
}

.indicator-card-detailed > p:not(.kicker, .indicator-score, .indicator-position, .indicator-source) {
  margin: 4px 0 20px;
}

.indicator-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.indicator-details div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.indicator-details dt {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.indicator-details dd {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 0.92rem;
}

.indicator-source {
  margin: auto 0 0;
  padding-top: 20px;
}

.indicator-series {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.indicator-series > .kicker {
  margin-bottom: 8px;
}

.indicator-chart {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  color: var(--gold);
}

.indicator-chart-grid,
.indicator-chart-axis-line {
  stroke: var(--line);
  stroke-width: 1;
}

.indicator-chart-label {
  fill: var(--muted);
  font-size: 12px;
  font-family: inherit;
}

.indicator-chart text {
  fill: var(--muted);
  font-size: 11px;
  font-family: inherit;
}

.indicator-chart-dot {
  fill: var(--cream);
  stroke: var(--bg-card);
  stroke-width: 1.5;
}

.indicator-chart-dot-last {
  fill: var(--gold);
}

.indicator-series-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.indicator-series-table th,
.indicator-series-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
}

.indicator-series-table thead th {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.indicator-series-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.indicator-note {
  max-width: 52rem;
  padding: 30px 0 16px;
  border-top: 1px solid var(--line);
}

.indicator-note h2 {
  margin: 8px 0 14px;
}

.legend-line {
  margin: 18px 0 0;
  max-width: 42rem;
}

.lever-block {
  padding: 8px 0 48px;
  border-top: 1px solid var(--line);
}

.lever-block h2,
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 8px 0 10px;
}

.lever-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 8px;
}

.lever-map[aria-busy="true"] {
  min-height: 188px;
}

.lever-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  min-height: 100%;
}

.lever-card:hover {
  border-color: var(--gold-dim);
}

.lever-card h3 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--sans);
}

.lever-card p {
  margin: 0;
  color: var(--cream);
  font-size: 1.12rem;
  line-height: 1.4;
}

.lever-card .lever-count {
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}

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

  .indicator-grid,
  .indicator-grid-detailed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section {
  padding: 34px 0 52px;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin-bottom: 8px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px 28px;
  margin-bottom: 18px;
}

.section-heading .kicker {
  margin: 0 0 7px;
}

.section-heading h2 {
  margin: 0;
}

.section-link {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.85rem;
  text-decoration: none;
}

.section-link:hover {
  color: var(--cream);
}

.muted {
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  align-items: center;
}

.filters input[type="search"] {
  flex: 1 1 220px;
  min-width: min(100%, 220px);
}

.filters select {
  flex: 1 1 160px;
  max-width: 220px;
}

.filters input,
.filters select {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-height: 40px;
  margin: 12px 0 16px;
}

.filter-meta .muted {
  margin: 0;
}

.filter-reset {
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.filter-reset:hover {
  color: var(--cream);
  border-color: var(--gold-dim);
}

.table-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.row:hover {
  border-color: var(--gold-dim);
}

.row.dim {
  opacity: 0.72;
}

.row small {
  display: block;
  margin-top: 2px;
}

.row-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.status-pip {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
}

.status-pip.documented {
  color: var(--doc);
}

.status-pip.indications {
  color: var(--ind);
}

.status-pip.not-claimed {
  color: var(--deny);
}

.row-lever {
  color: var(--cream);
  white-space: nowrap;
}

.status-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-key li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.prose {
  max-width: 46rem;
}

.prose h2,
.dossier h2 {
  margin-top: 2.2rem;
}

.prose p,
.prose li,
.dossier p,
.dossier li {
  color: var(--text);
}

h2[id],
section[id],
article[id] {
  scroll-margin-top: 88px;
}

.method-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.method-toc a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--cream);
  font-size: 0.88rem;
  background: var(--bg-elev);
}

.method-toc a:hover {
  border-color: var(--gold-dim);
  color: var(--cream);
}

.method-block {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.method-block > .kicker {
  margin: 0;
}

.method-block h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin: 8px 0 12px;
  max-width: 28ch;
}

.method-block .prose ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
}

.method-block .prose li {
  margin: 0.55rem 0;
}

.method-block > p,
.method-block > .muted {
  max-width: 46rem;
}

.level-grid,
.split-grid {
  display: grid;
  gap: 12px;
  margin: 20px 0 12px;
}

.level-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-grid {
  grid-template-columns: 1fr 1fr;
}

.level-card,
.split-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
}

.level-card {
  border-top-width: 3px;
}

.level-card.documented {
  border-top-color: var(--doc);
}

.level-card.indications {
  border-top-color: var(--ind);
}

.level-card.not-claimed {
  border-top-color: var(--deny);
}

.status-dot {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  margin-right: 0.35em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.08em;
}

.level-card.documented .kicker {
  color: var(--doc);
}

.level-card.indications .kicker {
  color: var(--ind);
}

.level-card.not-claimed .kicker {
  color: var(--deny);
}

.level-card h3,
.split-card h3 {
  margin: 6px 0 10px;
  font-size: 1.12rem;
}

.level-card p,
.split-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.level-card p:last-child,
.split-card p:last-child {
  margin-bottom: 0;
}

.level-card .level-count {
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}

.split-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.split-card li {
  margin: 0.5rem 0;
  color: var(--text);
}

#registar {
  min-height: 100vh;
}

.source-list {
  display: grid;
  gap: 14px;
}

.source-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.source-card h3 {
  margin: 4px 0 8px;
  font-size: 1.1rem;
}

.source-used {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.source-used a {
  color: var(--text);
}

.tier {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.dossier {
  width: min(var(--max), calc(100% - 32px));
  padding: 36px 0 64px;
}

.dossier > * {
  max-width: 52rem;
}

.missing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 48px;
  align-items: center;
  max-width: none;
}

.missing-doc {
  width: 168px;
  height: auto;
  color: var(--gold);
}

@media (max-width: 720px) {
  .missing {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.dossier h1,
.dossier .lede {
  max-width: 52rem;
}

.dossier .caveat,
.dossier .outcome-box {
  margin-top: 1.6rem;
}

.dossier-with-toc {
  display: grid;
  grid-template-columns: minmax(0, 52rem) minmax(0, 1fr);
  grid-template-areas:
    "intro toc"
    "body toc";
  column-gap: 28px;
  align-items: start;
}

.dossier-with-toc > .dossier-intro,
.dossier-with-toc > .dossier-body,
.dossier-with-toc > .dossier-toc {
  max-width: none;
}

.dossier-intro {
  grid-area: intro;
  max-width: 52rem;
}

.dossier-body {
  grid-area: body;
  max-width: 52rem;
}

.dossier-toc {
  grid-area: toc;
  position: sticky;
  top: 80px;
  align-self: start;
  margin-top: 42px;
  padding: 0;
  border-left: 1px solid var(--line);
}

.dossier-toc-label {
  margin: 0 0 10px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dossier-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dossier-toc a {
  display: block;
  margin-left: -1px;
  padding: 6px 4px 6px 14px;
  border-left: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.35;
}

.dossier-toc a:hover {
  color: var(--cream);
}

.dossier-toc a.is-active {
  color: var(--cream);
  border-left-color: var(--gold);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--cream);
}

.crumbs-sep {
  opacity: 0.45;
}

.crumbs [aria-current="page"] {
  color: var(--cream);
}

.back-link {
  margin-top: 2.4rem;
}

.caveat {
  background: rgba(239, 107, 92, 0.12);
  border: 1px solid rgba(239, 107, 92, 0.35);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.caveat.warn {
  background: rgba(212, 160, 23, 0.1);
  border-color: rgba(212, 160, 23, 0.35);
}

blockquote.findings {
  margin: 16px 0;
  padding: 16px 18px;
  background: var(--bg-card);
  border-radius: 12px;
  font-family: var(--serif);
}

blockquote.findings cite {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--cream);
  font-size: 0.88rem;
}

.page-actions {
  margin-top: 2.8rem;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(196, 163, 90, 0.05);
}

.page-actions > .kicker {
  margin: 0 0 12px;
}

.page-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-action-buttons .btn {
  cursor: pointer;
  font-family: var(--sans);
}

.action-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--muted) !important;
  font-size: 0.82rem;
}

.copy-fallback {
  width: min(100%, 26rem);
  margin-left: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 7px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--cream);
}

.status-empty,
.status-loading {
  padding: 24px;
  color: var(--muted);
}

.status-loading {
  padding-left: 0;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin: 10px 0 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}

.topic-toggle {
  display: none;
  margin: 14px auto 0;
}

.topic-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 44px 20px 18px;
  min-height: 100%;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.topic-card:hover {
  border-color: var(--gold-dim);
  background: #29251e;
  transform: translateY(-2px);
}

.topic-card .kicker {
  margin: 0 0 8px;
}

.topic-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--gold);
  font-size: 1.15rem;
  transition: transform 160ms ease;
}

.topic-card:hover .card-arrow {
  transform: translateX(3px);
}

@media (max-width: 1100px) and (min-width: 901px) {
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  min-height: 100%;
}

.hub-card:hover {
  border-color: var(--gold-dim);
}

.hub-card .kicker {
  margin: 0;
}

.hub-card h3 {
  margin: 8px 0 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.hub-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hub-grid-compact .hub-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "count kicker"
    "count title"
    "count example";
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  padding: 12px 14px;
}

.hub-grid-compact .hub-count {
  grid-area: count;
  align-self: center;
  min-width: 2.2ch;
  margin: 0;
  font-size: 1.7rem;
}

.hub-grid-compact .hub-card .kicker {
  grid-area: kicker;
}

.hub-grid-compact .hub-card h3 {
  grid-area: title;
  margin-top: 2px;
}

.hub-grid-compact .hub-example {
  grid-area: example;
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.database-overview {
  padding-top: 26px;
  padding-bottom: 36px;
}

.featured-block {
  padding-top: 26px;
  padding-bottom: 36px;
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(160px, 0.48fr) minmax(0, 1.52fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.skeleton-line {
  display: block;
  height: 0.82em;
  border-radius: 99px;
  background: rgba(243, 234, 214, 0.1);
}

.skeleton-line.lg {
  height: 1.15em;
}

.skeleton-line.w-28 { width: 28%; }
.skeleton-line.w-32 { width: 32%; }
.skeleton-line.w-36 { width: 36%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-48 { width: 48%; }
.skeleton-line.w-56 { width: 56%; }
.skeleton-line.w-64 { width: 64%; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-72 { width: 72%; }
.skeleton-line.w-76 { width: 76%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-84 { width: 84%; }
.skeleton-line.w-90 { width: 90%; }
.skeleton-line.w-92 { width: 92%; }

.skeleton-card {
  pointer-events: none;
}

.lever-card.skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skeleton-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-case[aria-busy="true"] .featured-case-body,
.featured-case[aria-busy="true"] .featured-case-meta {
  gap: 14px;
}

.featured-case[aria-busy="true"] .featured-case-body {
  justify-content: flex-start;
  padding-top: 36px;
}

.featured-case-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(196, 163, 90, 0.13), transparent 58%),
    #191714;
}

.featured-case-meta .kicker,
.featured-case-meta p {
  margin: 0;
}

.featured-source-count {
  margin-top: auto !important;
  color: var(--muted);
  font-size: 0.82rem;
}

.featured-case-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
}

.featured-case-body h3 {
  margin: 0 0 8px;
  max-width: 28ch;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.featured-case-body h3 a {
  color: var(--cream);
  text-decoration: none;
}

.featured-case-body h3 a:hover {
  color: var(--gold);
}

.featured-case-body > p {
  max-width: 62ch;
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.45;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 14px;
}

.text-link {
  color: var(--gold);
  font-size: 0.86rem;
  text-decoration: none;
}

.text-link:hover {
  color: var(--cream);
}

.affairs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.affair-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
}

.affair-card:hover {
  border-color: var(--gold-dim);
}

.affair-year {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
  padding-top: 4px;
}

.affair-body .meta {
  margin-bottom: 8px;
}

.affair-body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.affair-body p {
  margin: 0;
}

.outcome-box {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 8px 0 28px;
}

.outcome-box .kicker {
  margin: 0 0 8px;
}

.outcome-box p:last-child {
  margin: 0;
}

.fact-list {
  padding-left: 1.2rem;
}

.fact-list li {
  margin: 0.55rem 0;
}

.chrono-period {
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.timeline {
  list-style: none;
  margin: 8px 0 32px;
  padding: 0 0 0 8px;
  border-left: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 28px 22px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-item time {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.timeline-body h3 {
  margin: 8px 0 8px;
  font-size: 1.12rem;
}

.timeline-body p {
  margin: 0 0 10px;
}

.timeline-body .meta {
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .dossier-with-toc {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "toc"
      "body";
  }

  .dossier-toc {
    position: static;
    min-width: 0;
    margin: 4px 0 8px;
    padding: 0;
    border-left: 0;
  }

  .dossier-toc-label {
    margin: 0 0 8px;
  }

  .dossier-toc ol {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .dossier-toc a {
    margin-left: 0;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .dossier-toc a.is-active {
    border-color: var(--gold-dim);
    color: var(--cream);
    background: rgba(196, 163, 90, 0.1);
  }

  .hub-grid,
  .topic-grid,
  .level-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .topic-grid.is-collapsible:not(.is-expanded) .topic-secondary {
    display: none;
  }

  .topic-toggle:not([hidden]) {
    display: inline-flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
  }

  #site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 10px;
  }

  #site-nav.is-open {
    display: flex;
  }

  #site-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-radius: 10px;
    padding: 10px 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .indicator-grid,
  .indicator-grid-detailed {
    grid-template-columns: 1fr;
  }

  .filters select {
    max-width: none;
  }

  .hero-source {
    margin-top: 28px;
  }

  .hero-evidence {
    display: none;
  }

  .hero .pullquote {
    padding: 22px 20px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .latest-line {
    grid-template-columns: 1fr auto;
    padding: 14px 0 16px;
  }

  .latest-main {
    grid-column: 1 / -1;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-of-type {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-of-type {
    border-bottom: 0;
  }

  .section,
  .lever-block {
    padding: 28px 0 40px;
  }

  .section-heading {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 10px;
  }

  .featured-case {
    grid-template-columns: 1fr;
  }

  .featured-case-meta {
    gap: 8px;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .featured-source-count {
    margin-top: 4px !important;
  }

  .featured-case-body {
    padding: 16px;
  }

  .featured-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .page-action-buttons .btn {
    flex: 1 1 auto;
  }

  .hub-grid-compact .hub-card {
    grid-template-columns: auto 1fr;
  }

  .row {
    grid-template-columns: 40px 1fr;
    align-items: start;
    row-gap: 4px;
  }

  .row-lever {
    grid-column: 2;
  }

  .lever-map {
    grid-template-columns: 1fr;
  }

  .affair-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-grid,
  .change-card {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .topic-card,
  .card-arrow,
  .indicator-card-preview {
    transition: none;
  }
}
