/* ==========================================================================
   Remembering God's Design — site stylesheet
   Restoring the Body & Renewing the Mind

   One stylesheet for the whole site. Sections in order:
     1. Fonts
     2. Design tokens (colours, type scale, spacing)
     3. Reset + base elements
     4. Layout helpers
     5. Header / navigation
     6. Buttons + small UI
     7. Hero
     8. Sections + cards
     9. Testimonial banner
    10. Tips button + panel
    11. Accordion (FAQ)
    12. Forms
    13. Footer
    14. Motion + print
   ========================================================================== */

/* 1. FONTS ---------------------------------------------------------------- */
/* Self-hosted so the site makes no third-party requests. To change a font,
   drop a new .woff2 in /assets/fonts and edit the two rules below. */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. DESIGN TOKENS -------------------------------------------------------- */
/* Shannon's palette. Cobalt leads, oxford anchors, green accents, white rests.
   No pastels, no cream, no washed-out tones — change these four and the whole
   site follows. */

:root {
  /* Brand */
  --cobalt: #0b4fe8;          /* primary — saturated, electric, open-ocean */
  --cobalt-deep: #0839b5;     /* hover / pressed */
  --cobalt-glow: #2f74ff;     /* highlights, gradients */
  --cobalt-wash: #eaf1ff;     /* pale tint for section backgrounds */
  --oxford: #00214a;          /* deep anchor — used sparingly */
  --oxford-deep: #001430;
  --green: #00c05a;           /* bright tropical growth */
  --green-bright: #16e07c;
  --green-wash: #e2fbee;
  --white: #ffffff;           /* crisp, pure white — never off-white */

  /* Text */
  --ink: #0a1a2f;
  --ink-soft: #41566f;
  --ink-onblue: rgba(255, 255, 255, 0.86);

  /* Lines + shadow */
  --line: #dfe7f3;
  --line-strong: #c2d2ea;
  --shadow-sm: 0 1px 2px rgba(0, 33, 74, 0.06), 0 4px 14px rgba(0, 33, 74, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 33, 74, 0.09), 0 2px 6px rgba(0, 33, 74, 0.05);
  --shadow-lg: 0 24px 60px rgba(0, 33, 74, 0.16);

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.5vw, 3.8rem);
  --step-5: clamp(2.7rem, 1.8rem + 4.4vw, 5.6rem);

  /* Space + shape */
  --gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
  --wrap: 1240px;
  --wrap-narrow: 780px;
  --radius: 6px;
  --radius-lg: 20px;
  --arch: 999px 999px 20px 20px / 28% 28% 3% 3%; /* cathedral arch motif */
  --nav-h: 78px;
  --topbar-h: 38px;
}

/* 3. RESET + BASE --------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); line-height: 1.25; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }

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

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: var(--gap) 0;
}

::selection { background: var(--green); color: var(--oxford); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--oxford);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* 4. LAYOUT --------------------------------------------------------------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 700px) {
  .wrap { width: min(100% - 4rem, var(--wrap)); }
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }

.section--wash { background: var(--cobalt-wash); }
.section--cobalt { background: var(--cobalt); color: #fff; }
.section--oxford { background: var(--oxford); color: #fff; }

.section--cobalt h1, .section--cobalt h2, .section--cobalt h3,
.section--oxford h1, .section--oxford h2, .section--oxford h3 { color: #fff; }
.section--cobalt p, .section--oxford p { color: var(--ink-onblue); }
.section--oxford a { color: var(--green-bright); }
.section--cobalt a { color: #fff; text-decoration: underline; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 860px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--split { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
  .grid--split-media { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
}
@media (min-width: 600px) and (max-width: 859px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

.stack > * + * { margin-top: 1.15rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--green);
}
/* Bright green on cobalt is only 3.6:1 — fine for large display text, not for
   these small labels. White on cobalt is 6.4:1, and the green dash before the
   label keeps the accent. On oxford, green clears 9:1 and can stay. */
.section--cobalt .eyebrow { color: #fff; }
.section--oxford .eyebrow { color: var(--green-bright); }
.center .eyebrow { justify-content: center; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--cobalt .lede, .section--oxford .lede { color: var(--ink-onblue); }

/* Scripture block — her words, set apart */
.scripture {
  border-left: 3px solid var(--green);
  padding: 0.35rem 0 0.35rem 1.4rem;
  margin: 1.75rem 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  font-style: italic;
  color: var(--oxford);
}
.scripture cite {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.section--cobalt .scripture, .section--oxford .scripture { color: #fff; border-color: var(--green-bright); }
.section--cobalt .scripture cite, .section--oxford .scripture cite { color: var(--green-bright); }

/* 5. HEADER --------------------------------------------------------------- */

/* .site-top wraps the slim strip + the nav so they move as one unit.

   Two modes:
   - Interior pages: sticky, pinned at minus the strip's height, so the strip
     scrolls away and the nav alone stays put.
   - Over a full-screen hero (home): absolute and transparent, then JS adds
     .is-stuck past the fold and it becomes a solid fixed bar. */
.site-top {
  position: sticky;
  top: calc(-1 * var(--topbar-h));
  z-index: 90;
}
.site-top--over-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.site-top.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.site-top--over-hero.is-stuck .topbar { display: none; }

/* Slim strip above the nav: contact + the quiet "by referral" note. */
.topbar {
  background: var(--oxford);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.site-top--over-hero .topbar {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
/* No width here — .wrap on the same element owns the width and gutters. */
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  white-space: nowrap;
  min-width: 0;
}
.topbar__inner > a {
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 419px) { .topbar { font-size: 0.72rem; } }
.topbar a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.topbar a:hover { color: var(--green-bright); }
.topbar__note { display: flex; align-items: center; gap: 0.5rem; }
.topbar__note::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  flex: none;
}
@media (max-width: 559px) {
  .topbar__inner { justify-content: center; }
  .topbar__note { display: none; }
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease;
}

/* Over a hero the bar starts transparent and solidifies on scroll. */
.site-top--over-hero .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.site-top--over-hero .nav-link,
.site-top--over-hero .brand-name,
.site-top--over-hero .nav-toggle { color: #fff; }
.site-top--over-hero .brand-mark .mark-ring { stroke: #fff; }
.site-top--over-hero .brand-mark .mark-fill { fill: #fff; }
.site-top--over-hero .brand-tag { color: rgba(255, 255, 255, 0.78); }

.site-top.is-stuck .site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-top.is-stuck .nav-link,
.site-top.is-stuck .brand-name,
.site-top.is-stuck .nav-toggle { color: var(--oxford); }
.site-top.is-stuck .brand-mark .mark-ring { stroke: var(--cobalt); }
.site-top.is-stuck .brand-mark .mark-fill { fill: var(--cobalt); }
.site-top.is-stuck .brand-tag { color: var(--ink-soft); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark .mark-ring { stroke: var(--cobalt); }
.brand-mark .mark-fill { fill: var(--cobalt); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  color: var(--oxford);
  white-space: nowrap;
}
.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1020px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--oxford);
  text-decoration: none;
  padding: 0.35rem 0;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-link:hover::after, .nav-link[aria-current='page']::after { transform: scaleX(1); }
.nav-link[aria-current='page'] { font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-actions .btn { display: none; }
@media (min-width: 1020px) { .nav-actions .btn { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 0;
  color: var(--oxford);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.6rem 0.2rem;
}
@media (min-width: 1020px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--cobalt);
  color: #fff;
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.mobile-menu a {
  display: block;
  padding: 1.05rem 0;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--green-bright); }
.mobile-menu .btn { margin-top: 2rem; width: 100%; justify-content: center; }
.mobile-menu-close {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  background: none; border: 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; gap: 0.5rem;
}
.mobile-menu-contact {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}
.mobile-menu-contact a { font-size: 1rem; font-family: var(--font-body); display: inline; padding: 0; color: var(--green-bright); }

/* 6. BUTTONS -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--cobalt); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--cobalt-deep); color: #fff; box-shadow: var(--shadow-md); }

.btn--green { background: var(--green); color: var(--oxford); }
.btn--green:hover { background: var(--green-bright); color: var(--oxford); }

.btn--ghost { border-color: currentColor; color: var(--cobalt); background: transparent; }
.btn--ghost:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

.btn--onblue { background: #fff; color: var(--cobalt); }
.btn--onblue:hover { background: var(--green-bright); color: var(--oxford); }

.btn--ghost-onblue { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--ghost-onblue:hover { background: #fff; color: var(--cobalt); border-color: #fff; }

.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.03rem; }
.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.86rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.center .btn-row { justify-content: center; }

/* Small chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--green-wash);
  color: #045c2d;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip--placeholder { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* 7. HERO ----------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--oxford);
  isolation: isolate;
}
.hero--short { min-height: min(74svh, 640px); align-items: center; }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img, .hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The <video> only becomes visible once real footage is wired up (see
   assets/js/site.js — data-video attribute). Until then the poster art shows. */
.hero__video { opacity: 0; transition: opacity 0.8s ease; }
.hero__video.is-ready { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(0, 20, 48, 0.82) 0%, rgba(0, 20, 48, 0.34) 46%, rgba(0, 20, 48, 0.42) 100%);
}

.hero__inner {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  padding-block: clamp(4rem, 12vh, 8rem) clamp(5rem, 12vh, 7rem);
  color: #fff;
}
@media (min-width: 700px) {
  .hero__inner { width: min(100% - 4rem, var(--wrap)); }
}
.hero--short .hero__inner { padding-block: clamp(6rem, 16vh, 9rem) clamp(3rem, 8vh, 4.5rem); }

.hero__title {
  font-size: var(--step-5);
  max-width: 16ch;
  margin: 0 0 1.1rem;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 20, 48, 0.35);
}
.hero__title em {
  font-style: normal;
  color: var(--green-bright);
}
.hero__eyebrow {
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--green-bright); }
.hero__text {
  max-width: 56ch;
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 2rem;
}

.hero__scroll {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (min-width: 1020px) { .hero__scroll { display: block; } }
.hero__scroll span { display: block; text-align: center; }
.hero__scroll svg { margin: 0.4rem auto 0; animation: nudge 2.4s ease-in-out infinite; }

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Page hero (interior pages) */
.page-hero {
  background: var(--cobalt);
  color: #fff;
  padding-block: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -12%;
  top: -40%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(22, 224, 124, 0.5), transparent 62%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; max-width: 18ch; position: relative; }
.page-hero .lede { color: rgba(255, 255, 255, 0.9); position: relative; }
.page-hero .eyebrow { color: #fff; position: relative; }

/* 8. SECTIONS + CARDS ----------------------------------------------------- */

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cobalt-wash);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--arch { border-radius: var(--arch); }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }

.media-note {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--ink-soft); }
.card .btn { margin-top: auto; align-self: flex-start; }
.card > * + * { margin-top: 0.9rem; }

.card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.card--service { padding: 0; overflow: hidden; }
.card--service .card__media { aspect-ratio: 16 / 9; margin: 0; }
.card--service .card__body { padding: clamp(1.5rem, 1rem + 1.5vw, 2.2rem); display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }

/* Fact strip */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--oxford);
}
.facts li { display: flex; align-items: center; gap: 0.45rem; }
.facts li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.section--cobalt .facts, .section--oxford .facts { color: #fff; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}
.checklist strong { color: var(--ink); font-weight: 600; }
.section--cobalt .checklist li, .section--oxford .checklist li { color: var(--ink-onblue); }
.section--cobalt .checklist strong, .section--oxford .checklist strong { color: #fff; }

/* Numbered steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.steps li { position: relative; padding-left: 3.6rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cobalt-wash);
  color: var(--cobalt);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.steps h4 { margin-bottom: 0.3rem; }
.steps p { color: var(--ink-soft); margin: 0; }
.section--cobalt .steps li::before { background: rgba(255, 255, 255, 0.16); color: #fff; }
.section--cobalt .steps p { color: var(--ink-onblue); }

/* Pull quote / verse band */
.verse-band { text-align: center; }
.verse-band blockquote {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.15;
  font-weight: 500;
}
.verse-band cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-bright);
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; margin-bottom: 2rem; }

/* Alternating media/text blocks — the Merkle rhythm. Each block is media +
   eyebrow + heading + copy + one CTA. On even blocks the media flips right. */
.feature {
  display: grid;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature--flip .feature__media { order: 2; }
}
.feature + .feature { margin-top: clamp(3rem, 6vw, 6rem); }
.feature__body { max-width: 56ch; }
.feature__body h2 { font-size: var(--step-3); }

/* Distinctives — four-icon "what makes this different" row. */
.distinctives { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 620px) { .distinctives { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .distinctives { grid-template-columns: repeat(4, 1fr); } }
.distinctive__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--green-wash);
  color: #04703a;
  margin-bottom: 1rem;
}
.distinctive__icon svg { width: 26px; height: 26px; }
.distinctive h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.distinctive p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.section--cobalt .distinctive__icon, .section--oxford .distinctive__icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--green-bright);
}
.section--cobalt .distinctive p, .section--oxford .distinctive p { color: var(--ink-onblue); }

/* Endorsement strip — social-proof row. Placeholder until real endorsements. */
.endorsements { border-block: 1px solid var(--line); padding-block: 2.25rem; }
.endorsements__label {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.endorsements__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2.75rem;
}
.endorsement-slot {
  display: grid;
  place-items: center;
  min-width: 148px;
  height: 52px;
  padding: 0 1.1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: #9aabc2;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* Newsletter capture */
.newsletter { display: grid; gap: 0.7rem; max-width: 480px; }
@media (min-width: 540px) {
  .newsletter { grid-template-columns: 1fr auto; align-items: start; }
  .newsletter .form-status { grid-column: 1 / -1; margin-top: 0.25rem; }
}
.newsletter input[type='email'] {
  width: 100%;
  padding: 0.92rem 1.05rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
}
.newsletter input[type='email']::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter input[type='email']:focus {
  outline: none;
  border-color: var(--green-bright);
  background: rgba(255, 255, 255, 0.16);
}
.center .newsletter { margin-inline: auto; }

/* 9. TESTIMONIAL BANNER --------------------------------------------------- */

.testimonials {
  background: var(--oxford);
  color: #fff;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  left: -10%; bottom: -60%;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 79, 232, 0.55), transparent 65%);
}
.testimonials__inner { position: relative; text-align: center; max-width: 800px; margin-inline: auto; }

.stars { display: flex; justify-content: center; gap: 0.35rem; margin-bottom: 1.5rem; }
.stars svg { width: 22px; height: 22px; fill: var(--green-bright); }

.testimonial-track { position: relative; min-height: 12.5rem; }
@media (min-width: 700px) { .testimonial-track { min-height: 11rem; } }

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  font-weight: 500;
  color: #fff;
}
.testimonial figcaption {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-bright);
}
.testimonial .chip { margin-top: 0.9rem; }

.testimonial-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.75rem; }
.testimonial-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.testimonial-dots button[aria-selected='true'] { background: var(--green-bright); transform: scale(1.3); }

/* 10. TIPS BUTTON + PANEL ------------------------------------------------- */

.tips-btn {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 4vh, 3rem);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--oxford);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 20, 48, 0.35);
  transition: transform 0.18s ease, background 0.2s ease;
}
.tips-btn:hover { transform: translateY(-3px); background: var(--green-bright); }
.tips-btn svg { width: 18px; height: 18px; }

.tips-panel {
  position: fixed;
  z-index: 120;
  right: clamp(0.75rem, 3vw, 2.5rem);
  bottom: clamp(0.75rem, 3vh, 2.5rem);
  width: min(calc(100vw - 1.5rem), 390px);
  max-height: min(78svh, 640px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
}
.tips-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.tips-panel h2 { font-size: var(--step-2); margin-bottom: 0.2rem; }
.tips-panel__sub { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.tips-panel__close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--cobalt-wash);
  color: var(--oxford);
  cursor: pointer;
  display: grid; place-items: center;
}
.tips-panel__close:hover { background: var(--cobalt); color: #fff; }
.tip { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.tip:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.tip h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.tip p, .tip ol { font-size: 0.9rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.tip ol { padding-left: 1.1rem; display: grid; gap: 0.25rem; }
.tips-panel__foot { margin-top: 1.4rem; font-size: 0.85rem; color: var(--ink-soft); }

/* 11. ACCORDION ----------------------------------------------------------- */

.faq-group { border-top: 2px solid var(--oxford); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 3rem 1.35rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--oxford);
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 0.4rem; top: 50%;
  width: 13px; height: 13px;
  border-right: 2.5px solid var(--cobalt);
  border-bottom: 2.5px solid var(--cobalt);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s ease;
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-item summary:hover { color: var(--cobalt); }
.faq-item__body { padding: 0 3rem 1.6rem 0; color: var(--ink-soft); }
.faq-item__body > *:first-child { margin-top: 0; }

/* 12. FORMS --------------------------------------------------------------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 1.2rem; }
.field:last-child { margin-bottom: 0; }

.field label, .fieldset-legend {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--oxford);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.field .req { color: var(--cobalt); }
.field .hint { display: block; font-weight: 400; font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.15rem; }

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field input[type='date'],
.field input[type='number'],
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(11, 79, 232, 0.16);
}
.field input::placeholder, .field textarea::placeholder { color: #93a5bb; }

.field-row { display: grid; gap: 1.2rem; }
@media (min-width: 600px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .field-row--3 { grid-template-columns: repeat(3, 1fr); } }

fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }

.choice-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice:hover { border-color: var(--cobalt); }
.choice:has(input:checked) { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.choice:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }

.check-grid { display: grid; grid-template-columns: 1fr; gap: 0.4rem 1.4rem; }
@media (min-width: 560px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .check-grid { grid-template-columns: repeat(3, 1fr); } }
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  line-height: 1.4;
  padding: 0.3rem 0;
  cursor: pointer;
}
.check input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  flex: none;
  margin-top: 1px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}
.check input[type='checkbox']:checked { background: var(--cobalt); border-color: var(--cobalt); }
.check input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.94rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--green-wash); color: #04512a; border: 1px solid #9fe6c1; }
.form-status--err { background: #fdeaea; color: #8c1a1a; border: 1px solid #f3bcbc; }

.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1rem; }

.form-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--cobalt-wash);
}
.form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section > h2 { font-size: var(--step-2); margin-bottom: 0.35rem; }
.form-section > .form-section__intro { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 1.5rem; }

/* Booking embed slot */
.booking-slot {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--cobalt-wash);
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.booking-slot h3 { margin: 0; }
.booking-slot p { max-width: 52ch; color: var(--ink-soft); }
.booking-slot[hidden] { display: none; }
#cal-inline { min-height: 620px; width: 100%; }

.event-card {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.15rem 1.4rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cobalt);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  width: 100%;
}
.event-card strong { font-family: var(--font-display); font-size: 1.15rem; }
.event-card span { font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }

/* Download list */
.download-list { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.download {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.download:hover { border-color: var(--cobalt); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.download__icon {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--cobalt-wash);
  color: var(--cobalt);
  display: grid; place-items: center;
}
.download__icon svg { width: 22px; height: 22px; }
.download__text strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.download__text span { font-size: 0.88rem; color: var(--ink-soft); }

/* 13. FOOTER -------------------------------------------------------------- */

.site-footer {
  background: var(--oxford);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
  font-size: 0.94rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); }
.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand .brand-tag { color: var(--green-bright); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-brand .brand-mark .mark-ring { stroke: #fff; }
.footer-brand .brand-mark .mark-fill { fill: #fff; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

/* 14. MOTION + PRINT ------------------------------------------------------ */

/* Scoped to .js (set by a one-line inline script in each page's <head>) so
   that if JavaScript is off, blocked, or errors, every section is simply
   visible rather than invisible. Content must never depend on script. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .tips-btn, .tips-panel, .mobile-menu, .btn { display: none !important; }
  body { color: #000; }
  .form-card { box-shadow: none; border: 0; padding: 0; }
}
