/* TAC Rehoboth — site styles
   Design idea: "Rehoboth" means "room". Generous space, and one recurring
   shape — the open arch — used for image frames and page headers. */

:root {
  /* Colours taken from the church logo: red "a" and navy globe */
  --night: #0A1260;
  --blue: #1C2A9E;
  --blue-soft: #3140B8;
  --mist: #EDEFF9;
  --paper: #FCFCFA;
  --white: #FFFFFF;
  --red: #D4121C;
  --red-logo: #E8192A;
  --red-dark: #A80E16;
  --red-light: #FF8C92;
  --ink: #161B3A;
  --muted: #525A7A;
  --line: #D5D9EC;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--red-logo); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--night { background: var(--night); color: var(--paper); }
.section--night .lede { color: #C3C8E6; }
.section--night a:not(.btn) { color: var(--red-light); }
.measure { max-width: 40em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholders the church must fill in before launch */
mark.todo {
  background: #FFF1BF;
  color: var(--night);
  border-bottom: 2px dashed #B8860B;
  padding: 0 0.25em;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 600 1rem/1 var(--sans);
  padding: 0.95em 1.4em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--gold { background: var(--red); color: var(--white); }
.btn--gold:hover { background: var(--red-dark); color: var(--white); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: rgba(255,255,255,.08); color: inherit; }
.section:not(.section--night) .btn--line:hover,
.page-body .btn--line:hover { background: var(--mist); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--night); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--night); }
.brand-logo { flex: none; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--white); display: block; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.65) translate(1%, 3%); }
.brand-name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; display: block; }
.brand-sub { font-size: .9rem; color: var(--red); font-weight: 600; display: block; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: 10px 12px; border-radius: 6px;
}
.nav a:hover { background: var(--mist); color: var(--night); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--red-logo); border-radius: 0; }
.nav .btn { margin-left: 10px; padding: .8em 1.15em; }
.nav .btn:hover { background: var(--red-dark); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 12px; font: 600 .95rem var(--sans); color: var(--night); cursor: pointer;
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red-logo); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; }
}

/* ---------- Arch frame (signature shape) ---------- */
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background-color: var(--blue);
  background-image:
    var(--photo, none),
    radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(180deg, var(--blue-soft), var(--night));
  background-size: cover, auto, auto;
  background-position: center;
}
.arch--hero { --photo: url("/images/hero.jpg"); }
.arch--welcome { --photo: url("/images/welcome.jpg"); }
.arch--story { --photo: url("/images/story.jpg"); }
.arch--event { --photo: url("/images/sic-2026.jpg"); }

/* ---------- Home hero ---------- */
.hero { background: var(--night); color: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(120px, 14vw, 170px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .lede { color: #CBD0EE; max-width: 32em; }
.hero .arch { max-width: 420px; justify-self: end; width: 100%; box-shadow: 0 0 0 10px rgba(255,255,255,.04), 0 0 0 22px rgba(255,255,255,.025); }
.verse { margin: 36px 0 0; padding-left: 18px; border-left: 2px solid var(--red-logo); color: #B9C0E0; font-size: .98rem; max-width: 30em; }
.verse cite { display: block; font-style: normal; color: var(--red-light); margin-top: 4px; font-size: .9rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero .arch { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); clip-path: inset(40% 0 0 0 round 999px 999px 8px 8px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 999px 999px 8px 8px); } }
}

/* Service times band overlapping the hero */
.times {
  position: relative; margin-top: calc(-1 * clamp(80px, 10vw, 110px)); z-index: 2;
}
.times-card {
  background: var(--white); border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 18px 50px -24px rgba(10,18,96,.35);
  display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden;
}
.times-card > div { padding: 24px 22px; }
.times-card > div + div { border-left: 1px solid var(--line); }
.times-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.times-card .when { font-size: 1.02rem; margin: 0; color: var(--ink); }
.times-card > .where {
  grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line);
  background: var(--mist); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding-top: 16px; padding-bottom: 16px;
}
.times-card .where p { margin: 0; }

/* ---------- Interior page header ---------- */
.page-head { background: var(--night); color: var(--paper); padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  bottom: -2px; width: clamp(160px, 22vw, 280px); aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,140,146,.6); border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.page-head .lede { color: #CBD0EE; margin: 0; position: relative; z-index: 1; }
.page-head h1 { max-width: 14ch; position: relative; z-index: 1; }
.crumb { color: #A3A9D6; font-size: .95rem; margin-bottom: 18px; }
.crumb a { color: #CBD0EE; }
@media (max-width: 720px) { .page-head::after { opacity: .35; } }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide { grid-template-columns: .8fr 1.2fr; }
.split .arch { max-width: 440px; width: 100%; }
.stack > * + * { margin-top: 1em; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row h2 { margin: 0; }

/* Ministries as rooms: name + purpose, not cards */
.rooms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rooms li { display: grid; grid-template-columns: minmax(200px, .9fr) 2fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rooms h3 { margin: 0; }
.rooms p { margin: 0; color: var(--muted); }
.rooms .meets { display: block; margin-top: 8px; color: var(--ink); font-size: .95rem; }

/* Events */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px;
}
.event .date { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.event .date strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; color: var(--blue); }
.event .date span { font-size: .9rem; color: var(--muted); }
.event h3 { margin: 0 0 4px; font-size: 1.25rem; }
.event p { margin: 0; color: var(--muted); }
.event--past { background: transparent; }

/* Tenets — genuinely numbered in TAC's own statement */
.tenets { list-style: none; counter-reset: tenet; margin: 0; padding: 0; display: grid; gap: 0; }
.tenets li { counter-increment: tenet; display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tenets li::before {
  content: "Tenet " counter(tenet);
  font-size: .9rem; color: var(--blue); font-weight: 600; padding-top: .35em;
}
.tenets p { margin: 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; }

/* Leaders */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.leader .arch { aspect-ratio: 3 / 4; margin-bottom: 16px; }
.leader h3 { margin: 0 0 2px; font-size: 1.25rem; }
.leader p { margin: 0; color: var(--muted); }

/* Watch */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #070D48; border: 1px solid rgba(255,255,255,.12); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #CBD0EE; }
.video-empty p { max-width: 26em; margin: 0 auto 16px; }

/* Giving */
.give-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.give-way { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.give-way h3 { margin-bottom: 12px; }
.give-way dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .98rem; }
.give-way dt { color: var(--muted); }
.give-way dd { margin: 0; font-weight: 600; }
.copy-btn { margin-top: 18px; font: 600 .92rem var(--sans); color: var(--blue); background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; cursor: pointer; }
.copy-btn:hover { background: var(--mist); }

/* Map + contact */
.map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-lines li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-lines span { color: var(--muted); }

form.contact { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #BFC8DA; border-radius: 6px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--red-logo); outline-offset: 1px; border-color: var(--blue); }
.form-note { font-size: .92rem; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Expect list */
.expect { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.expect h3 { font-size: 1.3rem; margin-bottom: 8px; }
.expect p { color: var(--muted); margin: 0; }

/* Facts row for event page */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.facts > div { padding: 24px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .95rem; margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; }

.notice { background: var(--mist); border-left: 3px solid var(--blue); padding: 16px 20px; border-radius: 0 8px 8px 0; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #C3C8E6; padding: 72px 0 32px; font-size: .98rem; }
.site-footer a { color: #E6E8F7; text-decoration: none; }
.site-footer a:hover { color: var(--red-light); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 1.15rem; color: var(--paper); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .brand { color: var(--paper); margin-bottom: 16px; }
.site-footer .brand-sub { color: #A3A9D6; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; color: #A3A9D6; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .split, .split--wide { grid-template-columns: 1fr; }
  .hero .arch { justify-self: start; max-width: 300px; }
  .times-card { grid-template-columns: 1fr 1fr; }
  .times-card > div:nth-child(odd) { border-left: 0; }
  .times-card > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leaders, .give-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .times-card { grid-template-columns: 1fr; }
  .times-card > div, .times-card > div:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .times-card > div:first-child { border-top: 0; }
  .rooms li { grid-template-columns: 1fr; gap: 6px; }
  .tenets li { grid-template-columns: 1fr; gap: 4px; }
  .event { grid-template-columns: 72px 1fr; }
  .event .btn { grid-column: 1 / -1; justify-self: start; }
  .expect, .two, .leaders, .give-grid, .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-lines li { grid-template-columns: 1fr; gap: 2px; }
}

.give-band { padding: clamp(56px, 7vw, 88px) 0; background: var(--blue); }
.give-band .lede { color: #DDE1F7; }

/* ---------- Conference: announcement bar ---------- */
.announce { background: var(--red); color: var(--white); font-size: .95rem; }
.announce .wrap { padding-top: 10px; padding-bottom: 10px; }
.announce p { margin: 0; text-align: center; }
.announce a { color: var(--white); font-weight: 700; }
.announce[hidden] { display: none; }

/* ---------- Conference: home feature ---------- */
.arch--flyer { --photo: url("/images/etl-2026-flyer.jpg"); }
.feature { padding-top: clamp(72px, 9vw, 120px); }
.feature-when { color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.section--night .contact-lines li { border-color: rgba(255,255,255,.14); }
.section--night .contact-lines span { color: #A3A9D6; }

/* ---------- Conference: programme ---------- */
.schedule { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.day { display: grid; grid-template-columns: 200px 1fr auto; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.day h3 { margin: 0 0 2px; font-size: 1.2rem; }
.day p { margin: 0; color: var(--muted); font-size: .98rem; }
.day-date { font-weight: 600; }
.day-time { font-family: var(--serif); font-size: 1.25rem; color: var(--blue); white-space: nowrap; }
.day--final { background: var(--white); border: 1px solid var(--red-logo); border-radius: 10px; padding: 20px; margin-top: 12px; }
.facts--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .facts--4 { grid-template-columns: 1fr 1fr; } .facts--4 > div:nth-child(3) { border-left: 0; } .facts--4 > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) {
  .day { grid-template-columns: 1fr auto; }
  .day > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .facts--4 { grid-template-columns: 1fr; }
  .facts--4 > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

.section--blue { background: var(--blue); }
.section--blue .lede { color: #DDE1F7; }
.section--blue .arch { background-image: var(--photo, none), radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.35), transparent 60%), linear-gradient(180deg, #4A58C9, var(--night)); }

.leader .leader-bio { margin-top: 10px; font-size: .96rem; }

@media (max-width: 480px) { .brand-name { font-size: 1.05rem; } .brand-sub { font-size: .82rem; } .brand-logo { width: 42px; height: 42px; } }
.site-footer .brand-sub { color: var(--red-light); }
.nav .btn--gold, .nav .btn--gold:hover { color: var(--white); }

/* Social icons */
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--mist); color: var(--night); transition: background-color .15s ease, color .15s ease;
}
.socials a:hover { background: var(--red); color: var(--white); }
.section--night .socials a, .site-footer .socials a { background: rgba(255,255,255,.1); color: var(--white); }
.section--night .socials a:hover, .site-footer .socials a:hover { background: var(--red); color: var(--white); text-decoration: none; }
.socials--footer { margin-top: 18px; }
.site-footer li strong { color: var(--white); font-weight: 600; }
.site-footer ul.socials { display: flex; gap: 10px; }

/* ---------- Media page ---------- */
.subnav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 40; }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.subnav a { flex: none; text-decoration: none; color: var(--night); font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; background: var(--mist); }
.subnav a:hover { background: var(--red); color: var(--white); }
.section[id] { scroll-margin-top: 140px; }

.fb-embed { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 500px; width: 100%; justify-self: end; }
.fb-embed iframe { display: block; width: 100%; height: 640px; border: 0; }

.audio-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.audio-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; display: grid; gap: 12px; }
.audio-item h3 { margin: 0 0 2px; font-size: 1.2rem; }
.audio-item p { margin: 0; color: var(--muted); }
.audio-item audio { width: 100%; }
.audio-slot { background: var(--mist); border-radius: 8px; padding: 12px 14px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo {
  aspect-ratio: 4 / 3; border-radius: 10px; background-color: var(--blue);
  background-image: var(--photo, none), linear-gradient(160deg, var(--blue-soft), var(--night));
  background-size: cover; background-position: center;
}
.photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .fb-embed { justify-self: start; }
  .subnav { top: 72px; }
}

/* Flyers: shown whole, never cropped */
.flyer { display: block; max-width: 440px; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px -24px rgba(10,18,96,.5); }
.flyer img { width: 100%; height: auto; display: block; }
.section--night .flyer { box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); }
.leaders--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .leaders--4 { grid-template-columns: 1fr 1fr; } }
.verse--light { color: var(--muted); margin-top: 12px; }
.verse--light cite { color: var(--red); }
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; font-weight: 500; }
.contact-lines a[href^="tel"] { white-space: nowrap; }

/* Gallery with five photos: the last one runs wide */
.photo:nth-child(5) { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 800px) { .photo:nth-child(5) { grid-column: span 1; aspect-ratio: 4 / 3; } }

/* Welcome photo shown whole, no arch */
.welcome-photo { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 20px 50px -24px rgba(10,18,96,.45); }

/* Home hero photo: plain rounded rectangle, no arch */
.hero .arch { aspect-ratio: 4 / 5; border-radius: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .arch { animation-name: rise-flat; }
  @keyframes rise-flat { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
