/* Sundial Pools — concept demo by Fidum
   Palette: deep pool blue, sun-bleached travertine, one warm sun accent.
   Every text/background pair is checked by check_contrast.py (WCAG 2.1 AA). */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2-variations"), url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
:root {
  --basin: #0A3550;      /* deep pool blue: dark sections, headings */
  --basin-2: #0D4262;    /* raised surfaces on dark */
  --lagoon: #0F5F85;     /* links + secondary on light */
  --shallows: #8FD3E0;   /* accents on dark */
  --stone: #F7F3EC;      /* page */
  --trav: #EADFCD;       /* travertine bands */
  --trav-line: #D3C2A6;
  --sun: #F2B544;        /* the one warm accent */
  --sun-hi: #F7C766;
  --ink: #12293A;
  --muted: #4B5B66;
  --on-dark: #FFFFFF;
  --on-dark-muted: #BFD3DE;
  --ok: #1F6B45;
  --err: #A3261B;
  --focus: #0F5F85;
  --radius: 14px;
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--stone);
  font-variation-settings: "wdth" 100;
}
img, svg { max-width: 100%; }
a { color: var(--lagoon); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  color: var(--basin);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 3.6vw, 4.1rem); font-weight: 780; }
h2 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.65rem); font-weight: 740; }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); font-weight: 700; line-height: 1.2; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }

/* focus: always visible, colour adapts to surface */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark { --focus: var(--sun); }

.sr-only {
  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: 12px; top: -60px; z-index: 100;
  background: var(--basin); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; --focus: var(--sun); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------- demo note + header ---------- */
.demo-note {
  background: var(--trav); color: var(--ink); font-size: .82rem; line-height: 1.4;
  padding: 7px 0; border-bottom: 1px solid var(--trav-line);
}
.demo-note p { margin: 0; max-width: none; }
.demo-note a { color: var(--basin); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--stone);
  border-bottom: 1px solid var(--trav-line);
}
.hdr { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--basin); margin-right: auto; }
.brand-name { font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; font-size: 1.12rem; line-height: 1; letter-spacing: -.01em; }
.brand-sub { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); font-variation-settings: "wdth" 100; letter-spacing: 0; margin-top: 3px; }
.nav { display: none; }
@media (max-width: 400px) { .brand-sub { display: none; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; border-radius: 8px;
}
.nav a:hover { background: var(--trav); }
.nav a[aria-current="page"] { color: var(--basin); box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
.hdr-call { display: none; font-weight: 700; color: var(--basin); text-decoration: none; white-space: nowrap; }
.hdr-call .ic { vertical-align: -5px; margin-right: 4px; }
.hdr .hdr-cta { display: none; white-space: nowrap; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1.5px solid var(--basin);
  color: var(--basin); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; min-height: 44px;
}
.mobile-nav { border-top: 1px solid var(--trav-line); background: var(--stone); }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 700; font-size: 1.1rem; color: var(--basin); text-decoration: none; border-bottom: 1px solid var(--trav-line); }
.mobile-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .menu-btn, .mobile-nav { display: none !important; }
  .hdr-call { display: inline-block; }
  .hdr .hdr-cta { display: inline-flex; }
}
@media (min-width: 1000px) and (max-width: 1199px) { .hdr-call { display: none; } }
@media (min-width: 1000px) and (max-width: 1099px) { .brand-sub { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-sun { background: var(--sun); color: var(--basin); }
.btn-sun:hover { background: var(--sun-hi); }
.btn-basin { background: var(--basin); color: #fff; }
.btn-basin:hover { background: var(--basin-2); }
.btn-line { border-color: var(--basin); color: var(--basin); background: transparent; }
.btn-line:hover { background: var(--trav); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
.btn .ic { flex: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-line:disabled:hover { background: transparent; }

/* ---------- hero (home) ---------- */
.hero { position: relative; background: var(--basin); color: #fff; display: flex; flex-direction: column; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding: 40px 0 28px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lead { color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero-actions .btn { flex: 1 1 auto; }
.assure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; color: #fff; }
.assure li { display: inline-flex; align-items: center; gap: 7px; }
.assure .ic { color: var(--shallows); }
.hero-art { position: relative; aspect-ratio: 4 / 3; margin-top: -2px; }
.hero-art svg, .art { display: block; width: 100%; height: 100%; }
.hero-scrim { display: none; }

/* ---------- photos over illustrated fallbacks ----------
   Each photo slot keeps an illustration underneath. The photo covers it; if the photo fails to load
   (onerror / script.js) the img is hidden and the illustration shows. Slots have fixed aspect ratios,
   so nothing shifts when photos arrive. */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; color: transparent; }
.photo[hidden] { display: none; }
.proj-art, .svc-art, .ph-art { position: relative; }
.ba .photo { pointer-events: none; -webkit-user-drag: none; }
.hero-art { aspect-ratio: 16 / 9; overflow: hidden; }
@media (max-width: 999px) { .hero-copy { padding-top: 28px; } }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; } }
@media (min-width: 1000px) {
  .hero { min-height: min(86vh, 800px); justify-content: center; }
  .hero-art {
    position: absolute; top: 0; bottom: 0; right: 0; left: 26%; aspect-ratio: auto; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  }
  .hero-scrim {
    display: block; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(10,53,80,.94) 0%, rgba(10,53,80,.92) 52%, rgba(10,53,80,.75) 60%, rgba(10,53,80,0) 76%);
  }
  .hero-copy { padding: 64px 0 120px; }
  /* body text never extends past ~49% of the width, where the scrim is still >= .92, so even a pure-white
     area of the photo underneath keeps white text >= 10:1 and the light-blue lead >= 6.5:1. The large h1
     glyphs reach ~55% at 1000px, where the scrim is still ~.85 (white on white-under-scrim ~8:1). */
  .hero-copy > * { max-width: min(560px, 44vw); }
}
/* the one purposeful motion: light drifts across the water once, then settles */
@media (prefers-reduced-motion: no-preference) {
  .caustics { animation: drift 4.5s cubic-bezier(.3,.6,.3,1) both; }
  @keyframes drift { from { transform: translateX(-60px); opacity: .05; } 35% { opacity: .38; } to { transform: translateX(0); } }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--basin); color: #fff; padding: 40px 0 0; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: var(--on-dark-muted); }
.page-hero .crumbs { font-size: .9rem; margin-bottom: 14px; color: var(--on-dark-muted); }
.page-hero .crumbs a { color: #fff; }
.ph-grid { display: grid; gap: 28px; align-items: end; }
.ph-copy { padding-bottom: 8px; }
.ph-art { border-radius: 260px 260px 0 0; overflow: hidden; aspect-ratio: 5 / 4; background: #1E4D72; }
.ph-art .art { height: 100%; }
.page-hero.plain { padding-bottom: 48px; }
@media (min-width: 900px) {
  .ph-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .ph-copy { padding-bottom: 56px; }
  .page-hero { padding-top: 64px; }
}

/* ---------- trust strip ---------- */
.trust { background: var(--stone); border-bottom: 1px solid var(--trav-line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: 1fr; gap: 16px 20px; }
@media (min-width: 560px) { .trust ul { grid-template-columns: 1fr 1fr; } }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust .ic { color: var(--lagoon); flex: none; margin-top: 2px; }
.trust strong { display: block; color: var(--basin); font-size: 1rem; line-height: 1.25; }
.trust span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.stars { display: inline-flex; color: #8A5A00; gap: 1px; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); padding: 26px 0; } }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 4rem + 4vw, 112px) 0; }
.sec-trav { background: var(--trav); }
.sec-dark { background: var(--basin); color: #fff; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark :where(p) { color: var(--on-dark-muted); }
.sec-dark :where(a:not(.btn)) { color: var(--shallows); }
/* light cards that sit inside dark sections get light-surface colours back */
.form-card :where(p), .est-out :where(p) { color: var(--muted); }
.form-card :where(a:not(.btn)), .est-out :where(a:not(.btn)) { color: var(--lagoon); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.split { display: grid; gap: 12px 40px; align-items: end; }
@media (min-width: 900px) { .sec-head.split { grid-template-columns: 1fr auto; } }

/* services overview (home) */
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.svc-list li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 22px 0; border-top: 1px solid var(--trav-line); }
.svc-list .ic { color: var(--lagoon); grid-row: span 3; margin-top: 4px; }
.svc-list h3 { margin: 0 0 4px; }
.svc-list p { margin: 0 0 8px; color: var(--muted); }
.svc-list a { font-weight: 700; }
@media (min-width: 800px) { .svc-list { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* ---------- before / after ---------- */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #c9a985; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 50%; }
@media (min-width: 700px) { .ba { aspect-ratio: 3 / 2; } }
.ba-layer { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(10,53,80,.35); }
.ba-knob {
  position: absolute; top: 50%; left: 0; width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; color: var(--basin); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(10,53,80,.35);
}
.ba-knob svg { display: block; }
.ba-range { position: absolute; inset: auto 0 0 0; width: 100%; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
.ba-range:focus-visible ~ .ba-handle .ba-knob { outline: 3px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 6px var(--basin); }
.ba-tag {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--basin); color: #fff; font-weight: 700; font-size: .88rem; pointer-events: none;
}
.ba-tag.b { left: 14px; }
.ba-tag.a { right: 14px; }
.ba-cap { margin: 12px 0 0; font-size: .92rem; color: var(--muted); }

/* project cards */
.proj-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
@media (min-width: 700px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .proj-grid.three { grid-template-columns: repeat(3, 1fr); } }
.proj { display: flex; flex-direction: column; }
.proj[hidden] { display: none; }
.proj-art { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: #1E4D72; }
.proj-art .art { height: 100%; }
.proj h3, .proj h2 { margin: 16px 0 4px; font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); font-weight: 700; line-height: 1.2; }
.proj .where { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--basin); background: var(--trav); border: 1px solid var(--trav-line); border-radius: 999px; padding: 2px 10px; margin-right: 6px; }
.sec-trav .tag { background: var(--stone); }
.facts { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .93rem; }
.facts dt, .facts .k { color: var(--muted); }
.facts dd { margin: 0; }
dl.facts { margin: 12px 0 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.filters button {
  font: inherit; font-weight: 700; font-size: .95rem; min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--basin); border: 1.5px solid var(--basin);
}
.filters button[aria-pressed="true"] { background: var(--basin); color: #fff; }
.filters button:hover { background: var(--trav); }
.filters button[aria-pressed="true"]:hover { background: var(--basin-2); }

/* ---------- stepper (lane rope) ---------- */
.stepper { --n: 8; }
.lane { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); margin: 0 0 28px; }
.lane::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 6px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--basin) 0 14px, #fff 14px 28px, var(--sun) 28px 42px, #fff 42px 56px);
  opacity: .9;
}
.lane button {
  position: relative; font: inherit; background: none; border: 0; padding: 0 2px; cursor: pointer; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 48px;
}
.lane .float {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1rem;
  background: #fff; color: var(--basin); border: 2px solid var(--basin); font-variant-numeric: tabular-nums;
}
.lane button[aria-selected="true"] .float { background: var(--sun); border-color: var(--basin); box-shadow: 0 0 0 4px var(--stone); }
.sec-trav .lane button[aria-selected="true"] .float { box-shadow: 0 0 0 4px var(--trav); }
.lane .done .float { background: var(--basin); color: #fff; }
@media (max-width: 520px) { .lane .float { width: 36px; height: 36px; font-size: .92rem; } .lane::before { top: 15px; } .lane button { padding: 0; min-width: 0; } }
.lane .st-name { display: none; font-size: .82rem; font-weight: 700; line-height: 1.2; text-align: center; color: var(--ink); }
.lane button[aria-selected="true"] .st-name { color: var(--basin); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (min-width: 760px) { .lane .st-name { display: block; } }
.stepper-body { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .stepper-body { grid-template-columns: 1.15fr 1fr; gap: 48px; } }
.sx-wrap { background: var(--stone); border-radius: var(--radius); padding: 8px; border: 1px solid var(--trav-line); }
.sx { display: block; width: 100%; height: auto; }
.sx-lbl { font: 700 20px var(--font); fill: #5A4128; }
.sx-dim { font: 700 21px var(--font); fill: #0A3550; }
.step-panel .when { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--basin); margin: 0 0 10px; }
.step-panel .when .ic { color: var(--lagoon); }
.step-panel h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.who { display: grid; gap: 14px; margin: 16px 0 0; }
.who div { padding-left: 16px; border-left: 3px solid var(--trav-line); }
.who div.you { border-left-color: var(--sun); }
.who h4 { margin: 0 0 2px; font-size: .95rem; color: var(--basin); }
.who p { margin: 0; }
.step-nav { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.step-count { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
html:not(.js) .step-nav { display: none; }

/* ---------- estimator ---------- */
.est { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .est { grid-template-columns: 1.25fr 1fr; gap: 48px; } .est-out { position: sticky; top: 92px; } }
.est-mini {
  position: sticky; top: 76px; z-index: 5; grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px;
  background: #072A40; border: 1.5px solid var(--sun); border-radius: 12px; padding: 10px 14px; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums;
}
.est-mini span:last-child { color: var(--sun); }
@media (min-width: 1000px) { .est-mini { display: none; } }
.est fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.est legend { font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.12rem; color: #fff; margin-bottom: 12px; padding: 0; }
.opts { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.opts.three, .opts.feats { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opts.three { grid-template-columns: repeat(3, 1fr); } .opts.four { grid-template-columns: repeat(4, 1fr); } .opts.feats { grid-template-columns: 1fr 1fr; } }
.opt {
  position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  background: var(--basin-2); border: 1.5px solid #2D6487; color: #fff; line-height: 1.3; min-height: 48px;
}
.opt:has(input:checked) { border-color: var(--sun); background: #10507A; }
.opt input { accent-color: var(--sun); width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.opt input:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.opt b { display: block; font-weight: 700; }
.opt small { display: block; color: var(--on-dark-muted); font-size: .84rem; margin-top: 2px; }
.rng { display: grid; gap: 6px; margin-bottom: 18px; }
.rng label { font-weight: 700; color: #fff; display: flex; justify-content: space-between; gap: 10px; }
.rng output { color: var(--sun); font-variant-numeric: tabular-nums; }
.rng input[type="range"] { width: 100%; accent-color: var(--sun); height: 32px; margin: 0; }
.rng input[type="range"]:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.rng .hint { font-size: .84rem; color: var(--on-dark-muted); margin: 0; }
.est-out { background: var(--stone); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); --focus: var(--lagoon); }
.est-out h3 { color: var(--basin); font-size: 1.05rem; margin: 0 0 4px; font-stretch: 100%; font-variation-settings: "wdth" 100; }
.est-out .big { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); font-weight: 800; color: var(--basin); line-height: 1.1; font-stretch: 112%; font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; margin: 0 0 4px; }
.est-out .big.mo { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); }
.est-out p { color: var(--muted); }
.est-out .basis { font-size: .93rem; }
.est-out hr { border: 0; border-top: 1px solid var(--trav-line); margin: 18px 0; }
.breakdown { list-style: none; margin: 0 0 18px; padding: 0; font-size: .93rem; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--trav-line); }
.breakdown li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-out .btn { width: 100%; }
.disclaim { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- reviews ---------- */
.demo-label { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--basin); background: #fff; border: 1.5px dashed var(--lagoon); border-radius: 8px; padding: 4px 10px; margin: 0 0 12px; }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .reviews.four { grid-template-columns: repeat(4, 1fr); } }
.review { background: var(--stone); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.review blockquote { margin: 10px 0 18px; font-size: 1.03rem; }
.review blockquote p { margin: 0; }
.review .who-r { margin-top: auto; font-size: .92rem; color: var(--muted); }
.review .who-r strong { color: var(--ink); display: block; }

/* ---------- areas ---------- */
.areas { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .areas { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.map { display: block; width: 100%; height: auto; background: var(--stone); border-radius: var(--radius); border: 1px solid var(--trav-line); }
.mp-lbl { font: 500 15px var(--font); fill: #12293A; }
.mp-big { font-weight: 800; font-size: 18px; }
.city-list { list-style: none; padding: 0; margin: 16px 0 0; columns: 2; column-gap: 24px; }
.city-list li { padding: 6px 0; break-inside: avoid; }
.city-list a { font-weight: 700; }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } .faq-wrap .faq { max-width: none; } .faq-aside { position: sticky; top: 100px; } }
.faq-aside { background: #fff; border: 1px solid var(--trav-line); border-radius: var(--radius); padding: 24px; }
.faq-aside h3 { margin: 0 0 8px; font-size: 1.2rem; }
.faq-aside p { margin: 0 0 16px; color: var(--ink); font-size: .97rem; }
.fa-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.fa-acts .btn { flex: 1 1 auto; }
.faq details { border-top: 1px solid var(--trav-line); }
.faq details:last-child { border-bottom: 1px solid var(--trav-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--basin);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--basin), var(--basin)) center / 14px 2.5px no-repeat, linear-gradient(var(--basin), var(--basin)) center / 2.5px 14px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--basin), var(--basin)) center / 14px 2.5px no-repeat; }
.faq details > div { padding: 0 0 18px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */
.form-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.form-card { background: var(--stone); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); --focus: var(--lagoon); }
.sec-trav .form-card { background: #fff; }
.field { margin-bottom: 18px; }
.field label, .field .lbl { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field .opt-txt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #7C8A93; border-radius: 10px; padding: 11px 13px; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 1px; border-color: var(--lagoon); }
.field [aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.err[hidden] { display: none; }
.hint { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.row2 { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.field legend { font-weight: 700; padding: 0; margin-bottom: 8px; color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chk { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid #7C8A93; border-radius: 999px; background: #fff; cursor: pointer; min-height: 44px; }
.chk:has(input:checked) { border-color: var(--basin); background: #E3EEF3; }
.chk input { width: 18px; height: 18px; accent-color: var(--basin); margin: 0; flex: none; }
/* chips inside .field: beat `.field label { display:block }` so the dot sits beside the text */
.field .chk { display: inline-flex; margin-bottom: 0; font-weight: 600; }
.field .chk-plain { display: flex; align-items: flex-start; border: 0; background: none; padding: 4px 0; border-radius: 0; font-weight: 500; font-size: .92rem; color: var(--ink); min-height: 44px; }
.field .chk-plain:has(input:checked) { background: none; }
.field .chk-plain input { margin-top: 3px; }
.consent { margin-bottom: 10px; }
.form-sec-title { font-size: 1.15rem; margin: 26px 0 14px; padding-top: 18px; border-top: 1px solid var(--trav-line); }
.form-sec-title:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.success { background: #E6F2EB; border: 1.5px solid var(--ok); color: var(--ink); border-radius: 12px; padding: 22px; }
.success h3 { color: var(--ok); margin: 0 0 6px; }
.success p { margin: 0; }
.next-steps { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 0; }
.next-steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.next-steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sun); color: var(--basin); font-weight: 800; display: grid; place-items: center;
}
.sec-dark .next-steps strong { color: #fff; }
.next-steps strong { display: block; color: var(--basin); }
.contact-lines { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-lines li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.contact-lines .ic { color: var(--lagoon); margin-top: 3px; flex: none; }
.sec-dark .contact-lines .ic { color: var(--shallows); }

/* ---------- content pages ---------- */
.svc-block { display: grid; gap: 28px; align-items: center; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--trav-line); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .svc-block { grid-template-columns: 1fr 1fr; gap: 56px; } .svc-block.flip .svc-art { order: 2; } }
.svc-art { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #1E4D72; }
.svc-art .art { height: 100%; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 9px; border-left: 2.5px solid var(--lagoon); border-bottom: 2.5px solid var(--lagoon); transform: rotate(-45deg);
}
.sec-dark .ticks li::before { border-color: var(--shallows); }
.ticks.two { grid-template-columns: 1fr; }
@media (min-width: 700px) { .ticks.two { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.price-note { display: inline-block; background: var(--trav); border-radius: 10px; padding: 8px 14px; font-weight: 600; color: var(--basin); font-size: .95rem; }
.cols2 { display: grid; gap: 32px; }
@media (min-width: 900px) { .cols2 { grid-template-columns: 1fr 1fr; gap: 56px; } }
.cols3 { display: grid; gap: 28px; }
@media (min-width: 900px) { .cols3 { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.panel { background: var(--stone); border-radius: var(--radius); padding: 24px; }
.sec-trav .panel { background: #fff; }
.panel h3 { margin-top: 0; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

.timeline { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.timeline > li { counter-increment: t; position: relative; padding: 0 0 36px 64px; }
.timeline > li::before {
  content: counter(t); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--basin); color: var(--basin); font-weight: 800; display: grid; place-items: center;
}
.timeline > li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--trav-line); }
.timeline > li:last-child::after { display: none; }
.timeline h3 { margin: 6px 0 4px; }
.timeline .when { font-weight: 700; color: var(--lagoon); margin: 0 0 10px; }
.timeline .who { margin-top: 8px; }

table.pay { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--stone); border-radius: var(--radius); overflow: hidden; }
.pay caption { text-align: left; font-weight: 700; color: var(--basin); padding: 0 0 10px; }
.pay th, .pay td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--trav-line); }
.pay thead th { background: var(--basin); color: #fff; font-weight: 700; }
.pay td:not(:first-child), .pay th:not(:first-child) { text-align: right; }
.table-scroll { overflow-x: auto; }

.cta-band { background: var(--basin); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }

/* ---------- hero additions: eyebrow + rating (proof in the first mobile screen) ---------- */
.eyebrow { font-weight: 700; font-size: .98rem; color: var(--shallows); margin: 0 0 12px; }
.hero h1 { font-size: clamp(2.05rem, 1.2rem + 2.6vw, 3.3rem); max-width: 17ch; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #fff; font-size: 1rem; margin: 0 0 16px; }
.rating .stars { color: var(--sun); }
.rating strong { font-size: 1.08rem; }
@media (min-width: 1000px) { .hero-copy > h1 { max-width: min(640px, 50vw); } }

/* ---------- trust note + awards ---------- */
.trust-note { margin: 0; padding: 0 0 18px; font-size: .84rem; color: var(--muted); max-width: none; }
.trust a { font-weight: 700; }
.awards { border-top: 1px solid var(--trav-line); padding: 16px 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.awards-h { margin: 0; font-weight: 700; color: var(--basin); font-size: .95rem; }
.awards ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.awards li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border: 1.5px solid var(--trav-line); border-radius: 8px; background: #fff; color: var(--basin); font-weight: 700; font-size: .88rem; }
.awards .ic { color: var(--lagoon); }
.creds .awards { border-top: 0; padding: 18px 0 6px; flex-direction: column; align-items: flex-start; }

/* ---------- dated offer ---------- */
.offer { background: var(--sun); color: var(--basin); }
.offer[hidden] { display: none; }
.offer-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 18px; padding: 16px 0; }
.offer-date { margin: 0; background: var(--basin); color: var(--sun); border-radius: 10px; padding: 8px 12px; text-align: center; font-weight: 800; line-height: 1.1; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.1rem; white-space: nowrap; }
.offer-date span { display: block; font-size: .72rem; font-weight: 700; color: #fff; font-stretch: 100%; font-variation-settings: "wdth" 100; }
.offer-txt { margin: 0; max-width: 62ch; }
.offer-txt strong { display: block; font-size: 1.05rem; line-height: 1.35; }
.offer-txt span { font-size: .86rem; }
.offer .btn { grid-column: 1 / -1; justify-self: start; }
.offer-x { position: absolute; top: 6px; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: var(--basin); cursor: pointer; }
.offer-x:hover { background: rgba(10,53,80,.1); }
.offer { position: relative; }
.offer-in { padding-right: 40px; }
@media (min-width: 800px) { .offer .btn { grid-column: auto; } .offer-in { padding-right: 52px; } }
.offer-mini { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border: 1.5px dashed var(--lagoon); border-radius: 12px; background: #fff; }
.offer-mini p { margin: 0; font-size: .93rem; color: var(--ink); }
.offer-mini strong { color: var(--basin); }
.offer-mini .ic { color: var(--lagoon); flex: none; margin-top: 2px; }
.sec-dark .offer-mini.on-dark-mini { background: var(--basin-2); border-color: var(--sun); }
.sec-dark .offer-mini.on-dark-mini p { color: var(--on-dark-muted); }
.sec-dark .offer-mini.on-dark-mini strong { color: #fff; }
.sec-dark .offer-mini.on-dark-mini .ic { color: var(--sun); }

/* ---------- service photo tiles (home) ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.tile a { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #1E4D72; color: #fff; text-decoration: none; }
.tile-art { position: absolute; inset: 0; }
.tile-art .art { height: 100%; }
.tile-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px 14px; background: rgba(7,42,64,.9); display: grid; gap: 2px; }
.tile-h { font-weight: 800; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); line-height: 1.15; font-stretch: 125%; font-variation-settings: "wdth" 125; color: #fff; }
.tile-p { font-size: .86rem; color: var(--on-dark-muted); }
.tile-p .ex { color: var(--on-dark-muted); }
.tile a:hover .tile-h, .tile a:focus-visible .tile-h { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.tile a:focus-visible { outline-offset: 4px; }

/* ---------- project case-study cards ---------- */
.sub-h { margin: 56px 0 20px; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); }
.proj .where .tag { margin: 0 0 0 6px; vertical-align: 1px; }
.facts .inv { font-weight: 700; color: var(--basin); }
.ex { font-weight: 500; color: var(--muted); font-size: .9em; }
.proj .facts { margin-bottom: 18px; }
.proj .btn { margin-top: auto; align-self: flex-start; }
.proj .more-link { margin-top: auto; align-self: flex-start; }
.feat-k { margin: 0 0 6px; font-weight: 700; color: var(--lagoon); }
.feat-story h3 { font-size: 1rem; margin: 16px 0 2px; font-stretch: 100%; font-variation-settings: "wdth" 100; }
.feat-story p { margin: 0; }
.feat-story { margin-bottom: 16px; }
.proj.feat h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
.feat-body { display: flex; flex-direction: column; }
@media (min-width: 700px) { .proj.feat { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .proj.feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--trav-line); margin-bottom: 12px; }
  .proj.feat h2 { margin-top: 0; }
  .proj.feat .facts { grid-template-columns: auto 1fr auto 1fr; }
}
.more-link { display: inline-block; margin-top: 14px; font-weight: 700; }
.proj-art[data-open] { cursor: zoom-in; }
.ph-count { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--basin); color: #fff; font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.demo-line { color: var(--muted); margin-top: 24px; }
.proj-grid + .demo-line { margin-top: 32px; }
html:not(.js) .proj .btn[data-open] { display: none; }

/* video placeholder */
.video-slot { margin: 56px 0 0; }
.video-art { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #1E4D72; }
.video-art .art { height: 100%; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 22px 12px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--basin); font: inherit; font-weight: 800; font-size: 1.02rem; cursor: pointer; box-shadow: 0 4px 24px rgba(7,42,64,.45); }
.play:hover { background: var(--trav); }
.play .ic { flex: none; }
.video-slot figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.video-slot figcaption strong { display: block; color: var(--basin); font-size: 1.1rem; margin-bottom: 4px; }
@media (min-width: 900px) {
  .video-slot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
  .video-slot figcaption { margin: 0; font-size: 1.05rem; }
  .video-slot figcaption strong { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.2; font-stretch: 125%; font-variation-settings: "wdth" 125; }
}

/* ---------- founder band: full-bleed photo break ---------- */
.founder { position: relative; background: var(--basin); color: #fff; }
.founder-art { position: relative; aspect-ratio: 16 / 9; background: #1E4D72; overflow: hidden; }
.founder-art .art { height: 100%; }
.founder-in { position: relative; }
.founder-card { background: var(--basin); padding: 28px 0 40px; }
.founder blockquote { margin: 0 0 20px; }
.founder blockquote p { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); line-height: 1.35; font-weight: 600; color: #fff; max-width: 34ch; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.founder .who-r p { color: var(--on-dark-muted); }
.founder .who-r strong { color: #fff; }
.founder .avatar { background: var(--sun); color: var(--basin); }
.founder .more-link { color: var(--shallows); }
@media (min-width: 900px) {
  .founder-art { position: absolute; inset: 0; aspect-ratio: auto; }
  .founder-in { min-height: 560px; display: flex; align-items: center; justify-content: flex-end; padding: 72px 0; }
  .founder-card { width: min(560px, 50%); padding: 36px 40px; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(7,42,64,.4); }
}

/* ---------- estimator: soft conversion ---------- */
.link-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 0; min-height: 44px; background: none; border: 0; font: inherit; font-weight: 700; color: var(--lagoon); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; text-align: left; }
.link-btn .ic { flex: none; text-decoration: none; }
.est-mail { margin-top: 6px; padding: 16px; border: 1.5px solid var(--trav-line); border-radius: 12px; background: #fff; }
.est-mail[hidden] { display: none; }
.est-mail .btn { width: 100%; }
.est-out .success { margin-top: 10px; }
.est-out .success p { color: var(--ink); }
.send-err { background: #FFF1EF; border: 1.5px solid var(--err); color: var(--ink); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: .95rem; }
.send-err strong { color: var(--err); display: block; }

/* estimate carried into lead forms */
.est-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: #E3EEF3; border: 1.5px solid var(--lagoon); }
.est-card[hidden] { display: none; }
.est-card p { margin: 0; color: var(--ink); }
.est-card strong { display: block; color: var(--basin); }
.est-card a { font-weight: 700; color: var(--lagoon); }

/* optional questions on the contact form */
.more-q { border: 1.5px solid var(--trav-line); border-radius: 12px; margin: 4px 0 18px; background: var(--stone); }
.sec-trav .form-card .more-q { background: var(--stone); }
.more-q summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--basin); min-height: 48px; }
.more-q summary span { font-weight: 500; color: var(--muted); }
.more-in { padding: 4px 16px 4px; }

/* ---------- reviews ---------- */
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 22px; }
.rv-head > p:first-of-type { margin: 0; line-height: 1.35; color: var(--ink); }
.rv-head strong { font-size: 1.3rem; color: var(--basin); margin-right: 4px; }
.rv-head .stars { vertical-align: -2px; }
.rv-head .demo-label { margin: 0; }
.g-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--trav-line); color: var(--basin); font-weight: 800; font-size: 1.35rem; flex: none; }
.review .who-r { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.review .who-r p { margin: 0; font-size: .92rem; color: var(--muted); }
.who-r strong { color: var(--ink); display: block; }
.when-r { font-size: .86rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--trav); color: var(--basin); font-weight: 800; font-size: .95rem; letter-spacing: .02em; }
.sec-trav .review .avatar { background: var(--trav); }
.reviews.one { grid-template-columns: 1fr; max-width: 760px; }
.reviews.one .review { background: var(--trav); }
.reviews.one .avatar { background: var(--stone); }
.founder .who-r { display: flex; gap: 12px; align-items: center; }
.founder .who-r p { margin: 0; }

/* ---------- about ---------- */
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.stat-list li { border-top: 3px solid var(--sun); padding-top: 12px; }
.stat-list strong { display: block; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; color: var(--basin); line-height: 1; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.stat-list span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .team { grid-template-columns: repeat(4, 1fr); } }
.person { background: #fff; border-radius: var(--radius); padding: 24px; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.2rem; margin-bottom: 14px; background: var(--basin); color: #fff; }
.person h3 { margin: 0 0 2px; }
.person .role { font-weight: 700; color: var(--lagoon); margin: 0 0 10px; }
.person p:last-child { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- project lightbox (native <dialog>: focus trap + Esc built in) ---------- */
dialog.lb { padding: 0; border: 0; border-radius: var(--radius); width: min(1120px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); background: var(--stone); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
dialog.lb::backdrop { background: rgba(7,42,64,.82); }
body:has(dialog[open]) { overflow: hidden; }
.lb-in { position: relative; display: grid; }
.lb-media { background: var(--stone); }
.lb-stage { position: relative; aspect-ratio: 3 / 2; background: #1E4D72; }
.lb-fig { position: absolute; inset: 0; margin: 0; }
.lb-fig[hidden] { display: none; }
.lb-fig .art { height: 100%; }
.lb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; color: transparent; }
.lb-img[hidden] { display: none; }
.lb-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 0; }
.lb-count { margin: 0; font-weight: 700; color: var(--basin); font-variant-numeric: tabular-nums; }
.lb-btn, .lb-close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--basin); border: 2px solid var(--basin); cursor: pointer; }
.lb-btn:hover, .lb-close:hover { background: var(--trav); }
.lb-close { position: absolute; top: 10px; right: 10px; z-index: 2; }
.lb-note { margin: 0; padding: 10px 16px 16px; font-size: .85rem; color: var(--muted); }
.lb-copy { padding: 24px clamp(20px, 3vw, 36px) 32px; }
.lb-copy .where { margin: 0 0 4px; color: var(--muted); }
.lb-copy h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); padding-right: 40px; }
.lb-copy h3 { font-size: 1rem; margin: 18px 0 4px; font-stretch: 100%; font-variation-settings: "wdth" 100; color: var(--basin); }
.lb-copy p { margin: 0; }
.lb-copy .facts { margin-top: 6px; }
.lb-quote { margin: 22px 0 0; padding: 14px 16px; border-left: 3px solid var(--sun); background: #fff; border-radius: 0 10px 10px 0; }
.lb-quote p { font-size: .98rem; }
.lb-quote footer { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.lb-copy .btn { margin-top: 24px; }
@media (min-width: 900px) {
  .lb-in { grid-template-columns: 1.2fr 1fr; }
  .lb-media { position: sticky; top: 0; align-self: start; }
  .lb-close { background: var(--stone); }
}

/* mobile: long card rows become swipeable rows (keyboard: the row gets tabindex via script.js when it scrolls) */
@media (max-width: 699px) {
  .snap-m { position: relative; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -1.25rem; padding: 0 1.25rem 10px; scroll-padding-inline: 1.25rem; gap: 14px; overscroll-behavior-x: contain; }
  .snap-m > li { scroll-snap-align: start; }
  .snap-m:focus-visible { outline-offset: -3px; }
  .awards li { font-size: .8rem; padding: 4px 9px 4px 7px; }
  .awards { gap: 8px; padding-top: 14px; }
  .offer-in { grid-template-columns: 1fr; gap: 10px; padding: 14px 44px 16px 0; }
  .offer-date { justify-self: start; display: flex; gap: 6px; align-items: baseline; padding: 5px 10px; font-size: 1rem; }
  .offer-date span { display: inline; font-size: .8rem; }
  .ft-grid > div:last-child { grid-column: 1 / -1; }
}
.snap-hint { display: none; }
@media (max-width: 699px) { .snap-hint { display: block; margin: 8px 0 0; font-size: .86rem; color: var(--muted); } }
.sec-head.split .btn { justify-self: start; }
.review .who-r { align-items: flex-start; }

/* misc */
.sec-deep { background: #072A40; }
.art-flat { display: block; width: 100%; height: 100%; background: #1E4D72; }
.story p { max-width: 62ch; }

/* ---------- footer ---------- */
.site-footer { background: #072A40; color: var(--on-dark-muted); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1rem; font-stretch: 100%; font-variation-settings: "wdth" 100; margin: 0 0 12px; }
.ft-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.ft-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .ft-grid > div:first-child { grid-column: auto; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.ft-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.1rem; margin-bottom: 12px; }
.ft-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid #1D4A66; display: grid; gap: 8px; font-size: .86rem; }
.ft-note p { margin: 0; max-width: none; }
.ft-credit { white-space: nowrap; }

/* ---------- mobile action bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--basin); border-top: 1px solid #1D4A66; --focus: var(--sun); }
.mbar .btn { min-height: 48px; padding: 10px 12px; font-size: .98rem; }
.site-footer { padding-bottom: calc(28px + 72px + env(safe-area-inset-bottom)); }
.mbar { grid-template-columns: 1fr 1fr 1.5fr; transition: transform .2s ease; }
.mbar .btn-ghost { padding-inline: 8px; }
.mbar.mbar-hide { transform: translateY(110%); }
@media (min-width: 1000px) { .mbar { display: none; } .site-footer { padding-bottom: 28px; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .site-header, .mbar, .demo-note { display: none; } }
.founder h2 { color: #fff; }
/* contact page: on phones the form comes first, the "what happens next" notes after it */
@media (max-width: 959px) { .form-first > form { order: -1; } }

/* ---------- round 2 ---------- */
/* "Sample" pill: the one demo label kept in clean pitch mode, on reviews, ratings and awards */
.pill { display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 1px 8px; border: 1.5px dashed var(--lagoon); border-radius: 999px; background: #fff; color: var(--basin); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.45; white-space: nowrap; }
.rating .pill { background: transparent; border-color: var(--on-dark-muted); color: #fff; }
.lb-quote footer .pill { margin-left: 2px; }

/* lead-form sections: heading, form, next steps in the DOM (form first on phones); two columns on wide screens */
.form-split { display: grid; gap: 28px; }
.form-split .fs-head .lead { margin-bottom: 0; }
@media (min-width: 960px) {
  .form-split { grid-template-columns: 1fr 1.25fr; grid-template-rows: auto 1fr; column-gap: 64px; row-gap: 12px; align-items: start; }
  .form-split > .fs-head { grid-column: 1; grid-row: 1; }
  .form-split > :nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .form-split > .fs-steps { grid-column: 1; grid-row: 2; }
}

/* slot dialogs (video slot, lender link) */
dialog.slot-dlg { padding: 0; border: 0; border-radius: var(--radius); width: min(520px, calc(100vw - 24px)); background: var(--stone); color: var(--ink); }
dialog.slot-dlg::backdrop { background: rgba(7,42,64,.82); }
.slot-in { padding: 32px clamp(20px, 4vw, 32px) 28px; }
.slot-in h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); padding-right: 44px; }
.slot-in p { color: var(--ink); }
.slot-in code { font-size: .9em; background: var(--trav); padding: 1px 6px; border-radius: 6px; }
.slot-in .btn { margin-top: 8px; }

/* lender pre-qualification card (financing) */
.prequal-sec { padding-bottom: 0; }
.prequal { display: grid; gap: 20px 40px; align-items: center; background: #fff; border: 1.5px solid var(--trav-line); border-left: 6px solid var(--sun); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
@media (min-width: 860px) { .prequal { grid-template-columns: 1fr auto; } }
.prequal h2 { margin: 0 0 8px; }
.prequal p { margin: 0; max-width: 62ch; }
.pq-k { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ok); font-size: .92rem; margin: 0 0 8px !important; }
.pq-act { display: grid; gap: 8px; justify-items: start; }
.pq-note { font-size: .86rem; color: var(--muted); }

/* light page hero (financing), so it doesn't merge with the navy estimator below */
.page-hero.ph-light { background: var(--trav); color: var(--ink); }
.ph-light h1 { color: var(--basin); }
.ph-light .lead { color: var(--muted); }
.ph-light .crumbs { color: var(--muted); }
.ph-light .crumbs a { color: var(--lagoon); }
.ph-light .ph-art { background: #CDBFA6; }

/* projects filter chips: one swipeable row on phones */
@media (max-width: 699px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: -1.25rem; padding: 2px 3rem 8px 1.25rem; scroll-padding-inline: 1.25rem; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .filters li { flex: none; scroll-snap-align: start; }
  .filters button { white-space: nowrap; }
}

/* studio finish samples (about) */
.swatch-board { margin: 0; background: #fff; border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; }
.swatches li { display: grid; gap: 8px; }
.sw { display: block; aspect-ratio: 1; border-radius: 10px; border: 1px solid rgba(18,41,58,.15); }
.sw-n { font-size: .86rem; font-weight: 700; color: var(--basin); line-height: 1.25; }
.swatch-board figcaption { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.sw-midnight { background: radial-gradient(circle at 20% 30%, #3B5D80 0 2px, transparent 3px) 0 0 / 14px 14px, radial-gradient(circle at 70% 65%, #0B1A2C 0 2px, transparent 3px) 0 0 / 11px 11px, #1B3552; }
.sw-aqua { background: radial-gradient(circle at 25% 35%, #CDEFF3 0 2px, transparent 3px) 0 0 / 13px 13px, radial-gradient(circle at 70% 70%, #2C8FA3 0 2px, transparent 3px) 0 0 / 10px 10px, #5FBFCF; }
.sw-grey { background: radial-gradient(circle at 30% 30%, #E4E4E0 0 2px, transparent 3px) 0 0 / 12px 12px, radial-gradient(circle at 65% 70%, #5E6468 0 2px, transparent 3px) 0 0 / 10px 10px, #9EA4A6; }
.sw-plaster { background: radial-gradient(circle at 40% 40%, #E9EEF0 0 1px, transparent 2px) 0 0 / 9px 9px, #F8FAFA; }
.sw-trav { background: linear-gradient(170deg, transparent 0 38%, rgba(160,128,90,.25) 39% 41%, transparent 42% 70%, rgba(160,128,90,.2) 71% 72%, transparent 73%), #E3D3B8; }
.sw-glass { background: linear-gradient(90deg, rgba(255,255,255,.7) 0 2px, transparent 2px) 0 0 / 25% 100%, linear-gradient(0deg, rgba(255,255,255,.7) 0 2px, transparent 2px) 0 0 / 100% 25%, linear-gradient(135deg, #2E9DB3, #1D6E8F 55%, #4FC0C9); }

/* city pages: two reviews side by side, and a city-specific timeline */
.city-rv { margin-top: 48px; }
.reviews.on-stone .review { background: var(--trav); }
.reviews.on-stone .avatar { background: var(--stone); }
.city-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: ctl; }
@media (min-width: 700px) { .city-tl { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .city-tl { grid-template-columns: repeat(4, 1fr); } }
.city-tl li { background: #fff; border-radius: var(--radius); padding: 22px 22px 24px; border-top: 4px solid var(--sun); }
.city-tl .when { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--basin); font-size: .92rem; margin: 0 0 8px; }
.city-tl .when .ic { color: var(--lagoon); }
.city-tl h3 { margin: 0 0 6px; font-size: 1.15rem; }
.city-tl p:last-child { margin: 0; color: var(--ink); font-size: .97rem; }

/* hidden-price mode: the estimator's list has labels only */
.breakdown.sel li span { white-space: normal; }
