/* OceanCare Health — site styles. Design rationale: see DESIGN.md */

/* ------------------------------------------------------------ fonts */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-wght-normal.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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-ext-wght-normal.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 {
  --ink: #1F2125;
  --slate: #3A3D42;
  --steel: #55595F;
  --ash: #9A9EA4;
  --fog: #DCDEE1;
  --mist: #EEF0F2;
  --white: #FFFFFF;
  --coral: #F26B3A;
  --teal: #0B5563;
  --dark: var(--slate);      /* every dark surface uses this one colour */
  --on-dark-muted: #C3C6CB; /* secondary text on --dark (6.3:1) */

  --text: var(--ink);
  --text-muted: var(--steel);
  --surface: var(--white);
  --surface-quiet: var(--mist);
  --line: var(--fog);
  --link: var(--teal);
  --ring: var(--teal);

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.25rem + 0.9vw, 1.75rem);
  --step-4: clamp(1.75rem, 1.35rem + 1.6vw, 2.25rem);
  --step-5: clamp(2.125rem, 1.4rem + 2.8vw, 3.25rem);
  --step-6: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --step-7: clamp(2.75rem, 1rem + 4.3vw, 5rem);

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --section: clamp(72px, 9vw, 144px);
  --header-h: 88px;

  --r-panel: 24px;
  --r-tile: 22%;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-med: 280ms;

  --z-header: 100;
  --z-nav: 90;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-1);
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-weight: 300; letter-spacing: -0.025em; line-height: 1.06; }
h3 { font-weight: 600; font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
strong { font-weight: 650; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.glyph { display: inline-block; width: 1.1em; height: 0.5em; color: var(--teal); vertical-align: middle; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: var(--step-0); line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  touch-action: manipulation;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--slate); color: var(--white); }
.btn--primary:hover { background: #2E3135; }
.btn--outline { border-color: var(--ink); background: transparent; color: var(--teal); }
.btn--outline:hover { background: var(--slate); border-color: var(--slate); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--mist); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn .icon { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* text link with a growing underline */
.link {
  position: relative; display: inline-block;
  font-weight: 600; color: var(--ink); text-decoration: none; padding-bottom: 8px;
}
.link::before, .link::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
.link::before { bottom: 3px; height: 2px; background: var(--coral); transform-origin: right; transition: transform .35s var(--ease-out); }
.link::after { bottom: 0; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 C2.7 0.2 5.3 0.2 8 3 S13.3 5.8 16 3' fill='none' stroke='%230B5563' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 50% / 16px 6px repeat-x; clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease-out); }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--dark); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--t-med) ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(31,33,37,.6); }
.site-header :focus-visible { outline-color: var(--white); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h); max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: block; flex: none; border-radius: 10px; }
.brand img { height: 72px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 10px 12px; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 600; color: var(--fog); text-decoration: none; white-space: nowrap;
  position: relative; transition: color var(--t-fast) ease;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--white); }
.nav__list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__extra { display: flex; align-items: center; gap: 16px; }
.nav__lang { font-size: 0.9375rem; font-weight: 600; color: var(--fog); text-decoration: none; white-space: nowrap; padding: 10px 6px; }
.nav__lang:hover { color: var(--white); text-decoration: underline; }
.nav__call { min-height: 46px; padding: 0 20px; font-size: 0.9375rem; white-space: nowrap; flex: none; }
.nav__lang-short { display: none; }
.nav__list a { white-space: nowrap; }

/* Smaller laptops: keep the links, tighten everything else */
@media (min-width: 1024px) and (max-width: 1359px) {
  .site-header__inner { gap: 16px; padding-inline: 32px; }
  .nav { gap: 14px; }
  .nav__list { gap: 0; }
  .nav__list a { padding: 10px 8px; font-size: 0.875rem; }
  .nav__list a::after { left: 8px; right: 8px; }
  .nav__extra { gap: 10px; }
  .nav__lang-long { display: none; }
  .nav__lang-short { display: inline; }
  .nav__call { width: 46px; padding: 0; gap: 0; }
  .nav__call-num { display: none; }
}

.site-header__mobile { display: none; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.28); background: transparent; color: var(--white); cursor: pointer;
  text-decoration: none; touch-action: manipulation;
}
.icon-btn .icon { width: 20px; height: 20px; }
.menu-btn__bars { display: grid; gap: 6px; width: 20px; }
.menu-btn__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t-med) var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1023px) {

  .site-header__mobile { display: flex; }
  .brand img { height: 59px; }
  .site-header__inner { padding-inline: 16px; gap: 12px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-nav);
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--dark); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-out); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { color: var(--white); font-size: var(--step-4); font-weight: 300; letter-spacing: -0.02em; line-height: 1.3; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); border-radius: 0; }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { font-weight: 500; }
  .nav__list a[aria-current="page"]::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--coral); vertical-align: middle; margin-right: 12px; }
  .nav__extra { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav__call { min-height: 56px; font-size: var(--step-1); }
  .nav__lang { text-align: center; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.section--quiet { background: var(--surface-quiet); }
.section--dark { background: var(--dark); color: var(--fog); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { font-size: var(--step-5); }
.section-head p { margin-top: 20px; color: var(--text-muted); font-size: var(--step-1); max-width: 60ch; }
.section--dark .section-head p { color: var(--fog); }
.lede { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.6; color: var(--text-muted); max-width: 54ch; }

/* coral dash list: the brand tagline's short rule */
.dash-list { list-style: none; display: grid; gap: 12px; }
.dash-list li { position: relative; padding-left: 30px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 18px; height: 2px; background: var(--coral); }

/* ------------------------------------------------------------ hero
   Original horizon hero (sun rising over the logo's waves) with a faint grid fading
   from the top and a bold gradient tagline. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.tg__grid {
  position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -1; opacity: .9; pointer-events: none;
  background-image: linear-gradient(to right, #E6E8EB 1px, transparent 1px), linear-gradient(to bottom, #E6E8EB 1px, transparent 1px);
  background-size: 6rem 5rem;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: min(calc(100svh - var(--header-h)), 820px);
  max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
.hero__copy { align-self: center; padding-block: clamp(48px, 8vw, 112px); position: relative; z-index: 1; }
.hero h1 {
  margin-top: 0; font-size: clamp(2.75rem, 1rem + 4.4vw, 5.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -.045em;
  background: linear-gradient(to bottom right, var(--ink) 30%, rgba(31,33,37,.42)); -webkit-background-clip: text; background-clip: text;
  color: transparent; padding-bottom: .08em;
}
.hero h1 span { display: block; }
.hero .lede { margin-top: 24px; }
.hero .btn-row { margin-top: 34px; }
.hero .btn--outline { background: rgba(255,255,255,.7); }
.hero .btn--outline:hover { background: var(--slate); border-color: var(--slate); color: var(--white); }
.hero__facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 16px 40px;
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line);
  font-size: var(--step-0); color: var(--text-muted);
}
.hero__facts li { position: relative; padding-left: 28px; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 16px; height: 2px; background: var(--coral); }
.hero__facts strong { display: block; color: var(--ink); font-weight: 600; }
.hero__art { position: relative; margin-right: calc(var(--gutter) * -1); }
.hero__art .horizon { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }

@media (min-width: 1300px) {
  .hero__art { margin-right: calc((100vw - var(--max)) / -2); }
}
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-bottom: 8px; }
  .hero__art { height: clamp(240px, 62vw, 420px); margin-inline: calc(var(--gutter) * -1); }
  .hero__art .horizon { -webkit-mask-image: none; mask-image: none; }
  .hero__facts { flex-direction: column; }
}

/* horizon art + load choreography */
.horizon .wave { transform: translate3d(calc(var(--drift, 0) * var(--k, 0) * 1px), 0, 0); will-change: transform; }
.js .horizon .wave { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .horizon .sun { transform: translateY(var(--sun-from, 200px)); }
.js .horizon .rings { opacity: 0; transform: scale(0.92); transform-origin: 65% 55%; transform-box: view-box; }
.js .horizon--mini { --sun-from: 110px; }
.is-ready .horizon .wave { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-in-out) calc(0.3s + var(--i) * 0.09s); }
.is-ready .horizon .sun { transform: none; transition: transform 1.9s var(--ease-out) 0.15s; }
.is-ready .horizon .rings { opacity: 1; transform: none; transition: opacity 1.4s ease 0.9s, transform 1.8s var(--ease-out) 0.9s; }

.js .rise { opacity: 0; transform: translateY(16px); }
.is-ready .rise { opacity: 1; transform: none; transition: opacity 0.8s ease, transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }

/* inner page hero */
.page-hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 32px;
  max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
.page-hero__copy { padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); }
.page-hero h1 { font-size: var(--step-6); letter-spacing: -0.03em; max-width: 16ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero__art { align-self: stretch; display: flex; align-items: flex-end; }
.page-hero__art .horizon { width: 100%; height: auto; }
@media (max-width: 899px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .page-hero__copy { padding-bottom: 8px; }
  .page-hero__art { max-width: 420px; margin-left: auto; margin-right: calc(var(--gutter) * -1); }
}

/* ------------------------------------------------------------ services (home list) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.split__sticky h2 { font-size: var(--step-5); }
.split__sticky p { margin-top: 20px; color: var(--text-muted); }
.split__sticky .btn-row { margin-top: 32px; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split__sticky { position: static; } }

.tile {
  display: grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: var(--r-tile);
  background: var(--mist); color: var(--ink);
  transition: background-color var(--t-med) ease, color var(--t-med) ease;
}
.tile .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.section--quiet .tile { background: var(--white); }

.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 28px 0; color: inherit; text-decoration: none;
}
.svc-list h3, .svc-list h4 { font-size: var(--step-3); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.svc-group { font-size: var(--step-0); font-weight: 600; letter-spacing: 0; color: var(--steel); margin-bottom: 14px; }
.svc-group:not(:first-child) { margin-top: 56px; }
.svc-list p { margin-top: 6px; color: var(--text-muted); font-size: var(--step-0); }
.svc-list .chev { width: 22px; height: 22px; transform: rotate(-90deg); color: var(--ash); transition: transform var(--t-med) var(--ease-out), color var(--t-med) ease; }
.svc-list a:hover .tile { background: var(--teal); color: var(--white); }
.svc-list a:hover .chev { color: var(--coral); transform: rotate(-90deg) translateY(4px); }
.svc-list h3, .svc-list h4 { position: relative; display: inline-block; padding-bottom: 6px; }
.svc-list h3::after, .svc-list h4::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 3 C2.7 0.2 5.3 0.2 8 3 S13.3 5.8 16 3' fill='none' stroke='%230B5563' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 50% / 16px 6px repeat-x; clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease-out); }
@media (max-width: 599px) { .svc-list a { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; } .svc-list .tile { width: 56px; height: 56px; } .svc-list .chev { display: none; } }

/* ------------------------------------------------------------ conditions */
.cond-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); }
.section--quiet .cond-grid, .section--quiet .cond-grid li { border-color: #D3D6DA; }
.cond-grid li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: var(--step-1); font-weight: 500; line-height: 1.35; color: var(--ink); }
.cond-grid li::before { content: ""; flex: none; width: 22px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M1 6C3.3 1 5.7 1 8 6s4.7 5 7 0 4.7-5 7 0 4.7 5 7 0' fill='none' stroke='%230B5563' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.conditions-note { margin-top: 32px; color: var(--text-muted); max-width: 60ch; }
@media (max-width: 899px) { .cond-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 539px) { .cond-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ steps */
.steps { position: relative; }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; counter-reset: step; }
.steps__path { position: absolute; left: 28px; right: 0; top: 8px; width: calc(100% - 28px); height: 40px; overflow: visible; }
.js .steps__path path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.steps.in-view .steps__path path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease-in-out); }
.step { position: relative; }
.step__num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--fog); color: var(--teal);
  font-weight: 600; font-size: var(--step-1); font-variant-numeric: tabular-nums; position: relative; z-index: 1;
}
.section--quiet .step__num { background: var(--mist); }
.step h3 { margin-top: 28px; }
.step p { margin-top: 10px; color: var(--text-muted); font-size: var(--step-0); }
@media (max-width: 899px) {
  .steps__list { grid-template-columns: 1fr; gap: 0; }
  .steps__path { display: none; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; padding-bottom: 36px; }
  .step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(var(--fog), var(--fog)); }
  .step:last-child::before { display: none; }
  .step h3 { margin-top: 12px; grid-column: 2; }
  .step p { grid-column: 2; }
  .step__num { grid-row: span 2; }
}

/* ------------------------------------------------------------ service area map */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.area h2 { font-size: var(--step-5); }
.area__intro p { margin-top: 20px; color: var(--text-muted); }
.county-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); gap: 12px; max-width: 520px; }
.county {
  aspect-ratio: 1; border-radius: var(--r-tile); border: 1.5px solid transparent;
  background: var(--white); color: var(--ink); cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: clamp(12px, 2vw, 20px); text-align: left; font-weight: 600; font-size: clamp(0.9375rem, 0.8rem + 0.5vw, 1.125rem);
  transition: background-color var(--t-med) ease, color var(--t-med) ease, transform var(--t-fast) var(--ease-out), border-color var(--t-med) ease;
  touch-action: manipulation;
}
.county:hover { border-color: var(--ash); }
.county:active { transform: scale(0.97); }
.county small { font-weight: 500; font-size: 0.8125rem; color: var(--steel); }
.county[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.county[aria-pressed="true"] small { color: var(--fog); }
.county__sun { width: 14px; height: 14px; border-radius: 50%; background: var(--fog); transition: background-color var(--t-med) ease, transform var(--t-med) var(--ease-out); }
.county__sun { transition: background-color .3s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.county[aria-pressed="true"] .county__sun { background: var(--coral); transform: translateY(-4px) scale(1.3); }
.county--denton { grid-area: 1 / 1; }
.county--collin { grid-area: 1 / 2; }
.county--tarrant { grid-area: 2 / 1; }
.county--dallas { grid-area: 2 / 2; }
.county--rockwall { grid-area: 2 / 3; }
.county--kaufman { grid-area: 3 / 3; }
.county-map__compass { grid-area: 3 / 1 / 4 / 3; align-self: center; font-size: var(--step--1); color: var(--steel); padding-right: 12px; }
.county-panel { margin-top: 32px; padding: 24px 28px; border-radius: var(--r-panel); background: var(--white); min-height: 132px; }
.county-panel h3 { font-size: var(--step-2); }
.county-panel p { margin-top: 6px; color: var(--text-muted); font-size: var(--step-0); }
@media (max-width: 899px) { .area { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ OCEAN values */
.values { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.value { padding: 32px 28px 8px 0; display: flex; flex-direction: column; }
.value + .value { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.value__letter { display: block; font-size: clamp(4rem, 2rem + 6vw, 7.5rem); font-weight: 200; line-height: 0.9; color: var(--white); letter-spacing: -0.04em; transition: font-weight .7s var(--ease-out), letter-spacing .7s var(--ease-out); }
.value:focus-within .value__letter { font-weight: 450; letter-spacing: -0.03em; }
.value h3 { margin-top: 24px; font-size: var(--step-1); }
.value__en { display: block; font-weight: 400; font-size: var(--step--1); color: var(--fog); }
.value p { margin-top: 10px; font-size: var(--step-0); color: var(--fog); }
.value p:not(.result) { margin-bottom: 18px; }
.value .result { margin-top: auto; padding-top: 16px; border-top: 2px solid var(--coral); width: 100%; color: var(--white); font-weight: 500; }
.section--dark .value .result { border-top-color: var(--coral); }
@media (max-width: 1099px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { display: grid; grid-template-columns: clamp(72px, 16vw, 120px) minmax(0, 1fr); column-gap: 20px; padding: 28px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .value__letter { grid-row: span 3; }
  .value h3 { margin-top: 6px; }
}

/* ------------------------------------------------------------ CTA split */
.cta-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cta-panel { border-radius: var(--r-panel); padding: clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.cta-panel--light { background: var(--mist); }
.cta-panel--dark { background: var(--dark); color: var(--fog); }
.cta-panel--dark h2, .cta-panel--dark h3 { color: var(--white); }
.cta-panel h2 { font-size: var(--step-4); }
.cta-panel p { color: inherit; }
.cta-panel--light p { color: var(--text-muted); }
.cta-panel .btn-row { margin-top: auto; padding-top: 12px; }
.big-num { font-size: var(--step-5); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; color: inherit; text-decoration: none; display: inline-block; }
.big-num small { display: block; font-size: var(--step-0); font-weight: 500; letter-spacing: 0; color: var(--on-dark-muted); margin-bottom: 4px; }
.cta-panel--light .big-num small { color: var(--steel); }
a.big-num:hover { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
@media (max-width: 899px) { .cta-split { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ inner page content */
.detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; }
.detail__head { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.detail__head h2 { font-size: var(--step-4); font-weight: 400; letter-spacing: -0.02em; }
.detail__body > * + * { margin-top: 24px; }
.detail__body h3 { font-size: var(--step-1); margin-top: 36px; }
.detail__body .lede { color: var(--ink); }
.detail__body p { color: var(--text-muted); max-width: 64ch; }
.detail__body .dash-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; max-width: 720px; }
@media (max-width: 899px) { .detail { grid-template-columns: 1fr; } .detail__head { position: static; } }
@media (max-width: 599px) { .detail__body .dash-list { grid-template-columns: 1fr; } }

.jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--step--1); transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease; }
.jump a:hover { border-color: var(--ink); }

.panel { border-radius: var(--r-panel); background: var(--mist); padding: clamp(28px, 4vw, 48px); }
.section--quiet .panel { background: var(--white); }
.panel--line, .section--quiet .panel--line { background: transparent; border: 1.5px solid var(--fog); }
.section--quiet .panel--line { border-color: var(--ash); }
.panel h2 { font-size: var(--step-4); }
.panel h3 + p, .panel h2 + p { margin-top: 12px; color: var(--text-muted); }
.panel .dash-list { margin-top: 24px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 899px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.contact-card { display: flex; flex-direction: column; gap: 14px; border-radius: var(--r-panel); background: var(--mist); padding: clamp(28px, 3.5vw, 40px); }
.contact-card .tile { background: var(--white); width: 56px; height: 56px; }
.contact-card .tile .icon { width: 24px; height: 24px; }
.contact-card h2, .contact-card h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: 0; }
.contact-card .big-num { font-size: var(--step-4); }
.contact-card p { color: var(--text-muted); font-size: var(--step-0); }
.contact-card--dark { background: var(--dark); color: var(--fog); }
.contact-card--dark h2, .contact-card--dark h3 { color: var(--white); }
.contact-card--dark p { color: var(--fog); }
.on-dark a:not(.btn) { color: var(--white); }
.contact-card--dark .tile { background: rgba(255,255,255,.1); color: var(--white); }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-4); margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-muted); }

.quote { font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); max-width: 30ch; }
.section--dark .quote { color: var(--white); }
.quote-cite { margin-top: 20px; font-size: var(--step-0); color: var(--text-muted); }

/* ------------------------------------------------------------ mission & vision (About) */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mv__card {
  margin: 0; display: flex; flex-direction: column; gap: 28px;
  padding: clamp(32px, 4.5vw, 64px); border-radius: var(--r-panel); background: var(--mist);
}
.mv__card--dark { background: var(--dark); }
.mv__label { display: flex; align-items: center; gap: 14px; font-size: var(--step-0); font-weight: 600; letter-spacing: 0; color: var(--steel); }
.mv__label::before { content: ""; width: 24px; height: 2px; background: var(--coral); flex: none; }
.mv__card--dark .mv__label { color: var(--fog); }
.mv__card blockquote { margin: 0; }
.mv__card blockquote p { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); font-weight: 300; line-height: 1.38; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; max-width: 34ch; }
.mv__card--dark blockquote p { color: var(--white); }
@media (max-width: 899px) { .mv { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: var(--step-2); font-weight: 500; letter-spacing: -0.01em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__icon { width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; transition: transform var(--t-med) var(--ease-out), background-color var(--t-med) ease, border-color var(--t-med) ease; }
.faq summary .faq__icon .icon { width: 18px; height: 18px; }
.faq summary:hover .faq__icon { border-color: var(--ink); }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--white); }
.faq__body { padding: 0 64px 28px 0; color: var(--text-muted); max-width: 72ch; }
.faq details[open] .faq__body { animation: faqIn .5s var(--ease-out) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq__body > * + * { margin-top: 14px; }
.faq__body .dash-list li { color: var(--text-muted); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height var(--t-med) var(--ease-out), content-visibility var(--t-med) allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--dark); color: var(--fog); padding-top: clamp(64px, 8vw, 112px); font-size: var(--step-0); }
.site-footer a { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand img { width: 300px; max-width: 100%; height: auto; margin-bottom: 20px; }
.site-footer__brand p { color: var(--on-dark-muted); max-width: 30ch; }
.site-footer__emergency { margin-top: 16px; color: var(--white) !important; }
.site-footer__h { font-size: var(--step--1); font-weight: 600; color: var(--white); margin-bottom: 14px; letter-spacing: 0; line-height: 1.4; }
.site-footer__h:not(:first-child) { margin-top: 28px; }
.site-footer p + p { margin-top: 12px; }
.site-footer__list { list-style: none; display: grid; gap: 10px; }
.site-footer__list span { display: block; font-size: var(--step--1); color: var(--on-dark-muted); }
.site-footer__links { list-style: none; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 6px 24px; }
.site-footer__links a { text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__legal { margin-top: clamp(48px, 6vw, 80px); padding-block: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--step--1); color: var(--on-dark-muted); }
@media (max-width: 1099px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Emergency "call 911": red that passes 4.5:1 on white (#C62828) and on slate (#FF8A80) */
.em-911 { color: #C62828; font-weight: 700; }
.site-footer .em-911, .on-dark .em-911, .section--dark .em-911 { color: #FF8A80; }

/* ------------------------------------------------------------ utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }
.center-narrow { max-width: 760px; }
.note { font-size: var(--step--1); color: var(--text-muted); }

/* ------------------------------------------------------------ hero: living sunrise
   After the load intro (about 2.4s) the scene stays gently alive. Uses the individual
   translate/scale properties so it layers on top of the intro and scroll-drift transforms. */
.hero .horizon .sun { animation: sunFloat 7s ease-in-out 2.4s infinite alternate, sunGlow 4.5s ease-in-out 2.4s infinite alternate; }
@keyframes sunFloat { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes sunGlow { from { filter: drop-shadow(0 0 0 rgba(242,107,58,0)); } to { filter: drop-shadow(0 0 26px rgba(242,107,58,.5)); } }
.hero .horizon .rings circle { transform-box: fill-box; transform-origin: center; animation: ringPulse 6s ease-in-out 2.6s infinite alternate; }
.hero .horizon .rings circle:nth-child(2) { animation-delay: 3.4s; }
.hero .horizon .rings circle:nth-child(3) { animation-delay: 4.2s; }
@keyframes ringPulse { from { scale: 1; } to { scale: 1.045; } }
.hero .horizon .wave { animation: waveSway 9s ease-in-out 2.2s infinite alternate; }
.hero .horizon .wave:nth-child(2n) { animation-duration: 11s; animation-direction: alternate-reverse; }
.hero .horizon .wave:nth-child(3n) { animation-duration: 13.5s; }
@keyframes waveSway { from { translate: -16px 0; } to { translate: 16px 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero .horizon * { animation: none !important; }
}

/* ------------------------------------------------------------ micro-interactions */
.step__num { transition: background-color .5s ease, color .5s ease, border-color .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.steps.in-view .step__num { background: var(--teal); border-color: var(--teal); color: var(--white); transform: scale(1.04); }
.steps.in-view .step:nth-child(1) .step__num { transition-delay: .15s; }
.steps.in-view .step:nth-child(2) .step__num { transition-delay: .75s; }
.steps.in-view .step:nth-child(3) .step__num { transition-delay: 1.35s; }
.steps.in-view .step:nth-child(4) .step__num { transition-delay: 1.95s; }
.no-js .step__num, html:not(.js) .step__num { background: var(--teal); border-color: var(--teal); color: var(--white); }

@keyframes phoneRing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(11deg); } 45% { transform: rotate(-8deg); } 60% { transform: rotate(5deg); } 75% { transform: rotate(-2deg); } }

@media (hover: hover) and (pointer: fine) {
  .link:hover::before { transform: scaleX(0); }
  .link:hover::after { clip-path: inset(0 0 0 0); }
  .svc-list a:hover h3::after, .svc-list a:hover h4::after { clip-path: inset(0 0 0 0); }
  .value:hover .value__letter { font-weight: 450; letter-spacing: -0.03em; }
  .btn:hover .icon:has(use[href="#i-phone"]), .icon-btn:hover .icon:has(use[href="#i-phone"]) { animation: phoneRing .7s ease-in-out; transform-origin: 50% 50%; }
}
.link:focus-visible::after, .svc-list a:focus-visible h3::after, .svc-list a:focus-visible h4::after { clip-path: inset(0 0 0 0); }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .horizon .wave, .js .steps__path path { stroke-dashoffset: 0; }
  .js .horizon .sun, .js .horizon .rings, .js .rise { transform: none; opacity: 1; }
  .horizon .wave { transform: none; }
}

/* ------------------------------------------------------------ print */
@media print {
  .site-header, .skip, .horizon, .county-map, .menu-btn { display: none !important; }
  body { font-size: 11pt; }
  .section { padding-block: 24px; }
  a { color: inherit; }
}
