:root {
  --bg: #fbf7ef;
  --ink: #152326;
  --muted: #5f6f70;
  --line: #ddcfbb;
  --panel: #fffdf8;
  --soft: #eef5f4;
  --green: #2f6f73;
  --gold: #c87941;
  --navy: #1f3540;
  --shadow: 0 24px 70px rgba(30, 41, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 207, 187, .78);
  background: rgba(251, 247, 239, .94);
  backdrop-filter: blur(12px);
}

.header-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: grid;
  gap: 1px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}
.brand span { color: var(--green); font-size: .78rem; font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.nav a:hover,
.footer-links a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--green);
  background: var(--green);
  color: white !important;
  text-decoration: none;
  font-weight: 800;
}
.button.secondary {
  color: var(--green) !important;
  background: transparent;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 42px;
  align-items: center;
  padding: 76px 0 54px;
}

.section-wide {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-original {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 72vh;
  padding: clamp(64px, 9vw, 118px) 0;
}

.hero-original-copy { max-width: 760px; }

.hero-original h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 7.3rem);
  line-height: .92;
}

.original-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.original-card img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ministry-photo img {
  width: min(100%, 520px);
  max-height: 680px;
  object-fit: cover;
  object-position: center 42%;
}

.kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.35rem, 6vw, 4.65rem); max-width: 11ch; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3 { font-size: 1.12rem; }

.lead {
  max-width: 66ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.hero-card .caption {
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
}

.section { padding: 42px 0; }
.section-header { margin-bottom: 22px; }
.section-header p { margin: 10px 0 0; color: var(--muted); max-width: 72ch; }
.centered { text-align: center; }
.centered p { margin-left: auto; margin-right: auto; }

.feature-band,
.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-band h2 a {
  color: var(--ink);
  text-decoration: none;
}

.feature-band p,
.contact-strip p { color: var(--muted); }

.label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gold);
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .72rem;
}

.original-stack { padding-top: 62px; padding-bottom: 62px; }

.photo-tile {
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: 8px;
  color: white;
  font-weight: 900;
  background: linear-gradient(140deg, rgba(47,111,115,.62), rgba(31,53,64,.52)), url("assets/middle-school-kid.jpg") center/cover;
  box-shadow: var(--shadow);
}

.tile-students { background: linear-gradient(140deg, rgba(200,121,65,.55), rgba(31,53,64,.48)), url("assets/middle-school-2.jpg") center/cover; }
.tile-technology { background: linear-gradient(140deg, rgba(31,53,64,.78), rgba(47,111,115,.58)), url("assets/ministry-tech.svg") center/cover; }

.original-split { padding-top: 66px; padding-bottom: 66px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(30, 41, 45, .07);
}
.card { padding: 22px; }
.card p,
.panel p,
.legal p,
.legal li { color: var(--muted); }
.card p { margin: 10px 0 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}
.panel { padding: clamp(22px, 4vw, 34px); }
.panel + .panel { margin-top: 16px; }

.notice {
  border-left: 5px solid var(--gold);
  background: #fff5e8;
}

.legal {
  max-width: 860px;
  padding: 54px 0;
}
.legal article {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.legal section + section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal h2 { font-size: 1.35rem; }
.legal a { color: var(--green); font-weight: 800; }

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.contact-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
}
.contact-item strong { display: block; }
.contact-item a { color: var(--green); font-weight: 800; }
.contact-item address,
.footer-columns address {
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.site-footer {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  background: #f4ecdf;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-note { color: var(--muted); max-width: 56ch; }
.footer-columns {
  align-items: flex-start;
}
.footer-columns h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.footer-columns a { color: var(--muted); font-weight: 700; text-decoration: none; }
.contact-panel { background: #fff5e8; }

@media (max-width: 860px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav { justify-content: flex-start; gap: 12px; }
  .hero,
  .hero-original,
  .split,
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .hero-original { min-height: auto; }
  h1 { max-width: 13ch; }
  .feature-band,
  .contact-strip { align-items: flex-start; flex-direction: column; }
}
