/* WeCare v2 — brand: navy #074D67, lime #ACD136, grey #F2F2F2 (from the logo board).
   Layout language modelled on namaha.healthcare: photo-led heroes, airy pale sections,
   restrained serif headings with an italic second line, faint line-art, inset rounded panels. */
:root {
  --navy: #074d67;
  --navy-deep: #053a4f;
  --ink: #0d2f3c;
  --text: #2a4853;
  --muted: #5e7680;
  --lime: #acd136;
  --lime-ink: #5d8812;
  --lime-soft: #eef5d6;
  --paper: #fbfcf8;
  --mist: #f2f6ef;
  --sage: #e5eddb;
  --line: rgba(7, 77, 103, 0.14);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(20px, 3.4vw, 44px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.018em; margin: 0; color: var(--navy); text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.6rem); }
h2 { font-size: clamp(2.3rem, 4.2vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--lime-ink); }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 999px; z-index: 400; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; color: var(--navy); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--text); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; font: 500 0.74rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 17px 26px; border-radius: 10px; border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #bfe04e; }
.btn-light { background: var(--sage); color: var(--navy); }
.btn-light:hover { background: #d8e5ca; }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--navy); padding-bottom: 8px; border-bottom: 1px solid var(--line); transition: border-color .3s, gap .3s; }
.link-arrow::after { content: "→"; font-size: .9rem; letter-spacing: 0; }
.link-arrow:hover { border-color: var(--lime-ink); gap: 16px; }
.round { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1rem; transition: background .35s, color .35s, transform .45s var(--ease); }
.round.outline { background: transparent; border: 1px solid currentColor; color: inherit; width: 58px; height: 58px; cursor: pointer; font-size: 1.15rem; }
.round.outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); transition: background .4s, padding .4s, box-shadow .4s; }
.brand img { height: 40px; width: auto; }
.brand .brand-dark { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 10px; background: #fff; color: var(--navy); text-decoration: none; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; transition: background .4s, color .4s; }
.menu-btn { width: 46px; height: 46px; border-radius: 10px; border: 0; cursor: pointer; display: grid; place-content: center; gap: 5px; background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(12px); transition: background .4s; }
.menu-btn i { display: block; width: 20px; height: 1.5px; background: #fff; border-radius: 2px; transition: background .4s; }
.site-header.is-scrolled { background: rgba(251, 252, 248, 0.97); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .brand-light { display: none; }
.site-header.is-scrolled .brand-dark { display: block; }
.site-header.is-scrolled .pill { background: var(--sage); }
.site-header.is-scrolled .menu-btn { background: var(--sage); }
.site-header.is-scrolled .menu-btn i { background: var(--navy); }

/* ---------- side-panel menu ---------- */
.menu-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(4, 34, 46, 0.5); } /* no backdrop blur: it re-blurred the whole page every frame and made the menu laggy */
.menu { position: fixed; z-index: 80; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100% - 24px)); background: var(--paper); border-radius: 18px; padding: 26px 34px 30px; display: flex; flex-direction: column; overflow-y: auto; box-shadow: 0 40px 80px -30px rgba(4, 34, 46, 0.5); }
.menu[hidden], .menu-scrim[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.menu-close { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; margin-left: -10px; }
.menu-close::before, .menu-close::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: var(--navy); transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }
.menu-call { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--navy); }
.menu-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; text-decoration: none; font: 400 clamp(1.7rem, 3.2vw, 2.15rem)/1.15 var(--serif); letter-spacing: -0.015em; color: rgba(7, 77, 103, 0.5); text-align: right; transition: color .35s; }
.menu-list a::before { content: "↗"; font: 300 1.5rem/1 var(--sans); color: var(--navy); opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s; }
.menu-list a:hover, .menu-list a:focus-visible, .menu-list a[aria-current="page"] { color: var(--navy); font-style: italic; }
.menu-list a:hover::before, .menu-list a:focus-visible::before { opacity: 1; transform: none; }
.menu-foot { margin: 26px 0 0; font-size: 0.85rem; color: var(--muted); text-align: right; }
.menu-foot a { color: var(--navy); }
body.menu-open { overflow: hidden; }
html { scrollbar-gutter: stable; } /* locking scroll for the menu must not remove the scrollbar and shift the page */

/* ---------- load screen ---------- */
.loader { display: none; position: fixed; inset: 0; z-index: 500; background: var(--navy-deep); place-items: center; align-content: center; gap: 28px; }
.js:not(.seen) .loader { display: grid; }
.loader img { width: 92px; height: auto; animation: pulse 1.6s ease-in-out infinite; }
.loader-bar { width: 150px; height: 1.5px; background: rgba(255, 255, 255, 0.16); position: relative; overflow: hidden; border-radius: 2px; }
.loader-bar::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: translateX(-100%); animation: load 1.3s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes load { to { transform: none; } }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .85; } }

/* ---------- photo heroes ---------- */
.hero, .page-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 33, 46, 0.55) 0%, rgba(3, 33, 46, 0.18) 34%, rgba(3, 33, 46, 0.38) 64%, rgba(3, 33, 46, 0.82) 100%), rgba(7, 77, 103, 0.18); }
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero .hero-media { bottom: -100px; } /* the pinned hero slides this up 90px; keep photo behind the cards */
.hero-copy { text-align: center; padding: 150px var(--gutter) 56px; max-width: 1000px; margin-inline: auto; }
.hero .eyebrow, .page-hero .eyebrow { color: #fff; }
.hero h1, .page-hero h1 { color: #fff; }
.hero h1 em, .page-hero h1 em { color: var(--lime); }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 var(--gutter) var(--gutter); width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; }
.glass { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 230px; padding: 26px; border-radius: var(--r); text-decoration: none; color: #fff; background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(14px); transition: translate .5s var(--ease), background .4s, border-color .4s; }
.glass:hover { translate: 0 -6px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)); border-color: rgba(255, 255, 255, 0.4); }
.glass h3 { color: #fff; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.glass p { margin: 0; font-size: 0.93rem; color: rgba(255, 255, 255, 0.86); }
.glass .round { background: rgba(255, 255, 255, 0.18); }
.glass:hover .round { background: var(--lime); color: var(--ink); transform: rotate(45deg); }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; translate: -50% 0; display: none; flex-direction: column; align-items: center; gap: 10px; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--lime), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 991px) { .gsap .scroll-cue { display: flex; } }

.page-hero { min-height: min(86svh, 820px); display: grid; place-items: center; text-align: center; padding: 150px var(--gutter) 90px; }
.page-hero .hero-copy { padding: 0; }
.page-hero p { max-width: 54ch; margin: 26px auto 0; font-size: 1.12rem; color: rgba(255, 255, 255, 0.88); }
.page-hero .btns { justify-content: center; margin-top: 34px; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 180px) 0; overflow-x: clip; }
.section.tight { padding-block: clamp(64px, 8vw, 110px); }
.section.flush-top { padding-top: 0; }
.bg-mist { background: var(--mist); }
.fade-down { background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%); }
.fade-up { background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); }
.fade-sage { background: linear-gradient(180deg, var(--paper) 0%, var(--sage) 100%); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 30px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.head-row p { max-width: 40ch; margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; }
.section-head { max-width: 780px; margin-bottom: 64px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.split.top { align-items: start; }
.split.wide-left { grid-template-columns: 1.15fr 1fr; }
.split.flip > :first-child { order: 2; }
.copy-col p { color: var(--text); }
.copy-col .lede + p { margin-top: 1.2em; }

/* welcome statement over the Rock line-art */
.welcome { position: relative; overflow: hidden; text-align: center; padding: clamp(120px, 15vw, 220px) 0 0; background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%); }
.welcome .statement { font: 400 clamp(1.7rem, 3.3vw, 2.75rem)/1.28 var(--serif); letter-spacing: -0.015em; color: var(--navy); max-width: 24ch; margin: 0 auto; }
.welcome .statement-sub { margin: 30px auto 0; max-width: 46ch; color: var(--muted); }
.welcome .rock { width: 100%; height: auto; margin-top: clamp(40px, 6vw, 90px); color: rgba(7, 77, 103, 0.3); }
.welcome .bg-waves { position: absolute; inset: -10% 0 auto; height: 70%; color: rgba(7, 77, 103, 0.07); pointer-events: none; }
.bg-waves .waves { width: 100%; height: 100%; }

/* rounded media frames with inner parallax */
.frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sage); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.wide { aspect-ratio: 16 / 8; }
.frame.land { aspect-ratio: 4 / 3; }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.square { aspect-ratio: 1; }
.gsap [data-drift] img { scale: 1.16; }

/* commitments: hover list that swaps the photo (modelled on Namaha's facilities list) */
.commit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: start; }
.commit-list { list-style: none; margin: 46px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.commit-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 22px 0; cursor: pointer; font: inherit; color: inherit; }
.commit-item .t { display: block; font: 400 clamp(1.45rem, 2.3vw, 2rem)/1.15 var(--serif); letter-spacing: -0.012em; color: rgba(7, 77, 103, 0.36); transition: color .4s; }
.commit-item .d { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--ease), opacity .45s, margin .45s; color: var(--text); max-width: 46ch; font-size: 0.98rem; }
.commit-item .d > span { overflow: hidden; }
.commit-item.is-active .t, .commit-item:hover .t { color: var(--navy); }
.commit-item.is-active .t { font-style: italic; }
.commit-item.is-active .d { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
.commit-media { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--sage); }
.commit-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.06; transition: opacity .8s ease, scale 1.4s var(--ease); }
.commit-media img.is-active, html:not(.js) .commit-media img:first-of-type { opacity: 1; scale: 1; }
.commit-media .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 12px 18px; border-radius: 10px; background: rgba(251, 252, 248, 0.9); color: var(--navy); font: 400 1.05rem var(--serif); }

/* horizontal photo rail (modelled on Namaha's specialty departments) */
.rail-wrap { position: relative; }
.rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging a { pointer-events: none; }
.rail-card { flex: 0 0 clamp(250px, 23vw, 310px); scroll-snap-align: start; padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line); }
.rail-card:last-child { border-right: 0; }
.rail-card a { position: relative; display: block; aspect-ratio: 3 / 4.1; border-radius: var(--r); overflow: hidden; text-decoration: none; background: var(--sage); }
.rail-card img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); -webkit-user-drag: none; user-select: none; }
.rail-card a:hover img { scale: 1.06; }
.rail-label { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 10px; background: rgba(6, 36, 48, 0.62); color: #fff; font-size: 0.95rem; line-height: 1.3; }
.rail-label span:last-child { transition: transform .4s var(--ease); }
.rail-card a:hover .rail-label span:last-child { transform: translateX(5px); }
.rail-desc { margin: 16px 4px 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--navy); cursor: pointer; font-size: 1.05rem; transition: background .3s, color .3s, border-color .3s; }
.rail-nav button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* quote panel (modelled on Namaha's testimonial card) */
.quote-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); color: #fff; padding: clamp(26px, 4vw, 46px); }
.quote-panel .bg-waves { position: absolute; inset: 0; color: rgba(255, 255, 255, 0.06); pointer-events: none; }
.qp-head { position: relative; display: flex; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.qp-head .label { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.qp-head .gull { width: 70px; color: var(--lime); margin-top: -26px; }
.qp-pager { margin-left: auto; display: flex; gap: 4px; }
.qp-pager button { background: none; border: 0; color: rgba(255, 255, 255, 0.45); font: 500 0.72rem var(--sans); letter-spacing: 0.08em; padding: 6px 7px; cursor: pointer; transition: color .3s; }
.qp-pager button[aria-current="true"], .qp-pager button:hover { color: #fff; }
.qp-body { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 4vw, 56px); min-height: clamp(300px, 34vw, 400px); }
.qp-quotes { display: grid; }
.qp-quote { grid-area: 1 / 1; margin: 0; text-align: center; display: grid; place-content: center; gap: 26px; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.qp-quote.is-active { opacity: 1; visibility: visible; }
.qp-quote blockquote { margin: 0 auto; max-width: 30ch; font: 400 clamp(1.45rem, 2.6vw, 2.25rem)/1.3 var(--serif); letter-spacing: -0.01em; }
.qp-quote figcaption { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.qp-note { position: relative; margin: 18px 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }

/* facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 34px 28px 4px 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font: 300 clamp(2.8rem, 5.4vw, 4.6rem)/1 var(--serif); letter-spacing: -0.03em; color: var(--navy); margin-bottom: 14px; }
.fact > span { color: var(--muted); font-size: 0.93rem; }

/* full-bleed image card with overlaid copy */
.image-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); min-height: clamp(460px, 48vw, 600px); display: flex; align-items: flex-end; color: #fff; }
.image-card > img, .image-card .frame-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.image-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 33, 46, 0.82) 0%, rgba(3, 33, 46, 0.45) 55%, rgba(3, 33, 46, 0.1) 100%); }
.image-card .inner { padding: clamp(28px, 5vw, 64px); max-width: 640px; }
.image-card h2 { color: #fff; }
.image-card h2 em { color: var(--lime); }
.image-card p { color: rgba(255, 255, 255, 0.86); margin: 22px 0 30px; }
.image-card .eyebrow { color: #fff; }

/* help rows (Namaha's "We are here to help you") */
.help-rows { border-bottom: 1px solid var(--line); }
.help-row { display: grid; grid-template-columns: 1fr 1.25fr auto; gap: clamp(20px, 4vw, 64px); align-items: start; padding: 34px 0 40px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.help-row h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); transition: color .3s; }
.help-row p { margin: 4px 0 0; color: var(--muted); font-size: 0.97rem; max-width: 52ch; }
.help-row .num { display: block; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.14em; color: var(--lime-ink); margin-bottom: 12px; }
a.help-row:hover h3 { font-style: italic; }
a.help-row:hover .round { background: var(--lime); color: var(--ink); transform: rotate(45deg); }

/* light cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: translate .5s var(--ease), box-shadow .5s, border-color .4s; }
.card:hover { translate: 0 -4px; box-shadow: 0 30px 60px -36px rgba(7, 77, 103, 0.45); border-color: rgba(172, 209, 54, 0.8); }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .num { font: 500 0.72rem var(--sans); letter-spacing: 0.14em; color: var(--lime-ink); }
.card .frame { margin: -30px -30px 8px; border-radius: 0; aspect-ratio: 4 / 3; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 0.95rem; transition: background .3s, border-color .3s; }
.tags li:hover { background: var(--lime-soft); border-color: var(--lime); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.svc-grid article { border-top: 1px solid var(--line); padding: 24px 0 36px; }
.svc-grid h3 { font-size: clamp(1.2rem, 1.5vw, 1.35rem); margin-bottom: 8px; }
.svc-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* navy panel for process steps */
.panel { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); color: rgba(255, 255, 255, 0.82); padding: clamp(32px, 5vw, 72px); }
.panel h2 { color: #fff; }
.panel h2 em { color: var(--lime); }
.panel .eyebrow { color: #fff; }
.panel .bg-waves { position: absolute; inset: 0; color: rgba(255, 255, 255, 0.06); pointer-events: none; }
.steps { position: relative; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.step { counter-increment: s; border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 22px; }
.step::before { content: "0" counter(s); display: block; font: 300 2.4rem/1 var(--serif); color: var(--lime); margin-bottom: 18px; }
.step h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: 0.95rem; margin: 0; }

/* closing statement */
.statement-block { text-align: center; }
.statement-block h2 { max-width: 20ch; margin-inline: auto; }
.statement-block p { margin: 26px auto 0; max-width: 50ch; color: var(--muted); }
.statement-block .rock { margin-top: 56px; color: rgba(7, 77, 103, 0.22); }

/* guides (FAQ) */
.guide-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.guide-nav { position: sticky; top: 110px; display: grid; gap: 2px; }
.guide-nav a { text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line); font: 400 1.25rem var(--serif); color: rgba(7, 77, 103, 0.45); transition: color .3s; }
.guide-nav a:hover, .guide-nav a.active { color: var(--navy); font-style: italic; }
.guide-group { margin-bottom: 80px; scroll-margin-top: 110px; }
.guide-group h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); margin-bottom: 18px; }
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; list-style: none; padding: 22px 50px 22px 0; font: 500 1.04rem/1.45 var(--sans); color: var(--ink); position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 300 1.7rem/1 var(--sans); color: var(--navy); transition: transform .35s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 24px; margin: 0; max-width: 64ch; }
details a { color: var(--navy); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.contact-list { display: grid; gap: 0; margin: 40px 0 0; }
.contact-list > div { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list dt { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-list dd { margin: 0; font: 400 1.45rem/1.3 var(--serif); color: var(--navy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { font-style: italic; }
form.book { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(7, 77, 103, 0.5); }
form.book h3 { font-size: 1.9rem; margin-bottom: 6px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; padding: 15px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--mist); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lime); border-color: transparent; background: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-done { background: var(--lime-soft); border-radius: 12px; padding: 18px 20px; color: var(--navy); margin: 0; }
.form-done a { color: var(--navy); }
.map-card { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); color: #fff; padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; min-height: 300px; }
.map-card .rock { position: absolute; right: -2%; bottom: -10px; width: min(78%, 900px); color: rgba(255, 255, 255, 0.22); pointer-events: none; }
.map-card h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); position: relative; }
.map-card p { position: relative; margin: 12px 0 0; color: rgba(255, 255, 255, 0.8); }
.map-card .btn { position: relative; }

/* ---------- footer (inset card) ---------- */
.site-footer { background: var(--paper); padding: clamp(60px, 8vw, 120px) var(--gutter) var(--gutter); }
.footer-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); background: var(--navy); color: rgba(255, 255, 255, 0.78); padding: clamp(32px, 5vw, 64px); max-width: calc(var(--wrap) + 160px); margin-inline: auto; }
.footer-art { position: absolute; z-index: -1; right: -3%; bottom: 70px; width: min(56%, 820px); color: rgba(255, 255, 255, 0.24); pointer-events: none; }
.footer-inner { display: grid; gap: clamp(48px, 7vw, 96px); }
.footer-lead img { height: 44px; width: auto; }
.footer-call { margin: 46px 0 0; font: 500 0.7rem/1.6 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.footer-call a { display: inline-block; margin-top: 8px; font: 400 clamp(2rem, 4vw, 3.4rem)/1 var(--serif); letter-spacing: -0.02em; text-transform: none; color: #fff; text-decoration: none; }
.footer-call a:hover { font-style: italic; color: var(--lime); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 32px; font-size: 0.92rem; }
.footer-cols a { display: block; padding: 4px 0; text-decoration: none; color: rgba(255, 255, 255, 0.82); }
.footer-cols a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.footer-legal span:last-child { display: flex; gap: 22px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ---------- motion helpers ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; } .js [data-reveal="3"] { transition-delay: .2s; } .js [data-reveal="4"] { transition-delay: .3s; }
.js [data-split] { visibility: hidden; }
.js.split-ready [data-split] { visibility: visible; }
[data-split] .line { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
[data-split] .word { display: inline-block; }
[data-split="scrub"] .word { display: inline; }

/* pointer spotlight */
.glass::after, .card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(172, 209, 54, 0.16), transparent 60%); }
.glass::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.2), transparent 62%); }
.glass:hover::after, .card:hover::after { opacity: 1; }

/* cursor follower (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 450; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1.5px solid var(--lime); pointer-events: none; display: grid; place-items: center; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s, opacity .3s; }
.cursor span { font: 600 0.6rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.on { opacity: 1; }
.cursor.grow { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--lime); border-color: var(--lime); }
.cursor.grow.has-label span { opacity: 1; }
.cursor.small { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--lime); }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards, .steps, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
}
@media (max-width: 860px) {
  .split, .split.wide-left, .commit, .contact-grid, .guide-layout { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .commit-media { position: relative; top: 0; aspect-ratio: 4 / 3; order: -1; }
  .help-row { grid-template-columns: 1fr auto; }
  .help-row > p { grid-column: 1 / -1; grid-row: 2; }
  .guide-nav { position: static; grid-auto-flow: column; overflow-x: auto; gap: 24px; }
  .guide-nav a { white-space: nowrap; border: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-art { width: 130%; right: -15%; bottom: auto; top: 30px; opacity: .45; }
  .image-card::after { background: linear-gradient(0deg, rgba(3, 33, 46, 0.88) 0%, rgba(3, 33, 46, 0.4) 70%, rgba(3, 33, 46, 0.15) 100%); }
  .qp-body { grid-template-columns: 1fr; }
  .qp-body > .round { display: none; }
  .qp-pager { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .hero-cards, .cards, .two, .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .glass { min-height: 0; }
  .pill { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-right: 14px; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(3) { padding-left: 0; }
  .footer-cols { grid-template-columns: 1fr; }
  .rail-card { flex-basis: 74vw; }
  .head-row { align-items: flex-start; }
  .qp-head .gull { display: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .loader, .cursor { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-split] { visibility: visible; }
}

/* line-art placed directly in a section (closing statements) */
.section > .rock { width: 100%; height: auto; margin-top: clamp(40px, 6vw, 90px); margin-bottom: calc(-1 * clamp(96px, 12vw, 180px)); color: rgba(7, 77, 103, 0.24); }
.statement-block .small { margin-top: 18px; }
.statement-block a:not(.btn) { color: var(--navy); }
