/* ==========================================================================
   Pools By Andres — site styles (shared by every page)
   Palette: deep ink + stone neutrals + one aqua accent taken from the water.
   Motion: transform / opacity only, one spring-style easing.
   ========================================================================== */

@font-face {
  font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/hanken-grotesk-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
}

:root {
  --ink:       #0C1620;
  --ink-2:     #121F2A;
  --ink-3:     #1B2B38;
  --lagoon:    #0F2E36;
  --aqua:      #8FD0DA;
  --aqua-ink:  #1C6A77;
  --stone:     #F3F0EA;
  --stone-2:   #E8E3D9;
  --paper:     #FBFAF7;
  --text:      #0C1620;
  --muted:     #5C6770;
  --muted-2:   #646D74; /* passes WCAG AA (4.5:1) on white, paper and stone */
  --on-dark:   rgba(255, 255, 255, .92);
  --on-dark-2: rgba(255, 255, 255, .64);
  --line:      rgba(12, 22, 32, .12);
  --line-dark: rgba(255, 255, 255, .14);

  --sh-1: 0 1px 2px rgba(12, 22, 32, .05), 0 6px 16px -8px rgba(12, 22, 32, .12);
  --sh-2: 0 2px 4px rgba(12, 22, 32, .04), 0 24px 48px -24px rgba(12, 22, 32, .28);
  --sh-3: 0 2px 6px rgba(12, 22, 32, .06), 0 48px 96px -40px rgba(12, 22, 32, .5);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 136px;
  --gutter: 20px;
  --section: 80px;
  --header-h: 68px;
  --max: 1240px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 112px; --header-h: 80px; } }
@media (min-width: 1200px) { :root { --section: 136px; } }

/* ─── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--stone);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; font-feature-settings: 'cv11', 'ss01';
}
@media (min-width: 768px) { body { font-size: 17px; } }
body.is-locked { overflow: hidden; }
h1, h2, h3, h4 {
  font-family: 'Hanken Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; color: inherit; text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--aqua); color: var(--ink); }
:focus-visible { outline: 2px solid var(--aqua-ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .footer :focus-visible, .menu :focus-visible { outline-color: var(--aqua); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; transform: translateY(-160%); transition: transform .4s var(--ease); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.on-dark { background: var(--ink); color: var(--on-dark); }
.bg-paper { background: var(--paper); }
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-ink);
}
.on-dark .label { color: var(--aqua); }
.h-xl { font-size: clamp(2.6rem, 6.4vw + .4rem, 6.6rem); line-height: .98; letter-spacing: -0.045em; }
.h-lg { font-size: clamp(2.1rem, 3.6vw + .8rem, 4.2rem); letter-spacing: -0.04em; line-height: 1.02; }
.h-md { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); letter-spacing: -0.03em; line-height: 1.12; }
.lede { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 52ch; }
.on-dark .lede { color: var(--on-dark-2); }
.head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.head .h-lg { margin-top: 18px; max-width: 15ch; }
@media (min-width: 960px) { .head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--s-7); } .head .lede { justify-self: end; } }

/* ─── Buttons & links ───────────────────────────────────────────────────── */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; overflow: hidden;
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: transform .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: currentColor;
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { opacity: .08; }
.btn:active { transform: translateY(0) scale(.975); transition-duration: .12s; }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink   { background: var(--ink); color: #fff; box-shadow: 0 16px 32px -18px rgba(12,22,32,.8); }
.btn-ink::before { background: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 16px 36px -18px rgba(0,0,0,.55); }
.btn-aqua  { background: var(--aqua); color: var(--ink); box-shadow: 0 18px 36px -18px rgba(143,208,218,.7); }
.btn-line  { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(12,22,32,.24); }
.btn-glass { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass::before { background: #fff; }
.btn-glass:hover::before { opacity: .12; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-block { width: 100%; }

.tlink { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding-bottom: 3px; }
.tlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .35; transform-origin: left; transition: transform .6s var(--ease), opacity .3s var(--ease); }
.tlink:hover::after { opacity: 1; }
.tlink:active { opacity: .7; }
.tlink .arr { transition: transform .5s var(--ease); }
.tlink:hover .arr { transform: translateX(4px); }
.tlink--accent { color: var(--aqua-ink); }
.on-dark .tlink--accent { color: var(--aqua); }

/* ─── Reveal motion ─────────────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 32px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--stone-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.js .frame[data-reveal] img, .js [data-reveal] .frame img { transform: scale(1.14); transition: transform 1.8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .frame[data-reveal].is-in img, .js [data-reveal].is-in .frame img { transform: none; }
.frame--shade::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(12,22,32,.55), rgba(12,22,32,0) 50%); }
.frame--tint::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(143,208,218,.10), rgba(12,22,32,.14)); mix-blend-mode: multiply; }
[data-parallax] { will-change: transform; }

/* ─── Header ────────────────────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto; z-index: 70; height: var(--header-h); color: #fff;
  view-transition-name: site-header;
}
/* Over the hero the bar is clear. Once scrolled (is-solid), it must be fully opaque
   so page copy never reads through the logo/menu — especially on phones. */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--stone);
  box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .45s var(--ease);
}
.header::after { content: ''; position: absolute; inset: 0 0 -40px; z-index: -2; background: linear-gradient(to bottom, rgba(12,22,32,.5), rgba(12,22,32,0)); pointer-events: none; transition: opacity .45s var(--ease); }
.header.is-solid { color: var(--ink); }
.header.is-solid::before { opacity: 1; }
.header.is-solid::after { opacity: 0; }
.header--solid { color: var(--ink); }
.header--solid::before { opacity: 1; }
.header--solid::after { opacity: 0; }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.logo { position: relative; display: block; width: 168px; aspect-ratio: 720 / 157; flex: none; border-radius: 6px; transition: transform .5s var(--ease); }
.logo:hover { transform: translateY(-1px); }
.logo:active { transform: scale(.98); }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s var(--ease); }
.logo .logo-ink { opacity: 0; }
.is-solid .logo .logo-ink, .header--solid .logo .logo-ink { opacity: 1; }
.is-solid .logo .logo-white, .header--solid .logo .logo-white { opacity: 0; }
@media (min-width: 1024px) { .logo { width: 200px; } }
.nav { display: none; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; border-radius: 999px; opacity: .9; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:active { opacity: .6; }
.header-cta { display: flex; align-items: center; gap: 8px; }
/* EN | ES — sliding thumb (CrewVex landing feel). Footer duplicates for small screens. */
.lang {
  --lang-pad: 3px;
  --lang-btn-w: 36px;
  --lang-btn-h: 32px;
  position: relative; display: inline-flex; align-items: center; gap: 0; padding: var(--lang-pad);
  border-radius: 999px; background: rgba(255,255,255,.14); flex: none;
  view-transition-name: pba-lang;
  transition: background .45s var(--ease), transform .5s var(--ease);
}
.lang:hover { transform: translateY(-1px); }
.lang--foot { background: rgba(255,255,255,.1); view-transition-name: pba-lang-foot; }
.is-solid .lang, .header--solid .lang { background: rgba(12,22,32,.07); }
.lang-thumb {
  position: absolute; left: var(--lang-pad); top: var(--lang-pad);
  width: var(--lang-btn-w); height: var(--lang-btn-h); border-radius: 999px;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(12,22,32,.1), 0 8px 18px -12px rgba(12,22,32,.35);
  transform: translate3d(0, 0, 0);
  transition: transform .48s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
  pointer-events: none; z-index: 0;
}
.lang[data-locale="es"] .lang-thumb { transform: translate3d(var(--lang-btn-w), 0, 0); }
.is-solid .lang-thumb, .header--solid .lang-thumb {
  background: var(--ink); box-shadow: 0 1px 2px rgba(12,22,32,.18), 0 10px 22px -14px rgba(12,22,32,.45);
}
.lang--foot .lang-thumb {
  background: #fff; box-shadow: 0 1px 2px rgba(12,22,32,.12), 0 8px 18px -12px rgba(12,22,32,.4);
}
.lang-btn {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: var(--lang-btn-w); height: var(--lang-btn-h);
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  opacity: .7; color: inherit;
  transition: opacity .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.lang-btn:hover { opacity: 1; }
.lang-btn:active { transform: scale(.96); }
.lang-btn.is-on { opacity: 1; color: var(--ink); }
.is-solid .lang-btn.is-on, .header--solid .lang-btn.is-on { color: #fff; }
.lang--foot .lang-btn.is-on { color: var(--ink); }
.lang-btn:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }

/* Soft cross-document language change (Chrome/Edge; ignored elsewhere). */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .42s;
  animation-timing-function: var(--ease);
}
::view-transition-old(root) { animation-name: pba-fade-out; }
::view-transition-new(root) { animation-name: pba-fade-in; }
@keyframes pba-fade-out {
  to { opacity: 0; transform: translateY(-6px) scale(.992); }
}
@keyframes pba-fade-in {
  from { opacity: 0; transform: translateY(10px) scale(.992); }
}
/* Fallback exit fade when View Transitions aren't available. */
html.lang-ready body {
  transition: opacity .22s var(--ease), transform .28s var(--ease);
}
html.lang-exit body {
  opacity: 0; transform: translateY(-6px);
}
@media (prefers-reduced-motion: reduce) {
  .lang, .lang-thumb, .lang-btn, html.lang-ready body { transition: none !important; }
  .lang:hover { transform: none; }
  @view-transition { navigation: none; }
}
.header-phone { display: none; font-weight: 600; font-size: 14.5px; padding: 10px 12px; border-radius: 999px; }
.header-phone:hover { opacity: .75; }
.header-phone:active { opacity: .55; }
.header .btn-est { background: #fff; color: var(--ink); }
.is-solid .btn-est, .header--solid .btn-est { background: var(--ink); color: #fff; }
.header .btn-est::before { background: var(--ink); }
.is-solid .btn-est::before, .header--solid .btn-est::before { background: #fff; }
.header .btn-est { transition: transform .5s var(--ease); }
.menu-btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor; font-size: 14.5px; font-weight: 600; color: inherit;
  transition: transform .5s var(--ease);
}
.menu-btn:hover { transform: translateY(-1px); }
.menu-btn:active { transform: scale(.96); }
/* Two lines that morph into an X */
.menu-btn i { position: relative; width: 16px; height: 8px; }
.menu-btn i::before, .menu-btn i::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .6s var(--ease);
}
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }
/* "Menu" rolls up, "Close" rolls in */
.mb-label { display: grid; overflow: hidden; line-height: 1.25; }
.mb-label > span { grid-area: 1 / 1; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.mb-label .mb-close { transform: translateY(110%); opacity: 0; }
.menu-btn[aria-expanded="true"] .mb-open { transform: translateY(-110%); opacity: 0; }
.menu-btn[aria-expanded="true"] .mb-close { transform: none; opacity: 1; }
@media (max-width: 1023px) { .header-cta .btn-est { display: none; } }
@media (max-width: 359px) { .logo { width: 146px; } .mb-label { display: none; } .menu-btn { padding: 0 14px; } }
@media (min-width: 1024px) { .nav, .header-phone { display: inline-flex; } .menu-btn { display: none; } }

/* ─── Mobile menu ─────────────────────────────────────────────────────────
   A navy circle grows out of the Menu button to fill the screen, the links
   rise in behind it, and it all reverses back into the button on close.
   Header (logo + button) sits above the menu while it's open.            */
.menu-open .header { z-index: 95; color: #fff; }
.menu-open .header::before, .menu-open .header::after { opacity: 0; }
.menu-open .header .logo .logo-white { opacity: 1; }
.menu-open .header .logo .logo-ink { opacity: 0; }
.menu { position: fixed; inset: 0; z-index: 90; color: #fff; visibility: hidden; pointer-events: none; transition: visibility 0s linear .9s; }
.menu.is-open { visibility: visible; pointer-events: auto; transition: none; }
.menu-bg {
  position: absolute; left: var(--mx, 100%); top: var(--my, 0px); width: calc(var(--mr, 100vmax) * 2); height: calc(var(--mr, 100vmax) * 2);
  margin: calc(var(--mr, 100vmax) * -1) 0 0 calc(var(--mr, 100vmax) * -1); border-radius: 50%;
  background: radial-gradient(closest-side, var(--ink-2), var(--ink) 70%);
  transform: scale(var(--m0, .03)); transition: transform .75s cubic-bezier(.7, 0, .2, 1) .15s; will-change: transform;
}
.menu.is-open .menu-bg { transform: scale(1); transition: transform .8s cubic-bezier(.7, 0, .2, 1); }
.menu-inner { position: relative; height: 100%; display: flex; flex-direction: column; overflow-y: auto; padding: calc(var(--header-h) + 8px) var(--gutter) max(24px, env(safe-area-inset-bottom)); }
.menu-links { list-style: none; margin-top: var(--s-3); flex: 1; display: flex; flex-direction: column; }
.menu-links li { position: relative; overflow: hidden; }
.menu-links li::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu-links a {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 500; letter-spacing: -0.035em;
  transform: translateY(105%); opacity: 0; transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.menu-links a:active { opacity: .6; }
.menu-links a svg { opacity: .5; transition: transform .5s var(--ease); }
.menu-links a:hover svg { transform: translateX(-4px); }
.menu.is-open .menu-links a { transform: none; opacity: 1; transition: transform 1s var(--ease), opacity .6s var(--ease); transition-delay: calc(.32s + var(--n, 0) * 60ms); }
.menu.is-open .menu-links li::after { transform: scaleX(1); transition: transform 1.1s var(--ease); transition-delay: calc(.4s + var(--n, 0) * 60ms); }
.menu-links li:nth-child(2) { --n: 1; } .menu-links li:nth-child(3) { --n: 2; } .menu-links li:nth-child(4) { --n: 3; } .menu-links li:nth-child(5) { --n: 4; } .menu-links li:nth-child(6) { --n: 5; }
.menu-foot { display: grid; gap: 10px; flex: none; padding-top: var(--s-3); opacity: 0; transform: translateY(20px); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.menu.is-open .menu-foot { opacity: 1; transform: none; transition: transform 1s var(--ease) .62s, opacity .7s var(--ease) .62s; }
.menu-foot small { color: var(--on-dark-2); font-size: 13.5px; text-align: center; margin-top: 4px; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
@media (min-width: 768px) { .hero { min-height: max(680px, min(100svh, 1000px)); } }
.hero-bg { position: absolute; inset: 0; }
.hero-bg picture { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 60%; }
/* Blurred ~300-byte preview shows instantly; the real photo fades in over it once decoded. */
.hero-ph { position: absolute; inset: -48px; background: var(--ink) var(--ph) center / cover no-repeat; filter: blur(22px) saturate(1.1); transition: opacity .9s var(--ease) .15s; }
@media (min-width: 768px) { .hero-ph { background-image: var(--ph-wide, var(--ph)); } }
.js .hero-bg img { opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 2s var(--ease); }
.js .hero.is-loaded .hero-bg img { opacity: 1; transform: none; }
.js .hero.is-loaded .hero-ph { opacity: 0; }
/* Hero copy waits for the photo, then rises in as one sequence. */
.js .hero [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.js .hero [data-reveal="fade"] { transform: none; }
.js .hero.is-ready [data-reveal] { opacity: 1; transform: none; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,22,32,.88) 0%, rgba(12,22,32,.62) 38%, rgba(12,22,32,.18) 66%, rgba(12,22,32,.36) 100%),
    radial-gradient(90% 70% at 0% 75%, rgba(12,22,32,.45), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + var(--s-5)); padding-bottom: var(--s-5); }
@media (min-width: 768px) { .hero-inner { padding-bottom: var(--s-6); } }
.hero-kicker { text-shadow: 0 1px 12px rgba(12,22,32,.6); display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hero-kicker .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.hero h1 { margin-top: var(--s-3); max-width: 13ch; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1 .ln > span { display: block; }
.js .hero h1 .ln > span { transform: translateY(108%); transition: transform 1.3s var(--ease); }
.js .hero.is-ready h1 .ln > span { transform: none; }
.js .hero h1 .ln:nth-child(2) > span { transition-delay: .1s; }
.hero-row { margin-top: var(--s-4); display: grid; gap: var(--s-4); align-items: end; }
.hero-row p { font-size: 17.5px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 900px) { .hero-row { grid-template-columns: 1fr auto; } }
.hero-meta em { font-style: normal; }
.hero-meta { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,.2); display: none; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-7); font-size: 14px; color: rgba(255,255,255,.7); }
.hero-meta strong { display: block; color: #fff; font-family: 'Hanken Grotesk', sans-serif; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
@media (min-width: 768px) { .hero-meta { display: grid; } }

/* ─── Services ──────────────────────────────────────────────────────────── */
.svc-layout { display: grid; gap: var(--s-4); }
.svc-media { display: none; }
.svc-list { list-style: none; counter-reset: svc; }
.svc { position: relative; padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-img { margin-bottom: var(--s-3); aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.svc-top { display: flex; align-items: baseline; gap: var(--s-2); }
.svc h3 { font-size: clamp(1.7rem, 1.8vw + 1rem, 2.5rem); letter-spacing: -0.035em; }
.svc-body { margin-top: 10px; }
.svc-body p { color: var(--muted); max-width: 46ch; }
.svc-meta { margin-top: 12px; font-size: 14px; color: var(--muted-2); }
.svc .tlink { margin-top: var(--s-2); }
@media (min-width: 1024px) {
  .svc-layout { grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; }
  .svc-media { display: block; position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--stone-2); box-shadow: var(--sh-2); }
  .svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
  .svc-media img.is-on { opacity: 1; transform: none; }
  .svc-media figcaption { position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(12,22,32,.55); color: #fff; font-size: 13px; font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .svc-img { display: none; }
  .svc { padding: var(--s-4) 0; }
}

/* ─── Work ──────────────────────────────────────────────────────────────── */
.work-grid {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); overscroll-behavior-x: contain;
}
.work-grid::-webkit-scrollbar { display: none; }
.work-grid .frame { flex: none; width: 78vw; aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: var(--r-md); }
.work-hint { margin-top: 14px; font-size: 13.5px; color: var(--on-dark-2); display: flex; align-items: center; gap: 8px; }
@media (min-width: 768px) {
  .work-grid .frame { width: 46vw; }
}
@media (min-width: 1024px) {
  .work-grid {
    display: grid; overflow: visible; margin: 0; padding: 0; gap: 20px;
    grid-template-columns: repeat(12, 1fr); grid-auto-rows: 96px;
  }
  .work-grid .frame { width: auto; aspect-ratio: auto; }
  .work-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 20px; }
  .work-grid .frame { aspect-ratio: 4 / 5; }
  .work-hint { display: none; }
}

/* ─── Areas ─────────────────────────────────────────────────────────────── */
.areas { background: var(--ink-2); }
.town-list { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
.town-list li { border-bottom: 1px solid var(--line-dark); }
.town-list a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 18px 2px;
  font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(1.35rem, 1.2vw + 1rem, 1.9rem); font-weight: 500; letter-spacing: -0.03em; color: #fff;
}
.town-list a span { transition: transform .6s var(--ease); }
.town-list a svg { opacity: .45; transition: transform .6s var(--ease), opacity .3s var(--ease); }
.town-list a:hover span { transform: translateX(8px); }
.town-list a:hover svg { opacity: 1; transform: translateX(-4px); }
.town-list a:active { opacity: .6; }
@media (min-width: 768px) { .town-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-5); } }
.areas-note { margin-top: var(--s-4); color: var(--on-dark-2); font-size: 15px; }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; gap: var(--s-5); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .85fr 1.15fr; gap: var(--s-7); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: 24px 0; font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(1.15rem, .5vw + 1rem, 1.4rem); font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .pm { transform: rotate(90deg); }
.faq summary:active { opacity: .7; }
.pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease); }
.pm::before, .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .6s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] > summary .pm::after { transform: rotate(0deg); }
.faq-a { padding: 0 0 26px; color: var(--muted); max-width: 60ch; }
details[open] .faq-a { animation: rise .7s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ─── Quote ─────────────────────────────────────────────────────────────── */
.quote {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(143,208,218,.16), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(15,46,54,.9), transparent 70%),
    var(--ink);
  color: var(--on-dark);
}
.quote-grid { display: grid; gap: var(--s-5); align-items: start; }
.quote-intro .h-lg { margin-top: 18px; max-width: 12ch; color: #fff; }
.quote-intro .lede { margin-top: var(--s-3); }
.assure { list-style: none; display: grid; gap: 14px; }
.assure li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--on-dark-2); }
.assure b { display: block; color: #fff; font-weight: 600; }
.assure svg { flex: none; margin-top: 3px; color: var(--aqua); }
.call-line { margin-top: var(--s-4); display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform .5s var(--ease); }
.call-line:hover { transform: translateY(-2px); }
.call-line:active { transform: scale(.99); }
.call-line .ico { flex: none; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; background: var(--aqua); color: var(--ink); }
.call-line small { display: block; font-size: 13px; color: var(--on-dark-2); }
.call-line strong { display: block; font-family: 'Hanken Grotesk', sans-serif; font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }
@media (min-width: 1024px) {
  .quote-grid { grid-template-columns: .9fr 1.1fr; grid-template-areas: 'intro form' 'extra form'; column-gap: var(--s-7); row-gap: var(--s-5); }
  .quote-intro { grid-area: intro; } .quote-extra { grid-area: extra; } .form-card { grid-area: form; }
}

.form-card { position: relative; background: var(--paper); color: var(--text); border-radius: var(--r-lg); padding: 28px 20px 24px; box-shadow: var(--sh-3); }
@media (min-width: 560px) { .form-card { padding: var(--s-5); } }
.form-card h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.form-card .sub { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.fields { display: grid; gap: 18px; margin-top: var(--s-4); }
.row2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field label, .field .lbl { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.field .opt { font-weight: 400; color: var(--muted-2); }
.ctrl {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; font-size: 16px; color: var(--text);
  background-color: #fff; border: 1px solid rgba(12,22,32,.14); -webkit-appearance: none; appearance: none;
}
.ctrl::placeholder { color: #9aa1a7; }
.ctrl:hover { border-color: rgba(12,22,32,.3); }
.ctrl:focus { outline: none; border-color: var(--aqua-ink); box-shadow: 0 0 0 4px rgba(28,106,119,.14); }
.ctrl[aria-invalid="true"] { border-color: #C2413A; background-color: #FFF7F6; }
select.ctrl {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230C1620' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
textarea.ctrl { min-height: 110px; resize: vertical; }
.err { display: none; margin-top: 6px; font-size: 13.5px; color: #B0352E; }
.field.has-err .err { display: block; }
.more { border-radius: 12px; background: var(--stone); }
.more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); border-radius: 12px; }
.more summary::-webkit-details-marker { display: none; }
.more summary small { font-weight: 400; color: var(--muted); }
.more summary:hover .pm { transform: rotate(90deg); }
.more summary:active { opacity: .7; }
.more .pm { width: 30px; height: 30px; background: #fff; box-shadow: none; }
.more-body { padding: 4px 16px 16px; display: grid; gap: 18px; }
.more[open] .more-body { animation: rise .7s var(--ease); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(12,22,32,.16); font-size: 14.5px; font-weight: 500; transition: transform .35s var(--ease); }
.chip:hover span { box-shadow: inset 0 0 0 1px rgba(12,22,32,.34); }
.chip:active span { transform: scale(.96); }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--aqua-ink); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ts-slot:empty { display: none; }
.ts-slot { margin-top: var(--s-2); }
.form-msg { display: none; margin-top: var(--s-2); padding: 12px 14px; border-radius: 12px; font-size: 14.5px; background: #FFF1EF; color: #97291F; }
.form-msg.is-on { display: block; }
.submit { margin-top: var(--s-3); min-height: 58px; font-size: 16px; }
.submit .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .8s linear infinite; }
.submit.is-loading .spin { display: inline-block; }
.submit.is-loading .arr { display: none; }
.submit[disabled] { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.done { display: none; text-align: center; padding: var(--s-5) 0; }
.done .ok {
  position: relative; width: 64px; height: 64px; margin: 0 auto; border-radius: 999px;
  display: grid; place-items: center; background: var(--ink); color: var(--aqua);
}
.done .ok-ripple {
  position: absolute; inset: 0; border-radius: 999px; pointer-events: none;
  border: 1.5px solid rgba(143, 208, 218, .55); opacity: 0; transform: scale(.92);
}
.done .ok-check { display: block; }
.done .ok-check path {
  stroke-dasharray: 24; stroke-dashoffset: 0; /* finished state for reduced motion */
}
.done h3 { margin-top: var(--s-3); font-size: 2rem; }
.done p { margin-top: 10px; color: var(--muted); }
.form-card.is-done form { display: none; }
.form-card.is-done .done { display: block; }
/* Request-sent moment: card settles, check draws, one soft water ripple (~1.2s). */
.form-card.is-done { animation: done-settle 1.2s var(--ease) both; }
.form-card.is-done .done { animation: done-copy .7s var(--ease) .15s both; }
.form-card.is-done .ok { animation: done-ok .55s var(--ease) both; }
.form-card.is-done .ok-check path { animation: done-check .55s var(--ease) .22s both; }
.form-card.is-done .ok-ripple { animation: done-ripple .95s var(--ease) .28s both; }
@keyframes done-settle {
  from { transform: translateY(10px) scale(.985); }
  to { transform: none; }
}
@keyframes done-copy {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes done-ok {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: none; }
}
@keyframes done-check {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}
@keyframes done-ripple {
  0% { opacity: .55; transform: scale(.92); }
  100% { opacity: 0; transform: scale(1.9); }
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--on-dark-2); padding: var(--s-7) 0 calc(var(--s-4) + 84px); font-size: 15px; border-top: 1px solid var(--line-dark); }
@media (min-width: 1024px) { .footer { padding-bottom: var(--s-4); } }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-3); }
.foot-grid .logo { width: 190px; }
.foot-grid .logo .logo-white { opacity: 1; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: var(--s-2); max-width: 34ch; line-height: 1.6; }
.footer h4 { margin-bottom: 14px; font-family: 'Inter', sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { border-radius: 4px; }
.footer ul a:hover { color: #fff; }
.footer ul a:active { opacity: .6; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.foot-base { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; font-size: 13px; color: rgba(255,255,255,.45); }
.foot-base .lang { order: 0; }
@media (max-width: 639px) {
  .foot-base .lang { order: -1; width: 100%; }
}

/* ─── Sticky mobile CTA ─────────────────────────────────────────────────── */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(12,22,32,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -16px rgba(12,22,32,.6), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: translateY(calc(100% + 32px)); transition: transform .6s var(--ease);
}
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 48px; }
.mbar .btn-call { padding: 0 18px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.mbar .btn-call::before { background: #fff; }
@media (min-width: 1024px) { .mbar { display: none; } }

/* ─── Sub-page hero (towns) ────────────────────────────────────────── */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.page-hero--short { min-height: 0; background: var(--stone); color: var(--ink); }
.page-hero .hero-bg img { object-position: 50% 55%; }
.page-hero .hero-inner h1 { margin-top: 18px; max-width: 16ch; }
.page-hero .hero-inner p { margin-top: var(--s-3); max-width: 50ch; font-size: 17.5px; color: rgba(255,255,255,.8); }
.page-hero--short .hero-inner p { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; }
.page-hero--short .crumbs { color: var(--muted); }
.page-hero--short .crumbs a:hover { color: var(--ink); }

/* Town page body */
.town-grid { display: grid; gap: var(--s-5); }
@media (min-width: 960px) { .town-grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-7); align-items: start; } }
.town-copy p:not(.label) { font-size: 18px; line-height: 1.7; color: var(--muted); }
.town-copy p + p { margin-top: var(--s-2); }
.hoods { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); }
.hoods li { padding: 8px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.town-svc { list-style: none; border-top: 1px solid var(--line); }
.town-svc li { display: flex; justify-content: space-between; gap: var(--s-2); padding: 18px 0; border-bottom: 1px solid var(--line); }
.town-svc strong { font-family: 'Hanken Grotesk', sans-serif; font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; }
.town-svc span { color: var(--muted); font-size: 15px; text-align: right; }

/* ─── Phones and tablets: smooth first impression (images) ─────────────────
   No parallax here (site.js), a calm hero settle, and the work rail reveals
   as one finished piece: a fade, no zoom while swiping, and a plain tint
   instead of a blend mode (cheap to redraw while scrolling). */
@media (max-width: 1023px) {
  [data-parallax] { will-change: auto; }
  .js .work-grid .frame[data-reveal] { transform: none; transition: opacity .8s var(--ease); }
  .js .work-grid .frame[data-reveal] img { transform: none; transition: none; }
  .js .work-grid:not(.is-ready) .frame[data-reveal] { opacity: 0; }
  .frame--tint::before { mix-blend-mode: normal; background: linear-gradient(180deg, rgba(143,208,218,.06), rgba(12,22,32,.12)); }
}

/* ─── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero [data-reveal], .js .hero h1 .ln > span, .js .hero-bg img, .js .frame img, .js [data-reveal] .frame img { opacity: 1 !important; transform: none !important; }
  .js .qf-step.is-on { animation: none !important; }
  [data-parallax] { transform: none !important; }
  /* Thank-you state: skip settle/draw/ripple; keep the finished check only. */
  .form-card.is-done, .form-card.is-done .done, .form-card.is-done .ok { opacity: 1 !important; transform: none !important; }
  .form-card.is-done .ok-check path { stroke-dashoffset: 0 !important; }
  .form-card.is-done .ok-ripple { opacity: 0 !important; }
  /* Page changes: no crossfade when motion is off. */
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* ─── Mobile hero: photo first, one line of copy, one row of actions ────── */
@media (max-width: 767px) {
  .hide-sm { display: none; }
  .hero-bg::after {
    background:
      linear-gradient(to top, rgba(12,22,32,.92) 0%, rgba(12,22,32,.7) 26%, rgba(12,22,32,.12) 52%, rgba(12,22,32,0) 64%, rgba(12,22,32,.38) 100%);
  }
  .hero-inner { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .hero-kicker { font-size: 11.5px; letter-spacing: .16em; }
  .hero h1 { margin-top: 14px; font-size: clamp(2.7rem, 12.4vw, 3.4rem); line-height: .96; letter-spacing: -0.048em; }
  .hero-row { margin-top: 16px; gap: 22px; }
  .hero-row p { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.78); max-width: 30ch; }
  .hero-ctas { flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn-light { flex: 1; min-height: 56px; font-size: 16px; }
  .btn-call-hero { flex: none; width: 56px; min-height: 56px; padding: 0; }
  .hero-meta {
    display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
    margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16);
    font-size: 13px; color: rgba(255,255,255,.72);
  }
  .hero-meta > span:not(.scroll) { padding: 0 14px; border-left: 1px solid rgba(255,255,255,.16); white-space: nowrap; }
  .hero-meta > span:first-child { padding-left: 0; border-left: 0; }
  .hero-meta strong { display: inline; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0; }
  .hero-meta em { display: none; }
  }
@media (max-width: 359px) { .hero-meta > span:not(.scroll) { padding: 0 9px; } .hero-meta { font-size: 12px; } .hero-meta strong { font-size: 12px; } }
.show-sm { display: none; } @media (max-width: 767px) { .show-sm { display: inline; } }

/* ─── Step-by-step estimate form ─────────────────────────────────────────── */
.qf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.qf-count { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.qf-bar { margin-top: 14px; height: 3px; border-radius: 3px; background: var(--stone-2); overflow: hidden; }
.qf-bar i { display: block; height: 100%; background: var(--aqua-ink); transform-origin: left; transform: scaleX(.3333); transition: transform .7s var(--ease); }
.qf-step { border: 0; min-width: 0; margin-top: var(--s-4); }
.qf-q { display: block; padding: 0; font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(1.35rem, 1vw + 1.05rem, 1.6rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); }
.qf-q:focus { outline: none; }
.js .qf-step { display: none; }
.js .qf-step.is-on { display: block; animation: stepIn .6s var(--ease); }
.js .qf-step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.js .qf-count { visibility: visible; }
.qf-count, .qf-bar { visibility: hidden; }
.js .qf-bar { visibility: visible; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tile-b {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 74px; height: 100%;
  padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(12,22,32,.12);
  transition: transform .45s var(--ease), box-shadow .3s var(--ease);
}
.tile-b::after {
  content: ''; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(12,22,32,.2); transition: transform .45s var(--ease);
}
.tile-b strong { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.3; padding-right: 22px; }
.tile-b small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.tile:hover .tile-b { box-shadow: inset 0 0 0 1px rgba(12,22,32,.32); transform: translateY(-1px); }
.tile:active .tile-b { transform: scale(.97); }
.tile input:checked + .tile-b { background: var(--ink); box-shadow: 0 14px 28px -16px rgba(12,22,32,.7); }
.tile input:checked + .tile-b strong { color: #fff; }
.tile input:checked + .tile-b small { color: var(--aqua); }
.tile input:checked + .tile-b::after { box-shadow: none; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230C1620' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; animation: pop .45s var(--ease); }
@keyframes pop { from { transform: scale(.4); } to { transform: none; } }
.tile input:focus-visible + .tile-b { outline: 2px solid var(--aqua-ink); outline-offset: 2px; }
.tile--wide { grid-column: 1 / -1; }
.tile--wide .tile-b { min-height: 56px; }
.tiles--towns .tile-b { min-height: 54px; padding: 12px 14px; }
.tiles--towns .tile-b strong { font-size: 15px; }
.tiles--towns .tile-b::after, .tile--wide .tile-b::after { top: 50%; margin-top: -9px; }
@media (min-width: 560px) { .tiles--towns { grid-template-columns: repeat(3, 1fr); } .tiles--towns .tile--wide { grid-column: 1 / -1; } }
.qf-err { margin-top: 12px; }
.qf-step.has-err .qf-err { display: block; }

.qf-picked { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.qf-picked b { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--stone); color: var(--ink-3); font-weight: 600; font-size: 13.5px; }
.qf-picked button { font-size: 13.5px; font-weight: 600; color: var(--aqua-ink); padding: 6px 4px; border-radius: 6px; }
.qf-picked button:hover { text-decoration: underline; text-underline-offset: 3px; }
.qf-picked button:active { opacity: .6; }
.qf-step[data-step="3"] .fields { margin-top: 20px; }

.qf-foot { margin-top: var(--s-3); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qf-foot .form-note { margin: 0; text-align: right; flex: 1; }
.qf-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; margin-left: -10px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-3); transition: transform .45s var(--ease); }
.qf-back:hover { background: var(--stone); }
.qf-back:active { transform: scale(.96); }
.qf-back[hidden] { display: none; }
.qf-back[hidden] + .form-note { text-align: center; }

/* ─── Review (in the Our work header) ─────────────────────────────────────── */
.review { max-width: 460px; justify-self: end; }
.review .stars { display: flex; gap: 3px; color: #F2C66B; }
.review blockquote { margin-top: 14px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 500; font-size: clamp(1.15rem, .5vw + 1rem, 1.35rem); line-height: 1.4; letter-spacing: -0.015em; color: #fff; }
.review figcaption { margin-top: 14px; font-size: 14px; color: var(--on-dark-2); }
.review figcaption strong { color: #fff; font-weight: 600; }
@media (max-width: 959px) { .review { justify-self: start; } }

/* Footer town list: two columns */
.foot-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.foot-towns-col { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-towns-col { grid-column: auto; } .foot-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1fr; } }
.faq-a a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(12,22,32,.25); text-underline-offset: 3px; border-radius: 3px; }
.faq-a a:hover { text-decoration-color: currentColor; }
.faq-a a:active { opacity: .6; }

/* Phones and tablets: services as a clean list; photos live in "Our work" right below. */
@media (max-width: 1023px) {
  .svc-img { display: none; }
  .svc { padding: 26px 0; }
  .svc h3 { font-size: 1.6rem; }
}

/* Desktop: the hero headline sits on two lines */
@media (min-width: 900px) { .hero h1 { max-width: none; } .hero h1 .ln > span { white-space: nowrap; } }

/* ─── Cross-document page crossfade (View Transitions) ─────────────────────
   Soft fade between pages; the header keeps its own name so it stays put.
   Unsupported browsers ignore this and keep a normal cut. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .42s;
  animation-timing-function: var(--ease);
}
::view-transition-old(root) { animation-name: vt-fade-out; }
::view-transition-new(root) { animation-name: vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
/* Shared chrome: no morph/fade — header should feel fixed across navigations. */
::view-transition-group(site-header) { animation-duration: 0s; }
::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
  mix-blend-mode: normal;
  height: 100%;
  overflow: clip;
}
