/* Dry Vegas. Sora display, Nunito Sans body. Abyss navy to aqua, drying to warm sand.
   Signature: each section is a room that floods and dries as you scroll.
   Every effect layer is behind the text, transform and opacity only, and off under reduced motion. */

@font-face { font-family: "Sora"; src: url("/fonts/sora-latin-wght.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/nunito-sans-latin-wght.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Sora Fallback"; src: local("Arial"); size-adjust: 112%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Nunito Fallback"; src: local("Arial"); size-adjust: 98%; ascent-override: 102%; descent-override: 36%; }

:root {
  color-scheme: light dark;
  --abyss: #061325;
  --deep: #0b2a4a;
  --tide: #135a86;
  --aqua: #3fc1c9;
  --aqua-rgb: 63 193 201;
  --tide-rgb: 19 90 134;
  --sand-rgb: 236 215 172;
  --stain-rgb: 150 104 42;
  --ink: light-dark(#0b1f3a, #e9f4f6);
  --ink-2: light-dark(#29405a, #bcd3db);
  --on-dark: #eef8fa;
  --on-dark-2: #b9d6de;
  --foam: light-dark(#eaf6f6, #0a1d34);
  --mist: light-dark(#e2f1f3, #0c2139);
  --shore: light-dark(#eef0e4, #13233a);
  --dune: light-dark(#f4e8cf, #1d2530);
  --sand: light-dark(#f2e1bf, #252a30);
  --sand-deep: light-dark(#e3c993, #2e2c2b);
  --panel: light-dark(rgb(255 255 255 / .72), rgb(6 19 37 / .62));
  --line: light-dark(rgb(11 31 58 / .16), rgb(233 244 246 / .16));
  --btn: #0b6b74;
  --btn-ink: #ffffff;
  --btn-2: #0b2a4a;
  --focus: #f0b429;
  --r-blob: 2.6rem 4.4rem 3rem 5.2rem / 3.4rem 2.6rem 4.6rem 2.8rem;
  --r-pill: 999px;
  --wrap: 46rem;
  --pad: clamp(1rem, 4vw, 2.5rem);
}
@media (prefers-color-scheme: dark) { :root { --btn: #3fc1c9; --btn-ink: #061325; --btn-2: #e9f4f6; --sand-rgb: 92 74 44; --stain-rgb: 176 128 64; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--abyss); color: var(--ink); font: 400 1.0625rem/1.68 "Nunito Sans", "Nunito Fallback", system-ui, sans-serif; overflow-x: clip; }
figure, blockquote, dl, dd { margin: 0; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .sora { font-family: "Sora", "Sora Fallback", system-ui, sans-serif; letter-spacing: -.012em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); font-weight: 650; margin: 0 0 .9rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 1.4rem 0 .4rem; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; }
li { margin: .35rem 0; }
a { color: inherit; text-decoration-color: rgb(var(--aqua-rgb)); text-decoration-thickness: .12em; text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--focus); color: #061325; padding: .6rem 1rem; border-radius: var(--r-pill); font-weight: 800; }
.skip:focus { top: 1rem; }
b, strong { font-weight: 800; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.top { position: relative; z-index: 20; background: var(--abyss); color: var(--on-dark); }
.top-in { display: flex; align-items: center; gap: 1rem; padding: .8rem var(--pad); max-width: 82rem; margin: 0 auto; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-dark); text-decoration: none; flex-shrink: 0; }
.brand svg { width: 2.25rem; height: 2.25rem; }
.brand span { font: 700 1.3rem/1 "Sora", "Sora Fallback", sans-serif; letter-spacing: -.02em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
.nav a { color: var(--on-dark); text-decoration: none; padding: .5rem .75rem; border-radius: var(--r-pill); font-weight: 700; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgb(var(--aqua-rgb) / .16); }
.top .call { margin-left: .5rem; }
.menu-btn { display: none; margin-left: auto; background: transparent; color: var(--on-dark); border: 2px solid rgb(var(--aqua-rgb) / .6); border-radius: var(--r-pill); padding: .45rem 1rem; font: 700 1rem "Nunito Sans", sans-serif; cursor: pointer; }
@media (min-width: 900px) {
  .nav[popover] { position: static; inset: auto; margin: 0 0 0 auto; padding: 0; border: 0; background: none; color: inherit; width: auto; height: auto; overflow: visible; display: flex; }
}
@media (max-width: 899px) {
  .menu-btn { display: inline-block; }
  .top .call { display: none; }
  .nav[popover] { margin: 0; inset: 4.4rem .75rem auto auto; padding: .75rem; border: 0; border-radius: 1.6rem 2.6rem 1.8rem 2.2rem; background: var(--deep); flex-direction: column; align-items: stretch; min-width: 14rem; box-shadow: 0 1.2rem 3rem rgb(0 0 0 / .4); }
  .nav[popover]:not(:popover-open) { display: none; }
  .nav[popover]:popover-open { display: flex; }
  .nav a { padding: .8rem 1rem; }
}

/* ---------- buttons ----------
   Liquid buttons. Call carries a water line that sloshes inside it and rises on hover;
   Text is a glass bubble that fills with water on hover. The phone chip sends out ripples.
   Water and shine sit under the label (z-index), motion only when allowed. */
.btn { --wave: rgb(6 19 37 / .16); --chip: rgb(6 19 37 / .14); --chip-ink: currentColor; --lvl: 56%; --lvl-up: 24%;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3rem; padding: .45rem 1.3rem .45rem .45rem; border-radius: var(--r-pill); font: 800 1.02rem/1.1 "Nunito Sans", sans-serif;
  text-decoration: none; white-space: nowrap; border: 2px solid transparent; transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .25s ease, background-color .25s ease; }
.btn::before { content: ""; position: absolute; z-index: -1; left: 0; bottom: 0; width: 200%; height: 100%; background: var(--wave);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60' preserveAspectRatio='none'%3E%3Cpath d='M0 8C15 0 45 0 60 8S105 16 120 8V60H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 50% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60' preserveAspectRatio='none'%3E%3Cpath d='M0 8C15 0 45 0 60 8S105 16 120 8V60H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 50% 100%;
  transform: translate(0, var(--lvl)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.btn::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / 0) 52%); }
.btn .ic { position: relative; display: grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--chip); color: var(--chip-ink); }
.btn .ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--chip); opacity: 0; }
.btn svg { width: 1.05rem; height: 1.05rem; }
.btn .lbl { display: grid; text-align: left; }
.btn small { font: 700 .74rem/1.1 "Nunito Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.btn .num { font: 700 1.14rem/1.2 "Sora", "Sora Fallback", sans-serif; letter-spacing: -.01em; }
.btn-big { min-height: 3.6rem; padding-right: 1.6rem; }
.btn-big .ic { width: 2.6rem; height: 2.6rem; }
.btn-big svg { width: 1.25rem; height: 1.25rem; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before, .btn:focus-visible::before { transform: translate(0, var(--lvl-up)); }
.btn:active { transform: translateY(1px) scale(.97); }
.btn:focus-visible { border-radius: var(--r-pill); }

.btn-call { background: var(--aqua); color: #061325; --wave: rgb(11 42 74 / .34); --chip: #061325; --chip-ink: var(--aqua);
  box-shadow: 0 .6rem 1.6rem -.5rem rgb(var(--aqua-rgb) / .65), inset 0 -2px 0 rgb(6 19 37 / .18); }
.btn-call:hover { box-shadow: 0 1rem 2.2rem -.6rem rgb(var(--aqua-rgb) / .85), inset 0 -2px 0 rgb(6 19 37 / .18); }
.btn-text { background: rgb(var(--aqua-rgb) / .08); color: var(--on-dark); border-color: rgb(var(--aqua-rgb) / .7); --wave: rgb(var(--aqua-rgb) / .36); --lvl: 104%; --lvl-up: 14%;
  --chip: rgb(var(--aqua-rgb) / .18); --chip-ink: var(--aqua); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-text::after { background: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / 0) 50%); }
.btn-text:hover { border-color: var(--aqua); }

.room:not(.hero):not(.t-abyss) .btn-call { background: var(--btn); color: var(--btn-ink); --wave: rgb(6 19 37 / .28); --chip: var(--btn-ink); --chip-ink: var(--btn);
  box-shadow: 0 .6rem 1.6rem -.6rem rgb(var(--tide-rgb) / .6); }
.room:not(.hero):not(.t-abyss) .btn-text { background: transparent; color: var(--btn-2); border-color: currentColor; --wave: rgb(var(--tide-rgb) / .16); --chip: rgb(var(--tide-rgb) / .12); --chip-ink: var(--btn); }

@media (prefers-reduced-motion: no-preference) {
  .btn-call::before { animation: btn-slosh 3.2s linear infinite; }
  .btn-text:hover::before, .btn-text:focus-visible::before { animation: btn-slosh 2.4s linear infinite; }
  .btn-call .ic::after { animation: btn-ring 2.6s ease-out infinite; }
  .btn-call .ic svg { animation: btn-buzz 2.6s ease-in-out infinite; transform-origin: 50% 60%; }
}
@keyframes btn-slosh { from { translate: 0 0; } to { translate: -50% 0; } }
@keyframes btn-ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes btn-buzz { 0%, 62%, 100% { rotate: 0deg; } 66% { rotate: -14deg; } 70% { rotate: 12deg; } 74% { rotate: -9deg; } 78% { rotate: 6deg; } 82% { rotate: 0deg; } }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }

/* ---------- rooms ---------- */
main { display: block; }
.room { position: relative; overflow: clip; background: var(--bg, var(--foam)); color: var(--ink); view-timeline-name: --room; view-timeline-axis: block; }
.room + .room { margin-top: -1px; }
.room.t-foam { --bg: var(--foam); }
.room.t-mist { --bg: var(--mist); }
.room.t-shore { --bg: var(--shore); }
.room.t-dune { --bg: var(--dune); }
.room.t-sand { --bg: var(--sand); }
.room.t-abyss { --bg: var(--abyss); color: var(--on-dark); }
.room.t-abyss a { color: var(--on-dark); }
.edge { position: absolute; left: 0; right: 0; top: -1px; height: clamp(28px, 5vw, 64px); z-index: 1; pointer-events: none; color: var(--edge-from, var(--abyss)); }
.edge svg { width: 100%; height: 100%; }
.room-in { position: relative; z-index: 2; padding: clamp(4.5rem, 10vw, 7.5rem) var(--pad) clamp(3.5rem, 8vw, 6rem); }
.col { max-width: var(--wrap); margin-inline: auto; }
.room:nth-of-type(even) .col { margin-left: max(var(--pad), calc(50% - var(--wrap) / 2 - 6vw)); }
.room:nth-of-type(odd) .col { margin-right: max(var(--pad), calc(50% - var(--wrap) / 2 - 6vw)); }
.room.wide .col { max-width: 64rem; margin-inline: auto; }

/* hero room */
.hero { --bg: var(--abyss); color: var(--on-dark); }
.hero .room-in { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(5rem, 11vw, 8rem); }
.hero .col { margin-inline: auto; max-width: 64rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero .col { grid-template-columns: 1.35fr .65fr; } }
.hero p.lede { font-size: 1.16rem; color: var(--on-dark-2); max-width: 36rem; }
.hero p.lede b, .hero p.lede strong { color: var(--on-dark); }
.crumbs { font-size: .95rem; color: var(--on-dark-2); margin-bottom: 1rem; }
.crumbs a { color: var(--on-dark-2); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem .5rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .7; }
.hero-art { justify-self: center; width: min(18rem, 70vw); }
.hero-art .bob { transform-origin: 50% 60%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .bob { animation: bob 6s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
}
.hero .tide { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 7vw, 90px); z-index: 1; }
.hero .tide svg { width: 200%; max-width: none; height: 100%; }

/* ---------- the stage: flood and dry ---------- */
.stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: clip; container-type: size; contain: strict; }
.fx { position: absolute; display: block; will-change: transform, opacity; }
.fx-sand { inset: 0; background: radial-gradient(120% 80% at 30% 100%, rgb(var(--sand-rgb) / .9), rgb(var(--sand-rgb) / .35) 60%, transparent 85%); opacity: .55; }
.fx-stain { opacity: 0; color: rgb(var(--stain-rgb)); }
.fx-stain.s-a { left: -2%; top: 18%; width: min(40vw, 22rem); }
.fx-stain.s-b { right: -3%; top: 34%; width: min(34vw, 18rem); }
.fx-stain.s-c { right: 8%; top: 3%; width: min(28vw, 14rem); }
.fx-floor { left: 0; right: 0; bottom: 0; height: 16%; color: light-dark(rgb(11 31 58 / .16), rgb(233 244 246 / .14)); }
.fx-floor svg { width: 100%; height: 100%; }
.fx-floor .warp { opacity: 0; }
.fx-line { left: 0; right: 0; bottom: 44%; height: 10px; opacity: 0; color: rgb(var(--stain-rgb) / .5); }
.fx-line svg { width: 100%; height: 100%; }
.fx-water { left: 0; right: 0; bottom: 0; height: 64%; transform: translateY(102%); background: linear-gradient(to bottom, rgb(var(--aqua-rgb) / .26), rgb(var(--tide-rgb) / .40)); }
.fx-water .wave { position: absolute; left: 0; max-width: none; top: calc(-1 * clamp(18px, 3vw, 34px) + 1px); width: 200%; height: clamp(18px, 3vw, 34px); color: rgb(var(--aqua-rgb) / .26); }
.fx-water .wave.back { top: calc(-1 * clamp(26px, 4vw, 44px) + 2px); height: clamp(26px, 4vw, 44px); color: rgb(var(--aqua-rgb) / .14); }
.fx-dry { left: -10%; right: -10%; bottom: 0; height: 75%; transform: translateY(110%); opacity: 0; background: radial-gradient(70% 60% at 50% 55%, rgb(var(--sand-rgb) / .95), rgb(var(--sand-rgb) / .5) 55%, transparent 75%); }
.fx-drip { top: 1rem; left: 62%; width: 16px; height: 23px; opacity: 0; color: rgb(var(--tide-rgb) / .7); }
.fx-drip.d2 { left: 24%; }
.fx-ceil { top: -3rem; left: 52%; width: 12rem; height: 6rem; border-radius: 50%; opacity: 0; background: radial-gradient(closest-side, rgb(var(--stain-rgb) / .3), rgb(var(--stain-rgb) / .12) 70%, transparent); }
.blob { position: absolute; z-index: 0; pointer-events: none; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }

/* Clean and dry is the default. Only animation moves anything. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .room[data-fx] .fx, .room[data-fx] .wreck { animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --room; animation-range: cover 0% cover 100%; }
  }
  .room[data-fx] .fx-sand { animation-name: dv-sand; }
  .room[data-fx] .fx-stain, .room[data-fx] .fx-ceil { animation-name: dv-wreck; }
  .room[data-fx] .fx-floor .flat { animation-name: dv-flat; }
  .room[data-fx] .fx-floor .warp { animation-name: dv-warp-lines; }
  .room[data-fx] .fx-line { animation-name: dv-line; }
  .room[data-fx] .fx-water { animation-name: dv-water; }
  .room[data-fx] .fx-dry { animation-name: dv-dry; }
  .room[data-fx] .fx-drip { animation-name: dv-drip; }
  .room[data-fx] .fx-drip.d2 { animation-name: dv-drip2; }
  .room[data-fx] .wreck { animation-name: dv-tilt; }
  @supports (animation-timeline: view()) {
    .room[data-fx] .fx-floor .flat, .room[data-fx] .fx-floor .warp { animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --room; animation-range: cover 0% cover 100%; }
  }
  /* JS fallback drives the same keyframes with a paused clock: --p runs 0 to 1. */
  .fx-js .room[data-fx] .fx, .fx-js .room[data-fx] .wreck, .fx-js .room[data-fx] .fx-floor .flat, .fx-js .room[data-fx] .fx-floor .warp {
    animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; animation-play-state: paused; animation-delay: calc(var(--p, 0) * -1s);
  }
  /* the wave only ripples while its room is on screen */
  .room.live .fx-water .wave { animation: ripple 7s linear infinite; }
  .room.live .fx-water .wave.back { animation-duration: 11s; animation-direction: reverse; }
  .hero.live .tide svg { animation: ripple 14s linear infinite; }
  @keyframes ripple { to { transform: translateX(-50%); } }
}
@keyframes dv-sand  { 0% { opacity: .55; } 20%, 60% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes dv-wreck { 0%, 22% { opacity: 0; } 40%, 62% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes dv-flat  { 0%, 26% { opacity: 1; } 38%, 64% { opacity: 0; } 78%, 100% { opacity: 1; } }
@keyframes dv-warp-lines { 0%, 26% { opacity: 0; } 38%, 64% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes dv-line  { 0%, 46% { opacity: 0; } 56%, 66% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes dv-water { 0%, 14% { transform: translateY(102%); } 34%, 50% { transform: translateY(30%); } 68%, 100% { transform: translateY(102%); } }
@keyframes dv-dry   { 0%, 58% { transform: translateY(110%); opacity: 0; } 63% { opacity: 1; } 80% { transform: translateY(-115%); opacity: 1; } 82%, 100% { transform: translateY(-115%); opacity: 0; } }
@keyframes dv-drip  { 0%, 17% { transform: translateY(-24px); opacity: 0; } 19% { opacity: 1; } 33% { transform: translateY(52cqh) scaleY(1.3); opacity: 1; } 34%, 100% { transform: translateY(52cqh); opacity: 0; } }
@keyframes dv-drip2 { 0%, 25% { transform: translateY(-24px); opacity: 0; } 27% { opacity: 1; } 42% { transform: translateY(56cqh) scaleY(1.3); opacity: 1; } 43%, 100% { transform: translateY(56cqh); opacity: 0; } }
@keyframes dv-tilt  { 0%, 22% { transform: none; } 40%, 58% { transform: translateY(3px) rotate(-.6deg); } 76%, 100% { transform: none; } }
.room[data-fx] .wreck:nth-child(even) { --tilt: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .stage { display: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .stage, .edge, .mbar, .top .nav, .menu-btn { display: none !important; } body { background: #fff; } }

/* ---------- content pieces ---------- */
.glance { position: relative; background: var(--panel); border-radius: var(--r-blob); padding: clamp(1.4rem, 4vw, 2.2rem) clamp(1.4rem, 4vw, 2.6rem); box-shadow: 0 1.4rem 3rem -1.6rem rgb(var(--tide-rgb) / .45); backdrop-filter: blur(6px); }
.glance h2 { font-size: 1.35rem; }
.glance ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
@media (min-width: 700px) { .glance ul { grid-template-columns: 1fr 1fr; } }
.glance li { margin: 0; padding-left: 2rem; position: relative; }
.glance li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 1.15rem; height: 1.15rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--btn); }
.bite { font-size: 1.2rem; }
.facts { list-style: none; padding: 0; display: grid; gap: .9rem; }
.facts li { background: var(--panel); border-radius: 1.4rem 2.2rem 1.6rem 2rem; padding: 1rem 1.25rem; margin: 0; }
.facts .src { display: block; font-size: .92rem; color: var(--ink-2); margin-top: .3rem; }
.tips { counter-reset: tip; list-style: none; padding: 0; }
.tips li { counter-increment: tip; position: relative; padding-left: 3rem; margin: .9rem 0; }
.tips li::before { content: counter(tip); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 46% 54% 50% 50% / 60% 60% 40% 40%; background: var(--btn); color: var(--btn-ink); font: 700 .95rem "Sora", sans-serif; }

/* service tiles on home and hubs: organic chips that wrap, never a sideways row */
.pools { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.pools li { margin: 0; }
.pools a { display: flex; gap: .9rem; align-items: center; height: 100%; padding: 1rem 1.2rem; background: var(--panel); border-radius: 1.8rem 2.8rem 2rem 2.6rem / 2.2rem 1.8rem 2.6rem 2rem; text-decoration: none; font-weight: 800; box-shadow: inset 0 0 0 2px var(--line); transition: transform .2s ease; }
.pools a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px rgb(var(--aqua-rgb)); }
.pools svg { width: 2.4rem; height: 2.4rem; flex-shrink: 0; color: var(--btn); }
.pools small { display: block; font-weight: 600; color: var(--ink-2); font-size: .95rem; }

.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.6rem 0; }
.stat { background: var(--panel); border-radius: 48% 52% 46% 54% / 40% 44% 56% 60%; padding: 2rem 1rem; text-align: center; }
@media (max-width: 480px) { .stat span { font-size: .92rem; } }
.stat b, .stat strong { display: block; font: 700 clamp(1.9rem, 4vw, 2.6rem)/1 "Sora", sans-serif; font-variant-numeric: tabular-nums; margin-bottom: .4rem; }
.stat span { display: block; font-size: .98rem; }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 1.2rem 3.4rem; margin: 0; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--btn); color: var(--btn-ink); font: 700 1rem "Sora", sans-serif; border-radius: 50% 50% 50% 8%; }
.steps > li::after { content: ""; position: absolute; left: 1.15rem; top: 2.6rem; bottom: .2rem; width: 2px; background: var(--line); }
.steps > li:last-child::after { display: none; }

/* bars for ZIP build decades, numbers always printed */
.decades { list-style: none; padding: 0; display: grid; gap: .45rem; }
.decades li { display: grid; grid-template-columns: 8.5rem 1fr 4.2rem; gap: .6rem; align-items: center; margin: 0; font-size: .98rem; }
.decades i { display: block; height: .85rem; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--tide), var(--aqua)); transform-origin: left; transform: scaleX(var(--w)); }
.decades span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .decades li { grid-template-columns: 6.6rem 1fr 3.6rem; font-size: .92rem; } }

/* map */
.map { margin: 1.5rem 0; }
.map svg { width: 100%; height: auto; }
.map .ring { fill: rgb(var(--aqua-rgb) / .12); stroke: rgb(var(--tide-rgb) / .55); stroke-width: 2; stroke-dasharray: 6 8; }
.map .pt { fill: var(--btn); }
.map a:hover .pt, .map a:focus .pt { fill: var(--focus); }
.map text { font: 700 15px "Nunito Sans", sans-serif; fill: var(--ink); }
.map .core { fill: var(--deep); }
.legend { list-style: none; padding: 0; display: grid; gap: .3rem 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.legend li { margin: 0; }
.legend b, .legend strong { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; margin-right: .4rem; border-radius: 50%; background: var(--btn); color: var(--btn-ink); font-size: .85rem; }

/* FAQ accordion, one open at a time */
.faq { display: grid; gap: .7rem; }
.faq details { background: var(--panel); border-radius: 1.4rem 2.4rem 1.6rem 2rem; padding: 0 1.3rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.4rem/1 "Sora", sans-serif; color: var(--btn); }
.faq details[open] summary::after { content: "\2212"; }
.faq-a { padding-bottom: 1rem; }
:root { interpolate-size: allow-keywords; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* guide table of contents, drawn as a tide gauge */
.gauge { position: relative; margin: 1.5rem 0 0; padding: 1.2rem 1.4rem 1.2rem 3.2rem; background: var(--panel); border-radius: 1.6rem 3rem 2rem 2.6rem; }
.gauge::before { content: ""; position: absolute; left: 1.45rem; top: 1.4rem; bottom: 1.4rem; width: .5rem; border-radius: var(--r-pill); background: linear-gradient(to bottom, var(--aqua), var(--tide) 55%, rgb(var(--sand-rgb))); }
.gauge h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.gauge ol { list-style: none; padding: 0; margin: 0; }
.gauge li { position: relative; margin: .5rem 0; }
.gauge li::before { content: ""; position: absolute; left: -1.95rem; top: .62rem; width: .9rem; height: 2px; background: var(--ink-2); }
.gauge a { text-decoration: none; font-weight: 700; }
.gauge a:hover { text-decoration: underline; }
.guide-body h2 { scroll-margin-top: 1.5rem; }

.more { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.more li { margin: 0; }
.more a { display: inline-block; padding: .55rem 1rem; border-radius: var(--r-pill); background: var(--panel); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 2px var(--line); }
.more a:hover { box-shadow: inset 0 0 0 2px rgb(var(--aqua-rgb)); }
.note { font-size: .98rem; color: var(--ink-2); }
.sources { font-size: .95rem; color: var(--ink-2); }
.sources a { word-break: break-word; }
.cards-2 { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

/* closing call room */
.callout { text-align: left; }
.callout .big { font: 700 clamp(1.9rem, 5vw, 3rem)/1.1 "Sora", sans-serif; margin: .2rem 0 .6rem; }
.callout .big a { text-decoration: none; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--sand-deep); color: var(--ink); padding: clamp(4rem, 9vw, 6rem) var(--pad) 6.5rem; }
.foot .edge { color: var(--edge-from); }
.foot-in { position: relative; z-index: 2; max-width: 64rem; margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.foot h2 { font-size: 1.05rem; margin-bottom: .5rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: .3rem 0; }
.foot p { margin: 0 0 .6rem; }
.foot .legal { grid-column: 1 / -1; font-size: .95rem; border-top: 0; }
.foot .brand { color: var(--ink); }

/* ---------- mobile call bar ---------- */
.mbar { position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 30; display: none; gap: .5rem; padding: .45rem; border-radius: var(--r-pill); background: rgb(6 19 37 / .94); box-shadow: 0 .8rem 2rem rgb(0 0 0 / .35); }
.mbar .btn { flex: 1; min-height: 3rem; padding-right: 1rem; }
.mbar .btn .ic { width: 2rem; height: 2rem; }
.room .mbar .btn-text, .mbar .btn-text { color: var(--on-dark); border-color: rgb(var(--aqua-rgb) / .75); }
@media (max-width: 899px) { .mbar { display: flex; } }

/* 404 */
.lost .col { text-align: left; }

/* Home "Where we work": sonar water map. Dark pool panel with ripples from downtown,
   every neighborhood named on the map, the same places as distance chips beside it. */
.sonar { --b0: #7fe7ee; --b1: #3fc1c9; --b2: #2a93b8; --b3: #f2d9a6;
  display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: 1fr;
  margin-top: 1.75rem; padding: clamp(.75rem, 2.5vw, 1.75rem); border-radius: var(--r-blob);
  background: radial-gradient(120% 90% at 20% 10%, rgb(var(--aqua-rgb) / .14), transparent 60%), #061325; color: var(--on-dark);
  box-shadow: inset 0 0 0 1px rgb(var(--aqua-rgb) / .22), 0 30px 60px -30px rgb(0 0 0 / .6); }
.sonar-map { margin: 0 auto; width: 100%; max-width: 820px; position: relative; }
.sonar-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.sonar .mile { fill: none; stroke: rgb(var(--aqua-rgb) / .28); stroke-width: 1.5; stroke-dasharray: 2 7; }
.sonar .mi { font: 700 13px "Nunito Sans", sans-serif; fill: rgb(var(--aqua-rgb) / .8); }
.sonar .north { font: 800 15px "Sora", sans-serif; fill: var(--on-dark-2); letter-spacing: .1em; }
.sonar .core path { fill: #eef8fa; }
.sonar .core-t { font: 800 15px "Sora", sans-serif; fill: #eef8fa; }
.sonar .ripple { fill: none; stroke: rgb(var(--aqua-rgb) / .55); stroke-width: 2; transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }
.sonar .spot { --c: var(--b1); cursor: pointer; }
.sonar .spot.b0 { --c: var(--b0); } .sonar .spot.b2 { --c: var(--b2); } .sonar .spot.b3 { --c: var(--b3); }
.sonar .dot { fill: var(--c); stroke: #061325; stroke-width: 2.5; }
.sonar .halo { fill: var(--c); opacity: calc(.18 + var(--hot, 0) * .5); transform-box: fill-box; transform-origin: center; transform: scale(calc(1 + var(--hot, 0) * .5)); transition: transform .25s, opacity .25s; }
.sonar .tag { fill: rgb(6 19 37 / .82); stroke: var(--c); stroke-opacity: calc(.35 + var(--hot, 0) * .65); stroke-width: 1.5; }
.sonar .lbl { font: 700 16px "Nunito Sans", sans-serif; fill: #eef8fa; }
.sonar .spot:focus-visible { outline: none; }
.sonar .spot:focus-visible .tag { stroke: var(--focus); stroke-width: 3; stroke-opacity: 1; }
.sonar-side { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); align-items: start; }
.sonar-side > .sonar-stats, .sonar-side > .sonar-more { grid-column: 1 / -1; }
.sonar .lead { stroke: var(--c); stroke-opacity: calc(.45 + var(--hot, 0) * .55); stroke-width: 1.5; }
.sonar-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 0; }
.sonar-stats div { padding: .7rem .8rem; border-radius: 1.4rem 2rem 1.6rem 2.2rem; background: rgb(var(--aqua-rgb) / .1); box-shadow: inset 0 0 0 1px rgb(var(--aqua-rgb) / .2); }
.sonar-stats dt { font-size: .85rem; color: var(--on-dark-2); }
.sonar-stats dd { margin: 0; font: 800 clamp(1.4rem, 3vw, 1.9rem)/1.1 "Sora", sans-serif; color: #fff; }
.band h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .5rem; font: 700 .95rem "Sora", sans-serif; color: var(--on-dark-2); }
.band h3 i { width: .8rem; height: .8rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgb(255 255 255 / .06); }
.band { --c: var(--b1); } .band.b0 { --c: var(--b0); } .band.b2 { --c: var(--b2); } .band.b3 { --c: var(--b3); }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.band li { margin: 0; }
.chip { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .5rem .9rem; border-radius: 1.1rem 1.6rem 1.2rem 1.8rem; text-decoration: none; color: #eef8fa;
  background: rgb(255 255 255 / calc(.05 + var(--hot, 0) * .1)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) calc(35% + var(--hot, 0) * 65%), transparent); transition: background .2s, box-shadow .2s, transform .2s; }
.chip b { flex: none; font-size: .82rem; font-weight: 700; color: var(--c); }
.chip:hover, .chip:focus-visible { transform: translateY(-1px); }
.sonar-more { margin: .2rem 0 0; }
.sonar-more a { color: #eef8fa; font-weight: 700; }
@media (max-width: 640px) { .sonar .tag, .sonar .lbl, .sonar .lead { display: none; } .sonar .dot { r: 9px; } .sonar .halo { r: 20px; } }
@media (prefers-reduced-motion: no-preference) {
  .sonar .ripple { animation: sonar-ripple 6.4s cubic-bezier(.2, .6, .3, 1) infinite; animation-delay: var(--d); }
  @keyframes sonar-ripple { 0% { transform: scale(.04); opacity: .9; } 70% { opacity: .25; } 100% { transform: scale(1); opacity: 0; } }
}
