/*
Theme Name: Overwatch Rights Coalition
Author: Overwatch Rights Coalition
Description: Custom theme for Overwatch Rights Coalition — Educate. Inform. Protect. Activating it creates the site's pages, primary menu, static homepage and sample News & Alerts posts.
Version: 1.12.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: overwatch
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0E1B33;
	--navy-2: #13244A;
	--ink: #08111F;
	--parch: #F7F3EA;
	--parch-2: #EFE7D6;
	--parch-3: #F3ECDC;
	--line: #E4DCCB;
	--line-2: #D9CDB2;
	--gold: #C9A24E;
	--gold-dk: #8A6A24;
	--gold-lt: #F1DEB0;
	--bronze: #6E5A2E;
	--red: #A3262A;
	--body: #3B4558;
	--muted: #5A6274;
	--serif: 'Libre Caslon Display', Georgia, serif;
	--serif-text: 'Libre Caslon Text', Georgia, serif;
	--sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--parch); color: var(--navy); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button { font-family: inherit; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; }
.section { padding: 112px 32px; }
.section--md { padding: 96px 32px; }
.section--band { padding: 64px 32px; }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy-2 { background: var(--navy-2); color: #fff; }
.bg-parch2 { background: var(--parch-2); }
.bg-red { background: var(--red); color: #fff; }
.bg-gold { background: var(--gold); color: var(--navy); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split--center { align-items: center; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 280px), 100%), 1fr)); }
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(var(--min, 280px), 100%), 1fr)); }
.band-row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.band-row > :first-child { flex: 1 1 520px; min-width: 0; }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--red); font-weight: 700; margin: 0 0 16px; }
.bg-navy .eyebrow, .bg-red .eyebrow, .eyebrow--gold { color: var(--gold); }
.bg-red .eyebrow { color: var(--gold-lt); }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; margin: 0; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.08; margin: 0; }
.h2--sm { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.18; margin: 0; }
.h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; margin: 0; }
.serif { font-family: var(--serif); font-weight: 400; }
.lead { font-size: 19px; line-height: 1.65; max-width: 680px; margin: 28px 0 0; }
.bg-navy .lead { color: rgba(255,255,255,.82); }
.text { font-size: 17px; line-height: 1.75; color: var(--body); margin: 0; }
.small { font-size: 15px; line-height: 1.65; color: var(--body); margin: 0; }
.bg-navy .text, .bg-navy .small { color: rgba(255,255,255,.82); }
.bg-red .text { color: rgba(255,255,255,.9); }
.muted { color: var(--muted); }
.center { text-align: center; }
.label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dk); font-weight: 700; }
.bg-navy .label, .on-dark .label { color: var(--gold); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head--center { display: block; text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.mt-0 { margin-top: 0; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 4px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; line-height: 1.2; transition: filter .15s, background-color .15s, border-color .15s; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { color: #fff; filter: brightness(1.12); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { color: #fff; background: var(--navy-2); }
.btn--gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn--gold:hover { color: var(--navy); filter: brightness(1.07); }
.btn--white { background: #fff; color: var(--red); font-weight: 700; }
.btn--white:hover { color: var(--red); background: var(--parch); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { color: #fff; border-color: #fff; }
.btn--ghost-gold { border-color: rgba(201,162,78,.7); color: var(--gold-lt); }
.btn--ghost-gold:hover { color: #fff; border-color: var(--gold); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--red); }
.bg-navy .link-arrow, .on-dark .link-arrow { color: var(--gold-lt); }

/* ---------- Cards & bits ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 40px 36px; }
.card--parch { background: var(--parch); border-color: var(--line-2); }
.card--tight { padding: 30px 28px; }
.ph { background: #E9E1CF; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--bronze); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; text-align: center; padding: 12px; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11 { aspect-ratio: 1 / 1; }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; border-radius: 3px; background: var(--parch-3); color: var(--bronze); }
.tag--alert { background: var(--red); color: #fff; }
.stars-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.stars-list li { display: flex; gap: 12px; align-items: flex-start; }
.stars-list li::before { content: "★"; color: var(--gold); flex: none; }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.numeral { font-family: var(--serif); font-size: 44px; color: var(--gold-dk); line-height: 1; }
.pull-quote { margin: 0; }
.pull-quote blockquote { margin: 0; font-family: var(--serif-text); font-style: italic; font-size: 21px; line-height: 1.6; color: var(--gold-lt); }
.pull-quote figcaption { margin-top: 16px; display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pull-quote figcaption::before { content: ""; width: 32px; height: 1px; background: var(--gold); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-card { background: var(--parch); color: var(--navy); border-radius: 6px; padding: 44px 40px; }
.form-card--white { background: #fff; border: 1px solid var(--line); }
.form-card--navy { background: var(--navy); color: #fff; }
.form-title { font-family: var(--serif); font-size: 30px; line-height: 1.15; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; flex: 1 1 180px; }
.form-card--navy .field, .bg-navy .field { color: rgba(255,255,255,.88); }
.field input, .field select { min-height: 48px; padding: 0 14px; border: 1px solid #C9BFA8; border-radius: 4px; background: #fff; font: inherit; font-weight: 400; font-size: 15px; color: var(--navy); width: 100%; }
.field--short input { max-width: 180px; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--body); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.inline-form .field { flex: 1 1 260px; }
.inline-form .btn { align-self: flex-end; min-height: 52px; }
.inline-form .field input { min-height: 52px; font-size: 16px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.payment-ph { min-height: 110px; border: 1px dashed #C9BFA8; border-radius: 4px; background: #FBF8F1; display: flex; align-items: center; justify-content: center; color: var(--bronze); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; text-align: center; padding: 12px; }

/* ---------- Header ---------- */
.util-bar { background: var(--ink); color: rgba(255,255,255,.78); font-size: 13px; letter-spacing: .04em; }
.util-bar .wrap { padding: 10px 32px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; }
.util-links { display: flex; gap: 24px; flex-wrap: wrap; }
.util-bar a { color: rgba(255,255,255,.86); }
.util-bar a:hover { color: #fff; }
.site-header { background: var(--navy); border-bottom: 1px solid rgba(201,162,78,.35); position: relative; z-index: 20; }
.site-header .wrap { padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-logo { display: block; flex: none; }
.site-logo img { display: block; height: 52px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 24px; font-size: 15px; font-weight: 500; }
.main-nav a { color: #E8E3D6; display: inline-block; padding: 6px 0; white-space: nowrap; }
.main-nav a:hover { color: #fff; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
.header-cta { display: flex; gap: 12px; flex: none; }
.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; color: #fff; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid rgba(255,255,255,.12); padding: 4px 20px 24px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid rgba(255,255,255,.1); color: #E8E3D6; font-size: 17px; }
.mobile-nav .current-menu-item > a { color: var(--gold); }
.mobile-nav .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.mobile-nav .btns .btn { flex: 1 1 140px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 32px 36px; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 320px; max-width: 400px; min-width: 0; }
.footer-brand img { display: block; height: 64px; width: auto; }
.footer-brand p { margin: 20px 0 0; line-height: 1.7; }
.footer-sub { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-sub .field { flex: 1 1 200px; color: rgba(255,255,255,.8); font-weight: 500; }
.footer-sub .field input { background: var(--navy); border-color: rgba(255,255,255,.25); color: #fff; }
.footer-sub .btn { align-self: flex-end; }
.footer-cols { flex: 2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.footer-cols h2 { color: var(--gold); font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin: 0 0 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-cols a { color: rgba(255,255,255,.78); }
.footer-cols a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Page hero ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 72px 32px 96px; position: relative; overflow: hidden; }
.page-hero .h1 { max-width: 940px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 36px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: #fff; }
.star-bg::before { content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 22l2.4 5 5.5.7-4 3.8 1 5.4-4.9-2.7-4.9 2.7 1-5.4-4-3.8 5.5-.7z' fill='%23fff'/%3E%3C/svg%3E"); }
.page-hero > .wrap, .hero > .wrap { position: relative; }

/* ---------- Home ---------- */
.hero { background: var(--navy); color: #fff; padding: 96px 32px 104px; position: relative; overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 560px; min-width: 0; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero-kicker::before { content: ""; width: 40px; height: 2px; background: var(--gold); flex: none; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.hero .lead { max-width: 580px; }
.hero-doc { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.parchment { margin: 0; width: 100%; max-width: 460px; background: var(--parch-3); color: #2A2418; padding: 44px 40px 36px; border-radius: 2px; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(-1.5deg); position: relative; }
.parchment::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(138,106,36,.45); pointer-events: none; }
.parchment .big { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--navy); }
.parchment blockquote { margin: 18px 0 0; font-family: var(--serif-text); font-style: italic; font-size: 17px; line-height: 1.65; color: #3A3122; }
.parchment figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(138,106,36,.4); display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.trust { background: var(--gold); color: var(--navy); }
.trust .wrap { padding: 18px 32px; display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: center; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.doc-card { display: flex; flex-direction: column; gap: 14px; }
.doc-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.doc-year { font-family: var(--serif); font-size: 56px; line-height: 1; }
.doc-card .open { font-family: var(--serif-text); font-style: italic; font-size: 17px; line-height: 1.55; color: #5C4A22; margin: 0; }
.doc-card .link-arrow { margin-top: auto; }
.doc-card--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.doc-card--dark .doc-card-top { border-color: rgba(255,255,255,.2); }
.doc-card--dark .open { color: var(--gold-lt); }
.doc-card--dark .small { color: rgba(255,255,255,.82); }
.doc-card--dark .label { color: var(--gold); }

/* Amendment explorer */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip { min-width: 64px; min-height: 48px; padding: 0 18px; border-radius: 4px; cursor: pointer; font-family: var(--serif); font-size: 22px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.explorer { display: flex; flex-wrap: wrap; background: var(--parch); color: var(--navy); border-radius: 6px; overflow: hidden; }
.explorer-side { flex: 1 1 340px; min-width: 0; background: var(--navy-2); color: #fff; padding: 48px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.explorer-num { font-family: var(--serif); font-size: 120px; line-height: 1; margin-top: 8px; }
.explorer-main { flex: 999 1 520px; min-width: 0; padding: 48px 52px; }
.explorer-main p { font-size: 18px; line-height: 1.7; color: #2B3548; margin: 18px 0 0; }
.callout { margin-top: 28px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.callout p { font-size: 16px !important; margin: 8px 0 0 !important; color: var(--body) !important; }
.explorer .btn-row { margin-top: 32px; }

.program { border-top: 3px solid var(--navy); padding-top: 24px; }
.program .ph { margin-bottom: 22px; }
.program h3 { margin: 0 0 10px; }
.stat-num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--navy); }
.stat-label { margin-top: 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #5C4A22; font-weight: 600; }
.news-row { display: flex; flex-wrap: wrap; gap: 24px; }
.news-feature { flex: 2 1 520px; min-width: 0; background: var(--navy); color: #fff; border-radius: 6px; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 380px; }
.news-feature:hover { color: #fff; background: var(--navy-2); }
.news-feature .title { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.news-feature .meta { font-size: 15px; color: rgba(255,255,255,.75); }
.news-stack { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.news-mini { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.news-mini .title { font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--navy); }
.news-mini .meta { font-size: 14px; color: var(--muted); }

/* ---------- Founding documents ---------- */
.page-hero--tabs { padding-bottom: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 56px; }
.tab { min-height: 64px; padding: 12px 22px; border: 0; border-radius: 6px 6px 0 0; cursor: pointer; text-align: left; font-family: var(--serif); font-size: 19px; background: rgba(255,255,255,.08); color: #E8E3D6; }
.tab:hover { background: rgba(255,255,255,.14); }
.tab small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .18em; font-weight: 700; opacity: .8; }
.tab[aria-selected="true"] { background: var(--parch); color: var(--navy); }
.doc-aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.doc-plate { background: var(--parch-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 36px 32px; position: relative; }
.doc-plate::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(138,106,36,.35); pointer-events: none; }
.doc-plate h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.12; margin: 10px 0 0; }
.doc-plate p { margin: 18px 0 0; font-family: var(--serif-text); font-style: italic; font-size: 17px; line-height: 1.6; color: #3A3122; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.doc-main { flex: 999 1 560px; min-width: 0; }
.doc-main > p { margin: 0 0 40px; font-size: 19px; line-height: 1.75; color: #2B3548; }
.sections { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sections li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px 32px; display: flex; gap: 28px; align-items: flex-start; }
.sec-label { flex: 0 0 72px; font-family: var(--serif); font-size: 22px; color: var(--gold-dk); line-height: 1.3; }
.sections h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; }
.sections p { margin: 8px 0 0; font-size: 16px; line-height: 1.7; color: var(--body); }

/* ---------- Rights ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pill { min-height: 48px; padding: 0 20px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 600; background: #fff; color: var(--navy); border: 1px solid #C9BFA8; }
.pill:hover { border-color: var(--navy); }
.pill[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.guide { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.guide-side { flex: 1 1 360px; min-width: 0; background: var(--navy-2); color: #fff; padding: 44px 40px; display: flex; flex-direction: column; gap: 18px; }
.guide-side h3 { font-size: 38px; line-height: 1.12; }
.guide-side p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.82); }
.guide-side .btn { margin-top: auto; }
.guide-steps { flex: 999 1 520px; min-width: 0; list-style: none; margin: 0; padding: 40px 44px; }
.guide-steps li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid #EEE7D7; }
.guide-steps li:last-child { border-bottom: 0; }
.guide-steps strong { display: block; font-size: 17px; }
.guide-steps p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--body); }
.step-num { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--parch-3); color: var(--gold-dk); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; }
.step-num--navy { flex: 0 0 44px; height: 44px; background: var(--navy); color: var(--gold); font-size: 20px; }
.topic { display: flex; flex-direction: column; gap: 10px; }
.disclaimer { margin: 20px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.cta-box { background: var(--navy); color: #fff; border-radius: 6px; padding: 56px; }

/* ---------- Education ---------- */
.course { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.course-band { background: var(--navy); color: var(--gold); padding: 28px 30px; font-family: var(--serif); font-size: 52px; line-height: 1; }
.course:nth-child(even) .course-band { background: var(--navy-2); }
.course-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-body .link-arrow { margin-top: auto; padding-top: 8px; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.filter-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #C9BFA8; }
.filter-chips span:first-child { background: var(--navy); color: #fff; border-color: var(--navy); }
.howto { text-align: center; }
.howto .step-num--navy { width: 64px; height: 64px; margin: 0 auto 18px; font-size: 28px; }
.howto h3 { margin: 0 0 8px; }
.mini-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mini-grid div { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.mini-grid strong { display: block; }
.mini-grid span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- News ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.post-card:hover { color: var(--navy); border-color: var(--gold); }
.post-card .ph, .post-card img { border-radius: 0; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: flex; }
.post-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card-title { font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--navy); }
.post-card-dek { font-size: 15px; line-height: 1.6; color: var(--body); }
.post-card-meta { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.table-wrap table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; }
.table-wrap th { background: var(--navy); color: #fff; text-align: left; padding: 16px 22px; font-weight: 600; }
.table-wrap td { padding: 18px 22px; border-bottom: 1px solid #EEE7D7; vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--parch-3); color: var(--bronze); }
.status--blue { background: #E3EAF5; color: #1F3B6E; }
.status--done { background: var(--navy); color: #fff; }
.bg-gold .field { color: var(--navy); }
.bg-gold .field input { border-color: var(--gold-dk); }

/* ---------- About / Chapters ---------- */
.doc-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; border-bottom: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 18px; }
.doc-links a:hover { color: var(--gold-lt); }
.doc-links span:last-child { color: var(--gold); font-size: 14px; font-weight: 600; }
.person img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.person .name { margin-top: 16px; font-family: var(--serif); font-size: 24px; }
.person .role { margin-top: 4px; font-size: 14px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; font-size: 15px; line-height: 1.6; }
.contact-grid .label { display: block; margin-bottom: 6px; }
.row-link { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.row-link:hover { color: var(--navy); border-color: var(--gold); }
.row-link .name { display: block; font-family: var(--serif); font-size: 22px; }
.row-link .meta { font-size: 14px; color: var(--muted); }
.row-link .go { color: var(--red); font-weight: 600; flex: none; }
.steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps-list li { display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px 28px; }
.steps-list strong { display: block; font-size: 17px; }
.steps-list p { margin: 4px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.map-ph { flex: 3 1 560px; min-width: 0; aspect-ratio: 16 / 10; border: 1px solid var(--line-2); border-radius: 6px; }
.near-list { flex: 2 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Membership ---------- */
.hero-tiers { padding-bottom: 160px; text-align: center; }
.hero-tiers .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.tiers-section { padding: 0 32px 96px; margin-top: -104px; position: relative; }
.tier { border-radius: 6px; padding: 36px 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 40px rgba(14,27,51,.12); background: #fff; border: 2px solid var(--line); color: var(--navy); }
.tier .name { font-family: var(--serif); font-size: 30px; }
.tier .price { display: flex; align-items: baseline; gap: 6px; }
.tier .price strong { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.tier .price span { font-size: 14px; opacity: .75; }
.tier p { margin: 0; font-size: 15px; line-height: 1.6; opacity: .85; }
.tier .stars-list { margin-top: 6px; font-size: 15px; line-height: 1.5; gap: 10px; }
.tier .rec { align-self: flex-start; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; background: var(--red); color: #fff; padding: 5px 10px; border-radius: 3px; }
.tier button { margin-top: auto; min-height: 50px; border-radius: 4px; cursor: pointer; font-size: 15px; font-weight: 700; background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.tier.is-selected { background: var(--navy-2); color: #fff; border-color: var(--gold); }
.tier.is-selected button { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q { width: 100%; min-height: 64px; padding: 16px 0; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-size: 17px; font-weight: 600; color: var(--navy); cursor: pointer; }
.faq-q::after { content: "+"; font-size: 22px; color: var(--gold-dk); flex: none; }
.faq-q[aria-expanded="true"]::after { content: "\2212"; }
.faq-a { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--body); }

/* ---------- Donate ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #E9E1CF; border-radius: 6px; padding: 4px; }
.seg button { min-height: 46px; border: 0; border-radius: 4px; cursor: pointer; font-size: 15px; font-weight: 700; background: transparent; color: var(--navy); }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.amount { min-height: 52px; border-radius: 4px; cursor: pointer; font-family: var(--serif); font-size: 22px; background: #fff; color: var(--navy); border: 1px solid #C9BFA8; }
.amount:hover { border-color: var(--navy); }
.amount[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.alloc { border-top: 3px solid var(--navy); padding-top: 22px; }
.alloc .stat-num { font-size: 54px; }
.alloc strong { display: block; margin-top: 10px; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-meta { margin-top: 24px; font-size: 15px; color: rgba(255,255,255,.75); }
.entry-content { font-size: 18px; line-height: 1.8; color: #2B3548; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.2; }
.entry-content h2 { font-size: 34px; margin: 48px 0 16px; }
.entry-content h3 { font-size: 26px; margin: 36px 0 12px; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font-family: var(--serif-text); font-style: italic; color: var(--navy); }
.entry-content img { border-radius: 4px; }

/* ---------- Document reader ---------- */
.reader { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.toc { flex: 0 1 240px; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 2px solid var(--line-2); }
.toc li a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 15px; color: var(--body); }
.toc li a:hover { color: var(--navy); border-left-color: var(--gold); }
.doc-text { flex: 1 1 640px; min-width: 0; max-width: 820px; background: #FBF7EE; border: 1px solid var(--line-2); border-radius: 4px; padding: 72px 80px; box-shadow: 0 20px 50px rgba(14,27,51,.08); position: relative; font-family: var(--serif-text); font-size: 19px; line-height: 1.85; color: #2A2418; }
.doc-text::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(138,106,36,.3); pointer-events: none; border-radius: 2px; }
.doc-text-head { text-align: center; padding-bottom: 36px; margin-bottom: 8px; border-bottom: 1px solid rgba(138,106,36,.35); }
.doc-text-kicker { font-family: var(--sans); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dk); font-weight: 700; }
.doc-text-head h2 { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; color: var(--navy); }
.doc-section { scroll-margin-top: 24px; margin: 48px 0 16px; font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold-dk); display: flex; align-items: center; gap: 14px; }
.doc-section::after { content: ""; flex: 1; height: 1px; background: rgba(138,106,36,.3); }
.doc-text p { margin: 0 0 20px; }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 84px; line-height: .8; padding: 8px 12px 0 0; color: var(--navy); }
.doc-highlight { font-weight: 400; background: linear-gradient(transparent 62%, rgba(201,162,78,.32) 62%); }
.grievances { margin: 0 0 20px; padding: 0 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.grievances li { padding-left: 8px; }
.grievances li::marker { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--gold-dk); }
.grievances--acts { list-style: none; margin-left: 28px; padding-left: 22px; border-left: 2px solid rgba(201,162,78,.5); }
.grievances--acts li { padding-left: 0; }
.signers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 32px; margin-top: 8px; }
.signer-state ul { list-style: none; margin: 8px 0 0; padding: 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--navy); }
.doc-source { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid rgba(138,106,36,.3); font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--muted); }
.doc-section-meta { margin-left: 4px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.doc-sub { margin: 28px 0 10px; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); }
.sec-inline { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dk); margin-right: 4px; }
.clause-note { margin: -10px 0 22px !important; padding-left: 14px; border-left: 2px solid var(--gold); font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--muted); }
.signers-attest { margin-top: 24px !important; font-family: var(--serif); font-size: 19px; color: var(--navy); }
.doc-switch { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .toc { position: static; flex-basis: 100%; } }
@media (max-width: 640px) {
	.doc-text { padding: 40px 24px; font-size: 17px; }
	.doc-text::after { inset: 8px; }
	.dropcap::first-letter { font-size: 64px; }
	.grievances--acts { margin-left: 8px; }
}
@media print {
	.util-bar, .site-header, .site-footer, .page-hero, .no-print { display: none !important; }
	body, .reader-section { background: #fff; padding: 0; }
	.doc-text { box-shadow: none; border: 0; padding: 0; max-width: none; background: #fff; font-size: 12pt; }
	.doc-text::after { display: none; }
	.doc-section, .signer-state { break-after: avoid; }
}

/* ---------- Topic pages ---------- */
.topic-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.topic-main { flex: 999 1 600px; min-width: 0; max-width: 820px; }
.topic-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.topic-intro { display: flex; flex-direction: column; gap: 18px; }
.topic-intro .text { font-size: 18px; }
.topic-text { margin-top: 40px; }
.topic-text p { font-style: normal; font-size: 17px; line-height: 1.7; margin: 14px 0 0; }
.topic-text-num { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 4px; }
.topic-h { margin: 64px 0 24px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.check-list li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 22px 58px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A24E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list--limits li { background: var(--parch); border-color: var(--line-2); }
.check-list--limits li::before { background: var(--parch-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6A24' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid var(--line-2); }
.check-list strong { display: block; font-size: 16px; line-height: 1.4; }
.check-list span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--body); }
.cases { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-2); }
.cases li { display: flex; gap: 20px; padding: 0 0 26px 24px; position: relative; }
.cases li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--parch); }
.case-year { flex: 0 0 52px; font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--gold-dk); }
.case-name { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--navy); }
.cases p { margin: 4px 0 0; font-size: 15px; line-height: 1.65; color: var(--body); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.aside-card--navy { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.aside-card--navy .label { color: var(--gold); }
.aside-card--navy p { margin: 0 0 6px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); }
.aside-title { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: flex; align-items: center; min-height: 40px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.aside-links li:last-child a { border-bottom: 0; }
.topic .link-arrow { font-size: 14px; }
@media (max-width: 960px) { .topic-aside { position: static; } }
@media (max-width: 640px) { .cases li { flex-direction: column; gap: 2px; } .topic-h { margin-top: 48px; } }

/* ---------- Courses ---------- */
.course-body h3 a:hover { color: var(--red); }
.course-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.course-meta div { border: 1px solid rgba(201,162,78,.4); border-radius: 6px; padding: 16px 18px; }
.course-meta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; color: #fff; }
.course-meta span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.course-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.course-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.course-main { flex: 999 1 620px; min-width: 0; max-width: 820px; display: flex; flex-direction: column; gap: 28px; }
.progress { height: 8px; border-radius: 999px; background: var(--parch-3); overflow: hidden; }
.progress-bar { height: 100%; background: var(--gold); border-radius: 999px; transition: width .3s; }
.progress-text { font-size: 14px; color: var(--muted); }
.lesson-nav { list-style: none; margin: 4px 0 0; padding: 0; }
.lesson-nav a { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.lesson-nav li:last-child a { border-bottom: 0; }
.ln-num { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--parch-3); color: var(--gold-dk); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.lesson-nav a.is-done .ln-num { background: var(--navy); color: var(--gold); }
.lesson { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 40px 44px; scroll-margin-top: 24px; }
.lesson.is-done { border-color: var(--gold); }
.lesson-head { display: flex; gap: 18px; align-items: flex-start; }
.lesson-num { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; }
.lesson.is-done .lesson-num { background: var(--gold); color: var(--navy); }
.lesson-title { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; }
.lesson-body { margin-top: 24px; }
.lesson-body p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: #2B3548; }
.lesson-takeaways { margin-top: 8px; padding: 22px 24px; background: var(--parch); border: 1px solid var(--line-2); border-radius: 6px; }
.check-list--compact { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.check-list--compact li { background: transparent; border: 0; padding: 4px 0 4px 36px; }
.check-list--compact li::before { left: 0; top: 4px; width: 22px; height: 22px; }
.check-list--compact span { margin: 0; font-size: 15px; color: var(--navy); }
.lesson-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 12px; }
.quiz { margin-top: 20px; padding: 24px; border: 1px dashed var(--line-2); border-radius: 6px; }
.quiz-q { margin: 8px 0 14px; font-weight: 600; font-size: 17px; line-height: 1.5; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt { text-align: left; min-height: 48px; padding: 10px 16px; border: 1px solid #C9BFA8; border-radius: 4px; background: #fff; color: var(--navy); font-size: 15px; cursor: pointer; }
.quiz-opt:hover { border-color: var(--navy); }
.quiz-opt.is-right { background: #E8F1E6; border-color: #3C7A3A; color: #1E4D1D; font-weight: 600; }
.quiz-opt.is-wrong { background: #F8E6E4; border-color: var(--red); color: #7A1D20; }
.quiz-feedback { margin: 12px 0 0; font-size: 15px; line-height: 1.6; }
.quiz-feedback.is-right { color: #1E4D1D; }
.quiz-feedback.is-wrong { color: #7A1D20; }
.lesson-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.lesson-done[aria-pressed="true"] { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.course-finish { background: var(--navy); color: #fff; border-radius: 6px; padding: 48px 44px; }
@media (max-width: 960px) { .course-aside { position: static; max-height: none; } }
@media (max-width: 640px) { .lesson { padding: 28px 22px; } .lesson-head { gap: 14px; } .lesson-num { flex-basis: 40px; height: 40px; font-size: 18px; } .course-finish { padding: 32px 24px; } .course-meta strong { font-size: 28px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
	.header-cta .btn--ghost { display: none; }
	.main-nav ul { gap: 20px; }
	.site-header .wrap { gap: 20px 24px; }
}
@media (max-width: 1100px) {
	.util-bar, .main-nav, .header-cta { display: none; }
	.burger { display: inline-flex; }
	.mobile-nav.is-open { display: block; }
}
@media (max-width: 640px) {
	.section, .section--md { padding: 64px 20px; }
	.section--band { padding: 48px 20px; }
	.page-hero { padding: 56px 20px 64px; }
	.page-hero--tabs { padding-bottom: 0; }
	.hero { padding: 64px 20px 72px; }
	.hero-tiers { padding-bottom: 140px; }
	.tiers-section { padding: 0 20px 64px; }
	.site-header .wrap { padding: 12px 20px; }
	.site-logo img { height: 44px; }
	.site-footer { padding: 56px 20px 32px; }
	.trust .wrap { padding: 16px 20px; gap: 6px 20px; font-size: 12px; }
	.card, .form-card, .explorer-side, .explorer-main, .guide-side, .guide-steps, .cta-box, .news-feature, .doc-plate { padding: 28px 22px; }
	.sections li { flex-direction: column; gap: 6px; padding: 24px 22px; }
	.sec-label { flex: none; }
	.explorer-num { font-size: 88px; }
	.news-feature { min-height: 300px; }
	.mini-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
	.parchment { padding: 32px 26px 28px; }
	.parchment .big { font-size: 42px; }
}

/* ---------- Coloring book promo ---------- */
.book-promo { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; }
.book-cover { flex: 0 0 300px; display: block; transform: rotate(-2deg); transition: transform .2s ease; }
.book-cover:hover { transform: rotate(0deg) translateY(-4px); }
.book-cover img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(14,27,51,.22), 0 2px 6px rgba(14,27,51,.12); border: 1px solid var(--line); }
.book-copy { flex: 1 1 440px; }
.book-list { margin: 20px 0 0; font-size: 16px; line-height: 1.6; }
.book-aside img { width: 100%; height: auto; border-radius: 3px; background: #fff; }
@media (max-width: 640px) { .book-promo { gap: 36px; } .book-cover { flex-basis: 220px; margin: 0 auto; } }

/* ---------- Watch Desk briefings ---------- */
.post-card-art { aspect-ratio: 16 / 9; display: flex; align-items: flex-end; padding: 22px 26px; background: var(--navy) radial-gradient(circle at 85% 20%, rgba(201,162,78,.28), transparent 55%); position: relative; overflow: hidden; }
.post-card-art::before { content: "★"; position: absolute; right: 22px; top: 12px; font-size: 64px; line-height: 1; color: rgba(201,162,78,.22); }
.post-card-art span { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--gold-lt); border-top: 2px solid var(--gold); padding-top: 10px; }
.post-card[data-cat="rights-watch-alert"] .post-card-art { background-color: #4A1416; background-image: radial-gradient(circle at 85% 20%, rgba(201,162,78,.25), transparent 55%); }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin: 6px 0; }
.brief-amend { display: inline-block; vertical-align: middle; margin-left: 8px; font-family: var(--sans, Inter, sans-serif); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 4px 9px; border-radius: 3px; background: var(--parch-3); color: var(--bronze); }
.entry-content .brief-sources { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 1.5; }
.entry-content .brief-sources li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.entry-content .brief-note { margin-top: 40px; padding: 18px 22px; background: var(--parch); border-left: 3px solid var(--gold); font-size: 15px; line-height: 1.6; color: var(--body); }
.entry-content .btn { text-decoration: none; color: #fff; }

/* ---------- Chapters map ---------- */
.chapter-stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 44px; }
.chapter-stats div { display: flex; flex-direction: column; }
.chapter-stats strong { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); font-weight: 400; }
.chapter-stats span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 6px; }
.chapter-finder { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.chapter-map-wrap { flex: 3 1 560px; min-width: 0; }
.chapter-filter { margin-bottom: 16px; }
.chapter-map { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 16px; }
.chapter-map svg { display: block; width: 100%; height: auto; }
.map-states path { fill: #EDE5D3; stroke: #fff; stroke-width: 1; transition: fill .15s; }
.map-states path.has-chapter { fill: #DCC995; }
.map-states path:hover { fill: #C9B37A; }
.pin { cursor: pointer; outline: none; }
.pin-dot { fill: var(--navy); stroke: #fff; stroke-width: 2.5; transition: r .15s; }
.pin--forming .pin-dot { fill: #fff; stroke: var(--navy); stroke-width: 2.5; }
.pin--founding .pin-dot { fill: var(--red); }
.pin-star { fill: #fff; pointer-events: none; }
.pin-halo { fill: var(--gold); opacity: 0; transition: opacity .15s; }
.pin:hover .pin-halo, .pin:focus-visible .pin-halo, .pin.is-hover .pin-halo { opacity: .35; }
.pin.is-selected .pin-halo { opacity: .55; animation: pinpulse 1.6s ease-out infinite; }
.pin.is-selected .pin-dot { r: 8.5; }
.pin.is-dim { opacity: .18; pointer-events: none; }
@keyframes pinpulse { 0% { r: 9; opacity: .6; } 100% { r: 20; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin.is-selected .pin-halo { animation: none; } }
.map-tip { position: absolute; z-index: 2; pointer-events: none; background: var(--navy); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.map-card { position: absolute; z-index: 3; width: 290px; background: #fff; border: 1px solid var(--line-2); border-top: 3px solid var(--gold); border-radius: 6px; padding: 18px 20px 20px; box-shadow: 0 14px 36px rgba(14,27,51,.18); }
.map-card .label { color: var(--bronze); }
.map-card-name { font-family: var(--serif); font-size: 24px; line-height: 1.15; color: var(--navy); margin-top: 6px; }
.map-card-meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.map-card-text { font-size: 15px; line-height: 1.55; color: var(--body); margin: 10px 0 0; }
.map-card .btn-row { gap: 8px; }
.map-card-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 13px; height: 13px; border-radius: 50%; }
.lg--active { background: var(--navy); }
.lg--forming { background: #fff; border: 2.5px solid var(--navy); }
.lg--founding { background: var(--red); color: #fff; font-size: 8px; font-style: normal; line-height: 13px; text-align: center; }
.chapter-list { max-height: 720px; overflow-y: auto; padding-right: 4px; }
.chapter-row { width: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--navy); padding: 16px 18px; }
.chapter-row .name { font-size: 20px; }
.chapter-row .status { flex: none; }
.chapter-row.is-hover, .chapter-row.is-selected { border-color: var(--gold); }
.chapter-row.is-selected { box-shadow: inset 3px 0 0 var(--gold); }
.chapter-row[hidden] { display: none; }
.founding-badge { display: inline-block; vertical-align: middle; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--red); margin-left: 4px; }
.chapter-search-note { background: var(--parch-3); border-radius: 4px; padding: 10px 14px; }
@media (max-width: 960px) { .chapter-list { max-height: none; overflow: visible; } }
@media (max-width: 640px) { .chapter-map { padding: 6px; } .map-card { position: relative; left: auto !important; top: auto !important; width: auto; margin: 8px 2px 2px; box-shadow: none; } .map-tip { display: none; } .chapter-stats strong { font-size: 32px; } }

/* ---------- Document viewer ---------- */
body.doc-viewer { display: flex; flex-direction: column; height: 100vh; margin: 0; background: #2A3245; }
.dv-bar { display: flex; align-items: center; gap: 28px; padding: 16px 28px; background: var(--navy); border-bottom: 3px solid var(--gold); color: #fff; flex-wrap: wrap; }
.dv-logo img { display: block; height: 43px; width: auto; }
.dv-title { flex: 1 1 320px; min-width: 0; }
.dv-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.dv-title h1 { margin: 2px 0 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; color: #fff; }
.dv-title p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.dv-actions { display: flex; gap: 10px; flex: none; }
.dv-tabs { display: flex; gap: 4px; padding: 0 28px; background: var(--navy-2); overflow-x: auto; }
.dv-tabs a { padding: 12px 16px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); white-space: nowrap; border-bottom: 2px solid transparent; }
.dv-tabs a:hover { color: #fff; }
.dv-tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.dv-frame { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dv-frame iframe { flex: 1; width: 100%; border: 0; background: #525659; }
.dv-fallback { margin: 0; padding: 10px 28px; font-size: 13px; color: rgba(255,255,255,.7); background: var(--navy); }
.dv-fallback a { color: var(--gold-lt); text-decoration: underline; }
@media (max-width: 640px) { .dv-bar { padding: 14px 18px; gap: 14px; } .dv-title h1 { font-size: 21px; } .dv-tabs { padding: 0 12px; } .dv-actions { width: 100%; } .dv-actions .btn { flex: 1; } }
.dv-close { background: transparent; font-family: inherit; }
.contact-grid a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact-grid a:hover { color: var(--red); }

/* ---------- Membership pricing ---------- */
.tiers-grid { --min: 212px; gap: 16px; }
.tiers-grid .tier { padding: 30px 22px; }
.tiers-grid .tier .name { font-size: 26px; }
.tiers-grid .tier .price strong { font-size: 40px; }
.billing-toggle { display: flex; width: max-content; margin: 0 auto 22px; padding: 4px; gap: 4px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; position: relative; }
.billing-toggle button { font: inherit; font-size: 14px; font-weight: 600; color: #fff; background: transparent; border: 0; border-radius: 999px; padding: 9px 20px; cursor: pointer; }
.billing-toggle button span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-left: 4px; }
.billing-toggle button[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.billing-toggle button[aria-pressed="true"] span { color: var(--navy); }
.tiers-note { text-align: center; margin: 28px 0 0; font-size: 15px; color: var(--body); }
.tiers-note a { color: var(--red); font-weight: 600; }

/* ---------- Minuteman Network ---------- */
.pin-ring { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.lg--minuteman { background: #fff; border: 2.5px solid var(--gold); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px var(--navy); }
.map-legend a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
.mm-badge { color: var(--gold-dk); }
.map-card-mm { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--gold-dk); }
.tier-link { font-size: 14px; font-weight: 600; color: var(--red); margin-top: -4px; }
.tier.is-selected .tier-link { color: var(--gold-lt); }
.bg-navy { background: var(--navy); color: #fff; }
.mm-band { padding-top: 64px; padding-bottom: 64px; border-top: 3px solid var(--gold); }
.mm-band .h2 { color: #fff; }
.mm-band .text { color: rgba(255,255,255,.8); }
.code-list { list-style: none; counter-reset: code; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.code-list li { counter-increment: code; position: relative; padding: 18px 22px 18px 64px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 16px; line-height: 1.6; color: var(--body); }
.code-list li::before { content: counter(code); position: absolute; left: 20px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--serif); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.code-list strong { color: var(--navy); }

/* ---------- Private preview gate ---------- */
body.gate { margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px 32px; background: radial-gradient(ellipse at 50% 0%, #1B2F5C 0%, var(--navy) 55%, var(--ink) 100%); color: #fff; font-family: var(--sans); position: relative; overflow-x: hidden; box-sizing: border-box; }
.gate-stars { position: fixed; inset: 0; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 22l2.4 5 5.5.7-4 3.8 1 5.4-4.9-2.7-4.9 2.7 1-5.4-4-3.8 5.5-.7z' fill='%23fff'/%3E%3C/svg%3E"); }
.gate-glow { position: fixed; left: 50%; top: 38%; width: 720px; height: 720px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(201,162,78,.16), transparent 62%); pointer-events: none; }
.gate-card { position: relative; width: 100%; max-width: 560px; text-align: center; padding: 52px 48px 44px; background: rgba(14,27,51,.72); border: 1px solid rgba(201,162,78,.35); border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.45); backdrop-filter: blur(6px); animation: gateIn .7s ease-out both; }
.gate-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border-radius: 8px 8px 0 0; }
@keyframes gateIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gate-card { animation: none; } }
.gate-logo { display: block; width: 220px; height: auto; margin: 0 auto; }
.gate-rule { display: flex; align-items: center; gap: 14px; margin: 26px auto 22px; max-width: 260px; color: var(--gold); font-size: 13px; }
.gate-rule::before, .gate-rule::after { content: ""; flex: 1; height: 1px; background: rgba(201,162,78,.5); }
.gate-eyebrow { margin: 0; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.gate-title { margin: 12px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 48px); line-height: 1.08; color: #fff; }
.gate-lead { margin: 16px auto 0; max-width: 430px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.78); }
.gate-form { margin: 32px auto 0; max-width: 400px; text-align: left; }
.gate-form label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.gate-field { display: flex; background: #fff; border-radius: 5px; padding: 5px; border: 2px solid transparent; transition: border-color .15s, box-shadow .15s; }
.gate-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,78,.25); }
.gate-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 12px; font: inherit; font-size: 16px; color: var(--navy); min-height: 46px; }
.gate-field button { flex: none; border: 0; border-radius: 3px; padding: 0 22px; min-height: 46px; background: var(--gold); color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.gate-field button:hover { filter: brightness(1.07); }
.gate-form.has-error .gate-field { border-color: #E07A7D; animation: gateShake .35s; }
@keyframes gateShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.gate-error { margin: 10px 0 0; font-size: 14px; color: #F3B4B6; }
.gate-quote { margin: 36px auto 0; max-width: 430px; font-family: var(--serif-text); font-style: italic; font-size: 15px; line-height: 1.6; color: rgba(241,222,176,.85); }
.gate-quote cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.gate-foot { position: relative; margin-top: 28px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.45); }
@media (max-width: 560px) { .gate-card { padding: 40px 22px 34px; } .gate-logo { width: 180px; } .gate-field button { padding: 0 16px; } }
.photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 4px; background: #E9E1CF; }
.program .photo { margin-bottom: 22px; }
/* Light form cards inside navy sections: keep labels dark, and stop single fields stretching tall */
.bg-navy .form-card:not(.form-card--navy) .field { color: var(--navy); }
.form > .field, .form > .check { flex: none; }
