/* Nothing Barred: site styles */
:root {
  --navy: #1F2A44;
  --ink: #1A1A1A;
  --gray: #4A4A4A;
  --gray-2: #333333;
  --rule: #DADADA;
  --chip: #F1F2F4;
  --tbd: #E6E8EC;
  --navy-text: #C9D1E0;
  --navy-rule: #3A4766;
  --accent: #B0261E;
  --white: #FFFFFF;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0; line-height: 1.15; }
h1 { font-weight: 600; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: 0.01em; }
h2 { font-weight: 600; font-size: clamp(26px, 3.2vw, 32px); }
h3 { font-weight: 500; font-size: 22px; }
p { margin: 0; }
ul, ol { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--navy); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.measure { max-width: 720px; margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--gray); }
.lead { font-size: 20px; color: var(--gray); }
.muted { color: var(--gray-2); }
.tbd { font-family: var(--mono); font-size: 0.86em; background: var(--tbd); color: var(--gray); padding: 1px 5px; border-radius: 3px; white-space: normal; }
figure { margin: 0; }
figcaption { font-family: var(--mono); font-size: 13px; color: var(--gray); line-height: 1.5; margin-top: 8px; }
.rounded { border-radius: 4px; }

/* Header */
.site-header { background: var(--navy); color: var(--white); }
.site-header .bar { max-width: 1340px; margin: 0 auto; padding: 16px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.wordmark { display: flex; flex-direction: column; gap: 2px; color: var(--white); text-decoration: none; }
.wordmark:hover { color: var(--white); }
.wordmark .name { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: 0.06em; line-height: 1.1; }
.wordmark .sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--navy-text); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--white); text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--navy-text); }
.site-nav a[aria-current="page"], .site-nav a.current { text-decoration: underline; text-underline-offset: 6px; }
.site-nav .btn-sub { background: var(--accent); padding: 10px 18px; border-radius: 4px; font-weight: 600; }
.site-nav .btn-sub:hover { color: var(--white); filter: brightness(1.08); }
.menu-toggle { display: none; font: inherit; font-weight: 600; font-size: 15px; color: var(--white); background: transparent; border: 1px solid var(--navy-text); border-radius: 4px; padding: 10px 14px; cursor: pointer; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; border-top: 1px solid var(--navy-rule); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--navy-rule); }
  .site-nav .btn-sub { margin-top: 12px; text-align: center; border-bottom: 0; }
  .no-js .site-nav { display: flex; }
  .no-js .menu-toggle { display: none; }
}

/* Footer */
.site-footer { background: var(--navy); color: var(--navy-text); font-size: 15px; margin-top: 72px; }
.site-footer .cols { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 32px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer .about { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.site-footer .about .name { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: 0.06em; color: var(--white); }
.site-footer a { color: var(--white); }
.site-footer nav { flex: 0 1 200px; display: flex; flex-direction: column; gap: 4px; }
.site-footer nav a { text-decoration: none; padding: 4px 0; }
.site-footer nav a:hover { text-decoration: underline; color: var(--white); }
.site-footer .sub-col { flex: 1 1 300px; }
.site-footer .legal { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 32px; border-top: 1px solid var(--navy-rule); font-size: 13px; }

/* Buttons and forms */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 16px; padding: 12px 20px; border-radius: 4px; text-decoration: none; cursor: pointer; border: 0; line-height: 1.3; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { color: var(--white); background: #2A3858; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { color: var(--white); filter: brightness(1.08); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); padding: 10px 18px; background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--accent); font-weight: 600; }

.search-form { display: flex; flex-wrap: wrap; gap: 8px; }
.search-field { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; border: 1px solid #8A8F98; border-radius: 4px; padding: 0 14px; background: var(--white); }
.search-field:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; padding: 14px 0; background: transparent; color: var(--ink); }

.sub-form { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-form input[type="email"] { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 17px; padding: 13px 14px; border: 1px solid transparent; border-radius: 4px; color: var(--ink); background: var(--white); }
.sub-form .msg { flex-basis: 100%; font-size: 15px; min-height: 0; }
.sub-form .msg:empty { display: none; }
.on-light .sub-form input[type="email"] { border-color: #8A8F98; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Home */
.intro { padding: 64px 0 48px; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.intro .text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.intro h1 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.12; }
.intro .hero-video { flex: 1 1 440px; min-width: 0; }
.intro .mark { max-width: 240px; }
.clip { display: block; width: 100%; height: auto; border-radius: 4px; background: #000; }
.intro .hint { font-size: 15px; color: var(--gray); }

.section { padding: 40px 0 56px; }
.section.ruled { border-top: 3px solid var(--navy); }
.stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.stats li { padding: 20px; background: var(--chip); border-radius: 6px; display: flex; flex-direction: column; gap: 6px; }
.stats .num { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; color: var(--navy); }
.stats .label { font-size: 15px; line-height: 1.45; color: var(--gray-2); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

.split { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.split > figure, .split > .media { flex: 1 1 340px; min-width: 0; }
.split > .text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split.center { align-items: center; }

.band { background: var(--chip); border-radius: 6px; padding: 48px 40px; }
.band-navy { background: var(--navy); color: var(--white); border-radius: 6px; padding: 40px; }
.band-navy h2 { color: var(--white); }
.band-navy .kicker, .band-navy p { color: var(--navy-text); }
@media (max-width: 600px) { .band, .band-navy { padding: 28px 20px; } }

.bible-pages { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: center; margin-top: 40px; }
@media (max-width: 800px) { .bible-pages { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bible-pages blockquote { grid-column: 1 / -1; } }
.pull { margin: 0; padding: 0 0 0 24px; border-left: 4px solid var(--accent); display: flex; flex-direction: column; gap: 14px; }
.pull p { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--navy); }
.pull footer { font-family: var(--mono); font-size: 13px; color: var(--gray); }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.book { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.book .cover { flex: 0 0 140px; height: 210px; background: var(--navy); color: var(--white); border-radius: 2px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; font-family: var(--display); letter-spacing: 0.05em; text-align: center; padding: 12px; font-size: 18px; font-weight: 600; }
.book .text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

/* Inner pages */
.page-head { padding: 48px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--gray); }
.crumbs a { color: var(--gray); }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose figure { margin-top: 24px; }
.article { font-size: 18px; line-height: 1.7; }

.facts { margin: 0; display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 10px 20px; font-size: 16px; line-height: 1.5; }
.facts dt { font-family: var(--mono); font-size: 14px; color: var(--gray); }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

.timeline { list-style: none; padding: 0 !important; border-left: 3px solid var(--navy); }
.timeline li { padding: 0 0 14px 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 9px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); }
.timeline .when { font-family: var(--mono); font-size: 14px; color: var(--gray); display: block; }
.src { font-family: var(--mono); font-size: 13px; color: var(--gray); }

.ruled-section { border-top: 3px solid var(--navy); padding-top: 20px; margin-top: 40px; }
.card { padding: 28px; border: 1px solid var(--rule); border-radius: 6px; }
.card-soft { padding: 28px; background: var(--chip); border-radius: 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; list-style: none; padding: 0 !important; }
.cards > li { margin: 0 !important; }
.entry h3 { margin-bottom: 4px; }
.entry .meta { font-family: var(--mono); font-size: 14px; color: var(--gray); margin-bottom: 8px; }

.names { list-style: none; padding: 0 !important; columns: 2; column-gap: 24px; font-size: 16px; }
.names li { margin: 0 0 6px !important; break-inside: avoid; }
.names .here { font-weight: 600; color: var(--navy); }
.names .later { color: var(--gray); }
.names .later small { font-family: var(--mono); font-size: 12px; }
@media (max-width: 420px) { .names { columns: 1; } }
.card > h2:first-child, .card-soft > h2:first-child { margin-top: 0; }
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--rule); margin-top: 40px; font-size: 16px; }
.pager a { color: var(--accent); font-weight: 600; padding: 8px 0; }

.files { list-style: none; padding: 0 !important; }
.files li { border-top: 1px solid var(--rule); padding: 16px 0 !important; margin: 0 !important; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.files li:last-child { border-bottom: 1px solid var(--rule); }
.files a { font-family: var(--display); font-weight: 500; font-size: 22px; text-decoration: none; }
.files a:hover { text-decoration: underline; }
.files .when { font-family: var(--mono); font-size: 14px; color: var(--gray); }

.embed-form { width: 100%; min-height: 1900px; border: 0; background: var(--chip); border-radius: 6px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 4px; background: var(--chip); }

.results { list-style: none; padding: 0 !important; }
.results li { border-top: 1px solid var(--rule); padding: 16px 0 !important; margin: 0 !important; }
.results a { font-family: var(--display); font-size: 22px; font-weight: 500; }
.results p { color: var(--gray-2); font-size: 16px; margin-top: 4px; }
