/* Pathway Christian Academy: colors come from the logo (navy, gold sun, meadow green) */
:root {
  --navy: #1c2f57;
  --navy-deep: #13223f;
  --gold: #c8962e;
  --gold-soft: #f3e3bd;
  --sage: #5c7a48;
  --sage-soft: #e6eedd;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --ink: #2a2d33;
  --muted: #5b6270;
  --line: #e7dfcf;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(28, 47, 87, .08);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 74px; height: auto; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 3px; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--navy); cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
.nav { display: none; }
.nav.open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px; box-shadow: var(--shadow);
}
.nav a { text-decoration: none; color: var(--navy); font-weight: 700; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a.btn { margin-top: 14px; border-bottom: 0; justify-content: center; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav a { border: 0; padding: 8px 12px; border-radius: 8px; }
  .nav a:hover { background: var(--cream); color: var(--navy); }
  .nav a[aria-current="page"] { color: var(--gold); }
  .nav a.btn { margin: 0 0 0 8px; padding: 10px 18px; }
  .nav a.btn:hover { background: var(--navy-deep); color: #fff; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  background: var(--navy); color: #fff; border: 2px solid var(--navy);
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: #a97b1f; border-color: #a97b1f; }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy); }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 34, 63, .55) 0%, rgba(19, 34, 63, .78) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 64px 20px 72px; text-align: center; }
.hero h1 { color: #fff; margin-bottom: .25em; }
.hero .place { font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; color: var(--gold-soft); margin-bottom: 1.2em; }
.hero .lede { font-size: 1.15rem; max-width: 620px; margin: 0 auto 1.6em; }
.hero .actions { justify-content: center; }
.hero-logo { width: 150px; margin: 0 auto 18px; background: #fff; border-radius: 50%; padding: 18px 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.verse { font-family: var(--serif); font-style: italic; font-size: 1.05rem; max-width: 560px; margin: 0 auto 1.6em; color: #f4efe4; }
.verse cite { display: block; font-style: normal; font-family: var(--sans); font-weight: 800; font-size: .85rem; letter-spacing: .1em; margin-top: 6px; color: var(--gold-soft); }

/* Inner page banner */
.page-hero { background: var(--navy); color: #fff; padding: 48px 0 44px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { margin: 0 auto; max-width: 640px; color: #e9e4d8; font-size: 1.1rem; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .7em; }
.page-hero .eyebrow { color: var(--gold-soft); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-white { background: var(--paper); }
.section-sage { background: var(--sage-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.15rem; }
.divider { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.4em; border-radius: 3px; }
.center .divider, .divider.center { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse > :first-child { order: 2; }
}
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; }
.photo figcaption { font-size: .85rem; color: var(--muted); padding: 8px 4px 0; background: transparent; }

/* Quote band */
.quote { text-align: center; padding: 56px 0; background: var(--gold-soft); }
.quote blockquote { margin: 0 auto; max-width: 760px; font-family: var(--serif); font-style: italic; color: var(--navy); font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.35; }
.quote cite { display: block; margin-top: 12px; font-family: var(--sans); font-style: normal; font-weight: 800; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 26px; height: 26px; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(28, 47, 87, .14); color: inherit; }
a.card .more { color: var(--gold); font-weight: 800; }
.card-photo { margin: -26px -24px 20px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Facts list */
.facts { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 1fr; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 800; color: var(--navy); }
.facts dd { margin: 0; }
@media (min-width: 640px) { .facts div { grid-template-columns: 200px 1fr; gap: 20px; } }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 72px; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .25em; font-size: 1.1rem; }
.steps p { margin: 0; }

/* Calendar dates */
.dates { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dates li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.dates li:last-child { border-bottom: 0; }
.dates .d { font-weight: 800; color: var(--navy); }
.dates .off { color: #b23b2e; }
.dates .key { background: #f7f1ff; }
.dates .key .d, .dates .key span:last-child { color: #5a2fa0; font-weight: 700; }

/* Contact */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { text-align: center; }
.contact-card .icon { margin: 0 auto 14px; }
.contact-card a { font-weight: 800; word-break: break-word; }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* Call-to-action band */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 60px 0; }
.cta h2 { color: #fff; }
.cta p { color: #e9e4d8; max-width: 600px; margin: 0 auto 1.6em; }
.cta .actions { justify-content: center; }

/* ---------- Placeholders: spots that need info from Heather ---------- */
.needs-info {
  display: inline-block;
  background: #fff4cc;
  border: 2px dashed #d08a00;
  color: #6b4500;
  border-radius: 8px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: .95em;
}
.needs-info::before { content: "✏️ NEED FROM HEATHER: "; font-size: .8em; letter-spacing: .04em; }
div.needs-info, p.needs-info { display: block; padding: 14px 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #cfd6e4; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { width: 70px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-brand span { font-family: var(--serif); font-size: 1.2rem; color: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; font-size: .85rem; color: #9aa6bd; }

@media (max-width: 420px) {
  .brand-name { font-size: 1rem; }
  .brand img { width: 60px; }
  .section { padding: 48px 0; }
}

/* Tall (portrait) photos: keep them from getting too long on phones */
.photo.tall img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 859px) { .photo.tall img { aspect-ratio: 1 / 1; } }

/* Photo gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }

/* Enrollment status notice */
.status-section { padding-bottom: 0; }
.status-card { background: var(--paper); border: 2px solid var(--gold); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); text-align: center; }
.status-card .actions { justify-content: center; }
.status-pill { display: inline-block; background: var(--gold-soft); color: #7a5512; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }

/* Suggested wording waiting for Heather's approval */
.needs-approval { display: block; background: #eef4ff; border: 2px dashed #3b6fd1; color: #1d3f86; border-radius: 8px; padding: 12px 16px; font-weight: 700; }
.needs-approval::before { content: "✏️ HEATHER TO APPROVE: "; font-size: .8em; letter-spacing: .04em; }

/* Long email addresses wrap instead of pushing boxes wider than a phone screen */
a[href^="mailto:"] { overflow-wrap: anywhere; }
.steps li, .facts div, .card { min-width: 0; }
