/* Shared styles for the ministry pages (index.html, leaders.html).
   Same palette and fonts as the-pass.html so the whole site feels like one place. */
:root {
  --night: #0c1120;
  --night-2: #131a2e;
  --dusk: #1c2540;
  --cream: #f6ecd8;
  --cream-dim: #cfc6b4;
  --gold: #e0ae5a;
  --ember: #d9763a;
  --line: rgba(224, 174, 90, 0.28);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1a1408; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* top bar */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 5; padding: 22px 0; }
.bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { letter-spacing: .28em; text-transform: uppercase; font-size: .95rem; color: var(--cream); text-decoration: none; }
.bar nav { display: flex; gap: 22px; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; }
.bar nav a { color: var(--cream-dim); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.bar nav a:hover { color: var(--gold); }
.bar nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

/* hero */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background:
    radial-gradient(900px 520px at 85% 90%, rgba(217, 118, 58, .30), transparent 70%),
    radial-gradient(700px 400px at 15% 0%, rgba(224, 174, 90, .10), transparent 70%),
    linear-gradient(180deg, #0a0f1d 0%, #151c36 55%, #2a2038 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(180deg, transparent, var(--night));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15em; }
.eyebrow { font-family: var(--display); font-weight: 500; letter-spacing: .24em; text-transform: uppercase; font-size: .85rem; color: var(--gold); margin: 0 0 18px; }
h1 { font-weight: 500; font-size: clamp(2.6rem, 7vw, 4.8rem); line-height: 1.04; letter-spacing: .01em; margin: 0 0 26px; text-wrap: balance; }
.lede { font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.45; color: var(--cream); max-width: 46ch; margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 2px; text-decoration: none;
  background: var(--gold); color: #1a1408; font-family: var(--display); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; font-size: .9rem;
}
.btn:hover { background: #f0c070; color: #1a1408; }
.btn-line {
  display: inline-block; padding: 12px 26px; border-radius: 2px; text-decoration: none;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; font-size: .9rem;
}
.btn-line:hover { background: rgba(224,174,90,.14); color: var(--cream); }
.link-quiet { color: var(--cream-dim); }

/* sections */
section { padding: 84px 0; }
.alt { background: var(--night-2); border-block: 1px solid var(--line); }
.rule { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 0 0 28px; }
h2 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .18em; font-size: 1.05rem; color: var(--gold); margin: 0 0 22px; }
h3 { font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin: 0 0 8px; }
p { margin: 0 0 1.1em; }
.prose { max-width: 62ch; }
.lead { font-size: 1.45rem; line-height: 1.45; }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.split h2 { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); padding: 28px; background: rgba(255,255,255,.025); }
.card p { margin: 0; color: var(--cream-dim); font-size: 1.1rem; }
.card h3 { color: var(--cream); }
.card .go { display: inline-block; margin-top: 14px; font-family: var(--display); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; }

.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; max-width: 62ch; }
.offers li { border-left: 2px solid var(--gold); padding-left: 20px; }
.offers h3 { margin-bottom: 4px; }
.offers p { margin: 0; color: var(--cream-dim); }

.pull { font-style: italic; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.35; color: var(--gold); max-width: 30ch; margin: 0; }

.fine { font-size: .95rem; color: #a9a291; }
.note { border: 1px solid var(--line); padding: 22px 26px; max-width: 62ch; background: rgba(255,255,255,.025); }
.note h3 { font-size: 1.25rem; }
.note p { margin: 0; color: var(--cream-dim); font-size: 1.08rem; }

footer { padding: 40px 0 50px; text-align: center; color: #a9a291; font-size: .98rem; border-top: 1px solid var(--line); }
footer p { margin: .2em 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > * { animation: rise .9s ease both; }
  .hero .wrap > *:nth-child(2) { animation-delay: .08s; }
  .hero .wrap > *:nth-child(3) { animation-delay: .16s; }
  .hero .wrap > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero { padding: 130px 0 76px; }
  .split, .cards { grid-template-columns: 1fr; gap: 28px; }
  .bar nav { gap: 14px; font-size: .8rem; }
  .brand { font-size: .8rem; letter-spacing: .2em; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .bar .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero { padding: 150px 0 70px; }
}

footer a, .fine { overflow-wrap: anywhere; }
