/* AFP identity layer: a Christian, veteran-based company (2026-10-19 redesign).
   Loaded after styles.css or home.css on every page. Tokens first, then the shared header and footer, then the
   identity components. No seals, insignia, medals or agency marks: the flag stripe and the plain cross are the
   only emblems (16 CFR 461, docs/compliance.md §2 in the AFP repo). */

@font-face {
  font-family: "Libre Caslon Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/caslon-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Caslon Text";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/caslon-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Caslon Text";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/caslon-400i.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0b2a4a;
  --navy-2: #123760;
  --navy-3: #071c33;
  --red: #a6212d;
  --ink: #1a2433;
  --ink-soft: #46505e;
  --muted: #5e6670;
  --paper: #fffdf8;
  --canvas: #f5f0e6;
  --canvas-blue: #ece6d8;
  --line: #d9cfbd;
  --line-dark: #9a8f7c;
  --brass: #94712f;
  --brass-light: #d9b56a;
  --ivory: #fbf7ee;
  --link: #1d4f86;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --stripe: linear-gradient(var(--red) 0 33.3%, var(--ivory) 33.3% 66.6%, var(--red) 66.6%);
}

body { background: var(--paper); }
::selection { color: #fff; background: var(--navy); }

/* Serif display type for every heading the two base stylesheets set in Inter */
h1, h2,
.section-heading h2, .callout-inner h2, .article-cta h2, .process-intro h2,
.closing-layout h2, .page-hero h1, .home-intro h1 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.08;
}
h3 { letter-spacing: -.01em; }
.eyebrow, .kicker, .form-eyebrow, .article-meta { color: var(--brass); letter-spacing: .16em; }
.eyebrow-light { color: var(--brass-light); }

/* Header: identity line in the utility bar, flag stripe under it */
.utility-bar { position: relative; color: #e9e1cf; background: var(--navy-3); border-bottom: 0; }
.utility-bar::after { position: absolute; inset: auto 0 0; height: 6px; background: var(--stripe); content: ""; }
.utility-inner { padding-bottom: 6px; }
.faith-line { display: inline-flex; align-items: center; gap: .55rem; }
.faith-line .faith-mark { width: .7rem; height: .9rem; flex: 0 0 auto; color: var(--brass-light); }
.faith-line .identity-line { color: #fff; letter-spacing: .06em; }
.faith-line .utility-extra { display: none; color: #cfc6b3; font-weight: 600; }
.faith-line .utility-sep { display: none; color: var(--brass-light); }
@media (min-width: 46rem) {
  .faith-line .utility-extra, .faith-line .utility-sep { display: inline; }
}
.topbar { background: var(--paper); border-bottom-color: var(--line); }
.menu { background: var(--paper); }
.menu a { color: var(--navy); }
.menu a[aria-current="page"] { color: var(--red); }

/* Footer: creed line, verse, private-company line */
.footer { position: relative; background: var(--navy-3); border-top: 0; }
.footer::before { position: absolute; inset: 0 0 auto; height: 6px; background: var(--stripe); content: ""; }
.footer-brand .footer-creed { color: #e9e1cf; }
.footer-brand .identity-line { display: block; margin-bottom: .35rem; color: #fff; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
.fineprint .affiliation-note { color: #cfc6b3; }

/* Shared identity components */
.faith-glyph { display: inline-block; width: 1.1rem; height: 1.4rem; color: var(--brass); }

.values-section { background: var(--canvas); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.value-card { position: relative; padding: 1.75rem 1.5rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.value-card:nth-child(2) { border-top-color: var(--red); }
.value-card:nth-child(3) { border-top-color: var(--brass); }
.value-card svg { width: 2rem; height: 2rem; margin-bottom: 1rem; color: var(--navy); }
.value-card:nth-child(2) svg { color: var(--red); }
.value-card:nth-child(3) svg { color: var(--brass); }
.value-card h3 { margin: 0 0 .6rem; color: var(--navy); font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.value-card p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
@media (min-width: 52rem) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.verse-band { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.verse-band::before { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.5px); background-size: 26px 26px; content: ""; opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 45%); mask-image: linear-gradient(90deg, #000 0, transparent 45%); }
.verse-inner { position: relative; display: grid; gap: 1.25rem; padding-block: clamp(3rem, 6vw, 4.75rem); justify-items: center; text-align: center; }
.verse-inner svg { width: 1.6rem; height: 2rem; color: var(--brass-light); }
.verse-inner blockquote { max-width: 40rem; margin: 0; }
.verse-inner blockquote p { margin: 0 0 .9rem; font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-style: italic; line-height: 1.3; }
.verse-inner cite { color: var(--brass-light); font-size: .78rem; font-style: normal; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.verse-inner .verse-note { max-width: 36rem; margin: 0; color: #d6dde6; font-size: .98rem; }

.welcome-band { background: var(--ivory); border-bottom: 1px solid var(--line); }
.welcome-layout { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.welcome-layout h2 { margin: 0; color: var(--navy); font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.welcome-layout p { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.welcome-layout .plain-note { padding: 1rem 1.15rem; color: var(--ink); background: var(--paper); border-left: 4px solid var(--brass); font-size: .95rem; }
@media (min-width: 52rem) { .welcome-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 3rem; } }

.creed-list { display: grid; gap: 0; margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.creed-list li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.creed-list li svg { width: 1.4rem; height: 1.4rem; margin-top: .2rem; color: var(--red); }
.creed-list strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; }
.creed-list span { color: var(--ink-soft); }

/* Home hero: deeper navy shade so the serif headline holds on the photo */
.home-hero { border-bottom: 0; }
.home-hero::after { position: absolute; z-index: 2; inset: auto 0 0; height: 6px; background: var(--stripe); content: ""; }
.home-hero-shade { background: linear-gradient(90deg, rgba(7, 28, 51, .86) 0, rgba(7, 28, 51, .62) 46%, rgba(7, 28, 51, .18) 100%); }
.hero-identity { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; padding: .45rem .8rem .45rem .65rem; color: #fff; background: rgba(7, 28, 51, .55); border: 1px solid rgba(217, 181, 106, .55); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-identity svg { width: .8rem; height: 1rem; color: var(--brass-light); }
.assurance-marquee { background: var(--navy); }
.assurance-marquee-list li::after { background: var(--brass-light); }
.identity-strip { background: var(--navy-3); }

/* Inner page heroes and bands pick up the parchment canvas */
.page-hero { background: var(--canvas); border-bottom: 1px solid var(--line); }
.callout-band, .home-closing { background: var(--navy); }
.btn-accent { background: var(--red); border-color: var(--red); }
.btn { border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  .verse-band::before { opacity: .35; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.value-card svg[viewBox="0 0 14 18"] { width: 1.55rem; }
.thank-you-blessing { margin: 1.25rem 0 0; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; font-style: italic; }

/* Scripture notes on the blog, the page heroes and the thank-you page (round 2, 2026-10-21) */
.faith-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; margin: 0 0 2rem; padding: 1.25rem 1.4rem; border-left: 3px solid var(--brass); background: var(--canvas); }
.faith-note svg { grid-row: span 2; width: 1rem; height: 1.3rem; margin-top: .35rem; color: var(--brass); }
.faith-note blockquote { margin: 0; }
.faith-note blockquote p { margin: 0 0 .35rem; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.45; }
.faith-note cite, .hero-verse cite, .thank-you-verse cite { color: var(--brass); font-size: .74rem; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.faith-note .faith-note-why { grid-column: 2; margin: 0; color: var(--ink-soft); font-size: .95rem; }
.hero-verse { max-width: 38rem; margin: 1.1rem 0 0; padding-left: .9rem; border-left: 2px solid var(--brass-light); font-family: var(--serif); font-size: 1.02rem; font-style: italic; line-height: 1.5; opacity: .92; }
.dark-hero .hero-verse cite, .game-plan-hero .hero-verse cite { color: var(--brass-light); }
.thank-you-verse { margin: .25rem 0 1.25rem; color: var(--ink-soft); font-family: var(--serif); font-style: italic; }
