/* Inalienable Rights Alliance homepage - Option A "The Public Record" */
:root {
  --ink: #1A1F2B;
  --ink-2: #3D4350;
  --muted: #5A5F69;
  --paper: #FBFAF7;
  --tint: #F0EEE7;
  --rule: #D9D6CE;
  --accent: #23406B;
  --accent-dark: #142843;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.topbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; font-size: 14px; color: var(--muted); }
.topbar-link { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.masthead { text-align: center; padding-top: 24px; padding-bottom: 20px; }
.wordmark { font-family: var(--serif); font-size: 52px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.1; color: var(--ink); text-decoration: none; }
.primary-nav { border-top: 1px solid var(--rule); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }

/* Inner pages */
.page-head { padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 1.12; letter-spacing: -0.4px; margin: 12px 0 18px; max-width: 900px; }
.page-head .lede { margin-bottom: 0; max-width: 760px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 48px; padding-bottom: 64px; }
.layout-main { flex: 999 1 560px; min-width: 0; }
.layout-side { flex: 1 1 300px; min-width: 0; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--ink-2); }
.prose ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 12px; }
.prose li strong { color: var(--ink); }
.toc { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.toc li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.toc li.sub { padding-left: 24px; color: var(--ink-2); }
.toc .pg { color: var(--muted); font-size: 15px; white-space: nowrap; }
.panel { border-top: 3px solid var(--ink); padding-top: 16px; margin-bottom: 40px; }
.panel h2 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 0 0 12px; font-family: var(--sans); }
.panel p { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; }
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; overflow-wrap: anywhere; }
.panel .btn { margin-top: 6px; }
.note { background: var(--tint); padding: 20px 24px; margin: 24px 0; color: var(--ink-2); font-size: 16px; }
.note strong { color: var(--ink); }
.doc-group { margin-bottom: 48px; scroll-margin-top: 24px; }
.doc-card { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.doc-card:first-of-type { border-top: 2px solid var(--ink); }
.doc-card .doc-main { flex: 999 1 420px; min-width: 0; }
.doc-card h3 { font-size: 19px; margin: 0 0 4px; line-height: 1.35; }
.doc-card h3 a { text-decoration: none; }
.doc-card h3 a:hover { text-decoration: underline; }
.doc-card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.doc-card .doc-meta { flex: 1 1 140px; font-size: 14px; color: var(--muted); text-align: right; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--rule); color: var(--muted); margin-right: 6px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 64px; padding-bottom: 64px; }
.hero-main { flex: 999 1 560px; min-width: 0; }
.eyebrow { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.eyebrow.muted { color: var(--muted); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: 54px; line-height: 1.08; letter-spacing: -0.5px; margin: 14px 0 22px; }
.lede { font-size: 20px; color: var(--ink-2); margin: 0 0 32px; max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 14px 24px; font-weight: 600; border-radius: 2px; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #F3F1EC; color: var(--ink); font-weight: 700; }
.btn-light:hover { background: #fff; color: var(--ink); }

.feature { flex: 1 1 340px; min-width: 0; border-top: 3px solid var(--ink); padding-top: 18px; }
.feature-media { margin: 14px 0; aspect-ratio: 16 / 9; background: #E6E3DB; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.feature-media:hover { background: #DDD9CF; color: var(--ink); }
.feature h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin-bottom: 8px; }
.meta { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.btn-watch { gap: 10px; width: 100%; justify-content: center; text-align: center; margin-bottom: 16px; line-height: 1.3; }
.btn-watch svg { flex: none; }
.feature-links {display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; font-size: 15px; }

/* Sections */
.section { padding-top: 56px; padding-bottom: 56px; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.2; margin-bottom: 28px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.section-head .section-title { margin-bottom: 0; }
.section-head a { font-weight: 600; }
.band-ruled { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-tint { background: var(--tint); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.area .num { font-family: var(--serif); font-size: 40px; color: var(--accent); line-height: 1; }
.area h3 { font-size: 20px; margin: 14px 0 8px; }
.area p, .grid-4 p { margin: 0 0 12px; color: var(--ink-2); }
.area a { font-weight: 600; }
.grid-4 h3 { font-size: 18px; margin-bottom: 6px; }

/* Homepage series feature */
.series { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.series-text { flex: 1 1 380px; min-width: 0; }
.series-text > p { color: var(--ink-2); margin: 0 0 20px; max-width: 520px; }
.series-video { flex: 999 1 520px; min-width: 0; }
.series-list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--rule); }
.series-list li { border-bottom: 1px solid var(--rule); }
.series-list a { display: flex; gap: 16px; align-items: baseline; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.series-list a:hover { color: var(--accent); }
.series-list .sn { font-family: var(--serif); font-weight: 500; color: var(--accent); font-size: 20px; min-width: 28px; }

/* Video series */
.part-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.part-jump a { text-decoration: none; color: var(--ink); border: 1px solid var(--ink); padding: 10px 18px; font-weight: 600; font-size: 15px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
.part-jump a:hover { background: var(--ink); color: #fff; }
.episode { padding-top: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); scroll-margin-top: 16px; }
.episode:last-child { border-bottom: 0; }
.episode-head { display: flex; gap: 20px; align-items: baseline; margin-bottom: 24px; }
.episode-head .num { font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 1; }
.episode-head h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.2; margin: 0 0 4px; }
.episode-head .crumbs { margin: 0; }
.episode-body { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.episode-video { flex: 999 1 520px; min-width: 0; }
.episode-video > a, .interview > a { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 15px; }
.episode-text { flex: 1 1 340px; min-width: 0; }
.episode-text p, .episode-intro { margin: 0 0 14px; color: var(--ink-2); }
.episode-intro { max-width: 820px; margin-bottom: 24px; }
.episode-text h3 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 22px 0 8px; }
.small { font-size: 15px; color: var(--muted) !important; }
.video { position: relative; aspect-ratio: 16 / 9; background: #11151d; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.guests { margin: 0; padding-left: 20px; font-size: 16px; color: var(--ink-2); }
.guests li { padding: 5px 0; }
.guests strong { color: var(--ink); font-weight: 600; }
.interview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.interview h3 { font-size: 19px; margin: 14px 0 2px; }
.interview .crumbs { margin: 0; }

/* Report form */
.report-form fieldset { border: 0; border-top: 2px solid var(--ink); margin: 0 0 36px; padding: 18px 0 0; }
.report-form legend { font-family: var(--serif); font-size: 26px; font-weight: 500; padding: 0 12px 0 0; }
.report-form .opt { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 400; }
.report-form .req { font-size: 13px; font-weight: 700; color: var(--accent); margin-left: 4px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; }
.field { margin: 14px 0; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 16px; }
.report-form input[type="text"], .report-form input[type="email"], .report-form input[type="tel"], .report-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #9A9EA6; border-radius: 2px; padding: 12px 14px; min-height: 48px; }
.report-form textarea { min-height: 220px; resize: vertical; line-height: 1.55; }
.report-form input:focus, .report-form textarea:focus { outline: 3px solid rgba(35, 64, 107, 0.35); outline-offset: 1px; border-color: var(--accent); }
.hint { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.choice { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--rule); background: #fff; padding: 10px 16px; min-height: 44px; box-sizing: border-box; cursor: pointer; font-size: 16px; }
.choice input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.submit-row .btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.submit-row .btn:disabled { opacity: 0.7; cursor: wait; }
.alert { padding: 16px 20px; margin-bottom: 28px; font-size: 16px; }
.alert-error { background: #FBEAEA; border-left: 4px solid #9B2C2C; color: #5C1A1A; }

/* Speaker lists under each episode */
.speakers-title { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 32px 0 12px; }
.speakers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.spk { display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box; padding: 12px 14px; background: #fff; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
a.spk { min-height: 44px; transition: border-color .15s, box-shadow .15s; }
a.spk:hover { border-color: var(--accent); }
a.spk:focus-visible { outline: 3px solid rgba(35, 64, 107, 0.4); outline-offset: 1px; }
a.spk.is-active { border-color: var(--accent); background: #EEF2F8; }
.spk-time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.spk-time::before { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.spk-name { font-weight: 600; font-size: 16px; line-height: 1.35; }
.spk-role { font-size: 14px; color: var(--muted); line-height: 1.4; }
.spk-static { background: transparent; }

/* Table */
.table-scroll { overflow-x: auto; }
.doc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.doc-table th { text-align: left; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.doc-table td { padding: 16px 12px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.doc-table th:first-child, .doc-table td:first-child { padding-left: 0; }

/* Report band */
.band-dark { background: var(--ink); color: #F3F1EC; }
.report { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.report-text { flex: 999 1 520px; min-width: 0; }
.report .section-title { margin-bottom: 10px; }
.report p { margin: 0; color: #C9CCD3; max-width: 640px; }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: baseline; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer-mark { font-family: var(--serif); font-size: 20px; color: var(--ink); }

/* Phones */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wordmark { font-size: 34px; }
  .nav-links { gap: 0 20px; }
  .hero { padding-top: 40px; padding-bottom: 40px; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .lede { font-size: 18px; }
  .section-title { font-size: 28px; }
  .page-head h1 { font-size: 32px; }
  .doc-card .doc-meta { text-align: left; }
}
