:root {
  --navy: #17325f;
  --navy-dark: #102546;
  --gold: #b88d43;
  --parchment: #f8f5ef;
  --paper: #fffdf9;
  --ink: #2d2d2d;
  --muted: #6c6a66;
  --line: #ddd4c5;
  --shadow: 0 14px 40px rgba(30, 40, 55, 0.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, rgba(184,141,67,.05), transparent 32rem), var(--parchment);
  font-family: "Century Schoolbook", "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.72;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.hero {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 72px 22px 64px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255,255,255,.72), rgba(248,245,239,.94)), radial-gradient(circle at 50% 30%, #ffffff 0, #f5efe5 70%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { width: min(900px, 100%); }
.logo { width: min(470px, 88vw); margin: 0 auto 24px; }
.verse { margin: 0 0 22px; color: var(--navy); font-style: italic; font-size: 1.02rem; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; text-wrap: balance; }
h1 { margin: 0 auto 18px; max-width: 880px; font-size: clamp(2.35rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -.035em; }
.tagline { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); font-style: italic; }
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 80px; }
.panel { background: rgba(255,253,249,.92); border: 1px solid rgba(221,212,197,.9); border-radius: 24px; box-shadow: var(--shadow); }
.intro { padding: clamp(30px, 6vw, 58px); margin-bottom: 34px; }
.section-kicker { margin: 0 0 10px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .18em; }
.intro h2, .featured h2, .contact h2 { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; }
.intro p:last-child { margin-bottom: 0; }
.featured { padding: clamp(28px, 5vw, 50px); margin-bottom: 34px; overflow: hidden; }
.featured > h2 { margin-bottom: 8px; }
.resource-subtitle { margin: 0 0 30px; color: var(--navy-dark); font-size: clamp(1.08rem, 2.4vw, 1.35rem); font-style: italic; }
.carousel { width: 100%; margin: 0 auto 34px; }
.carousel-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #eee8dd; box-shadow: 0 12px 28px rgba(20,30,45,.14); touch-action: pan-y; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.015); transition: opacity .65s ease, transform .65s ease; pointer-events: none; }
.slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 11px; border-radius: 999px; color: white; background: rgba(16,37,70,.82); backdrop-filter: blur(8px); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.carousel-control { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; background: rgba(16,37,70,.76); backdrop-filter: blur(8px); cursor: pointer; font-family: inherit; font-size: 2rem; line-height: 1; transition: transform .2s ease, background .2s ease; }
.carousel-control:hover, .carousel-control:focus-visible { background: rgba(16,37,70,.95); }
.carousel-control:hover { transform: translateY(-50%) scale(1.06); }
.prev { left: 16px; }
.next { right: 16px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #c9c2b6; cursor: pointer; transition: width .25s ease, border-radius .25s ease, background .25s ease; }
.dot.is-active { width: 30px; border-radius: 999px; background: var(--gold); }
.resource-copy > p { max-width: 820px; margin: 0 auto 28px; text-align: center; }
.interest-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: #fbf8f2; }
.interest-box h3 { margin: 0 0 8px; font-size: 1.38rem; }
.interest-box p { margin: 0; }
.button { display: inline-block; min-width: 210px; padding: 13px 18px; border-radius: 10px; color: #fff; background: var(--navy); text-align: center; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { background: var(--navy-dark); transform: translateY(-1px); }
.commitments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.card { position: relative; min-height: 220px; padding: 28px 24px; background: rgba(255,253,249,.9); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 28px rgba(30,40,55,.06); }
.card-mark { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .14em; }
.card h3 { margin: 26px 0 12px; font-size: 1.35rem; }
.card p { margin: 0; }
.contact { padding: 42px 28px; text-align: center; }
.contact p { margin-bottom: 8px; }
.contact-email { color: var(--navy); font-size: clamp(1.1rem, 3vw, 1.45rem); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
footer { padding: 36px 20px 48px; color: #6d6963; text-align: center; border-top: 1px solid var(--line); }
footer p { margin: 4px 0; }
.footer-motto { color: var(--gold); font-style: italic; }
@media (max-width: 900px) {
  .commitments { grid-template-columns: repeat(2, 1fr); }
  .interest-box { grid-template-columns: 1fr; }
  .button { width: 100%; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .hero { min-height: auto; padding-top: 46px; }
  main { width: min(100% - 20px, 1120px); padding-top: 28px; }
  .panel { border-radius: 18px; }
  .carousel-stage { aspect-ratio: 4 / 5; }
  .carousel-control { width: 42px; height: 42px; }
  .prev { left: 9px; }
  .next { right: 9px; }
  .commitments { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
