/* ==========================================================================
   OurLight Ministries — Shared Stylesheet
   Design standard for the Framer rebuild. Palette tightened to the logo.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Colors (see DESIGN-NOTES.md for where each is used) */
  --cream:        #FBF2DA;
  --navy:         #1d3a52;
  --navy-deep:    #14293b;
  --navy-stripe:  #24435c;
  --orange:       #d45500;
  --orange-soft:  #d8601e;
  --gold:         #c98a3f;
  --muted:        #6f6757;
  --line:         #e8dcc8;
  --white:        #ffffff;

  /* On-dark text */
  --cream-on-dark: #f3e7cf;
  --soft-on-dark:  #e9e0cf;

  /* Type families */
  --display: 'Playfair Display', Georgia, serif;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 48px);

  /* Shape — modern pass 2026-08-20, patterned on stmatthewsnewport.com:
     fully-rounded pill buttons, softly rounded cards, soft shadows */
  --radius-card: 20px;
  --radius-input: 12px;
  --shadow-card: 0 10px 30px rgba(20, 41, 59, .07);
  /* Deepened gold for text/borders on cream — the brand gold #c98a3f only
     reaches 2.6:1 there; this reaches 4.5:1 (see wordmark note below) */
  --gold-deep: #9a6220;

  /* Dark striped band — used on the Join the Build band and every
     interior page's dark hero (none of which carry a photo). Kept
     everywhere it was, per David 2026-08-24. */
  --stripe: repeating-linear-gradient(
              120deg,
              var(--navy-stripe), var(--navy-stripe) 13px,
              var(--navy-deep) 13px, var(--navy-deep) 26px);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0; }

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Reusable pieces ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.pillars {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Buttons — pill-shaped with small letterspaced caps (modern pass) */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 17px 36px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-soft); }

/* Was a solid gold block; now a thin gold-outline pill that fills on hover.
   Text uses the deepened gold so it stays legible on cream and white. */
.btn--gold {
  background: transparent;
  color: var(--gold-deep);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold); color: #fff; }

.btn--outline-light {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  padding: 17px 32px;
}
.btn--outline-light:hover { background: rgba(255,255,255,.1); }

/* Decorative divider (rule · diamond · rule) */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.divider .rule { width: 60px; height: 1px; background: #e0d2b6; }
.divider .diamond {
  width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold);
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 3;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px var(--pad);
}
/* The wordmark is the brand mark — there is no logo image in the header.
   The full logo is a detailed seal built to be read large (print, packet
   covers, merchandise); at 42px it was illegible and duplicated the words
   sitting next to it. Removed 2026-08-11 at David's request. */
.brand {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}
.brand__name {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
}
.brand__name .light { color: var(--navy); }
/* Burnt orange rather than the hero's gold: gold reads beautifully on the dark
   hero but only reaches 2.6:1 contrast on cream, which is below the legibility
   floor even for large text. Burnt orange clears it at 3.7:1. */
.brand__name .ministries { color: var(--orange); font-weight: 500; }

/* The menu is collapsed at EVERY width (David, 2026-08-24) — the links only
   appear when the Menu button is pressed. There is no desktop row of links. */
.nav__links {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  font-size: 15px;
  color: var(--navy);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.nav__links--open { display: flex; }
.nav__links a { padding: 11px 0; width: 100%; }
.nav__links a:hover { color: var(--orange); }

/* Marks the page the visitor is currently on */
.nav__links a[aria-current="page"] {
  color: var(--orange);
  font-weight: 600;
}

/* Support Our Mission — solid burnt orange, matching the Send Message button */
.nav__cta {
  background: var(--orange);
  border: 1.5px solid var(--orange);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nav__cta:hover {
  background: var(--orange-soft);
  border-color: var(--orange-soft);
}
.nav__links .nav__cta { margin-top: 10px; text-align: center; }
/* Keep the button's text white even when it is the current page */
.nav__links a.nav__cta[aria-current="page"] { color: #fff; }

/* ==========================================================================
   HERO  (header + hero share the .hero-band dark striped background)
   ========================================================================== */
.hero-band {
  position: relative;
  background: var(--stripe);
}
/* Homepage only — the hero photo sits at 55% opacity over this background,
   so the diagonal stripe was bleeding through and fighting the photo.
   David asked for it removed there specifically (2026-08-24); every other
   dark band (interior page heroes, Join the Build) keeps the stripe. */
.hero-band--photo { background: var(--navy-deep); }
.hero { position: relative; }
.hero__media {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* Full-bleed photo slot (open sky / light breaking through) sits here */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 38%,
              rgba(20,41,59,.16) 0%,
              rgba(20,41,59,.5) 58%,
              rgba(20,41,59,.82) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 12vw, 120px) var(--pad);
  max-width: 860px;
}
.hero__verse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 40px;
  padding: 9px 20px;
  margin-bottom: 32px;
}
.hero__verse .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.hero__verse span:last-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--cream-on-dark);
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 8vw, 82px);
  line-height: 1.08;
  color: #fff;
}
.hero__title .accent {
  font-family: var(--serif);
  font-style: italic;
  color: #e6b87f;
}
.hero__lede {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.75;
  color: var(--soft-on-dark);
  max-width: 560px;
  margin: 30px auto 0;
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__pillars {
  color: rgba(243,231,207,.72);
  margin-top: 48px;
}

/* ==========================================================================
   FOUNDATION
   ========================================================================== */
.foundation {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(72px, 11vw, 118px);
  padding-bottom: clamp(72px, 11vw, 118px);
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.8vw, 48px);
  line-height: 1.14;
  color: var(--navy);
}
.foundation .eyebrow { margin-bottom: 22px; }
.foundation p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 24px;
}
.foundation__frame { transform: rotate(1.2deg); }
.foundation__frame .mat {
  background: #fff;
  padding: 14px 14px 18px;
  box-shadow: 0 22px 52px rgba(20,41,59,.14);
  border-radius: 18px;
}
.foundation__photo {
  width: 100%;
  /* height:auto is required — the img tag carries width/height attributes (which
     stop the page jumping about as the photo loads), and without this the
     browser uses that raw pixel height and ignores the ratio below. */
  height: auto;
  /* Taller than the original 3/3.6 slot, to suit the upright Bible photograph.
     Anchored to the bottom so the Bible itself is never cropped — the trim
     comes off the top of the light rays instead. */
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 10px;
}
/* Placeholder shown until a real Bible photo is dropped in */
.foundation__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(135deg,
              #f2e7cf, #f2e7cf 11px, #ecdfc2 11px, #ecdfc2 22px);
}
.foundation__photo--placeholder span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: #a8957a;
  line-height: 1.7;
  padding: 0 24px;
}

/* ==========================================================================
   MISSION BAND
   ========================================================================== */
.mission {
  background: var(--white);
  border-top: 1px solid #efe6d4;
  border-bottom: 1px solid #efe6d4;
}
.mission .container {
  max-width: 880px;
  padding-top: clamp(64px, 9vw, 104px);
  padding-bottom: clamp(64px, 9vw, 104px);
  text-align: center;
}
.mission .eyebrow { margin-bottom: 30px; letter-spacing: 0.2em; }
.mission__statement {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.32;
  color: var(--navy);
}
.mission__statement .accent {
  font-family: var(--serif);
  font-style: italic;
  color: var(--orange);
}
/* Scripture reference under a mission-band quote — same treatment as
   .verse cite and .footer__blessing-ref, for when the statement is a
   direct Bible quote rather than a mission line. */
.mission__ref {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 18px;
}
.mission .divider { margin-top: 46px; }

/* ==========================================================================
   WHAT MAKES OURLIGHT DIFFERENT
   ========================================================================== */
.different {
  padding-top: clamp(72px, 11vw, 118px);
  padding-bottom: clamp(72px, 11vw, 118px);
}
.different__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.8vw, 48px);
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}
.different__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 24px);
  color: #9a8a6f;
  text-align: center;
  margin-bottom: 56px;
}
.contrast { max-width: 880px; margin: 0 auto; }
.contrast__row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.contrast__row:last-child { border-bottom: 1px solid var(--line); }
.contrast__before {
  font-size: 16px;
  line-height: 1.55;
  color: #a89a82;
  text-align: right;
}
.contrast__bar { background: #e3d4b6; height: 100%; min-height: 44px; }
.contrast__after {
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.4;
  color: var(--navy);
}
.contrast__after .accent { color: var(--orange); }
.different__close {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 26px);
  line-height: 1.5;
  color: #5d6b78;
  text-align: center;
  max-width: 700px;
  margin: 56px auto 0;
}

/* ==========================================================================
   THE TOOLS
   ========================================================================== */
.tools {
  background: var(--white);
  border-top: 1px solid #efe6d4;
}
.tools .container {
  padding-top: clamp(72px, 10vw, 112px);
  padding-bottom: clamp(72px, 10vw, 112px);
}
.tools__head { text-align: center; margin-bottom: 56px; }
.tools__head .eyebrow { letter-spacing: 0.2em; margin-bottom: 20px; }
.tools__head .section-title { margin-bottom: 18px; }
.tools__head p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}
.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* White on the cream page background (Our Tools); on the homepage's white
   .tools band they flip to cream — each always contrasts with its backdrop. */
.tool-card {
  border: 1px solid #efe5d2;
  border-radius: var(--radius-card);
  padding: 42px 36px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.tools .tool-card { background: var(--cream); }
.tool-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 27px;
  color: var(--navy);
  margin-bottom: 14px;
}
.tool-card p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.tools__cta { text-align: center; margin-top: 52px; }
.tools__note { font-size: 14px; color: #9a8a6f; margin-top: 18px; }
.tools__note a { color: var(--gold-deep); text-decoration: underline; }

/* ==========================================================================
   JOIN THE BUILD
   ========================================================================== */
.join {
  position: relative;
  background: var(--stripe);
}
.join::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,41,59,.55);
}
.join .container {
  position: relative;
  max-width: 820px;
  padding-top: clamp(72px, 10vw, 108px);
  padding-bottom: clamp(72px, 10vw, 108px);
  text-align: center;
}
.join h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 52px);
  color: #fff;
  margin-bottom: 24px;
}
.join p {
  font-size: 18px;
  line-height: 1.8;
  color: #e3dccd;
  max-width: 680px;
  margin: 0 auto;
}
.join__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 42px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #cbd4dc;
}
.site-footer .container {
  padding-top: 72px;
  padding-bottom: 40px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand { max-width: 360px; }
.footer__lockup {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer__name {
  font-family: var(--display);
  font-size: 24px;
}
.footer__name .light { color: #fff; }
.footer__name .ministries { color: #e6d8c2; font-weight: 500; }

/* Privacy / Responsible AI / Theological Guardrails links, moved under the
   wordmark 2026-08-31 (was a small row beside the copyright line at the very
   bottom — easy to miss down there; putting it right under the ministry
   name keeps it close to the brand it governs and harder to overlook). */
.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #9fb0bd;
}
.footer__legal a:hover { color: #fff; }

/* Footer Blessing (Polish idea, applied 2026-08-27): the anchor verse moved
   out from under the wordmark to become a centered opening line above the
   nav columns — the page closes the way a service does, before the
   practical footer takes over. Replaces the old .footer__verse. */
.footer__blessing {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}
.footer__blessing-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: #cbd4dc;
}
.footer__blessing-ref {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 10px;
}
.footer__blessing .divider { margin-top: 22px; }
.footer__blessing .divider .rule { background: rgba(255,255,255,.18); }

.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 15px;
}
.footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d8d99;
  margin-bottom: 4px;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  font-size: 13px;
  color: #7d8d99;
}
.footer__pillars { letter-spacing: 0.1em; text-transform: uppercase; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 860px) {
  /* (The header needs no narrow-screen override: the menu is collapsed at
     every width, so brand-left / Menu-right holds from phone to desktop.) */

  .hero__media { min-height: 500px; }

  /* Foundation + tools stack */
  .foundation { grid-template-columns: 1fr; }
  .foundation__frame { transform: none; max-width: 460px; }
  .tools__grid { grid-template-columns: 1fr; }

  /* Contrast rows: drop the center bar, stack before/after */
  .contrast__row { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .contrast__before { text-align: center; }
  .contrast__bar { display: none; }

  .footer__top { flex-direction: column; }
  .footer__cols { gap: 40px; }
}

@media (max-width: 480px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn { padding: 14px 26px; }

  /* Keep the verse pill and tagline from overflowing on small phones */
  .hero__verse { padding: 8px 16px; }
  .hero__verse span:last-child { font-size: 15px; }
  .hero__pillars,
  .footer__pillars { font-size: 11px; letter-spacing: 0.12em; }
}

/* ==========================================================================
   ACCESSIBILITY — skip link
   Lets keyboard users jump straight past the navigation to the page content.
   Invisible until it receives keyboard focus.
   ========================================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 0 0 2px 0;
}
.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   MOBILE MENU BUTTON
   Hidden on wide screens — the seven links fit there. On narrow screens the
   links collapse behind this button (see assets/js/main.js).
   ========================================================================== */
.nav__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid #d9c9a8;
  border-radius: 999px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 16px;
  cursor: pointer;
}
.nav__toggle:hover { background: #f4ead3; }

/* Two stacked bars (David, 2026-08-24 — was three) that rotate into an X
   while the menu is open. Pure CSS keyed to the button's aria-expanded
   state, which main.js already toggles; no image, no extra script. */
.nav__toggle-bars {
  position: relative;
  width: 16px;
  height: 10px;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  border-top: 2px solid currentColor;
  transition: transform .2s ease;
}
.nav__toggle-bars::before { top: 0; }
.nav__toggle-bars::after { top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before {
  transform: translateY(4px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

/* ==========================================================================
   INTERIOR PAGE HEADER
   The shorter dark band used at the top of every page except the homepage.
   ========================================================================== */
.page-hero { position: relative; }

/* Darkens the diagonal stripe pattern so white text stays readable over it */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,41,59,.62);
}
.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  padding-top: clamp(56px, 8vw, 92px);
  padding-bottom: clamp(56px, 8vw, 92px);
}
.page-hero .eyebrow { color: #d9a86a; margin-bottom: 20px; }
.page-hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.1;
  color: #fff;
}
.page-hero__title .accent {
  font-family: var(--serif);
  font-style: italic;
  color: #e6b87f;
}
.page-hero__lede {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.75;
  color: var(--soft-on-dark);
  max-width: 640px;
  margin: 26px auto 0;
}
.page-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTIONS — shared spacing helpers
   ========================================================================== */
.section {
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 120px);
}
.section--white {
  background: var(--white);
  border-top: 1px solid #efe6d4;
  border-bottom: 1px solid #efe6d4;
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .eyebrow { margin-bottom: 18px; }
.section__head .section-title { margin-bottom: 18px; }
.section__head p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}
/* Gold Thread (Polish idea, applied 2026-08-27): the same rule-diamond-rule
   divider already used in the Mission bands, carried under every section
   head so it threads one quiet motif through the site. Kept small on
   purpose — see .divider itself for the actual mark. */
.section__head .divider,
.tools__head .divider { margin-top: 24px; }

/* Dark outline button, for use on cream backgrounds */
.btn--outline {
  color: var(--navy);
  border-color: #d9c9a8;
  padding: 16px 30px;
}
.btn--outline:hover { background: #f4ead3; }

/* ==========================================================================
   PROSE — long-form reading (the Faithful Endurance letter, About story)
   ========================================================================== */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.2;
  color: var(--navy);
  margin-top: 56px;
  margin-bottom: 22px;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
}
.prose p strong { color: var(--navy); font-weight: 600; }
.prose a { color: var(--orange); text-decoration: underline; }
.prose ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.prose ul li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 10px;
  padding-left: 6px;
}
.prose ul li::marker { color: var(--gold); }
.prose ul li strong { color: var(--navy); font-weight: 600; }

/* The "Effective date" line at the top of the policy pages */
.policy-meta {
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9a8a6f;
  margin-bottom: 40px;
}

/* A quoted verse set apart from the surrounding text */
.verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.65;
  color: var(--navy);
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 26px;
  margin: 0 0 26px;
}
.verse cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 12px;
}

/* The four "Your labor is not in vain" style encouragements */
.assurance {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-bottom: 26px;
}
.assurance__claim {
  font-family: var(--display);
  font-size: clamp(21px, 2.6vw, 25px);
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 14px;
}
.assurance .verse { margin-bottom: 0; }

/* ==========================================================================
   PACKET CARDS — the downloadable PDF studies and devotionals
   ========================================================================== */
.packet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
}
/* Three-across variant for the featured row on Our Tools */
.packet-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
}
/* The download buttons are plain .btn--gold, identical to the homepage's
   Launch button: gold-outline pill, fills gold on hover. */
.packet-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #efe5d2;
  border-radius: var(--radius-card);
  background: var(--white);
  padding: 42px 36px;
  box-shadow: var(--shadow-card);
}

/* On the white band the cards go cream, matching the homepage tool cards;
   on the cream page background they stay white so they still stand out. */
.section--white .packet-card { background: var(--cream); }
.packet-card__kind {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.packet-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 14px;
}
.packet-card p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 26px;
}
.packet-card__foot { margin-top: auto; }
.packet-card__note {
  font-size: 13px;
  color: #9a8a6f;
  margin-top: 12px;
}

/* Shown while a packet PDF has not been added to the site yet.
   A washed-out outline pill: clearly present, clearly not ready. */
.packet-card--pending .packet-card__foot .btn {
  background: transparent;
  border-color: #ddd0b4;
  color: #a3947a;
  pointer-events: none;
}

/* ==========================================================================
   THE PACKET LIBRARY  (library.html)
   A plain list under group headers — deliberately not cards. Each row is a
   titled PDF with an open link on the right; rows stack on small screens.
   ========================================================================== */
.library { max-width: 820px; margin: 0 auto; }
.library__group { margin-bottom: 56px; }
.library__group:last-child { margin-bottom: 0; }
.library__heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.library__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.library__info h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.3;
  color: var(--navy);
}
.library__kind {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a8a6f;
  margin-top: 4px;
}
.library__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 10px;
  max-width: 540px;
}
.library__link {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: 12px 24px;
  transition: background-color .18s ease, color .18s ease;
}
.library__link:hover { background: var(--gold); color: #fff; }

@media (max-width: 600px) {
  .library__row { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ==========================================================================
   FAQ ACCORDION  (Alignment Tool page)
   Answers are hidden by CSS and revealed by assets/js/main.js.
   ========================================================================== */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 26px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(19px, 2.3vw, 22px);
  line-height: 1.35;
  color: var(--navy);
}
.faq__question:hover { color: var(--orange); }

/* The + / − marker on the right of each question */
.faq__marker {
  flex: 0 0 auto;
  position: relative;
  width: 16px;
  height: 16px;
}
.faq__marker::before,
.faq__marker::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform .2s ease, opacity .2s ease;
}
.faq__marker::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__marker::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__question[aria-expanded="true"] .faq__marker::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__answer { display: none; padding: 0 0 28px; }
.faq__question[aria-expanded="true"] + .faq__answer { display: block; }
.faq__answer p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 640px;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.form {
  max-width: 620px;
  margin: 0 auto;
}
.form__field { margin-bottom: 26px; }
.form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.form__input,
.form__textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #ddcdab;
  border-radius: var(--radius-input);
  padding: 16px 18px;
}
.form__input:focus,
.form__textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.form__textarea { min-height: 190px; resize: vertical; }
.form__help {
  font-size: 14px;
  line-height: 1.7;
  color: #9a8a6f;
  margin-top: 10px;
}
.form__actions { margin-top: 34px; }

/* The honeypot field — hidden from people, catches automated spam.
   Left in the page deliberately; do not remove. */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   STEWARDSHIP SPLIT  (Support Our Mission)
   ========================================================================== */
.steward {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 48px auto 0;
}
.steward__item {
  text-align: center;
  background: var(--cream);
  border: 1px solid #efe5d2;
  border-radius: var(--radius-card);
  padding: 36px 26px;
  box-shadow: var(--shadow-card);
}
.steward__figure {
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 12px;
}
.steward__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.steward__note { font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ==========================================================================
   RESPONSIVE — additions for the components above
   ========================================================================== */
@media (max-width: 860px) {
  .packet-grid { grid-template-columns: 1fr; }
  .steward { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 480px) {
  .verse { padding-left: 18px; }
  .prose p { font-size: 17px; }

  /* Shrink the wordmark slightly so it and the Menu button share one row
     instead of the button dropping onto a line of its own */
  .brand__name { font-size: 21px; }
  .nav__toggle { padding: 9px 13px; }
  .nav { padding-top: 16px; padding-bottom: 16px; }
}
