/* =========================================================
   Alpine Pools, v2
   Cinematic, dark pool-water luxury. Cormorant (display) + Montserrat (text).
   ========================================================= */

:root {
  --abyss: #051214;
  --deep: #0a1d20;
  --teal: #0e3f43;
  --aqua: #7fe6e8;
  --cyan: #22c9dc;
  --sand: #ede7dd;
  --stone: #d8cfc1;
  --ink: #0f1d1e;
  --ink-soft: #4c5a5a;
  --mist: rgba(237, 231, 221, .72);
  --hair-dark: rgba(237, 231, 221, .14);
  --hair-light: rgba(15, 29, 30, .14);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --brass: #c9a46c;

  --gutter: clamp(18px, 4.5vw, 72px);
  --max: 1440px;
  --sec: clamp(96px, 13vw, 200px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--sand);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--aqua); color: var(--abyss); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 300; padding: 12px 18px; background: var(--sand); color: var(--ink); border-radius: 999px; }
.skip:focus { top: 16px; }

/* ---------- type ---------- */
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 1.2rem + 5.2vw, 7.4rem);
  line-height: .94;
  letter-spacing: -.025em;
}
.h-display em { font-style: italic; color: var(--aqua); }
.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 26px; display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.kicker-light { color: var(--aqua); }

/* split text helpers */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.sw > span { display: inline-block; will-change: transform; }
.sc { display: inline-block; will-change: transform, opacity; }
.word-fill { opacity: .16; }

/* ---------- buttons ---------- */
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.pill svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.pill:hover svg { transform: translateX(4px); }
.pill::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, 0) scale(0); transition: transform .7s var(--ease-out);
}
.pill:hover::before { transform: translate(-50%, -62%) scale(1); }
.pill-light { background: var(--sand); color: var(--ink); }
.pill-light::before { background: var(--aqua); }
.pill-glass { background: rgba(237, 231, 221, .08); color: var(--sand); border: 1px solid rgba(237, 231, 221, .28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pill-glass::before { background: var(--sand); }
.pill-glass:hover { color: var(--ink); }
.pill-dark { background: var(--ink); color: var(--sand); }
.pill-dark::before { background: var(--teal); }
.pill-block { width: 100%; }

.text-link { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding-bottom: 6px; }
.text-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease-out); }
.text-link:hover::after { transform: scaleX(0); transform-origin: left; }
.text-link::before { content: ""; order: 2; width: 18px; height: 1px; background: currentColor; transition: width .4s var(--ease-out); }
.text-link:hover::before { width: 30px; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--abyss); animation: loaderFailsafe .6s 8s forwards; }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.no-loader .loader { display: none; }
.loader-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; }
.loader-mark { width: 64px; height: 64px; }
.loader-count { font-family: var(--serif); font-size: clamp(4rem, 12vw, 9rem); line-height: 1; overflow: hidden; font-weight: 300; font-variant-numeric: tabular-nums; }
.loader-year { display: inline-block; }
.loader-word { font-size: .75rem; letter-spacing: .5em; text-transform: uppercase; color: var(--mist); margin-right: -.5em; }
.loader-water { position: absolute; inset: auto 0 0 0; height: 0; background: linear-gradient(180deg, var(--cyan), var(--teal) 30%, var(--deep)); z-index: 1; }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 350; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--aqua); mix-blend-mode: difference; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(237, 231, 221, .5); display: grid; place-items: center; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .45s, border-color .45s; }
.cursor-label { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease-out); }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--aqua); }
.cursor.is-view .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--sand); border-color: var(--sand); }
.cursor.is-view .cursor-label { opacity: 1; transform: none; }
.cursor.is-view .cursor-dot { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* ---------- progress ---------- */
.progress { position: fixed; left: 0; top: 0; z-index: 210; width: 100%; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--aqua)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 200; transition: transform .6s var(--ease-out), background .5s; }
.header.is-scrolled { background: rgba(5, 18, 20, .62); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid var(--hair-dark); }
.header.is-hidden { transform: translateY(-110%); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 88px; padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; transition: height .5s var(--ease-out); }
.is-scrolled .header-inner { height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; position: relative; z-index: 2; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--sans); font-weight: 300; font-size: 1.32rem; letter-spacing: .34em; margin-right: -.34em; }
.brand-tag { font-size: .62rem; letter-spacing: .1em; color: var(--mist); margin-top: 5px; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 34px; }
.nav a { position: relative; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 8px 0; display: inline-block; }
.nav-list > li > a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: var(--aqua); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav-list > li > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-mobile-extra { display: none; }
.header-phone { font-size: .82rem; font-weight: 500; letter-spacing: .08em; color: var(--mist); transition: color .3s; }
.header-phone:hover { color: var(--aqua); }
.header-cta { min-height: 46px; padding: 0 22px; font-size: .72rem; }
.burger { display: none; }

@media (max-width: 1240px) { .header-phone { display: none; } }
@media (max-width: 980px) {
  .header-inner { height: 72px; gap: 16px; }
  .header-cta { display: none; }
  .burger { display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-left: auto; border-radius: 50%; border: 1px solid var(--hair-dark); position: relative; z-index: 2; }
  .burger i { display: block; width: 20px; height: 1.5px; background: var(--sand); transition: transform .5s var(--ease-out); }
  .burger[aria-expanded="true"] i:first-of-type { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 100px var(--gutter) 48px; background: var(--deep);
    clip-path: circle(0% at calc(100% - 44px) 36px); visibility: hidden;
    transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition-delay: 0s; }
  .nav.is-open .nav-list li:nth-child(3) a { transition-delay: .05s; } .nav.is-open .nav-list li:nth-child(4) a { transition-delay: .1s; }
  .nav.is-open .nav-list li:nth-child(5) a { transition-delay: .15s; }
  .nav-mobile-extra { display: grid; gap: 6px; margin-top: 40px; color: var(--mist); }
  .nav-mobile-extra a { text-transform: none; letter-spacing: .04em; font-size: .95rem; }
  .nav-mobile-extra .nav-phone { font-size: 1.4rem; color: var(--aqua); }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; transform: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.hero-media { position: absolute; inset: 0; }
.hero-img, .hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-img { transform: scale(1.08); }
.hero-gl { opacity: 0; transition: opacity 1.2s; }
.hero.gl-ready .hero-gl { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,18,20,.55) 0%, rgba(5,18,20,0) 26%),
    linear-gradient(90deg, rgba(5,18,20,.82) 0%, rgba(5,18,20,.45) 45%, rgba(5,18,20,.05) 75%),
    linear-gradient(0deg, rgba(5,18,20,.9) 0%, rgba(5,18,20,0) 40%);
}
.hero-content { position: relative; z-index: 2; align-self: end; padding-bottom: clamp(32px, 6vh, 72px); }
.hero-eyebrow { display: flex; align-items: center; gap: 16px; font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--aqua); margin-bottom: 28px; }
.line-dash { width: 48px; height: 1px; background: currentColor; flex-shrink: 0; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.6rem, 1rem + 10vw, 12rem);
  line-height: .88; letter-spacing: -.035em;
  margin-bottom: 34px; margin-left: -.04em;
}
.ht-row { display: block; }
.hero-title em { font-weight: 300; color: var(--aqua); }
.hero-sub { max-width: 34ch; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); line-height: 1.65; color: var(--mist); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; padding-bottom: 28px; }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.scroll-line { position: relative; width: 1px; height: 54px; background: rgba(237,231,221,.2); overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--aqua); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 110%; } }
.badge-spin { position: absolute; right: var(--gutter); bottom: 28px; width: 132px; height: 132px; display: grid; place-items: center; }
.badge-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-text text { font-family: var(--sans); font-size: 9.6px; font-weight: 600; letter-spacing: 2.4px; fill: var(--sand); }
.badge-mark { width: 34px; height: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .badge-spin { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,18,20,.95) 0%, rgba(5,18,20,.55) 50%, rgba(5,18,20,.35) 100%); }
  .hero-content { padding-bottom: 20px; }
  .hero-eyebrow { font-size: .64rem; letter-spacing: .2em; }
  .hero-actions .pill { flex: 1 1 100%; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--hair-dark); padding: 26px 0; background: var(--abyss); }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); font-style: italic; font-weight: 300; white-space: nowrap; color: var(--sand); }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(237, 231, 221, .55); font-style: normal; }
.marquee i { width: 14px; height: 14px; flex-shrink: 0; background: var(--cyan); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- intro ---------- */
.intro { padding-block: var(--sec); position: relative; }
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.intro-text { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 1rem + 3.4vw, 4.6rem); line-height: 1.08; letter-spacing: -.015em; max-width: 22ch; position: relative; z-index: 1; }
.intro-pics { position: absolute; right: var(--gutter); top: 0; bottom: 0; width: 28%; pointer-events: none; }
.ip { position: absolute; overflow: hidden; border-radius: 6px; }
.ip img { width: 100%; height: 100%; object-fit: cover; }
.ip-1 { width: 62%; aspect-ratio: 3 / 4; right: 0; top: -4%; }
.ip-2 { width: 70%; aspect-ratio: 16 / 10; left: 0; bottom: -6%; }
@media (max-width: 980px) {
  .intro-pics { position: relative; inset: auto; width: 100%; display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; margin-top: 40px; align-items: end; }
  .ip { position: relative; inset: auto; width: 100%; }
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(80px, 10vw, 160px); }
.stats > .stat { border-top: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark); }
.stats > .stat:nth-child(even) { border-left: 1px solid var(--hair-dark); }
.stats > .stat:nth-child(n+3) { border-top: 0; }
.stat { background: var(--abyss); padding: 34px 16px 34px 0; display: grid; gap: 10px; align-content: start; }
.stat:nth-child(even) { padding-left: 20px; }
.stat-num { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--sand); }
.stat-label { font-size: .86rem; color: var(--mist); max-width: 22ch; line-height: 1.5; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats > .stat:nth-child(n+3) { border-top: 1px solid var(--hair-dark); }
  .stats > .stat + .stat { border-left: 1px solid var(--hair-dark); }
  .stat { padding: 40px 28px; }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(even) { padding-left: 28px; }
}

/* ---------- services (horizontal) ---------- */
.services { position: relative; background: var(--sand); color: var(--ink); }
.services-pin { padding-block: 100px 40px; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.services-head .h-display { max-width: 16ch; font-size: clamp(2.4rem, 1.2rem + 3.4vw, 4.8rem); }
.services-hint { display: flex; align-items: center; gap: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.hint-line { width: 60px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.hint-line::after { content: ""; position: absolute; inset: 0; background: var(--cyan); animation: hint 1.8s var(--ease-io) infinite; }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.services-track { display: flex; gap: clamp(18px, 2.4vw, 36px); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); width: max-content; }
.panel { position: relative; flex: 0 0 auto; width: min(76vw, 1080px); height: min(calc(100svh - 320px), 640px); min-height: 420px; border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: 1.25fr 1fr; background: var(--abyss); color: var(--sand); }
.panel-img { position: relative; overflow: hidden; }
.panel-img img { position: absolute; top: 0; height: 100%; width: 120%; max-width: none; object-fit: cover; left: -10%; }
.panel-body { padding: clamp(28px, 3.4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; position: relative; }
.panel-no { position: absolute; top: clamp(24px, 3vw, 44px); right: clamp(24px, 3vw, 44px); font-family: var(--serif); font-size: clamp(4rem, 7vw, 8rem); font-weight: 300; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(127, 230, 232, .45); }
.panel h3 { font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.8rem); line-height: 1; letter-spacing: -.02em; }
.panel p { color: var(--mist); font-size: .98rem; max-width: 40ch; }
.panel .text-link { color: var(--aqua); align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) {
  .expand-frame::after { background: linear-gradient(0deg, rgba(5,18,20,.92) 0%, rgba(5,18,20,.7) 55%, rgba(5,18,20,.45) 100%); }
}
@media (max-width: 860px) {
  .services-pin { min-height: 0; }
  .services-track { flex-direction: column; width: auto; padding-inline: var(--gutter); }
  .services-hint { display: none; }
  .panel { width: 100%; height: auto; grid-template-columns: 1fr; }
  .panel-img { aspect-ratio: 4 / 3; }
  .panel-img img { width: 100%; left: 0; }
  .panel-no { top: 20px; right: 20px; font-size: 3.6rem; }
}

/* ---------- expanding reveal ---------- */
.expand { position: relative; background: var(--sand); }
.expand-pin { position: relative; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.expand-frame { position: absolute; inset: 0; clip-path: inset(18% 30% 18% 30% round 14px); will-change: clip-path; }
.expand-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.expand-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,18,20,.88), rgba(5,18,20,.4) 65%, rgba(5,18,20,.2)); opacity: var(--shade, 0); }
.expand-copy { position: relative; z-index: 2; color: var(--sand); opacity: 0; }
.expand-copy .h-display { font-size: clamp(3rem, 1.4rem + 6vw, 8rem); margin-bottom: 30px; }
.expand-text { max-width: 44ch; color: var(--mist); font-size: 1.05rem; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.chips li { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(237,231,221,.3); font-size: .78rem; letter-spacing: .06em; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(5,18,20,.25); }

/* ---------- process ---------- */
.process { padding-block: var(--sec); background: var(--sand); color: var(--ink); }
.process .kicker { color: var(--teal); }
.process-grid { display: grid; gap: 64px; }
.process-side .h-display { margin-bottom: 28px; max-width: 11ch; }
.process-note { color: var(--ink-soft); max-width: 36ch; margin-bottom: 36px; font-size: 1.02rem; }
.timeline-wrap { position: relative; }
.tl-rail { position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--hair-light); border-radius: 2px; overflow: hidden; }
.tl-water { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--teal)); transform-origin: 50% 0; transform: scaleY(0); }
.tl { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 0 0 46px; }
.tl:last-child { padding-bottom: 0; }
.tl-no { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); border: 1px solid var(--hair-light); font-family: var(--serif); font-size: 1.3rem; transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease-out); }
.tl.is-on .tl-no { background: var(--teal); color: var(--sand); border-color: var(--teal); transform: scale(1.06); }
.tl h3 { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1.1; margin: 10px 0 8px; }
.tl p { color: var(--ink-soft); max-width: 46ch; }
@media (min-width: 980px) {
  .process-grid { grid-template-columns: 5fr 7fr; gap: 100px; align-items: start; }
  .process-side { position: sticky; top: 130px; }
}

/* ---------- swim spas ---------- */
.spas { padding-block: var(--sec); position: relative; background: radial-gradient(120% 80% at 80% 0%, #0f3e43 0%, var(--deep) 45%, var(--abyss) 100%); overflow: hidden; }
.spas::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-radial-gradient(circle at 75% 15%, transparent 0 26px, rgba(127,230,232,.08) 27px, transparent 29px); -webkit-mask: radial-gradient(55% 45% at 75% 15%, #000, transparent); mask: radial-gradient(55% 45% at 75% 15%, #000, transparent); }
.spas-head { display: grid; margin-bottom: clamp(48px, 6vw, 90px); position: relative; }
.spas-head .h-display { margin-bottom: 26px; }
.spas-lede { color: var(--mist); max-width: 46ch; font-size: 1.05rem; }
@media (min-width: 980px) { .spas-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 80px; } .spas-head .kicker { grid-column: 1 / -1; } .spas-head .h-display { margin-bottom: 0; } }
.models { display: grid; gap: 22px; perspective: 1200px; position: relative; }
@media (min-width: 900px) { .models { grid-template-columns: repeat(3, 1fr); } }
.model { position: relative; border-radius: 14px; overflow: hidden; background: rgba(237,231,221,.05); border: 1px solid var(--hair-dark); transform-style: preserve-3d; transition: border-color .4s; }
.model:hover { border-color: rgba(127,230,232,.4); }
.model::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(127,230,232,.16), transparent 50%); opacity: 0; transition: opacity .4s; }
.model:hover::after { opacity: 1; }
.model-plan { position: relative; background: var(--sand); aspect-ratio: 16 / 10; overflow: hidden; }
.model-plan img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease-out); }
.model:hover .model-plan img { transform: scale(1.05); }
.model-body { padding: 28px; }
.model h3 { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.model-body > p { color: var(--mist); font-size: .9rem; margin: 6px 0 22px; }
.model dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; margin: 0; padding-top: 18px; border-top: 1px solid var(--hair-dark); }
.model dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.model dd { margin: 4px 0 0; font-weight: 500; font-size: .95rem; }
.spa-notes { display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--hair-dark); position: relative; }
.spa-notes p { color: var(--mist); font-size: .95rem; max-width: 40ch; }
.spa-notes strong { display: block; color: var(--sand); font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 6px; }
@media (min-width: 900px) { .spa-notes { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* ---------- gallery ---------- */
.work { padding-block: var(--sec) calc(var(--sec) * .6); background: var(--abyss); overflow: hidden; }
.work-head { margin-bottom: clamp(48px, 6vw, 90px); text-align: center; display: grid; justify-items: center; }
.work-head .kicker::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 24px); align-items: start; }
.col { display: grid; gap: clamp(10px, 1.6vw, 24px); }
.col[data-col="2"] { margin-top: 14vh; }
.g { display: block; padding: 0; border-radius: 8px; overflow: hidden; position: relative; background: var(--deep); }
.g img { width: 100%; transform: scale(1.12); transition: transform 1.4s var(--ease-out), filter .8s; filter: saturate(.9); }
.g:hover img { transform: scale(1.02); filter: saturate(1.1); }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,18,20,.4), transparent 40%); opacity: 0; transition: opacity .6s; }
.g:hover::after { opacity: 1; }
@media (max-width: 700px) {
  .cols { grid-template-columns: 1fr 1fr; }
  .col[data-col="3"] { display: none; }
  .col[data-col="2"] { margin-top: 60px; }
}

.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(5, 18, 20, .95); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .5s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--hair-dark); color: var(--sand); font-size: 1.8rem; display: grid; place-items: center; transition: background .3s, color .3s; }
.lightbox button:hover { background: var(--sand); color: var(--ink); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; } }

/* ---------- quote ---------- */
.quote { padding-block: calc(var(--sec) * .8) var(--sec); background: var(--abyss); text-align: center; }
.quote-mark { width: 54px; color: var(--cyan); margin: 0 auto 36px; }
.quote blockquote { margin: 0 auto; max-width: 1100px; }
.quote blockquote > p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(2rem, 1rem + 3.6vw, 4.8rem); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 40px; }
.quote footer { display: grid; gap: 4px; }
.q-name { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; }
.q-role { color: var(--mist); font-size: .88rem; }

/* ---------- faq ---------- */
.faq { padding-block: var(--sec); background: var(--sand); color: var(--ink); }
.faq .kicker { color: var(--teal); }
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 100px; } }
.faq-list { border-top: 1px solid var(--hair-light); }
.faq details { border-bottom: 1px solid var(--hair-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.2; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq summary i { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair-light); transition: background .4s, color .4s, transform .6s var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--ink); color: var(--sand); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--ink-soft); max-width: 62ch; padding-bottom: 28px; }

/* ---------- cta ---------- */
.cta { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: var(--abyss); }
.cta-bg { position: absolute; inset: -12% 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(5,18,20,.2), rgba(5,18,20,.92)); }
.cta-inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 56px; padding-block: 120px; }
.cta-title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 1rem + 8vw, 10rem); line-height: .92; letter-spacing: -.03em; max-width: 12ch; }
.cta-title em { color: var(--aqua); }
.cta-orb { width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--sand); color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; position: relative; isolation: isolate; }
.cta-orb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--aqua); border-radius: 50%; transform: scale(0); transition: transform .7s var(--ease-out); }
.cta-orb:hover::before { transform: scale(1); }
.cta-orb::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(237,231,221,.35); animation: ripple 2.6s var(--ease-out) infinite; }
@keyframes ripple { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }

/* ---------- contact ---------- */
.contact { padding-block: var(--sec); background: var(--sand); color: var(--ink); }
.contact .kicker { color: var(--teal); }
.contact-grid { display: grid; gap: 64px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 110px; } }
.contact-info .h-display { margin-bottom: 40px; max-width: 10ch; }
.contact-phone { display: inline-block; font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); line-height: 1; letter-spacing: -.01em; transition: color .3s; }
.contact-phone:hover { color: var(--teal); }
.contact-mail { display: block; margin: 14px 0 48px; font-size: 1.05rem; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(15,29,30,.3); }
.contact-cols { display: grid; gap: 32px; padding-top: 36px; border-top: 1px solid var(--hair-light); }
@media (min-width: 560px) { .contact-cols { grid-template-columns: 1fr 1fr; } }
.contact-cols h3 { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.contact-cols p { color: var(--ink-soft); margin-bottom: 14px; }

.form { display: grid; gap: 26px; align-self: start; background: #fff; padding: clamp(28px, 4vw, 56px); border-radius: 16px; box-shadow: 0 50px 100px -60px rgba(14,63,67,.55); }
.f { position: relative; }
.f input, .f textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(15,29,30,.22); padding: 26px 0 10px; border-radius: 0; resize: vertical; transition: border-color .3s; }
.f label { position: absolute; left: 0; top: 24px; font-size: 1rem; color: var(--ink-soft); pointer-events: none; transform-origin: 0 0; transition: transform .45s var(--ease-out), color .3s; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--teal); }
.f input:focus + label, .f input:not(:placeholder-shown) + label, .f textarea:focus + label, .f textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.78); color: var(--teal); }
.f::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.f:focus-within::after { transform: scaleX(1); }
.f input[aria-invalid="true"] { border-color: #b3362b; }
.f-row { display: grid; gap: 26px; }
@media (min-width: 620px) { .f-row { grid-template-columns: 1fr 1fr; } }
.f-choice { border: 0; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.f-choice legend { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.f-choice label { cursor: pointer; position: relative; }
.f-choice input { position: absolute; opacity: 0; pointer-events: none; }
.f-choice span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(15,29,30,.2); font-size: .86rem; transition: background .35s, color .35s, border-color .35s; }
.f-choice label:hover span { border-color: var(--teal); }
.f-choice input:checked + span { background: var(--teal); color: var(--sand); border-color: var(--teal); }
.f-choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.form-status { font-size: .92rem; min-height: 1.4em; margin-top: -8px; }
.form-status.ok { color: var(--teal); font-weight: 600; }
.form-status.err { color: #b3362b; }

/* ---------- fab ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 190; width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center; background: var(--aqua); color: var(--abyss); box-shadow: 0 14px 40px -12px rgba(127,230,232,.6); }
.fab svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .fab { display: grid; } }

/* ---------- initial states (JS only, before animations run) ---------- */
.js .hero-eyebrow, .js .hero-sub, .js .hero-actions, .js .hero-foot { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .hero-eyebrow, .js .hero-sub, .js .hero-actions, .js .hero-foot, .expand-copy { opacity: 1 !important; }
  .expand-frame { clip-path: none !important; }
  .expand-frame::after { opacity: 1; }
  .word-fill { opacity: 1 !important; }
  .loader { display: none; }
}

/* =========================================================
   Multi-page additions
   ========================================================= */

/* ---------- nav: active state + services dropdown ---------- */
.nav-list { display: flex; gap: 34px; align-items: center; }
.nav-list > li.is-active > a, .nav-list > li.is-active > .drop-btn { color: var(--aqua); }
.drop-btn { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 8px 0; }
.drop-btn svg { width: 10px; height: 10px; transition: transform .4s var(--ease-out); }
.has-drop { position: relative; }
.drop { position: absolute; left: 50%; top: calc(100% + 18px); width: 340px; padding: 12px; border-radius: 16px; background: rgba(10, 29, 32, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--hair-dark); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .35s, transform .5s var(--ease-out), visibility 0s .35s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.has-drop:hover .drop-btn svg, .has-drop.is-open .drop-btn svg { transform: rotate(180deg); }
.drop ul { display: grid; gap: 2px; }
.nav .drop a { display: grid; gap: 2px; padding: 12px 16px; border-radius: 10px; text-transform: none; letter-spacing: 0; transition: background .3s; }
.nav .drop a:hover, .nav .drop a[aria-current="page"] { background: rgba(127, 230, 232, .08); }
.drop a span { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.drop a small { font-size: .78rem; color: var(--mist); }
.nav .drop a::after { display: none; }
.nav-mobile-services { display: none; }
@media (max-width: 1240px) { .nav-list { gap: 24px; } }
@media (max-width: 980px) {
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-list .has-drop { display: none; }
  .nav .nav-list a { font-family: var(--serif); font-size: clamp(2.4rem, 10vw, 3.6rem); letter-spacing: -.01em; text-transform: none; font-weight: 400; line-height: 1.12; padding: 2px 0; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-out); }
  .nav .nav-list a::after { display: none; }
  .nav.is-open .nav-list a { opacity: 1; transform: none; }
  .nav-mobile-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
  .nav .nav-mobile-services a { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hair-dark); font-size: .82rem; text-transform: none; letter-spacing: .02em; }
  .nav { justify-content: flex-start; padding-top: 110px; overflow-y: auto; }
}

/* ---------- page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 390; pointer-events: none; visibility: hidden; }
.pt-water { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan) 0%, var(--teal) 18%, var(--deep) 60%, var(--abyss)); transform: translateY(101%); }
.pt-mark { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; opacity: 0; }
.pt-mark svg { width: 100%; height: 100%; }
.pt-in .pt { visibility: visible; }
.pt-in .pt-water { transform: none; }
.pt-in .pt-mark { opacity: 1; }

/* ---------- inner page hero ---------- */
.page-hero { height: 86svh; min-height: 600px; }
.page-title { font-size: clamp(3.4rem, 1rem + 8.4vw, 10.5rem); }
.crumbs { gap: 12px; color: var(--mist); font-size: .7rem; }
.crumbs a { color: var(--aqua); transition: color .3s; }
.crumbs a:hover { color: var(--sand); }
.crumbs span[aria-current] { color: var(--sand); }

/* ---------- section themes & spacing ---------- */
.s-dark { background: var(--abyss); color: var(--sand); }
.s-light { background: var(--sand); color: var(--ink); }
.s-light .kicker { color: var(--teal); }
.s-light .h-display em { color: var(--teal); }
.pad { padding-block: var(--sec); }
.pad-b { padding-bottom: var(--sec); }
.pad-t-0 { padding-top: 0 !important; }
.mt { margin-top: 18px; }
.center { text-align: center; display: grid; justify-items: center; }
.section-foot { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: center; position: relative; }
.intro-link { margin-top: 36px; color: var(--aqua); justify-self: start; }
.faq-more { margin-top: 28px; color: var(--teal); }

.sec-head { margin-bottom: clamp(44px, 5vw, 80px); }
.sec-head .h-display { max-width: 14ch; }
.sec-head-row { display: grid; gap: 24px; }
@media (min-width: 980px) { .sec-head-row { grid-template-columns: 1.1fr 1fr; align-items: end; column-gap: 80px; } }
.sec-lede { font-size: 1.05rem; max-width: 44ch; color: var(--ink-soft); }
.s-dark .sec-lede, .spas .sec-lede { color: var(--mist); }

/* ---------- lead statement ---------- */
.lead { padding-block: var(--sec); }
.lead-text { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 1rem + 3.2vw, 4.4rem); line-height: 1.1; letter-spacing: -.015em; max-width: 24ch; }

/* ---------- split text + image ---------- */
.split { padding-block: var(--sec); }
.split-grid { display: grid; gap: 48px; align-items: center; }
.split-media { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; }
.split-media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; }
.split-copy .h-display { margin-bottom: 28px; max-width: 13ch; }
.split-copy > p { max-width: 50ch; color: var(--ink-soft); margin-bottom: 18px; font-size: 1.02rem; }
.s-dark .split-copy > p { color: var(--mist); }
.split-copy .text-link, .split-copy .pill { margin-top: 18px; }
.split-copy .chips { margin-top: 26px; }
.chips-dark li { border-color: rgba(15,29,30,.2); background: transparent; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 980px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 110px; }
  .split-rev .split-media { order: -1; }
}

/* ---------- trust strip ---------- */
.trust { display: grid; gap: 1px; margin-top: clamp(56px, 7vw, 100px); background: var(--hair-dark); border: 1px solid var(--hair-dark); border-radius: 16px; overflow: hidden; }
.trust li { display: flex; gap: 18px; align-items: flex-start; padding: 30px 26px; background: var(--abyss); }
.trust .ico { width: 30px; height: 30px; flex-shrink: 0; color: var(--aqua); }
.trust h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; margin-bottom: 6px; }
.trust p { font-size: .88rem; color: var(--mist); line-height: 1.55; }
@media (min-width: 640px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.values { padding-block: var(--sec); }
.values .trust { margin-top: 0; }

/* ---------- services hover list ---------- */
.svc-list { position: relative; border-top: 1px solid var(--hair-light); }
.svc { position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 8px 28px; padding: 30px 0; border-bottom: 1px solid var(--hair-light); transition: padding .6s var(--ease-out), color .4s; }
.svc-no { font-family: var(--serif); font-size: 1.2rem; color: var(--ink-soft); }
.svc-title { font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -.02em; }
.svc-desc { grid-column: 2; font-size: .95rem; color: var(--ink-soft); max-width: 46ch; }
.svc-arrow { grid-row: 1 / span 2; grid-column: 3; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--hair-light); display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease-out); }
.svc-arrow .ico { width: 20px; height: 20px; }
.svc:hover { padding-left: 16px; color: var(--teal); }
.svc:hover .svc-arrow { background: var(--ink); color: var(--sand); transform: rotate(-45deg); }
.svc-float { position: fixed; left: 0; top: 0; z-index: 5; width: 300px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .svc { grid-template-columns: 1fr auto; } .svc-no { display: none; } .svc-title, .svc-desc { grid-column: 1; } .svc-arrow { grid-column: 2; width: 46px; height: 46px; } .svc-float { display: none; } }

/* ---------- feature cards ---------- */
.feature-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } .feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
.feature { position: relative; padding: 34px 30px 36px; border-radius: 16px; background: #fff; border: 1px solid var(--hair-light); overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.feature::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.feature:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(14,63,67,.45); }
.feature:hover::after { transform: scaleX(1); }
.feature .ico { width: 36px; height: 36px; color: var(--teal); margin-bottom: 26px; }
.feature h3 { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: .94rem; }
.feature-grid-dark .feature { background: rgba(237,231,221,.04); border-color: var(--hair-dark); }
.feature-grid-dark .feature .ico { color: var(--aqua); }
.feature-grid-dark .feature p { color: var(--mist); }

/* ---------- finishes drag strip ---------- */
.interiors { padding-block: var(--sec); overflow: hidden; }
.interiors .sec-head { margin-bottom: clamp(36px, 4vw, 60px); }
.finish-strip { display: flex; gap: 20px; overflow-x: auto; padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.finish-strip::-webkit-scrollbar { display: none; }
.finish-strip.is-dragging { cursor: grabbing; }
.finish { flex: 0 0 auto; width: min(76vw, 360px); }
.finish.f-wide { width: min(86vw, 620px); }
.finish img { width: 100%; height: clamp(320px, 48vh, 480px); object-fit: cover; border-radius: 12px; pointer-events: none; -webkit-user-drag: none; }
.finish figcaption { padding-top: 18px; }
.finish h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 6px; }
.finish p { color: var(--mist); font-size: .92rem; max-width: 36ch; }

/* ---------- steps row ---------- */
.steps-row { display: grid; gap: 1px; background: var(--hair-dark); border: 1px solid var(--hair-dark); border-radius: 16px; overflow: hidden; }
.steps-row li { background: var(--abyss); padding: 30px 26px; }
.steps-row span { font-family: var(--serif); font-size: 2.6rem; color: var(--aqua); line-height: 1; display: block; margin-bottom: 18px; }
.steps-row h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; margin-bottom: 8px; }
.steps-row p { color: var(--mist); font-size: .9rem; }
@media (min-width: 700px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps-row { grid-template-columns: repeat(5, 1fr); } }
.fine-print { margin-top: 36px; font-size: .88rem; color: var(--mist); max-width: 70ch; position: relative; }

/* ---------- trio cards ---------- */
.trio { display: grid; gap: 24px; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio-card figure { overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; margin-bottom: 22px; }
.trio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.trio-card:hover img { transform: scale(1.06); }
.trio-card h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 8px; }
.trio-card p { color: var(--ink-soft); font-size: .95rem; max-width: 40ch; }

/* ---------- option tiles ---------- */
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .option-grid { grid-template-columns: repeat(4, 1fr); } }
.option { padding: 26px 22px; border-radius: 14px; border: 1px solid var(--hair-dark); background: rgba(237,231,221,.03); transition: border-color .4s, background .4s; }
.option:hover { border-color: rgba(127,230,232,.4); background: rgba(127,230,232,.05); }
.option .ico { width: 28px; height: 28px; color: var(--aqua); margin-bottom: 18px; }
.option h3 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; margin-bottom: 6px; }
.option p { color: var(--mist); font-size: .85rem; line-height: 1.5; }

/* ---------- renovation rows ---------- */
.reno-rows { display: grid; gap: clamp(40px, 6vw, 80px); }
.reno-row { display: grid; gap: 28px; align-items: center; }
.reno-row figure { overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; }
.reno-row img { width: 100%; height: 100%; object-fit: cover; }
.reno-no { font-family: var(--serif); font-size: 1.2rem; color: var(--teal); display: block; margin-bottom: 10px; }
.reno-row h3 { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1.05; margin-bottom: 14px; }
.reno-row p { color: var(--ink-soft); max-width: 50ch; }
@media (min-width: 900px) { .reno-row { grid-template-columns: 1.1fr 1fr; gap: 80px; } .reno-row:nth-child(even) figure { order: 2; } }

/* ---------- note band ---------- */
.note-band { background: var(--teal); color: var(--sand); padding-block: 40px; }
.note-inner { display: flex; align-items: center; gap: 22px; }
.note-inner .ico { width: 40px; height: 40px; flex-shrink: 0; color: var(--aqua); }
.note-inner p { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); line-height: 1.2; }

/* ---------- visit card ---------- */
.visit-card { display: grid; gap: 18px; padding: 34px; border-radius: 16px; background: #fff; border: 1px solid var(--hair-light); }
.visit-card p { display: flex; gap: 16px; align-items: flex-start; color: var(--ink-soft); }
.visit-card .ico { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.visit-card a:not(.text-link) { color: var(--ink); font-weight: 600; }
.visit-card .text-link { justify-self: start; }

/* ---------- gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(40px, 5vw, 64px); }
.filter { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--hair-dark); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); transition: background .4s, color .4s, border-color .4s; }
.filter:hover { border-color: var(--aqua); color: var(--sand); }
.filter.is-on { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.masonry { columns: 2 160px; column-gap: 14px; }
.masonry .g { margin-bottom: 14px; break-inside: avoid; width: 100%; }
.masonry .g.is-hidden { display: none; }
@media (min-width: 800px) { .masonry { columns: 3; column-gap: 20px; } .masonry .g { margin-bottom: 20px; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }

/* ---------- FAQ page ---------- */
.faq-page { padding-block: var(--sec); }
.faq-page .faq-grid + .faq-grid { margin-top: clamp(64px, 8vw, 120px); }
.faq-side .h-display { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); }
@media (min-width: 980px) { .faq-side { position: sticky; top: 120px; align-self: start; } }

/* ---------- map ---------- */
.map-band { background: var(--sand); padding: 0 var(--gutter) var(--sec); }
.map-band iframe { display: block; width: 100%; max-width: var(--max); margin: 0 auto; height: clamp(360px, 50vh, 560px); border: 0; border-radius: 16px; filter: grayscale(.5) contrast(1.05); }

/* ---------- footer ---------- */
.footer { background: var(--abyss); padding-top: clamp(80px, 9vw, 130px); padding-bottom: 32px; overflow: hidden; border-top: 1px solid var(--hair-dark); }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-col h2 { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--aqua); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--sand); transition: color .3s; }
.footer-col li a:hover, .footer-col p a:hover { color: var(--aqua); }
.footer-col p { color: var(--mist); font-size: .94rem; margin-bottom: 14px; }
.footer-hours { font-size: .85rem !important; }
.footer-brand .brand { margin-bottom: 26px; }
.footer-tag { font-family: var(--serif); font-size: 1.7rem; font-style: italic; max-width: 22ch; line-height: 1.2; color: var(--sand) !important; }
.footer-word { overflow: hidden; line-height: .78; margin-top: clamp(60px, 8vw, 110px); }
.footer-word span { display: block; text-align: center; font-family: var(--sans); font-weight: 200; font-size: clamp(4rem, 19vw, 24rem); letter-spacing: .1em; padding-left: .1em; color: transparent; -webkit-text-stroke: 1px rgba(127,230,232,.35); background: linear-gradient(180deg, rgba(127,230,232,.25), transparent 70%); -webkit-background-clip: text; background-clip: text; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 28px; border-top: 1px solid var(--hair-dark); font-size: .8rem; color: var(--mist); }

/* ---------- icons ---------- */
.ico { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: middle; }
.pill .ico { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.pill:hover .ico { transform: translateX(4px); }
.fab .ico { width: 24px; height: 24px; }

/* ---------- light-section variants of shared pieces ---------- */
.stats-light { margin-top: 0; }
.stats-light > .stat { background: transparent; border-color: var(--hair-light) !important; }
.stats-light .stat-num { color: var(--ink); }
.stats-light .stat-label { color: var(--ink-soft); }
.s-light .split-media { box-shadow: 0 40px 80px -50px rgba(14,63,67,.5); }

@media (prefers-reduced-motion: reduce) {
  .pt { display: none; }
}

/* =========================================================
   v3: first-impression upgrades
   ========================================================= */
main > section, main > div { position: relative; }

/* ---------- hero slides ---------- */
.hero-img { opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero-img.is-active { opacity: 1; }
.hero.gl-ready .hero-img { opacity: 0; transition: none; }

.slider-ui { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 48px); }
.slide-cap { position: relative; height: 1.4em; min-width: 260px; overflow: hidden; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--sand); text-align: right; }
.slide-cap-inner { position: absolute; right: 0; top: 0; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform .9s var(--ease-out), opacity .6s; }
.slide-cap-inner.is-on { transform: none; opacity: 1; transition-delay: .35s; }
.slide-nav { display: flex; align-items: center; gap: 16px; }
.slide-count { font-family: var(--serif); font-size: 1.05rem; color: var(--mist); font-variant-numeric: tabular-nums; min-width: 64px; }
.slide-count b { font-weight: 500; color: var(--sand); font-size: 1.5rem; }
.slide-bars { display: flex; gap: 8px; }
.slide-bar { position: relative; width: 46px; height: 24px; padding: 0; }
.slide-bar::before, .slide-bar i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; }
.slide-bar::before { background: rgba(237, 231, 221, .25); }
.slide-bar i { background: var(--aqua); transform: scaleX(0); transform-origin: left; }
.slide-bar.is-done i { transform: scaleX(1) !important; transition: none !important; }
.slide-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(237, 231, 221, .28); display: grid; place-items: center; transition: background .35s, color .35s, border-color .35s; }
.slide-arrow svg { width: 18px; height: 18px; }
.slide-arrow:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); }
@media (max-width: 760px) {
  .hero-home .hero-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .slider-ui { justify-content: space-between; }
  .slide-cap { display: none; }
  .slide-bar { width: 30px; }
  .slider-ui { padding-right: 72px; }
  .im-word { letter-spacing: .02em; }
  .hero-home .scroll-cue { display: none; }
}

/* ---------- opening: the word ALPINE with the pool inside it ---------- */
.intro-mask { position: fixed; inset: 0; z-index: 395; pointer-events: none; display: none; }
.intro-mask.is-on { display: block; }
.im-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.im-fill { fill: var(--abyss); }
.im-word { font-family: var(--sans); font-weight: 700; letter-spacing: .04em; }
.im-tag { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; font-size: .74rem; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--aqua); margin-right: -.4em; }
.no-loader .intro-mask { display: none !important; }

/* ---------- water edges between dark and light sections ---------- */
.wave-edge { position: absolute; left: 0; right: 0; top: -1px; height: clamp(34px, 5vw, 70px); overflow: hidden; pointer-events: none; z-index: 2; color: var(--abyss); }
.wave-light { color: var(--sand); }
.wave { position: absolute; top: 0; left: 0; width: 200%; height: 100%; fill: currentColor; }
.wave.w1 { animation: waveX 16s linear infinite; }
.wave.w2 { fill: var(--cyan); opacity: .28; animation: waveX 11s linear infinite reverse; }
.wave-light .wave.w2 { fill: var(--aqua); opacity: .2; }
@keyframes waveX { to { transform: translateX(-50%); } }
.services .wave-edge { z-index: 3; }

/* ---------- ghost text ---------- */
.ghost { overflow: hidden; margin-top: clamp(70px, 9vw, 140px); pointer-events: none; user-select: none; }
.ghost span { display: block; white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(5rem, 13vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(127, 230, 232, .22); will-change: transform; }
.ghost + .stats { margin-top: clamp(40px, 5vw, 80px); }

/* ---------- services progress ---------- */
.svc-progress { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1.1rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.svc-cur { color: var(--ink); font-size: 1.6rem; min-width: 2ch; }
.svc-line { position: relative; width: 120px; height: 2px; background: rgba(15, 29, 30, .15); border-radius: 2px; overflow: hidden; }
.svc-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--cyan), var(--teal)); transform: scaleX(0); transform-origin: left; }
@media (max-width: 860px) { .svc-progress { display: none; } }

/* ---------- click ripples ---------- */
.ripple { position: fixed; z-index: 345; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1.5px solid var(--aqua); pointer-events: none; animation: rippleOut .9s var(--ease-out) forwards; }
.ripple.r2 { animation-delay: .12s; opacity: 0; }
@keyframes rippleOut { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(9); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .intro-mask { display: none !important; }
  .wave { animation: none !important; }
}

/* =========================================================
   v4: Instrument Serif + Manrope, live pool hero, stacking cards, 3D ring
   ========================================================= */
.kicker { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .26em; }
.pill { font-family: var(--sans); font-weight: 700; letter-spacing: .12em; font-size: .78rem; }
.nav a, .drop-btn { font-family: var(--sans); font-weight: 600; letter-spacing: .14em; }
.brand-name { font-weight: 300; }
.lead-text, .intro-text { font-size: clamp(2.2rem, 1rem + 3.6vw, 5rem); line-height: 1.04; }
.tl h3, .feature h3, .trio-card h3, .reno-row h3, .finish h3, .option h3, .steps-row h3 { font-family: var(--serif); }
.faq summary { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem); }
.page-title { font-size: clamp(3.6rem, 1rem + 9vw, 11.5rem); line-height: .9; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 400; background: var(--abyss); display: grid; place-content: center; justify-items: center; gap: 26px; animation: loaderFailsafe .6s 9s forwards; will-change: transform; }
.no-loader .loader { display: none; }
.ld-word { display: flex; font-family: var(--sans); font-weight: 200; font-size: clamp(3.2rem, 11vw, 10rem); letter-spacing: .14em; margin-right: -.14em; line-height: 1; overflow: hidden; }
.ld-word span { display: inline-block; will-change: transform; }
.js .ld-word span { opacity: 0; }
.ld-meta { display: flex; justify-content: space-between; gap: 40px; width: min(80vw, 560px); font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mist); }
.ld-pct { color: var(--aqua); font-variant-numeric: tabular-nums; }
.ld-bar { width: min(80vw, 560px); height: 1px; background: rgba(237,231,221,.15); overflow: hidden; }
.ld-bar i { display: block; height: 100%; background: var(--aqua); transform: scaleX(0); transform-origin: left; }

/* ---------- live pool hero ---------- */
.h4 { position: relative; height: 100svh; min-height: 660px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; background: #062a2e; color: var(--sand); }
.h4-fallback, .pool-gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pool-gl { opacity: 0; transition: opacity 1.6s ease; touch-action: pan-y; }
.h4.pool-ready .pool-gl { opacity: 1; }
.h4-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3,16,19,.72) 0%, rgba(3,16,19,.25) 50%, rgba(3,16,19,0) 75%), linear-gradient(0deg, rgba(3,16,19,.7) 0%, rgba(3,16,19,0) 35%), linear-gradient(180deg, rgba(3,16,19,.5) 0%, rgba(3,16,19,0) 22%); }
.h4-meta { position: relative; z-index: 2; display: flex; gap: clamp(18px, 4vw, 64px); padding-top: 116px; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(237,231,221,.7); pointer-events: none; }
.h4-meta span { display: flex; align-items: center; gap: 12px; }
.h4-meta span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); }
.h4-main { position: relative; z-index: 2; align-self: end; display: grid; gap: 36px; padding-bottom: 40px; pointer-events: none; }
.h4-main a, .h4-main button { pointer-events: auto; }
.h4-title { font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 1rem + 11.5vw, 14rem); line-height: .84; letter-spacing: -.035em; }
.h4-line { display: block; overflow: hidden; padding-bottom: .06em; }
.h4-line > span { display: inline-block; will-change: transform; }
.h4-indent { padding-left: .9em; }
.h4-title em { font-style: italic; color: var(--aqua); }
.h4-side { display: grid; gap: 28px; max-width: 520px; }
.h4-sub { font-size: clamp(1.02rem, .9rem + .4vw, 1.22rem); line-height: 1.6; color: rgba(237,231,221,.82); }
.h4-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1100px) {
  .h4-main { grid-template-columns: 1fr 400px; align-items: end; column-gap: 60px; }
  .h4-side { padding-bottom: 1.4vw; }
}
.h4-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; pointer-events: none; }
.h4-foot a { pointer-events: auto; }
.h4-touch { display: flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(237,231,221,.75); }
.touch-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); }
.touch-dot::before, .touch-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--aqua); animation: touchRing 2.4s var(--ease-out) infinite; }
.touch-dot::after { animation-delay: 1.2s; }
@keyframes touchRing { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.h4-scroll { width: 30px; height: 50px; border-radius: 20px; border: 1.5px solid rgba(237,231,221,.5); display: grid; justify-items: center; padding-top: 9px; }
.h4-scroll span { width: 3px; height: 9px; border-radius: 3px; background: var(--aqua); animation: wheel 1.8s var(--ease-io) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) {
  .h4-meta { padding-top: 92px; font-size: .62rem; letter-spacing: .16em; flex-wrap: wrap; gap: 10px 18px; }
  .h4-meta span:last-child { display: none; }
  .h4-indent { padding-left: .5em; }
  .h4-actions .pill { flex: 1 1 100%; }
  .h4-touch { font-size: .68rem; }
  .h4-shade { background: linear-gradient(0deg, rgba(3,16,19,.9) 0%, rgba(3,16,19,.4) 55%, rgba(3,16,19,.3) 100%); }
}

/* ---------- statement with images inside the sentence ---------- */
.story { background: var(--sand); color: var(--ink); padding-block: calc(var(--sec) * 1.05) var(--sec); }
.story .kicker { color: var(--teal); }
.story-text { font-family: var(--serif); font-size: clamp(2.3rem, .9rem + 4.4vw, 6.2rem); line-height: 1.06; letter-spacing: -.02em; max-width: 17ch; }
.story-text em { font-style: italic; color: var(--teal); }
.pic { display: inline-block; vertical-align: middle; height: .82em; width: 1.9em; margin: -.1em .06em 0; border-radius: 999px; overflow: hidden; transform-origin: center; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.story-foot { margin-top: 44px; }
.story-foot .text-link { color: var(--teal); }
.story-stats { margin-top: clamp(70px, 9vw, 130px); }
@media (min-width: 1200px) { .story-text { max-width: 19ch; } }

/* ---------- stacking service cards ---------- */
.stack { background: var(--abyss); padding-block: var(--sec); }
.stack .sec-head .h-display { max-width: 12ch; }
.stack-cards { display: grid; gap: 28px; }
.scard { position: sticky; top: 104px; display: grid; grid-template-columns: 1fr; border-radius: 22px; overflow: hidden; background: #f4efe7; color: var(--ink); min-height: min(72vh, 640px); box-shadow: 0 -30px 60px -40px rgba(0,0,0,.6); transform-origin: 50% 0; will-change: transform; }
.scard:nth-child(2) { top: 122px; } .scard:nth-child(3) { top: 140px; } .scard:nth-child(4) { top: 158px; } .scard:nth-child(5) { top: 176px; }
.scard-img { position: relative; overflow: hidden; min-height: 260px; }
.scard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.scard:hover .scard-img img { transform: scale(1.02); }
.scard-body { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.scard-no { font-size: .74rem; font-weight: 700; letter-spacing: .24em; color: var(--teal); }
.scard h3 { font-family: var(--serif); font-size: clamp(2.6rem, 1.4rem + 3.4vw, 5.2rem); line-height: .95; letter-spacing: -.025em; }
.scard p { color: var(--ink-soft); max-width: 44ch; font-size: 1.02rem; }
.scard-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.scard-tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(15,29,30,.18); font-size: .8rem; font-weight: 600; }
.scard .pill { align-self: flex-start; margin-top: 8px; }
.scard-shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; border-radius: inherit; }
@media (min-width: 900px) { .scard { grid-template-columns: 1.1fr 1fr; } }
@media (max-width: 899px) { .scard { position: relative; top: auto !important; min-height: 0; } .scard-img { aspect-ratio: 4 / 3; } }

/* ---------- 3D ring gallery ---------- */
.ring-sec { background: radial-gradient(90% 70% at 50% 55%, #0e3a3f 0%, var(--deep) 45%, var(--abyss) 80%); overflow: hidden; }
.ring-pin { position: relative; height: 100svh; min-height: 680px; display: grid; grid-template-rows: auto 1fr auto; padding-block: 110px 40px; }
.ring-head { text-align: center; display: grid; justify-items: center; position: relative; z-index: 2; }
.ring-head .kicker::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.ring-stage { position: relative; perspective: 1700px; perspective-origin: 50% 40%; display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; }
.ring-stage.is-dragging { cursor: grabbing; }
.ring { position: relative; width: var(--item-w, 300px); height: calc(var(--item-w, 300px) * 1.25); transform-style: preserve-3d; will-change: transform; }
.ring-item { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; padding: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); background: var(--deep); }
.ring-item img { width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; pointer-events: none; -webkit-user-drag: none; }
.ring-item::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); transition: opacity .2s; }
.ring-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; position: relative; z-index: 2; }
.ring-hint { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
@media (max-width: 700px) { .ring-foot { flex-direction: column; } .ring-pin { padding-top: 96px; } }

/* ---------- process with rolling number ---------- */
.steps4 { background: var(--sand); color: var(--ink); padding-block: var(--sec); }
.steps4 .kicker { color: var(--teal); }
.steps4-grid { display: grid; gap: 56px; }
.big-no { height: 1em; overflow: hidden; font-family: var(--serif); font-size: clamp(7rem, 4rem + 10vw, 15rem); line-height: 1; letter-spacing: -.04em; color: var(--teal); margin: 6px 0 24px; }
.big-no-roll { display: flex; flex-direction: column; will-change: transform; }
.big-no-roll span { height: 1em; display: block; }
.steps4-title { font-size: clamp(2.4rem, 1.2rem + 3vw, 4.6rem); max-width: 11ch; margin-bottom: 22px; }
.steps4 .timeline { display: grid; gap: 14px; }
.steps4 .tl { grid-template-columns: 64px 1fr; padding: 28px 30px; border-radius: 18px; background: #fff; border: 1px solid var(--hair-light); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s; }
.steps4 .tl.is-on { border-color: rgba(14,63,67,.35); box-shadow: 0 30px 60px -40px rgba(14,63,67,.5); transform: translateX(-8px); }
.steps4 .tl-no { width: 52px; height: 52px; font-size: 1.15rem; }
.steps4 .tl h3 { margin-top: 6px; }
@media (min-width: 980px) { .steps4-grid { grid-template-columns: 5fr 7fr; gap: 90px; align-items: start; } .steps4-side { position: sticky; top: 110px; } }
@media (max-width: 979px) { .big-no { display: none; } }

/* ---------- trust + quote ---------- */
.trust-sec { background: var(--abyss); padding-bottom: var(--sec); }
.trust-sec .marquee { border-top: 0; }
.quote4 { text-align: center; padding-block: clamp(80px, 10vw, 150px) clamp(60px, 7vw, 100px); }
.quote4 blockquote { max-width: 1100px; margin: 0 auto; }
.quote4 blockquote > p { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 1rem + 3.8vw, 5.2rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 40px; }
.quote4 footer { display: grid; gap: 4px; }
.trust-sec .trust { margin-top: 0; }

/* =========================================================
   v4.1 fixes
   ========================================================= */

/* italic letters (like the 2 in 1972) lean past their box: give the reveal masks room */
.sw { padding-right: .14em; margin-right: -.14em; }
.h4-line { padding-right: .18em; margin-right: -.18em; }

/* logo lockup: mark + ALPINE + POOLS & LANDSCAPE CONSTRUCTION (matches the supplied logo) */
.brand { gap: 14px; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { gap: 6px; }
.brand-name { font-family: "Montserrat", var(--sans); font-weight: 300; font-size: 1.42rem; letter-spacing: .36em; margin-right: -.36em; line-height: 1; }
.brand-tag { font-family: "Montserrat", var(--sans); font-weight: 300; font-size: .5rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(237, 231, 221, .78); margin-top: 0; white-space: nowrap; }
@media (max-width: 420px) { .brand-name { font-size: 1.2rem; } .brand-tag { font-size: .44rem; letter-spacing: .18em; } .brand-mark { width: 34px; height: 34px; } }

/* footer wordmark drawn as SVG: round joins keep every corner clean */
.footer-word { overflow: hidden; line-height: 0; margin-top: clamp(60px, 8vw, 110px); padding-inline: var(--gutter); }
.footer-word svg { display: block; width: 100%; max-width: 1500px; height: auto; margin: 0 auto; overflow: visible; }
/* filled, no outline: the font builds letters from overlapping shapes, and an outline would trace every overlap */
.footer-word text { font-family: "Montserrat", var(--sans); font-weight: 300; font-size: 168px; fill: url(#fw-grad); stroke: none; }

/* Our work: a normal section you can scroll straight past (no pinning) */
.ring-pin { height: auto; min-height: 0; padding-block: clamp(100px, 12vw, 170px) clamp(70px, 8vw, 110px); gap: clamp(30px, 4vw, 56px); }
.ring-stage { height: clamp(360px, 46vw, 520px); }

/* hero without the water canvas (e.g. Softfall): show the photo straight away */
.hero-media:not(:has(.hero-gl)) .hero-img { opacity: 1; }

/* photo viewer: the custom cursor sits beneath the open dialog, so give the viewer the normal cursor */
.has-cursor .lightbox, .has-cursor .lightbox img { cursor: auto; }
.has-cursor .lightbox button { cursor: pointer; }
html:has(.lightbox[open]) .cursor { opacity: 0 !important; }

/* Our work ring: keep its depth shading on hover instead of the old gallery overlay */
.ring-item::after { background: #000; opacity: var(--dim, 0); }
.ring-item:hover::after { opacity: calc(var(--dim, 0) * .5); background: #000; }

/* softfall: row of real project photos */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.photo-row .g { aspect-ratio: 4 / 3; }
.photo-row .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.photo-row .g:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row .g:first-child { grid-column: 1 / -1; } }

/* footer credit link */
.footer-meta a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(127, 230, 232, .35); transition: color .3s, border-color .3s; }
.footer-meta a:hover { color: #7fe6e8; border-color: #7fe6e8; }

/* Our work ring: smooth spin. The shading changes every frame, so it must not transition;
   flat shadows are cheaper to redraw while 13 cards turn in 3D. */
.ring-item { box-shadow: none; transform-style: flat; contain: paint; }
.ring-item::after { transition: none; will-change: opacity; }
.ring-item:hover::after { transition: opacity .25s; }
.ring-item img { transform: translateZ(0); }
