/* ===========================================================
   ABCC — Above & Beyond Community Church
   "You Belong Here"
   =========================================================== */

:root {
  --paper: #f6f1e7;
  --paper-soft: #efe8d9;
  --ink: #0f2d49;
  --ink-soft: #3e5a77;
  --blue: #0e6cb8;
  --blue-bright: #148de7;
  --dark: #081b2b;
  --dark-2: #0e2a40;
  --cream-on-dark: #f3ecdd;
  --line: rgba(15, 45, 73, 0.14);
  --line-light: rgba(243, 236, 221, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(92vw, 80rem);

  /* One entrance for the whole site: every reveal system uses these. */
  --reveal-dur: .85s;
  --reveal-dist: 22px;
}
@media (max-width: 640px) { :root { --reveal-dist: 16px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

::selection { background: var(--blue); color: var(--paper); }

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* A still grain reads the same as a moving one at 5% — and costs nothing to keep on screen. */
@media (max-width: 640px) { .grain { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.4rem;
  border-radius: 99px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--blue); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--blue); color: #fff; }
.btn--accent:hover { background: var(--cream-on-dark); color: var(--ink); }
.btn--lg { padding: 1rem 2rem; font-size: 0.95rem; }

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d6453a;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 0.5s var(--ease-out), background 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  background: rgba(246, 241, 231, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

/* Over the dark hero: light header chrome */
.header.on-dark.is-scrolled {
  background: rgba(8, 27, 43, 0.66);
  box-shadow: 0 1px 0 rgba(243, 236, 221, 0.1);
}
.header.on-dark .logo-text { color: var(--cream-on-dark); }
.header.on-dark .logo-badge { background-color: var(--cream-on-dark); }
.header.on-dark .header__nav a { color: var(--cream-on-dark); }
.header.on-dark .btn--ghost { color: var(--cream-on-dark); border-color: rgba(243, 236, 221, 0.3); }
.header.on-dark .btn--ghost:hover { border-color: var(--cream-on-dark); }
.header.on-dark .btn--solid { background: var(--blue); color: #fff; }
.header.on-dark .btn--solid:hover { background: var(--cream-on-dark); color: var(--ink); }
.header.on-dark .menu-toggle { border-color: rgba(243, 236, 221, 0.3); }
.header.on-dark .menu-toggle span { background: var(--cream-on-dark); }

.header.menu-open {
  z-index: 300;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.header.menu-open .logo-badge { background-color: var(--cream-on-dark); }
.header.menu-open .logo-text { color: var(--cream-on-dark); }
.header.menu-open .header__actions .btn--solid { background: var(--blue); color: #fff; }
.header.menu-open .menu-toggle { border-color: var(--line-light); }
.header.menu-open .menu-toggle span { background: var(--cream-on-dark); }

.header__inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.55rem;
}
.logo-badge {
  display: block;
  flex-shrink: 0;
  width: 2.4rem; height: 2.4rem;
  background-color: var(--ink);
  -webkit-mask: url("assets/logo.svg") no-repeat center / contain;
  mask: url("assets/logo.svg") no-repeat center / contain;
  transition: transform 0.5s var(--ease-out), background-color 0.3s;
}
.header__logo:hover .logo-badge { transform: scale(1.08); background-color: var(--blue); }
.logo-text {
  /* Upright, compact capitals echo the church's original wordmark. */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-transform: uppercase;
  display: block;
  overflow: visible;
  white-space: nowrap;
  padding-block: 0.1em;
  color: var(--ink);
}
.logo-text__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
}
.logo-text__sub {
  font-size: 0.81em;
  letter-spacing: 0.015em;
}
.logo-text__name { position: relative; display: block; transform-origin: left top; }
.logo-text__measure { display: block; visibility: hidden; }
.logo-text__typed { position: absolute; inset: 0; display: block; white-space: pre; }
.logo-text__sub { overflow: hidden; }
.logo-text__sub-inner { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .logo-text.is-wordmark-preparing .logo-text__inner { visibility: hidden; }
  /* wordmark-hold.js (head): the typing page view starts with the name unseen until
     script.js takes over; if that script never runs, the name shows after 2.5s. */
  html.wm-pending .header__logo .logo-text__inner { visibility: hidden; animation: wm-failsafe 0s linear 2.5s forwards; }
  .logo-text.is-wordmark-typing .logo-text__name {
    transform: translateY(var(--wordmark-offset)) scale(var(--wordmark-scale));
  }
  .logo-text.is-wordmark-typing .logo-text__sub-inner { transform: translateY(115%); opacity: 0; }
  .logo-text.is-wordmark-animating .logo-text__name {
    animation: wordmark-settle .65s var(--ease-out) both;
  }
  .logo-text.is-wordmark-animating .logo-text__sub-inner {
    animation: wordmark-subtitle .6s var(--ease-out) .15s both;
  }
}
@keyframes wm-failsafe { to { visibility: visible; } }
@keyframes wordmark-settle {
  from { transform: translateY(var(--wordmark-offset)) scale(var(--wordmark-scale)); }
  to { transform: translateY(0) scale(1); }
}
@keyframes wordmark-subtitle {
  from { transform: translateY(115%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.header__nav a {
  position: relative;
  padding-block: 0.3rem;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 0.7rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.8rem; height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  z-index: 210;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.3s, background 0.3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--dark);
  color: var(--cream-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.5rem 2rem 2.5rem;
  clip-path: circle(0% at calc(100% - 3.2rem) 2.2rem);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-out), visibility 0s 0.7s;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 3.2rem) 2.2rem);
  visibility: visible;
  transition: clip-path 0.7s var(--ease-out);
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: 0s;
}
.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.18s + var(--i) * 0.06s);
}
.mobile-menu__nav a:hover { color: var(--blue-bright); }
.mobile-menu__footer {
  font-size: 0.85rem;
  color: rgba(243, 236, 221, 0.6);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sundays section: the interior pages' navy, radial light washes, and subtle dot field. */
.sundays__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sundays__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(176,209,232,.19) .75px, transparent 1px) 0 0 / 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, rgba(0,0,0,.25) 40%, #000);
  mask-image: linear-gradient(90deg, transparent 10%, rgba(0,0,0,.25) 40%, #000);
}
.sundays__glow i {
  position: absolute;
  display: block;
  width: clamp(30rem, 65vw, 65rem);
  aspect-ratio: 1;
  border-radius: 50%;
  left: 34%;
  top: -35%;
  background: radial-gradient(ellipse, rgba(76,160,217,.19), rgba(76,160,217,.065) 38%, transparent 70%);
  /* The interior hero's 22-second drift, at 1.15 times its speed. */
  animation: home-radial-drift calc(22s / 1.15) ease-in-out -6s infinite alternate paused;
}
.sundays__glow i:nth-child(2) {
  width: clamp(25rem, 52vw, 54rem);
  left: 48%;
  top: 8%;
  background: radial-gradient(ellipse, rgba(198,160,98,.12), rgba(198,160,98,.035) 40%, transparent 70%);
  animation-duration: calc(28s / 1.15);
  animation-delay: -15s;
  animation-direction: alternate-reverse;
}
.sundays__glow i:nth-child(3) {
  width: clamp(24rem, 50vw, 48rem);
  left: -12%;
  top: 28%;
  background: radial-gradient(ellipse, rgba(76,160,217,.16), rgba(76,160,217,.05) 38%, transparent 70%);
  animation-duration: calc(24s / 1.15);
  animation-delay: -9s;
}
.sundays__glow.is-in-view i, .watch__glows.is-in-view i { animation-play-state: running; }
@keyframes home-radial-drift {
  0% { transform: translate3d(-16%, -8%, 0) scale(.94); }
  50% { transform: translate3d(7%, 15%, 0) scale(1.08); }
  100% { transform: translate3d(-8%, 35%, 0) scale(.98); }
}
@media (max-width: 700px) {
  .sundays__glow i { left: -30%; top: 5%; }
  .sundays__glow i:nth-child(2) { left: -5%; top: 42%; }
  .sundays__glow i:nth-child(3) { left: 25%; top: 50%; }
}

.btn--outline-light {
  border-color: rgba(243, 236, 221, 0.55);
  color: var(--cream-on-dark);
}
.btn--outline-light:hover {
  background: var(--cream-on-dark);
  color: var(--dark);
  border-color: var(--cream-on-dark);
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(243, 236, 221, 0.12);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee__cross {
  display: inline-block;
  vertical-align: middle;
  width: 0.75em;
  height: 1em;
  color: var(--blue-bright);
  margin-inline: 1.4rem;
  margin-top: -0.12em;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.is-offscreen .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Sections base ---------- */
.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.section__inner { width: var(--container); margin-inline: auto; }
.section--dark {
  background: var(--dark);
  color: var(--cream-on-dark);
  position: relative;
  overflow: hidden;
}

.label-tag {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  letter-spacing: 0.02em;
  color: var(--blue);
  padding-bottom: 0.5rem;
}
.label-tag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 24' preserveAspectRatio='none'%3E%3Cpath d='M4 18 C 80 6, 240 4, 316 14' fill='none' stroke='%230e6cb8' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  clip-path: inset(-20% 100% -20% 0);
  transition: clip-path 1s var(--ease-out) 0.2s;
}
.label-tag.is-visible::after,
.is-visible .label-tag::after { clip-path: inset(-20% 0 -20% 0); }
.label-tag--light { color: var(--blue-bright); }
.label-tag--light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 24' preserveAspectRatio='none'%3E%3Cpath d='M4 18 C 80 6, 240 4, 316 14' fill='none' stroke='%23148de7' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 3rem;
}
.about__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.about__heading em { color: var(--blue-bright); font-weight: 500; }
.about__text {
  max-width: 36rem;
  margin-top: 2rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.fact__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.fact__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 14rem;
}

/* The campus: a navy ink drawing of the building in a band under the facts, standing
   on the seam with the next section. Tablet and phone only; desktop does not show it.
   It is drawn in left to right by a soft-edged wipe: a mask 2.5x the figure's width
   slides from "all clear" to "all solid". Its right end is rounded off in the artwork. */
.about-campus { display: none; }
@media (max-width: 960px) {
  .about.section { padding-bottom: 0; overflow: hidden; }
  .about-campus {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1900 / 750;
    margin: 2.5rem auto 0;
    opacity: .55;
    overflow: hidden;
    pointer-events: none;
  }
  /* The drawing starts together with the "Welcome home." heading's reveal (the :has rule
     below). For browsers without :has, the shared reveal observer watches this 1px cue
     part-way down the figure instead. */
  .about-campus__cue { position: absolute; top: 42%; left: 50%; width: 1px; height: 1px; }
  .about-campus img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    -webkit-mask: linear-gradient(90deg, #000 0 50%, transparent 60%) 100% 0 / 250% 100% no-repeat;
            mask: linear-gradient(90deg, #000 0 50%, transparent 60%) 100% 0 / 250% 100% no-repeat;
    transition: -webkit-mask-position 2.6s cubic-bezier(.45, .05, .3, 1), mask-position 2.6s cubic-bezier(.45, .05, .3, 1);
  }
  .about-campus__cue.is-visible ~ img { -webkit-mask-position: 0 0; mask-position: 0 0; }
  .about.section:has(.about__heading.is-visible) .about-campus img { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@media (max-width: 640px) {
  /* phones: same drawing, same reveal, zoomed and framed sign-to-steeple */
  .about-campus { aspect-ratio: 2400 / 1616; margin-top: 1.75rem; }
  .about-campus img { width: auto; left: -4%; }
}

/* ---------- Sundays ---------- */
.sundays { background: linear-gradient(155deg, var(--ink) 18%, #102d46 55%, #0a2237); }
.sundays > .section__inner { position: relative; z-index: 1; }
.sundays__head { max-width: 46rem; }
.sundays__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 1.4rem;
}
.sundays__title em { color: var(--blue-bright); }

.sundays__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.scard {
  position: relative;
  min-width: 0;
  padding-inline: clamp(1.5rem, 3vw, 3rem);
}
.scard:first-child { padding-left: 0; }
.scard:last-child { padding-right: 0; }
.scard + .scard { border-left: 1px solid var(--line-light); }
.scard__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.4rem;
  color: #c1a47b;
  overflow: visible;
}
.scard__rays { opacity: .55; transform-origin: 32px 32px; }
.scard__heart { transform-origin: 32px 46px; }
.scard.is-animating .scard__steam { animation: sunday-steam 1.8s ease-in-out; }
.scard.is-animating .scard__rays { animation: sunday-rays 1.8s ease-in-out; }
.scard.is-animating .scard__heart { animation: sunday-heart 1.8s ease-in-out; }
@keyframes sunday-steam {
  0%, 100% { opacity: 1; transform: translateY(0); }
  45% { opacity: .25; transform: translateY(-4px); }
  46% { opacity: 0; transform: translateY(2px); }
}
@keyframes sunday-rays {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.16); }
}
@keyframes sunday-heart {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.18); }
  65% { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .scard.is-animating :is(.scard__steam, .scard__rays, .scard__heart) { animation: none; }
}
.scard h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.9vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0 0 0.85rem;
}
.scard p {
  max-width: 24rem;
  font-size: clamp(0.95rem, 1vw, 1rem);
  color: rgba(243, 236, 221, 0.84);
  line-height: 1.72;
}

.sundays__bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-light);
}
.sundays__bar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--blue-bright);
}
.sundays__when {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
}
.sundays__day {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c1a47b;
}
.sundays__time {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 5.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.04em;
  color: var(--cream-on-dark);
  line-height: 1;
  white-space: nowrap;
}
.sundays__time small {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--blue-bright);
  vertical-align: top;
  margin-top: .7em;
}
.sundays__location {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--line-light);
}
.sundays__pin {
  flex-shrink: 0;
  width: 1.75rem;
  height: 2.2rem;
  margin-top: .2rem;
  color: #c1a47b;
}
.sundays__location-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: .55rem;
}
.sundays__addr {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(243, 236, 221, .78);
}
.sundays__bar > .btn { justify-self: end; }
@media (min-width: 641px) and (max-width: 960px) {
  .sundays__bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .sundays__bar > .btn { grid-column: 2; justify-self: start; margin-left: clamp(1.5rem, 3vw, 3rem); }
}

/* Sundays parallax: pure CSS scroll-driven depth. The light/dot layer lags behind the
   scroll while the heading, cards and bar run slightly ahead at staggered rates; every
   layer passes through zero when the section is centred, so the resting layout is the
   designed one. Uses `translate` (not `transform`) so it composes with reveal-up and
   the magnetic button. Browsers without view timelines keep the static section. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sundays { view-timeline: --sundays block; }
    .sundays__glow {
      inset: -9rem 0; /* bleed so the slower layer never shows an edge */
      --px-from: -8rem;
      --px-to: 8rem;
    }
    .sundays__head { --px-from: 2.5rem; --px-to: -2.5rem; }
    .sundays__bar { --px-from: 1rem; --px-to: -1rem; }
    .sundays__glow, .sundays__head, .sundays__bar {
      animation: sundays-parallax linear both;
      animation-timeline: --sundays;
      animation-range: cover;
    }
    @media (min-width: 961px) {
      .scard { --px-from: 1.5rem; --px-to: -1.5rem; }
      .scard:nth-child(2) { --px-from: 3rem; --px-to: -3rem; }
      .scard:nth-child(3) { --px-from: 4.5rem; --px-to: -4.5rem; }
      .scard {
        animation: sundays-parallax linear both;
        animation-timeline: --sundays;
        animation-range: cover;
      }
    }
  }
}
@keyframes sundays-parallax {
  from { translate: 0 var(--px-from, 0); }
  to { translate: 0 var(--px-to, 0); }
}

/* ---------- Ministries ---------- */
.ministries__head {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.ministries__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.ministries__title em { color: var(--blue-bright); }

.mlist { border-top: 1px solid var(--line); }
.mlist__item { border-bottom: 1px solid var(--line); }
.mlist__item a {
  display: grid;
  grid-template-columns: 3.5rem 1.2fr 1fr 3rem;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.9rem;
  transition: padding-left 0.45s var(--ease-out);
}
.mlist__item a:hover { padding-left: 1.2rem; }
.mlist__icon {
  width: 2rem;
  height: 2rem;
  color: var(--ink);
  overflow: visible;
  transform-origin: center;
  transition: color .25s ease;
}
.mlist__item a:is(:hover, :focus-visible) .mlist__icon { color: var(--blue-bright); }
.mlist__rays, .mlist__meridian, .mlist__pages { transform-origin: 32px 32px; }
.mlist__baby { transform-origin: 44px 50px; }
/* Motion is exclusive to pointer hover; keyboard focus retains the color cue. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mlist__item a:hover .mlist__pages { animation: mlist-pages 2.4s ease-in-out infinite; }
  .mlist__item a:hover .mlist__icon--heart { animation: mlist-heart 1.8s ease-in-out infinite; }
  .mlist__item a:hover .mlist__rays { animation: mlist-rays 1.8s ease-in-out infinite; }
  .mlist__item a:hover .mlist__waves { animation: mlist-waves 1.8s ease-in-out infinite; }
  .mlist__item a:hover .mlist__baby { animation: mlist-baby-rock 2.6s ease-in-out infinite; }
  .mlist__item a:hover .mlist__meridian { animation: mlist-globe 2.4s ease-in-out infinite; }
}
@keyframes mlist-pages {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(.8); }
}
@keyframes mlist-heart {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.12); }
  65% { transform: scale(1.03); }
}
@keyframes mlist-rays {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: .55; }
}
@keyframes mlist-waves {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(3px); }
  70% { transform: translateX(-3px); }
}
@keyframes mlist-baby-rock {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-7deg); }
  75% { transform: rotate(7deg); }
}
@keyframes mlist-globe {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(.25); }
}
.mlist__item a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
.mlist__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.mlist__item a:is(:hover, :focus-visible) .mlist__name { color: var(--blue); }
.mlist__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.mlist__arrow {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s, transform 0.45s var(--ease-out), border-color 0.3s;
}
.mlist__item a:is(:hover, :focus-visible) .mlist__arrow {
  background: var(--blue-bright);
  color: #fff;
  border-color: var(--blue-bright);
  transform: rotate(-45deg);
}

/* ---------- Watch band ---------- */
.watch {
  --watch-edge-height: clamp(.5rem, 1.5vw, 1.5rem);
  isolation: isolate;
  padding-block: calc(clamp(4.5rem, 9vw, 8rem) + var(--watch-edge-height) * .35);
}
/* Shallow straight cuts soften the section boundaries over the moving photograph. */
.watch__edge {
  position: absolute;
  z-index: 3;
  left: -1px;
  width: calc(100% + 2px);
  max-width: none;
  height: var(--watch-edge-height);
  fill: var(--paper);
  pointer-events: none;
}
.watch__edge--top { top: -1px; }
.watch__edge--bottom { bottom: -1px; }
/* The Vision mission section's stained-glass photo, tint, light, and grain. */
.watch__light {
  position: absolute;
  z-index: -2;
  top: -72px;
  right: 0;
  width: 65%;
  height: calc(100% + 144px);
  object-fit: cover;
  object-position: 50% 45%;
  opacity: .62;
  will-change: transform;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}
.watch::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8,27,43,.35), transparent 35%, transparent 75%, rgba(8,27,43,.2)), linear-gradient(90deg, var(--dark) 8%, rgba(8,27,43,.55) 55%, rgba(8,27,43,.12));
}
.watch::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background: url("assets/mission-glass-grain.svg") 0 0 / 180px 180px;
}
.watch__glows { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.watch__glows i {
  position: absolute;
  width: clamp(20rem, 46vw, 42rem);
  aspect-ratio: 1;
  opacity: .4;
  background: radial-gradient(circle, rgba(var(--glow-color), .48) 0%, rgba(var(--glow-color), .25) 24%, rgba(var(--glow-color), .08) 46%, transparent 70%);
  /* Vision's current light cycles, accelerated by 15%. */
  animation: home-glow-warm calc(var(--glow-cycle) / .9 / 1.15) ease-in-out infinite paused;
}
.watch__glows i:nth-child(1) { --glow-color: 248,176,72; --glow-cycle: 14s; left: 43%; top: -20%; animation-delay: -3s; }
.watch__glows i:nth-child(2) { --glow-color: 48,174,235; --glow-cycle: 18s; right: 1%; bottom: -25%; animation-name: home-glow-cool; animation-delay: -8s; }
.watch__glows i:nth-child(3) { --glow-color: 34,201,182; --glow-cycle: 16s; left: 24%; top: 2%; animation-direction: reverse; animation-delay: -5s; }
.watch__glows i:nth-child(4) { --glow-color: 111,186,78; --glow-cycle: 20s; right: -8%; top: -28%; animation-name: home-glow-cool; animation-direction: reverse; animation-delay: -11s; }
.watch__glows i:nth-child(5) { --glow-color: 221,71,64; --glow-cycle: 17s; left: 38%; bottom: -42%; animation-name: home-glow-cool; animation-delay: -4s; }
.watch__glows i:nth-child(6) { --glow-color: 135,101,216; --glow-cycle: 22s; right: -13%; top: 12%; animation-delay: -14s; }
@keyframes home-glow-warm {
  0%, 100% { transform: translate3d(-16%, 0, 0) scale(.92); }
  33% { transform: translate3d(32%, 24%, 0) scale(1.08); }
  66% { transform: translate3d(-12%, 52%, 0) scale(1); }
}
@keyframes home-glow-cool {
  0%, 100% { transform: translate3d(12%, 10%, 0) scale(1); }
  35% { transform: translate3d(-42%, -20%, 0) scale(1.12); }
  70% { transform: translate3d(-8%, -56%, 0) scale(.93); }
}
@media (prefers-reduced-motion: reduce) {
  .sundays__glow.s-glass i, .watch__glows.s-glass i { animation: none; transform: none; }
}
@media (max-width: 640px) {
  .watch__light, .watch__glows i { width: 100%; }
  .watch__glows i:nth-child(1) { left: 2%; top: -12%; }
  .watch__glows i:nth-child(2) { right: -25%; bottom: -8%; }
  .watch__glows i:nth-child(3) { left: -25%; top: 5%; }
  .watch__glows i:nth-child(4) { right: -20%; top: -35%; }
  .watch__glows i:nth-child(5) { left: 0; bottom: -35%; }
  .watch__glows i:nth-child(6) { right: -45%; top: 20%; }
}
.watch__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.watch__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.watch__eyebrow {
  margin-bottom: 1.25rem;
}
.watch__copy p {
  margin-top: 1rem;
  max-width: 30rem;
  color: rgba(243, 236, 221, 0.8);
}
.watch .watch__play { color: #fff; }
.watch__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  .watch__light { transform: none !important; will-change: auto; }
}
.watch__btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.6rem 0.9rem 0.9rem;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}
.watch__btn:hover { background: var(--cream-on-dark); color: var(--dark); }
.watch__play {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--dark);
  color: var(--blue-bright);
  font-size: 0.8rem;
  padding-left: 2px;
}

/* ---------- Visit ---------- */
.visit__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.visit__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: 1.4rem;
}
.visit__title em { color: var(--blue-bright); }
.visit__sub {
  max-width: 36ch;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}
.visit__sub strong { color: var(--ink); font-weight: 600; }
.visit__cta { margin-top: 2rem; }
.visit__place { min-width: 0; }
.visit__photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 0.25rem;
}
.visit__location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.6;
}
.visit__location address { font-style: normal; color: var(--ink-soft); }
.visit__directions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}
.visit__directions:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.visit__directions:focus-visible, .visit__cta a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
@media (max-width: 640px) {
  .visit__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Contact cards on the dedicated visit page. */
.visit__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  width: 100%;
  max-width: 56rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.vcard {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: left;
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.5s var(--ease-out), border-color 0.3s, background 0.3s;
}
.vcard--link:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.6);
}
.vcard__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.vcard__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
}
.vcard__hint {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--cream-on-dark);
  padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem;
  overflow: hidden;
}
.footer__inner { width: var(--container); margin-inline: auto; }
.footer__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 15.5rem;
  max-width: 100%;
  aspect-ratio: 1.85;
  padding: 1rem;
  border: 2px solid rgba(243, 236, 221, 0.9);
}
.footer__logo {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--cream-on-dark);
  -webkit-mask: url("assets/logo.svg") no-repeat center / contain;
  mask: url("assets/logo.svg") no-repeat center / contain;
}
.footer__big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
  width: max-content;
  max-width: 100%;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(243, 236, 221, 0.95);
}
.footer__brand-sub {
  font-size: 0.81em;
  letter-spacing: 0.015em;
}
.footer__mission {
  min-width: 0;
  font-family: var(--font-body);
}
.footer__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 236, 221, 0.58);
}
.footer__mission-cross {
  flex: 0 0 auto;
  width: 0.75rem;
  height: 0.875rem;
}
.footer__mission-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.footer__mission-title em {
  color: var(--blue-bright);
  font-weight: 500;
  white-space: nowrap;
}
.footer__mission-copy {
  max-width: 48ch;
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(243, 236, 221, 0.65);
}
@media (max-width: 640px) {
  .footer__intro { grid-template-columns: 1fr; gap: 2rem; }
  .footer__big { font-size: 1.375rem; }
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(243, 236, 221, 0.1);
  font-size: 0.9rem;
  color: rgba(243, 236, 221, 0.7);
}
.footer__head {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(243, 236, 221, 0.58);
  margin-bottom: 0.9rem;
}
.footer__col a { transition: color 0.3s; }
.footer__col a:hover { color: var(--blue-bright); }
.footer__social { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; border: 1px solid var(--line-light); border-radius: 50%; background: transparent; color: var(--cream-on-dark); transition: color .25s, background .25s, border-color .25s; }
.footer__social a:hover, .footer__social a:focus-visible { color: var(--dark); background: var(--blue-bright); border-color: var(--blue-bright); }
.footer__social svg { width: 1.25rem; height: 1.25rem; }
.footer__social a:focus-visible, .footer__visit:focus-visible { outline: 2px solid var(--cream-on-dark); outline-offset: 5px; }

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 236, 221, 0.1);
  font-size: 0.78rem;
  color: rgba(243, 236, 221, 0.5);
}
.footer__visit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream-on-dark);
  padding-bottom: .2rem;
  border-bottom: 1px solid var(--line-light);
}
.footer__visit svg { width: 1rem; height: 1rem; }
.footer__visit:hover { color: var(--blue-bright); border-color: currentColor; }

/* ---------- Reveal animations ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(var(--reveal-dist));
  transition: opacity var(--reveal-dur) var(--ease-out), transform var(--reveal-dur) var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-up.is-visible { opacity: 1; transform: none; }

.reveal-lines .rline {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.reveal-lines .rline > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.reveal-lines.is-visible .rline > span { transform: none; }
.reveal-lines .rline:nth-child(2) > span { transition-delay: 0.1s; }
.reveal-lines .rline:nth-child(3) > span { transition-delay: 0.2s; }
.reveal-lines .rline:nth-child(4) > span { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
.bp-desktop { display: inline; }
.bp-mobile { display: none; }

@media (max-width: 960px) {
  .header__nav { display: none; }
  .header__watch { display: none; }
  .menu-toggle { display: flex; }

  .about__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .sundays__cards { grid-template-columns: 1fr; }
  .scard {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 1.25rem;
    padding: 1.75rem 0;
  }
  .scard:first-child { padding-top: 0; }
  .scard:last-child { padding-bottom: 0; }
  .scard + .scard { border-left: 0; border-top: 1px solid var(--line-light); }
  .scard__icon { grid-column: 1; grid-row: 1 / span 2; width: 3rem; height: 3rem; margin: 0; }
  .scard h3, .scard p { grid-column: 2; }
  .scard p { max-width: 36rem; }
  .visit__cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  .mlist__item a {
    grid-template-columns: 2.2rem 1fr 2.6rem;
    gap: 1rem;
  }
  .mlist__desc { grid-column: 2; grid-row: 2; }
  .mlist__arrow { grid-row: 1; grid-column: 3; }
  .mlist__item a:hover { padding-left: 0; }

  .watch__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 2.5rem); }

  .header__actions .btn--solid { padding: 0.55rem 1rem; font-size: 0.78rem; }

  .badge-arrow { width: 2.5rem; height: 2.5rem; }

  .about__facts { grid-template-columns: 1fr; gap: 1.6rem; }

  /* Home section eyebrows: centered on phones, one size up */
  .about .label-tag, .sundays .label-tag, .ministries .label-tag {
    display: block;
    margin-inline: auto;
    text-align: center;
    font-size: calc(1.05rem + 1px);
  }
  /* "Welcome home." becomes a real section title (same size as the others);
     the mission sentence drops to a lede beneath it. Desktop keeps one statement. */
  .about__heading { max-width: none; }
  .about__lead {
    display: block;
    font-size: clamp(2.4rem, 6.5vw, 5rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
  }
  .about__rest {
    display: block;
    margin-top: 1rem;
    max-width: 30rem;
    font-size: 1.2rem;
    line-height: 1.45;
    letter-spacing: 0;
  }
  .sundays__bar { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .sundays__location { padding: 0; border-left: 0; }
  .sundays__bar > .btn { justify-self: start; }
  .bp-desktop { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
  .footer__social { gap: 0.4rem; }
  .footer__social a { width: 2.5rem; height: 2.5rem; }
}

/* Small phones: shorter header CTA label + tighter logo so the header fits one line */
.btn__short { display: none; }
@media (max-width: 480px) {
  .header__actions .btn--solid .btn__full { display: none; }
  .header__actions .btn--solid .btn__short { display: inline; }
  .logo-text { font-size: 0.85rem; }
  .logo-badge { width: 2.1rem; height: 2.1rem; }
}

/* ---------- Nav dropdown ---------- */
.nav-item--drop {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-caret {
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 0.6em;
  opacity: 0.55;
  transform: translateY(-0.1em);
}
.nav-drop {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: -1.2rem;
  min-width: 11.5rem;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgba(8, 27, 43, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.4s var(--ease-out), visibility 0s 0.25s;
}
/* invisible bridge so the panel doesn't close crossing the gap */
.nav-drop::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 0;
  right: 0;
  height: 0.8rem;
}
.nav-item--drop:hover .nav-drop,
.nav-item--drop:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.4s var(--ease-out);
}
.nav-drop a {
  padding: 0.5rem 1.3rem;
  color: var(--ink);
  font-size: 0.85rem;
  transition: color 0.2s, background 0.2s;
}
.nav-drop a::after { content: none; }
.nav-drop a:hover { color: var(--blue); background: var(--paper-soft); }
.header.on-dark .nav-drop a { color: var(--ink); }
.header.on-dark .nav-drop a:hover { color: var(--blue); }

/* Mobile menu: accordion sections (About, Events) */
.mm-parent {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-menu.is-open .mm-parent {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.18s + var(--i) * 0.06s);
}
.mm-parent:hover { color: var(--blue-bright); }
.mm-caret {
  font-size: 0.45em;
  opacity: 0.6;
  transition: transform 0.3s var(--ease-out);
}
.mm-parent[aria-expanded="true"] .mm-caret { transform: rotate(180deg); }

.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 0 0 0.15rem;
  transition: max-height 0.45s var(--ease-out), opacity 0.3s, padding 0.3s;
}
.mobile-menu__sub.is-open {
  max-height: 22rem;
  opacity: 1;
  padding: 0.2rem 0 0.8rem 0.15rem;
}
.mobile-menu__nav .mobile-menu__sub a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 2.1;
  color: rgba(243, 236, 221, 0.72);
}

/* ---------- Subpages ---------- */
.page-hero { padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(2.8rem, 6vw, 4.5rem); }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 1.4rem;
  max-width: 18ch;
}
.page-hero__title em { color: var(--blue-bright); }
.page-hero__sub {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.section--flush-top { padding-top: 0; }

.group-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.group + .group { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ============================================================
   Rail + spine — shared layout for the About sub-pages.
   Left: a sticky rail that reads out where you are.
   Right: the content, on a spine that fills as you scroll.
   ============================================================ */
.railsec {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.rail { position: sticky; top: 7.5rem; }
/* Beside a timeline the first entry's text sits one --tpad down, so the rail
   drops to match; `top` loses the same amount to still park at 7.5rem. */
.rail--tracked {
  top: 5.5rem;
  margin-top: 2rem;
}
.rail__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rail__readout { margin-top: 1.1rem; }
.rail__key {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--blue);
}
.rail__name {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
/* The readout crossfades up when the active entry changes. */
.rail__key,
.rail__name { transition: opacity 0.28s ease, transform 0.28s var(--ease-out); }
.rail.is-swapping .rail__key,
.rail.is-swapping .rail__name { opacity: 0; transform: translateY(-8px); }

.rail__meter { margin-top: 1.8rem; }
.rail__track {
  position: relative;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}
.rail__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transition: width 0.35s var(--ease-out);
}
.rail__count {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.rail__count b { color: var(--blue); font-weight: 600; }

/* Standing rail (sections without a tracked list): label + a short lede. */
.rail__lede {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Jump index — built from the entries by script.js. */
.rail__jump {
  display: flex;
  flex-direction: column;
  margin-top: 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  max-height: calc(100vh - 22rem);
  overflow-y: auto;
  scrollbar-width: none;
}
.rail__jump::-webkit-scrollbar { display: none; }
.rail__jump a {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.rail__jump a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 5px;
  height: 1px;
  background: var(--line);
  transition: width 0.35s var(--ease-out), height 0.3s, background 0.3s;
}
.rail__jump a:hover { color: var(--ink); }
.rail__jump a.is-on { color: var(--blue); font-weight: 600; }
.rail__jump a.is-on::before {
  width: 12px;
  height: 2px;
  background: var(--blue-bright);
}

/* ---------- The spine ---------- */
.tline {
  --rail-x: 2.6rem;
  --tpad: 2rem;
  position: relative;
  padding-left: var(--rail-x);
}
.tline__spine {
  position: absolute;
  left: calc(var(--rail-x) / 2 - 1px);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.tline__spine::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scaleY(var(--fill, 0));
  transform-origin: top;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
}

.tentry {
  position: relative;
  max-width: 46rem; /* keeps the dividing rules tied to the text block */
  padding-block: var(--tpad);
}
.tentry + .tentry { border-top: 1px solid var(--line); }
/* Dot, centred on the spine. */
.tentry::before {
  content: "";
  position: absolute;
  left: calc(-0.5 * var(--rail-x) - 6px);
  top: calc(var(--tpad) + 0.42rem);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  transition: transform 0.45s var(--ease-out), background 0.35s, border-color 0.35s,
    box-shadow 0.45s var(--ease-out);
}
.tentry.is-past::before {
  background: var(--blue);
  border-color: var(--blue);
}
.tentry.is-active::before {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  transform: scale(1.4);
  box-shadow: 0 0 0 7px rgba(20, 141, 231, 0.13);
}

.tentry__key {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--blue);
  transition: color 0.35s;
}
.tentry.is-active .tentry__key { color: var(--blue-bright); }
.tentry__name {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.tentry p {
  margin-top: 0.7rem;
  max-width: 35rem; /* measured ~73 characters — inside the 45–75 comfort range */
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

/* A closing marker so the spine resolves instead of stopping mid-air. */
.tline__end {
  position: relative;
  max-width: 46rem;
  padding-left: 0;
  padding-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.tline__end::before {
  content: "";
  position: absolute;
  left: calc(-0.5 * var(--rail-x) - 5px);
  top: 1.15rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--blue-bright);
  background: var(--paper);
}
.tline__end span { display: inline-block; padding-top: 0.85rem; }

@media (max-width: 860px) {
  .railsec { grid-template-columns: 1fr; gap: 2rem; }
  .rail { position: static; }
  .tline { --rail-x: 2rem; --tpad: 1.6rem; }
  /* Stacked, the tracked rail can't track anything — it just restates the
     first entry and pushes the content a screen down. The spine still works. */
  .rail--tracked { display: none; }
}

/* Vision — the three lines, as full-width statement rows */
.vstate__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: clamp(1.4rem, 3vw, 2.3rem);
  border-top: 1px solid var(--line);
}
.vstate__row:last-child { border-bottom: 1px solid var(--line); }
.vstate__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--blue);
}
.vstate__line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.vstate__line em { color: var(--blue-bright); }

/* Vision — the five values, one row inside the rail layout */
.vgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}
.vgrid__card {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 1.5rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.5s var(--ease-out), border-color 0.3s, background 0.3s;
}
.vgrid__card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.6);
}
.vgrid__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--blue);
}
.vgrid__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.15;
}
@media (max-width: 860px) {
  .vstate__row { grid-template-columns: 3rem 1fr; gap: 1rem; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .vgrid { grid-template-columns: 1fr; }
}

.mission-quote {
  max-width: 44rem;
  padding-left: 1.8rem;
  border-left: 3px solid var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.35;
}
.mission-quote em { color: var(--blue-bright); }

/* In the rail layout these sit in their own column, so they can run wider. */
.railsec .mission-quote,
.railsec .verse-quote,
.railsec .mission-card { max-width: 46rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.2rem;
}
.value-card {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.8rem 1.6rem;
  background: rgba(255, 255, 255, 0.35);
}
.value-card span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--blue);
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  margin-top: 0.7rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}
.tcard {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}
.tcard__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 28%;
  background: var(--paper-soft);
}
.tcard__body { padding: 1.6rem 1.8rem 1.9rem; }
.tcard__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
}
.tcard__role {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.tcard__sub { margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }

/* Missions */
.verse-quote {
  max-width: 44rem;
  padding-left: 1.8rem;
  border-left: 3px solid var(--blue-bright);
}
.verse-quote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
}
.verse-quote cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.mission-card {
  max-width: 36rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, 0.35);
}
.mission-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
}
.mission-card p { margin-top: 0.7rem; color: var(--ink-soft); font-size: 0.95rem; }
.mission-card .btn { margin-top: 1.4rem; }

/* Mission partners */
.partners__head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.partners__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.partners__title em { font-style: italic; color: var(--blue-bright); }
.partners__lede { margin-top: 1rem; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); max-width: 40rem; }

.partner-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 1.1rem;
}
.partner { margin: 0; }
.partner.reveal-up { transition-delay: calc(var(--i, 0) * 45ms); }
.partner__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.partner__media {
  display: block;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.partner__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: contain;
  padding: 0.9rem;
  transition: transform 0.6s var(--ease-out);
}
.partner__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.2rem;
}
.partner__tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.partner__name {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.2;
  transition: color 0.3s var(--ease-out);
}
.partner__blurb {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.partner__cta {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0.75;
  transition: opacity 0.3s var(--ease-out);
}
.partner__cta span { display: inline-block; transition: transform 0.35s var(--ease-out); }
.partner__link:hover,
.partner__link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(31, 88, 168, 0.35);
  box-shadow: 0 22px 40px -24px rgba(12, 32, 54, 0.4);
}
.partner__link:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.partner__link:hover .partner__media img,
.partner__link:focus-visible .partner__media img { transform: scale(1.05); }
.partner__link:hover .partner__name,
.partner__link:focus-visible .partner__name { color: var(--blue); }
.partner__link:hover .partner__cta,
.partner__link:focus-visible .partner__cta { opacity: 1; }
.partner__link:hover .partner__cta span,
.partner__link:focus-visible .partner__cta span { transform: translate(2px, -2px); }
.partner__link--static { cursor: default; }
.partner__link--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.partner__link--static:hover .partner__media img { transform: none; }
.partner__link--static:hover .partner__name { color: inherit; }

.partner--cta { grid-column: span 2; }
.partner__cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 2rem 2rem 2.1rem;
  border-radius: 1.2rem;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(58, 141, 255, 0.28), transparent 60%),
    var(--dark);
  color: var(--cream-on-dark);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.partner__cta-card:hover,
.partner__cta-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -24px rgba(12, 32, 54, 0.55);
}
.partner__cta-card:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.partner__cta-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.partner__cta-title {
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.15;
}
.partner__cta-title em { font-style: italic; color: var(--blue-bright); }
.partner__cta-text { margin-top: 0.7rem; font-size: 0.9rem; line-height: 1.55; opacity: 0.8; max-width: 24rem; }
.partner__cta-card .btn { margin-top: 1.4rem; align-self: flex-start; }

@media (max-width: 640px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .partner__cta-card { padding: 1.5rem 1.3rem 1.6rem; }
  .partner__media img { padding: 0.7rem; }
  .partner__body { padding: 0.8rem 0.85rem 1rem; }
  .partner__name { font-size: 1rem; }
  .partner__blurb { font-size: 0.8rem; }
}
@media (max-width: 400px) {
  .partner__tag { letter-spacing: 0.14em; font-size: 0.6875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .partner__link, .partner__media img, .partner__cta span { transition: none; }
}

/* Give */
.value-card p { margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.92rem; }
.value-card .btn { margin-top: 1.1rem; }
.give-cta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

/* Events list */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.4rem;
}
.ecard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.5s var(--ease-out), border-color 0.3s, background 0.3s;
}
.ecard:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.6);
}
.ecard__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-soft);
}
.ecard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.4rem 1.5rem 1.6rem;
}
.ecard__date {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.ecard__time {
  margin-top: -0.3rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ecard__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
}
.ecard__excerpt { color: var(--ink-soft); font-size: 0.92rem; }
.ecard__more {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.events-empty {
  max-width: 34rem;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: 1.2rem;
  color: var(--ink-soft);
}

/* Featured (next-up) event — full-width blurb */
.event-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  margin-bottom: 2.2rem;
  transition: border-color 0.3s;
}
.event-feature:hover { border-color: var(--blue); }
.event-feature__img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: contain;
  background: var(--paper-soft);
}
.event-feature__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.event-feature__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.event-feature__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.15;
}
.event-feature__date {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.event-feature__time {
  margin-top: -0.5rem;
  font-family: var(--font-body);
  font-size: 0.79rem; /* 1px smaller than the date line */
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.event-feature__excerpt { color: var(--ink-soft); font-size: 0.98rem; max-width: 34rem; }
.event-feature .btn { margin-top: auto; align-self: flex-start; margin-top: 1.2rem; }
@media (max-width: 960px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-feature__img { min-height: 12rem; max-height: 16rem; }
}

/* Monthly calendar */
.cal {
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.cal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
}
.cal__nav { display: flex; gap: 0.5rem; }
.cal__btn {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.cal__btn:hover { border-color: var(--ink); background: var(--paper-soft); }
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
}
.cal__dow {
  padding: 0.55rem 0;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
}
.cal__day {
  min-height: 5.4rem;
  padding: 0.45rem 0.5rem;
  background: var(--paper);
  font-size: 0.78rem;
}
.cal__day--out { background: var(--paper-soft); }
.cal__num { font-weight: 600; color: var(--ink-soft); }
.cal__day--today .cal__num {
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
}
.cal__evt {
  display: block;
  margin-top: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.2s;
}
.cal__evt:hover { background: var(--blue); }
.cal__evt--past { background: rgba(15, 45, 73, 0.14); color: var(--ink-soft); }
.cal__evt--past:hover { background: rgba(15, 45, 73, 0.24); }
@media (max-width: 640px) {
  .cal__day { min-height: 3.6rem; padding: 0.3rem; }
  .cal__evt {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }
}

/* Weekly events list */
.weekly-list { max-width: 50rem; }
.witem {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.6rem;
  padding-block: 1.9rem;
  border-top: 1px solid var(--line);
}
.witem:last-child { border-bottom: 1px solid var(--line); }
.witem__when {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blue);
  line-height: 1.45;
}
.witem h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.witem p { color: var(--ink-soft); font-size: 0.98rem; max-width: 34rem; }
@media (max-width: 640px) {
  .witem { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* Event detail */
.event-hero-img {
  width: 100%;
  max-height: 24rem;
  object-fit: contain;
  border-radius: 1.4rem;
  margin-top: 2.2rem;
}
.event-meta {
  max-width: 32rem;
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}
.event-meta > div {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  align-items: baseline;
  gap: 1.4rem;
  padding: 0.95rem 1.4rem;
}
.event-meta > div + div { border-top: 1px solid var(--line); }
.event-meta .k {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.event-meta .v {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.45;
}
@media (max-width: 480px) {
  .event-meta > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
.event-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
  margin-top: 2.2rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.atc { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2.4rem; }
.back-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}
.back-link:hover { color: var(--blue-bright); }

/* Ministries page */
.ministry-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 5.5rem);
}
.min-item {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.8rem, 4.5vw, 4rem);
  align-items: center;
}
.min-item:nth-child(even) .min-item__media { order: 2; }
.min-item__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.4rem;
  background: var(--paper-soft);
}
.min-item__num {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.min-item__body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  margin-bottom: 0.7rem;
}
.min-item__when {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.min-item__body p:not(.min-item__when) {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 36rem;
}
.min-item__body p + p { margin-top: 0.8rem; }
.min-item__body p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.min-item__body p a:hover { color: var(--blue-bright); }
.min-item__body .btn { margin-top: 1.4rem; }
@media (max-width: 860px) {
  .min-item { grid-template-columns: 1fr; }
  .min-item:nth-child(even) .min-item__media { order: 0; }
}

/* Gallery */
.gfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.gfilter {
  padding: 0.55rem 1.3rem;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.gfilter:hover { border-color: var(--ink); }
.gfilter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.mosaic {
  columns: 3 16rem;
  column-gap: 1rem;
}
/* gallery.js deals the photos into these columns (newest across the top); the
   column-gap above doubles as the flex gap. */
.mosaic.is-laid { display: flex; align-items: flex-start; }
.mosaic__col { flex: 1 1 0; min-width: 0; }
.gitem {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--paper-soft);
  cursor: zoom-in;
  break-inside: avoid;
}
.gitem img {
  display: block;
  width: 100%;
  transition: transform 0.6s var(--ease-out);
}
.gitem:hover img { transform: scale(1.045); }
.gitem__tag {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  background: rgba(8, 27, 43, 0.72);
  color: var(--cream-on-dark);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
  pointer-events: none;
}
.gitem:hover .gitem__tag { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 5rem;
  background: rgba(8, 27, 43, 0.93);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0.8rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: lb-in 0.35s var(--ease-out);
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.96); }
}
.lightbox__caption {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80vw;
  text-align: center;
  color: rgba(243, 236, 221, 0.85);
  font-size: 0.9rem;
}
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 221, 0.4);
  background: transparent;
  color: var(--cream-on-dark);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.lb-btn:hover { background: rgba(243, 236, 221, 0.14); border-color: var(--cream-on-dark); }
.lightbox__close { top: 1.2rem; right: 1.4rem; }
.lightbox__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 3.5rem 1rem; }
  .lightbox img { max-height: 70vh; }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
}

/* Page CTA band */
.page-cta {
  background: var(--dark);
  color: var(--cream-on-dark);
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line-light);
}
.page-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.015em;
}
.page-cta h2 em { color: var(--blue-bright); }
.page-cta .btn { margin-top: 1.8rem; }

@media (max-width: 640px) {
  .mission-quote, .verse-quote { padding-left: 1.2rem; }
}

/* ---------- Contact form ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(15rem, 21rem) 1fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__lede {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.contact__direct {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.contact__direct-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.contact__direct-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.3s;
}
.contact__direct-link:hover { color: var(--blue); }
.contact__direct p {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.contact__follow {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.sociallinks {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.9rem;
}
.sicon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.4);
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.sicon svg { width: 1.3rem; height: 1.3rem; }
.sicon:hover {
  color: var(--paper);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.cform {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem 1.2rem;
  width: 100%;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--paper-soft);
}

/* Honeypot — off-screen rather than display:none so bots still fill it */
.cform__bot {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cform__field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cform__field--wide { grid-column: 1 / -1; }

.cform__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.cform__label span {
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 400;
  color: var(--ink-soft);
}

.cform input,
.cform select,
.cform textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px — stops iOS zooming on focus */
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.cform textarea {
  min-height: 9rem;
  line-height: 1.6;
  resize: vertical;
}
.cform select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e6cb8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}
.cform input:hover,
.cform select:hover,
.cform textarea:hover { border-color: rgba(15, 45, 73, 0.32); }
.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 141, 231, 0.16);
}
.cform ::placeholder { color: var(--ink-soft); opacity: 0.7; }

.cform__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.cform__note {
  font-size: 0.8rem;
  max-width: 22rem;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact__lede { max-width: 40rem; }
  .contact__direct { max-width: 40rem; }
}
@media (max-width: 640px) {
  .cform { grid-template-columns: 1fr; }
  .cform__actions { justify-content: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up, .reveal-lines .rline > span { opacity: 1; transform: none; }
}

/* ---------- Celebrate Recovery page ---------- */
/* Eyebrow — same treatment as .min-item__num, used for every section head */
.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.eyebrow--light { color: var(--blue-bright); }

/* Shared section heads */
.cr-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem); }
.cr-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.cr-title em { color: var(--blue-bright); }
.cr-lede {
  margin-top: 1.2rem;
  max-width: 38rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Video band */
.cr-video { padding-block: clamp(4rem, 8vw, 6.5rem); }
.cr-video__glow {
  position: absolute;
  width: 70vmax; height: 70vmax;
  top: -35vmax; right: -25vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 141, 231, 0.16), transparent 62%);
  pointer-events: none;
}
.cr-video .section__inner { position: relative; }
.cr-video { color: #fff; }
.cr-video__head { max-width: 46rem; margin-bottom: 2.2rem; }
.cr-video__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.cr-video__head p { margin-top: 1rem; max-width: 34rem; color: rgba(255, 255, 255, 0.82); }

.yt {
  position: relative;
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--dark-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}
.yt img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.yt:hover img { transform: scale(1.035); }
.yt::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 27, 43, 0.6), rgba(8, 27, 43, 0.05) 55%);
  pointer-events: none;
}
.yt__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.6rem 0.8rem 0.8rem;
  border: 0;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font: 600 1rem var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}
.yt__play:hover,
.yt__play:focus-visible { background: var(--cream-on-dark); color: var(--dark); transform: translate(-50%, -50%) scale(1.04); }
.yt__cap {
  position: absolute;
  left: 1.4rem; bottom: 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-playing img,
.yt.is-playing .yt__play,
.yt.is-playing .yt__cap,
.yt.is-playing::before { display: none; }

/* Friday night: schedule + groups */
.cr-night {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.cr-night .weekly-list { max-width: none; }

/* Count-up stats inside the history row */
.cr-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.4rem;
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.cr-stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cr-stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) 1fr;
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: start;
}
.faq__side { position: sticky; top: 7.5rem; }
.faq__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.faq__side .event-meta { margin-top: 1.6rem; }
.faq__side .btn { margin-top: 1.4rem; }
.faq__side .back-link { display: block; margin-top: 1.2rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border: 0;
  background: none;
  text-align: left;
  font: 500 1.15rem/1.3 var(--font-display);
  color: var(--ink);
  cursor: pointer;
  transition: color 0.3s;
}
.faq__q:hover { color: var(--blue); }
.faq__q i {
  position: relative;
  flex: none;
  width: 1.9rem; height: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.5s var(--ease-out), background 0.3s, border-color 0.3s, color 0.3s;
}
.faq__q i::before,
.faq__q i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0.8rem; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] i {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: rotate(45deg);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.faq__a > div { overflow: hidden; }
.faq__a p {
  max-width: 40rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.faq__a p:last-child { padding-bottom: 1.4rem; }
.faq__a p + p { margin-top: 0.7rem; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Freedom band */
.freedom {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding-block: clamp(5rem, 10vw, 8rem);
  border-bottom: 1px solid var(--line-light);
}
.freedom__bg {
  position: absolute;
  inset: -12% 0;
  background: url("assets/stained-glass-light.jpg") center / cover no-repeat;
  opacity: 0.22;
  will-change: transform;
}
.freedom__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8, 27, 43, 0.55), rgba(8, 27, 43, 0.9));
}
.freedom__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 52rem;
}
.freedom__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.freedom__title em { color: var(--blue-bright); }
.freedom__quote {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.freedom__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

@media (max-width: 860px) {
  .cr-night { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .faq__side .event-meta { max-width: none; }
}
@media (max-width: 640px) {
  .yt { border-radius: 1rem; }
  .yt__play { padding: 0.6rem 1.2rem 0.6rem 0.6rem; font-size: 0.9rem; }
  .yt__play .watch__play { width: 2.4rem; height: 2.4rem; }
  .yt__cap { display: none; }
  .faq__q { font-size: 1.05rem; padding: 1.1rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .yt img, .freedom__bg { transition: none; transform: none !important; }
}

/* ==========================================================================
   Shared chrome — phones & small tablets.
   These rules used to live in home-mobile.css, which only the homepage loads,
   so the header, menu and footer rendered differently on interior pages.
   ========================================================================== */

/* The expanded menu can be taller than the screen: let it scroll on its own. */
.mobile-menu { overflow-y: auto; overscroll-behavior: contain; gap: 2rem; -webkit-overflow-scrolling: touch; }
.mobile-menu__nav, .mobile-menu__footer { flex-shrink: 0; }

@media (max-width: 767px) {
  /* Comfortable controls, including the compact fixed header. */
  .header__inner { padding-block: .75rem; gap: .5rem; flex-wrap: wrap; }
  .header__logo { max-width: 100%; min-width: 0; }
  .logo-text { min-width: 0; white-space: normal; }
  .header__actions { gap: .5rem; }
  .header__actions .btn--solid { min-height: 2.75rem; padding: .5rem .875rem; font-size: .8125rem; }
  .menu-toggle { min-width: 2.75rem; min-height: 2.75rem; }
  .footer__visit { min-height: 2.75rem; }

  .footer { padding-top: 2.5rem; }
  .footer__intro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .footer__brand { min-width: 0; }
  .footer__big { width: auto; white-space: normal; text-align: center; }
  .footer__big > span { max-width: 100%; overflow-wrap: anywhere; }
  .footer__mission-title { font-size: 1.625rem; text-align: left; text-wrap: pretty; }
  .footer__mission-title em { white-space: normal; }
  .footer__mission-copy { font-size: .9375rem; line-height: 1.6; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; margin-top: 1.5rem; padding-top: 1.5rem; font-size: .875rem; }
  .footer__head { margin-bottom: .5rem; letter-spacing: .1em; }
  .footer__col a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .footer__social { gap: .5rem; }
  .footer__social a { width: 2.75rem; height: 2.75rem; }
  .footer__base { margin-top: 1.5rem; gap: .5rem; }
}

@media (max-width: 359px) {
  .header__logo { gap: .375rem; }
  .logo-badge { width: 1.75rem; height: 1.75rem; }
  .logo-text { font-size: .75rem; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Launch fixes — accessibility, older-Safari fallbacks, touch targets
   ========================================================================== */

/* Skip link: first Tab stop on every page, visible only when focused. */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1.1rem;
  border-radius: 0.6rem;
  background: var(--dark);
  color: var(--cream-on-dark);
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; outline: 2px solid var(--blue-bright); outline-offset: 2px; }
main:focus { outline: none; }

/* Safari before 16 ignores `overflow-x: clip`; without this a decorative
   overhang becomes a sideways scrollbar. On <html> only, so sticky still works. */
@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

/* Gallery: keyboard focus shows the same tag a hover does. */
.gitem:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.gitem:focus-visible .gitem__tag { opacity: 1; transform: none; }
.gfilter:focus-visible, .lb-btn:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

/* Touch targets: calendar dots and the event back-link were 22–24px tall. */
.back-link { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (max-width: 640px) {
  .cal__evt { position: relative; }
  .cal__evt::after { content: ""; position: absolute; inset: -0.6rem; }
}

/* Desktop nav just above the 960px breakpoint: keep "About ▾" on one line so
   the header doesn't grow from 78px to 87px between 961 and ~975px. */
.header__nav a { white-space: nowrap; }
@media (max-width: 1040px) {
  .header__nav { gap: 1.4rem; }
}
.header.menu-open.menu-scrolled {
  background: var(--dark);
  box-shadow: 0 1px 0 rgba(243, 236, 221, 0.08);
}

/* Gallery on phones: two columns (one full-width photo per row made the page
   ~90,000px tall) and one swipeable row of filters instead of three wrapped rows. */
@media (max-width: 640px) {
  .gfilters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -1.25rem;
    padding: .25rem 1.25rem;
    margin-bottom: 1.25rem;
    scroll-padding-inline: 1.25rem;
  }
  .gfilters::-webkit-scrollbar { display: none; }
  .gfilter { flex: none; min-height: 2.75rem; }
  .mosaic { columns: 2; column-gap: .625rem; }
  .gitem { margin-bottom: .625rem; border-radius: .75rem; }
  .gitem__tag { display: none; }
}

/* Footer: small privacy link beside the copyright line */
.footer__legal { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.footer__legal:hover, .footer__legal:focus-visible { color: var(--cream-on-dark); }
