/* Greater Faith Louisville Central — DNA: revival tent in a tailored suit.
   Big, bold, brief. Full color always. Colors extracted from their logos.

   ONE type family (Martin, 2026-07-21: subtext must be motivated by the
   display face): Archivo ExtraCondensed Black for headlines, Archivo
   SemiCondensed SemiBold for labels/buttons/times, Archivo for body. The
   section-label chevron is their own logo mark (the ">"), not a borrowed
   device. Hero imagery continues past the fold and ombres into the page
   (Martin's continuation note) — no hard cutoffs, no dead space. */

@font-face {
  font-family: "Archivo XC";
  src: url("/assets/fonts/archivo-xc-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo C";
  src: url("/assets/fonts/archivo-c-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo SC";
  src: url("/assets/fonts/archivo-sc-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Palette sampled from their delivered wordmark (GREATER FAITH LOGO
     BLK.png, 4355px): the brand red gradient runs #680808 -> #880810,
     dominant #700808/#780810, hue 355.7deg at 88% saturation.
     Their exact reds measure 1.6-1.9:1 on this ink -- illegible as text
     -- so the ONE derived value (--accent-bright) keeps their exact hue
     and saturation and lifts only lightness until it clears WCAG
     (5.4:1). Everything else is the sampled hex, untouched. */
  --ink: #120e0e;
  --ink-soft: #1c1514;
  --paper: #faf7f2;
  --paper-dim: rgba(250, 247, 242, 0.68);
  --accent: #880810;        /* sampled: top of their gradient — buttons, fields */
  --accent-deep: #700808;   /* sampled: their dominant red — hovers, text on paper */
  --accent-bright: #f34955; /* their hue 355.7 / sat 88, lightness lifted for 5.4:1 on ink */
  --hair: rgba(250, 247, 242, 0.14);

  --display: "Archivo XC", "Arial Narrow", system-ui, sans-serif;
  --display-c: "Archivo C", "Arial Narrow", system-ui, sans-serif;
  --label: "Archivo SC", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Section label: their logo chevron leads it. */
.microlabel {
  font-family: var(--label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.microlabel .chev { color: var(--accent-bright); margin-right: 10px; }

.display {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  font-family: var(--label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 20px 44px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 0; }

/* dashboard-managed announcement bar: appears only when the church has
   set one in their portal (content.js unhides it) */
.announce {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: var(--accent); color: #fff;
  font-family: var(--label); font-weight: 600; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; text-align: center;
  padding: 15px 6vw;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 6vw;
  background: linear-gradient(rgba(18, 14, 14, 0.72), rgba(18, 14, 14, 0));
}
.topbar > a { display: inline-flex; align-items: center; padding: 8px 6px; margin: -8px -6px; }
.topbar > a img { height: 40px; width: auto; }
.topbar nav { display: flex; gap: 20px; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.topbar nav a { opacity: 0.85; transition: opacity 0.2s ease; padding: 14px 4px; }
.topbar nav a:hover { opacity: 1; }

section { padding: 88px 6vw; }

/* ---------- hero band: the wall runs long and ombres into the page ---------- */
.heroband { position: relative; }
.reelwall {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 10px;
}
.reelcol { position: relative; overflow: hidden; }
.reeltrack { display: flex; flex-direction: column; gap: 10px; will-change: transform; }
.reeltrack.up   { animation: reelup 34s linear infinite; }
.reeltrack.down { animation: reeldown 38s linear infinite; }
@keyframes reelup   { from { transform: translateY(0); }    to { transform: translateY(-50%); } }
@keyframes reeldown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.reeltile { aspect-ratio: 9 / 16; width: 100%; border-radius: 14px; overflow: hidden; background: var(--ink-soft); }
.reeltile img { width: 100%; height: 100%; object-fit: cover; }

/* One scrim, two jobs: keep the hero copy readable up top, then dissolve
   the wall into solid ink so the page grows out of the imagery. */
.band-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 92% 58% at 50% 22%, rgba(18, 14, 14, 0.8) 0%, rgba(18, 14, 14, 0.42) 62%, transparent 100%),
    linear-gradient(to bottom,
      rgba(18, 14, 14, 0.32) 0%,
      rgba(18, 14, 14, 0.4) 42%,
      rgba(18, 14, 14, 0.66) 62%,
      rgba(18, 14, 14, 0.9) 80%,
      var(--ink) 94%);
}

.hero {
  position: relative; z-index: 2;
  height: 100svh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 96px 6vw 0;
}
.hero h1 { margin: 0 0 30px; }
.hero h1 .l1, .hero h1 .l2 { display: block; font-size: clamp(2.5rem, 6.6vw, 6rem); }
.hero h1 .l3 { display: block; font-size: clamp(2.9rem, 8vw, 7.2rem); color: var(--accent-bright); }
.hero-times {
  font-family: var(--label); font-weight: 600; font-size: 15px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 38px;
}
.hero-times .dot { color: var(--accent-bright); margin: 0 12px; }
.hero-times .seg { white-space: nowrap; }

/* who we are — sits inside the band, over the fading wall */
.statement {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px 60px; align-items: end;
  padding-top: 40px; padding-bottom: 150px;
}
.statement .microlabel { grid-column: 1 / -1; }
.statement h2 { font-size: clamp(3rem, 7.4vw, 6.4rem); margin-top: 14px; }
.statement p:not(.microlabel) { max-width: 36ch; font-size: 21px; font-weight: 500; line-height: 1.55; color: rgba(250, 247, 242, 0.95); padding-bottom: 0.4em; }

/* ---------- every color, one room ---------- */
.onecity { padding: 0; }
/* Head and photo share one grid cell: the room rises up BEHIND the
   headline and the ink gradient dissolves into it — the imagery keeps
   flowing, the text sits on top (Martin, 2026-07-21). */
.onecity-stack { display: grid; }
.onecity-head { grid-area: 1 / 1; z-index: 2; align-self: start; padding: 40px 6vw 0; }
.onecity-head h2 { font-size: clamp(3.4rem, 9.4vw, 8.6rem); margin-top: 14px; }
.onecity-head h2 em { font-style: normal; color: var(--accent-bright); }
.onecity-wide { grid-area: 1 / 1; position: relative; z-index: 1; }
.onecity-wide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    var(--ink) 0%,
    rgba(18, 14, 14, 0.86) 24%,
    rgba(18, 14, 14, 0.4) 48%,
    transparent 66%);
}
.onecity-wide img { width: 100%; height: min(120vh, 1080px); object-fit: cover; object-position: center 30%; }

/* Copy + CTA live inside the collage, centered against the photos. */
.onecity-collage {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px;
  align-items: end;
  padding: 14px 10px 0;
}
.onecity-collage .cc-cta {
  grid-column: span 4;
  align-self: center;
  padding: 0 24px 0 5vw;
}
.onecity-collage .cc-cta p {
  max-width: 32ch; font-size: 21px; font-weight: 500; line-height: 1.55;
  color: rgba(250, 247, 242, 0.95);
  margin-bottom: 30px;
}
.onecity-collage figure { overflow: hidden; border-radius: 12px; }
.onecity-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.onecity-collage figure:hover img { transform: scale(1.04); }
.onecity-collage .cc1 { grid-column: span 3; aspect-ratio: 3 / 4; }
.onecity-collage .cc2 { grid-column: span 2; aspect-ratio: 4 / 5; transform: translateY(-34px); }
.onecity-collage .cc3 { grid-column: span 3; aspect-ratio: 3 / 4.6; }

/* ---------- god still moves: text and prints interlock ---------- */
.moves {
  padding-bottom: 96px;
  background:
    radial-gradient(ellipse 85% 70% at 22% 30%, rgba(119, 13, 15, 0.2), transparent 68%),
    var(--ink-soft);
}
.moves-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 26px 5vw;
}
.moves h2 { font-size: clamp(3rem, 7.8vw, 6.8rem); margin-top: 14px; max-width: 9ch; }
.moves-copy { max-width: 38ch; font-size: 20px; font-weight: 500; line-height: 1.55; color: rgba(250, 247, 242, 0.95); margin-top: 22px; }
.print { overflow: hidden; border-radius: 12px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); }
.print img { width: 100%; height: 100%; object-fit: cover; }
/* the altar photo is landscape (1920x1442); a portrait box would crop away
   40% of the scene and enlarge the rest. The box takes the source's shape. */
.print.wide { aspect-ratio: 4 / 3; align-self: start; }
.print.elder { aspect-ratio: 3 / 4; width: 64%; margin-top: 32px; }

/* Their corner of Louisville, drawn in their own hand — not an embed.
   The whole card is a link out to real directions. */
.mapcard {
  display: block; position: relative;
  margin-top: 48px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--hair);
  background:
    radial-gradient(ellipse 80% 70% at 30% 20%, rgba(119, 13, 15, 0.16), transparent 70%),
    var(--ink);
  transition: border-color 0.3s ease;
}
.mapcard:hover { border-color: var(--accent-bright); }
.brandmap { display: block; width: 100%; height: auto; }
.street { fill: none; stroke: rgba(250, 247, 242, 0.15); stroke-width: 3; stroke-linecap: round; }
.street.thin { stroke-width: 1.5; stroke: rgba(250, 247, 242, 0.09); }
.street.main { stroke-width: 7; stroke: rgba(250, 247, 242, 0.32); }
.mlabel { font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: 2.4px; fill: rgba(250, 247, 242, 0.42); }
.mplace { font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: 1.8px; fill: rgba(250, 247, 242, 0.5); }
.mdot { fill: rgba(250, 247, 242, 0.34); }
.mchev { font-family: var(--display); font-size: 32px; fill: #fff; }
.mname { font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: 2.6px; fill: var(--paper); }
.maddr { font-family: var(--label); font-size: 11px; font-weight: 600; letter-spacing: 2px; fill: rgba(250, 247, 242, 0.55); }
.mring {
  fill: none; stroke: var(--accent-bright); stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  animation: mpulse 2.8s ease-out infinite;
}
.mring.r2 { animation-delay: 1.4s; }
@keyframes mpulse {
  from { opacity: 0.75; transform: scale(0.5); }
  to { opacity: 0; transform: scale(1.9); }
}
.mapcard:hover .mappin rect { fill: var(--accent-deep); }
.mapgo {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--label); font-weight: 600; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 8px;
}

/* ---------- find us: the campus in 3D, unboxed ---------- */
.findus { position: relative; height: min(94vh, 880px); padding: 0; overflow: hidden; background: var(--ink); }
#findus3d { position: absolute; inset: 0; }
#findus3d canvas { display: block; }
/* edges dissolve into the NEIGHBORING sections — no frame, no box.
   Above sits ink (onecity), below sits ink-soft (the altar section), so
   each fade targets its neighbor's actual color and the page reads as one
   continuous surface. */
.findus::before, .findus::after {
  content: ""; position: absolute; left: 0; right: 0; height: 180px;
  z-index: 2; pointer-events: none;
}
.findus::before { top: 0; background: linear-gradient(var(--ink), transparent); }
.findus::after { bottom: 0; background: linear-gradient(transparent, var(--ink-soft)); }
.findus-copy { position: absolute; left: 6vw; bottom: 70px; z-index: 3; max-width: 500px; }
.findus-copy h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin: 14px 0 16px; }
.findus-addr {
  font-family: var(--label); font-weight: 600; font-size: 14px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 28px;
}
.findus-hint {
  position: absolute; right: 6vw; bottom: 70px; z-index: 3;
  font-family: var(--label); font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper-dim);
  border: 1px solid var(--hair); border-radius: 999px;
  padding: 10px 18px;
}
.mapline {
  font-family: var(--label); font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-dim);
  background: rgba(18, 14, 14, 0.5); padding: 14px 18px;
  border-top: 1px solid var(--hair);
}
.mapline .chev { color: var(--accent-bright); margin-right: 10px; }

/* ---------- visit band ----------
   The treatment: the sanctuary photo stands in a full arch — the shape
   of a church door — and rises OUT of the dark altar section into the
   paper, the page's one light-breaking moment. Doors open. */
.visit { background: var(--paper); color: var(--ink); position: relative; }
.visit .microlabel { color: rgba(18, 14, 14, 0.62); }
.visit .microlabel .chev { color: var(--accent-deep); }
.visit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.visit h2 { font-size: clamp(2.6rem, 6.2vw, 5rem); margin: 14px 0 22px; }
.visit p { color: rgba(18, 14, 14, 0.88); max-width: 40ch; font-size: 20px; font-weight: 500; line-height: 1.55; }
.visit-times { margin: 30px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.visit-times div { font-family: var(--display-c); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-transform: uppercase; line-height: 1.05; }
.visit-times small { display: block; font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 2px; }
.visit-photo {
  border-radius: 999px 999px 18px 18px;
  overflow: hidden; aspect-ratio: 4 / 5.4;
  margin-top: -200px;
  box-shadow: 0 24px 60px rgba(18, 14, 14, 0.45);
  border: 6px solid var(--paper);
}
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- inner pages ---------- */
.pagehero {
  position: relative; overflow: hidden;
  min-height: 64vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 150px 6vw 72px;
}
.pagehero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.pagehero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehero .ph-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(18, 14, 14, 0.6), rgba(18, 14, 14, 0.35) 45%, var(--ink) 96%);
}
.pagehero.plain { min-height: 46vh; background: var(--ink); }
.ph-duo { display: none; }
.pagehero > * { position: relative; z-index: 1; }
.pagehero h1 { font-size: clamp(3rem, 8vw, 7rem); margin-top: 14px; max-width: 14ch; }
.pagehero .ph-sub { max-width: 38ch; font-size: 21px; font-weight: 500; line-height: 1.55; color: rgba(250, 247, 242, 0.95); margin-top: 22px; }
.topbar nav a[aria-current="page"] { opacity: 1; color: var(--accent-bright); }

/* big time blocks (visit page) */
.bigtimes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 5vw; align-items: start; }
.bigtimes .bt div { font-family: var(--display-c); font-weight: 900; font-size: clamp(2.6rem, 6vw, 5rem); text-transform: uppercase; line-height: 1; }
.bigtimes .bt small { display: block; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 10px; }
.bigtimes .bt p { margin-top: 14px; font-size: 19px; font-weight: 500; color: rgba(250, 247, 242, 0.95); max-width: 34ch; }

/* expect trio (visit page) */
.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.expect figure { border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; }
.expect figure img { width: 100%; height: 100%; object-fit: cover; }
.expect h3 { font-family: var(--display-c); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; line-height: 1.05; margin: 18px 0 10px; }
.expect p { font-size: 17px; font-weight: 500; color: rgba(250, 247, 242, 0.9); max-width: 30ch; }
.expect .ex:nth-child(2) { transform: translateY(30px); }

/* story blocks (about page) */
.story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px 5vw; align-items: center; }
.story h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); margin-top: 14px; }
.story p { font-size: 20px; font-weight: 500; line-height: 1.6; color: rgba(250, 247, 242, 0.95); max-width: 38ch; margin-top: 20px; }
.story figure { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); }
.story figure img { width: 100%; height: 100%; object-fit: cover; }
.story.flip figure { order: -1; }
/* Kids facts (Brian asked whether three bare lines read well, 2026-07-27):
   a parent scans for the line that matches their child's age, so each fact
   gets a label instead of running as an undifferentiated list. */
.story .kids-facts { margin-top: 22px; display: grid; gap: 0; max-width: 34ch; }
.story .kids-facts > div {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px;
  align-items: baseline; padding: 11px 0;
  border-top: 1px solid rgba(250, 247, 242, 0.16);
}
.story .kids-facts > div:last-child { border-bottom: 1px solid rgba(250, 247, 242, 0.16); }
.story .kids-facts dt {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 13px; color: rgba(250, 247, 242, 0.95);
}
.story .kids-facts dd { margin: 0; font-size: 15px; text-align: right; color: rgba(250, 247, 242, 0.78); }
.believe { background: var(--paper); color: var(--ink); text-align: center; }
.believe .microlabel { color: rgba(18, 14, 14, 0.62); }
.believe .microlabel .chev { color: var(--accent-deep); }
.believe blockquote { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.95; font-size: clamp(2.4rem, 6.6vw, 5.6rem); max-width: 16ch; margin: 22px auto 0; }
.believe blockquote em { font-style: normal; color: var(--accent-deep); }
.believe .believe-copy { max-width: 62ch; margin: 26px auto 0; font-size: 18px; line-height: 1.65; color: rgba(18, 14, 14, 0.78); font-weight: 500; }

/* give page: one screen, one action (Martin, 2026-07-23). The verse IS
   the page; one button; the worship photo carries it. */
.giveshot {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 130px 6vw 100px;
}
.giveshot .bg { position: absolute; inset: 0; }
.giveshot .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.giveshot .bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 85% 70% at 50% 45%, rgba(18, 14, 14, 0.88) 0%, rgba(18, 14, 14, 0.66) 60%, rgba(18, 14, 14, 0.44) 100%);
}
.giveshot > * { position: relative; z-index: 2; }
.giveshot h1 { font-size: clamp(3rem, 8.6vw, 7.6rem); max-width: 12ch; margin: 16px 0 12px; }
.giveshot h1 em { font-style: normal; color: var(--accent-bright); }
.giveshot .cite { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paper-dim); margin-bottom: 42px; }
.giveshot .btn { font-size: 15px; padding: 24px 60px; }
.giveshot .fine { margin-top: 26px; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-dim); }

/* give page (legacy block, kept for other uses) */
.giveblock { text-align: center; padding-top: 40px; }
.giveblock p { max-width: 38ch; margin: 0 auto 34px; font-size: 20px; font-weight: 500; line-height: 1.6; color: rgba(250, 247, 242, 0.95); }

/* ---------- fact strip ---------- */
.factstrip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 0;
  padding: 26px 6vw;
  border-top: 1px solid var(--hair);
  font-family: var(--label); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-dim);
}
.factstrip span { display: inline-flex; align-items: center; }
.factstrip span + span::before { content: "\00B7"; margin: 0 18px; color: var(--accent-bright); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--hair); padding: 46px 6vw 60px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer img { height: 44px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-dim); }
footer nav a { display: inline-block; padding: 12px 4px; }
footer nav a:hover { color: var(--paper); }
.fineprint { width: 100%; font-size: 13px; color: var(--paper-dim); }
.fineprint a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-mask {
  clip-path: inset(100% 0 -0.2em 0);
  transform: translateY(0.6em);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-mask.in { clip-path: inset(-0.2em 0 -0.2em 0); transform: none; }
.reveal-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-wipe.in { clip-path: inset(0 0 0 0); }
/* offset cells keep their offsets while revealing */
.cc2.reveal { transform: translateY(-8px); }
.cc2.reveal.in { transform: translateY(-34px); }

/* ---------- mobile: still alive, just lighter ---------- */
@media (max-width: 860px) {
  section { padding: 68px 6vw; }
  /* times stack instead of clipping: one line per fact, no dots */
  .hero-times { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; letter-spacing: 0.22em; }
  .hero-times .dot { display: none; }
  /* fact strip stacks clean, separators off */
  .factstrip { flex-direction: column; align-items: center; gap: 10px; padding: 30px 6vw; text-align: center; }
  .factstrip span + span::before { content: none; margin: 0; }
  .topbar { padding: 8px 5vw; }
  .topbar nav { gap: 8px; font-size: 10px; letter-spacing: 0.08em; }
  .topbar nav a { padding: 16px 5px; }
  .topbar > a img { height: 30px; }
  /* Brian asked for every photo to reach the phone, not just half of them
     (2026-07-27). All four columns now run on mobile; the tiles get smaller
     but the wall sits BEHIND the headline as atmosphere, so density reads
     better there than size. */
  .reelwall { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .statement { grid-template-columns: 1fr; align-items: start; padding-bottom: 110px; }
  .onecity-head { padding-top: 20px; }
  .onecity-wide img { height: 78vh; }
  /* Mobile principle (Martin, 2026-07-24): text sits ON the images.
     Scrimmed overlays instead of stacked blocks — less scroll, faster
     navigation. */
  .onecity-collage { grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: start; }
  .onecity-collage .cc1 { grid-column: span 1; }
  .onecity-collage .cc2 { grid-column: span 1; transform: none; aspect-ratio: 3 / 4; }
  .onecity-collage .cc2.reveal, .onecity-collage .cc2.reveal.in { transform: none; }
  /* copy + CTA sit on the wide third photo */
  .onecity-collage .cc3 { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 4 / 4.6; position: relative; }
  .onecity-collage .cc3::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(18, 14, 14, 0.2), rgba(18, 14, 14, 0.55) 45%, rgba(18, 14, 14, 0.92));
  }
  .onecity-collage .cc-cta {
    grid-column: 1 / -1; grid-row: 2; z-index: 2;
    align-self: end; text-align: center;
    padding: 0 6vw 30px; max-width: none;
  }
  .onecity-collage .cc-cta p { margin-left: auto; margin-right: auto; font-size: 18px; }
  /* altar: text on the elder print, then the two remaining prints */
  .moves-grid { grid-template-columns: 1fr; gap: 12px; }
  .moves-grid > div:first-child {
    grid-area: 1 / 1; z-index: 2; align-self: end;
    padding: 0 20px 26px;
  }
  .print.wide { grid-area: 1 / 1; aspect-ratio: 4 / 3; position: relative; align-self: end; }
  .print.wide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(18, 14, 14, 0.15), rgba(18, 14, 14, 0.5) 50%, rgba(18, 14, 14, 0.92));
  }
  .moves h2 { max-width: none; }
  .moves-copy { font-size: 17px; }
  .print.elder { width: 100%; margin-top: 0; }
  /* story blocks (about, groups): text on the photo */
  .story { position: relative; border-radius: 16px; overflow: hidden; display: flex; align-items: flex-end; min-height: 500px; }
  .story > div { position: relative; z-index: 2; padding: 24px 20px 28px; }
  .story figure, .story.flip figure {
    position: absolute; inset: 0; order: 0;
    border-radius: 0; box-shadow: none; aspect-ratio: auto;
  }
  .story figure::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(18, 14, 14, 0.2), rgba(18, 14, 14, 0.5) 45%, rgba(18, 14, 14, 0.92));
  }
  .story h2 { font-size: clamp(2.1rem, 8.6vw, 2.8rem); }
  .story p { font-size: 17px; }
  /* expect cards (visit): captions on the photos */
  .expect { gap: 12px; }
  .expect .ex {
    position: relative; border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 380px; padding: 0 18px 20px;
  }
  .expect .ex figure { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
  .expect .ex figure::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(18, 14, 14, 0.1), rgba(18, 14, 14, 0.45) 55%, rgba(18, 14, 14, 0.9));
  }
  .expect h3, .expect p { position: relative; z-index: 2; }
  .expect h3 { margin: 0 0 6px; }
  .expect p { font-size: 15px; max-width: none; color: rgba(250, 247, 242, 0.95); }
  /* Mobile visit band (Martin, 2026-07-24): the arch sits BEHIND the
     text as a washed backdrop rising from the bottom; the text sits
     centered in front. One layered composition instead of a busy stack. */
  .visit { position: relative; overflow: hidden; padding-bottom: 150px; }
  .visit-grid { grid-template-columns: 1fr; position: static; }
  .visit-grid > div:first-child {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
  }
  .visit-grid p { margin-left: auto; margin-right: auto; }
  .visit-times { align-items: center; }
  .visit-photo,
  .visit-photo.reveal,
  .visit-photo.reveal.in {
    position: absolute; left: 50%; bottom: -40px;
    transform: translateX(-50%);
    width: min(120%, 520px); margin: 0; z-index: 1;
    border: 0; box-shadow: none;
  }
  .visit-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, var(--paper) 0%, rgba(250, 247, 242, 0.94) 32%, rgba(250, 247, 242, 0.78) 55%, rgba(250, 247, 242, 0.45) 80%, rgba(250, 247, 242, 0.25) 100%);
  }
  .findus { height: 76vh; }
  /* mobile Find Us copy: even rhythm, two-line headline, full-width block */
  .findus-copy { bottom: 44px; left: 6vw; right: 6vw; max-width: none; }
  .findus-copy h2 { font-size: clamp(2.2rem, 9.5vw, 3rem); max-width: 12ch; margin: 12px 0 16px; }
  .findus-addr { font-size: 12px; letter-spacing: 0.16em; margin-bottom: 24px; }
  .findus-hint { display: none; }
  .pagehero { min-height: 54vh; padding-top: 120px; }
  .bigtimes { grid-template-columns: 1fr; }
  .expect { grid-template-columns: 1fr; }
  .expect .ex:nth-child(2) { transform: none; }
  .expect figure { aspect-ratio: 4 / 3; }
  .story { grid-template-columns: 1fr; }
  .story.flip figure { order: 0; }
  .mlabel { font-size: 15px; }
  .mplace { font-size: 14px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reeltrack.up, .reeltrack.down { animation: none; }
  .mring { animation: none; opacity: 0.35; }
  .reeltrack.down { transform: translateY(-12%); }
  .reveal, .reveal-mask, .reveal-wipe { opacity: 1; transform: none; transition: none; clip-path: none; }
  .cc2.reveal, .cc2.reveal.in { transform: translateY(-34px); }
  html { scroll-behavior: auto; }
}


/* ---------- desktop art direction (Martin, 2026-07-26): portrait photos
   composed at native scale, prints collaged with overlap, tighter scroll.
   Mobile keeps its own composition untouched. ---------- */
@media (min-width: 861px) {
  /* one room band: the photo's people all sit in the bottom third, so
     anchor the crop there — a top-weighted crop shows only empty wall */
  .onecity-wide img { height: min(92vh, 860px); object-position: center bottom; }

  /* visit hero: ink field + portrait panel at true resolution */
  .pagehero.split { min-height: 74vh; background: var(--ink); }
  .pagehero.split .ph-bg {
    left: auto; right: 6vw; top: 120px; bottom: 64px;
    width: min(38vw, 600px);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  }
  .pagehero.split .ph-bg::after {
    background: linear-gradient(to top, rgba(18, 14, 14, 0.4), transparent 42%);
  }
  /* landscape hero source: the photo semi-fills the band and the text
     rests on the scrim (Martin, 2026-07-26) — the give treatment, not
     a floating panel */
  .pagehero.split .ph-land { top: 0; bottom: 0; left: 0; right: 0; width: auto; transform: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .pagehero.split .ph-land img { object-position: 50% 38%; }
  .pagehero.split .ph-land::after {
    background:
      linear-gradient(to right, rgba(18, 14, 14, 0.92) 22%, rgba(18, 14, 14, 0.55) 52%, rgba(18, 14, 14, 0.14)),
      linear-gradient(to top, rgba(18, 14, 14, 0.6), transparent 32%);
  }
  .pagehero.split .microlabel,
  .pagehero.split h1,
  .pagehero.split .ph-sub { max-width: min(48vw, 620px); }

  /* god still moves: the mobile composition, translated to desktop.
     Headline overlaps the elder print, the girls print overlaps both,
     the wide print tucks beneath — one condensed interlocked block.
     The wide print stays static-flow so it never stacks above the
     visit band's arch below. */
  .moves { padding-bottom: 64px; }
  .moves-grid { gap: 0 0; }
  .moves-grid > div:first-child { position: relative; z-index: 2; margin-right: -12%; }
  .print.wide { position: relative; z-index: 1; margin-top: 0; margin-left: -16%; }
  /* the elder print tucks into the altar photo's lower-left corner; with the
     altar frame now landscape, it slides right to keep the layering and
     close the void that opened under it */
  .print.elder { width: 42%; margin-top: -16%; margin-left: 56%; position: relative; z-index: 3; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5); }

  /* expect trio: an overlapping fan instead of three spaced columns */
  .expect { gap: 0; }
  .expect .ex { position: relative; }
  .expect .ex:nth-child(1) { z-index: 1; }
  .expect .ex:nth-child(2) { transform: translateY(36px); z-index: 2; margin-left: -3.5%; margin-right: -3.5%; }
  .expect .ex:nth-child(3) { z-index: 3; }
  .expect figure { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42); }

  /* story bands (groups, about): a color band with the print mounted at
     native scale. The prints are 1152px sources — full-bleed desktop blew
     them up grainy (Martin, 2026-07-26), so the band itself carries the
     color and the photo stays a crisp panel, like the visit hero.
     560px cap keeps every print at or under 1:1 device pixels on retina. */
  .story {
    min-height: 60vh; border-radius: 16px;
    background: var(--ink-soft);
    padding: 72px min(5vw, 72px);
    gap: 30px 6%;
  }
  .story > div { max-width: 560px; }
  .story figure {
    width: 100%; max-width: min(30vw, 560px);
    justify-self: end;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  }
  .story.flip figure { justify-self: start; }
  /* landscape sources fill the band (Martin, 2026-07-26): the give
     treatment, not a floating panel — media is the surface */
  .story.land { position: relative; display: flex; align-items: center; min-height: 56vh; border-radius: 16px; overflow: hidden; }
  .story.land > div { position: relative; z-index: 2; padding: 64px 6%; max-width: 52ch; }
  .story.land figure { position: absolute; inset: 0; margin: 0; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; justify-self: auto; }
  .story.land figure img { width: 100%; height: 100%; object-fit: cover; }
  .story.land figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(18, 14, 14, 0.88) 26%, rgba(18, 14, 14, 0.55) 54%, rgba(18, 14, 14, 0.16)); }
  .story.flip > div { justify-self: end; }

  /* about hero: the subject stands low in the frame — crop from the
     bottom so the band never reads as empty wall (same law as one room) */
  /* anchor to the upper frame: the choir, faces and raised hands live there.
     "center bottom" was left over from the previous photo and pinned the
     view to the congregation's lower bodies. */
  .pagehero .ph-bg img[src*="about-hero"] { object-position: center 45%; }

  /* groups hero: plain black + text read as unfinished (Martin,
     2026-07-26) — mount two native-scale tiles on the right, staggered
     and rectilinear, echoing the homepage collage language */
  .pagehero.plain { min-height: 62vh; }
  .ph-duo {
    display: flex; align-items: flex-start; position: absolute;
    right: 6vw; top: 50%; transform: translateY(-50%);
    z-index: 0;
  }
  .ph-duo figure {
    width: min(19vw, 300px); aspect-ratio: 3 / 4;
    border-radius: 12px; overflow: hidden; margin: 0;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  }
  .ph-duo img { width: 100%; height: 100%; object-fit: cover; }
  .ph-duo figure:nth-child(2) {
    margin-left: -9%; margin-top: 84px; position: relative; z-index: 2;
  }
}
