@font-face { font-family: "League Spartan"; src: url(/fonts/league-spartan.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/source-serif-4.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/source-serif-4-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
:root {
  --blue: #4A66EE;        /* logo royal blue, a touch deeper for readable text */
  --blue-bright: #5170FF; /* exact logo blue, for large shapes */
  --navy: #0B1E4A;        /* "Doubters Welcome" script */
  --navy-deep: #07132F;
  --sky: #EEF2FF;
  --sky-2: #DDE5FF;
  --ink: #1A2233;
  --muted: #566078;
  --line: #E3E7F0;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 30, 74, .12);
  --head: "League Spartan", "Futura", "Avenir Next", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 19px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.12; letter-spacing: -.01em; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: 1.75rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy); color: #C9D4FF; font-family: var(--head); font-size: 14px; letter-spacing: .02em; }
.topbar .wrap { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .tb-right { display: flex; gap: 18px; }
.banner { background: var(--blue-bright); color: #fff; text-align: center; font-family: var(--head); font-weight: 600; font-size: 16px; padding: 10px 16px; }
.banner a { color: #fff; }
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.brand img { height: 62px; width: auto; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
nav.main li { position: relative; }
nav.main a { display: block; font-family: var(--head); font-weight: 600; font-size: 16px; color: var(--navy); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--sky); color: var(--blue); }
nav.main a.give { background: var(--blue); color: #fff; margin-left: 6px; padding: 10px 18px; }
nav.main a.give:hover { background: var(--navy); color: #fff; }
nav.main .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 250px; flex-direction: column; align-items: stretch; }
nav.main li:hover > .sub, nav.main li:focus-within > .sub { display: flex; }
nav.main .sub a { font-weight: 500; }
.ext::after { content: " ↗"; font-size: .8em; opacity: .7; }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  header.site .wrap { min-height: 72px; }
  .brand img { height: 50px; }
  .menu-toggle { display: block; }
  .menu-toggle summary { list-style: none; cursor: pointer; font-family: var(--head); font-weight: 700; color: var(--navy); border: 2px solid var(--navy); border-radius: 10px; padding: 8px 14px; font-size: 16px; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  nav.main.desktop { display: none; }
  .menu-toggle nav.main { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 20px 20px; }
  .menu-toggle nav.main ul { flex-direction: column; align-items: stretch; }
  .menu-toggle nav.main .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .menu-toggle nav.main a { font-size: 18px; padding: 12px; }
  nav.main a.give { margin: 8px 0 0; text-align: center; }
  .topbar .tb-left { display: none; }
}
@media (min-width: 1021px) { .menu-toggle { display: none !important; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 17px; padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--sky); color: var(--navy); }
.btn.ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn.outline { border-color: var(--blue); color: var(--blue); }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; color: #fff; background: var(--navy) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(7,19,47,.94) 0%, rgba(7,19,47,.8) 38%, rgba(7,19,47,.2) 66%, rgba(7,19,47,0) 82%); }
.hero-text { margin-left: auto; max-width: 540px; }
.hero .wrap { position: relative; width: 100%; padding-top: 70px; padding-bottom: 130px; }
.hero .kicker { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: #AFC0FF; font-weight: 600; }
.hero h1 { color: #fff; font-size: clamp(3rem, 7vw, 5rem); margin: .2em 0 .3em; letter-spacing: -.025em; line-height: 1; }
.hero p { font-size: 1.2rem; color: #E6EBFF; margin: 0 0 1.6em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.worship-card { position: relative; z-index: 2; margin-top: -86px; }
.worship-card .card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr 2fr; overflow: hidden; }
.worship-card .when { background: var(--blue-bright); color: #fff; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.worship-card .when .lbl { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; opacity: .85; font-weight: 600; }
.worship-card .when { gap: 14px; }
.worship-card .when .big { font-family: var(--head); font-weight: 800; font-size: 1.9rem; line-height: 1.05; }
.worship-card .when .what { font-size: 17px; line-height: 1.35; margin-top: 4px; }
.worship-card .when .svc + .svc { border-top: 1px solid rgba(255,255,255,.3); padding-top: 14px; }
.worship-card .when .addr { font-size: 15px; opacity: .85; }
.worship-card dl { margin: 0; padding: 24px 32px; display: grid; gap: 14px; align-content: center; }
.worship-card dl div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.worship-card dl div:last-of-type { border-bottom: 0; padding-bottom: 0; }
.worship-card dt { font-family: var(--head); font-weight: 700; color: var(--navy); }
.worship-card dd { margin: 0; color: var(--muted); font-size: 17px; }
.worship-card .note { grid-column: 1 / -1; font-size: 16px; color: var(--muted); font-style: italic; }

/* ---------- sections ---------- */
section.block { padding: 84px 0; }
section.tint { background: var(--sky); }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--blue); }
.mission { text-align: center; }
.mission blockquote { margin: 14px auto 0; max-width: 900px; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; color: var(--navy); font-style: italic; font-weight: 400; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-top: .3em; font-size: 2.2rem; }
.split .photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tile svg { width: 34px; height: 34px; color: var(--blue); margin-bottom: 8px; }
.tile strong { font-family: var(--head); font-size: 1.2rem; color: var(--navy); }
.tile span { color: var(--muted); font-size: 16px; line-height: 1.45; }

.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 26px; }
.news article { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.news article img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.news .nb { padding: 22px 24px; }
.news time { font-family: var(--head); font-size: 14px; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.news h3 { margin: 6px 0 8px; }
.news .nb > div { font-size: 17px; color: var(--ink); }
.news .nb > div p { margin: .4em 0; }

.visit { background: var(--navy); color: #DCE3FF; }
.visit h2 { color: #fff; margin-top: .2em; }
.visit .split { align-items: stretch; }
.visit .eyebrow { color: #AFC0FF; }
.visit a { color: #fff; }
.visit .map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--radius); }
.contact-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: #AFC0FF; }

/* ---------- interior pages ---------- */
.page-head { background: var(--sky); padding: 56px 0 44px; border-bottom: 1px solid var(--sky-2); }
.page-head h1 { margin: .15em 0 .2em; }
.page-head p { margin: 0; color: var(--muted); font-size: 1.15rem; max-width: 40em; }
.crumbs { font-family: var(--head); font-size: 14px; font-weight: 600; }
.crumbs a { text-decoration: none; }
.content { padding: 48px 0 90px; }
.prose { max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose blockquote { border-left: 4px solid var(--blue-bright); margin: 1.4em 0; padding: .2em 0 .2em 1.2em; color: var(--navy); font-style: italic; }
.prose img { border-radius: 10px; margin: 1.2em 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.with-photo { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.with-photo .side img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.children { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.children a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--ink); background: #fff; }
.children a:hover { border-color: var(--blue); }
.children strong { display: block; font-family: var(--head); color: var(--navy); font-size: 1.12rem; }
.children span { color: var(--muted); font-size: 16px; }
.embed { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.embed iframe { display: block; width: 100%; border: 0; }
.cal-month { height: 720px; }
.cal-agenda { height: 640px; display: none !important; }
@media (max-width: 760px) { .cal-month { display: none !important; } .cal-agenda { display: block !important; } }
.give-box { display: flex; gap: 32px; align-items: center; background: var(--sky); border-radius: var(--radius); padding: 30px; margin-top: 30px; flex-wrap: wrap; }
.give-box .qr { background: #fff; padding: 12px; border-radius: 10px; width: 164px; height: 164px; }
.give-box .qr img, .give-box .qr svg { width: 140px; height: 140px; }
.give-box p { margin: 0 0 14px; }

/* ---------- footer ---------- */
footer.site { background: var(--navy-deep); color: #B9C5EA; padding: 64px 0 30px; font-size: 16px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer.site img { height: 70px; width: auto; margin-bottom: 14px; }
footer.site h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { text-decoration: underline; color: #fff; }
footer.site .base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split, .with-photo { grid-template-columns: 1fr; gap: 36px; }
  .with-photo .side { max-width: 380px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .cols > :first-child { grid-column: 1 / -1; }
  .worship-card .card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .wrap { padding: 0 16px; }
  .hero { min-height: 560px; background-position: 30% center; }
  .hero-text { margin-left: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(7,19,47,.55) 0%, rgba(7,19,47,.88) 70%); }
  .hero .wrap { padding-top: 48px; padding-bottom: 120px; }
  .worship-card dl { padding: 20px; }
  .worship-card dl div { grid-template-columns: 1fr; gap: 2px; }
  .worship-card .when { padding: 24px 20px; }
  section.block { padding: 60px 0; }
  .tiles { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .topbar .tb-right { gap: 12px; font-size: 13px; }
}
