/* Jesus Baptist Chicago Church — www.jbchusa-chi.org
   Palette: a light page of white and warm, gold-derived paper. Navy carries the
   type, the heavy rules, the seal behind the logo, and one dark anchor: the footer.
   Gold is a fine accent: --gold for hairlines and on navy, --gold-dark for
   text-sized marks on light grounds. --blue is reserved for focus rings and hovers. */
:root {
  --navy: #071840;
  --navy-deep: #040c24;
  --blue: #1a5dc8;
  --gold: #c9a84c;
  --gold-dark: #806626;                 /* gold for text-sized marks on white/paper (AA) */
  --paper: #f8f5ee;                     /* warm off-white, a whisper of the gold */
  --ink: #171a22;                       /* near-black body text */
  --soft: #5b574e;                      /* warm stone, secondary text (AA on white + paper) */
  --rule: #e2dccf;                      /* warm hairline */
  --rule-strong: #cfc7b6;
  --nav-soft: #3d4866;                  /* muted navy for resting nav links (AA on paper/white) */
  --rule-dark: rgba(255, 255, 255, .14);
  --on-dark: rgba(255, 255, 255, .82);
  --on-dark-soft: rgba(255, 255, 255, .68);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1); /* gentle, unhurried */
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: .2em; }
::selection { background: rgba(201, 168, 76, .32); color: inherit; }
h1, h2, h3, p, dl, dd, figure, address, blockquote { margin: 0; }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.foot :focus-visible { outline-color: var(--gold); }

/* The logo is a blue globe with a white dove: it is always set in a navy seal
   with a fine gold ring so it reads on light grounds as well as dark. */
.seal {
  /* size set by --s; padding derives from it (a % padding would follow the parent's width) */
  width: var(--s, 40px); max-width: none; aspect-ratio: 1; height: auto; object-fit: contain; border-radius: 50%;
  padding: calc(var(--s, 40px) * .15);
  background: radial-gradient(circle at 50% 38%, #12347a 0%, var(--navy) 68%);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px var(--seal-gap, #fff), 0 0 0 5px rgba(201, 168, 76, .55);
}

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- shared type ---------- */
.label {                                /* letterspaced small-caps label */
  font-family: var(--sans); font-size: .74rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark);
}
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.08; letter-spacing: -.005em;
  color: var(--navy); text-wrap: balance;
}
.section { padding-block: clamp(80px, 10vw, 140px); }

/* Ruled section header: roman numeral · label · hairline */
.sec-head {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.sec-num { font-family: var(--serif); font-size: 1.15rem; line-height: 1; color: var(--gold-dark); min-width: 1.6em; }
.sec-label { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.sec-head::after { content: ""; flex: 1; height: 1px; background: var(--rule); transform-origin: 0 50%; }

/* Text link with arrow — the site's only call-to-action style */
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.text-link span { display: inline-block; transition: transform .6s var(--ease); }
.text-link:hover { color: var(--blue); border-bottom-color: currentColor; }
.text-link:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: var(--navy);
  transition: background-color .8s var(--ease), height .8s var(--ease), box-shadow .8s var(--ease);
}
.nav.is-scrolled {
  --nav-h: 64px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 var(--rule);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
}
.nav.menu-open { background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; opacity: 0; transition: opacity .8s var(--ease); }
.nav.is-scrolled .brand, .nav.menu-open .brand, .brand:focus-visible, html:not(.js) .brand { opacity: 1; }
.brand img { --s: 36px; --seal-gap: #fff; box-shadow: 0 0 0 1px var(--gold); }
.brand-name { font-family: var(--serif); font-size: 1.12rem; line-height: 1.1; letter-spacing: .01em; }

.menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.menu a {
  position: relative; color: var(--nav-soft); text-decoration: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding-block: 8px; transition: color .5s var(--ease);
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease);
}
.menu a:hover, .menu a.is-active { color: var(--navy); }
.menu a:hover::after, .menu a.is-active::after { transform: scaleX(1); }

/* reading progress: a single gold hairline along the header's lower edge */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease); }
.nav.is-scrolled .progress { opacity: 1; }
.progress span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.menu-btn { display: none; }
/* No-JS: header never gets .is-scrolled, so give it its solid ground up front */
html:not(.js) .nav { background: #fff; box-shadow: 0 1px 0 var(--rule); }

@media (max-width: 820px) {
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1px solid rgba(7, 24, 64, .55); color: var(--navy);
    border-radius: 2px; padding: 8px 14px; cursor: pointer; position: relative; z-index: 2;
  }
  .menu-lines { width: 16px; height: 8px; position: relative; }
  .menu-lines i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
  .menu-lines i:first-child { top: 0; }
  .menu-lines i:last-child { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-lines i:first-child { top: 3.5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines i:last-child { top: 3.5px; transform: rotate(-45deg); }
  .menu-label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

  .js .menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 0; padding: 96px var(--gutter) 48px; background: var(--paper);
    visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s .6s;
  }
  .js .menu.is-open { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
  .js .menu a {
    width: 100%; padding-block: 18px; border-bottom: 1px solid var(--rule-strong);
    font-family: var(--serif); font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--navy);
    opacity: 0; transform: translateY(10px); transition: transform .9s var(--ease), opacity .9s var(--ease);
  }
  .js .menu a::after { display: none; }
  .js .menu a:first-child { border-top: 2px solid var(--navy); }
  .js .menu.is-open a { transform: none; opacity: 1; }
  .js .menu.is-open a:nth-child(2) { transition-delay: .08s; }
  .js .menu.is-open a:nth-child(3) { transition-delay: .16s; }

  /* No-JS fallback: links wrap under the brand */
  html:not(.js) .nav { position: relative; height: auto; padding-block: 14px; }
  html:not(.js) .nav-inner { flex-wrap: wrap; }
  html:not(.js) .menu { flex-wrap: wrap; gap: 4px 22px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(max(680px, 100svh), 1000px);
  display: flex; flex-direction: column;
  color: var(--navy); text-align: center;
  background:
    radial-gradient(58% 52% at 50% 38%, #fffefb 0%, rgba(255, 254, 251, 0) 72%),
    linear-gradient(180deg, #fbf9f4 0%, var(--paper) 100%);
}
.hero::before { /* slow, quiet breathing of light behind the emblem */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(36% 32% at 50% 38%, rgba(201, 168, 76, .14), transparent 72%);
  animation: breathe 16s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .35; } to { opacity: 1; } }

.halo {
  position: absolute; left: 50%; top: 38%; z-index: -1;
  width: min(1100px, 150vw); height: auto; aspect-ratio: 1; transform: translate(-50%, -50%);
  pointer-events: none;
}
.halo circle { fill: none; stroke-width: 1; }
.halo circle:nth-child(odd) { stroke: var(--gold); opacity: .5; }
.halo circle:nth-child(even) { stroke: var(--navy); opacity: .11; }
.js .halo circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4.5s var(--ease) forwards; }
.js .halo circle:nth-child(1) { animation-delay: .2s; }
.js .halo circle:nth-child(2) { animation-delay: .6s; }
.js .halo circle:nth-child(3) { animation-delay: 1s; }
.js .halo circle:nth-child(4) { animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-block: calc(var(--nav-h) + 24px) clamp(48px, 8vh, 96px);
}
.hero-mark { --s: clamp(92px, 8.4vw, 112px); margin-bottom: clamp(30px, 4.8vh, 48px); --seal-gap: #fdfbf6; }
.hero-place { font-size: .74rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 22px; padding-left: .32em; }
.hero-title {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.3rem, 6.6vw, 5.8rem); line-height: 1.04; letter-spacing: .05em;
  padding-left: .05em; color: var(--navy);
}
.hero-title span { display: block; }
.hero-rule { position: relative; display: block; width: clamp(140px, 18vw, 220px); height: 1px; margin: clamp(26px, 4vh, 40px) auto; background: var(--gold); }
.hero-rule i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--paper); border: 1px solid var(--gold-dark); transform: rotate(45deg); }
.hero-motto { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.1vw, 1.65rem); color: var(--navy); }

.js .load { opacity: 0; transform: translateY(12px); animation: fade-up 1.6s var(--ease) var(--d, 0s) forwards; }
.js .hero-rule { transform: scaleX(0); animation: rule-in 1.8s var(--ease) .95s forwards; }
.js .hero-rule i { opacity: 0; animation: fade 1.2s var(--ease) 1.9s forwards; }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes rule-in { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- seminar banner (slim, inside hero) ---------- */
.seminar {  /* white strip under a double rule (heavy navy, fine gold) so it stands apart from the paper hero */
  position: relative; background: #fff; color: var(--ink); text-align: left;
  border-top: 3px solid var(--navy); box-shadow: inset 0 3px 0 #fff, inset 0 4px 0 var(--gold);
  border-bottom: 1px solid var(--rule);
}
.seminar-row {
  display: grid; align-items: baseline; gap: 4px 28px;
  grid-template-columns: auto auto 1fr auto;
  padding-block: 24px 22px;
}
.seminar-tag { display: inline-flex; align-items: center; gap: 12px; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
.seminar-tag::before { content: ""; width: 6px; height: 6px; flex: none; border: 1px solid var(--gold-dark); transform: rotate(45deg) translateY(-1px); }
.seminar-date { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--navy); }
.seminar-meta { font-size: .9rem; color: var(--ink); }
.seminar-link { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .5s var(--ease); }
.seminar-link span { display: inline-block; margin-left: 6px; transition: transform .6s var(--ease); }
.seminar-link:hover { color: var(--blue); }
.seminar-link:hover span { transform: translateX(4px); }
.seminar-link { grid-column: 4; grid-row: 1; justify-self: end; }
.seminar-rooms { grid-column: 3 / 4; grid-row: 2; font-size: .82rem; color: var(--soft); }

/* ---------- reveals (only when JS confirmed) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); transition-delay: var(--stagger, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .sec-head.reveal::after { transform: scaleX(0); transition: transform 2s var(--ease) .3s; }
.js .sec-head.reveal.is-in::after { transform: scaleX(1); }

/* ---------- about (white, with the mission set as a ruled paper panel) ---------- */
.about { background: #fff; }
.about .h2 { margin-bottom: 28px; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.about-text > p { font-size: clamp(1.05rem, 1.3vw, 1.15rem); max-width: 34em; }
.about-facts { margin-top: 36px; max-width: 34em; }
.about-facts > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.about-facts > div:last-child { border-bottom: 1px solid var(--rule); }
.about-facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); padding-top: .3em; }
.about-facts dd { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }

/* photo plates — square frames, restrained captions; real photos drop straight in */
.frame { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #ece6d8; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.plate figcaption::before { content: ""; width: 24px; height: 1px; background: var(--gold); flex: none; }
.about-photo { padding: 10px; border: 1px solid var(--rule); background: #fff; }
.about-photo figcaption { margin: 12px 2px 2px; }

.mission {
  display: grid; grid-template-columns: minmax(150px, .28fr) 1fr; gap: 20px clamp(32px, 6vw, 96px);
  margin-top: clamp(80px, 10vw, 132px);
  padding: clamp(56px, 7vw, 100px) clamp(24px, 5.5vw, 80px) clamp(60px, 7.5vw, 108px);
  position: relative; color: var(--ink); background: var(--paper);
  /* heavy navy rule, a white gap, then a fine gold line: the same double rule as the seminar strip */
  border-top: 3px solid var(--navy); box-shadow: inset 0 3px 0 #fff, inset 0 4px 0 var(--gold);
  border-bottom: 1px solid var(--rule);
}
.mission .label { color: var(--gold-dark); display: flex; align-items: center; gap: 12px; align-self: start; }
.mission .label::before { content: ""; width: 24px; height: 1px; background: var(--gold-dark); flex: none; }
.mission-label { padding-top: .9em; }
.mission-text p { font-family: var(--serif); font-size: clamp(1.6rem, 2.9vw, 2.55rem); line-height: 1.22; color: var(--navy); text-wrap: pretty; }
.mission-text .mission-coda { margin-top: 26px; font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: var(--gold-dark); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 104px); }
.pillar { padding: 32px clamp(16px, 3vw, 40px) 0 0; }
.pillar + .pillar { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--rule); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.15; color: var(--navy); margin-bottom: 10px; }
.pillar h3::before { content: ""; display: block; width: 6px; height: 6px; margin-bottom: 18px; border: 1px solid var(--gold-dark); transform: rotate(45deg); }
.pillar p { max-width: 22em; color: var(--soft); }

.verse { margin: clamp(80px, 10vw, 132px) auto 0; max-width: 44em; text-align: center; }
.verse p { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; color: var(--navy); text-wrap: balance; }
.verse figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); }
.verse figcaption::before, .verse figcaption::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- worship & ministries (warm paper) ---------- */
.worship { background: var(--paper); border-top: 1px solid var(--rule); }
.worship-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.schedule .h2 { margin-bottom: 32px; }

/* booktabs-style table: heavy top & bottom rules, hairlines between */
.times { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.times th, .times td { padding: 14px 0; text-align: left; vertical-align: baseline; font-weight: 400; }
.times tbody + tbody .t-day th { border-top: 1px solid var(--rule-strong); }
.times .t-day th { padding: 22px 0 6px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.times tr:not(.t-day) { border-top: 1px solid var(--rule-strong); }
.times .t-day + tr { border-top: 0; }
.times tr:not(.t-day) th { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.25; color: var(--navy); padding-right: 16px; }
.times th span { display: block; font-family: var(--sans); font-size: .82rem; color: var(--soft); margin-top: 2px; }
.times td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ink); }
.times tbody:last-child tr:last-child > * { padding-bottom: 18px; }
.times .is-main th { font-size: clamp(1.35rem, 2.1vw, 1.65rem); }
.times .is-main td { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 2.1vw, 1.65rem); color: var(--navy); }

.ministries { padding-top: clamp(0px, 1vw, 12px); }
.ministries > .label { padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.min-list > div { padding: 22px 0; border-bottom: 1px solid var(--rule-strong); }
.min-list dt { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; color: var(--navy); margin-bottom: 6px; }
.min-list dd { color: var(--soft); font-size: 1rem; }

.plates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(72px, 9vw, 120px); }

/* ---------- visit ---------- */
.visit { background: #fff; border-top: 1px solid var(--rule); }
.visit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.visit .h2 { margin-bottom: 32px; }
.visit-addr { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.25; color: var(--navy); margin-bottom: 28px; }
.visit-contact { margin-top: 44px; }
.visit-contact > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.visit-contact > div:last-child { border-bottom: 1px solid var(--rule); }
.visit-contact dt { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); padding-top: .25em; }
.visit-contact dd { font-weight: 500; overflow-wrap: anywhere; }
.visit-contact a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--ease), color .5s var(--ease); }
.visit-contact a:hover { color: var(--navy); background-size: 100% 1px; }
.map { position: relative; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--rule); }
.map iframe { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border: 0; filter: saturate(.8); }

/* ---------- footer ---------- */
.foot { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--on-dark); padding-top: clamp(64px, 8vw, 104px); font-size: .95rem; border-top: 1px solid var(--gold); }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 48px clamp(40px, 7vw, 120px); padding-bottom: 64px; }
.foot-brand img { --s: 72px; margin-bottom: 26px; --seal-gap: var(--navy); }
.foot-name { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; color: #fff; max-width: 10em; }
.org-title { color: var(--gold); margin-bottom: 16px; }
.org dl > div { display: grid; grid-template-columns: minmax(150px, .9fr) 1.3fr; gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--rule-dark); }
.org dl > div:last-child { border-bottom: 1px solid var(--rule-dark); }
.org dt { color: var(--on-dark-soft); font-size: .88rem; }
.org dd { color: #fff; overflow-wrap: anywhere; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; padding-block: 22px 30px; border-top: 1px solid var(--rule-dark); font-size: .8rem; letter-spacing: .04em; color: var(--on-dark-soft); }
.legal a { color: var(--gold); text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.legal a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .seminar-row { grid-template-columns: auto 1fr; }
  .seminar-meta, .seminar-rooms { grid-column: 1 / -1; grid-row: auto; }
  .seminar-link { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 12px; }
}
@media (max-width: 900px) {
  .about-grid, .worship-grid, .visit-grid, .foot-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 560px; }
  .mission { grid-template-columns: 1fr; }
  .mission-label { padding-top: 0; }
}
@media (max-width: 640px) {
  .brand-name { font-size: 1rem; }
  .hero-title { letter-spacing: .03em; }
  .seminar-row { grid-template-columns: 1fr; gap: 4px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 32px; }
  .plates { grid-template-columns: 1fr; }
  .about-facts > div, .visit-contact > div, .org dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero::before { animation: none; opacity: .7; }
}
