/* BNCAC site styles */
:root {
  --navy: #2B2E83;
  --navy-deep: #1B1D5C;
  --ink: #0E1216;
  --blue: #0F70B7;
  --sky: #2DAAE1;
  --sky-hover: #1F97CC;
  --red: #E62D2D;
  --bg: #F0F0F0;
  --panel: #E3E3DC;
  --card: #FFFFFF;
  --text: #0E1216;
  --muted: #5A5E66;
  --line: #D9D9D3;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; color: inherit; font-family: var(--head); font-weight: 700; letter-spacing: -0.035em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Type */
.display {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: .98;
  letter-spacing: -0.06em;
}
.display em, .hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: .06em;
}
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.eyebrow.light { color: rgba(255,255,255,.75); }
.serif-kicker { display: block; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 28px; opacity: .9; }
.lead { font-size: 17px; color: #2b2f36; max-width: 64ch; }

/* Buttons: pills */
.btn, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 44px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 17px; letter-spacing: -0.01em;
  background: var(--sky); color: var(--ink); border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer;
}
.btn:hover, .pill:hover { background: var(--sky-hover); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--ink); color: #fff; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.btn-dark:hover { background: var(--navy); }
.btn-outline { border-color: #fff; color: var(--ink); background: rgba(255,255,255,.5); font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.btn-outline:hover { background: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.pill { min-height: 40px; padding: 0 22px; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; text-transform: uppercase; }
.link-arrow svg { width: 20px; height: 20px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Utility bar + header */
.utility { background: #E3E3E3; font-size: 14px; letter-spacing: .02em; }
.utility .wrap { display: flex; justify-content: center; gap: 26px; height: 44px; align-items: center; overflow-x: auto; white-space: nowrap; }
.utility a { display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--blue); }
.utility svg { width: 16px; height: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(240,240,240,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 26px; letter-spacing: -0.06em; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-toggle { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); display: grid; }
.menu-toggle svg { width: 34px; height: 34px; }

/* Full-screen menu */
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 84px; margin-top: 44px; }
.drawer-close { background: none; border: 0; padding: 6px; cursor: pointer; }
.drawer-close svg { width: 34px; height: 34px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 32px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.menu-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-group li a, .menu-big { display: block; font-family: var(--head); font-weight: 700; letter-spacing: -0.04em; font-size: 26px; line-height: 1.15; padding: 4px 0; }
.menu-big { font-size: 40px; }
.menu-group a:hover, .menu-group a[aria-current="page"] { color: var(--blue); }
.menu-foot { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 48px; gap: 16px; flex-wrap: wrap; }

/* Sections */
main { display: block; }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-tight { padding: 28px 0; }
.section-head { margin-bottom: 40px; }
.section-head .display { margin-bottom: 18px; }

/* Home hero */
.hero { padding-top: 12px; }
.hero-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: min(72vh, 660px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); }
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Muted background video, scaled to cover the card like object-fit */
.hero-video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; container-type: size; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(56.25cqw, 100cqh); transform: translate(-50%, -50%) scale(1.15); border: 0; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,22,.78) 0%, rgba(14,18,22,.35) 55%, rgba(14,18,22,0) 100%); }
.hero-body { position: relative; z-index: 1; padding: clamp(28px, 5.4vw, 64px); max-width: 760px; }
.hero-title { font-size: clamp(40px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.07em; margin-bottom: 16px; max-width: 11ch; }
.hero-body p { font-size: 18px; opacity: .88; max-width: 40ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Event */
.event-card { border-radius: var(--radius); overflow: hidden; background: var(--card); }
.event-card > img { width: 100%; height: auto; }
.event-info { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; padding: clamp(24px, 3vw, 40px); }
.event-info h3 { font-size: 28px; letter-spacing: -0.045em; }
.event-info strong { font-weight: 600; }

/* City-style cards */
.city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.city img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; transition: filter .3s; }
.city:hover img { filter: brightness(1.08) saturate(1.1); }
.city h3 { font-size: 30px; letter-spacing: -0.05em; }

/* Row of photo tiles with overlaid captions */
.head-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.tile-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,18,22,0) 45%, rgba(14,18,22,.82) 100%); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 18px 20px; }
.tile-cap strong { display: block; font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: -0.035em; line-height: 1.1; }
.tile-cap small { display: block; font-size: 13.5px; opacity: .9; margin-top: 5px; line-height: 1.35; }

/* Beige panel / leader */
.panel { background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 56px); }
.panel-title { margin-bottom: 40px; }
.leader { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.leader-text { padding-left: clamp(0px, 4vw, 64px); }
.leader-text h3 { font-size: clamp(28px, 2.8vw, 34px); letter-spacing: -0.045em; margin-bottom: 18px; }
.leader-text p { font-size: 17px; margin-bottom: 32px; }
.leader-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: var(--radius-sm); }

/* Gradient feature */
.glow { position: relative; isolation: isolate; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 520px; display: flex; align-items: center; background: var(--navy-deep); }
.glow > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; }
/* Navy-to-sky wash: solid behind the text, letting the photo glow through on the right */
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 72% 32%, rgba(207,232,246,.38) 0%, rgba(207,232,246,0) 70%),
    linear-gradient(100deg, rgba(27,29,92,.97) 0%, rgba(43,46,131,.9) 32%, rgba(80,90,170,.62) 55%, rgba(45,170,225,.28) 82%, rgba(201,211,255,.2) 100%); }
.glow-body { padding: clamp(28px, 7vw, 96px); max-width: 640px; }
.glow-body .display { margin-bottom: 18px; }
.glow-body p { font-size: 18px; margin-bottom: 36px; opacity: .95; }

/* Gallery squares */
.square-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.square img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; transition: filter .3s; }
.square:hover img { filter: brightness(1.08); }
.square strong { display: block; font-family: var(--head); font-size: 22px; letter-spacing: -0.045em; line-height: 1.1; }
.square .eyebrow { margin-bottom: 4px; }

/* CTA */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta .lead { margin: 0 auto 10px; }
.cta-actions { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.socials { display: flex; gap: 14px; }
.social { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1.5px solid #C9C9C3; transition: background .2s, color .2s, border-color .2s; }
.social:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social svg { width: 20px; height: 20px; }

/* Page hero (interior) */
.page-hero { padding-top: 12px; }
.page-hero-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); }
.page-hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,18,22,.82) 0%, rgba(14,18,22,.25) 60%, rgba(14,18,22,.1) 100%); }
.page-hero-body { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 900px; }
.page-hero-body p { font-size: 18px; opacity: .9; margin-top: 18px; max-width: 58ch; }
.crumbs { font-family: var(--mono); font-size: 12px; text-transform: uppercase; opacity: .8; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { text-decoration: underline; }
.page-hero-body .eyebrow { display: none; }

/* Content */
.card { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 4vw, 56px); }
.prose { font-size: 18px; line-height: 1.7; color: #23272d; }
.prose h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.055em; color: var(--text); margin: 1.4em 0 .6em; }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.photo-card { border-radius: var(--radius); overflow: hidden; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.sticky { position: sticky; top: 100px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }

/* Numbered cards */
.num-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.num-card { background: var(--card); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.num { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .04em; flex: none; }
.num::before { content: "No. "; }
.num-card p { font-size: 18px; line-height: 1.55; color: #23272d; }

/* Beliefs */
.beliefs { border-top: 1px solid var(--line); }
.belief { border-bottom: 1px solid var(--line); }
.belief summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 24px; padding: 28px 0; font-family: var(--head); font-weight: 700; letter-spacing: -0.045em; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; }
.belief summary::-webkit-details-marker { display: none; }
.belief summary .num { font-size: 13px; letter-spacing: .04em; min-width: 64px; font-weight: 400; }
.belief summary .num::before { content: ""; }
.belief summary svg { margin-left: auto; width: 28px; height: 28px; flex: none; align-self: center; transition: transform .2s; }
.belief[open] summary svg { transform: rotate(45deg); }
.belief-body { padding: 0 0 32px 88px; font-size: 18px; line-height: 1.7; color: #23272d; max-width: 900px; }

/* Verses */
.verse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.verse { background: var(--panel); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.verse blockquote { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.35; }
.verse cite { font-style: normal; font-family: var(--mono); font-size: 13px; text-transform: uppercase; color: var(--muted); }

/* Band (mission statements) */
.band { background: var(--panel); color: var(--text); border-radius: var(--radius); margin: 0 auto; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.band .wrap { padding-left: clamp(20px, 5vw, 64px); padding-right: clamp(20px, 5vw, 64px); }
.band p { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 36px) !important; line-height: 1.25 !important; }

/* People */
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.person { display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: var(--radius); margin-bottom: 18px; background: #ddd; }
.person-body { display: flex; flex-direction: column; gap: 8px; }
.person-role { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.person-name { font-size: 28px; letter-spacing: -0.05em; }
.person .link-arrow { margin-top: 6px; }
.bio-photo img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; }

/* Gallery */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; break-inside: avoid; background: #ddd; }
.gallery img { width: 100%; height: auto; transition: filter .3s; }
.gallery a:hover img { filter: brightness(1.1); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(14,18,22,.95); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; object-fit: contain; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 24px; color: rgba(255,255,255,.75); font-family: var(--mono); font-size: 13px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.contact-card h3 { font-size: 34px; letter-spacing: -0.05em; }
.contact-card p { color: #2b2f36; font-size: 17px; margin-bottom: 10px; }

/* Footer */
.site-footer { background: var(--panel); margin-top: clamp(24px, 4vw, 48px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 96px 0 72px; }
.site-footer h4 { font-family: var(--sans); font-weight: 400; font-size: 16px; letter-spacing: 0; color: var(--muted); margin-bottom: 18px; }
.footer-lead { font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: -0.04em; line-height: 1.25; max-width: 24ch; margin-bottom: 26px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: block; font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; line-height: 1.2; padding: 5px 0; }
.site-footer li a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); padding-bottom: 40px; text-align: center; }
.footer-tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.site-footer .social { border-color: transparent; color: var(--muted); }
.site-footer .social:hover { color: #fff; background: var(--navy); }
.wordmark { font-family: var(--head); font-weight: 700; color: #fff; font-size: 34vw; line-height: .78; letter-spacing: -0.085em; text-align: center; margin-bottom: -0.2em; user-select: none; white-space: nowrap; }

/* Responsive */
@media (max-width: 1024px) {
  .split, .content-grid, .leader { grid-template-columns: 1fr; }
  .leader-text { padding-left: 0; }
  .city-grid, .people-grid, .verse-grid { grid-template-columns: 1fr 1fr; }
  .tile-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .square-grid { grid-template-columns: 1fr 1fr; }
  .event-info { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .sticky { position: static; }
}
@media (max-width: 680px) {
  .utility .wrap { justify-content: flex-start; gap: 20px; }
  .header-inner { height: 68px; }
  .header-actions .pill { display: none; }
  .drawer-head { height: 68px; }
  .hero-card { min-height: 600px; }
  .glow::before { background: linear-gradient(0deg, rgba(27,29,92,.96) 0%, rgba(43,46,131,.85) 55%, rgba(45,170,225,.3) 100%); }
  .hero-card::after { background: linear-gradient(0deg, rgba(14,18,22,.85) 0%, rgba(14,18,22,.4) 60%, rgba(14,18,22,.15) 100%); }
  .city-grid, .people-grid, .verse-grid, .num-grid, .contact-grid, .event-info { grid-template-columns: 1fr; }
  .tile-row { grid-template-columns: 1fr; }
  .square-grid { gap: 16px; }
  .page-hero-card { min-height: 340px; }
  .belief summary { gap: 14px; }
  .belief summary .num { min-width: 32px; }
  .belief-body { padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; padding-top: 64px; }
  .menu-big { font-size: 32px; }
  .btn { padding: 0 32px; }
}
