/* ==========================================================
   Caring Professional Health Services: one-page site
   Palette pulled from the flyer: navy title, orange headings,
   royal-blue wave, teal tagline, yellow dots, sky quote mark.
   ========================================================== */

/* Self-hosted variable fonts (latin), so the site looks identical offline */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

@property --intro {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --navy: #1c2b4a;
  --navy-2: #26395f;
  --ink: #2a3345;
  --muted: #5b6577;
  --orange: #dc8424;
  --orange-2: #b8611a;
  --amber: #f0a23a;
  --blue: #1d4fc4;
  --blue-2: #12318a;
  --sky: #a9c8ec;
  --sky-2: #eaf2fc;
  --teal: #2e9a9a;
  --green: #173b34;
  --yellow: #f4d22b;
  --cream: #fdf8f1;
  --white: #fff;

  --font-head: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
  --radius: 1.5rem;
  --radius-lg: 2rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1.5rem 3rem -1.25rem rgb(28 43 74 / .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }

.sprite { position: absolute; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  padding: .75rem 1.25rem; border-radius: .75rem;
  background: var(--navy); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: .35rem; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.break { overflow-wrap: anywhere; word-break: break-word; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-2);
}
.eyebrow .icon { color: var(--orange); width: 1rem; height: 1rem; }
.eyebrow-light { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .8rem 1.45rem;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 .9rem 1.6rem -.8rem rgb(28 43 74 / .55); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover svg:has(use[href="#i-arrow"]) { transform: translateX(3px); }
.btn-primary { --bg: linear-gradient(135deg, var(--amber), var(--orange-2)); background: var(--bg); }
.btn-ghost { --bg: transparent; --fg: var(--navy); border-color: rgb(28 43 74 / .2); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { --bg: #fff; --fg: var(--navy); }
.btn-sm { min-height: 2.6rem; padding: .55rem 1.1rem; font-size: .88rem; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--blue));
  transform-origin: 0 50%; transform: scaleX(var(--scroll, 0));
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 rgb(28 43 74 / .08), 0 .8rem 2rem -1.5rem rgb(28 43 74 / .4);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); color: var(--navy); min-width: 0; }
.brand-text strong { font-size: clamp(.82rem, .7rem + .5vw, 1rem); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand-text small { font-size: clamp(.72rem, .62rem + .4vw, .86rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; gap: .25rem; }
.nav-list a {
  position: relative; display: block; padding: .5rem .8rem;
  font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--orange-2); }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; flex: none;
  border: 0; border-radius: 50%; background: var(--navy); cursor: pointer;
}
.menu-toggle .bar {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-toggle .bar:nth-child(1) { top: 19px; }
.menu-toggle .bar:nth-child(2) { top: 27px; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 2rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: radial-gradient(120% 80% at 100% 0%, rgb(220 132 36 / .18), transparent 60%), var(--cream);
    clip-path: circle(0% at calc(100% - 2.5rem) 2.25rem);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s linear .7s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.25rem); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: center; gap: .25rem; }
  .nav-list a { font-family: var(--font-head); font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; padding: .4rem 1rem; }
  .nav-list a::after { bottom: 0; }
  .nav-list li { opacity: 0; transform: translateY(1rem); transition: opacity .4s, transform .5s var(--ease); }
  .nav.is-open .nav-list li { opacity: 1; transform: none; }
  .nav.is-open .nav-list li:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav-list li:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav-list li:nth-child(4) { transition-delay: .15s; }
  .nav.is-open .nav-list li:nth-child(5) { transition-delay: .2s; }
  .nav.is-open .nav-list li:nth-child(6) { transition-delay: .25s; }
  .brand { position: relative; z-index: 2; }
}
@media (max-width: 380px) {
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: .76rem; }
  .brand-text small { font-size: .68rem; }
}

/* ==========================================================
   HERO: pinned; arch photo expands to full screen
   --e (0..1) is the eased scroll progress set by JS
   ========================================================== */
.hero { position: relative; height: 290vh; height: 290svh; }
.hero-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  translate: calc(var(--mx, 0) * var(--depth)) calc(var(--my, 0) * var(--depth));
}
.blob-1 {
  --depth: -30px; width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax;
  background: radial-gradient(circle, rgb(240 162 58 / .35), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-2 {
  --depth: 40px; width: 55vmax; height: 55vmax; right: -20vmax; bottom: -25vmax;
  background: radial-gradient(circle, rgb(29 79 196 / .25), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  --depth: 20px; width: 30vmax; height: 30vmax; left: 30%; top: 45%;
  background: radial-gradient(circle, rgb(244 210 43 / .28), transparent 65%);
  animation: drift 15s ease-in-out infinite alternate;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(28 43 74 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(28 43 74 / .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 70%);
}
@keyframes drift {
  to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
}

.hero-layout {
  position: relative; z-index: 3; height: 100%;
  display: flex; align-items: center;
  padding-top: var(--header-h);
}
.hero-copy {
  width: min(100%, 46%);
  transform: translateY(calc(var(--e, 0) * -14vh));
  opacity: calc(1 - var(--e, 0) * 2.2);
}
.hero-title {
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.6rem, 1.2rem + 5.4vw, 5.6rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(.25s + var(--d) * .12s);
}
.hero-title .accent {
  background: linear-gradient(100deg, var(--orange-2), var(--amber) 45%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 34rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-fade {
  opacity: 0; transform: translateY(1.25rem);
  animation: fadeUp 1s var(--ease) forwards;
  animation-delay: calc(.25s + var(--d) * .12s);
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* The photo window: start insets per breakpoint, collapse to 0 as --e -> 1 */
.hero-media {
  --t: 16%; --r: 5%; --b: 12%; --l: 54%;
  --rt: 22vw; --rb: 2rem;
  --shx: 30vw; --shy: 4vh;
  --k: calc(1 - var(--e, 0));
  position: absolute; inset: 0; z-index: 2; margin: 0;
  clip-path: inset(
    calc(var(--t) * var(--k) + (100% - var(--t) - var(--b)) * (1 - var(--intro, 1)) * var(--k))
    calc(var(--r) * var(--k))
    calc(var(--b) * var(--k))
    calc(var(--l) * var(--k))
    round calc(var(--rt) * var(--k)) calc(var(--rt) * var(--k)) calc(var(--rb) * var(--k)) calc(var(--rb) * var(--k))
  );
  animation: intro 1.6s var(--ease) .35s both;
  will-change: clip-path;
}
@keyframes intro { from { --intro: 0; } to { --intro: 1; } }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  transform:
    translate3d(calc(var(--shx) * var(--k)), calc(var(--shy) * var(--k)), 0)
    scale(calc(1.18 - .18 * var(--e, 0) + (1 - var(--intro, 1)) * .25));
  transform-origin: 50% 50%;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(18 49 138 / .25), rgb(28 43 74 / .85) 85%);
  opacity: calc(var(--e, 0) * 1.1);
}
.hero-reveal {
  position: absolute; left: 50%; bottom: 14%;
  width: min(1000px, 100% - 2 * var(--gutter));
  display: grid; gap: 1rem; text-align: center; justify-items: center;
  color: #fff;
  opacity: clamp(0, (var(--e, 0) - .55) * 3.2, 1);
  transform: translate(-50%, calc((1 - clamp(0, (var(--e, 0) - .55) * 3.2, 1)) * 3rem));
}
.hero-reveal-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 1rem + 4.4vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em;
  text-wrap: balance;
}

.hero-ring {
  position: absolute; z-index: 4;
  right: max(.75rem, calc(5% - 56px)); top: calc(16% + 1.5rem);
  width: 140px; height: 140px; border-radius: 50%;
  animation: intro 1.2s var(--ease) 1.1s both;
  background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: calc(var(--intro, 1) - var(--e, 0) * 4);
  transform: scale(calc(.6 + var(--intro, 1) * .4)) translate(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 12px));
}
.hero-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.hero-ring text { font-family: var(--font-head); font-size: 14.5px; font-weight: 700; fill: var(--navy); }
.hero-ring img { width: 64px; height: 64px; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute; z-index: 4; left: 50%; bottom: 2.25rem; translate: -50% 0;
  width: 28px; height: 46px; border: 2px solid var(--navy); border-radius: 20px;
  opacity: calc(.8 - var(--e, 0) * 4);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--orange); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Flyer-style blue waves */
.waves {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  width: 200%; max-width: none; height: clamp(36px, 6vw, 80px);
  pointer-events: none;
}
.wave { animation: wave 16s linear infinite; }
.wave-back { fill: var(--blue); opacity: .55; animation-duration: 22s; }
.wave-front { fill: var(--blue-2); }
@keyframes wave { to { transform: translateX(-1440px); } }
.hero .waves { transform: translateY(calc(var(--e, 0) * 120%)); }

@media (max-width: 900px) {
  .hero-copy { width: 100%; text-align: left; }
  .hero-layout { align-items: flex-start; padding-top: calc(var(--header-h) + clamp(.5rem, 4svh, 2.5rem)); }
  .hero-title { font-size: clamp(2.4rem, 11vw, 4.2rem); margin: .75rem 0 1rem; }
  .hero-lead { font-size: 1rem; }
  .hero-cta { margin-top: 1.25rem; }
  .hero-media {
    --t: 64%; --r: 5%; --b: 4%; --l: 5%;
    --rt: 1.5rem; --rb: 1.5rem;
    --shx: 0vw; --shy: 44svh;
  }
  .hero-media img { object-position: 42% 50%; }
  .hero-ring { width: 104px; height: 104px; right: 7%; top: calc(64% - 52px); }
  .hero-ring img { width: 46px; height: 46px; }
  .scroll-cue { display: none; }
  .hero .eyebrow { font-size: .72rem; letter-spacing: .12em; }
}
@media (max-width: 520px) {
  .hero-cta { flex-wrap: nowrap; }
  .cta-call { width: 3.1rem; padding: 0; flex: none; }
  .cta-call .icon { width: 1.3rem; height: 1.3rem; }
  .cta-num {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
}
@media (max-width: 900px) and (max-height: 760px) {
  .hero-lead, .hero-ring { display: none; }
  .hero-media { --t: 56%; }
}
@media (max-width: 900px) and (max-height: 600px) {
  .hero .eyebrow { display: none; }
}
/* Phones in landscape: side-by-side like desktop */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .hero-layout { align-items: center; padding-top: calc(var(--header-h) - 1rem); }
  .hero-copy { width: 54%; }
  .hero-title { font-size: clamp(1.8rem, 10svh, 2.8rem); margin: 0 0 .75rem; }
  .hero-cta { margin-top: .5rem; }
  .hero-media {
    --t: 20%; --r: 4%; --b: 7%; --l: 60%;
    --rt: 18vw; --rb: 1.25rem;
    --shx: 28vw; --shy: 4svh;
  }
}
@media (max-width: 900px) and (min-height: 761px) and (max-height: 900px) {
  .hero-media { --t: 66%; }
  .hero-ring { top: calc(66% - 52px); }
}
@media (max-height: 820px) { .scroll-cue { display: none; } }
@media (min-width: 901px) and (max-height: 640px) {
  .hero-title { font-size: clamp(2.2rem, 9svh, 4rem); }
  .hero-cta { margin-top: 1.25rem; }
}

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 5;
  background: var(--blue-2); color: #fff;
  overflow: hidden; padding: 1.05rem 0;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(.9rem, .8rem + .4vw, 1.1rem);
}
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; }
.ticker-list li { display: flex; align-items: center; white-space: nowrap; }
.ticker-list li::after {
  content: ""; width: .7rem; height: .7rem; margin-inline: 1.75rem; border-radius: 50%; background: var(--yellow); flex: none;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================
   ABOUT: pinned word reveal
   ========================================================== */
.about { background: var(--white); }
.reveal-scene { position: relative; height: 270vh; height: 270svh; }
.reveal-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: grid; align-items: center;
  overflow: hidden;
}
.reveal-inner { position: relative; z-index: 1; max-width: 1040px; }
.quote-mark {
  position: absolute; left: -.1em; top: -.55em;
  font-family: Georgia, "Times New Roman", serif; font-size: clamp(8rem, 18vw, 16rem); line-height: 1;
  color: var(--sky); opacity: .55; z-index: -1;
  transform: translateY(calc(var(--p, 0) * -3rem));
}
.reveal-text {
  margin-top: 1.25rem;
  font-family: var(--font-head); font-weight: 700;
  font-size: min(clamp(1.55rem, .9rem + 3.2vw, 3.3rem), 6.2svh + .35rem); line-height: 1.22; letter-spacing: -.02em;
  color: var(--navy);
}
.reveal-text strong { font-weight: 800; }
.reveal-text em { font-style: normal; color: var(--orange-2); }
.reveal-text .w { opacity: .14; transition: opacity .45s var(--ease), filter .45s; }
.reveal-text .w.on { opacity: 1; }

/* Floating photos only where there is free space beside / around the text */
.float-img {
  display: none;
  position: absolute; z-index: 0;
  border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow);
  opacity: clamp(0, var(--p, 0) * 3, 1);
}
.float-a { aspect-ratio: 4 / 5; transform: translateY(calc((.5 - var(--p, 0)) * 26vh)) rotate(4deg); }
.float-b { aspect-ratio: 1; transform: translateY(calc((.5 - var(--p, 0)) * -20vh)) rotate(-5deg); }
@media (min-width: 1280px) {
  .float-img { display: block; width: clamp(130px, 12vw, 210px); }
  .float-a { right: 2.5%; top: 14%; }
  .float-b { right: 5%; bottom: 10%; }
  .reveal-inner { max-width: 1000px; margin-left: max(var(--gutter), calc((100% - 1200px) / 2)); }
}
@media (max-width: 700px) and (min-height: 740px) {
  .float-img { display: block; width: 86px; }
  .float-a { right: 5%; top: calc(var(--header-h) + 1rem); }
  .float-b { left: 5%; bottom: 4%; }
}

.about-grid {
  display: grid; gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding-block: clamp(2rem, 6vw, 4rem) clamp(4rem, 10vw, 7rem);
}
.mission-card {
  grid-column: span 7;
  position: relative; overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgb(240 162 58 / .45), transparent 55%),
    linear-gradient(140deg, var(--blue-2), var(--blue));
  box-shadow: var(--shadow);
}
.mission-star { position: absolute; right: 1.75rem; top: 1.5rem; width: 2.4rem; height: 2.4rem; color: var(--amber); animation: spin 14s linear infinite; }
.mission-text {
  margin-top: 1rem;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.45rem, 1rem + 1.9vw, 2.4rem); line-height: 1.25; letter-spacing: -.015em;
}
.mission-text span { color: var(--yellow); }
.about-photo {
  grid-column: span 5; position: relative; margin: 0;
  border-radius: var(--radius-lg); overflow: hidden; min-height: 280px;
}
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-badge {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; width: fit-content; max-width: calc(100% - 2rem);
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: 999px;
  background: rgb(255 255 255 / .92); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  backdrop-filter: blur(8px);
}
.photo-badge .icon { color: var(--orange); }
.stats {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.stats li {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgb(220 132 36 / .18);
}
.stats strong {
  display: block;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1; color: var(--orange-2);
}
.stat-label { display: block; margin-top: .5rem; font-weight: 600; color: var(--navy); }
@media (max-width: 860px) {
  .mission-card, .about-photo { grid-column: 1 / -1; }
  .about-photo { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stats li { display: flex; align-items: center; gap: 1rem; }
  .stats strong { min-width: 3.2ch; }
  .stat-label { margin: 0; }
}

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; display: grid; gap: .9rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head > p:last-child { color: var(--muted); font-size: 1.08rem; }

/* ==========================================================
   SERVICES: sticky visual + steps
   ========================================================== */
.services {
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 40% at 100% 0%, rgb(169 200 236 / .35), transparent 70%),
    var(--sky-2);
}
.scrolly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.scrolly-visual {
  position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start;
  height: calc(100vh - var(--header-h) - 3rem);
  height: calc(100svh - var(--header-h) - 3rem);
  max-height: 760px;
}
.sv-frame {
  position: relative; height: 100%;
  border-radius: 14rem 14rem var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: var(--navy);
  box-shadow: var(--shadow);
}
.sv-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: circle(0% at 50% 60%);
  transform: scale(1.15);
  transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease);
}
.sv-frame img.was-active { clip-path: circle(100% at 50% 60%); z-index: 1; transform: scale(1); }
.sv-frame img.is-active { clip-path: circle(100% at 50% 60%); z-index: 2; transform: scale(1); }
.sv-meta {
  position: absolute; z-index: 3; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1.1rem; border-radius: 999px;
  background: rgb(255 255 255 / .9); backdrop-filter: blur(8px);
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
}
.sv-count b { color: var(--orange-2); font-size: 1.15em; }
.sv-bars { display: flex; gap: .4rem; }
.sv-bars i { width: 2rem; height: 4px; border-radius: 4px; background: rgb(28 43 74 / .15); position: relative; overflow: hidden; }
.sv-bars i::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.sv-bars i.on::after { transform: scaleX(1); }

.step {
  min-height: 85vh; min-height: 85svh;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem;
  padding-block: 3rem;
  opacity: .3; transition: opacity .6s var(--ease);
}
.step.is-active { opacity: 1; }
.scrolly-steps { padding-bottom: 40vh; padding-bottom: 40svh; }
.step-img { display: none; }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #fff;
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange-2));
}
.step h3 { color: var(--orange-2); }
.step .btn { margin-top: .75rem; }

.checks { display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: ""; position: absolute; left: .3rem; top: .3em;
  width: .5rem; height: .95rem;
  border: solid var(--orange); border-width: 0 3px 3px 0; border-radius: 1px;
  transform: rotate(45deg);
}
.checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }

@media (max-width: 900px) {
  .scrolly { grid-template-columns: minmax(0, 1fr); }
  .scrolly-visual { display: none; }
  .scrolly-steps { padding-bottom: 0; }
  .step { min-height: 0; opacity: 1; padding-block: 0 3rem; }
  .step-img {
    display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
    border-radius: var(--radius); margin-bottom: .5rem; box-shadow: var(--shadow);
  }
}
@media (max-width: 480px) { .checks-2 { grid-template-columns: 1fr; } }

/* ==========================================================
   SUPPORT: stacking cards
   ========================================================== */
.support { padding-block: clamp(4rem, 10vw, 7rem); background: var(--white); }
.stack { display: grid; gap: 2rem; padding-bottom: 50vh; padding-bottom: 50svh; }
.stack-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem + var(--i) * 1.1rem);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  min-height: min(68vh, 560px); min-height: min(68svh, 560px);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 -1rem 3rem -1.5rem rgb(28 43 74 / .35);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
}
.stack-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: #0b1428; opacity: var(--dim, 0);
}
.stack-body { display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; padding: clamp(1.75rem, 5vw, 3.5rem); }
.stack-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: .9; opacity: .25; }
.stack-media { position: relative; min-height: 220px; }
.stack-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.card-navy { background: var(--navy); color: #e8edf7; }
.card-navy h3 { color: #fff; }
.card-navy .checks li::before { border-color: var(--amber); }
.card-cream { background: var(--cream); }
.card-cream h3, .card-cream .stack-num { color: var(--orange-2); }
.card-blue { background: linear-gradient(140deg, var(--blue-2), var(--blue)); color: #eaf0ff; }
.card-blue h3 { color: #fff; }
.card-green { background: var(--green); color: #e4efe9; }
.card-green h3 { color: #fff; }
.card-green .checks li::before { border-color: var(--yellow); }
.card-navy .stack-num, .card-blue .stack-num, .card-green .stack-num { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .45rem .95rem; border-radius: 999px;
  background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .25);
  font-weight: 600; font-size: .92rem;
}

@media (max-width: 760px) {
  .stack { padding-bottom: 35vh; padding-bottom: 35svh; }
  .stack-card { grid-template-columns: minmax(0, 1fr); min-height: 0; top: calc(var(--header-h) + .75rem + var(--i) * .9rem); }
  .stack-media { order: -1; min-height: 0; aspect-ratio: 16 / 7; }
  .chips li { padding: .35rem .75rem; font-size: .82rem; }
  .stack-body { gap: .8rem; padding: 1.5rem 1.4rem 1.75rem; }
  .stack-num { position: absolute; right: 1.25rem; top: 1rem; z-index: 1; font-size: 2.6rem; opacity: .85; color: #fff !important; text-shadow: 0 2px 10px rgb(0 0 0 / .35); }
}
.stack-card.is-tall { position: relative; top: 0; transform: none; }
@media (max-height: 600px) {
  .stack-card { position: relative; top: 0; }
}

/* ==========================================================
   AREAS: fanning card deck (pinned)
   ========================================================== */
.areas { background: linear-gradient(180deg, var(--white), var(--cream)); }
.fan-scene { position: relative; height: 310vh; height: 310svh; }
.fan-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1rem, 4svh, 3rem);
  padding-top: var(--header-h);
  overflow: hidden;
}
.fan-head { text-align: center; justify-items: center; margin-bottom: 0; }
.fan-hint { opacity: calc(1 - var(--e, 0) * 1.5); }

/* Desktop/tablet: the deck spreads into a gentle arc.
   Phones: the deck cascades into a readable vertical stack. */
.fan {
  --cw: clamp(118px, 13.5vw, 200px);
  --ch: calc(var(--cw) * 1.3);
  --dx: min(calc((100vw - var(--cw) - 8rem) / 6), calc(var(--cw) * 1.06));
  --rot: 4deg;
  --dy: .7rem;
  position: relative; width: 100%;
  height: calc(var(--ch) + 3rem);
}
.fan-card {
  --o: calc(var(--i) - 3);
  position: absolute; left: 50%; top: 0;
  width: var(--cw); height: var(--ch); margin-left: calc(var(--cw) / -2);
  z-index: var(--z);
  container-type: inline-size;
  display: flex; flex-direction: column; justify-content: flex-start; gap: .15rem;
  padding: clamp(.75rem, 1.1vw, 1.2rem);
  border-radius: clamp(.9rem, 1.5vw, 1.4rem);
  color: #fff;
  box-shadow: 0 1.25rem 2.5rem -1rem rgb(28 43 74 / .5);
  transform-origin: 50% 100%;
  transform:
    translateX(calc(var(--o) * var(--dx) * var(--e, 0)))
    translateY(calc(var(--o) * var(--o) * var(--dy) * var(--e, 0)))
    rotate(calc(var(--o) * (var(--rot) * var(--e, 0) + 2deg * (1 - var(--e, 0)))));
  overflow: hidden;
}
.fan-card:nth-child(n+5) { align-items: flex-end; text-align: right; }
.fan-card:nth-child(n+5) .fc-top { flex-direction: row-reverse; }
.fan-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 100% 0%, rgb(255 255 255 / .22), transparent 55%),
    repeating-linear-gradient(135deg, rgb(255 255 255 / .05) 0 8px, transparent 8px 16px);
}
.fan-card:nth-child(1) { background-color: var(--teal); }
.fan-card:nth-child(2) { background-color: var(--blue); }
.fan-card:nth-child(3) { background-color: var(--orange-2); }
.fan-card:nth-child(4) { background-color: var(--navy); }
.fan-card:nth-child(5) { background-color: var(--orange); }
.fan-card:nth-child(6) { background-color: var(--blue-2); }
.fan-card:nth-child(7) { background-color: var(--green); }
.fc-top { display: flex; align-items: center; justify-content: space-between; align-self: stretch; margin-bottom: auto; }
.fc-top .icon { width: 15cqi; height: 15cqi; color: var(--yellow); }
.fc-num { font-family: var(--font-head); font-weight: 800; font-size: 8cqi; opacity: .75; }
.fan-card strong { font-family: var(--font-head); font-weight: 800; font-size: 11cqi; line-height: 1.1; }
.fc-sub { font-size: 7.5cqi; opacity: .8; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }

@media (max-width: 700px) {
  .fan {
    --cw: min(100% - 2 * var(--gutter), 360px);
    --ch: 112px;
    --step: 50px;
    height: calc(var(--ch) + 6 * var(--step));
  }
  .fan-card {
    z-index: calc(var(--i) + 1);
    display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: baseline; align-content: start;
    column-gap: .5rem; padding: .85rem 1.1rem;
    transform-origin: 50% 50%;
    transform:
      translateY(calc(var(--i) * var(--step) * var(--e, 0)))
      rotate(calc(var(--o) * 1.6deg * (1 - var(--e, 0))));
  }
  .fan-card:nth-child(n+5) { text-align: left; }
  .fc-top { display: contents; }
  .fc-top .icon { width: 1.3rem; height: 1.3rem; grid-column: 1; grid-row: 1; align-self: center; }
  .fan-card strong { grid-column: 2; grid-row: 1; font-size: clamp(1rem, 4.6vw, 1.15rem); white-space: nowrap; }
  .fc-sub { grid-column: 3; grid-row: 1; font-size: .68rem; white-space: nowrap; }
  .fc-num { grid-column: 4; grid-row: 1; font-size: .8rem; }
}
@media (max-width: 700px) and (max-height: 700px) {
  .fan { --step: 44px; --ch: 100px; }
  .fan-hint { display: none; }
}
@media (min-width: 701px) and (max-height: 560px) {
  .fan { --cw: 100px; }
  .fan-head h2 { font-size: 1.6rem; }
  .fan-hint { display: none; }
}

/* ==========================================================
   BAND: parallax image
   ========================================================== */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(80vh, 680px); min-height: min(80svh, 680px);
  display: grid; align-items: center;
  padding-block: clamp(4rem, 10vw, 6rem);
  color: #fff;
}
.band-img {
  position: absolute; inset: -12% 0; z-index: -2;
  width: 100%; height: 124%; object-fit: cover;
  transform: translate3d(0, calc((var(--p, .5) - .5) * -16%), 0) scale(calc(1.05 + var(--p, .5) * .1));
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(28 43 74 / .92) 10%, rgb(18 49 138 / .55) 60%, rgb(220 132 36 / .25));
}
.band-inner { display: grid; gap: 1.25rem; justify-items: start; }
.band-title { color: #fff; font-size: clamp(2.4rem, 1.2rem + 5.5vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.band-title span { color: var(--amber); }
.band p { font-size: 1.15rem; max-width: 34rem; opacity: .9; }
.band-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { padding-block: clamp(4rem, 10vw, 7rem); background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-info { display: grid; gap: 1rem; align-content: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.contact-list { display: grid; gap: .75rem; margin-top: 1rem; }
.contact-list a {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1.1rem; border-radius: 1.1rem;
  background: #fff; border: 1px solid rgb(28 43 74 / .08);
  text-decoration: none; color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(.98rem, .9rem + .35vw, 1.15rem); line-height: 1.35;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
  min-width: 0;
}
.contact-list a > span:last-child { min-width: 0; }
.contact-list a:hover { transform: translateX(4px); border-color: rgb(220 132 36 / .5); box-shadow: 0 1rem 2rem -1.25rem rgb(28 43 74 / .45); }
.contact-list small { display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ci {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange-2)); color: #fff;
}
.ci .icon { width: 1.25rem; height: 1.25rem; }
.contact-map {
  position: relative;
  min-height: 420px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(rgb(28 43 74 / .06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgb(28 43 74 / .06) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--sky-2);
}
.map-fallback {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 1rem;
  padding: 2rem; text-align: center; color: var(--navy);
}
.map-fallback .ci { width: 3.5rem; height: 3.5rem; }
.map-fallback .ci .icon { width: 1.6rem; height: 1.6rem; }
.contact-map iframe { position: relative; display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.contact-map iframe[hidden] { display: none; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-map, .contact-map iframe { min-height: 320px; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 10vw, 7rem) 0 1.5rem;
  background: var(--navy); color: #c9d3e6;
}
.waves-footer { top: -1px; bottom: auto; transform: scaleY(-1); height: clamp(40px, 6vw, 80px); z-index: 0; }
.waves-footer .wave-back { fill: var(--cream); opacity: .6; }
.waves-footer .wave-front { fill: var(--cream); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; }
.brand-light .brand-text { color: #fff; }
.brand-light .brand-text small { color: var(--amber); }
.brand-light img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 4px; }
.footer-brand p { margin-top: 1rem; font-size: .95rem; }
.dot { display: inline-block; width: .5rem; height: .5rem; margin: 0 .5rem; border-radius: 50%; background: var(--yellow); vertical-align: middle; }
.footer-nav, .footer-contact { display: grid; gap: .5rem; align-content: start; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12);
  font-size: .85rem; opacity: .8;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(2.5rem);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Reduced motion: keep layout, drop pinning & animation ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero { height: 100vh; height: 100svh; }
  .reveal-scene, .fan-scene { height: auto; }
  .reveal-sticky, .fan-sticky { position: relative; height: auto; min-height: 100svh; padding-block: calc(var(--header-h) + 2rem) 4rem; }
  .reveal-text .w { opacity: 1; }
  .fan-scene { --e: 1; }
  .stack-card { position: relative; top: 0; transform: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
