/* Layout: sticky nav, tall typographic hero, alternating full-bleed bands, centered 72rem column */
:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --ink: #0e1116;
  --muted: #5b6573;
  --line: #d9dfe6;
  --blue: #4a8fd6;
  --blue-deep: #1f5f9e;
  --blue-wash: #dde9f7;
  --blue-band: #2a6fb8;
  --on-blue: #ffffff;
  --band: #0e1116;
  --band-ink: #eef2f6;
  --band-muted: #9aa6b3;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1015; --surface: #151a21; --ink: #e9eef3; --muted: #9aa6b3; --line: #262e38;
    --blue: #6aa8ec; --blue-deep: #8fc0f2; --blue-wash: #142336; --blue-band: #1d5a9a; --on-blue: #ffffff;
    --band: #050608; --band-ink: #eef2f6; --band-muted: #8a95a2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1015; --surface: #151a21; --ink: #e9eef3; --muted: #9aa6b3; --line: #262e38;
  --blue: #6aa8ec; --blue-deep: #8fc0f2; --blue-wash: #142336; --blue-band: #1d5a9a; --on-blue: #ffffff;
  --band: #050608; --band-ink: #eef2f6; --band-muted: #8a95a2;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 72rem; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; line-height: 1.1; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 1rem; }
section { padding-block: clamp(4rem, 9vw, 7rem); scroll-margin-top: 4rem; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; flex-wrap: wrap; padding-block: .5rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: radial-gradient(circle at 50% 38%, var(--blue) 0 34%, transparent 35%), var(--ink); flex: none; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; padding: 0; font-size: .9rem; font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover { color: var(--ink); }
.nav .cta { color: var(--ink); border-bottom: 2px solid var(--blue); }
.nav ul li { display: flex; align-items: center; }
.nav .page-link { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.nav .page-link:hover, .nav .page-link[aria-current="page"] { border-color: var(--blue); }
.nav .page-link svg { width: .8em; height: .8em; }
.ig { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.ig svg { width: 1.15rem; height: 1.15rem; flex: none; }
.nav .ig { color: var(--muted); }
.nav .ig:hover { color: var(--ink); }

/* Hero */
.hero { padding-block: clamp(4rem, 12vw, 9rem) clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: min(60rem, 120vw); aspect-ratio: 1; max-width: none; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 30%, transparent) 0, transparent 60%); z-index: -1; pointer-events: none; }
.hero-title { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; font-size: clamp(3.4rem, 11vw, 8.5rem); letter-spacing: -.02em; line-height: .95; }
.hero-title em { color: var(--blue-deep); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-top: clamp(2rem, 5vw, 3.5rem); }
.mission { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.45; max-width: 40ch; margin: 0; min-width: 0; }
.verse { border-left: 2px solid var(--blue); padding-left: 1.25rem; margin: 0; min-width: 0; }
.verse p { font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1.45; margin: 0 0 .5rem; }
.verse cite { font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero .eyebrow span { display: block; }
.hero .eyebrow { font-family: var(--body); font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: .14em; line-height: 1.4; margin-bottom: 1.25rem; }
.place { margin-top: 2.5rem; font-size: .9rem; color: var(--muted); }

/* About band */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--blue); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); }
.about-grid h2 em { color: var(--blue); font-style: italic; }
.about-grid h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.about-grid p { color: var(--band-muted); margin: 0 0 1.1rem; max-width: 60ch; }
.about-grid p strong { color: var(--band-ink); font-weight: 600; }

/* Values */
.head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.head p { color: var(--muted); max-width: 40ch; margin: 0; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.value:nth-child(odd) { border-right: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 2rem; }
.value h3 { font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-top: .35rem; }
.value p { margin: 0; color: var(--muted); }
.value .ref { display: block; margin-top: .6rem; font-size: .8rem; color: var(--blue-deep); font-weight: 500; }

/* Schedule */
.schedule-sec { background: var(--blue-band); color: var(--on-blue); }
.schedule-sec .eyebrow { color: color-mix(in srgb, var(--on-blue) 75%, transparent); }
.sched { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.sched h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.when p { margin: 0; }
.when .day { font-family: var(--display); font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; }
.when .time { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: .5rem; }
.when .open { margin-top: 1.5rem; font-weight: 500; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: var(--on-blue); color: var(--blue-band); }
.where { font-style: normal; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--on-blue) 30%, transparent); font-size: 1.15rem; line-height: 1.5; display: grid; gap: .15rem; }
.where-label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--on-blue) 75%, transparent); }
.where-hint { font-size: .95rem; color: color-mix(in srgb, var(--on-blue) 80%, transparent); }
.note { margin-top: .5rem; font-size: .9rem; color: color-mix(in srgb, var(--on-blue) 75%, transparent); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.pillar { border-top: 4px solid var(--blue); padding-top: 1.5rem; }
.pillar h3 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin: 0 0 1rem; }
.pillar h3 span { display: block; font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-top: .5rem; }
.pillar p { color: var(--muted); margin: 0 0 1rem; }
.pillar blockquote { margin: 0; color: var(--blue-deep); font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1.45; }
.pillar blockquote cite { display: block; margin-top: .5rem; font-family: var(--body); font-style: normal; font-size: .8rem; color: var(--muted); letter-spacing: .08em; }

/* Signup */
.signup { background: radial-gradient(ellipse 70% 120% at 100% 100%, color-mix(in srgb, var(--blue) 35%, transparent), transparent 70%), var(--band); }
.signup .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.signup h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.signup p { color: var(--band-muted); margin: 1rem 0 0; max-width: 44ch; }
form { display: grid; gap: .75rem; min-width: 0; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; }
.row > * { flex: 1 1 12rem; min-width: 0; }
label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--band-muted); display: grid; gap: .35rem; }
input { font: inherit; font-size: 1rem; padding: .85rem 1rem; border-radius: 4px; border: 1px solid #2e3743; background: #161b22; color: var(--band-ink); width: 100%; }
input::placeholder { color: #6b7684; }
button { font: inherit; font-weight: 600; padding: .9rem 1.4rem; border: 0; border-radius: 4px; background: var(--blue); color: #0e1116; cursor: pointer; justify-self: start; }
button:hover { filter: brightness(1.08); }
.msg { min-height: 1.5rem; font-size: .9rem; color: var(--blue); margin: 0; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.contact-intro > p { color: var(--muted); margin: 1rem 0 0; max-width: 40ch; }
.contact label { color: var(--muted); }
.contact input, .contact textarea { font: inherit; font-size: 1rem; padding: .85rem 1rem; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.contact textarea { min-height: 9rem; resize: vertical; }
.contact input::placeholder, .contact textarea::placeholder { color: var(--muted); opacity: .7; }
.contact .msg { color: var(--blue-deep); }
.contact-call { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.contact-call a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--blue); }
.contact-call a:hover { color: var(--blue-deep); }

footer { background: var(--band); color: var(--band-muted); border-top: 1px solid #222a33; font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.75rem; }
footer a { color: var(--band-ink); text-decoration: none; }
footer a:hover { color: var(--blue); }
footer .contact-links { display: flex; gap: .4rem 1.25rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 760px) {
  .hero-grid, .about-grid, .signup .wrap, .sched, .contact .wrap { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value, .value:nth-child(even) { padding: 1.5rem 0; border-right: 0; grid-template-columns: 1fr; gap: .5rem; }
  .pillars { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav ul { gap: .25rem 1rem; font-size: .85rem; }
}
