/* ==========================================================================
   Hope Valley Ranch — site design system
   "Everything here begins as a drawing." Paper is the film's own paper color,
   so the film sits in the page with no seam. Ink, the logo's brown, and one
   accent drawn from Celia Creek.
   ========================================================================== */

:root {
  --paper: #FAF9F4;
  --paper-deep: #F2EFE6;
  --paper-edge: #E3DDCF;
  --ink: #221D18;
  --ink-soft: #4F4840;
  --ink-mute: #6E665B;
  --brown: #4A2E1B;
  --brown-hover: #5E3B23;
  --creek: #33586A;
  --creek-light: #A9C1CC;
  --meadow: #56643F;
  --amber: #8A5C17;
  --night: #1B1916;
  --night-2: #25221E;
  --night-rule: #3A3530;
  --sand: #E9E0CE;
  --sand-mute: #B8AE9B;

  --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-text: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --f-label: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --measure: 66ch;
  --section: clamp(88px, 11vw, 168px);
  --nav-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.125rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
button { font: inherit; color: inherit; }
::selection { background: #DCCDB3; color: var(--ink); }
:focus-visible { outline: 2px solid var(--creek); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px;
  font-family: var(--f-label); font-size: 13px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.label {
  font-family: var(--f-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink-mute);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 26px;
}
/* a survey marker, like the points on the ranch map */
.eyebrow::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .75; }
.eyebrow--center { justify-content: center; }

.h1 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2.15rem, 1.25rem + 3.1vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.12;
}
.h2 em, .h1 em, .h3 em { font-style: normal; color: inherit; }
.lede {
  font-size: clamp(1.2rem, 1.06rem + 0.45vw, 1.42rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 40ch;
}
.prose { max-width: var(--measure); }
.prose p { color: var(--ink-soft); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose a, .text-link {
  color: var(--creek);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover, .text-link:hover { text-decoration-thickness: 2px; }
.dropcap::first-letter {
  float: left;
  font-family: var(--f-display);
  font-size: 4.6em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--brown);
}
.pull {
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.35rem);
  line-height: 1.3;
  color: var(--ink);
}
.muted { color: var(--ink-mute); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  font-family: var(--f-label); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--brown); color: #FBF6EC; }
.btn--primary:hover { background: var(--brown-hover); }
.btn--ghost { border-color: rgba(34, 29, 24, .28); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--sand); color: var(--night); }
.btn--light:hover { background: #F4EDDF; }
.btn--ghost-light { border-color: rgba(233, 224, 206, .35); color: var(--sand); }
.btn--ghost-light:hover { border-color: var(--sand); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); padding-bottom: 5px; border-bottom: 1px solid rgba(34, 29, 24, .3);
  transition: border-color .25s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); }
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- navigation ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 244, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-nav.is-scrolled { border-bottom-color: var(--paper-edge); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
}
.nav-brand { display: block; flex: none; }
.nav-brand img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-links a {
  position: relative;
  font-family: var(--f-label); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-soft); padding: 8px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { min-height: 42px; padding: 0 22px; color: #FBF6EC; }
.nav-links .btn::after { display: none; }
.nav-toggle {
  display: none; width: 46px; height: 46px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-panel {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 49;
  background: var(--paper);
  padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.nav-panel.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-panel a.panel-link {
  font-family: var(--f-display); font-size: 2.1rem; line-height: 1.2; text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--paper-edge); color: var(--ink);
}
.nav-panel a.panel-link[aria-current="page"] { color: var(--brown); }
.nav-panel .btn { margin-top: 28px; align-self: flex-start; }
.nav-panel .panel-meta { margin-top: auto; padding-top: 40px; }
@media (max-width: 940px) {
  :root { --nav-h: 66px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-brand img { height: 42px; }
}
@media (min-width: 941px) { .nav-panel { display: none; } }
body.nav-open { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--deep { background: var(--paper-deep); }
.section--rule { border-top: 1px solid var(--paper-edge); }
.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .lede, .h2 + .lede, .h1 + .lede { margin-top: 24px; }
.section-head--center { text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.split {
  display: grid; gap: clamp(40px, 6vw, 96px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}
.split > .span-5 { grid-column: span 5; }
.split > .span-6 { grid-column: span 6; }
.split > .span-7 { grid-column: span 7; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split > * { grid-column: 1 / -1 !important; }
}

/* ---------- the film: inline, full bleed, plays on its own ---------- */
.film { position: relative; }
.film-stage {
  position: relative; width: 100%;
  height: min(56.25vw, calc(100vh - var(--nav-h)));
  background: var(--paper); overflow: hidden;
}
@supports (height: 100svh) { .film-stage { height: min(56.25vw, calc(100svh - var(--nav-h))); } }
.film-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--paper); }
/* the film is drawn on the page's own paper, so its edges simply dissolve into it */
.film-stage::after {
  content: ""; position: absolute; inset: -1px 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, var(--paper) 0, rgba(250, 249, 244, 0) 5%, rgba(250, 249, 244, 0) 93%, var(--paper) 100%);
}
.film-toggle {
  position: absolute; z-index: 4; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2.4vw, 32px);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(34, 29, 24, .14); background: rgba(250, 249, 244, .6); color: var(--ink-soft);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: .72; transition: opacity .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.film-toggle:hover, .film-toggle:focus-visible { opacity: 1; background: rgba(250, 249, 244, .95); color: var(--ink); }
.film-toggle[hidden] { display: none; }
.film-toggle svg { width: 14px; height: 14px; }
.film-toggle .i-play, .film-toggle.is-paused .i-pause { display: none; }
.film-toggle.is-paused .i-play { display: block; }
.film-cta {
  position: absolute; z-index: 3; left: 40%; top: 62.5%; width: 20%; height: 7.5%;
  border-radius: 999px; color: transparent; font-size: 1px; overflow: hidden;
}
.film-cta[hidden] { display: none; }
.film-cta:focus-visible { outline: 2px solid var(--paper); box-shadow: 0 0 0 5px var(--ink); }
.film-play {
  position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(250, 249, 244, .94); color: var(--ink);
  box-shadow: 0 10px 40px -12px rgba(34, 29, 24, .35);
  font-family: var(--f-label); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.film-play[hidden] { display: none; }
.film-play .disc { width: 42px; height: 42px; border-radius: 50%; background: var(--brown); display: grid; place-items: center; }
.film-play .disc::before { content: ""; margin-left: 3px; border-left: 12px solid #FBF6EC; border-top: 7.5px solid transparent; border-bottom: 7.5px solid transparent; }
.film-meta {
  margin: 8px auto 0; font-family: var(--f-label); font-size: .62rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
}

/* ---------- title block under the film ---------- */
.title-block { padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 8vw, 112px); }
.title-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.title-grid .headline { container-type: inline-size; }
.title-grid .h1 { font-size: min(calc(100cqi / 9.6), 6rem); }
.title-grid .h1 span { display: block; white-space: nowrap; }
.title-grid .lede { max-width: 34ch; margin-bottom: 30px; }
.supporters {
  display: flex; align-items: center; gap: 12px; margin: 26px 0 0;
  font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.supporters[hidden] { display: none; }
.supporters b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.supporters-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--meadow); box-shadow: 0 0 0 4px rgba(86, 100, 63, .16); }
.supporters--small { margin-top: 18px; }
.survey {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 18px;
  border-top: 1px solid var(--paper-edge);
}
.survey span { font-family: var(--f-label); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .title-grid { grid-template-columns: minmax(0, 1fr); }
  .title-grid .h1 { font-size: calc((100vw - 2 * var(--gutter)) / 9.8); }
}

/* ---------- ink-to-color figures ---------- */
.ink {
  position: relative; margin: 0; overflow: hidden;
  background: var(--paper);
  --r: 120;
}
.ink img { width: 100%; height: 100%; object-fit: cover; }
.ink .ink-color { position: absolute; inset: 0; }
.js .ink .ink-color {
  -webkit-mask-image: radial-gradient(circle at var(--fx, 55%) var(--fy, 50%), #000 calc(var(--r) * 1% - 24%), transparent calc(var(--r) * 1%));
  mask-image: radial-gradient(circle at var(--fx, 55%) var(--fy, 50%), #000 calc(var(--r) * 1% - 24%), transparent calc(var(--r) * 1%));
}
.js .ink { --r: 0; }
.ink--soft::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  box-shadow: inset 0 0 28px 18px var(--paper);
}
.cap {
  display: flex; justify-content: space-between; gap: 20px; margin-top: 14px;
  font-family: var(--f-label); font-size: .68rem; letter-spacing: .08em; color: var(--ink-mute);
}
.cap b { font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }

.fragments { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.45; color: var(--ink); margin: 28px 0; }

/* ---------- the map ---------- */
.map-layout > * { min-width: 0; }
.map-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.map-scroll {
  position: relative; overflow: hidden; border-radius: 3px; background: var(--paper);
  box-shadow: 0 0 0 1px var(--paper-edge), 0 40px 90px -60px rgba(34, 29, 24, .45);
}
.map-canvas { position: relative; aspect-ratio: 4 / 3; transform-origin: 0 0; transition: transform .7s var(--ease); --z: 1; }
.map-canvas > .map-art, .map-canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pins { position: absolute; inset: 0; pointer-events: none; }
.map-pin {
  position: absolute; transform: translate(-50%, -50%) scale(calc(1 / var(--z))); pointer-events: auto;
  width: 30px; height: 30px; border-radius: 50%; padding: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1.5px dashed var(--ink-soft);
  font-family: var(--f-label); font-size: .7rem; font-weight: 600;
  box-shadow: 0 6px 16px -6px rgba(34, 29, 24, .45);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.map-pin.is-done { background: var(--meadow); border: 1.5px solid var(--meadow); color: #F6F2E8; }
.map-pin.is-future { border-style: dotted; color: var(--ink-mute); }
.map-pin:hover { transform: translate(-50%, -50%) scale(calc(1.12 / var(--z))); }
.map-pin.is-on { background: var(--brown); border: 1.5px solid var(--brown); color: #FBF6EC; transform: translate(-50%, -50%) scale(calc(1.18 / var(--z))); z-index: 2; }
.map-pin.is-on::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--brown); opacity: .5;
  animation: halo 2.6s var(--ease) infinite;
}
.map-legend {
  list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-family: var(--f-label); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
}
.map-legend li { display: flex; align-items: center; gap: 9px; }
.key { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 1.5px dashed var(--ink-soft); }
.key--done { background: var(--meadow); border: 1.5px solid var(--meadow); }
.key--future { border-style: dotted; border-color: var(--ink-mute); }
.map-index { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.map-chip {
  position: relative; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--paper-edge); background: var(--paper); cursor: pointer;
  font-family: var(--f-label); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  transition: border-color .2s, color .2s, background .2s;
}
.map-chip .n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1.2px dashed var(--ink-mute); font-size: .62rem; letter-spacing: 0;
}
.map-chip.is-done .n { background: var(--meadow); border: 1.2px solid var(--meadow); color: #F6F2E8; }
.map-chip.is-future .n { border-style: dotted; }
.map-chip:hover { border-color: var(--ink-mute); color: var(--ink); }
.map-chip[aria-pressed="true"] { border-color: var(--brown); color: var(--brown); background: #fff; }
.map-chip[aria-pressed="true"] .n { background: var(--brown); border: 1.2px solid var(--brown); color: #FBF6EC; }
.map-note { margin: 18px 0 0; font-family: var(--f-label); font-size: .62rem; letter-spacing: .1em; color: var(--ink-mute); }
.map-panel {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--paper); border: 1px solid var(--paper-edge); border-radius: 3px; padding: clamp(22px, 2.4vw, 32px);
}
.mp-body { animation: mpIn .45s var(--ease); }
@keyframes mpIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mp-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 18px; }
.mp-num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brown); color: #FBF6EC; font-family: var(--f-label); font-size: .7rem; font-weight: 600;
}
.chip {
  font-family: var(--f-label); font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor;
}
.chip.is-done { color: var(--meadow); }
.chip.is-next { color: var(--amber); }
.chip.is-future { color: var(--ink-mute); }
.mp-phase { font-family: var(--f-label); font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.mp-name { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.08; }
.mp-facts { font-family: var(--f-label); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 10px 0 18px; }
.mp-figure { position: relative; margin: 0 0 18px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: var(--paper-deep); }
.mp-figure img { width: 100%; height: 100%; object-fit: cover; }
.mp-text { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }
.mp-nav { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--paper-edge); }
.mp-nav button {
  background: none; border: 0; cursor: pointer; padding: 8px 0;
  font-family: var(--f-label); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.mp-nav button:hover { color: var(--ink); }
@media (max-width: 960px) {
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-panel { position: static; }
}
.map-reset, .mp-close { display: none; }
@media (max-width: 700px) {
  .map-frame { margin: 0 calc(-1 * var(--gutter)); }
  .map-scroll { border-radius: 0; box-shadow: 0 0 0 1px var(--paper-edge); }
  .map-pin { width: 36px; height: 36px; font-size: .74rem; }
  .map-reset {
    display: inline-flex; align-items: center; gap: 8px; position: absolute; z-index: 3; left: 12px; top: 12px;
    min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--paper-edge); cursor: pointer;
    background: rgba(250, 249, 244, .95); color: var(--ink);
    font-family: var(--f-label); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    box-shadow: 0 6px 18px -8px rgba(34, 29, 24, .4);
  }
  .map-reset[hidden] { display: none; }
  .map-reset::before { content: ""; width: 12px; height: 9px; border: 1.5px solid currentColor; border-radius: 1px; }
  .map-legend { padding: 0 var(--gutter); }
  .map-index {
    flex-wrap: nowrap; overflow-x: auto; padding: 2px var(--gutter) 6px; scrollbar-width: none; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .map-index::-webkit-scrollbar { display: none; }
  .map-index li { scroll-snap-align: start; }
  .map-chip { min-height: 44px; }
  /* the details become a bottom sheet */
  .map-panel {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60;
    max-height: max(300px, min(64vh, calc(100vh - var(--nav-h) - 75vw - 20px)));
    overflow-y: auto; overscroll-behavior: contain;
    border-radius: 18px 18px 0 0; border: 0; padding: 30px 22px calc(22px + env(safe-area-inset-bottom));
    box-shadow: 0 -20px 60px -20px rgba(34, 29, 24, .35);
    transform: translateY(105%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
  }
  .map-panel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .map-panel::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--paper-edge); }
  .mp-close {
    display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
    border: 0; border-radius: 50%; background: var(--paper-deep); cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--ink);
  }
  .mp-head { padding-right: 48px; }
  .mp-name { font-size: 1.8rem; }
  .mp-name:focus { outline: none; }
  .mp-facts { margin-bottom: 14px; }
  .mp-figure { aspect-ratio: 16 / 9; margin-bottom: 14px; }
  .mp-nav button { min-height: 44px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) { .map-canvas, .map-panel { transition: none; } }

/* ---------- where we are ---------- */
.tracker { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 80px); align-items: end; }
.tk-head .eyebrow { margin-bottom: 16px; }
.tk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tk-step { display: flex; flex-direction: column; gap: 10px; }
.tk-bar { position: relative; height: 6px; border-radius: 3px; background: var(--paper-edge); overflow: hidden; }
.tk-step.is-done .tk-bar { background: var(--meadow); }
.tk-step.is-now .tk-bar { background: linear-gradient(90deg, var(--amber) 0 55%, var(--paper-edge) 55%); }
.tk-n { font-family: var(--f-label); font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.tk-step.is-done .tk-n { color: var(--meadow); }
.tk-step.is-now .tk-n { color: var(--amber); }
.tk-t { font-family: var(--f-display); font-size: 1.05rem; line-height: 1.25; color: var(--ink-mute); }
.tk-step.is-now .tk-t, .tk-step.is-done .tk-t { color: var(--ink); }
.tk-notes {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px 48px; align-items: center;
  margin-top: 12px; padding-top: 26px; border-top: 1px solid var(--paper-edge);
}
.tk-note { display: flex; gap: 16px; align-items: baseline; }
.tk-note p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.tk-note b { color: var(--ink); font-weight: 600; }
.tk-label { flex: none; padding: 4px 10px; border: 1px solid var(--paper-edge); border-radius: 999px; font-size: .56rem; }
.tk-label.is-now { color: var(--amber); border-color: currentColor; }
@media (max-width: 960px) {
  .tracker { grid-template-columns: minmax(0, 1fr); }
  .tk-notes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tk-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tk-step { flex-direction: row; align-items: center; gap: 14px; }
  .tk-bar { flex: none; width: 48px; }
  .tk-n { flex: none; width: 66px; }
  .tk-note { flex-direction: column; gap: 8px; }
}

/* ---------- why horses: the four steps ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.jstep .ink { aspect-ratio: 4 / 3; margin-bottom: 20px; border-radius: 2px; }
.jstep-n { margin: 0 0 10px; }
.jstep-line { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1.2; margin-bottom: 12px; }
.jstep p:last-child { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.journey-foot {
  margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--paper-edge);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
@media (max-width: 1000px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .journey { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the promise (night) ---------- */
.promise {
  position: relative; overflow: hidden; background: var(--night); color: var(--sand);
  padding: calc(var(--section) * 1.15) 0;
}
.promise-bg { position: absolute; inset: 0; }
.promise-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: grayscale(.25) contrast(1.05); }
.promise-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--night) 0%, rgba(27, 25, 22, .55) 30%, rgba(27, 25, 22, .6) 70%, var(--night) 100%);
}
.promise .wrap { position: relative; z-index: 1; }
.promise .eyebrow { color: var(--sand-mute); }
.verse {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2rem, 1.1rem + 3.4vw, 4.4rem); line-height: 1.14; letter-spacing: -0.005em;
  max-width: 20ch; margin: 0 auto; text-align: center;
}
.verse-lead { font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.5; color: var(--sand-mute); text-align: center; max-width: 34ch; margin: 0 auto 26px; }
.verse em { font-style: italic; color: #F3EBDB; }
.verse-ref { display: block; text-align: center; margin-top: 30px; color: var(--creek-light); }
.promise .prose { margin: clamp(56px, 7vw, 96px) auto 0; max-width: 60ch; }
.promise .prose p { color: var(--sand-mute); }
.promise .prose p.fore { color: var(--sand); font-family: var(--f-display); font-size: 1.45rem; line-height: 1.45; }

/* ---------- pray with us ---------- */
.pray { padding: var(--section) 0; }
.pray-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pray .h2 { color: var(--sand); max-width: 16ch; }
.pray-verse { margin: 36px 0 0; padding-left: 22px; border-left: 1px solid rgba(169, 193, 204, .45); }
.pray-verse p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); line-height: 1.45; color: #F3EBDB; margin: 0 0 12px; max-width: 30ch; }
.pray-verse cite { font-style: normal; color: var(--creek-light); }
.pray-count { margin: 40px 0 0; font-family: var(--f-label); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-mute); }
.pray-count[hidden] { display: none; }
.pray-count b { display: block; margin-bottom: 8px; font-family: var(--f-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 400; letter-spacing: 0; line-height: 1; color: var(--sand); font-variant-numeric: lining-nums tabular-nums; }
.pray-form { margin-top: 0; }
.opt { text-transform: none; letter-spacing: .02em; font-weight: 500; opacity: .75; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pray-simple {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--f-label); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-mute);
  transition: color .2s;
}
.pray-simple:hover { color: var(--sand); }
.pray-simple[disabled] { cursor: default; }
.pray-mark { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(233, 224, 206, .4); }
.pray-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--creek-light); transform: scale(0); transition: transform .4s var(--ease); }
.pray-simple:hover .pray-mark::after { transform: scale(.5); }
.pray-simple.is-done { color: var(--sand); }
.pray-simple.is-done .pray-mark { border-color: var(--creek-light); }
.pray-simple.is-done .pray-mark::after { transform: scale(1); }
@media (max-width: 900px) { .pray-grid { grid-template-columns: minmax(0, 1fr); } }
.creek-line { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 0; width: 100%; height: 70%; pointer-events: none; }
.creek-line path { fill: none; stroke: var(--creek-light); stroke-width: 1.2; opacity: .32; stroke-linecap: round; }

/* ---------- the plan ---------- */
.plan-figure .ink { aspect-ratio: 1920 / 975; }
.pin {
  position: absolute; z-index: 2; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; pointer-events: none;
}
.pin span {
  font-family: var(--f-label); font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); background: rgba(250, 249, 244, .92); padding: 5px 9px; border-radius: 3px; white-space: nowrap;
}
.pin::after { content: ""; width: 1px; height: 28px; background: rgba(250, 249, 244, .95); box-shadow: 0 0 0 .5px rgba(34, 29, 24, .25); }
.pin i { position: absolute; bottom: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px rgba(34, 29, 24, .4); }
@media (max-width: 700px) { .pin { display: none; } }

.phases {
  list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  position: relative;
}
.phases::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--paper-edge); }
.phase { padding: 0 22px 0 0; position: relative; }
.phase-dot {
  width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--paper-edge); margin-bottom: 26px; position: relative;
  font-family: var(--f-label); font-size: .64rem; font-weight: 600; color: var(--ink-mute);
}
.phase.is-done .phase-dot { background: var(--meadow); border-color: var(--meadow); color: #F6F2E8; }
.phase.is-now .phase-dot { background: var(--paper); border: 2px solid var(--amber); color: var(--amber); }
.phase.is-now .phase-dot::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--amber); opacity: .5;
  animation: halo 2.6s var(--ease) infinite;
}
@keyframes halo { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .phase.is-now .phase-dot::after { animation: none; } }
.status { display: inline-block; font-family: var(--f-label); font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.is-done .status { color: var(--meadow); }
.is-now .status { color: var(--amber); }
.is-next .status { color: var(--ink-mute); }
.phase h3 { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; margin-bottom: 10px; }
.phase p { font-size: .98rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) {
  .phases { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .phases::before { left: 17px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .phase { padding: 0 0 34px 60px; }
  .phase-dot { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.gallery figure { margin: 0; }
.gallery .g-a { grid-column: span 7; }
.gallery .g-b { grid-column: span 5; }
.gallery .g-c { grid-column: span 5; }
.gallery .g-d { grid-column: span 7; }
.gallery .g-e { grid-column: 1 / -1; }
.gallery .frame { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; background: var(--paper-deep); }
.gallery .g-a .frame, .gallery .g-d .frame { aspect-ratio: 16 / 10; }
.gallery .g-e .frame { aspect-ratio: 21 / 9; }
.gallery .g-b .frame, .gallery .g-c .frame { aspect-ratio: 8 / 7; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 12px; font-size: .95rem; color: var(--ink-soft); }
.gallery figcaption b { display: block; font-family: var(--f-label); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
@media (max-width: 760px) { .gallery > figure { grid-column: 1 / -1 !important; } }

/* ---------- join ---------- */
.join-card {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0;
  background: #fff; border: 1px solid var(--paper-edge); border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(34, 29, 24, .28);
}
.join-art { position: relative; min-height: 460px; }
.join-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.join-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 60%, rgba(255,255,255,.0)); }
.join-body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.join-body .h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem); margin-bottom: 18px; }
@media (max-width: 900px) {
  .join-card { grid-template-columns: minmax(0, 1fr); }
  .join-art { min-height: 0; aspect-ratio: 16 / 10; }
}

.form { display: grid; gap: 14px; margin-top: 28px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--f-label); font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--paper-edge); border-radius: 6px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9A9285; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--creek); box-shadow: 0 0 0 3px rgba(51, 88, 106, .14); background: #fff; }
.form .form-submit { margin-top: 6px; width: 100%; }
.form-note { margin-top: 14px; font-size: .9rem; color: var(--ink-mute); }
.on-night .field label { color: var(--sand-mute); }
.on-night .field input, .on-night .field textarea { background: var(--night-2); border-color: var(--night-rule); color: var(--sand); }
.on-night .field input::placeholder { color: #7D7466; }
.on-night .form-note { color: var(--sand-mute); }

.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--paper-edge); }
.way { padding: 32px 32px 8px 0; }
.way + .way { padding-left: 32px; border-left: 1px solid var(--paper-edge); }
.way h3 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 10px; }
.way p { color: var(--ink-soft); font-size: 1.02rem; }
@media (max-width: 860px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
  .way, .way + .way { padding: 28px 0 4px; border-left: 0; border-bottom: 1px solid var(--paper-edge); }
}

/* ---------- instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 3px; overflow: hidden; }
@media (min-width: 861px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-edge); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-tile:hover img { transform: scale(1.05); }

/* ---------- closing ---------- */
.closing { text-align: center; padding: var(--section) 0 calc(var(--section) * .8); }
.closing p { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.4; margin: 0 auto; max-width: 30ch; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--sand-mute); padding: clamp(72px, 9vw, 120px) 0 36px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: clamp(32px, 4vw, 64px); }
.footer-brand img { width: 240px; max-width: 70%; height: auto; margin-bottom: 22px; }
.footer-brand p { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.5; color: var(--sand); max-width: 30ch; }
.footer-col h4 { font-family: var(--f-label); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-mute); margin-bottom: 18px; opacity: .8; }
.footer-col a, .footer-col span { display: block; color: var(--sand); text-decoration: none; font-size: 1rem; margin-bottom: 10px; width: fit-content; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--night-rule);
  font-family: var(--f-label); font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.footer-base a { color: inherit; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- page heroes (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 128px) 0 clamp(40px, 5vw, 72px); }
.page-hero .h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); }
.page-hero .lede { margin-top: 26px; max-width: 42ch; }
.page-hero-media { margin-top: clamp(40px, 5vw, 72px); }
.page-hero-media .ink { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .page-hero-media .ink { aspect-ratio: 4 / 3; } }

.scripture {
  text-align: center; padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--paper-edge); border-bottom: 1px solid var(--paper-edge);
}
.scripture p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.45; margin: 0 auto 18px; max-width: 26ch; }
.scripture .label { color: var(--creek); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.value { padding: 28px 24px 8px 0; }
.value + .value { padding-left: 24px; border-left: 1px solid var(--paper-edge); }
.value h3 { font-family: var(--f-display); font-size: 1.45rem; margin-bottom: 10px; }
.value p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: minmax(0, 1fr); }
  .value, .value + .value { padding: 24px 0 4px; border-left: 0; border-bottom: 1px solid var(--paper-edge); }
}

.lessons { list-style: none; margin: 0; padding: 0; }
.lessons li { font-family: var(--f-display); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.2; padding: 22px 0; border-bottom: 1px solid var(--paper-edge); }
.lessons li:first-child { border-top: 1px solid var(--paper-edge); }

.prayer {
  background: var(--night); color: var(--sand); border-radius: 4px;
  padding: clamp(36px, 5vw, 64px); text-align: center;
}
.prayer .label { color: var(--creek-light); }
.prayer p { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.5; margin: 18px auto 0; max-width: 34ch; }

.contact-list { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--paper-edge); }
.contact-list div { padding: 18px 0; border-bottom: 1px solid var(--paper-edge); display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: baseline; }
.contact-list a { color: var(--creek); text-underline-offset: 3px; }
@media (max-width: 480px) { .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.legal h2 { font-family: var(--f-display); font-size: 1.6rem; margin: 48px 0 14px; }

/* ---------- motion ---------- */
.js .fx { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .fx.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fx { opacity: 1; transform: none; transition: none; }
  .mp-body { animation: none; }
  .map-pin.is-on::after { animation: none; }
}
.pray .creek-line { top: auto; bottom: -6%; transform: none; height: 42%; }
.tk-notes .link-arrow { justify-self: start; }

/* ---------- phones ---------- */
@media (max-width: 700px) {
  :root { --section: 64px; }
  body { font-size: 1.0625rem; }
  .h2 { font-size: clamp(1.95rem, 1.2rem + 3.4vw, 2.4rem); }
  .lede { font-size: 1.15rem; }
  .eyebrow { margin-bottom: 18px; }
  .section-head { margin-bottom: 36px; }
  .title-block { padding: 36px 0 48px; }
  .title-grid { gap: 22px; }
  .title-grid .lede { margin-bottom: 24px; }
  .btn-row .btn { flex: 1 1 auto; }
  .survey { gap: 8px 18px; margin-top: 32px; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero .lede { margin-top: 18px; }
  .film-toggle { width: 44px; height: 44px; }
  .film-meta { margin-top: 4px; }
  .link-arrow { padding-top: 12px; }
  .footer-col a { padding: 6px 0; margin-bottom: 4px; }
  .pray-simple { min-height: 44px; }
  .pray-verse { margin-top: 26px; }
  .pray-count { margin-top: 28px; }
  .join-body { padding: 28px 22px 32px; }
  .join-art { aspect-ratio: 16 / 11; }
  .way { padding-top: 22px; }
  .tk-notes { gap: 18px; padding-top: 20px; }
  .closing { padding: 56px 0 64px; }
  .closing p { font-size: 1.45rem; }
  .footer-grid { gap: 28px 20px; }
  .scripture { padding: 32px 8px; }
  .prayer { padding: 32px 22px; }
  .lessons li { font-size: 1.5rem; padding: 16px 0; }
  .contact-list div { padding: 14px 0; }
  .gallery { gap: 18px; }
  .gallery .g-e .frame { aspect-ratio: 16 / 10; }
  /* the four program steps swipe sideways instead of stacking */
  .journey {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .journey::-webkit-scrollbar { display: none; }
  .jstep { flex: 0 0 84%; scroll-snap-align: start; }
  .jstep .ink { margin-bottom: 16px; }
  .journey-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .journey-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--paper-edge); transition: background .3s, transform .3s; }
  .journey-dots span.is-on { background: var(--brown); transform: scale(1.25); }
  .journey-foot { margin-top: 28px; }
}
@media (min-width: 701px) { .journey-dots { display: none; } }
@media (max-width: 700px) {
  .footer-col:nth-child(3) { grid-column: 1 / -1; order: 3; }
  .footer-col:nth-child(4) { order: 2; }
  .footer-col a { overflow-wrap: anywhere; }
}
