/* ============================================================
   St Peter's Peterborough — Limestone, Wheat & Stained Glass
   ============================================================ */
:root {
  --limestone: #F7F5F0;
  --sand: #EFEAE1;
  --white: #FFFFFF;
  --charcoal: #1A2026;
  --blue: #1C3F60;
  --blue-dark: #163350;
  --blue-soft: rgba(28, 63, 96, 0.78);
  --blue-faint: rgba(28, 63, 96, 0.62);
  --wheat: #C08A4D;
  --wheat-text: #8C5E28;
  --wheat-light: #D9A55F;
  --border: #E5E0D8;
  --display: "Fraunces", Georgia, serif;
  --body: "Work Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--limestone);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blue); color: var(--limestone); }

:focus-visible { outline: 3px solid var(--wheat-text); outline-offset: 3px; border-radius: 2px; }

.container { max-width: 75rem; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 768px) { .container { padding-inline: 2.5rem; } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff;
  padding: 0.75rem 1.25rem; font-weight: 500;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--display); color: var(--blue); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1.16; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 400; line-height: 1.28; }
em, .italic { font-style: italic; font-weight: 300; color: var(--wheat-text); }
.section-dark h2, .section-dark h3 { color: var(--limestone); }
.section-dark em { color: var(--wheat-light); }

.overline {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--wheat-text);
  display: inline-flex; align-items: center; gap: 0.8rem;
}
.overline::before, .overline::after { content: ""; width: 1.8rem; height: 1px; background: var(--wheat); display: inline-block; }
.overline.left::after { display: none; }
.overline.light { color: var(--wheat-light); }
.overline.light::before, .overline.light::after { background: var(--wheat-light); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.8; color: var(--blue-soft); max-width: 42rem; font-weight: 300; }
.muted { color: var(--blue-faint); }

.rule-double {
  border: none; height: 5px;
  border-top: 1px solid var(--blue); border-bottom: 3px solid var(--blue);
  margin-block: 1.2rem; opacity: 0.85;
}
.section-dark .rule-double { border-color: var(--wheat); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--body); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease),
              border-color 0.5s var(--ease), transform 0.5s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--wheat-text); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: var(--limestone); color: var(--blue); }
.btn-light:hover { background: var(--wheat); color: var(--charcoal); }
.btn-ghost-light { background: transparent; border-color: rgba(247,245,240,0.45); color: var(--limestone); }
.btn-ghost-light:hover { background: var(--limestone); color: var(--blue); border-color: var(--limestone); }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.72rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 500; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--wheat-text); text-decoration: none;
  border-bottom: 1px solid var(--wheat); padding-bottom: 3px;
  transition: gap 0.45s var(--ease), color 0.4s, border-color 0.4s;
}
.link-arrow:hover { gap: 0.9rem; color: var(--blue); border-color: var(--blue); }

/* ---------- Topbar + Header ---------- */
.topbar {
  background: var(--blue); color: rgba(247,245,240,0.9);
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.5rem 0; position: relative; z-index: 51;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; justify-content: center; }
@media (min-width: 768px) { .topbar .container { justify-content: space-between; } }
.topbar strong { color: var(--wheat-light); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; transition: transform 0.8s var(--ease); }
.brand:hover .brand-mark { transform: translateY(-2px); }
.brand-text { font-family: var(--display); font-size: 1.35rem; font-weight: 400; line-height: 1.05; color: var(--blue); }
.brand-text small { display: block; font-family: var(--body); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-faint); }

.main-nav { display: none; align-items: center; gap: 1.8rem; }
.main-nav a {
  position: relative; text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-soft); padding: 0.4rem 0;
  transition: color 0.4s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--wheat);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.header-actions .btn { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border); border-radius: 4px; cursor: pointer;
  transition: background-color 0.4s var(--ease);
}
.nav-toggle:hover { background: var(--sand); }
.nav-toggle span { width: 18px; height: 1.5px; background: var(--blue); transition: transform 0.4s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu { display: block; max-height: 0; overflow: hidden; transition: max-height 0.55s var(--ease); background: var(--limestone); border-bottom: 1px solid transparent; }
.mobile-menu.is-open { max-height: 600px; border-bottom-color: var(--border); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 1rem 1.5rem 2rem; gap: 0.2rem; }
.mobile-menu a {
  text-decoration: none; font-family: var(--display); font-size: 1.45rem; font-weight: 400;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border);
  transition: color 0.4s, padding-left 0.45s var(--ease);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--wheat-text); padding-left: 0.5rem; }
.mobile-menu a.btn, .mobile-menu a.btn:hover { color: #fff; border-bottom: none; padding-left: 2rem; }
.mobile-menu .btn { margin-top: 1.2rem; justify-content: center; }

@media (min-width: 1060px) {
  .main-nav { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.8rem, 6.5vw, 5rem); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3.2rem; align-items: center; position: relative; z-index: 1; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.12fr 0.88fr; gap: 4.5rem; } }
.hero h1 { margin: 1.3rem 0 1.5rem; }
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.1em; }
html.js .reveal-line-inner { display: inline-block; transform: translateY(115%); animation: line-up 1.2s var(--ease) forwards; }
html.js .reveal-line:nth-child(2) .reveal-line-inner { animation-delay: 0.16s; }
html.js .reveal-line:nth-child(3) .reveal-line-inner { animation-delay: 0.32s; }
@keyframes line-up { to { transform: translateY(0); } }
html.js .hero-fade { opacity: 0; transform: translateY(18px); animation: fade-up 1s var(--ease) forwards; }
html.js .hero-fade.d1 { animation-delay: 0.55s; }
html.js .hero-fade.d2 { animation-delay: 0.72s; }
html.js .hero-fade.d3 { animation-delay: 0.9s; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.7rem;
  margin-top: 2.5rem; padding-top: 1.3rem;
  border-top: 1px solid var(--blue);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-faint);
}
.hero-trust strong { color: var(--blue); font-weight: 600; }

.hero-media { position: relative; }
html.js .hero-media { opacity: 0; animation: fade-only 1.4s var(--ease) 0.35s forwards; }
@keyframes fade-only { to { opacity: 1; } }
.lancet {
  border-radius: 50% 50% 6px 6px / 30% 30% 6px 6px;
  overflow: hidden; aspect-ratio: 3 / 3.9;
  border: 1px solid var(--blue);
  padding: 0.7rem; background: var(--limestone);
  box-shadow: 0 24px 50px -28px rgba(28, 63, 96, 0.35);
}
.lancet .lancet-inner { border-radius: 50% 50% 3px 3px / 28% 28% 3px 3px; overflow: hidden; width: 100%; height: 100%; }
.lancet img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  margin-top: 1rem; text-align: center;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-faint);
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--blue); padding: 1.3rem 0; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  white-space: nowrap; padding-right: 3.2rem; color: var(--limestone);
}
.marquee-track > span::after { content: "\271A"; color: var(--wheat-light); padding-left: 3.2rem; font-style: normal; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.2rem, 9vw, 7.5rem); position: relative; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--blue); color: var(--limestone); }
.section-dark .lead, .section-dark .muted { color: rgba(247,245,240,0.74); }
.section-head { max-width: 50rem; margin: 0 auto clamp(2.5rem, 5vw, 3.8rem); text-align: center; position: relative; z-index: 1; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 { margin: 1.1rem 0 1rem; }
.grid-2 { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; } }
.grid-3 { display: grid; gap: 1.8rem; }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Belief rows ---------- */
.belief-row {
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.3rem 2.2rem;
  padding-block: clamp(1.9rem, 4vw, 2.8rem);
  border-top: 1px solid var(--border);
  align-items: start;
}
.belief-row h3 { margin-bottom: 0.55rem; }
.belief-row p { color: var(--blue-soft); max-width: 42rem; font-weight: 300; }
.cross-mark { width: 2.2rem; height: 2.2rem; flex: none; margin-top: 0.3rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(28, 63, 96, 0.07);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--wheat); box-shadow: 0 22px 44px -24px rgba(28, 63, 96, 0.28); }
.card-media { overflow: hidden; aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-body h3 { font-size: 1.5rem; }
.card-body p { font-size: 0.93rem; color: var(--blue-soft); flex: 1; font-weight: 300; }
.card-tag { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wheat-text); }

/* ---------- Service strip ---------- */
.service-strip {
  display: grid; gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
}
@media (min-width: 760px) { .service-strip { grid-template-columns: repeat(3, 1fr); } }
.service-cell { background: var(--white); padding: 2rem 1.8rem; text-align: center; }
.service-cell b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; color: var(--blue); margin-bottom: 0.3rem; }
.service-cell span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-faint); }

/* ---------- Frames ---------- */
.frame { border: 1px solid var(--border); padding: 0.7rem; background: var(--white); border-radius: 4px; box-shadow: 0 4px 20px rgba(28,63,96,0.07); }
.frame .frame-fill { overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall .frame-fill { aspect-ratio: 3 / 3.8; }
.frame-wide .frame-fill { aspect-ratio: 16 / 9; }
.frame-arch .frame-fill { border-radius: 50% 50% 3px 3px / 22% 22% 3px 3px; aspect-ratio: 3 / 3.6; }
.frame-caption { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-faint); margin-top: 0.85rem; text-align: center; }

/* ---------- Quote band ---------- */
.quote-band blockquote {
  font-family: var(--display); font-weight: 300; font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.35;
  max-width: 52rem; color: var(--blue);
}
.section-dark .quote-band blockquote { color: var(--limestone); }
.section-dark .quote-band blockquote em { color: var(--wheat-light); }
.quote-band cite { display: block; margin-top: 1.5rem; font-family: var(--body); font-style: normal; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-faint); }
.section-dark .quote-band cite { color: rgba(247,245,240,0.66); }

/* ---------- CTA band ---------- */
.cta-band h2 { max-width: 44rem; margin: 1.1rem 0 1.3rem; }
.cta-band.center { text-align: center; }
.cta-band.center h2, .cta-band.center .lead { margin-inline: auto; }
.cta-band.center .btn-row { justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-band .btn-row { margin-top: 2rem; }

/* ---------- Page hero ---------- */
.page-hero { padding-top: clamp(2.8rem, 6vw, 4.5rem); padding-bottom: clamp(2.2rem, 5vw, 3.6rem); position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin: 1.2rem 0 1.3rem; max-width: 54rem; }
.breadcrumb { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-faint); }
.breadcrumb a { color: var(--wheat-text); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Chapters ---------- */
.chapter { padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--border); }
.chapter-grid { display: grid; gap: 2.4rem; }
@media (min-width: 960px) {
  .chapter-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4.5rem; align-items: center; }
  .chapter:nth-child(even) .chapter-grid > .chapter-media { order: -1; }
}
.chapter h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0.9rem 0 1rem; }
.chapter p { color: var(--blue-soft); margin-bottom: 1rem; font-weight: 300; }
.check-list { list-style: none; margin: 1.3rem 0 1.7rem; display: grid; gap: 0.65rem; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--blue-soft); font-size: 0.95rem; font-weight: 300; }
.check-list li::before {
  content: "\271A"; position: absolute; left: 0; top: 0.1em;
  color: var(--wheat); font-size: 0.85rem;
}

/* ---------- Event cards ---------- */
.events-list { display: grid; gap: 1.5rem; }
.event-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 4px;
  padding: 0; overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.event-card:hover { border-color: var(--wheat); transform: translateY(-3px); }
.event-head { padding: 0.9rem 1.8rem; border-top: 1px solid var(--blue); border-bottom: 3px solid var(--blue); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.event-head b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--blue); }
.event-head span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wheat-text); }
.event-body { padding: 1.5rem 1.8rem 1.7rem; }
.event-body h3 { margin-bottom: 0.4rem; }
.event-meta { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-faint); margin-bottom: 0.7rem; display: block; }
.event-body p { font-size: 0.93rem; color: var(--blue-soft); font-weight: 300; margin-bottom: 0.9rem; }

/* ---------- Info panels ---------- */
.info-panel { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: clamp(1.6rem, 3.5vw, 2.3rem); box-shadow: 0 4px 20px rgba(28,63,96,0.07); }
.info-panel h3 { margin-bottom: 1rem; }
.detail-row { display: grid; grid-template-columns: 1fr; gap: 0.1rem; padding: 0.9rem 0; border-top: 1px solid var(--border); }
@media (min-width: 640px) { .detail-row { grid-template-columns: 11rem 1fr; gap: 1.4rem; } }
.detail-row dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-faint); padding-top: 0.25rem; }
.detail-row dd { font-size: 0.97rem; font-weight: 400; }
.detail-row dd a { color: var(--wheat-text); text-decoration: none; border-bottom: 1px solid var(--wheat); transition: color 0.4s, border-color 0.4s; }
.detail-row dd a:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-weight: 400; font-size: 0.98rem; color: var(--charcoal);
  background: var(--limestone); border: 1px solid var(--border); border-radius: 4px;
  padding: 0.85rem 1.05rem;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--wheat-text);
  box-shadow: 0 0 0 3px rgba(192, 138, 77, 0.2);
}
.form-note { font-size: 0.84rem; color: var(--blue-faint); }

/* ---------- Steps ---------- */
.flow-steps { counter-reset: step; display: grid; gap: 1.5rem; list-style: none; }
@media (min-width: 800px) { .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; } }
.flow-steps li { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 1.8rem; counter-increment: step; box-shadow: 0 4px 20px rgba(28,63,96,0.06); transition: border-color 0.5s var(--ease), transform 0.5s var(--ease); }
.flow-steps li:hover { border-color: var(--wheat); transform: translateY(-3px); }
.flow-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 2rem; color: var(--wheat-text); margin-bottom: 0.8rem;
}
.flow-steps h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.flow-steps p { font-size: 0.92rem; color: var(--blue-soft); font-weight: 300; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: var(--limestone); position: relative; z-index: 2; }
.footer-word {
  font-family: var(--display); font-weight: 300; font-style: italic;
  font-size: clamp(2.6rem, 8vw, 5.8rem); line-height: 1.05;
  padding-top: clamp(3.2rem, 7vw, 5.2rem);
}
.footer-word em { color: var(--wheat-light); font-weight: 300; }
.footer-cta { padding-block: clamp(2.2rem, 5vw, 3.4rem); border-bottom: 1px solid rgba(247,245,240,0.2); }
.footer-cta p { color: rgba(247,245,240,0.76); max-width: 38rem; margin-bottom: 1.9rem; font-weight: 300; }
.footer-grid { display: grid; gap: 2.4rem; padding-block: clamp(2.6rem, 6vw, 4rem); border-bottom: 1px solid rgba(247,245,240,0.2); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; } }
.footer-grid h4 { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wheat-light); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-grid a { color: rgba(247,245,240,0.88); text-decoration: none; font-size: 0.92rem; font-weight: 300; transition: color 0.4s, padding-left 0.45s var(--ease); }
.footer-grid a:hover { color: var(--wheat-light); padding-left: 0.3rem; }
.footer-brand p { color: rgba(247,245,240,0.7); font-size: 0.9rem; margin-top: 1rem; max-width: 24rem; font-weight: 300; }
.footer-charity { padding-block: 2rem; border-bottom: 1px solid rgba(247,245,240,0.2); }
.footer-charity p { font-size: 0.82rem; color: rgba(247,245,240,0.74); max-width: 62rem; margin-bottom: 0.5rem; font-weight: 300; }
.footer-charity strong { color: var(--limestone); font-weight: 500; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 0.7rem 2rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.5rem;
  font-size: 0.74rem; font-weight: 400; letter-spacing: 0.06em;
  color: rgba(247,245,240,0.66);
}
.footer-base a { color: rgba(247,245,240,0.84); text-decoration: none; }
.footer-base a:hover { color: var(--limestone); text-decoration: underline; }

/* ---------- Misc ---------- */
.notice { border-left: 3px solid var(--wheat); background: var(--sand); padding: 1.2rem 1.5rem; font-size: 0.92rem; color: var(--blue-soft); border-radius: 0 4px 4px 0; }
.notice strong { color: var(--blue); }
.notice a { color: var(--wheat-text); }
.prose p { margin-bottom: 1.1rem; color: var(--blue-soft); max-width: 46rem; font-weight: 300; }
.prose h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.prose h3 { margin: 2rem 0 0.8rem; font-size: 1.4rem; }
.prose ul { margin: 0 0 1.1rem 1.3rem; color: var(--blue-soft); max-width: 44rem; font-weight: 300; }
.prose li { margin-bottom: 0.45rem; }
.prose a { color: var(--wheat-text); }
.prose strong { color: var(--blue); font-weight: 500; }

/* scroll reveals */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .rv.is-visible { opacity: 1; transform: translateY(0); }
html.js .rv-d1 { transition-delay: 0.12s; }
html.js .rv-d2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  html.js .reveal-line-inner, html.js .hero-fade, html.js .hero-media { transform: none; opacity: 1; animation: none; }
  html.js .rv { opacity: 1; transform: none; }
}
