/* Potters House Barnet Church
   Built by exo31. One self-hosted typeface: Archivo (variable weight and width). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.e3a28eade2.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable.e3a28eade2.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* colour: taken from the globe logo and the theatre's red seats */
  --navy: #10263f;
  --navy-2: #183352;
  --red: #b7231f;
  --red-dark: #931713;
  --ink: #16222f;
  --body: #3b4757;
  --muted: #5b6676;
  --sky: #f4f5f8;          /* matches the sky in the hero photograph */
  --stone: #eef1f5;
  --white: #ffffff;
  --line: #dde2e9;

  /* type scale */
  --t-display: clamp(2.75rem, 6vw, 5rem);
  --t-h1: clamp(2.25rem, 4.2vw, 3.5rem);
  --t-h2: clamp(1.85rem, 3vw, 2.5rem);
  --t-h3: 1.25rem;
  --t-lead: clamp(1.125rem, 1.5vw, 1.3rem);
  --t-small: 0.875rem;

  /* spacing scale */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: clamp(3rem, 6vw, 4.5rem);
  --s7: clamp(4.5rem, 9vw, 7.5rem);

  --wrap: 1380px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 72px;
  --r: 6px;
  --shadow: 0 1px 2px rgba(16, 38, 63, 0.06), 0 18px 48px -18px rgba(16, 38, 63, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.65; font-stretch: 100%;
  color: var(--body); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 760; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-stretch: 114%; line-height: 1.04; }
h2 { font-size: var(--t-h2); font-stretch: 110%; line-height: 1.1; }
h3 { font-size: var(--t-h3); font-stretch: 105%; line-height: 1.25; font-weight: 700; letter-spacing: -0.005em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }
.is-dark :focus-visible, .band :focus-visible, .ticket :focus-visible { outline-color: #fff; }

/* ---------- Shared pieces ---------- */
.section { padding-block: var(--s7); }
.section--stone { background: var(--stone); }
.is-dark { background: var(--navy); color: rgba(255, 255, 255, 0.78); }
.is-dark h2, .is-dark h3 { color: #fff; }

.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s3) var(--s6); align-items: end; margin-bottom: var(--s6); }
.section-head p { max-width: 36em; color: var(--muted); }
.is-dark .section-head p { color: rgba(255, 255, 255, 0.72); }
.section-head--stack { grid-template-columns: 1fr; max-width: 44rem; gap: var(--s2); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: var(--s2); } }

.kicker { display: block; margin-bottom: var(--s1); font-size: var(--t-small); font-weight: 650; font-stretch: 90%; letter-spacing: 0.02em; color: var(--red); }
.field { display: block; margin-bottom: 0.3rem; font-size: var(--t-small); font-weight: 600; font-stretch: 86%; letter-spacing: 0.02em; color: var(--muted); }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 34em; }
.ref { display: block; margin-top: 0.6rem; font-size: 0.92rem; font-weight: 600; font-stretch: 96%; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.3rem;
  border: 2px solid transparent; border-radius: var(--r);
  font: inherit; font-size: 1rem; font-weight: 650; font-stretch: 106%; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.band .btn--ghost, .is-dark .btn--ghost { border-color: #fff; color: #fff; }
.band .btn--ghost:hover, .is-dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s4); }

/* Text link with a sliding underline, used for small actions */
.link {
  display: inline-block; font-weight: 650; font-stretch: 104%; color: var(--red); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px; transition: background-size 0.25s var(--ease);
}
.link:hover { background-size: 0 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 0.5rem 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; line-height: 1; padding-block: 0.4rem; }
.brand img { width: 42px; height: auto; }
.brand span { display: flex; flex-direction: column; }
.brand small { font-size: 0.74rem; font-weight: 600; font-stretch: 84%; letter-spacing: 0.03em; color: var(--muted); }
.brand strong { margin-top: 0.12rem; font-size: 1.42rem; font-weight: 820; font-stretch: 125%; letter-spacing: -0.02em; color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.nav a:not(.btn) {
  position: relative; padding: 0.55rem 0.8rem;
  text-decoration: none; font-weight: 580; color: var(--ink);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.3rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 0.6rem; min-height: 44px; padding-block: 0.55rem; }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .js .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 1rem;
    border: 2px solid var(--ink); border-radius: var(--r); background: #fff; color: var(--ink);
    font: inherit; font-weight: 650; font-stretch: 106%; cursor: pointer;
  }
  .js .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 0.25rem var(--gutter) 1.75rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .js .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .nav a:not(.btn) { padding: 0.9rem 0; font-size: 1.25rem; font-weight: 700; font-stretch: 110%; border-bottom: 1px solid var(--line); }
  .js .nav a:not(.btn)::after { display: none; }
  .js .nav a[aria-current="page"] { color: var(--red); }
  .js .nav .btn { margin: var(--s3) 0 0; }
}

/* ---------- Home hero: the building, welcome in white at the lower left ---------- */
.hero {
  --overlap: clamp(3rem, 7vw, 5.5rem);
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100svh - var(--header-h)); min-height: 600px; max-height: 1000px;
  background: var(--navy);
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(var(--hero-s, 1));
  transform-origin: 50% 100%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 24, 41, 0.92) 0%, rgba(10, 24, 41, 0.55) 30%, rgba(10, 24, 41, 0) 58%),
    linear-gradient(to right, rgba(10, 24, 41, 0.55) 0%, rgba(10, 24, 41, 0) 46%);
}
.hero__text {
  position: relative; width: 100%; color: #fff;
  padding-bottom: calc(var(--overlap) + clamp(1.75rem, 4vw, 3rem));
  transform: translate3d(0, var(--text-y, 0px), 0); opacity: var(--text-o, 1);
}
.hero__text .kicker { color: #fff; opacity: 0.9; font-size: clamp(0.95rem, 1.2vw, 1.08rem); margin-bottom: 0.8rem; }
.hero h1 {
  color: #fff; font-size: clamp(3.2rem, 7.4vw, 6.6rem); font-stretch: 120%; font-weight: 820;
  letter-spacing: -0.035em; line-height: 0.92; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero h1 span { display: block; }
.hero__sub { margin: 1rem 0 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 560; font-stretch: 104%; color: rgba(255, 255, 255, 0.92); }
.hero__sub strong { color: #fff; font-weight: 720; }
@media (max-width: 700px) {
  .hero { height: 88svh; min-height: 560px; }
  .hero__media img { object-position: 52% 55%; }
  .hero::after { background: linear-gradient(to top, rgba(10, 24, 41, 0.94) 0%, rgba(10, 24, 41, 0.6) 34%, rgba(10, 24, 41, 0) 62%); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-in 1.6s var(--ease) both; }
  .hero__text > .wrap > * { animation: rise 0.9s var(--ease) both; }
  .hero__text > .wrap > :nth-child(2) { animation-delay: 0.1s; }
  .hero__text > .wrap > :nth-child(3) { animation-delay: 0.2s; }
}
@keyframes hero-in { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Visit details panel: lifts over the bottom edge of the hero */
.info { position: relative; z-index: 2; margin-top: calc(-1 * clamp(3rem, 7vw, 5.5rem)); }
.info + .section { padding-top: var(--s6); }
.info__panel {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow);
  overflow: hidden;
}
.info__item { display: flex; flex-direction: column; padding: clamp(1.4rem, 2.6vw, 2rem); }
.info__item + .info__item { border-left: 1px solid var(--line); }
.info__item h2 { font-size: var(--t-small); font-weight: 650; font-stretch: 90%; letter-spacing: 0.02em; color: var(--red); margin-bottom: 0.7rem; }
.info__main { margin: 0; font-size: 1.15rem; font-weight: 720; font-stretch: 106%; line-height: 1.3; color: var(--ink); }
.info__main a { text-decoration: none; }
.info__sub { margin: 0.3rem 0 0; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.info__item .link { margin-top: auto; padding-top: var(--s3); align-self: flex-start; background-position: 0 100%; }
.info__item--accent { background: var(--navy); }
.info__item--accent h2 { color: rgba(255, 255, 255, 0.72); }
.info__item--accent .info__main { color: #fff; font-size: 1.6rem; font-stretch: 116%; line-height: 1.1; }
.info__item--accent .info__sub { color: rgba(255, 255, 255, 0.78); }
.info__item--accent .link { color: #fff; }
.info__item--accent + .info__item { border-left: 0; }
@media (max-width: 980px) {
  .info__panel { grid-template-columns: 1fr 1fr; }
  .info__item:nth-child(3) { border-left: 0; }
  .info__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .info__panel { grid-template-columns: 1fr; }
  .info__item + .info__item { border-left: 0; border-top: 1px solid var(--line); }
  .info__item--accent + .info__item { border-top: 0; }
  .info__item .link { padding-top: var(--s2); }
}

/* ---------- Welcome statement ---------- */
.statement { max-width: 52rem; }
.statement p.big { font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.35; font-weight: 520; font-stretch: 102%; color: var(--ink); letter-spacing: -0.01em; }
.statement p.small { margin-top: var(--s3); max-width: 38em; color: var(--muted); }

/* ---------- Three-up with photos ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) clamp(1.25rem, 3vw, 2.5rem); }
.trio figure { margin: 0 0 var(--s3); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.trio article:hover img { transform: scale(1.03); }
.trio h3 { margin-bottom: 0.5rem; }
.trio p { color: var(--muted); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Photo blocks ---------- */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.media-split--wide-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.media-split .lead + p, .media-split h2 + p { margin-top: var(--s3); }
.photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--stone); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.1rem 1rem;
  color: #fff; font-size: 0.95rem; line-height: 1.4;
  background: linear-gradient(to bottom, rgba(12, 28, 47, 0), rgba(12, 28, 47, 0.78));
}
@media (max-width: 860px) { .media-split, .media-split--wide-text { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- What's on ---------- */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.event {
  display: grid; grid-template-columns: 168px minmax(0, 1fr) minmax(0, 13rem); gap: var(--s2) var(--s4); align-items: center;
  padding: var(--s2); background: #fff; border-radius: var(--r);
}
.event img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--stone); }
.event h3 { margin-bottom: 0.3rem; }
.event p { margin: 0; color: var(--muted); }
.event__when { font-weight: 680; font-stretch: 104%; color: var(--ink); text-align: right; padding-right: var(--s2); }
.event--main h3, .event--main .event__when { color: var(--red); }
@media (max-width: 760px) {
  .event { grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .event__when { grid-column: 2; text-align: left; padding: 0; margin-top: -0.6rem; font-size: 0.95rem; }
}

/* ---------- Questions ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3);
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  font-weight: 680; font-stretch: 104%; font-size: 1.1rem; line-height: 1.35; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "Show"; flex: none; font-size: var(--t-small); font-weight: 650; font-stretch: 86%; color: var(--red); }
.faq details[open] summary::after { content: "Hide"; }
.faq summary:hover { color: var(--red); }
.faq .answer { padding: 0 0 1.35rem; max-width: 44em; color: var(--muted); }
.faq .answer strong { color: var(--ink); font-weight: 650; }
.faq--two { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s6); border-top: 0; }
.faq--two details:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  .faq--two { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .faq--two details:nth-child(2) { border-top: 0; }
}
.qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s4) var(--s6); align-items: start; }
.qa .lead { margin-top: var(--s2); font-size: 1.05rem; }
@media (max-width: 860px) { .qa { grid-template-columns: 1fr; } }

/* ---------- Closing band ---------- */
.band { background: var(--red); color: rgba(255, 255, 255, 0.92); padding-block: var(--s6); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); }
.band h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.band p { margin-top: 0.5rem; font-size: 1.05rem; }
.band .actions { margin-top: 0; }
.band .btn--red { background: #fff; color: var(--red); }
.band .btn--red:hover { background: var(--stone); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding-block: var(--s6) var(--s4); font-size: 0.98rem; }
.site-footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
.site-footer .brand small { color: rgba(255, 255, 255, 0.65); }
.site-footer .brand strong { color: #fff; }
.site-footer .field { color: rgba(255, 255, 255, 0.6); margin-bottom: 0.6rem; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer__blurb { max-width: 30em; margin-top: var(--s2); }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem var(--s4);
  margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.62);
}
.footer__base p { margin: 0; }
.footer__base a { color: rgba(255, 255, 255, 0.88); }
.footer__base .sep { margin-inline: 0.6rem; color: rgba(255, 255, 255, 0.3); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Inner page headers ---------- */
.page-head { padding-block: var(--s6) var(--s5); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s5) var(--s6); align-items: center; }
.page-head h1 { max-width: 15ch; }
.page-head .lead { margin-top: var(--s3); }
@media (max-width: 900px) { .page-head__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.9s var(--ease) both; }
  .rise--2 { animation-delay: 0.1s; }
  .rise--3 { animation-delay: 0.2s; }
}

/* Ticket: the service details, styled after a theatre ticket (visit page) */
.ticket { position: relative; background: var(--red); color: #fff; border-radius: 8px; box-shadow: 0 30px 60px -34px rgba(147, 23, 19, 0.7); }
.ticket__main { padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1.3rem; }
.ticket__split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ticket .field { color: rgba(255, 255, 255, 0.86); }
.ticket__big { display: block; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 790; font-stretch: 114%; line-height: 1.08; letter-spacing: -0.01em; }
.ticket__mid { display: block; font-size: 1.12rem; font-weight: 680; font-stretch: 106%; line-height: 1.3; }
.ticket p { margin: 0.25rem 0 0; line-height: 1.45; color: rgba(255, 255, 255, 0.92); }
.ticket a { color: #fff; font-weight: 600; }
.ticket__stub { position: relative; padding: 1.2rem clamp(1.4rem, 3vw, 2rem) 1.5rem; border-top: 2px dashed rgba(255, 255, 255, 0.5); display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; align-items: baseline; }
.ticket__stub .field { width: 100%; margin: 0; }
.ticket__stub a { font-size: 1.08rem; }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--notch, #fff); }
.ticket__stub::before { left: -13px; }
.ticket__stub::after { right: -13px; }
@media (max-width: 420px) { .ticket__split { grid-template-columns: 1fr; } }

/* ---------- Wide photo that opens out on scroll ---------- */
.widen__frame {
  position: relative; overflow: hidden; height: min(80vh, 720px); min-height: 400px;
  clip-path: inset(var(--iy, 0px) var(--ix, 0px) round var(--ir, 0px)); background: var(--navy);
}
.widen__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--sc, 1)); transform-origin: 50% 40%; }
.widen__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(5rem, 12vw, 8rem) 0 clamp(2rem, 5vw, 3.25rem); color: #fff; background: linear-gradient(to bottom, rgba(12, 28, 47, 0), rgba(12, 28, 47, 0.82)); }
.widen__caption h2 { color: #fff; max-width: 20ch; }
.widen__caption p { margin-top: 0.8rem; max-width: 34em; color: rgba(255, 255, 255, 0.86); font-size: 1.08rem; }

/* ---------- About ---------- */
.mission { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.mission__item { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s2) var(--s6); align-items: end; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.mission__item:last-child { border-bottom: 0; padding-bottom: 0; }
.mission__item h3 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 820; font-stretch: 125%; line-height: 0.98; letter-spacing: -0.03em; color: var(--red); }
.mission__item p { color: var(--muted); }
@media (max-width: 820px) { .mission__item { grid-template-columns: 1fr; } }

.timeline { position: relative; margin: 0; padding: 0 0 0 clamp(2rem, 5vw, 3.25rem); list-style: none; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; top: 0.4rem; bottom: 0.4rem; width: 2px; border-radius: 2px; }
.timeline::before { background: rgba(255, 255, 255, 0.16); }
.timeline::after { background: var(--red); transform-origin: top; transform: scaleY(var(--tl, 1)); }
.timeline li { position: relative; display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 0.4rem var(--s4); }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * clamp(2rem, 5vw, 3.25rem)); top: 0.42rem; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255, 255, 255, 0.35); transition: background-color 0.3s, border-color 0.3s; }
.timeline li.is-lit::before { background: var(--red); border-color: var(--red); }
.timeline .when { font-weight: 800; font-stretch: 116%; font-size: 1.3rem; line-height: 1.2; color: #fff; }
.timeline h3 { margin-bottom: 0.35rem; }
.timeline p { max-width: 36em; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; } }

.founder { margin-top: var(--s6); padding-top: var(--s6); border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s5) var(--s6); align-items: center; }
.founder .photo { background: var(--navy-2); }
.founder h3 { font-size: 1.6rem; }
.founder p { margin-top: 0.75rem; max-width: 38em; }
.founder .key { margin-top: var(--s3); padding-left: 1.1rem; border-left: 3px solid var(--red); color: #fff; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .founder .photo { max-width: 340px; } }

/* ---------- Visit ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s4); }
.facts p { margin: 0; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.address { font-style: normal; font-size: 1.18rem; line-height: 1.45; font-weight: 650; font-stretch: 104%; color: var(--ink); margin-top: var(--s3); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--s3); border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; margin-bottom: var(--s2); font-size: 2.6rem; font-weight: 820; font-stretch: 125%; line-height: 1; color: var(--red); }
.steps h3 { margin-bottom: 0.5rem; }
.steps p { color: var(--muted); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.prayer { margin-top: var(--s6); background: var(--navy); color: rgba(255, 255, 255, 0.78); border-radius: var(--r); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s3) var(--s6); }
.prayer .field { color: rgba(255, 255, 255, 0.65); }
.prayer blockquote { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.5; font-weight: 500; color: #fff; }
@media (max-width: 820px) { .prayer { grid-template-columns: 1fr; } }

.bank { margin: 0; background: #fff; border-radius: var(--r); padding: 0.4rem clamp(1.25rem, 3vw, 2rem); }
.bank__row { display: grid; grid-template-columns: 10rem minmax(0, 1fr) auto; gap: 0.75rem var(--s3); align-items: center; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.bank__row:last-child { border-bottom: 0; }
.bank dt { color: var(--muted); font-weight: 600; font-stretch: 88%; }
.bank dd { margin: 0; font-weight: 700; font-stretch: 106%; font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }
.copy-btn { min-height: 40px; padding: 0.4rem 0.95rem; border: 2px solid var(--line); border-radius: var(--r); background: transparent; color: var(--ink); font: inherit; font-size: 0.9rem; font-weight: 650; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.copy-btn:hover { border-color: var(--ink); }
.copy-btn.is-done { background: var(--ink); border-color: var(--ink); color: #fff; }
.no-js .copy-btn { display: none; }
@media (max-width: 560px) { .bank__row { grid-template-columns: 1fr auto; } .bank dt { grid-column: 1 / -1; } }
.note { margin-top: var(--s3); font-size: 0.95rem; color: var(--muted); max-width: 44em; }

.contact-lines { display: grid; gap: var(--s2); }
.contact-lines a { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 760; font-stretch: 112%; text-decoration: none; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--red); }

/* ---------- Privacy ---------- */
.policy { max-width: 46rem; }
.policy h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin: 2.5rem 0 0.85rem; }
.policy h2:first-of-type { margin-top: var(--s4); }
.policy ul { padding-left: 1.2rem; margin: 0 0 1em; }
.policy li { margin-bottom: 0.4rem; }
.policy .updated { color: var(--muted); font-size: 0.95rem; }
.summary-box { background: var(--stone); border-radius: var(--r); padding: var(--s3) var(--s4); margin-top: var(--s3); }
.summary-box ul { margin: 0; }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; align-content: center; }
.lost .lead { margin-top: var(--s3); }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="photo"] { opacity: 1; transform: none; clip-path: inset(10% 0 0 0 round var(--r)); transition: clip-path 1.1s var(--ease); }
  .js [data-reveal="photo"].is-in { clip-path: inset(0 0 0 0 round var(--r)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.summary-box h2 { margin-top: 0 !important; font-size: 1.15rem; }
.page-head .updated { margin-top: var(--s2); font-size: 0.95rem; color: var(--muted); }
.intro { color: var(--muted); max-width: 38em; }
.media-split h2 { margin-bottom: var(--s3); }
.is-dark .kicker { color: #ff9b97; }
.mission-head { margin-bottom: var(--s6); }

/* ---------- Featured event (What's on) ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  margin-bottom: var(--s4);
}
.feature__media { margin: 0; background: #dcecf8; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.feature__body h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-stretch: 112%; font-weight: 780; line-height: 1.1; }
.feature__date { margin: 0.8rem 0 0; font-size: 1.12rem; font-weight: 700; font-stretch: 104%; color: var(--ink); }
.feature__place { margin: 0.35rem 0 1.1rem; color: var(--ink); }
.feature__body > p:not(.feature__date):not(.feature__place) { color: var(--muted); }
.feature__note { font-weight: 600; color: var(--ink) !important; }
.feature .actions { margin-top: var(--s3); }
.feature.is-past { display: none; }
@media (max-width: 980px) { .feature { grid-template-columns: 1fr; } .feature__media img { height: auto; } }

/* Photo on the right for alternating rows */
.media-split--flip > figure { order: 2; }
@media (max-width: 860px) { .media-split--flip > figure { order: 0; } }

/* Info panel: two service lines in the accent column */
.info__item--accent .info__main + .info__main { margin-top: 0.2rem; }
.info__item--accent .info__sub { margin-top: 0.7rem; }

/* Ticket with two services */
.ticket__big + .ticket__mid { margin-top: 0.45rem; }

/* Footer: second venue */
.site-footer address strong { color: #fff; font-weight: 650; }
.footer__second { margin-top: var(--s2); }
.info__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff; font-size: 1.15rem; font-weight: 720; font-stretch: 106%; line-height: 1.2;
}
.info__row:first-of-type { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.info__row span + span { font-stretch: 112%; }
.bank { border: 1px solid var(--line); }


/* ================= Layout additions: spread the page out ================= */

/* Statement with a side label */
.statement-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s3) var(--s6); }
.statement-grid .big { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.25; font-weight: 520; font-stretch: 102%; color: var(--ink); letter-spacing: -0.015em; max-width: 30ch; margin: 0; }
.statement-grid .small { margin-top: var(--s3); max-width: 40em; color: var(--muted); font-size: 1.1rem; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* Full-bleed split: photo runs to the edge of the screen */
.bleed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(88vh, 860px); background: var(--white); }
.bleed--stone { background: var(--stone); }
.bleed--dark { background: var(--navy); color: rgba(255, 255, 255, 0.8); }
.bleed--dark h2 { color: #fff; }
.bleed--dark .kicker { color: #ff9b97; }
.bleed__media { position: relative; margin: 0; overflow: hidden; background: var(--stone); min-height: 420px; }
.bleed__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transform: translate3d(0, var(--drift, 0px), 0); }
.bleed__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem clamp(1.25rem, 3vw, 2.5rem) 1.25rem; color: #fff; font-size: 0.95rem; background: linear-gradient(to bottom, rgba(12, 28, 47, 0), rgba(12, 28, 47, 0.78)); }
.bleed__body { display: flex; flex-direction: column; justify-content: center; padding: var(--s7) clamp(1.5rem, 6vw, 7rem); max-width: 48rem; }
.bleed__body h2 { margin-bottom: var(--s3); }
.bleed__body p { max-width: 36em; }
.bleed--flip .bleed__media { order: 2; }
.bleed--flip .bleed__body { margin-left: auto; }
@media (max-width: 900px) {
  .bleed { grid-template-columns: 1fr; min-height: 0; }
  .bleed__media { aspect-ratio: 4 / 3; min-height: 0; }
  .bleed--flip .bleed__media { order: 0; }
  .bleed__body { padding: var(--s6) var(--gutter); }
}

/* Stacking cards: Worship, Preaching, Prayer */
.stack { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: var(--s4); }
.stack__card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  min-height: min(66vh, 600px);
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 -12px 48px -24px rgba(16, 38, 63, 0.35), 0 1px 2px rgba(16, 38, 63, 0.06);
  transform-origin: 50% 0; transform: scale(var(--card-s, 1));
}
.stack__card:nth-child(2) { top: calc(var(--header-h) + 2.75rem); }
.stack__card:nth-child(3) { top: calc(var(--header-h) + 4rem); }
.stack__card figure { margin: 0; position: relative; overflow: hidden; background: var(--stone); }
.stack__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack__body { padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.stack__body h3 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 820; font-stretch: 120%; letter-spacing: -0.03em; line-height: 1; color: var(--ink); margin-bottom: var(--s3); }
.stack__body p { color: var(--muted); font-size: 1.1rem; max-width: 30em; }
.stack__body .ref { margin-top: var(--s3); }
.stack__card:nth-child(2) { background: var(--navy); }
.stack__card:nth-child(2) h3 { color: #fff; }
.stack__card:nth-child(2) p { color: rgba(255, 255, 255, 0.78); }
.stack__card:nth-child(2) .ref { color: #fff; }
.stack__card:nth-child(3) { background: var(--red); }
.stack__card:nth-child(3) h3, .stack__card:nth-child(3) .ref { color: #fff; }
.stack__card:nth-child(3) p { color: rgba(255, 255, 255, 0.88); }
@media (max-width: 860px) {
  .stack__card { position: relative; top: auto !important; grid-template-columns: 1fr; min-height: 0; transform: none; }
  .stack__card figure { aspect-ratio: 4 / 3; }
}

/* What's on: weekly services and events */
.week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; }
.card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover figure img { transform: scale(1.04); }
.card__body { padding: clamp(1.25rem, 2.2vw, 1.75rem); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.4rem; }
.card__body p { color: var(--muted); margin: 0; }
.card__when { display: block; margin-bottom: 0.6rem; font-size: var(--t-small); font-weight: 650; font-stretch: 90%; letter-spacing: 0.02em; color: var(--red); }
.card .link { margin-top: auto; padding-top: var(--s3); align-self: flex-start; }
.card--service { background: var(--navy); color: rgba(255, 255, 255, 0.8); }
.card--service .card__when { color: rgba(255, 255, 255, 0.7); }
.card--service .card__big { display: block; margin-bottom: var(--s3); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 820; font-stretch: 120%; letter-spacing: -0.03em; line-height: 0.95; color: #fff; }
.card--service h3 { color: #fff; }
.card--service p { color: rgba(255, 255, 255, 0.78); }
.card--service .link { color: #fff; }
.card--red { background: var(--red); }
@media (max-width: 1100px) { .week { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .week { grid-template-columns: 1fr; } }

/* Giving page */
.give-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5) var(--s6); align-items: start; }
.give-head h1 { max-width: 12ch; }
.give-card { background: var(--navy); color: rgba(255, 255, 255, 0.8); border-radius: 10px; padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--shadow); }
.give-card h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.give-card .bank { margin-top: var(--s3); border: 0; }
.give-card .note { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 900px) { .give-head { grid-template-columns: 1fr; } }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) clamp(1.5rem, 4vw, 4rem); }
.pillars li { padding-top: var(--s3); border-top: 2px solid var(--ink); }
.pillars h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; color: var(--red); margin-bottom: var(--s2); line-height: 1.05; }
.pillars p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---- refinements ---- */
.hero h1 { font-size: clamp(3.2rem, 6.6vw, 6rem); }
@media (max-width: 700px) {
  .hero__media img { inset: auto 0 0 0; height: 124%; }
}
.card--service .card__big { font-size: clamp(1.7rem, 2.2vw, 2.1rem); font-stretch: 104%; letter-spacing: -0.02em; line-height: 1; }
.bleed__media img { object-position: 50% 22%; }
.give-card .bank__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.15rem; }
.give-card .bank dt { grid-column: 1 / -1; font-size: 0.9rem; }
.give-card .bank dd { grid-column: 1; }
.give-card .copy-btn { grid-column: 2; grid-row: 2; }

/* ---- Photos shown within their real pixels ---- */
/* Gentler scroll drift: no more than 3% overscan, so photos are not enlarged */
.bleed__media img { inset: -3% 0; height: 106%; }
/* Photos whose originals are small get a narrower column on wide screens */
.bleed--lowres { grid-template-columns: minmax(0, min(50%, 920px)) minmax(0, 1fr); }
@media (max-width: 900px) { .bleed--lowres { grid-template-columns: 1fr; } }
/* About: framed photo instead of a stretched full-width band */
.frame-band { background: var(--navy); color: rgba(255, 255, 255, 0.8); padding-block: var(--s7); }
.frame-band__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: var(--s5) clamp(2rem, 7vw, 7rem); align-items: center; }
.frame-band__photo { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--navy-2); }
.frame-band__photo img { width: 100%; height: auto; }
.frame-band h2 { color: #fff; margin-bottom: var(--s3); }
.frame-band .lead { color: #fff; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; max-width: 26em; margin-bottom: var(--s3); }
.frame-band p { max-width: 36em; }
@media (max-width: 860px) { .frame-band__grid { grid-template-columns: 1fr; } }
/* No hover zoom on photos */
.card:hover figure img, .trio article:hover img { transform: none; }
