/* ==========================================================================
   Valley Community Center — Design System
   Brand: navy #2F4858 · teal #68CAD2 · typeface Rubik
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/rubik-latin.woff2') format('woff2');
  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: 'Rubik';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/rubik-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy: #2f4858;
  --navy-deep: #1e313d;
  --navy-mid: #3c5a6b;
  --navy-soft: #5c7180;
  --teal: #68cad2;
  --teal-ink: #2c818b;   /* accessible teal for text/links on light */
  --teal-deep: #1f6a73;
  --teal-wash: #eaf7f9;

  /* Neutrals */
  --ink: #1b2a33;
  --body: #46606e;
  --line: #dde5e9;
  --sand: #f4f1ec;
  --mist: #f3f7f8;
  --white: #ffffff;

  /* Accents (event moments only) */
  --berry: #c3283a;
  --amber: #e8a33d;

  /* Type */
  --font: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --t-hero: clamp(2.25rem, 6.2vw, 4.5rem);
  --t-h1: clamp(2.2rem, 5vw, 3.9rem);
  --t-h2: clamp(1.75rem, 3.6vw, 2.85rem);
  --t-h3: clamp(1.25rem, 2vw, 1.6rem);
  --t-lead: clamp(1.06rem, 1.5vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-sm: 0.9375rem;
  --t-xs: 0.8125rem;

  /* Space */
  --gap: clamp(1.25rem, 3vw, 2.25rem);
  --section-y: clamp(4rem, 9vw, 8.5rem);
  --shell: 1220px;
  --shell-wide: 1480px;
  --shell-text: 760px;

  /* Form */
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --arch: 999px 999px var(--r) var(--r);
  --frame-off: clamp(12px, 1.8vw, 26px);

  /* Elevation */
  --sh-1: 0 1px 2px rgba(30, 49, 61, .05), 0 4px 14px rgba(30, 49, 61, .05);
  --sh-2: 0 2px 6px rgba(30, 49, 61, .06), 0 18px 44px rgba(30, 49, 61, .1);
  --sh-3: 0 30px 70px rgba(30, 49, 61, .18);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}
body {
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.72;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal-ink); text-decoration: none; }
ul, ol { padding: 0; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.012em; line-height: 1.25; }
p { text-wrap: pretty; }

::selection { background: var(--teal); color: var(--navy-deep); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--navy); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

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

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.shell--wide { max-width: var(--shell-wide); }
.shell--text { max-width: var(--shell-text); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--mist { background: var(--mist); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a { color: var(--teal); }

.section--deep { background: var(--navy-deep); color: rgba(255, 255, 255, .82); }
.section--deep h2, .section--deep h3 { color: #fff; }

/* Soft diagonal edge between light sections */
.edge-top { clip-path: polygon(0 2.4vw, 100% 0, 100% 100%, 0 100%); margin-top: -2.4vw; }
.edge-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.4vw), 0 100%); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid--split { grid-template-columns: 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .grid--split { grid-template-columns: 1fr 1fr; } }
.grid--split-wide { grid-template-columns: 1fr; align-items: start; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 980px) { .grid--split-wide { grid-template-columns: 0.9fr 1.1fr; } }

.stack > * + * { margin-top: 1.15rem; }
.stack-lg > * + * { margin-top: 2rem; }

/* ==========================================================================
   Type helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--teal-ink);
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: var(--teal); flex: none;
}
.section--navy .eyebrow, .section--deep .eyebrow { color: var(--teal); }
.eyebrow--plain::before { display: none; }

.lead { font-size: var(--t-lead); line-height: 1.66; color: var(--body); }
.section--navy .lead, .section--deep .lead,
.cta-band .lead, .site-footer .lead { color: rgba(255, 255, 255, .8); }
.section--navy .muted, .section--deep .muted,
.cta-band .muted, .site-footer .muted { color: rgba(255, 255, 255, .58); }
.display { font-size: var(--t-hero); font-weight: 800; letter-spacing: -0.035em; line-height: .98; }
.muted { color: var(--navy-soft); }
.center { text-align: center; }
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; }
.section-head > * + * { margin-top: 1rem; }

.rule { height: 1px; background: var(--line); border: 0; }
.section--navy .rule { background: rgba(255, 255, 255, .16); }

/* ---------------------------------------------------------------------------
   Dot rule — the section marker used across valley.church, in VCC teal.
   Ten 7px dots on a 16px pitch, drawn with one repeating gradient.
   --------------------------------------------------------------------------- */
.dots {
  display: block;
  width: 158px;                 /* 10 dots × 16px pitch, less the trailing gap */
  max-width: 100%;
  height: 7px;
  margin-top: 1rem;
  background-image: radial-gradient(circle at 3.5px 3.5px, var(--teal) 3.5px, transparent 4px);
  background-size: 16px 7px;
  background-repeat: repeat-x;
}
.dots--center { margin-inline: auto; }
.center > .dots, .section-head.center .dots { margin-inline: auto; }

/* Prose blocks (guidelines, long copy) */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 2.75rem; }
.prose h3 { margin-top: 2rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p + p { margin-top: 1.05rem; }
.prose > * + * { margin-top: 1.05rem; }
.prose a { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }

/* Tick lists */
.ticks { list-style: none; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .48em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c818b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .78rem no-repeat;
}
.section--navy .ticks li::before, .section--deep .ticks li::before {
  background-color: rgba(104, 202, 210, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2368cad2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.bullets { list-style: none; display: grid; gap: .6rem; }
.bullets li { position: relative; padding-left: 1.35rem; }
.bullets li::before {
  content: ''; position: absolute; left: .15rem; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
.bullets ul { margin-top: .6rem; display: grid; gap: .5rem; list-style: none; }
.bullets ul li::before { background: var(--navy-soft); width: 5px; height: 5px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .01em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s var(--ease);
  text-align: left;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 160% at 12% 120%, rgba(104, 202, 210, .55), transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30, 49, 61, .22); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--teal { --btn-bg: var(--teal); --btn-fg: var(--navy-deep); }
.btn--teal:hover { box-shadow: 0 12px 26px rgba(104, 202, 210, .45); }
.btn--teal::after { background: radial-gradient(120% 160% at 12% 120%, rgba(255, 255, 255, .7), transparent 62%); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { --btn-fg: var(--navy-deep); box-shadow: inset 0 0 0 1.5px var(--navy), 0 10px 22px rgba(30, 49, 61, .1); }
.btn--ghost::after { display: none; }

.section--navy .btn--ghost, .section--deep .btn--ghost,
.hero .btn--ghost, .cta-band .btn--ghost, .drawer .btn--ghost {
  --btn-fg: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .38);
}
.section--navy .btn--ghost:hover, .section--deep .btn--ghost:hover,
.hero .btn--ghost:hover, .cta-band .btn--ghost:hover, .drawer .btn--ghost:hover {
  --btn-fg: var(--navy-deep); background: #fff; box-shadow: none;
}

/* Dark sections colour their links teal; buttons must keep their own colour.
   Specificity here (0,2,1) has to beat `.section--navy a` (0,2,0). */
.section--navy a.btn, .section--deep a.btn, .cta-band a.btn,
.hero a.btn, .site-footer a.btn, .drawer a.btn { color: var(--btn-fg); }

.btn--sm { padding: .68rem 1.2rem; font-size: var(--t-xs); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* Text link with animated underline */
.link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--teal-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .35s var(--ease-out);
}
.link:hover { background-size: 100% 1.5px; }
.link svg { transition: transform .3s var(--ease-out); }
.link:hover svg { transform: translateX(3px); }
.section--navy .link, .section--deep .link { color: var(--teal); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 33, 41, .58), rgba(20, 33, 41, 0));
  opacity: 1; transition: opacity .35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(30, 49, 61, .09), 0 10px 30px rgba(30, 49, 61, .07);
}
.site-header.is-stuck::before { opacity: 0; }
/* pages without a dark hero start solid */
.site-header.is-solid { background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }

.nav-bar {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  min-height: var(--nav-h);
}

.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { width: clamp(132px, 15vw, 176px); height: auto; transition: opacity .3s var(--ease); }
.brand .logo-light { display: block; }
.brand .logo-dark { display: none; }
.site-header.is-stuck .brand .logo-light,
.site-header.is-solid .brand .logo-light { display: none; }
.site-header.is-stuck .brand .logo-dark,
.site-header.is-solid .brand .logo-dark { display: block; }

.nav-list {
  display: none; list-style: none; align-items: center; gap: .3rem;
}
@media (min-width: 1060px) { .nav-list { display: flex; } }

.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .8rem; border-radius: 999px;
  font-size: var(--t-sm); font-weight: 500; color: #fff;
  transition: background-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.nav-link .chev { width: 13px; height: 13px; opacity: .65; transition: transform .3s var(--ease); }
.site-header.is-stuck .nav-link, .site-header.is-solid .nav-link { color: var(--ink); }
.nav-link:hover { background: rgba(255, 255, 255, .16); }
.site-header.is-stuck .nav-link:hover,
.site-header.is-solid .nav-link:hover { background: var(--teal-wash); color: var(--teal-deep); }
.nav-link[aria-current="page"] { color: var(--teal); }
.site-header.is-stuck .nav-link[aria-current="page"],
.site-header.is-solid .nav-link[aria-current="page"] { color: var(--teal-deep); background: var(--teal-wash); }

/* Dropdown */
.nav-item--has-menu:hover .nav-link .chev,
.nav-item--has-menu.is-open .nav-link .chev { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  translate: -50% 0;
  min-width: 268px; padding: .6rem; margin: 0; list-style: none;
  background: #fff; border-radius: var(--r); box-shadow: var(--sh-2);
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985);
  transform-origin: top center;
  transition: opacity .28s var(--ease), transform .28s var(--ease-out), visibility .28s;
}
.nav-item--has-menu:hover .nav-menu,
.nav-item--has-menu:focus-within .nav-menu,
.nav-item--has-menu.is-open .nav-menu {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.nav-menu::before {
  content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav-menu a {
  display: block; padding: .62rem .85rem; border-radius: var(--r-sm);
  color: var(--ink); font-size: var(--t-sm); font-weight: 500; line-height: 1.35;
  transition: background-color .2s var(--ease), color .2s var(--ease), padding-left .25s var(--ease);
}
.nav-menu a small { display: block; color: var(--navy-soft); font-size: var(--t-xs); font-weight: 400; margin-top: .1rem; }
.nav-menu a:hover { background: var(--mist); color: var(--teal-deep); padding-left: 1.1rem; }
.nav-menu a[aria-current="page"] { color: var(--teal-deep); background: var(--teal-wash); }

.nav-cta { display: none; flex: none; }
@media (min-width: 1060px) { .nav-cta { display: inline-flex; } }
.site-header:not(.is-stuck):not(.is-solid) .nav-cta {
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42);
  color: #fff;
}
.site-header:not(.is-stuck):not(.is-solid) .nav-cta:hover { background: #fff; color: var(--navy-deep); box-shadow: none; }

/* Scroll progress */
.scroll-progress {
  position: absolute; bottom: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal), var(--teal-ink));
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-header.is-stuck .scroll-progress, .site-header.is-solid .scroll-progress { opacity: 1; }

/* Burger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; flex: none;
  background: rgba(255, 255, 255, .14); border: 0; border-radius: 50%;
  cursor: pointer;
}
.site-header.is-stuck .burger, .site-header.is-solid .burger { background: var(--mist); }
@media (min-width: 1060px) { .burger { display: none; } }
.burger span {
  display: block; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease), width .3s var(--ease);
}
.burger span:nth-child(2) { width: 70%; }
.site-header.is-stuck .burger span, .site-header.is-solid .burger span { background: var(--ink); }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy-deep); color: #fff;
  padding: calc(var(--nav-h) + 1.5rem) clamp(1.1rem, 5vw, 2.5rem) 3rem;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  clip-path: circle(0% at calc(100% - 46px) 38px);
  transition: clip-path .55s var(--ease-out), opacity .35s var(--ease), visibility .55s;
}
body.nav-open .drawer { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 46px) 38px); }
body.nav-open { overflow: hidden; }
.drawer-group { border-top: 1px solid rgba(255, 255, 255, .13); }
.drawer-group:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .13); }
.drawer-link,
.drawer-group > a,
.drawer-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 1.05rem .2rem; background: none; border: 0;
  color: #fff; font-size: 1.15rem; font-weight: 600; text-align: left; cursor: pointer;
  letter-spacing: -.01em;
}
.drawer-link:hover { color: var(--teal); }
.drawer-toggle svg { width: 18px; height: 18px; flex: none; opacity: .6; transition: transform .3s var(--ease); }
.drawer-group.is-open .drawer-toggle svg { transform: rotate(45deg); }
.drawer-sub {
  list-style: none; display: grid; gap: .1rem;
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease-out);
}
.drawer-group.is-open .drawer-sub { max-height: 34rem; }
.drawer-sub a {
  display: block; padding: .62rem .2rem .62rem 1rem;
  color: rgba(255, 255, 255, .74); font-size: var(--t-sm);
  border-left: 2px solid rgba(255, 255, 255, .16);
}
.drawer-sub a:hover, .drawer-sub a[aria-current="page"] { color: var(--teal); border-left-color: var(--teal); }
.drawer-sub li:last-child a { padding-bottom: 1.1rem; }
.drawer-foot { margin-top: 2rem; display: grid; gap: 1.25rem; }
.drawer-foot .btn { justify-content: center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: min(96svh, 940px);
  display: grid; align-items: end;
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: clamp(3rem, 8vw, 7rem);
  background: var(--navy-deep);
  overflow: clip;
}
.hero--short { min-height: min(72svh, 680px); }
.hero--page {
  min-height: 0;
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(2.75rem, 6vw, 5rem);
  align-items: center;
}
/* Media sits above the hero's own background colour but below the overlay.
   Both use z-index 0 — the ::after is generated last, so it paints on top. */
.hero-media {
  position: absolute; inset: -12% 0 -12%; z-index: 0;
  will-change: transform;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
}
/* Scrim: dark enough for white text at AA over any photo, from any direction. */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(16, 27, 34, .86) 0%, rgba(16, 27, 34, .58) 42%, rgba(16, 27, 34, .3) 72%, rgba(16, 27, 34, .34) 100%),
    linear-gradient(to top, rgba(16, 27, 34, .88) 0%, rgba(16, 27, 34, .5) 38%, rgba(16, 27, 34, .3) 70%, rgba(16, 27, 34, .62) 100%);
}
.hero--page::after {
  background:
    linear-gradient(to right, rgba(16, 27, 34, .9) 0%, rgba(16, 27, 34, .74) 52%, rgba(16, 27, 34, .5) 100%),
    linear-gradient(to top, rgba(16, 27, 34, .55), rgba(16, 27, 34, .68));
}
.hero-inner { position: relative; z-index: 1; color: rgba(255, 255, 255, .84); }
.hero h1, .hero h2 { color: #fff; }
.hero-inner > * + * { margin-top: 1.4rem; }
/* em-based so the measure scales with the clamped display size */
.hero-copy { max-width: min(100%, 15em); }
.hero-lead { max-width: 46ch; font-size: var(--t-lead); color: rgba(255, 255, 255, .82); }
.hero-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem .5rem .7rem; border-radius: 999px;
  background: rgba(104, 202, 210, .16); color: var(--teal);
  border: 1px solid rgba(104, 202, 210, .32);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em;
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none;
  box-shadow: 0 0 0 0 rgba(104, 202, 210, .7);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(104, 202, 210, .6); }
  70% { box-shadow: 0 0 0 10px rgba(104, 202, 210, 0); }
  100% { box-shadow: 0 0 0 0 rgba(104, 202, 210, 0); }
}

.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: var(--t-xs); color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: var(--teal); }
.crumbs span[aria-hidden] { opacity: .5; }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255, 255, 255, .62); font-size: var(--t-xs);
  letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.scroll-cue .track {
  width: 1px; height: 44px; background: rgba(255, 255, 255, .28); position: relative; overflow: hidden;
}
.scroll-cue .track::after {
  content: ''; position: absolute; inset: 0 0 auto; height: 45%;
  background: var(--teal); animation: cue 2.1s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(240%); } }
/* On short/narrow screens the hero copy reaches the bottom — the cue would
   sit on top of the buttons. */
@media (max-width: 760px), (max-height: 700px) {
  .scroll-cue { display: none; }
}

/* Hero quick facts strip */
.hero-facts {
  display: grid; gap: 1px; background: rgba(255, 255, 255, .16);
  border-radius: var(--r); overflow: hidden; margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, .16);
}
@media (min-width: 720px) { .hero-facts { grid-template-columns: repeat(3, 1fr); } }
.hero-fact {
  background: rgba(19, 31, 39, .48);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 1.15rem 1.3rem;
}
.hero-fact dt {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .3rem;
}
.hero-fact dd { color: #fff; font-size: var(--t-sm); line-height: 1.5; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.055); }
.card-body { padding: clamp(1.3rem, 2.4vw, 1.8rem); display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-body h3 a { color: inherit; }
.card-body p { font-size: var(--t-sm); }
.card-body .link { margin-top: auto; padding-top: .4rem; }
.card-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(19, 31, 39, .72); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .05em;
}
.card-tag--teal { background: var(--teal); color: var(--navy-deep); }

/* Whole-card link */
.card--link .card-cover {
  position: absolute; inset: 0; z-index: 2;
}
.card--link:focus-within { outline: 3px solid var(--teal-ink); outline-offset: 3px; }

/* Meta rows */
.meta { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-soft); }
.meta span { display: inline-flex; align-items: center; gap: .4rem; }
.meta svg { width: 14px; height: 14px; color: var(--teal-ink); }

/* Capacity pill */
.pill {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  padding: .35rem .8rem; border-radius: 999px;
  background: var(--teal-wash); color: var(--teal-deep);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .03em;
}
.pill svg { width: 14px; height: 14px; }
.section--navy .pill, .section--deep .pill { background: rgba(104, 202, 210, .16); color: var(--teal); }

/* Feature / alternating rows */
.feature { display: grid; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; }
  /* Targets the first child whatever it is — the media may be wrapped in
     .framed, so this must not depend on .feature-media being the grid item. */
  .feature--flip > *:first-child { order: 2; }
}
.feature + .feature { margin-top: clamp(3.5rem, 8vw, 7rem); }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-media--arch { border-radius: var(--arch); }
.feature-media--tall img { aspect-ratio: 3 / 4; }
.feature-copy > * + * { margin-top: 1.1rem; }

/* ---------------------------------------------------------------------------
   Offset outline frame — a thin teal rectangle pushed up and to the right of
   the photo, drawn over it. Goes on a WRAPPER, never on the media element
   itself, because the media clips its overflow for the zoom/parallax.
   --------------------------------------------------------------------------- */
.framed {
  position: relative;
  margin-top: var(--frame-off);
  margin-right: var(--frame-off);
}
.framed::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
  top: calc(var(--frame-off) * -1);
  right: calc(var(--frame-off) * -1);
  bottom: var(--frame-off);
  left: var(--frame-off);
  border: 2px solid var(--teal);
  border-radius: var(--r);
}
.framed--flip { margin-right: 0; margin-left: var(--frame-off); }
.framed--flip::after {
  right: var(--frame-off);
  left: calc(var(--frame-off) * -1);
}

/* ---------------------------------------------------------------------------
   Echo text — one solid word over a photo, with hairline-outlined repeats
   fading downward. The containing media clips the last repeats.
   --------------------------------------------------------------------------- */
/* Scrim so the outlined repeats stay legible over bright photography */
.has-echo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top right,
    rgba(16, 27, 34, .78) 0%, rgba(16, 27, 34, .46) 38%, rgba(16, 27, 34, .1) 66%, transparent 82%);
}
.echo {
  position: absolute;
  z-index: 2;
  top: 30%;
  left: clamp(1rem, 4%, 2.25rem);
  right: clamp(1rem, 4%, 2.25rem);
  pointer-events: none;
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.echo > span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .9);
  text-stroke: 1px rgba(255, 255, 255, .9);
}
.echo > span:first-child {
  color: #fff;
  -webkit-text-stroke: 0;
  text-stroke: 0;
}
.echo > span:nth-child(2) { opacity: .6; }
.echo > span:nth-child(3) { opacity: .42; }
.echo > span:nth-child(4) { opacity: .26; }
.echo > span:nth-child(5) { opacity: .13; }

/* Teal variant, for echoes over lighter photography */
.echo--teal > span { -webkit-text-stroke-color: var(--teal); text-stroke-color: var(--teal); }
.echo--teal > span:first-child { color: var(--teal); }

/* ---------------------------------------------------------------------------
   Inner parallax — the photo drifts inside its frame as the page scrolls.
   The oversize + offset give it room to travel without exposing an edge.
   --------------------------------------------------------------------------- */
.media-parallax { overflow: hidden; }
.media-parallax > img {
  width: 100%;
  height: 116%;
  margin-top: -8%;
  object-fit: cover;
  will-change: transform;
}

/* Decorative arch behind media */
.arch-accent { position: relative; }
.arch-accent::before {
  content: ''; position: absolute; z-index: -1;
  inset: -1.5rem -1.5rem auto auto; width: 62%; aspect-ratio: 3/4;
  border-radius: var(--arch); background: var(--teal-wash);
}
.section--navy .arch-accent::before, .section--deep .arch-accent::before { background: rgba(104, 202, 210, .12); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.stat { border-top: 2px solid rgba(104, 202, 210, .45); padding-top: 1.1rem; }
.stat-num {
  display: block; font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 800;
  letter-spacing: -.045em; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.section--navy .stat-num, .section--deep .stat-num { color: #fff; }
.stat-label { display: block; margin-top: .6rem; font-size: var(--t-sm); line-height: 1.45; }

/* ==========================================================================
   Pillars (Service / Relationships / Compassion / Wellness)
   ========================================================================== */
.pillar {
  position: relative; padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.pillar::before {
  content: ''; position: absolute; inset: auto auto -40% -18%;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: var(--teal-wash); opacity: 0;
  transition: opacity .5s var(--ease), transform .7s var(--ease-out);
  transform: scale(.6);
}
.pillar:hover::before { opacity: 1; transform: scale(1); }
.pillar > * { position: relative; }
.pillar-icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 16px; background: var(--navy); color: var(--teal); margin-bottom: 1.1rem;
  transition: transform .5s var(--ease-out);
}
.pillar:hover .pillar-icon { transform: rotate(-6deg) scale(1.06); }
.pillar-icon svg { width: 25px; height: 25px; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { font-size: var(--t-sm); }
.section--navy .pillar, .section--deep .pillar {
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13);
}
.section--navy .pillar-icon, .section--deep .pillar-icon { background: var(--teal); color: var(--navy-deep); }
.section--navy .pillar::before, .section--deep .pillar::before { background: rgba(104, 202, 210, .1); }

/* ==========================================================================
   Horizontal scroll rail (spaces, galleries)
   ========================================================================== */
.rail-head { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: end; justify-content: space-between; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.rail-nav { display: flex; gap: .5rem; }
.rail-btn {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.rail-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.rail-btn:disabled { opacity: .32; cursor: default; }
.rail-btn svg { width: 18px; height: 18px; }
.section--navy .rail-btn, .section--deep .rail-btn { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.section--navy .rail-btn:hover:not(:disabled) { background: var(--teal); border-color: var(--teal); color: var(--navy-deep); }

.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(272px, 30%);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 1.5rem; margin-bottom: -1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.rail::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 640px) { .rail { grid-auto-columns: 82%; } }

/* Rail bleeds to the right edge of the viewport */
.rail-bleed { padding-right: clamp(1.1rem, 4vw, 2.5rem); }
@media (min-width: 1280px) {
  .rail-bleed { margin-right: calc((100vw - var(--shell)) / -2); }
}

/* ==========================================================================
   Gallery grid (masonry-ish)
   ========================================================================== */
.gallery { columns: 1; column-gap: clamp(.8rem, 1.6vw, 1.2rem); }
@media (min-width: 620px) { .gallery { columns: 2; } }
@media (min-width: 980px) { .gallery { columns: 3; } }
.gallery figure { break-inside: avoid; margin-bottom: clamp(.8rem, 1.6vw, 1.2rem); border-radius: var(--r); overflow: hidden; background: var(--mist); }
.gallery img { width: 100%; transition: transform .9s var(--ease-out), filter .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

.tile-grid { display: grid; gap: clamp(.7rem, 1.5vw, 1.1rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.tile-grid figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--mist); }
.tile-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tile-grid figure:hover img { transform: scale(1.06); }

/* ==========================================================================
   People
   ========================================================================== */
.person { text-align: left; }
.person-photo {
  position: relative; border-radius: var(--arch); overflow: hidden;
  background: var(--mist); aspect-ratio: 3 / 4; margin-bottom: 1.1rem;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s var(--ease); }
.person:hover .person-photo img { transform: scale(1.05); }
.person-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(47, 72, 88, .5), transparent 52%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.person:hover .person-photo::after { opacity: 1; }
.person h3 { font-size: 1.1rem; }
.person p { font-size: var(--t-sm); color: var(--navy-soft); margin-top: .2rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quote {
  position: relative; padding: clamp(1.8rem, 3.4vw, 2.6rem);
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--sh-1);
}
.quote::before {
  content: '\201C'; position: absolute; top: -.1em; left: .55rem;
  font-size: 6rem; line-height: 1; color: var(--teal); opacity: .32;
  font-weight: 700; pointer-events: none;
}
.quote blockquote { position: relative; font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.62; color: var(--ink); font-weight: 400; }
.quote figcaption { margin-top: 1.3rem; font-size: var(--t-sm); font-weight: 600; color: var(--navy-soft); display: flex; align-items: center; gap: .6rem; }
.quote figcaption::before { content: ''; width: 22px; height: 2px; background: var(--teal); flex: none; }
.section--navy .quote, .section--deep .quote {
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13);
}
.section--navy .quote blockquote, .section--deep .quote blockquote { color: #fff; }
.section--navy .quote figcaption, .section--deep .quote figcaption { color: var(--teal); }

/* ==========================================================================
   Hours / info panel
   ========================================================================== */
.info-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--sh-1);
}
.section--navy .info-panel, .section--deep .info-panel {
  background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14);
}
.hours { list-style: none; display: grid; gap: 0; }
.hours li {
  display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: space-between;
  padding: .82rem 0; border-bottom: 1px dashed var(--line);
  font-size: var(--t-sm);
}
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt, .hours .day { font-weight: 600; color: var(--ink); }
.hours .time { color: var(--body); font-variant-numeric: tabular-nums; }
.section--navy .hours li, .section--deep .hours li { border-color: rgba(255, 255, 255, .16); }
.section--navy .hours .day, .section--deep .hours .day { color: #fff; }
.section--navy .hours .time, .section--deep .hours .time { color: rgba(255, 255, 255, .78); }

.note {
  display: flex; gap: .8rem; padding: 1rem 1.15rem; border-radius: var(--r);
  background: var(--teal-wash); color: var(--teal-deep); font-size: var(--t-sm); font-weight: 500;
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.note--warn { background: #fdf3e6; color: #8a5a15; }
.note--warn svg { color: var(--amber); }

/* ==========================================================================
   Accordion (FAQ, guidelines)
   ========================================================================== */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem .2rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--ink);
  transition: color .25s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--teal-deep); }
.accordion summary .sign {
  position: relative; flex: none; width: 22px; height: 22px; margin-top: .18rem;
  border-radius: 50%; background: var(--mist);
  transition: background-color .3s var(--ease), transform .35s var(--ease-out);
}
.accordion summary .sign::before,
.accordion summary .sign::after {
  content: ''; position: absolute; inset: 50% 5px auto; height: 2px; border-radius: 2px;
  background: var(--navy); translate: 0 -50%;
  transition: transform .35s var(--ease-out), background-color .3s var(--ease);
}
.accordion summary .sign::after { transform: rotate(90deg); }
.accordion details[open] summary .sign { background: var(--teal); transform: rotate(180deg); }
.accordion details[open] summary .sign::after { transform: rotate(0); }
.accordion details[open] summary { color: var(--teal-deep); }
.accordion-body { padding: 0 .2rem 1.5rem; max-width: 74ch; }
.accordion-body > * + * { margin-top: .9rem; }
.accordion-body p, .accordion-body li { font-size: var(--t-sm); }
.accordion details[open] .accordion-body { animation: accordionIn .45s var(--ease-out); }
@keyframes accordionIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Partner marquee + logo grid
   ========================================================================== */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: clamp(2rem, 5vw, 4.5rem); animation: slide 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee img { height: clamp(40px, 5vw, 58px); width: auto; object-fit: contain; opacity: .62; filter: grayscale(1); transition: opacity .3s var(--ease), filter .3s var(--ease); }
.marquee img:hover { opacity: 1; filter: none; }

/* Cell borders rather than a gap-coloured backdrop, so a partly filled last
   row doesn't leave a block of grey. */
.logo-grid {
  display: grid; gap: 0; background: #fff;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(50%, 168px), 1fr));
}
.logo-cell {
  display: grid; place-items: center; padding: clamp(1.2rem, 2.4vw, 2rem);
  background: #fff; min-height: 132px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.logo-cell:hover { background: var(--mist); }
.logo-cell img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; transition: transform .4s var(--ease-out); }
.logo-cell:hover img { transform: scale(1.06); }
.logo-cell span { font-size: var(--t-xs); text-align: center; color: var(--navy-soft); }

/* ==========================================================================
   Timeline (Project Impact calendar)
   ========================================================================== */
.timeline { position: relative; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.tl-item {
  position: relative; display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(1.4rem, 2.6vw, 2rem); border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}
@media (min-width: 760px) { .tl-item { grid-template-columns: 190px 1fr auto; } }
.tl-item:hover { transform: translateX(6px); box-shadow: var(--sh-2); border-color: transparent; }
.tl-when {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-deep); display: flex; align-items: center; gap: .6rem;
}
.tl-when::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex: none; }
.tl-item h3 { font-size: 1.18rem; }
.tl-item p { font-size: var(--t-sm); margin-top: .35rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.field .req { color: var(--berry); }
.field .hint { font-size: var(--t-xs); color: var(--navy-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: var(--t-body); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(104, 202, 210, .22);
}
.field-row { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
fieldset { border: 0; padding: 0; }
fieldset legend { font-size: var(--t-sm); font-weight: 600; color: var(--ink); margin-bottom: .6rem; }
.check-list { display: grid; gap: .55rem; }
.check {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: var(--t-sm); cursor: pointer;
}
.check input { width: 1.15rem; height: 1.15rem; margin-top: .18rem; flex: none; accent-color: var(--teal-ink); }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-foot .muted { font-size: var(--t-xs); }

/* Honeypot — off-canvas rather than display:none, so bots that skip
   hidden fields still fill it in. */
.field--trap {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline submit feedback, so the visitor never leaves the page */
.form-status {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  font-size: var(--t-sm);
  font-weight: 500;
}
.form-status--pending { background: var(--mist); color: var(--body); }
.form-status--ok { background: var(--teal-wash); color: var(--teal-deep); }
.form-status--err { background: #fdf3e6; color: #8a5a15; }
.form-status:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; }
.subscribe .form-status,
.subscribe [data-form-note] { flex-basis: 100%; }
.subscribe [data-form-note] a { color: inherit; text-decoration: underline; }

/* Subscribe bar */
.subscribe { display: flex; flex-wrap: wrap; gap: .7rem; }
.subscribe input {
  flex: 1 1 15rem; padding: .95rem 1.15rem; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .08);
  color: #fff; font-size: var(--t-sm);
}
.subscribe input::placeholder { color: rgba(255, 255, 255, .55); }
.subscribe input:focus { outline: 0; border-color: var(--teal); background: rgba(255, 255, 255, .13); }

/* ==========================================================================
   Contact / CTA band
   ========================================================================== */
.cta-band {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--navy-deep); color: rgba(255, 255, 255, .82);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.cta-band h2 { color: #fff; }
.cta-band-media { position: absolute; inset: -18% 0; z-index: 0; opacity: .42; will-change: transform; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, rgba(19, 31, 39, .95) 12%, rgba(19, 31, 39, .68) 68%, rgba(30, 49, 61, .5));
}
.cta-inner { position: relative; z-index: 1; display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.15fr .85fr; } }

/* Contact detail list */
.contact-list { list-style: none; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--teal-wash); color: var(--teal-deep);
}
.contact-icon svg { width: 20px; height: 20px; }
.section--navy .contact-icon, .section--deep .contact-icon, .cta-band .contact-icon,
.site-footer .contact-icon {
  background: rgba(104, 202, 210, .16); color: var(--teal);
}
.contact-list .label { display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-soft); margin-bottom: .2rem; }
.cta-band .contact-list .label, .section--navy .contact-list .label,
.section--deep .contact-list .label, .site-footer .contact-list .label { color: var(--teal); }
.contact-list .value { color: var(--ink); font-weight: 500; line-height: 1.5; }
.cta-band .contact-list .value, .section--navy .contact-list .value,
.section--deep .contact-list .value, .site-footer .contact-list .value { color: #fff; }
.contact-list a.value:hover { color: var(--teal-ink); }
.cta-band .contact-list a.value:hover,
.section--navy .contact-list a.value:hover,
.site-footer .contact-list a.value:hover { color: var(--teal); }

/* Map embed */
.map-frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2);
  border: 1px solid var(--line); background: var(--mist);
}
.map-frame iframe { width: 100%; height: clamp(320px, 52vh, 560px); border: 0; display: block; }

/* Calendar embed */
.embed-frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--sh-1); background: #fff;
}
.embed-frame iframe { width: 100%; height: clamp(620px, 80vh, 900px); border: 0; display: block; }

/* ==========================================================================
   Sub-page nav (chips)
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: var(--navy); color: var(--navy-deep); }
.chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.section--mist .chip { background: #fff; }

/* Sticky in-page nav */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding-block: .7rem; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: .5rem .95rem; border-radius: 999px;
  font-size: var(--t-sm); font-weight: 600; color: var(--navy-soft); white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.subnav a:hover { background: var(--mist); color: var(--ink); }
.subnav a.is-active { background: var(--teal-wash); color: var(--teal-deep); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .68); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-top { display: grid; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.25fr 2fr; } }
.footer-brand img { width: 172px; margin-bottom: 1.3rem; }
.footer-brand p { font-size: var(--t-sm); max-width: 34ch; }
.footer-nav { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(50%, 150px), 1fr)); }
.footer-nav h3 { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.footer-nav ul { list-style: none; display: grid; gap: .6rem; }
.footer-nav a { color: rgba(255, 255, 255, .7); font-size: var(--t-sm); transition: color .2s var(--ease), padding-left .25s var(--ease); }
.footer-nav a:hover { color: var(--teal); padding-left: .3rem; }
.footer-mid { display: grid; gap: 2rem; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 780px) { .footer-mid { grid-template-columns: 1fr 1fr; align-items: center; } }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--t-xs);
}
.footer-bottom p { color: rgba(255, 255, 255, .5); }
.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #fff;
  transition: background-color .3s var(--ease), transform .3s var(--ease-out), color .3s var(--ease);
}
.socials a:hover { background: var(--teal); color: var(--navy-deep); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

/* ==========================================================================
   Scroll reveal + parallax
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity .85s var(--ease-out) var(--reveal-delay, 0ms),
    transform .95s var(--ease-out) var(--reveal-delay, 0ms),
    clip-path 1.1s var(--ease-out) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translate3d(-34px, 0, 0); }
[data-reveal="right"] { transform: translate3d(34px, 0, 0); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="mask"] { opacity: 1; clip-path: inset(0 0 100% 0); transform: none; }
[data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
[data-reveal="blur"] { filter: blur(10px); transition-property: opacity, transform, filter; }
[data-reveal="blur"].is-in { filter: blur(0); }

/* Parallax layers get transform driven from JS */
[data-parallax] { will-change: transform; }

/* Image that scales down slightly as it enters (Ken Burns on scroll) */
.zoom-wrap { overflow: hidden; }
.zoom-wrap img { transform: scale(1.14); transition: transform 1.5s var(--ease-out); }
.zoom-wrap.is-in img { transform: scale(1); }

/* Word-by-word headline reveal.
   A <br> in the source markup becomes a .split-row, forcing a line break.
   The word wrapper must stay inline so words still flow into lines; the extra
   padding/negative margin keeps descenders from being clipped by overflow. */
.split-row { display: block; }
.split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out) var(--word-delay, 0ms);
}
.is-in .split-line > span, .split-ready.is-in .split-line > span { transform: none; }

/* Sticky visual + scrolling copy */
.sticky-pair { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 980px) { .sticky-pair { grid-template-columns: 1fr 1fr; align-items: start; } }
.sticky-visual { position: relative; }
@media (min-width: 980px) {
  .sticky-visual { position: sticky; top: calc(var(--nav-h) + 3rem); }
}
.sticky-visual img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--sh-2); }
.sticky-steps { display: grid; gap: clamp(1.5rem, 4vw, 2.75rem); }
.step { display: grid; gap: .7rem; padding-bottom: clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  background: var(--navy); color: var(--teal); font-weight: 700; font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.max-60 { max-width: 60ch; }
.max-50 { max-width: 50ch; }
.nowrap { white-space: nowrap; }
.teal { color: var(--teal-ink); }
.section--navy .teal, .section--deep .teal, .cta-band .teal { color: var(--teal); }

.tint-arch {
  position: absolute; z-index: 0; pointer-events: none;
  border-radius: var(--arch); background: var(--teal-wash); opacity: .8;
}
.section > .shell { position: relative; z-index: 1; }

/* ==========================================================================
   Reduced motion / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .split-line > span { transform: none !important; }
  .zoom-wrap img { transform: none !important; }
  .hero-media, .cta-band-media, [data-parallax] { transform: none !important; }
  .media-parallax > img { height: 100%; margin-top: 0; }
  .marquee-track { animation: none; }
  .scroll-cue { display: none; }
}

@media print {
  .site-header, .drawer, .site-footer, .scroll-cue, .subnav { display: none !important; }
  .hero { min-height: 0; padding-top: 1rem; color: #000; background: none; }
  .hero::after, .hero-media { display: none; }
  .hero h1, .hero-inner { color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { color: #000; }
}
