/* Pentecostals of Woodville / POW Academy — shared design system
   Colors from church letterhead (navy + gold) and the dove-with-wings-of-fire logo. */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

:root {
  --navy: #1c2c4c;
  --navy-deep: #121c33;
  --navy-soft: #2a3d66;
  --gold: #a08048;
  --gold-light: #c4a56a;
  --gold-pale: #f3ead4;
  --fire: #d0121c;
  --cream: #f7f3eb;
  --cream-dark: #efe8d8;
  --paper: #fffdf8;
  --ink: #1c2c4c;
  --muted: #5a6170;
  --line: #e4dccb;
  --placeholder-bg: #f8f0dc;
  --placeholder-ink: #5c4a20;
  --focus: #a08048;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(18, 28, 51, 0.08);
  --header-h: 4.5rem;
  --font-display: "Cinzel", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --measure: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); text-underline-offset: 0.15em; }
a:hover { color: var(--fire); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
}
.skip:focus { top: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.brand img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.brand-text { min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}
.brand-tag {
  display: block;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.1rem;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--navy);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span { transition: transform 0.2s, opacity 0.2s; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.site-nav a.nav-cta {
  background: var(--navy);
  color: #fff;
  border-bottom: 0;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
}
.site-nav a.nav-cta:hover { background: var(--navy-soft); color: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.1rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--line); }
  .site-nav a.nav-cta {
    margin-top: 0.6rem;
    text-align: center;
    border-bottom: 0;
  }
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(160, 128, 72, 0.18), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, #24355c 100%);
  color: #f7f3eb;
  padding: 4.25rem 1.25rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 22rem;
  height: 22rem;
  background: url("../images/logo.png") center / contain no-repeat;
  opacity: 0.07;
  filter: brightness(4);
  pointer-events: none;
}
.hero-inner, .wrap {
  max-width: 1120px;
  margin: 0 auto;
}
.hero-inner { max-width: 46rem; position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  margin: 0 0 0.85rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}
.hero .lede {
  font-size: 1.15rem;
  color: #e8e0d0;
  margin: 0 0 1.5rem;
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.trust-line {
  margin: 1.6rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(196, 165, 106, 0.35);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-pale);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  line-height: 1.2;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: #8e6f3c; color: #fff; border-color: #8e6f3c; }
.btn-light {
  background: transparent;
  color: #fff;
  border-color: rgba(247, 243, 235, 0.55);
}
.btn-light:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-soft); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Sections */
.section { padding: 3.5rem 1.25rem; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: #f3efe6; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 42rem; margin: 0 auto 2rem; }
.section-head.left, .left { margin-left: 0; }
.kicker {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--navy);
}
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.lead { font-size: 1.12rem; color: var(--muted); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 780px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}
.card .when {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.card .time {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.25rem;
}
.card .what { color: var(--muted); margin: 0; }
.note { font-size: 0.92rem; color: var(--muted); margin-top: 1rem; }

/* Grid features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 700px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
  border: 1px solid var(--line);
}
.feature h3 { margin-bottom: 0.4rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

/* Pastor letter */
.letter {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.6rem;
  box-shadow: var(--shadow);
  max-width: 48rem;
}
@media (max-width: 600px) {
  .letter { grid-template-columns: 1fr; padding: 1.35rem; }
  .letter .seal { width: 64px; }
}
.letter .seal { width: 88px; height: 88px; }
.letter blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.45;
}
.letter .sign {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}
.letter .sign span {
  display: block;
  font-family: var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

/* Quote */
.pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.15rem;
  margin: 1.25rem 0;
  max-width: 38rem;
}

/* Placeholders — clearly visible for John */
.placeholder {
  display: block;
  margin: 0.75rem 0;
  padding: 0.8rem 1rem;
  background: var(--placeholder-bg);
  border: 1px dashed var(--gold);
  color: var(--placeholder-ink);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}
.placeholder::before {
  content: "";
}

/* Beliefs */
.beliefs { display: grid; gap: 1rem; }
.belief {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem;
}
.belief h3 { margin-bottom: 0.35rem; }

/* Visit / map */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--cream-dark);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
.dl { margin: 0; }
.dl div { margin: 0 0 0.85rem; }
.dl dt {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
}
.dl dd { margin: 0.15rem 0 0; }

/* Forms */
form {
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}
label { font-weight: 600; font-size: 0.92rem; display: grid; gap: 0.3rem; }
input, textarea, select {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--gold-pale);
  border-color: var(--gold);
}
textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--muted); }

/* FAQ */
details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin: 0 0 0.65rem;
}
summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
details p { margin-top: 0.6rem; }

/* Page title band */
.page-hero {
  background: var(--navy);
  color: #f3efe6;
  padding: 2.75rem 1.25rem 2.5rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin: 0 0 0.5rem;
  color: #fff;
}
.page-hero p { margin: 0; color: #e0d8c8; max-width: 40rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #d9d3c6;
  padding: 2.75rem 1.25rem 1.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.site-footer a { color: #f3ead4; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer h2 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.7rem;
}
.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #fff;
  text-decoration: none;
}
.footer-brand img { width: 48px; height: 48px; }
.footer-brand span {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.35rem; }
.legal {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(196, 165, 106, 0.25);
  font-size: 0.85rem;
  color: #9aa0ad;
}

/* Utilities */
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }
.mt-0 { margin-top: 0; }
.narrow { max-width: 44rem; }
.diamond-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.diamond-rule::before,
.diamond-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.diamond-rule span { font-size: 0.7rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0 0 0.35rem; }

@media (max-width: 860px) {
  .header-inner { padding: 0.55rem 1rem; align-items: center; }
  .brand img { width: 46px; height: 46px; }
  .brand-name {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    max-width: 9.6rem;
  }
  .brand-tag { font-size: 0.65rem; letter-spacing: 0.04em; }
  .hero { padding: 3rem 1.15rem 3.25rem; }
  .letter .seal { width: 72px; height: 72px; }
}
