/* =========================================================
   Reign City Church: site styles
   Brand: red #D20A1B · ink #131A1C · cream #F7F2E8
   ========================================================= */

:root {
  --red: #d20a1b;
  --red-dark: #a8000f;
  --red-soft: #ff4d5a;
  --ink: #131a1c;
  --ink-2: #1d2629;
  --ink-3: #2a3538;
  --cream: #f7f2e8;
  --cream-2: #efe7d8;
  --paper: #fffdf8;
  --muted: #5d6669;
  --muted-light: #a9b1b3;
  --line: rgba(19, 26, 28, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { fill: currentColor; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
h3 { font-size: 1.6rem; line-height: 1.05; }
p { margin: 0 0 1.1em; }

.red { color: var(--red); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 60;
  height: 3px; width: 100%;
  background: var(--red);
  transform-origin: left; transform: scaleX(var(--progress, 0));
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-label);
  font-weight: 700; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  padding: .85em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 12px 28px -12px rgba(210, 10, 27, .7); }
/* light sweep across red buttons */
.btn-red::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-red:hover::after { left: 120%; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .55em 1.15em; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Labels ---------- */
.eyebrow, .kicker {
  font-family: var(--font-label);
  font-weight: 600; font-size: 1rem;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow { color: var(--muted-light); }
.kicker { display: flex; align-items: center; gap: .9rem; color: var(--red); }
.kicker.light { color: var(--red-soft); }

/* Triple parallel lines, borrowed from the "R" mark */
.triple {
  display: inline-block; width: 34px; height: 14px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}
.js .kicker .triple { background-size: 0 2px, 0 2px, 0 2px; transition: background-size .7s var(--ease); }
.js .kicker.in .triple { background-size: 100% 2px, 70% 2px, 100% 2px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.scrolled {
  --header-h: 64px;
  background: rgba(19, 26, 28, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.brand img { width: 44px; height: 44px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand-text {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.05rem; line-height: 1; letter-spacing: .03em;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) {
  font-family: var(--font-label); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.82); text-decoration: none;
  position: relative; padding: .25rem 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle .bar { display: block; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-11px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
  min-height: min(100vh, 980px); min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
}
.hero-lines {
  position: absolute; inset: -100px; pointer-events: none;
  background: repeating-linear-gradient(-60deg,
    transparent 0 46px, rgba(210, 10, 27, .18) 46px 48px);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 50%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 78% 50%, #000 10%, transparent 70%);
  animation: lines-drift 22s linear infinite;
}
@keyframes lines-drift {
  to { background-position: 191px 0; }
}
.hero-glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  right: -12vw; top: 50%; translate: 0 -50%;
  background: radial-gradient(circle, rgba(210,10,27,.28), transparent 60%);
  filter: blur(20px); pointer-events: none;
  animation: glow 7s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .55; scale: .92; } to { opacity: 1; scale: 1.05; } }

/* Senior Pastors: a faded black-and-white portrait behind the right side */
.hero-portrait {
  position: absolute; pointer-events: none;
  right: max(-60px, calc((100vw - var(--container)) / 2 - 120px));
  bottom: 0; height: calc(100% - var(--header-h) + 20px);
  aspect-ratio: 1054 / 1492;
  /* fade the bottom, and the right edge where the photo is cropped through her sleeve */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 50%), linear-gradient(to left, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to top, transparent 0%, #000 50%), linear-gradient(to left, transparent 0%, #000 22%);
          mask-composite: intersect;
}
.hero-portrait img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  opacity: var(--portrait-o, .42);
}
.js .hero-portrait img { opacity: 0; animation: portrait-in 2s .3s var(--ease) forwards; }
@keyframes portrait-in { from { opacity: 0; transform: scale(1.04); } to { opacity: var(--portrait-o, .42); transform: none; } }
/* Desktop: badge sits lower and a little smaller, over their shoulders, so both faces show */
@media (min-width: 981px) {
  .hero .hero-badge { width: min(100%, 340px); align-self: end; translate: -20px 10px; }
}

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.hero h1 {
  font-size: clamp(3.4rem, 8.6vw, 7.4rem);
  line-height: .92; margin-bottom: 1.5rem;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { transform: none; } }

.js .hero-in { opacity: 0; transform: translateY(18px); animation: fade-up .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

.hero-lead {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.35; max-width: 32ch;
  color: rgba(255,255,255,.88); margin-bottom: 2.25rem;
}
.hero-lead strong { display: block; font-weight: 700; color: #fff; }
.hero-lead span { display: block; color: var(--red-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.25rem; }

.next-service {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .6rem 1.1rem .6rem .9rem;
  border: 1px solid var(--line-light); border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-family: var(--font-label); font-weight: 500; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-light); text-decoration: none;
  transition: border-color .25s, color .25s, background .25s;
}
.next-service strong { color: #fff; font-weight: 700; margin-left: .25rem; }
.next-service:hover { border-color: var(--red); color: #fff; background: rgba(210,10,27,.12); }
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none;
  box-shadow: 0 0 0 0 rgba(210,10,27,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(210,10,27,.7); }
  70% { box-shadow: 0 0 0 12px rgba(210,10,27,0); }
  100% { box-shadow: 0 0 0 0 rgba(210,10,27,0); }
}

.hero-badge { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; }
.hero-badge img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(210, 10, 27, .4));
  animation: float 6s ease-in-out infinite;
  transition: transform .2s linear;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.hero-badge .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(210, 10, 27, .5);
  animation: ripple 4.5s cubic-bezier(.2,.6,.3,1) infinite;
}
.hero-badge .r2 { animation-delay: 1.5s; }
.hero-badge .r3 { animation-delay: 3s; }
@keyframes ripple {
  from { transform: scale(.98); opacity: .9; }
  to { transform: scale(1.32); opacity: 0; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--red); border-radius: 2px;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--red); color: #fff; overflow: hidden;
  padding: 1.05rem 0;
  border-block: 1px solid rgba(0,0,0,.15);
}
.ticker-track {
  display: flex; align-items: center; gap: 1.75rem; width: max-content;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: .03em; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track i { font-style: normal; font-family: var(--font-label); font-weight: 700; opacity: .65; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end;
}
.section-intro { font-size: 1.15rem; max-width: 46ch; color: var(--muted); }

/* ---------- Vision ---------- */
.vision { background: var(--cream); }
.vision-quote {
  margin: 0; max-width: 20ch;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1;
}
.vision-quote em {
  font-style: normal; color: var(--red);
  text-decoration: underline; text-decoration-thickness: .055em; text-underline-offset: .09em;
  text-decoration-color: transparent;
  transition: text-decoration-color 1s var(--ease) .5s;
}
.vision-quote.in em { text-decoration-color: var(--red); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.pillar { padding: 2rem 2rem 0 0; transition: transform .35s var(--ease); }
.pillar + .pillar { padding-left: 2rem; border-left: 1px solid var(--line); }
.pillar:hover { transform: translateY(-4px); }
.pillar-num {
  display: block; font-family: var(--font-label); font-weight: 700;
  font-size: 1rem; letter-spacing: .15em; color: var(--red); margin-bottom: 1rem;
}
.pillar p { color: var(--muted); margin: 0; }

/* ---------- Pastors ---------- */
.pastors { background: var(--paper); position: relative; overflow: hidden; }
.pastors-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.pastors-photo { position: relative; margin: 0; }
.pastors-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 2px solid var(--red); border-radius: var(--radius);
  transition: inset .6s var(--ease);
}
.pastors-photo:hover::before { inset: 12px -12px -12px 12px; }
.pastors-photo img {
  position: relative; width: 100%;
  aspect-ratio: 9 / 10; object-fit: cover; object-position: 50% 100%;
  border-radius: var(--radius);
  background: var(--cream-2);
}
.pastors-photo figcaption {
  position: absolute; left: -1px; bottom: 28px;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; line-height: 1.05;
  padding: .9rem 1.3rem;
  border-left: 5px solid var(--red);
}
.pastors-photo figcaption span {
  display: block; font-family: var(--font-label); font-weight: 600; font-size: .85rem;
  letter-spacing: .2em; color: var(--red-soft); margin-bottom: .2rem;
}
.pastor-titles .sep { margin: 0 .6rem; }
.pastor-titles {
  font-family: var(--font-label); font-weight: 600; font-size: 1.1rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink) !important;
}
.pastors-copy p { color: var(--muted); max-width: 52ch; }
.pastor-socials { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.pastor-socials a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-label); font-weight: 600; font-size: 1.05rem; letter-spacing: .05em;
  text-decoration: none; color: var(--ink);
  padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color .25s, color .25s, background .25s;
}
.pastor-socials a:hover { border-color: var(--red); color: var(--red); background: rgba(210,10,27,.05); }
.pastor-socials svg { width: 18px; height: 18px; }

/* ---------- Scripture ---------- */
.scripture {
  position: relative; overflow: hidden;
  background: var(--red); color: #fff;
  padding: clamp(70px, 9vw, 120px) 0;
}
.scripture-lines {
  position: absolute; inset: -100px; pointer-events: none;
  background: repeating-linear-gradient(-60deg, transparent 0 30px, rgba(255,255,255,.08) 30px 32px);
  animation: lines-drift 30s linear infinite reverse;
}
.scripture-inner { position: relative; text-align: center; }
.verses { display: grid; }
.verse {
  grid-area: 1 / 1; margin: 0;
  opacity: 0; transform: translateY(16px); visibility: hidden;
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s;
}
.verse.active { opacity: 1; transform: none; visibility: visible; }
.verse blockquote {
  margin: 0 auto 1.5rem; max-width: 26ch;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.05;
}
.verse figcaption {
  font-family: var(--font-label); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.verse-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 2.25rem; }
.verse-dots button {
  width: 34px; height: 24px; padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(rgba(255,255,255,.35), rgba(255,255,255,.35)) center / 100% 4px no-repeat;
  position: relative;
}
.verse-dots button::after {
  content: ""; position: absolute; inset: 10px 0; border-radius: 2px; background: #fff;
  transform: scaleX(0); transform-origin: left;
}
.verse-dots button[aria-selected="true"]::after { animation: dot-fill var(--verse-ms, 7000ms) linear forwards; }
.scripture.paused .verse-dots button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }

/* ---------- Gatherings ---------- */
.gatherings { background: var(--ink); color: #fff; }
.gatherings .section-intro { color: var(--muted-light); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cards-row { display: contents; }
.swipe-hint { display: none; }
.card {
  position: relative; overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(210, 10, 27, .6); background: #222c2f; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted-light); }
.card p:last-child { margin-bottom: 0; }
.card-tag {
  font-family: var(--font-label); font-weight: 600; font-size: .95rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red-soft) !important;
  margin-bottom: .75rem;
}
.card-feature {
  grid-column: 1 / -1;
  background: var(--red);
  border-color: var(--red);
  padding: 2.5rem;
}
.card-feature::before { background: #fff; }
.card-feature::after {
  content: ""; position: absolute; right: -40px; top: -40px; bottom: -40px; width: 45%;
  background: repeating-linear-gradient(-60deg, transparent 0 22px, rgba(255,255,255,.14) 22px 24px);
  pointer-events: none;
  animation: lines-drift 18s linear infinite;
}
.card-feature:hover { background: var(--red); border-color: #fff; }
.card-feature h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.card-feature p { color: rgba(255,255,255,.9); max-width: 50ch; position: relative; z-index: 1; }
.card-feature .card-tag { color: rgba(255,255,255,.85) !important; }
.card-meta {
  font-family: var(--font-label); font-weight: 600; font-size: 1.1rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.card-meta a { color: #fff; }
.card-link {
  display: inline-block; margin-top: .5rem;
  font-family: var(--font-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.card-link:hover { color: var(--red-soft); }

/* ---------- Calendar ---------- */
.calendar-section { background: var(--cream); }
.cal-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.5rem; align-items: start; }
.cal, .cal-side > div {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 60px -45px rgba(19,26,28,.45);
}
.cal { padding: clamp(1rem, 3vw, 2rem); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.cal-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cal-nav {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line);
  background: transparent; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s, color .2s;
}
.cal-nav svg { width: 22px; height: 22px; }
.cal-nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdays span {
  text-align: center; padding-bottom: .5rem;
  font-family: var(--font-label); font-weight: 700; font-size: .9rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.cal-weekdays span:first-child { color: var(--red); }
.cal-grid.anim { animation: cal-in .45s var(--ease); }
@keyframes cal-in { from { opacity: 0; transform: translateX(var(--dir, 12px)); } }
.cal-cell {
  position: relative; aspect-ratio: 1 / .92; min-height: 44px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: .45rem .55rem;
  background: var(--cream); border: 1.5px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-align: left;
  font-family: var(--font-label); font-weight: 600; font-size: 1.15rem; line-height: 1;
  transition: background .2s, border-color .2s, transform .2s var(--ease), color .2s;
}
.cal-cell:hover { border-color: var(--red); transform: translateY(-2px); }
.cal-cell.out { opacity: .35; }
.cal-cell.past:not(.has-watch) { color: var(--muted); }
.cal-cell.today { border-color: var(--ink); }
.cal-cell.today::after {
  content: "Today"; position: absolute; top: .45rem; right: .5rem;
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red);
}
.cal-cell.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-cell.selected.today::after { color: var(--red-soft); }
.cal-dots { display: flex; gap: 4px; flex-wrap: wrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot-service { background: var(--red); }
.dot-event { background: var(--ink); box-shadow: inset 0 0 0 2px var(--red); }
.cal-cell.selected .dot-event { background: #fff; }
.dot-watch {
  width: 0; height: 0; border-radius: 0;
  border-left: 8px solid #c7a24a; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.cal-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.25rem;
  font-family: var(--font-label); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.cal-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.cal-today {
  margin-left: auto; border: 1.5px solid var(--line); background: transparent; border-radius: 999px;
  padding: .35rem .95rem; cursor: pointer;
  font-family: var(--font-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem;
}
.cal-today:hover { border-color: var(--red); color: var(--red); }

.cal-side { display: grid; gap: 1.5rem; }
.cal-day { padding: 1.75rem; min-height: 220px; }
.cal-day .day-label {
  font-family: var(--font-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); font-size: .95rem; margin-bottom: .25rem;
}
.cal-day .day-date { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; line-height: 1; margin-bottom: 1.25rem; }
.cal-day .empty { color: var(--muted); }
.event { padding: 1rem 0; border-top: 1px solid var(--line); animation: fade-up .45s var(--ease) both; }
.event:nth-child(2) { animation-delay: .06s; }
.event:nth-child(3) { animation-delay: .12s; }
.event h5 { margin: 0 0 .2rem; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; }
.event .meta {
  font-family: var(--font-label); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem;
}
.event p { margin: 0 0 .75rem; color: var(--muted); font-size: .98rem; }
.event-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.event-actions a, .event-actions button {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  font-family: var(--font-label); font-weight: 700; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.event-actions a:hover, .event-actions button:hover { border-color: var(--red); color: var(--red); }
.event-actions .watch-link { background: var(--red); color: #fff; border-color: var(--red); }
.event-actions .watch-link:hover { background: var(--red-dark); color: #fff; }
.event-actions svg { width: 14px; height: 14px; }

.cal-upcoming { padding: 1.75rem; }
.cal-upcoming h4 {
  margin: 0 0 .75rem; font-family: var(--font-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 1rem;
}
.cal-upcoming ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.cal-upcoming li { border-top: 1px solid var(--line); }
.cal-upcoming li button {
  width: 100%; display: flex; align-items: center; gap: 1rem; padding: .75rem 0;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.cal-upcoming li button:hover .up-title { color: var(--red); }
.up-date {
  flex: none; width: 52px; text-align: center; border-radius: var(--radius); padding: .35rem 0;
  background: var(--cream); line-height: 1;
}
.up-date b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.up-date small { font-family: var(--font-label); font-weight: 700; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--red); }
.up-title { display: block; font-weight: 600; transition: color .2s; }
.up-meta { display: block; font-size: .9rem; color: var(--muted); }

/* ---------- Watch ---------- */
.watch { background: var(--ink); color: #fff; }
.watch .section-intro { color: var(--muted-light); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .45rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line-light); color: var(--muted-light);
  font-family: var(--font-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: #fff; color: #fff; }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }

.player-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.player { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.player-facade, .player iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0;
  background: #000; cursor: pointer;
}
.player-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; opacity: .85; }
.player-facade:hover img { transform: scale(1.04); opacity: 1; }
.play-btn {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 0 0 0 rgba(210,10,27,.6); animation: pulse 2.2s infinite;
  transition: scale .3s var(--ease);
}
.play-btn svg { width: 36px; height: 36px; margin-left: 4px; }
.player-facade:hover .play-btn { scale: 1.1; }
.player-info { padding: 1.5rem 1.75rem 1.75rem; }
.player-meta {
  font-family: var(--font-label); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-soft); font-size: .95rem; margin-bottom: .4rem;
}
.player-info h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3rem; }
.player-speaker { color: var(--muted-light); margin: 0; }

.playlist {
  list-style: none; margin: 0; padding: 0 .5rem 0 0;
  max-height: 560px; overflow-y: auto;
  display: grid; gap: .5rem;
  scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.playlist li { animation: fade-up .4s var(--ease) both; }
.playlist button {
  width: 100%; display: grid; grid-template-columns: 136px 1fr; gap: 1rem; align-items: center;
  padding: .5rem; background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-align: left; transition: background .2s, border-color .2s;
}
.playlist button:hover { background: var(--ink-2); }
.playlist button[aria-current="true"] { background: var(--ink-2); border-color: var(--red); }
.pl-thumb { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-3); }
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.playlist button:hover .pl-thumb img { transform: scale(1.08); }
.pl-campus {
  position: absolute; left: 6px; bottom: 6px; padding: .1rem .4rem; border-radius: 3px;
  background: rgba(0,0,0,.75); font-family: var(--font-label); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
}
.pl-title { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; margin-bottom: .25rem; }
.pl-meta { display: block; font-size: .85rem; color: var(--muted-light); }

.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.social-group {
  padding: 1.25rem; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line-light);
  transition: border-color .35s;
}
.social-group:hover { border-color: rgba(210,10,27,.5); }
.social-group-head { display: flex; align-items: center; gap: .75rem; padding: 0 .5rem .9rem; }
.social-group-head svg { width: 30px; height: 30px; color: var(--red); flex: none; }
.social-name { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; line-height: 1; }
.social-group a {
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem .75rem; border-radius: var(--radius); border-top: 1px solid var(--line-light);
  text-decoration: none; color: #fff;
  transition: background .25s;
}
.social-group a:hover { background: rgba(210,10,27,.14); }
.social-group b {
  display: block; font-family: var(--font-label); font-weight: 700; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
}
.social-handle { display: block; color: var(--muted-light); font-size: .92rem; overflow-wrap: anywhere; }
.social-arrow { margin-left: auto; font-size: 1.3rem; color: var(--muted-light); transition: transform .3s var(--ease), color .3s; }
.social-group a:hover .social-arrow { transform: translate(3px, -3px); color: #fff; }

/* ---------- Live (YouTube) ---------- */
.nav-live {
  display: inline-flex; align-items: center; gap: .3rem; margin-left: .45rem; vertical-align: 2px;
  padding: .1rem .45rem; border-radius: 3px; background: var(--red); color: #fff;
  font-size: .72rem; letter-spacing: .1em; line-height: 1.4;
  animation: live-blink 1.6s ease-in-out infinite;
}
.nav-live[hidden], .live-toast[hidden], .yt-status[hidden] { display: none; }
@keyframes live-blink { 50% { opacity: .55; } }

.next-service.is-live { border-color: var(--red); background: rgba(210,10,27,.18); color: #fff; }
.next-service.is-live .pulse-dot { background: #fff; }

.yt-status {
  display: inline-flex; align-items: center; gap: .55rem; margin: 1rem 0 0;
  font-size: .88rem; color: var(--muted-light);
}
.yt-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf6e; box-shadow: 0 0 0 3px rgba(62,207,110,.18); }
.yt-status.is-live .yt-dot { background: var(--red); box-shadow: 0 0 0 0 rgba(210,10,27,.7); animation: pulse 1.6s infinite; }

.live-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .2rem .6rem; border-radius: 4px; background: var(--red); color: #fff;
  font-family: var(--font-label); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
}
.live-badge.upcoming { background: #fff; color: var(--ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: live-blink 1.2s ease-in-out infinite; }
.live-badge.upcoming .live-dot { background: var(--red); }

.player { position: relative; }
.player-live {
  position: absolute; left: 1rem; top: 1rem; z-index: 2; pointer-events: none;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.6);
}
.player-live[hidden] { display: none; }

.playlist .is-live-item button { border-color: var(--red); background: rgba(210,10,27,.14); }
.playlist .is-live-item .pl-campus { background: var(--red); }

.live-toast {
  position: fixed; left: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 45;
  display: flex; align-items: stretch; max-width: min(420px, calc(100vw - 100px));
  background: var(--ink); color: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(210,10,27,.6);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.6), 0 0 0 4px rgba(210,10,27,.15);
  animation: toast-in .6s var(--ease);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.live-toast-link {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: .35rem .75rem; align-items: center;
  padding: .9rem 1rem .9rem 1.1rem; text-decoration: none; flex: 1; min-width: 0;
}
.live-toast-title {
  grid-column: 1 / -1; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-toast-cta {
  grid-row: 1; grid-column: 2; justify-self: end;
  font-family: var(--font-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; color: var(--red-soft);
}
.live-toast-link:hover .live-toast-cta { color: #fff; }
.live-toast-close {
  width: 40px; border: 0; border-left: 1px solid var(--line-light); background: transparent; color: var(--muted-light);
  font-size: 1.4rem; cursor: pointer;
}
.live-toast-close:hover { color: #fff; background: rgba(255,255,255,.06); }

/* Calendar: what comes from the app */
.cal-note { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); }
.event-poster { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: .85rem; }
.event-full {
  display: inline-flex; align-items: center; padding: .4rem .8rem; border-radius: 999px; background: var(--cream-2);
  font-family: var(--font-label); font-weight: 700; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase;
}
.register-form { margin-top: 1rem; padding: 1rem; border-radius: var(--radius); background: var(--cream); }
.register-form .field { margin-bottom: .8rem; }
.register-form .field-row { gap: .75rem; }
.register-form label { display: block; }
.register-form input { margin-top: .35rem; background: #fff; }
.register-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.register-done { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- Get the App ---------- */
.get-app { background: var(--cream); position: relative; overflow: hidden; }
.get-app-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.get-app-copy > p { color: var(--muted); max-width: 46ch; }
.app-features {
  list-style: none; padding: 0; margin: 1.75rem 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem;
}
.app-features li {
  position: relative; padding-left: 1.6rem;
  font-family: var(--font-label); font-weight: 600; font-size: 1.05rem; letter-spacing: .03em;
}
.app-features li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg);
}
.app-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.app-android.is-soon { background: var(--muted); cursor: default; }
.app-android.is-soon:hover { transform: none; box-shadow: none; background: var(--muted); }
.app-android.is-soon::after { display: none; }
/* iPhone: add the app to the Home Screen, step by step. */
.ios-install {
  margin-top: 2rem; padding: clamp(1.25rem, 3vw, 1.75rem);
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius);
  box-shadow: 0 18px 40px -28px rgba(19, 26, 28, .35);
}
.ios-kicker { margin: 0 0 .2rem; font-family: var(--font-label); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.ios-install h3 { margin: 0 0 .6rem; font-family: var(--font-label); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; line-height: 1.2; text-transform: none; }
.ios-why { margin: 0 0 1.1rem; color: var(--muted); font-size: .97rem; }
.ios-steps { list-style: none; counter-reset: ios; margin: 0; padding: 0; display: grid; gap: .95rem; }
.ios-steps li { counter-increment: ios; position: relative; padding-left: 2.6rem; font-size: .98rem; line-height: 1.55; }
.ios-steps li::before {
  content: counter(ios); position: absolute; left: 0; top: -.05rem;
  display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--font-label); font-weight: 700; font-size: 1rem;
}
.ios-steps strong { color: var(--ink); }
.ios-glyph {
  display: inline-block; width: 1.25em; height: 1.25em; margin: 0 .15em; vertical-align: -.28em;
  fill: none; stroke: #0a84ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ios-open { display: flex; width: fit-content; margin-top: .7rem; }
.ios-check {
  margin: 1.2rem 0 0; padding: .8rem 1rem; border-radius: calc(var(--radius) / 1.5);
  background: var(--cream); font-size: .92rem; color: var(--ink-2);
}
.ios-check .app-host { white-space: nowrap; }
/* On an iPhone the Android download can't be used; the iPhone steps take its place. */
.is-apple-mobile .app-android { display: none; }

.phone {
  position: relative; justify-self: center;
  width: min(100%, 300px); aspect-ratio: 390 / 844;
  padding: 11px; border-radius: 46px;
  background: #0c1112;
  box-shadow: 0 0 0 2px #2a3538, 0 40px 80px -30px rgba(19, 26, 28, .55), 0 0 90px -10px rgba(210, 10, 27, .35);
  transform: rotate(3deg);
  transition: transform .6s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone::before {
  content: ""; position: absolute; z-index: -1; inset: -60px -90px;
  background: repeating-linear-gradient(-60deg, transparent 0 22px, rgba(210, 10, 27, .12) 22px 24px);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
          mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.phone-screen { width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: var(--cream); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (max-width: 980px) {
  .get-app-inner { grid-template-columns: 1fr; }
  .phone { width: min(70%, 260px); }
}
@media (max-width: 560px) {
  .app-features { grid-template-columns: 1fr; gap: .55rem; }
  .app-actions .btn { flex: 1 1 100%; }
}

/* ---------- Visit ---------- */
.visit { background: var(--paper); }
.visit-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.visit-copy > p { color: var(--muted); max-width: 46ch; }
.visit-details { list-style: none; padding: 0; margin: 2rem 0 2.25rem; display: grid; gap: 1.25rem; }
.visit-details li { display: flex; gap: 1rem; align-items: flex-start; }
.visit-details svg {
  width: 44px; height: 44px; flex: none; padding: 11px;
  background: var(--cream-2); border-radius: 50%; color: var(--red);
  transition: background .25s, color .25s;
}
.visit-details li:hover svg { background: var(--red); color: #fff; }
.visit-details strong {
  display: block; font-family: var(--font-label); font-weight: 600; font-size: .9rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.visit-details a { text-decoration: none; border-bottom: 1px solid var(--line); }
.visit-details a:hover { border-color: var(--red); color: var(--red); }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.campuses { margin-top: 2rem; }
.campus-tabs {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: 999px; background: var(--cream-2);
}
.campus-tabs button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: .6rem 1.6rem; border-radius: 999px;
  font-family: var(--font-label); font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .3s var(--ease);
}
.campus-tabs button[aria-selected="true"] { color: #fff; }
.campus-tabs-indicator {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--red);
  box-shadow: 0 8px 18px -8px rgba(210,10,27,.8);
  transition: transform .45s var(--ease);
}
.campus-tabs[data-active="dbn"] .campus-tabs-indicator { transform: translateX(100%); }
.campus-panel { animation: fade-up .5s var(--ease); }
.campus-panel .visit-details { margin-top: 1.75rem; }
.campus-socials { display: flex; gap: .5rem; }
.campus-socials a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--ink); transition: border-color .25s, color .25s, background .25s;
}
.campus-socials a:hover { border-color: var(--red); color: #fff; background: var(--red); }
.campus-socials svg { width: 20px; height: 20px; }

.map-label {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; pointer-events: none;
  padding: .35rem .8rem; border-radius: 4px; background: var(--ink); color: #fff;
  font-family: var(--font-label); font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase;
  border-left: 3px solid var(--red);
}
.map iframe { transition: opacity .4s var(--ease); }
.map.switching iframe { opacity: 0; }

.map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3.4; background: var(--cream-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(19,26,28,.5);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-copy p { color: var(--muted); max-width: 42ch; }
.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 30px 60px -40px rgba(19,26,28,.4);
}
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block; margin-bottom: .4rem;
  font-family: var(--font-label); font-weight: 600; font-size: .95rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: .75rem .9rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px 18px;
}
.field select::-ms-expand { display: none; }
.field select:hover { border-color: rgba(19,26,28,.3); }
.field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d20a1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field option { color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background-color: #fff; box-shadow: 0 0 0 4px rgba(210,10,27,.1);
}
.form-error { color: var(--red); font-weight: 600; margin-bottom: 1rem; }
.form-note { font-size: .9rem; color: var(--muted); text-align: center; margin: .85rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #0c1112; color: var(--muted-light); padding: 80px 0 0; }
.footer-mark {
  position: absolute; left: 50%; bottom: 40px; translate: -50% 0;
  font-family: var(--font-display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(5rem, 18vw, 16rem); line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06);
  pointer-events: none;
}
.footer-inner { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 2.5rem; padding-bottom: 60px; }
.footer-brand img { width: 88px; height: 88px; margin-bottom: 1.25rem; transition: transform .8s var(--ease); }
.footer-brand a:hover img { transform: rotate(360deg); }
.footer-brand p { max-width: 34ch; }
.footer-brand .footer-motto {
  margin-bottom: .5rem; color: #fff;
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; line-height: 1.1;
}
.footer-col h4 {
  font-family: var(--font-label); font-weight: 700; font-size: 1rem;
  letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 0 0 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; }
.footer-socials { display: flex; gap: .75rem; margin-bottom: 1.25rem; }
.footer-sub {
  margin: 0 0 .6rem; font-family: var(--font-label); font-weight: 600; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light);
}
.footer-campus {
  display: block; font-family: var(--font-label); font-weight: 700; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: .15rem;
}
.footer-socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-light); color: #fff;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.footer-socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-socials svg { width: 20px; height: 20px; }
.footer-bottom {
  position: relative;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid var(--line-light); padding-top: 24px; padding-bottom: 24px;
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating back-to-top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top-arrow { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.to-top:hover .to-top-arrow { transform: translateY(-3px); }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top-ring circle {
  fill: none; stroke: var(--red); stroke-width: 3;
  stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--progress, 0)));
}
.to-top:hover .to-top-ring circle { stroke: #fff; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; }
  .js .hero h1 .line > span { transform: none; }
  .ticker-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(19, 26, 28, .98);
    border-top: 1px solid var(--line-light);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .site-nav.open { max-height: 560px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem clamp(16px, 4vw, 40px) 1.5rem; }
  .site-nav li a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line-light); }
  .site-nav li a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1.25rem; width: 100%; }
  .site-header:has(.site-nav.open) { background: rgba(19, 26, 28, .98); }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .cal-layout, .player-layout { grid-template-columns: 1fr; }
  .cal-side { grid-template-columns: 1fr 1fr; }
  .playlist { max-height: none; overflow: visible; grid-template-columns: repeat(2, 1fr); padding: 0; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-badge { width: min(62%, 300px); justify-self: start; order: -1; margin: 0 0 1rem 24px; }
  .pastors-inner, .visit-inner, .contact-inner { grid-template-columns: 1fr; }
  .pastors-photo { max-width: 520px; }
  .section-head.split { grid-template-columns: 1fr; }
  .socials { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
}

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 1.75rem 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .cal-side { grid-template-columns: 1fr; }
  .playlist { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: 60px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .next-service { font-size: .92rem; }
  .card, .card-feature { padding: 1.75rem; }
  .card-feature::after { width: 60%; opacity: .6; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .pastors-photo::before { inset: 14px -10px -14px 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cal { padding: .85rem; }
  .cal-weekdays, .cal-grid { gap: 4px; }
  .cal-cell { padding: .35rem .4rem; font-size: 1rem; aspect-ratio: 1 / 1.05; }
  .cal-cell.today::after { content: ""; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
  .dot { width: 6px; height: 6px; }
  .cal-legend { gap: .75rem; font-size: .85rem; }
  .playlist button { grid-template-columns: 112px 1fr; }
  .play-btn { width: 64px; height: 64px; }
}

/* =========================================================
   Phone polish
   ========================================================= */
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head.split { gap: .25rem; }
  h2 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .section-intro { font-size: 1.05rem; }

  /* Swipeable rows: ministries, sermons, socials */
  .cards-row, .playlist, .socials {
    display: flex; gap: .85rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * clamp(16px, 4vw, 40px));
    padding-inline: clamp(16px, 4vw, 40px);
    scroll-padding-inline: clamp(16px, 4vw, 40px);
  }
  .cards-row::-webkit-scrollbar, .playlist::-webkit-scrollbar, .socials::-webkit-scrollbar { display: none; }
  .js .cards-row .reveal, .js .socials .reveal { opacity: 1; transform: none; }

  .swipe-hint {
    display: flex; align-items: center; gap: .5rem; margin: .5rem 0 -.25rem;
    font-family: var(--font-label); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted-light);
  }
  .swipe-hint::after { content: "\2192"; color: var(--red-soft); animation: nudge 1.6s ease-in-out infinite; }
  @keyframes nudge { 50% { transform: translateX(5px); } }

  .cards-row > .card { flex: 0 0 82%; scroll-snap-align: start; }
  .cards-row > .card:hover { transform: none; }

  .playlist { max-height: none; padding-bottom: .25rem; }
  .playlist li { flex: 0 0 68%; scroll-snap-align: start; }
  .playlist button { grid-template-columns: 1fr; gap: .6rem; padding: .5rem; background: var(--ink-2); border-color: var(--line-light); height: 100%; align-content: start; }
  .player-info { padding: 1.1rem 1.25rem 1.3rem; }

  .socials { margin-top: 2rem; }
  .socials > .social-group { flex: 0 0 80%; scroll-snap-align: start; padding: 1rem; }

  .vision-quote { line-height: 1.08; }
}

@media (max-width: 560px) {
  /* Hero: smaller badge so the headline and buttons fit on the first screen */
  .hero { min-height: 0; padding: calc(var(--header-h) + 28px) 0 56px; }
  .hero-inner { gap: 1.25rem; }
  .hero-badge { width: 136px; margin: 0 0 .5rem 10px; }
  .hero-portrait { --portrait-o: .16; right: -18%; }
  .hero-badge .ring { inset: -4px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.1rem); margin-bottom: 1rem; }
  .hero-lead { font-size: 1.05rem; margin-bottom: 1.5rem; }
  .hero-actions { gap: .7rem; margin-bottom: 1.5rem; }
  .next-service { width: 100%; justify-content: space-between; }
  .ticker { padding: .8rem 0; }
  .ticker-track { font-size: 1.2rem; }

  /* Pastors: name is already the heading, so drop the photo caption */
  .pastors-photo figcaption { display: none; }
  .pastors-photo img { aspect-ratio: 4 / 5; }
  .pastor-titles span { display: block; }
  .pastor-titles .sep { display: none; }
  .pastor-socials a { font-size: .98rem; padding: .45rem .85rem; }

  .scripture { padding: 64px 0; }
  .verse blockquote { font-size: clamp(1.6rem, 7.6vw, 2.1rem); }

  /* Calendar */
  .cal-title { font-size: 1.5rem; }
  .cal-day, .cal-upcoming { padding: 1.25rem; }
  .cal-day { min-height: 0; }
  .cal-day .day-date { font-size: 1.7rem; }

  /* Visit */
  .campus-tabs { display: grid; width: 100%; }
  .campus-tabs button { padding: .65rem 1rem; }
  .visit-actions .btn { flex: 1; }
  .map { aspect-ratio: 4 / 3.3; }
  .map-label { top: .6rem; right: .6rem; font-size: .78rem; }

  .contact-form { padding: 1.25rem; }

  /* Footer: brand on top, Explore + Follow side by side, campuses below */
  .site-footer { padding-top: 56px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; padding-bottom: 40px;
    grid-template-areas: "brand brand" "explore follow" "campus campus";
  }
  .footer-inner > :nth-child(1) { grid-area: brand; display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; align-items: center; }
  .footer-brand > a { grid-row: span 2; }
  .footer-brand .footer-motto { margin: 0; font-size: 1.2rem; }
  .footer-inner > :nth-child(2) { grid-area: explore; }
  .footer-inner > :nth-child(3) { grid-area: campus; }
  .footer-inner > :nth-child(4) { grid-area: follow; }
  .footer-brand img { width: 64px; height: 64px; margin: 0; }
  .footer-brand p { margin: 0; font-size: .95rem; }
  .footer-socials a { width: 40px; height: 40px; }
  .footer-bottom { flex-direction: column; gap: .5rem; padding-bottom: 88px; }
  .footer-mark { display: none; }

  .live-toast { left: 12px; bottom: 12px; }
  .to-top { width: 48px; height: 48px; right: 12px; bottom: 12px; }
}

/* ---------- Zerubbabel Project (building fund) ---------- */
.zerub {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 85% 20%, rgba(210,10,27,.16), transparent 60%), var(--ink);
  color: #fff;
}
.zerub-grid {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.zerub-word {
  position: absolute; left: 0; bottom: -.18em; white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); text-transform: uppercase; line-height: 1;
  font-size: clamp(8rem, 22vw, 20rem); color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  display: flex; gap: .4em; animation: zerub-drift 60s linear infinite;
}
@keyframes zerub-drift { to { transform: translateX(-50%); } }

.zerub .container { position: relative; }
.zerub-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.zerub h2 { font-size: clamp(3rem, 7vw, 6rem); line-height: .9; margin-bottom: 1.75rem; }

.zerub-verse {
  margin: 0 0 1.5rem; padding-left: 1.25rem; border-left: 3px solid var(--red);
  font-family: var(--font-label); font-weight: 500; font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.4; color: #fff; max-width: 40ch;
}
.zerub-verse cite {
  display: block; margin-top: .6rem; font-style: normal; font-weight: 700; font-size: .95rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red-soft);
}
.zerub-lead { color: var(--muted-light); max-width: 48ch; margin: 0 0 2.25rem; }

/* progress */
.zerub-progress {
  position: relative; margin-bottom: 2.25rem; padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--line-light); border-radius: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.zerub-progress[hidden] { display: none; }
.zp-figures { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; }
.zp-label {
  display: block; font-family: var(--font-label); font-weight: 600; font-size: .9rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); margin-bottom: .2rem;
}
.zp-figures strong { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: .01em; }
.zp-raised { font-size: clamp(2.2rem, 4.4vw, 3.2rem); color: #fff; font-variant-numeric: tabular-nums; }
.zp-goal { text-align: right; }
.zp-goal strong { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--muted-light); }
.zp-bar { position: relative; height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.zp-fill {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(90deg, var(--red-dark), var(--red) 70%, var(--red-soft));
  box-shadow: 0 0 18px rgba(210,10,27,.6);
  transition: width 2.2s var(--ease) .3s;
}
.zp-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-100%); animation: zp-shine 3.2s 2.6s ease-in-out infinite;
}
@keyframes zp-shine { 60%, 100% { transform: translateX(100%); } }
.zp-stages {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; justify-content: space-between; gap: .5rem;
  font-family: var(--font-label); font-weight: 600; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.zp-stages li { display: flex; align-items: center; gap: .45rem; }
.zp-stages li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.zp-stages li.done { color: rgba(255,255,255,.8); }
.zp-stages li.done::before { background: var(--red); border-color: var(--red); }
.zp-stages li.now { color: #fff; }
.zp-stages li.now::before { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 0 rgba(210,10,27,.7); animation: pulse 2s infinite; }
.zp-sample {
  position: absolute; top: -.7rem; right: 1rem; padding: .1rem .6rem; border-radius: 99px;
  background: #e7b416; color: var(--ink); font-family: var(--font-label); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.zp-sample[hidden] { display: none; }

.zerub-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* blueprint drawing */
.zerub-art {
  position: relative; margin: 0; padding: 3rem 1.75rem 2.75rem;
  border: 1px solid var(--line-light); border-radius: 4px;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) -1px -1px / 20px 20px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) -1px -1px / 20px 20px,
    rgba(255,255,255,.015);
}
.za-corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--red); }
.za-corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.za-corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.za-corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.za-corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.za-tag {
  position: absolute; left: 1.75rem; right: 1.75rem; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-label); font-weight: 600; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.za-tag-top { top: 1rem; }
.za-tag-bottom { bottom: .9rem; justify-content: flex-start; gap: 1.5rem; }
.za-key { display: inline-flex; align-items: center; gap: .5rem; }
.za-key i { width: 22px; height: 0; border-top: 2px solid #fff; }
.za-key i.dash { border-top: 2px dashed var(--red-soft); }
.za-svg { display: block; width: 100%; height: auto; overflow: visible; }
.za-svg * { vector-effect: non-scaling-stroke; }
.za-svg path, .za-svg line, .za-svg rect, .za-svg circle, .za-svg polyline { fill: none; }
.za-svg .za-bricks > rect { fill: rgba(210,10,27,.22); }
.za-course { stroke: rgba(255,255,255,.18); }
.za-crane { stroke: rgba(255,255,255,.42); stroke-width: 1.25; stroke-linejoin: round; }
.za-hook { transform-origin: 330px 70px; animation: za-swing 5s ease-in-out infinite alternate; }
@keyframes za-swing { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.za-guide { stroke: rgba(255,255,255,.12); stroke-width: 1; stroke-dasharray: 2 6; }
.za-future { stroke: var(--red-soft); stroke-width: 1.5; stroke-dasharray: 6 6; opacity: .75; animation: za-march 1.6s linear infinite; }
@keyframes za-march { to { stroke-dashoffset: -24; } }
.za-built { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.za-bricks { stroke: rgba(255,255,255,.7); stroke-width: 1.25; fill: rgba(210,10,27,.22); }
.za-dim { stroke: rgba(255,255,255,.3); stroke-width: 1; }
.za-text { fill: rgba(255,255,255,.45); font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

.js .za-built > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.js .zerub-art.in .za-built > * { stroke-dashoffset: 0; }
.js .zerub-art.in .za-built > :nth-child(2) { transition-delay: .3s; }
.js .zerub-art.in .za-built > :nth-child(3) { transition-delay: .6s; }
.js .zerub-art.in .za-built > :nth-child(4) { transition-delay: .9s; }
.js .za-bricks, .js .za-future, .js .za-crane { opacity: 0; transition: opacity 1s var(--ease) 1.4s; }
.js .zerub-art.in .za-bricks, .js .zerub-art.in .za-crane { opacity: 1; }
.js .zerub-art.in .za-future { opacity: .75; }

/* ways to give */
.zerub-ways {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: clamp(56px, 7vw, 88px);
}
.zw {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 2rem 1.75rem 1.75rem; border-radius: 10px;
  border: 1px solid var(--line-light); background: var(--ink-2);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  overflow: hidden;
}
.zw::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.zw:hover { transform: translateY(-4px); border-color: rgba(210,10,27,.5); background: #212b2e; }
.zw:hover::before { transform: scaleX(1); }
.zw-num {
  position: absolute; top: 1.1rem; right: 1.4rem;
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: rgba(255,255,255,.07);
}
.zw-icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: rgba(210,10,27,.15); fill: var(--red-soft); margin-bottom: 1.25rem; }
.zw h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.zw p { color: var(--muted-light); margin: 0 0 1.25rem; font-size: 1rem; }
.zw p strong { color: #fff; font-weight: 600; }
.zw-link {
  margin-top: auto; display: inline-flex; gap: .5rem; align-items: center;
  font-family: var(--font-label); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: .15rem;
}
.zw-link span { transition: transform .25s var(--ease); }
.zw-link:hover span { transform: translateX(4px); }
.zw-ref {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .75rem 1rem; margin-bottom: .75rem; cursor: pointer;
  border: 1px dashed rgba(255,77,90,.6); border-radius: 6px; background: rgba(210,10,27,.08);
  font-family: var(--font-label); font-weight: 700; font-size: 1.15rem; letter-spacing: .14em; color: #fff; text-align: left;
  transition: background .25s, border-color .25s;
}
.zw-ref em { font-style: normal; font-weight: 500; color: var(--muted-light); letter-spacing: .06em; }
.zw-ref:hover { background: rgba(210,10,27,.16); border-color: var(--red-soft); }
.zw-copy-label { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-soft); }
.zw-ref.copied .zw-copy-label { color: #fff; }
.zw .zw-small { margin: auto 0 0; font-size: .92rem; color: rgba(255,255,255,.45); }

@media (max-width: 980px) {
  .zerub-inner { grid-template-columns: 1fr; }
  .zerub-art { max-width: 560px; }
  .zerub-ways { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 560px) {
  .zerub-progress { padding: 1.25rem 1.1rem 1rem; }
  .zp-stages { font-size: .74rem; letter-spacing: .05em; }
  .zp-stages li { flex-direction: column; gap: .35rem; text-align: center; }
  .zerub-actions .btn { flex: 1 1 100%; }
  .zerub-art { padding: 2.6rem 1rem 2.4rem; }
  .za-tag { left: 1rem; right: 1rem; font-size: .72rem; letter-spacing: .14em; }
}
@media (prefers-reduced-motion: reduce) {
  .zerub-word, .za-future, .za-hook, .zp-fill::after { animation: none; }
}
