/* Faith Lutheran School — site styles. Brand: navy #002A5D + white, Barlow / Barlow Condensed. */
:root {
  --navy: #002A5D;
  --navy-dark: #00193A;
  --navy-soft: #0F3A70;
  --tint: #F2F5F9;
  --line: #D3DBE6;
  --ink: #1C2433;
  --muted: #3D4F6B;
  --on-navy: #E3E9F1;
  --on-navy-muted: #C9D4E3;
  --alert: #8A1C1C;
  --radius: 10px;
  --wrap: 1200px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font: 400 18px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid #4C8BE0; outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--navy); margin: 0; line-height: 1.02; font-weight: 700; }
h1 { font-size: clamp(44px, 7vw, 76px); }
h2 { font-size: clamp(34px, 4.6vw, 48px); }
h3 { font-size: 26px; line-height: 1.1; }
h4 { font-size: 20px; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.eyebrow { font: 600 14px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 6px; border: 2px solid transparent; font: 700 18px var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--tint); color: var(--navy); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-line-light { border-color: #fff; color: #fff; background: transparent; }
.btn-line-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Utility bar + header */
.utility { background: var(--navy-dark); color: #fff; font-size: 15px; }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.utility a { color: #fff; text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--on-navy-muted); text-decoration: underline; }
.utility .links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 72px; height: 72px; }
.brand-name { display: flex; flex-direction: column; gap: 3px; }
.brand-name strong { font: 700 27px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.brand-name span { font: 600 13px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 18px; }
.nav a { color: var(--navy); text-decoration: none; font: 600 17px var(--body); padding: 10px 2px; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav .btn { padding: 0 20px; color: #fff; text-decoration: none; }
.menu-toggle { display: none; }
@media (max-width: 1180px) {
  .site-header { position: relative; }
  .site-header .wrap { flex-wrap: nowrap; }
  .menu-toggle { display: inline-flex; min-height: 44px; padding: 0 16px; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 24px 20px; z-index: 20; box-shadow: 0 12px 20px -12px rgba(0,25,58,.3); }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .btn { margin-top: 12px; border-bottom: 0; padding: 0 20px; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  .brand img { width: 56px; height: 56px; }
  .brand-name strong { font-size: 22px; }
  .brand-name span { font-size: 11px; letter-spacing: .14em; }
}

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.bg-tint { background: var(--tint); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .eyebrow { color: var(--on-navy-muted); }
.bg-navy .lead, .bg-navy p { color: var(--on-navy); }
.bg-navy a:not(.btn) { color: #fff; }
.border-top { border-top: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split.center { align-items: center; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 32px; }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--on-navy-muted); }
.page-hero .lead { color: var(--on-navy); }
.home-hero { background: var(--navy); color: #fff; padding: 84px 0; overflow: hidden; }
.home-hero h1 { color: #fff; max-width: 640px; }
.home-hero .lead { color: var(--on-navy); }
.home-hero .eyebrow { color: var(--on-navy-muted); }
.hero-badge { display: flex; justify-content: center; }
.hero-badge img { width: min(380px, 80vw); height: auto; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3, .card h4 { color: var(--navy); }
a.card { text-decoration: none; color: var(--ink); }
a.card:hover { border-color: var(--navy); }
.card-navy { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.card-navy h3, .card-navy h4 { color: #fff; }
.card-navy p { color: var(--on-navy); }
.facts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.facts strong { display: block; font: 700 26px var(--display); text-transform: uppercase; color: var(--navy); }
.facts span { font-size: 16px; color: var(--muted); }
.callout { border: 2px solid var(--navy); border-radius: 12px; padding: 30px 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.callout > div { flex: 1 1 480px; min-width: 0; }
.checklist { list-style: none; padding: 0; display: grid; gap: 10px 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 11px; height: 6px; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(-45deg); }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose ul { display: flex; flex-direction: column; gap: 6px; }
.prose h2 { margin-top: 24px; }
.prose h3 { margin-top: 12px; }
.verse { font: 500 22px/1.45 var(--body); color: var(--navy); border-left: 4px solid var(--navy); padding-left: 20px; }
.verse cite { display: block; margin-top: 6px; font: 700 16px var(--display); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--muted); }

/* Timeline / hours */
.hours { display: grid; gap: 0; }
.hours div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours dt, .hours .t { font: 700 20px var(--display); text-transform: uppercase; color: var(--navy); }
.hours dd { margin: 0; }

/* CMS-driven lists */
.cms-status { color: var(--muted); font-size: 16px; }
.skeleton { height: 84px; border-radius: var(--radius); background: linear-gradient(90deg, #EEF2F7 25%, #E3E9F1 50%, #EEF2F7 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
.event { display: flex; gap: 18px; align-items: flex-start; }
.datebox { flex: 0 0 auto; width: 74px; min-height: 80px; border-radius: 10px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px; text-align: center; }
.datebox .m { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); }
.datebox .d { font: 700 30px/1 var(--display); }
.event-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.event-body strong { font-size: 19px; color: var(--navy); overflow-wrap: anywhere; }
.event-body span { font-size: 16px; color: var(--muted); }
.tag { display: inline-block; align-self: flex-start; font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: #F8E8E8; color: var(--alert); }
.month { margin-top: 40px; }
.month:first-child { margin-top: 0; }
.month h2 { font-size: 32px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); margin-bottom: 4px; }
.cal-row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cal-row .when { font: 700 19px var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.cal-row .what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.cal-row .what strong { font-weight: 600; }
.cal-row.past { opacity: .55; }
.cal-row.no-school .when { color: var(--alert); }
@media (max-width: 560px) { .cal-row { grid-template-columns: 1fr; gap: 2px; } .hours div { grid-template-columns: 1fr; gap: 2px; } }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--navy); }
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th, .table td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 700 15px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.table td.num { text-align: right; font-weight: 700; white-space: nowrap; }
.table tr.past td { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px; background: #fff; }
.notice { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.notice h3 { font-size: 24px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form label { display: flex; flex-direction: column; gap: 6px; font: 600 16px var(--body); color: var(--navy); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { font: 400 17px var(--body); color: var(--ink); padding: 12px 14px; min-height: 48px; border: 1.5px solid #A7B4C6; border-radius: 8px; background: #fff; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.form .check input { width: 20px; height: 20px; accent-color: var(--navy); }
.form-msg { font-weight: 600; }
.form fieldset.lists { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.form fieldset.lists legend { font: 600 16px var(--body); color: var(--navy); margin-bottom: 8px; padding: 0; }
.form [hidden] { display: none !important; }
.form-msg.ok { color: #1D6B3A; }
.form-msg.err { color: var(--alert); }
.form-card { background: #fff; color: var(--ink); border-radius: 12px; padding: 30px; border: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--navy); color: #fff; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 104px; height: 104px; }
.foot-brand strong { font: 700 28px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; display: block; }
.foot-brand span { font: 600 13px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--on-navy-muted); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 24px 56px; font-size: 16px; line-height: 1.7; }
.foot-cols div { display: flex; flex-direction: column; }
.foot-cols strong { font: 700 18px var(--display); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--on-navy-muted); }
.legal { border-top: 1px solid rgba(255,255,255,.25); padding-top: 24px; font-size: 14px; line-height: 1.6; color: var(--on-navy-muted); display: flex; flex-direction: column; gap: 10px; }

/* Worship banner (every page) */
.worship-bar { display: block; background: var(--tint); border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; }
.worship-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; min-height: 46px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.worship-bar .wb-label { font: 700 16px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.worship-bar .wb-times { font-weight: 600; font-size: 16px; color: var(--ink); }
.worship-bar .wb-cta { font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.worship-bar:hover { background: #E7ECF3; color: var(--navy-dark); }
.worship-list { list-style: none; padding: 0; margin: 0; }
.worship-list li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.worship-list li:last-child { border-bottom: 0; }
.worship-list .t { font: 700 22px var(--display); text-transform: uppercase; color: var(--navy); }
.worship-list small { display: block; color: var(--muted); font-size: 15px; }

/* Slim header (mockup style): worship times live in the top bar, Give + tour buttons on the right */
.utility .u-church { font-weight: 500; }
.utility .u-church span[data-cms] { font-weight: 700; }
.site-header .wrap { padding-top: 10px; padding-bottom: 10px; gap: 12px 24px; }
.brand { gap: 12px; }
.brand img { width: 54px; height: 54px; }
.brand-name strong { font-size: 23px; }
.brand-name span { font-size: 12px; letter-spacing: .18em; }
.nav { gap: 2px 16px; }
.nav a { font-size: 16px; padding: 8px 2px; }
.nav-btns { display: inline-flex; gap: 10px; margin-left: 8px; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 17px; }
.nav .btn-line { color: var(--navy); }
.nav .btn-line:hover, .nav .btn-line[aria-current="page"] { background: var(--navy); color: #fff; text-decoration: none; }
@media (max-width: 1180px) {
  .brand img { width: 46px; height: 46px; }
  .brand-name strong { font-size: 20px; }
  .nav.open .nav-btns { margin: 12px 0 0; flex-wrap: wrap; }
  .nav.open .nav-btns .btn { margin-top: 0; padding: 0 20px; }
}
@media (max-width: 560px) { .utility .u-sep { display: block; height: 0; overflow: hidden; } }

/* Worship list: day on top, time underneath */
.worship-list li { grid-template-columns: 120px 1fr; }
.worship-list .t small { display: block; font: 600 16px var(--body); text-transform: none; color: var(--ink); margin-top: 2px; }

/* "Our school offers": four equal cards */
.offers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.offer .checklist { grid-template-columns: 1fr; gap: 10px; }
.offer h3 { padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 4px; }

/* Photos */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; background: var(--tint); }
.prose .photo, .stack > .photo { margin-top: 24px; aspect-ratio: 20 / 13; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-strip.three { grid-template-columns: repeat(3, 1fr); }
.photo-strip .photo { aspect-ratio: 1; }
@media (max-width: 760px) { .photo-strip, .photo-strip.three { grid-template-columns: repeat(2, 1fr); gap: 10px; } .photo-strip.three .photo:last-child { display: none; } }
.awards { display: grid; gap: 18px; }
.awards > div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 14px; }
.awards strong { display: block; font: 700 34px var(--display); color: #fff; }
.awards span { color: var(--on-navy); }

/* ---------- Warm accents (Nov 2026): cream backgrounds + a gold accent alongside the navy.
   Remove this block to go back to the plain navy/white look. ---------- */
:root {
  --tint: #F7F1E5;      /* warm cream for alternate sections */
  --line: #E4DACA;      /* warm hairlines */
  --gold: #C9A23F;      /* decorative accent (rules, borders) */
  --gold-text: #7A5A12; /* gold dark enough for small text on white/cream */
  --gold-light: #E6C978;/* gold for small text on navy */
}

.page-hero, .home-hero { border-bottom: 5px solid var(--gold); }
.site-footer { border-top: 5px solid var(--gold); }
.card { transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--gold); box-shadow: 0 10px 24px -14px rgba(0,25,58,.35); transform: translateY(-2px); }
.bg-tint .card, .bg-tint .form-card, .bg-tint .table-wrap { border-color: var(--line); }
.notice { border-left-color: var(--gold); }
.checklist li::before { border-color: var(--gold); }
.worship-bar { background: var(--tint); }
@media (prefers-reduced-motion: reduce) { a.card:hover { transform: none; } }
/* ---------- Online giving form ---------- */
.donate fieldset.pills { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.donate fieldset.pills legend { font: 600 16px var(--body); color: var(--navy); margin-bottom: 8px; padding: 0; width: 100%; }
.donate .pill { position: relative; flex-direction: row; }
.donate .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.donate .pill span { display: inline-flex; align-items: center; justify-content: center; min-width: 84px; min-height: 48px; padding: 0 18px; border: 1.5px solid #A7B4C6; border-radius: 8px; font: 700 18px var(--body); color: var(--navy); background: #fff; cursor: pointer; }
.donate .pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.donate .pill input:focus-visible + span { outline: 3px solid #4C8BE0; outline-offset: 2px; }
.donate [hidden] { display: none !important; }
.small { font-size: 15px; line-height: 1.5; }
.notice[hidden] { display: none !important; }
.form-card > h3 + [data-donate] { margin-top: 18px; }