/* Scroll the Scriptures — shared V3 styles (every page).
   Source: ChatGPT V3 homepage, approved by McKinzie 2026-11-11, plus DESIGN-AND-HAPTICS-HANDOFF.md.
   Fonts are self-hosted (OFL): the same Google Fonts files V3 loaded. Light only. */

@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/assets/fonts/literata-opsz-wght.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/literata-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/assets/fonts/source-sans-3-wght.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #141616;
  --muted: #696f6d;
  --paper: #FDFDFC;
  --soft: #F4F5F4;
  --rule: #E4E7E4;
  --sans: 'Source Sans 3', 'Inter', Arial, sans-serif;
  --serif: 'Literata', 'Noto Serif Display', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-kerning: normal; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: #CED4D3; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #687C79; outline-offset: 4px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1400px; margin: 0 auto; padding-left: clamp(24px, 5.55vw, 84px); padding-right: clamp(24px, 5.55vw, 84px); }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: #646C6A; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 88px; transition: background .35s ease, height .35s ease, box-shadow .35s ease, border-color .35s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.solid { height: 72px; background: rgba(253,253,252,.93); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); border-bottom-color: rgba(0,0,0,.055); box-shadow: 0 2px 18px rgba(14,18,18,.028); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand img { height: 31px; width: 31px; object-fit: contain; }
.brand span { font-size: 13px; line-height: 1.1; font-weight: 600; letter-spacing: .004em; }
.topnav { display: flex; align-items: center; gap: 38px; }
.topnav > a:not(.small-pill) { font-size: 13px; font-weight: 500; letter-spacing: .012em; color: #626666; transition: color .3s; }
.topnav > a:hover, .topnav > a[aria-current="page"] { color: #17191A; }

/* ---------- buttons ---------- */
.small-pill, .dark-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; white-space: nowrap; background: #121414; color: #fff; border: 1px solid #121414; border-radius: 999px; font-weight: 600; box-shadow: 0 0 0 transparent; transition: transform .26s cubic-bezier(.22,.75,.25,1), background .26s, box-shadow .26s; }
.small-pill { font-size: 12px; padding: 13px 21px; }
.dark-button { font-size: 14px; min-height: 52px; padding: 0 23px; gap: 31px; }
.small-pill:hover, .dark-button:hover { transform: translateY(-1px); background: #2A2C2C; box-shadow: 0 10px 22px rgba(0,0,0,.09); }
.small-pill:active, .dark-button:active { transform: translateY(0) scale(.987); box-shadow: 0 3px 12px rgba(0,0,0,.055); }
.light-button { background: #fff; color: #151718; border-color: #DADDDC; }
.light-button:hover { background: #F4F5F4; }
.arrow { font-size: 19px; font-weight: 400; line-height: 1; }

/* ---------- footer ---------- */
.site-footer { background: #F0F2F0; border-top: 1px solid #DFE2DF; padding: 38px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.footer-brand img { width: 31px; height: 31px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 25px; align-items: center; font-size: 12px; color: #58605E; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 35px; margin-top: 30px; font-size: 11px; line-height: 1.7; color: #636B69; }
.footer-bottom p { margin: 0; max-width: 620px; }
.footer-bottom p:last-child { text-align: right; }
.footer-bottom a:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .site-header:hover:not(.scrolled):not(.solid) { background: rgba(253,253,252,.25); }
}
@media (max-width: 720px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .site-header { height: 75px; }
  .site-header.scrolled, .site-header.solid { height: 66px; }
  .brand { gap: 7px; }
  .brand img { width: 29px; height: 29px; }
  .brand span { font-size: 12px; letter-spacing: -.005em; }
  .topnav { gap: 0; }
  .topnav > a:not(.small-pill) { display: none; }
  .small-pill { padding: 10px 15px; font-size: 11px; }
  .site-footer { padding-top: 35px; padding-bottom: 25px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-nav { gap: 19px; }
  .footer-bottom { display: block; margin-top: 27px; }
  .footer-bottom p + p { margin-top: 15px; }
  .footer-bottom p:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
