/* ==========================================================================
   North Crow River Lutheran Church — global design system
   --------------------------------------------------------------------------
   Concept: the church's own south wall, read as a page.
   - Red brick, a pale stone string course, a stone foundation, and a row
     of five pointed-arch (lancet) windows set between brick buttresses.
   - Colour comes from the building and its setting; the pointed arch is
     the one recurring shape; hairline double rules stand in for the
     stone banding. Everything else stays quiet.
   Layout: 12-column editorial grid, asymmetric image/text pairs,
   full-bleed photography where the source resolution allows it.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Colour — taken from the building and its setting */
  --ivory:       #F3EDE2;  /* page ground: aged cream */
  --paper:       #E8DFCF;  /* alternate ground: the pale stone string course */
  --ink:         #25221F;  /* charcoal text */
  --ink-2:       #4A443E;  /* secondary text */
  --forest:      #1F3227;  /* deep forest green */
  --forest-2:    #2B4335;
  --brick:       #8A3A2D;  /* muted brick red */
  --brick-deep:  #6C2B21;
  --brass:       #94763F;  /* antique brass: rules, marks, large numerals only */
  --brass-light: #CDB27A;  /* brass on dark grounds */
  --brass-pale:  #E6D3A3;  /* brass on photographs, where the ground varies */
  --on-dark:     #EEE7D9;
  --on-dark-2:   #C7BFAF;
  --rule:        rgba(37, 34, 31, 0.22);
  --rule-dark:   rgba(238, 231, 217, 0.24);

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0:  1.0625rem;                               /* body, 17px */
  --step-1:  1.25rem;
  --step-2:  clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);  /* lead text */
  --step-3:  clamp(2rem, 1.4rem + 2.2vw, 3rem);        /* h2 */
  --step-4:  clamp(2.6rem, 1.6rem + 4vw, 5rem);        /* h1 */
  --step-5:  clamp(5.5rem, 2rem + 14vw, 14rem);        /* date markers */

  /* Space & layout */
  --gutter: clamp(1.125rem, 4vw, 3rem);
  --max: 1280px;
  --col-gap: clamp(1rem, 2.4vw, 2.25rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --measure: 36rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--brass-light); }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--forest);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Shared editorial parts ---------- */

/* Eyebrow: small caps label led by a short brass rule */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 1px;
  background: var(--brass);
}
.on-dark .eyebrow { color: var(--brass-light); }
.on-dark .eyebrow::before { background: var(--brass-light); }

.h2 { font-size: var(--step-3); }

.lead {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.4;
  font-weight: 400;
}

.prose { max-width: var(--measure); color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.on-dark .prose { color: var(--on-dark-2); }

/* Captions: set like archival labels — small, ruled, no invented dates */
.caption {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.caption__mark {
  flex: none;
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
}
.on-dark .caption { border-color: var(--rule-dark); color: var(--on-dark-2); }
.on-dark .caption__mark { color: var(--brass-light); }

/* Buttons: square-cut, like a painted door, not a pill */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--brick);
  background: var(--brick);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--brick-deep); border-color: var(--brick-deep); }
.btn--quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--quiet:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--brick);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--brass-light); }

/* Double rule — the stone string course */
.string-course {
  height: 5px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--brass);
}

/* ---------- Header / masthead ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--ivory);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand__mark { flex: none; width: 1.9rem; height: auto; color: var(--brick); }
.brand__text { display: grid; gap: 0.2rem; min-width: 0; }
.brand__name {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.brand__line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--brick);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font: 600 0.8125rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 16px; height: 9px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 7.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 3.75px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 3.75px; transform: rotate(-45deg); }

.site-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  margin: 0; padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  display: block;
  padding-block: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
/* Current page: brick label with a hairline beneath */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a[aria-current="page"] { color: var(--brick); }
.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--brick); }

@media (max-width: 1099px) {
  .masthead { flex-wrap: wrap; column-gap: 1rem; }
  .brand { flex: 1 1 0%; }
  .nav-toggle { flex: none; }
  .site-nav { flex-basis: 100%; }
  .nav-ready .nav-toggle { display: inline-flex; }
  .nav-ready .site-nav { display: none; }
  .nav-ready.nav-open .site-nav { display: block; }
  .site-nav { padding-bottom: 0.25rem; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a { padding-block: 0.95rem; font-size: 0.875rem; }
  .site-nav a::after { display: none; }
  .brand__mark { width: 1.6rem; }
}
@media (min-width: 1100px) {
  .masthead { padding-block: 1.6rem; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--forest { background: var(--forest); color: var(--on-dark); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
}
.grid > * { min-width: 0; }

/* ---------- Notice (worship-times guidance) ---------- */
.notice {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--rule);
  max-width: var(--measure);
}
.notice__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.notice p { color: var(--ink); }
.notice a { color: var(--brick); font-weight: 600; white-space: nowrap; }


/* ---------- Visit ---------- */
.visit .grid { align-items: start; }
.visit__intro { grid-column: 1 / span 5; display: grid; gap: 1.5rem; }
.visit__address {
  font-family: var(--serif);
  font-style: normal;
  font-size: var(--step-2);
  line-height: 1.35;
}
.visit__address strong { display: block; font-weight: 500; }
.visit .grid > .visit__list { grid-column: 7 / span 6; }
.visit__list {
  margin: 0; padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.visit__list li { border-bottom: 1px solid var(--rule); }
.visit__list a {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.35rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.visit__list .k {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.visit__list .v { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.visit__list .a { color: var(--brick); transition: transform 0.25s var(--ease); }
.visit__list a:hover .v { color: var(--brick); }
.visit__list a:hover .a { transform: translateX(4px); }

@media (max-width: 899px) {
  .visit__intro, .visit .grid > .visit__list { grid-column: 1 / -1; }
}
@media (max-width: 499px) {
  .visit__list a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.25rem; }
  .visit__list .k { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.nave {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 5vw, 3.5rem);
  padding-block: 3rem 0;
  color: var(--brass-light);
}
.nave svg { width: 18px; height: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem var(--col-gap);
  padding-block: 3rem 2.5rem;
}
.footer-grid > * { min-width: 0; }
.footer-brand { grid-column: 1 / span 5; display: grid; gap: 0.5rem; }
.footer-brand .brand__name { font-size: 1.6rem; }
.footer-brand .brand__line { color: var(--brass-light); }
.footer-contact { grid-column: 6 / span 3; font-size: 0.9375rem; color: var(--on-dark-2); display: grid; gap: 0.2rem; font-style: normal; }
.footer-contact a { color: var(--on-dark); }
.footer-nav { grid-column: 10 / span 3; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.footer-nav a { font-size: 0.9375rem; color: var(--on-dark-2); text-decoration: none; }
.footer-nav a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem 2rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.8125rem;
  color: var(--on-dark-2);
}

@media (max-width: 899px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / span 6; }
  .footer-nav { grid-column: 7 / span 6; }
}
@media (max-width: 499px) {
  .footer-contact, .footer-nav { grid-column: 1 / -1; }
}

/* ==========================================================================
   Homepage — v5 art direction
   A sequence of different spaces, like walking up to the church:
   storm and steeple → a quiet word → the land from above → the sanctuary
   through an arch → a dark chapter for 1974 → layered seasons → the way there.
   Every colour comes from the tokens above; no gradients.
   ========================================================================== */

:root {
  --header-h: 7rem;       /* approximate masthead height, used to size the hero */
  --shade: rgba(22, 20, 18, 0.42);  /* soft shadow behind type set on photographs */
}

/* Light-on-dark outline button */
.btn--light { background: transparent; color: var(--on-dark); border-color: var(--on-dark-2); }
.btn--light:hover { background: var(--on-dark); color: var(--forest); border-color: var(--on-dark); }

/* ---------- 1. Hero ---------- */
.home .hero__frame {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  height: clamp(58vw, calc(100svh - var(--header-h)), 66.667vw);
  min-height: 30rem;
}
.home .hero__frame picture { position: absolute; inset: 0; }
.home .hero__img {
  position: absolute;
  left: 0; top: -32px;
  width: 100%;
  height: calc(100% + 64px);
  object-fit: cover;
  object-position: 50% 30%;
  will-change: transform;
}
.home .hero__title {
  position: absolute;
  z-index: 1;
  top: clamp(1.75rem, 4.2vw, 4.5rem);
  left: 74.5%;
  right: var(--gutter);
  color: var(--on-dark);
  text-shadow: 0 1px 22px var(--shade), 0 0 2px var(--shade);
}
.home .hero__eyebrow {
  max-width: 18rem;
  margin-bottom: clamp(1rem, 1.6vw, 1.6rem);
  padding-top: 0.9rem;
  border-top: 1px solid var(--brass-light);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.home .hero__h1 {
  font-size: clamp(2.6rem, 4.35vw, 5.75rem);
  font-weight: 360;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: initial;
}
.home .hero__h1 span, .home .hero__h1 em { display: block; }
.home .hero__eyebrow span { display: block; }
.home .hero__eyebrow .sep { display: none; }
.home .hero__h1 em { font-style: italic; font-weight: 330; color: var(--brass-pale); }

.home .hero__plinth { background: var(--forest); color: var(--on-dark); }
.home .hero__plinth-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(2rem, 3.4vw, 3.25rem);
}
.home .hero__place {
  grid-column: 1 / span 5;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--on-dark-2);
}
.home .hero__place span:first-child { color: var(--brass-light); font-style: normal; letter-spacing: 0.02em; }
.home .hero__deck {
  grid-column: 8 / span 5;
  display: grid;
  gap: 1.4rem;
  font-size: 1.0625rem;
  color: var(--on-dark-2);
}
.home .hero__deck > p { max-width: 34rem; }
.home .hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 1099px) {
  .home .hero__h1 em { color: var(--brass-light); }
  .home .hero__frame { height: auto; min-height: 0; overflow: hidden; background: var(--forest); }
  .home .hero__frame picture { position: relative; display: block; overflow: hidden; }
  .home .hero__img { position: static; height: auto; aspect-ratio: 3 / 2; object-position: 55% 30%; }
  .home .hero__title {
    position: static;
    padding: clamp(1.75rem, 5vw, 2.5rem) var(--gutter) 0;
    text-shadow: none;
  }
  .home .hero__h1 { font-size: clamp(2.6rem, 8.6vw, 4.5rem); }
  .home .hero__plinth-grid { row-gap: 1.75rem; padding-top: 1.5rem; }
  .home .hero__deck { grid-column: 1 / -1; grid-row: 1; }
  .home .hero__place { grid-column: 1 / -1; font-size: 1rem; }
}
@media (max-width: 599px) {
  .home .hero__img { aspect-ratio: 1 / 1; object-position: 62% 30%; }
  .home .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- 2. Welcome ---------- */
.home .welcome { padding-block: clamp(5rem, 3rem + 8vw, 10.5rem); }
.home .welcome__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 1.5rem;
  align-items: baseline;
}
.home .welcome__label { grid-column: 1 / span 2; padding-top: 0.5rem; }
.home .welcome__statement {
  grid-column: 3 / span 9;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1rem + 2.7vw, 3.4rem);
  font-weight: 360;
  line-height: 1.18;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.home .welcome__statement span { color: var(--brick); font-style: italic; }
.home .welcome__note { grid-column: 3 / span 7; max-width: 40rem; color: var(--ink-2); }
@media (max-width: 899px) {
  .home .welcome__label, .home .welcome__statement, .home .welcome__note { grid-column: 1 / -1; }
}

/* ---------- 3. 1870: the land ---------- */
.home .land__frame { position: relative; background: var(--ink); overflow: hidden; }
.home .land__img { width: 100%; aspect-ratio: 1600 / 894; object-fit: cover; }
.home .land__year {
  position: absolute;
  top: 26%;
  right: 3vw;
  margin: 0;
  font-family: var(--serif);
  font-size: 17vw;
  font-weight: 260;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--on-dark);
  text-shadow: 0 2px 30px var(--shade);
  pointer-events: none;
}
.home .land__band { background: var(--paper); padding-block: 0 clamp(4rem, 3rem + 5vw, 7.5rem); }
.home .land__grid { align-items: start; row-gap: 2rem; }
.home .land__caption { grid-column: 1 / span 4; margin-top: 0; border-top: 0; padding-top: 1rem; }
/* The text hangs from a hairline dropped from just below the church in the photograph */
.home .land__text {
  grid-column: 7 / span 5;
  position: relative;
  display: grid;
  gap: 1.3rem;
  padding-top: clamp(4.5rem, 3rem + 4vw, 7rem);
  padding-left: clamp(1.25rem, 2vw, 2rem);
  border-left: 1px solid var(--brass);
}
.home .land__text::before {
  content: "";
  position: absolute;
  left: -6px; top: -1px;
  width: 11px; height: 15px;
  background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 15'%3E%3Cpath d='M0 15V6.5C0 3.4 2.3 1.2 5.5 0 8.7 1.2 11 3.4 11 6.5V15z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 15'%3E%3Cpath d='M0 15V6.5C0 3.4 2.3 1.2 5.5 0 8.7 1.2 11 3.4 11 6.5V15z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 899px) {
  .home .land__img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
  .home .land__year { font-size: 17vw; right: 4vw; top: 30%; }
  .home .land__caption, .home .land__text { grid-column: 1 / -1; }
  .home .land__text { grid-row: 1; margin-left: 50%; padding-top: 3.5rem; margin-left: calc(50% - 1px); }
  .home .land__caption { grid-row: 2; }
}
@media (max-width: 599px) {
  .home .land__text { margin-left: 0; padding-top: 2.5rem; }
  .home .land__text::before { display: none; }
  .home .land__text { border-left: 0; padding-left: 0; }
  .home .land__caption { grid-row: auto; order: -1; padding-top: 0.85rem; }
}

/* ---------- 4. Present: the sanctuary ---------- */
.home .present { position: relative; padding-block: var(--section); overflow: hidden; }
/* A stone-coloured field behind the photograph gives the arch something to stand in */
.home .present::before {
  content: "";
  position: absolute;
  left: 0; top: 16%; bottom: 30%;
  width: 44%;
  background: var(--paper);
}
.home .present__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 3rem;
  align-items: start;
}
.home .present__figure { grid-column: 1 / span 7; margin: 0; max-width: 720px; position: relative; }
.home .present__arch img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V30C0 14 22 3 50 0 78 3 100 14 100 30V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V30C0 14 22 3 50 0 78 3 100 14 100 30V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.home .present__text {
  grid-column: 9 / span 4;
  display: grid;
  gap: 1.4rem;
  padding-top: clamp(2rem, 6vw, 6rem);
}
.home .present__h2 { font-size: var(--step-3); }
.home .present__h2 em { font-style: italic; color: var(--brick); }
.home .present__text .lead { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); }
@media (max-width: 899px) {
  .home .present::before { display: none; }
  .home .present__figure, .home .present__text { grid-column: 1 / -1; }
  .home .present__text { padding-top: 0; }
}

/* ---------- 5. 1974: a chapter break ---------- */
.home .chapter {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(4rem, 3rem + 6vw, 8rem) clamp(5rem, 3rem + 8vw, 10rem);
}
.home .chapter__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}
.home .chapter__grid > * { min-width: 0; }
.home .chapter__year {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 0 -0.05em;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--serif);
  font-size: clamp(7rem, 26vw, 25rem);
  font-weight: 240;
  line-height: 0.76;
  letter-spacing: -0.05em;
  color: var(--brass-light);
  will-change: transform;
}
.home .chapter__figure {
  grid-column: 8 / span 4;
  grid-row: 1 / span 2;
  margin: clamp(3rem, 9vw, 9rem) 0 0;
  position: relative;
  z-index: 1;
  max-width: 432px;
}
/* Lancet window: a brass hairline, a dark reveal, then the photograph —
   three nested copies of the same pointed-arch mask */
.home .chapter__lancet,
.home .chapter__lancet picture,
.home .chapter__lancet img {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 19 20 7 50 0 80 7 100 19 100 34V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 19 20 7 50 0 80 7 100 19 100 34V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.home .chapter__lancet { padding: 1px 1px 0; background: var(--brass-light); }
.home .chapter__lancet picture { display: block; padding: 12px 12px 0; background: var(--ink); }
.home .chapter__lancet img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 40% 50%;
}
.home .chapter__text {
  grid-column: 1 / span 6;
  grid-row: 2;
  display: grid;
  gap: 1.4rem;
  padding-top: clamp(2.5rem, 4vw, 4rem);
}
.home .chapter__title {
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem);
  font-style: italic;
  font-weight: 330;
  line-height: 1;
  color: var(--on-dark);
}
@media (max-width: 899px) {
  .home .chapter__year { font-size: 30vw; }
  .home .chapter__figure { grid-column: 4 / -1; grid-row: 2; margin-top: -9vw; max-width: none; }
  .home .chapter__text { grid-column: 1 / -1; grid-row: 3; }
}

/* ---------- 6. Seasons: layered photographs ---------- */
.home .seasons { padding-block: var(--section); background: var(--ivory); }
.home .seasons__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}
.home .seasons__grid > * { min-width: 0; margin: 0; }
.home .seasons__grid img { width: 100%; }
.home .seasons__text { grid-column: 1 / span 5; grid-row: 1; display: grid; gap: 1.3rem; padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.home .seasons__tree { grid-column: 10 / span 3; grid-row: 1 / span 2; max-width: 432px; justify-self: end; width: 100%; }
.home .seasons__tree img { aspect-ratio: 3 / 4; object-fit: cover; }
.home .seasons__anchor { grid-column: 1 / span 8; grid-row: 2; max-width: 1024px; }
.home .seasons__anchor img { aspect-ratio: 16 / 9; object-fit: cover; }
.home .seasons__kings {
  grid-column: 6 / span 5;
  grid-row: 3;
  max-width: 720px;
  margin-top: calc(-1 * clamp(4rem, 9vw, 9rem));
  position: relative;
  z-index: 1;
}
.home .seasons__kings img { aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 0 0 clamp(8px, 1vw, 14px) var(--ivory); }
.home .seasons__kings .caption { margin-top: calc(0.85rem + clamp(8px, 1vw, 14px)); }
@media (max-width: 899px) {
  .home .seasons__text { grid-column: 1 / -1; }
  .home .seasons__anchor { grid-column: 1 / -1; grid-row: 2; }
  .home .seasons__kings { grid-column: 4 / -1; grid-row: 3; margin-top: 1.5rem; }
  .home .seasons__kings img { box-shadow: none; }
  .home .seasons__kings .caption { margin-top: 0.85rem; }
  .home .seasons__tree { grid-column: 1 / span 6; grid-row: 4; justify-self: start; margin-top: 1.5rem; max-width: 320px; }
}
@media (max-width: 599px) {
  .home .seasons__kings { grid-column: 3 / -1; }
  .home .seasons__tree { grid-column: 1 / span 8; }
}

/* ---------- 7. Visit: the close ---------- */
.home .close {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--on-dark);
  padding-top: var(--section);
}
.home .close__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 3rem;
  align-items: start;
}
.home .close__grid > * { min-width: 0; }
.home .close__head { grid-column: 1 / span 5; display: grid; gap: 1.4rem; }
.home .close__h2 { font-size: var(--step-3); color: var(--on-dark); }
.home .close .visit__address { color: var(--on-dark); }
.home .close__list { grid-column: 7 / span 6; border-top-color: var(--on-dark-2); }
.home .close__list li { border-bottom-color: var(--rule-dark); }
.home .close__list .k { color: var(--on-dark-2); }
.home .close__list .v { color: var(--on-dark); }
.home .close__list .a { color: var(--brass-light); }
.home .close__list a:hover .v { color: var(--brass-light); }
.home .close__word {
  margin: clamp(2.5rem, 5vw, 5rem) 0 -0.2em;
  padding-inline: var(--gutter);
  font-family: var(--serif);
  font-size: clamp(6rem, 29vw, 30rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: var(--forest-2);
  user-select: none;
}
@media (max-width: 899px) {
  .home .close__head, .home .close__list { grid-column: 1 / -1; }
}

/* ==========================================================================
   Inner pages — v6
   Same tokens, type and arch language as the v5 homepage; each page has its own pacing.
   History: a journey — dark title card, annotated aerial plate, chapters on a sticky date rail.
   Worship: warm and present — a worship-information board, the sanctuary on its own axis, a row of lancet windows.
   Visit: wayfinding — address and directions first, four questions answered, the building to look for.
   ========================================================================== */

/* Shared ---------------------------------------------------------------- */
.btn--brass { background: var(--brass-light); border-color: var(--brass-light); color: var(--ink); }
.btn--brass:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }

/* Space from the content edge to the viewport edge, for images that break the grid */
:root { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2)); }

/* Pointed-arch window frame: brass hairline, a reveal, then the photograph (same mask as the homepage) */
.lancet-frame,
.lancet-frame picture,
.lancet-frame img {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 19 20 7 50 0 80 7 100 19 100 34V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 19 20 7 50 0 80 7 100 19 100 34V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.lancet-frame { padding: 1px 1px 0; background: var(--brass); }
.lancet-frame picture { display: block; padding: 9px 9px 0; background: var(--ivory); }
.lancet-frame img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Map slot (Visit): a photograph until the visitor asks for the map */
.map { margin: 0; }
.map__frame { position: relative; aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.map__frame img, .map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.map__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

/* ===================== OUR HISTORY ===================== */
.hist-open {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 2rem + 7vw, 8.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.hist-open__grid { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
.hist-open__title {
  font-size: clamp(2.8rem, 1.4rem + 5.4vw, 6.75rem);
  font-weight: 340;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.hist-open__title em { display: block; font-style: italic; font-weight: 320; color: var(--brass-light); }
.hist-open__span {
  display: flex;
  align-items: flex-end;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  margin-top: clamp(1rem, 3vw, 3rem);
}
.hist-open__from {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 1.5rem + 11vw, 13rem);
  font-weight: 240;
  line-height: 0.76;
  letter-spacing: -0.05em;
  color: var(--brass-light);
}
.hist-open__line { flex: 1; height: 1px; margin-bottom: 0.9em; background: var(--brass-light); opacity: 0.7; }
.hist-open__to {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 1rem + 3.4vw, 4.5rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--on-dark);
}
.hist-open__lede { max-width: 40rem; font-size: 1.125rem; color: var(--on-dark-2); }

.plate { background: var(--ink); color: var(--on-dark); padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.plate__figure { margin: 0; }
.plate__frame { position: relative; }
.plate__frame img { width: 100%; }
.plate__caption { color: var(--on-dark-2); }

.chapters { display: block; }
.chap { padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); overflow-x: clip; }
.chap--paper { background: var(--paper); }
.chap--ink { background: var(--ink); color: var(--on-dark); }
.chap__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(2.5rem, 4vw, 4rem);
  align-items: start;
}
.chap__grid > * { min-width: 0; }
.chap__rail { grid-column: 1 / span 4; grid-row: 1 / span 2; position: sticky; top: 2rem; margin: 0; }
.chap__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4.25rem, 1.5rem + 8vw, 10.5rem);
  font-weight: 250;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--brass);
}
.chap__num--word { font-style: italic; font-weight: 280; font-size: clamp(3.25rem, 1.25rem + 6vw, 7.75rem); letter-spacing: -0.03em; }
.chap--ink .chap__num { color: var(--brass-light); }
.chap__body { grid-column: 6 / span 6; display: grid; gap: 1.35rem; }
.chap__title { font-size: var(--step-3); }
.chap--ink .chap__title { color: var(--on-dark); }
.chap__title--film { font-style: italic; font-weight: 320; font-size: clamp(2.8rem, 1.4rem + 5vw, 6.25rem); line-height: 0.98; }
.chap .lead { color: var(--ink); }
.chap--ink .lead { color: var(--on-dark-2); }
.chap__wide { grid-column: 5 / -1; margin: 0 calc(-1 * var(--edge)) 0 0; max-width: calc(1024px + var(--edge)); }
.chap__wide img { width: 100%; }
.chap__wide .caption { margin-right: var(--edge); }
.chap--paper .chap__wide { grid-column: 1 / span 9; grid-row: 3; margin: 0 0 0 calc(-1 * var(--edge)); }
.chap--paper .chap__wide .caption { margin: 0.85rem 0 0 var(--edge); }

.record {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.5rem 0 0;
  border-top: 1px solid var(--ink);
}
.record div { display: grid; gap: 0.3rem; padding: 1rem 1rem 0 0; }
.record div + div { padding-left: 1rem; border-left: 1px solid var(--rule); }
.record dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.record dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }

.archive { background: var(--forest); color: var(--on-dark); padding-block: var(--section); }
.archive__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2rem;
  align-items: start;
}
.archive__grid > * { min-width: 0; }
.archive__head { grid-column: 1 / span 5; display: grid; gap: 1rem; }
.archive__title { font-size: var(--step-3); color: var(--on-dark); }
.archive__body { grid-column: 7 / span 6; display: grid; gap: 1.4rem; }
.archive__body .lead { color: var(--on-dark); }

@media (max-width: 899px) {
  .chap__rail { position: static; grid-column: 1 / -1; grid-row: auto; }
  .chap__body { grid-column: 1 / -1; }
  .chap__wide, .chap--paper .chap__wide { grid-column: 1 / -1; grid-row: auto; margin: 0 calc(-1 * var(--gutter)); max-width: none; }
  .chap__wide .caption, .chap--paper .chap__wide .caption { margin: 0.85rem var(--gutter) 0; }
  .archive__head, .archive__body { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .record { grid-template-columns: 1fr; }
  .record div, .record div + div { padding: 0.85rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ===================== WORSHIP & COMMUNITY ===================== */
.wor-open { padding-block: clamp(3rem, 2rem + 5vw, 7rem); }
.wor-open__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: end;
}
.wor-open__grid > * { min-width: 0; }
.wor-open__text { grid-column: 1 / span 7; display: grid; gap: 1.5rem; }
.wor-open__title {
  font-size: clamp(2.8rem, 1.4rem + 5vw, 6.25rem);
  font-weight: 340;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.wor-open__title em { display: block; font-style: italic; font-weight: 320; color: var(--brick); }
.wor-open__lede { max-width: 36rem; font-size: 1.125rem; color: var(--ink-2); }

/* The worship-information board: the published source for times is the phone and Facebook */
.board {
  grid-column: 9 / span 4;
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--ink);
  color: var(--on-dark);
  border-top: 3px solid var(--brass-light);
}
.board__label { font: 600 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); }
.board__intro { color: var(--on-dark-2); font-size: 0.975rem; }
.board__phone {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.75rem);
  line-height: 1.05;
  color: var(--on-dark);
  text-decoration: none;
  font-variant-numeric: lining-nums;
}
.board__phone:hover { color: var(--brass-light); }
.board__link { color: var(--brass-light); font-weight: 600; text-decoration: none; border-top: 1px solid var(--rule-dark); padding-top: 0.9rem; }
.board__link:hover { text-decoration: underline; }

/* The sanctuary on its own axis, in a warm brick-red room */
.sanct { background: var(--brick-deep); color: var(--on-dark); padding-block: var(--section); }
.sanct__inner { display: grid; justify-items: center; text-align: center; gap: clamp(1.75rem, 3vw, 2.75rem); }
.sanct .eyebrow { justify-content: center; }
.sanct .eyebrow::after { content: ""; flex: none; width: 2rem; height: 1px; background: var(--brass-light); }
.sanct__figure { margin: 0; width: 100%; max-width: 720px; text-align: left; }
.sanct__arch img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V30C0 14 22 3 50 0 78 3 100 14 100 30V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V30C0 14 22 3 50 0 78 3 100 14 100 30V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.sanct__statement {
  max-width: 26ch;
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.3rem);
  font-weight: 330;
  font-style: italic;
  line-height: 1.18;
  color: var(--on-dark);
}
.sanct__note { max-width: 36rem; color: var(--on-dark-2); }

/* The church year: three photographs as a row of lancet windows, staggered like the nave */
.year-row { padding-block: var(--section); }
.year-row__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 3rem;
  align-items: start;
}
.year-row__grid > * { min-width: 0; }
.year-row__text { grid-column: 1 / span 4; display: grid; gap: 1.3rem; position: sticky; top: 2rem; }
.lancets {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  margin: 0; padding: 0;
  list-style: none;
}
.lancets figure { margin: 0; }
.lancets li:nth-child(2) { margin-top: clamp(3rem, 7vw, 7rem); }
.lancets li:nth-child(3) { margin-top: clamp(1.5rem, 3.5vw, 3.5rem); }
.lancets__window { max-width: 432px; }
.pos-nativity { object-position: 33% 50%; }
.pos-kings { object-position: 50% 40%; }

.keep { background: var(--forest); color: var(--on-dark); padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.keep__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2rem;
  align-items: end;
}
.keep__grid > * { min-width: 0; }
.keep__title {
  grid-column: 1 / span 8;
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.3rem);
  font-weight: 330;
  line-height: 1.18;
  color: var(--on-dark);
}
.keep__links { grid-column: 10 / span 3; display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.keep__links .btn { width: 100%; }

@media (max-width: 899px) {
  .wor-open__text, .board { grid-column: 1 / -1; }
  .year-row__text { grid-column: 1 / -1; position: static; }
  .lancets { grid-column: 1 / -1; }
  .keep__title, .keep__links { grid-column: 1 / -1; }
  .keep__links { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
}
@media (max-width: 599px) {
  .lancets { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .lancets li:nth-child(2) { margin-top: 3rem; }
  .lancets li:nth-child(3) { grid-column: 1 / -1; width: 60%; margin: 0 auto; }
}

/* ===================== VISIT & CONTACT ===================== */
.way { background: var(--forest); color: var(--on-dark); padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(3.5rem, 2rem + 6vw, 7.5rem); }
.way__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: center;
}
.way__grid > * { min-width: 0; }
.way__text { grid-column: 1 / span 6; display: grid; gap: clamp(1.25rem, 2vw, 1.75rem); }
.way__title {
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.5rem);
  font-weight: 340;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.way__address { display: grid; gap: 0.2rem; font-style: normal; padding-top: 1.25rem; border-top: 1px solid var(--rule-dark); }
.way__name { font: 600 0.8rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 0.4rem; }
.way__street, .way__town {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1rem + 2.6vw, 3.25rem);
  font-weight: 360;
  line-height: 1.08;
  color: var(--on-dark);
}
.way__town { color: var(--on-dark-2); font-style: italic; }
.way__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.way__map { grid-column: 8 / span 5; }
.way__map .caption { border-color: var(--rule-dark); color: var(--on-dark-2); }
.way__map .caption__mark { color: var(--brass-light); }


.answers { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.answers--paper { background: var(--paper); }
.answers__heading { margin-bottom: 1.25rem; }
.answers__list dd > p:only-child:not(.answers__main) { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.4; color: var(--ink); }
.chap__links { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.answers__list { margin: 0; border-top: 1px solid var(--ink); }
.answers__list > div {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 0.75rem;
  padding-block: clamp(1.5rem, 2.5vw, 2.25rem);
  border-bottom: 1px solid var(--rule);
}
.answers__list dt {
  grid-column: 1 / span 5;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 1rem + 1.3vw, 2.1rem);
  line-height: 1.15;
  color: var(--ink);
}
.answers__list dd { grid-column: 7 / span 6; margin: 0; display: grid; gap: 0.4rem; color: var(--ink-2); min-width: 0; }
.answers__main { font-family: var(--serif); font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.25; color: var(--ink); }
.answers__main a { color: var(--brick); text-decoration-thickness: 1px; }

.recognise { background: var(--paper); padding-block: var(--section); overflow-x: clip; }
.recognise__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(2.5rem, 4vw, 4rem);
  align-items: start;
}
.recognise__grid > * { min-width: 0; margin: 0; }
.recognise__text { grid-column: 1 / span 6; grid-row: 1; display: grid; gap: 1rem; }
.recognise__second { grid-column: 8 / span 5; grid-row: 1 / span 2; max-width: 720px; justify-self: end; width: 100%; }
.recognise__main { grid-column: 1 / span 7; grid-row: 2; margin-left: calc(-1 * var(--edge)) !important; max-width: calc(1024px + var(--edge)); }
.recognise__main .caption { margin-left: var(--edge); }
.recognise__grid img { width: 100%; }

.onward { background: var(--ink); color: var(--on-dark); }
.onward__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.onward a {
  display: grid;
  gap: 0.75rem;
  padding: clamp(2.5rem, 4vw, 4rem) clamp(0rem, 2vw, 2rem) clamp(2.5rem, 4vw, 4rem) 0;
  color: var(--on-dark);
  text-decoration: none;
}
.onward a + a { padding-left: clamp(1.25rem, 3vw, 3rem); border-left: 1px solid var(--rule-dark); }
.onward__title { font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); line-height: 1.15; }
.onward a:hover .onward__title { color: var(--brass-light); }

@media (max-width: 899px) {
  .way__text, .way__map { grid-column: 1 / -1; }
  .answers__list dt, .answers__list dd { grid-column: 1 / -1; }
  .recognise__text, .recognise__second, .recognise__main { grid-column: 1 / -1; grid-row: auto; }
  .recognise__main { margin: 0 calc(-1 * var(--gutter)) !important; max-width: none; }
  .recognise__main .caption { margin: 0.85rem var(--gutter) 0; }
  .recognise__second { width: 78%; justify-self: end; }
}
@media (max-width: 599px) {
  .onward__grid { grid-template-columns: 1fr; }
  .onward a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-dark); }
  .way__actions .btn { flex: 1 1 100%; }
}

/* ===================== NEARBY-COMMUNITY PAGES (v8) =====================
   Five visitor guides for people in Cokato, Dassel, Howard Lake, Darwin and Annandale.
   Same tokens and parts as the rest of the site; each page varies hero ground, image side and section order. */
.loc-hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); }
.loc-hero--forest { background: var(--forest); color: var(--on-dark); }
.loc-hero--ink { background: var(--ink); color: var(--on-dark); }
.loc-hero--paper { background: var(--paper); }
.loc-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: center;
}
.loc-hero__grid > * { min-width: 0; }
.loc-hero__text { grid-column: 1 / span 6; display: grid; gap: 1.4rem; }
.loc-hero__figure { grid-column: 8 / span 5; margin: 0; }
.loc-hero--flip .loc-hero__text { grid-column: 7 / span 6; }
.loc-hero--flip .loc-hero__figure { grid-column: 1 / span 5; grid-row: 1; }
.loc-hero__figure img { width: 100%; }
.loc-hero__title {
  font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.5rem);
  font-weight: 340;
  line-height: 1;
  letter-spacing: -0.02em;
}
.loc-hero__title em { display: block; font-style: italic; font-weight: 320; color: var(--brick); }
.loc-hero--forest .loc-hero__title, .loc-hero--ink .loc-hero__title { color: var(--on-dark); }
.loc-hero--forest .loc-hero__title em, .loc-hero--ink .loc-hero__title em { color: var(--brass-light); }
.loc-hero--forest .eyebrow, .loc-hero--ink .eyebrow { color: var(--brass-light); }
.loc-hero--forest .eyebrow::before, .loc-hero--ink .eyebrow::before { background: var(--brass-light); }
.loc-hero__action { margin-top: 0.25rem; }
.loc-hero__lede { max-width: 36rem; font-size: 1.125rem; color: var(--ink-2); }
.loc-hero--forest .loc-hero__lede, .loc-hero--ink .loc-hero__lede { color: var(--on-dark-2); }
.loc-hero--forest .caption, .loc-hero--ink .caption { border-color: var(--rule-dark); color: var(--on-dark-2); }
.loc-hero--forest .caption__mark, .loc-hero--ink .caption__mark { color: var(--brass-light); }
.loc--darwin .loc-hero__figure { grid-column: 9 / span 3; }
.loc--darwin .lancet-frame picture { background: var(--paper); }

.loc-near { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.loc-near--paper { background: var(--paper); }
.loc-near__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: start;
}
.loc-near__grid > * { min-width: 0; }
.loc-near__head { grid-column: 1 / span 5; display: grid; gap: 1.2rem; }
.loc-near__head .lead { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); }
.loc-near__note { color: var(--ink-2); font-size: 0.95rem; }
/* A ruled "where is it" register: the church and the town, side by side in words */
.loc-near__map { grid-column: 7 / span 6; margin: 0; border-top: 1px solid var(--ink); }
.loc-near__map div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--rule);
}
.loc-near__map dt { padding-top: 0.3rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.loc-near__map dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.loc-near__map dd a { color: var(--brick); }

.loc-expect { padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.loc-expect__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: center;
}
.loc-expect__grid > * { min-width: 0; }
.loc-expect__body { grid-column: 1 / span 7; display: grid; gap: 1.2rem; }
.loc-expect--fig .loc-expect__body { grid-column: 5 / span 8; grid-row: 1; }
.loc-expect__figure { grid-column: 1 / span 3; grid-row: 1; margin: 0; max-width: 304px; }
.loc-expect__list { margin: 0.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.loc-expect__list li {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.loc-expect__k { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--brick); }
.loc-expect__v { color: var(--ink-2); }
.pos-sanct { object-position: 42% 50%; }

.loc-hist { padding-block: clamp(4rem, 3rem + 5vw, 8rem); overflow-x: clip; }
.loc-hist--paper { background: var(--paper); }
.loc-hist--ink { background: var(--ink); color: var(--on-dark); }
.loc-hist__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 1.5rem;
  align-items: start;
}
.loc-hist__grid > * { min-width: 0; }
.loc-hist__num {
  grid-column: 1 / span 4;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 1.5rem + 8vw, 10rem);
  font-weight: 250;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--brass);
}
.loc-hist--ink .loc-hist__num { color: var(--brass-light); }
.loc-hist__body { grid-column: 6 / span 6; display: grid; gap: 1.2rem; }
.loc-hist--ink .h2 { color: var(--on-dark); }
.loc-hist--ink .eyebrow, .loc-hist--ink .link-arrow { color: var(--brass-light); }
.loc-hist--ink .eyebrow::before { background: var(--brass-light); }
.loc--darwin .loc-info { border-top: 1px solid var(--rule-dark); }
.loc-hist--ink .lead { color: var(--on-dark-2); }
.loc-hist--paper .lead { color: var(--ink); }

.loc-info { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.loc-info__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 1.5rem;
  align-items: end;
}
.loc-info__grid > * { min-width: 0; }
.loc-info__text { grid-column: 1 / span 6; display: grid; gap: 0.75rem; color: var(--on-dark-2); }
.loc-info__title { font-size: var(--step-3); color: var(--on-dark); }
.loc-info__actions { grid-column: 8 / span 5; display: grid; gap: 0.9rem; justify-items: start; }
.loc-info__phone { font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); line-height: 1; color: var(--on-dark); text-decoration: none; }
.loc-info__phone:hover { color: var(--brass-light); }

.onward--three .onward__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.onward--three a + a { padding-left: clamp(1.25rem, 3vw, 3rem); border-left: 1px solid var(--rule-dark); }

/* Nearby-community links (Visit page answer and footer) */
.near-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 0; padding: 0; list-style: none; }
.footer-near { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1rem; }
.footer-near a { color: var(--on-dark-2); }
.footer-near a:hover { color: var(--on-dark); }

@media (max-width: 899px) {
  .loc-hero__text, .loc-hero__figure,
  .loc-hero--flip .loc-hero__text, .loc-hero--flip .loc-hero__figure { grid-column: 1 / -1; grid-row: auto; }
  .loc--darwin .loc-hero__figure { grid-column: 1 / span 8; }
  .loc-near__head, .loc-near__map { grid-column: 1 / -1; }
  .loc-expect__body, .loc-expect--fig .loc-expect__body { grid-column: 1 / -1; grid-row: auto; }
  .loc-expect__figure { grid-column: 1 / span 6; grid-row: auto; }
  .loc-hist__num, .loc-hist__body { grid-column: 1 / -1; }
  .loc-info__text, .loc-info__actions { grid-column: 1 / -1; }
  .onward--three .onward__grid { grid-template-columns: 1fr; }
  .onward--three a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-dark); }
}
@media (max-width: 599px) {
  .loc-near__map div, .loc-expect__list li { grid-template-columns: 1fr; gap: 0.3rem; }
  .loc-near__map dt { padding-top: 0; }
  .loc-expect__figure { grid-column: 1 / span 9; }
}

/* ===================== v13: WORSHIP SCHEDULE, SISTER CONGREGATION, PASTOR =====================
   Built only from existing tokens and parts: ruled registers, eyebrow labels, serif figures, lancet frames. */

/* Sunday schedule register (homepage "Worship Today") */
.sched { display: grid; margin-top: 0.5rem; max-width: var(--measure); }
.sched__label { padding-bottom: 0.6rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.sched__list { margin: 0; border-top: 1px solid var(--ink); }
.sched__row { display: grid; gap: 0.3rem; padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.sched__row dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brick); }
.sched__place { margin-left: 0.4rem; font-weight: 400; letter-spacing: 0.08em; color: var(--ink-2); }
.sched__row dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.25rem; }
.sched__days, .sched__time { font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); line-height: 1.2; color: var(--ink); }
.sched__time { font-style: italic; color: var(--brick); white-space: nowrap; font-variant-numeric: lining-nums; }
.sched__note { padding-top: 0.9rem; font-size: 0.95rem; color: var(--ink-2); }
.sched__note a { color: var(--brick); font-weight: 600; }

/* Worship page board: the two Sundays, then the phone for everything else */
.board__sched { margin: 0; border-top: 1px solid var(--rule-dark); }
.board__sched div { display: grid; gap: 0.2rem; padding-block: 0.85rem; border-bottom: 1px solid var(--rule-dark); }
.board__sched dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); }
.board__sched dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--on-dark); }

.wor-open__lede a { color: var(--brick); }
.way__when { font-size: 0.975rem; color: var(--brass-light); font-weight: 600; letter-spacing: 0.02em; }

/* Sister congregations (Worship) and where the pastor serves (Pastor) */
.sisters { background: var(--paper); padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.sisters__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: start;
}
.sisters__grid > * { min-width: 0; }
.sisters__head { grid-column: 1 / span 5; display: grid; gap: 1.2rem; }
.sisters__head .prose a { color: var(--brick); }
.sisters__list { grid-column: 7 / span 6; }
.churches { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.churches li { display: grid; gap: 0.45rem; padding-block: clamp(1.25rem, 2vw, 1.75rem); border-bottom: 1px solid var(--rule); }
.churches__name { font-size: var(--step-2); line-height: 1.2; }
.churches__when { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--brick); }
.churches__addr { font-style: normal; color: var(--ink-2); }
.churches__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 0.35rem; }

/* History: the 155th year */
.chap__span { display: block; margin-top: 0.4rem; font-style: italic; font-weight: 300; font-size: 0.6em; color: var(--brass); letter-spacing: 0; }

/* History: what the archive holds */
.holdings { margin: 0; border-top: 1px solid var(--rule-dark); }
.holdings div {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--rule-dark);
}
.holdings dt { padding-top: 0.2rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); }
.holdings dd { margin: 0; color: var(--on-dark); }
.archive__head .prose { color: var(--on-dark-2); }
.archive__cem { grid-column: 7 / span 6; display: grid; gap: 0.75rem; padding-top: 1.75rem; border-top: 1px solid var(--brass-light); }
.archive__sub { font-size: var(--step-2); font-style: italic; font-weight: 400; color: var(--on-dark); }
.archive__more { grid-column: 7 / span 6; font-size: 0.9375rem; color: var(--on-dark-2); }

/* Footer: affiliation and the Sunday line */
.footer-elca, .footer-sched { font-size: 0.875rem; color: var(--on-dark-2); }
.footer-elca a { color: var(--on-dark); }
.footer-brand { align-content: start; }

/* ===================== OUR PASTOR ===================== */
.pas-open { padding-block: clamp(3rem, 2rem + 5vw, 7rem); }
.pas-open__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: end;
}
.pas-open__grid > * { min-width: 0; }
.pas-open__text { grid-column: 1 / span 7; display: grid; gap: 1.5rem; }
.pas-open__title { font-size: clamp(2.8rem, 1.4rem + 5vw, 6.25rem); font-weight: 340; line-height: 0.98; letter-spacing: -0.02em; }
.pas-open__title em { display: block; font-style: italic; font-weight: 320; color: var(--brick); }
.pas-open__lede { max-width: 34rem; font-size: 1.125rem; color: var(--ink-2); }

/* Portrait slot: a lancet window holding a quiet monogram until a verified photograph is supplied */
.pas-portrait { grid-column: 9 / span 4; justify-self: end; width: 100%; max-width: 340px; margin: 0; }
.pas-portrait__frame { padding: 1px 1px 0; background: var(--brass); }
.pas-portrait__slot, .pas-portrait__fill {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 19 20 7 50 0 80 7 100 19 100 34V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 19 20 7 50 0 80 7 100 19 100 34V100z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.pas-portrait__slot { display: block; padding: 9px 9px 0; background: var(--ivory); }
.pas-portrait__fill { display: grid; place-items: center; aspect-ratio: 3 / 4; background: var(--forest); }
.pas-portrait__mono {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 2rem + 4vw, 5.5rem);
  letter-spacing: 0.04em;
  color: var(--brass-light);
}
.pas-portrait picture, .pas-portrait img { display: block; width: 100%; }

.pas-bio { background: var(--paper); padding-block: var(--section); }
.pas-bio__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 1.5rem;
  align-items: start;
}
.pas-bio__grid > * { min-width: 0; }
.pas-bio__label { grid-column: 1 / span 3; position: sticky; top: 2rem; }
.pas-bio__body { grid-column: 5 / span 7; display: grid; gap: 1.5rem; }
.pas-bio__body .lead { color: var(--ink); }
.pas-bio__sub { margin-top: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: var(--step-2); font-style: italic; font-weight: 400; }

/* ===================== GRACE LUTHERAN ===================== */
.gra-hero .loc-hero__figure { grid-column: 8 / span 4; justify-self: center; width: 100%; max-width: 380px; }
.gra-hero .lancet-frame { background: var(--brass-light); }
.gra-hero .lancet-frame picture { background: var(--forest); }
.pos-grace { object-position: 58% 50%; }
.gra-hero .way__address { margin-top: 0.25rem; }
.gra-amp { font-style: italic; font-weight: 300; }
.gra .loc-near__map dd a, .gra .answers__list a { color: var(--brick); }

@media (max-width: 899px) {
  .sisters__head, .sisters__list { grid-column: 1 / -1; }
  .archive__cem, .archive__more { grid-column: 1 / -1; }
  .pas-open__text { grid-column: 1 / -1; }
  .pas-portrait { grid-column: 1 / span 7; justify-self: start; max-width: 300px; }
  .pas-bio__label { position: static; grid-column: 1 / -1; }
  .pas-bio__body { grid-column: 1 / -1; }
  .gra-hero .loc-hero__figure { grid-column: 1 / span 9; justify-self: start; max-width: 320px; }
}
@media (max-width: 599px) {
  .holdings div { grid-template-columns: 1fr; gap: 0.3rem; }
  .pas-portrait { grid-column: 1 / -1; max-width: 260px; }
}

/* v13.1: attributed early history (History) and recorded dates (Grace) */
.early { margin-top: 0.5rem; }
.early__source { display: flex; gap: 0.6rem; padding-top: 0.7rem; border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--ink-2); }
.early__source .caption__mark { font-family: var(--serif); font-style: italic; color: var(--brass); }
.early__source a { color: var(--ink-2); }

.annals { background: var(--paper); padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.annals__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 2.5rem; align-items: start; }
.annals__grid > * { min-width: 0; }
.annals__head { grid-column: 1 / span 5; display: grid; gap: 1.2rem; }
.annals__list { grid-column: 7 / span 6; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.annals__list li { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr); gap: 1.25rem; padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.annals__when { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--brick); font-variant-numeric: lining-nums; }
.annals__what { color: var(--ink); }
.annals__what a { color: var(--brick); }
.annals__now { border-bottom-color: var(--ink) !important; }
.annals__now .annals__when { color: var(--ink); }
@media (max-width: 899px) { .annals__head, .annals__list { grid-column: 1 / -1; } }
@media (max-width: 599px) { .annals__list li { grid-template-columns: 1fr; gap: 0.3rem; } }

/* v13.2: building chronology inside a History chapter */
.early__head { margin-top: 0.75rem; font-size: 0.75rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.chap__body .annals__list--inline { grid-column: auto; }
.annals__list--inline li { grid-template-columns: 5rem minmax(0, 1fr); }
@media (max-width: 599px) { .annals__list--inline li { grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; } }

/* v13.7: Facebook "f" with a fixed box that no inherited SVG rule can enlarge (the SVGs also carry width/height attributes). */
svg.fb-icon {
  display: inline-block !important;
  width: 8px !important;
  height: 14px !important;
  min-width: 8px !important;
  max-width: 8px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  flex: 0 0 8px !important;
  vertical-align: -2px;
  overflow: visible;
  margin-right: 0.45em;
  color: #1877F2;
}
svg.fb-icon--btn {
  width: 9px !important;
  height: 15px !important;
  min-width: 9px !important;
  max-width: 9px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  flex-basis: 9px !important;
  margin-right: 0;
  color: inherit;
}
.link-arrow svg.fb-icon { margin-right: 0; align-self: center; }


/* v14: new interior and exterior photography, and the pipe organ */
.sanct__figure--wide { max-width: 1040px; }
.sanct__figure--wide .sanct__arch img { object-position: 50% 58%; }
.recognise__second--tall img { aspect-ratio: auto; }
.pos-altar { object-position: 50% 40%; }

/* History, Chapter One: a narrow stained-glass detail under the year (desktop), after the text (mobile) */
.chap--detail .chap__rail { grid-row: 1; }
.chap--detail .chap__body { grid-row: 1 / span 2; }
.chap__detail { grid-column: 1 / span 3; grid-row: 2; align-self: start; margin: clamp(1.5rem, 3vw, 3rem) 0 0; max-width: 300px; }
.chap__detail img { width: 100%; height: auto; }

/* The pipe organ: a wide photograph carrying the sanctuary context, then text and a ruled register */
.organ { background: var(--paper); padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); overflow-x: clip; }
.organ__head { display: grid; gap: 1.2rem; max-width: calc(var(--max) + 2 * var(--gutter)); }
.organ__head > * { max-width: 46rem; }
.organ__head .lead { color: var(--ink); }
.organ__figure { margin: clamp(2.25rem, 4vw, 3.5rem) auto 0; max-width: 1600px; }
.organ__figure img { width: 100%; height: auto; }
.organ__figure .caption { margin-top: 0.85rem; }
.organ__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 2.5rem;
  align-items: start;
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}
.organ__grid > * { min-width: 0; }
.organ__body { grid-column: 1 / span 5; color: var(--ink-2); }
.organ__facts { grid-column: 7 / span 6; display: grid; gap: 1.5rem; }
.organ__spec { grid-column: auto; }
.organ__stops { margin: 0; border-top: 1px solid var(--rule); }
.organ__stops div { display: grid; grid-template-columns: minmax(5rem, 7rem) minmax(0, 1fr); gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--rule); }
.organ__stops dt { font-family: var(--serif); font-style: italic; color: var(--brick); }
.organ__stops dd { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }

@media (max-width: 899px) {
  .chap--detail .chap__rail, .chap--detail .chap__body, .chap__detail { grid-column: 1 / -1; grid-row: auto; }
  .chap__detail { max-width: 240px; margin-top: 0.5rem; }
  .organ__body, .organ__facts { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .organ__stops div { grid-template-columns: 1fr; gap: 0.2rem; }
}


/* v15: History from the congregation's own church history */
.recall { margin: 0.25rem 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 2px solid var(--brass); max-width: var(--measure); }
.recall p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); line-height: 1.4; color: var(--ink); }
.recall footer { margin-top: 0.6rem; font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--ink-2); }
.on-dark .recall p { color: var(--on-dark); }
.on-dark .recall footer { color: var(--on-dark-2); }
.chap__sub { margin-top: 0.75rem; font-size: var(--step-2); font-style: italic; font-weight: 400; }
.chap--ink .chap__sub { color: var(--on-dark); }
.chap--ink .early__source, .chap--ink .early__source a { color: var(--on-dark-2); }
.chap--ink .early__source .caption__mark { color: var(--brass-light); }
.chap--ink .prose a { color: var(--brass-light); }
.chap--ink .chap__detail img { box-shadow: 0 0 0 1px var(--rule-dark); }
.chap__detail--drawing img { background: #fff; padding: 0.5rem; box-shadow: 0 0 0 1px var(--rule); }
.chap--ink .chap__wide { max-width: calc(913px + var(--edge)); }
.chap--detail.chap--paper .chap__wide, .chap--detail.chap--ink .chap__wide { grid-row: 3; }
.chap--ink.chap--detail .chap__wide { grid-column: 5 / -1; }
.chap--detail .chap__rail, .chap__grid:has(.annals__list--long) .chap__rail { position: static; }
.annals__list--long li { padding-block: 0.85rem; }
.chap--paper .chap__wide:has(img[width="649"]) { grid-column: 1 / span 5; grid-row: 2; margin: clamp(1.5rem, 3vw, 3rem) 0 0; max-width: 360px; }
.chap--paper .chap__grid:has(.annals__list--long) .chap__rail { grid-row: 1; }
.chap--paper .chap__grid:has(.annals__list--long) .chap__body { grid-row: 1 / span 2; }
.chap--paper .chap__wide:has(img[width="649"]) .caption { margin: 0.85rem 0 0; }

.pastors { background: var(--ink); color: var(--on-dark); padding-block: clamp(4.5rem, 3rem + 6vw, 9rem); }
.pastors__head { display: grid; gap: 1.2rem; max-width: 46rem; }
.pastors__head .chap__title { color: var(--on-dark); }
.pastors__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin: clamp(2rem, 4vw, 3.5rem) 0 0; padding: 0; list-style: none; }
.pastors__list figure { margin: 0; }
.pastors__list img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 0 0 1px var(--rule-dark); }
.pastors__list figcaption { display: grid; gap: 0.15rem; margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px solid var(--rule-dark); }
.pastors__name { font-family: var(--serif); font-size: 1rem; line-height: 1.25; color: var(--on-dark); }
.pastors__years { font-size: 0.8125rem; color: var(--brass-light); font-variant-numeric: lining-nums; }
.pastors__foot { display: grid; gap: 0.9rem; margin-top: clamp(2rem, 4vw, 3rem); max-width: 46rem; }
.pastors__foot strong { color: var(--on-dark); font-weight: 600; }
.pastors__foot a { color: var(--brass-light); }
.pastors .early__source, .pastors .early__source a { color: var(--on-dark-2); }
.pastors .early__source .caption__mark { color: var(--brass-light); }

.archive__fig { margin: 0.5rem 0 0; max-width: 300px; }
.archive__fig img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--rule-dark); }

@media (max-width: 899px) {
  .pastors__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chap--detail.chap--paper .chap__wide, .chap--detail.chap--ink .chap__wide, .chap--ink.chap--detail .chap__wide { grid-row: auto; grid-column: 1 / -1; }
  .chap--paper .chap__wide:has(img[width="649"]) { grid-column: 1 / -1; grid-row: auto; margin: 0.5rem 0 0; max-width: 320px; }
  .chap--paper .chap__grid:has(.annals__list--long) .chap__rail, .chap--paper .chap__grid:has(.annals__list--long) .chap__body { grid-row: auto; }
}
@media (max-width: 499px) {
  .pastors__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v16: homepage hero. The real church on the right, who/where/when on forest green at left. Stacks on tablet and phone. */
.hero2 { background: var(--forest); color: var(--on-dark); }
.hero2__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(calc(100svh - var(--header-h)), 58vw); }
.hero2__media { grid-column: 2; grid-row: 1; margin: 0; position: relative; overflow: hidden; background: var(--ink); }
.hero2__media picture { position: absolute; inset: 0; }
.hero2__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.hero2__copy {
  grid-column: 1; grid-row: 1;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(1rem, 1.6vw, 1.5rem);
  padding: clamp(2.5rem, 4vw, 4.5rem) clamp(1.75rem, 3.5vw, 3.5rem) clamp(2.5rem, 4vw, 4.5rem) var(--edge);
}
.hero2__eyebrow { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); }
.hero2__eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--brass-light); flex: none; }
.hero2__title { font-size: clamp(2.3rem, 1.2rem + 2.6vw, 4.1rem); font-weight: 360; line-height: 1.02; letter-spacing: -0.015em; color: var(--on-dark); text-wrap: balance; }
.hero2__since { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.55rem); color: var(--brass-pale); }
.hero2__facts { margin: 0.5rem 0 0; border-top: 1px solid var(--rule-dark); max-width: 30rem; }
.hero2__facts div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding-block: 0.9rem; border-bottom: 1px solid var(--rule-dark); }
.hero2__facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.hero2__facts dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; color: var(--on-dark); }
.hero2__time { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--brass-light); font-variant-numeric: lining-nums; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.pos-entrance { object-position: 50% 45%; }
.pos-window { object-position: 50% 30%; }
@media (max-width: 999px), (max-aspect-ratio: 1/1) and (max-width: 1299px) {
  .hero2__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero2__media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  .hero2__img { object-position: 50% 50%; }
  .hero2__copy { grid-column: 1; grid-row: 2; padding: clamp(1.75rem, 5vw, 2.75rem) var(--gutter) clamp(2.25rem, 6vw, 3.25rem); }
}
@media (max-width: 599px) {
  .hero2__facts div { grid-template-columns: 1fr; gap: 0.25rem; }
  .hero2__actions .btn { flex: 1 1 100%; }
}

/* v16: pastors in two eras, small archival portraits */
.pastors__era { margin-top: clamp(2rem, 4vw, 3rem); font: 600 0.75rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); }
.pastors__era + .pastors__list { margin-top: 1rem; }
.pastors__list { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1.5rem); }
.pastors__name { font-size: 0.875rem; }
@media (max-width: 1099px) { .pastors__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 599px) { .pastors__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pastors__name { font-size: 0.8125rem; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .home .hero__frame picture { animation: settle 1.8s var(--ease) both; }
  .home .hero__title > * { animation: rise 1s var(--ease) both; animation-delay: 0.35s; }
  .home .hero__title > *:nth-child(2) { animation-delay: 0.5s; }

  .reveal-ready [data-reveal] {
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .reveal-ready [data-reveal].is-below {
    opacity: 0;
    transform: translateY(18px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

@media print {
  .site-nav, .nav-toggle, .hero__actions, .nave { display: none !important; }
  body { background: #fff; }
}
