/* VITAE — aesthetics & longevity. Clinical white, ink black; colour from skin, light and water. */
:root {
  --ink: #0c0d0e; --paper: #f6f5f3; --wh: #ffffff; --g: #75777a; --ln: rgba(0,0,0,.12); --sc: #00b7d8;
  --pad: clamp(16px, 2.4vw, 36px); --max: 1800px;
  --e: cubic-bezier(.16,1,.3,1); --io: cubic-bezier(.76,0,.24,1);
  --f: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; --m: "Geist Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.45; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, blockquote, figure, ol { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45; }
.dim { color: var(--g); }
.lead { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.45; }
.sec { padding: clamp(80px, 11vw, 170px) 0; position: relative; }
.iv { background: #ecebe8; }
.h2 { font-size: clamp(40px, 5.8vw, 116px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.hd { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 40px; margin-bottom: 54px; } .hd .mono:first-child { grid-column: 1 / -1; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 26px; background: var(--ink); color: var(--wh); border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 650; transition: background .35s, color .35s; white-space: nowrap; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); } .btn--ghost:hover { background: var(--ink); color: var(--wh); }
.btn--w { background: var(--wh); color: var(--ink); border-color: var(--wh); } .btn--w:hover { background: transparent; color: var(--wh); }
.btn--wg { background: transparent; color: var(--wh); border-color: rgba(255,255,255,.6); } .btn--wg:hover { background: var(--wh); color: var(--ink); }
.btn--full { width: 100%; }
.ch { display: flex; gap: 6px; flex-wrap: wrap; } .ch button { padding: 11px 18px; border: 1px solid var(--ln); border-radius: 999px; font-weight: 600; font-size: 14px; transition: background .3s, color .3s, border-color .3s; } .ch button:hover { border-color: var(--ink); } .ch button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, #3b3bff, #00b7ff 12%, #19d27a 28%, #ffd400 45%, #ff7a00 58%, #e3001b 70%, #8a0010 82%, #2a0006 100%); }
input[type=range]::-moz-range-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, #3b3bff, #00b7ff 12%, #19d27a 28%, #ffd400 45%, #ff7a00 58%, #e3001b 70%, #8a0010 82%, #2a0006 100%); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }

/* ---------- loader: ECG ---------- */
.pre { position: fixed; inset: 0; z-index: 9999; background: var(--wh); display: grid; place-items: center; align-content: center; gap: 12px; }
html:not(.js) .pre { display: none; }
.pre__ecg { width: min(560px, 80vw); height: 90px; } .pre__ecg path { fill: none; stroke: var(--sc); stroke-width: 2.5; stroke-dasharray: 700; stroke-dashoffset: 700; animation: ecg 1.5s linear forwards; } @keyframes ecg { to { stroke-dashoffset: 0; } }
.pre__n { font-size: clamp(80px, 13vw, 220px); font-weight: 200; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; } .pre__n small { font-size: .3em; }
body.ready .pre { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--io) .1s; }

/* ---------- transition: a scan line passes ---------- */
.sw { position: fixed; inset: 0; z-index: 9000; pointer-events: none; visibility: hidden; }
.sw::before { content: ""; position: absolute; inset: 0; background: var(--wh); clip-path: inset(0 0 100% 0); }
.sw__l { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--sc); box-shadow: 0 0 24px 6px rgba(0,183,216,.55); transform: translateY(-10px); }
.sw__t { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 0 var(--pad); opacity: 0; }
.sw__t b { font-size: clamp(56px, 10vw, 200px); font-weight: 200; letter-spacing: -.06em; line-height: .86; }
body.leaving .sw, body.arriving .sw { visibility: visible; pointer-events: auto; }
body.leaving .sw::before { clip-path: inset(0); transition: clip-path .75s var(--io); } body.leaving .sw__l { transform: translateY(100vh); transition: transform .75s var(--io); } body.leaving .sw__t { opacity: 1; transition: opacity .3s .5s; }
body.leaving .sw__t b { font-weight: 800; transition: font-weight .6s .5s; }
body.arriving .sw::before { clip-path: inset(0); } body.arriving .sw__t { opacity: 1; } body.arriving .sw__l { transform: translateY(100vh); }
body.arrived .sw::before { clip-path: inset(100% 0 0 0); transition: clip-path .8s var(--io); } body.arrived .sw__l { transform: translateY(-10px); transition: transform .8s var(--io); } body.arrived .sw__t { opacity: 0; transition: opacity .25s; }

/* ---------- nav ---------- */
.nv { position: fixed; left: 0; right: 0; top: 0; z-index: 600; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 18px var(--pad); color: #fff; mix-blend-mode: difference; }
.nv__lg { font-size: 22px; font-weight: 300; letter-spacing: .38em; line-height: 1; }
.nv__c b { font-weight: 500; }
.nv__r { justify-self: end; display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.nv__m { display: flex; align-items: center; gap: 10px; } .nv__m span { font-family: Georgia, serif; font-size: 20px; font-style: italic; } .nv__m i { width: 28px; height: 2px; background: currentColor; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; transition: box-shadow .4s var(--e); } .nv__m:hover i { box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor; }

/* ---------- menu: the prescription ---------- */
.rx { position: fixed; inset: 0; z-index: 800; background: rgba(12,13,14,.55); overflow: auto; visibility: hidden; opacity: 0; transition: opacity .5s, visibility 0s .5s; }
.rx.open { visibility: visible; opacity: 1; transition: opacity .5s; }
body.menu-open { overflow: hidden; }
.rx__sheet { position: relative; width: min(940px, calc(100% - 2 * var(--pad))); margin: 24px auto; min-height: calc(100vh - 48px); padding: clamp(24px, 4vw, 56px); background: #fffdf8; box-shadow: 0 40px 80px rgba(0,0,0,.35); display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 18px; transform: translateY(40px) rotate(-1deg); transition: transform .8s var(--e); background-image: repeating-linear-gradient(0deg, transparent 0 47px, rgba(0,120,200,.08) 47px 48px); }
.rx.open .rx__sheet { transform: none; }
.rx__head { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); } .rx__head div { display: grid; gap: 6px; } .rx__lg { font-size: 28px; font-weight: 300; letter-spacing: .38em; }
.rx__x { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; font: 650 14px var(--f); }
.rx__pt { display: flex; gap: 30px; flex-wrap: wrap; } .rx__pt b { font-weight: 500; color: #1d4fa8; }
.rx__big { font-family: Georgia, serif; font-size: 72px; line-height: 1; font-style: italic; }
.rx__l { list-style: none; padding: 0; display: grid; align-content: start; }
.rx__a { position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 12px; padding: 8px 0; }
.rx__a b { font-size: clamp(30px, 4.6vh, 56px); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; transition: font-weight .4s var(--e); pointer-events: none; }
.rx__a:hover b, .rx__a.on b { font-weight: 700; }
.rx__s { color: #1d4fa8; pointer-events: none; } .rx__n { pointer-events: none; }
.rx__ink { position: absolute; left: 40px; right: 0; bottom: 4px; height: 14px; overflow: visible; pointer-events: none; } .rx__ink path { fill: none; stroke: #1d4fa8; stroke-width: 2.5; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset .6s var(--e); }
.rx__a:hover .rx__ink path, .rx__a.on .rx__ink path { stroke-dashoffset: 0; }
.rx__f { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-top: 1px solid var(--ln); padding-top: 14px; }
.rx__sig { width: 220px; height: 60px; } .rx__sig path { fill: none; stroke: #1d4fa8; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; } .rx.open .rx__sig path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--io) .5s; }

/* ---------- 01 · HERO: the skin scan ---------- */
.sc { position: relative; height: 240vh; background: #e9e8ee; }
.sc__st { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; }
.sc__box { position: absolute; left: 36%; top: 50%; width: max(100vw, 150vh); aspect-ratio: 3 / 2; transform: translate(-50%, -50%) scale(var(--zm, 1)); transform-origin: 44% 40%; }
.sc__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc__g img { filter: grayscale(1) contrast(1.05) brightness(1.05); }
.sc__c { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--sx, 0%)) 0 0); }
.sc__line { position: absolute; top: 0; bottom: 0; left: var(--sx, 0%); width: 2px; margin-left: -1px; background: var(--sc); box-shadow: 0 0 18px 4px rgba(0,183,216,.6), 0 0 80px 20px rgba(0,183,216,.25); opacity: var(--slo, 1); }
.sc__p { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; opacity: 0; transition: opacity .5s; } .sc__p.on { opacity: 1; }
.sc__dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); } .sc__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--sc); animation: pulse 2.2s infinite; } @keyframes pulse { 50% { transform: scale(.55); } }
.sc__lb { position: absolute; left: 28px; top: -20px; display: grid; gap: 1px; padding: 8px 12px 9px; background: rgba(255,255,255,.92); white-space: nowrap; transform: translateX(-10px); opacity: 0; transition: opacity .5s .15s, transform .7s var(--e) .15s; }
.sc__lb::before { content: ""; position: absolute; top: 20px; right: 100%; width: 22px; height: 1px; background: #fff; }
.sc__lb--l { left: auto; right: 28px; } .sc__lb--l::before { right: auto; left: 100%; }
.sc__p.on .sc__lb { opacity: 1; transform: none; }
.sc__lb b { font-size: 24px; font-weight: 750; letter-spacing: -.03em; line-height: 1.05; }
.sc__lens { position: absolute; left: 0; top: 0; width: 150px; height: 150px; margin: -75px 0 0 -75px; border: 1.5px solid rgba(255,255,255,.95); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s; transform: translate(var(--lx, 0px), var(--ly, 0px)); box-shadow: 0 0 0 1px rgba(0,0,0,.08), inset 0 0 30px rgba(0,183,216,.25); }
.sc__lens::before, .sc__lens::after { content: ""; position: absolute; background: rgba(255,255,255,.9); } .sc__lens::before { left: 50%; top: -12px; bottom: -12px; width: 1px; } .sc__lens::after { top: 50%; left: -12px; right: -12px; height: 1px; }
.sc__lens span { position: absolute; left: 50%; top: calc(100% + 16px); transform: translateX(-50%); white-space: nowrap; padding: 3px 7px; background: var(--ink); color: #fff; }
.sc__st.lensing .sc__lens { opacity: 1; }
.sc__w { position: absolute; right: var(--pad); top: 50%; transform: translateY(-58%); display: flex; font-size: clamp(90px, 14vw, 300px); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: var(--ink); pointer-events: none; }
.sc__w span { display: block; font-variation-settings: "wght" var(--ww, 100); font-weight: var(--ww, 100); opacity: var(--wo, 0); transform: translateY(calc((1 - var(--wo, 0)) * 30px)); transition: opacity .6s calc(var(--i) * .06s), transform .9s var(--e) calc(var(--i) * .06s); }
.sc__top { position: absolute; left: 0; right: 0; top: 78px; display: flex; justify-content: space-between; }
.sc__side { position: absolute; right: var(--pad); top: calc(50% + 12vw); display: grid; grid-template-columns: auto auto; gap: 2px 20px; align-items: baseline; opacity: var(--so, 0); transition: opacity .6s; }
.sc__side b { font-size: clamp(30px, 3vw, 56px); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; } .sc__side .sc__ba { font-weight: 800; color: var(--sc); }
.sc__bot { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: space-between; align-items: end; gap: 30px; opacity: var(--bo, 1); } .sc__l { max-width: 420px; font-size: 18px; }

/* ---------- 02 · biological age ---------- */
.ba { position: relative; height: calc(var(--n) * 70vh + 100vh); background: var(--ink); color: #fff; --g: #9a9c9f; }
.ba__st { position: sticky; top: 0; height: 100vh; min-height: 620px; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.ba__l { display: grid; align-content: center; gap: 24px; padding-top: 60px; }
.ba__num { display: flex; align-items: baseline; gap: 18px; } .ba__num b { font-size: clamp(140px, 22vw, 420px); font-weight: 100; letter-spacing: -.07em; line-height: .78; font-variant-numeric: tabular-nums; font-variation-settings: "wght" var(--bw, 100); font-weight: var(--bw, 100); } .ba__num .mono { max-width: 110px; }
.ba__ss { position: relative; min-height: 140px; } .ba__s { position: absolute; inset: 0; display: grid; gap: 6px; align-content: start; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .7s var(--e); } .ba__s.on { opacity: 1; transform: none; }
.ba__s b { font-size: clamp(32px, 3vw, 56px); font-weight: 750; letter-spacing: -.04em; line-height: 1; } .ba__s p { max-width: 420px; } .ba__s > .mono:last-child { color: var(--sc); }
.ba__r { position: relative; } .ba__ph { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--io); } .ba__ph.on { clip-path: inset(0); } .ba__ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 03 · treatments tiles ---------- */
.tls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; } .tls--3 { grid-template-columns: repeat(3, 1fr); }
.tl { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; background: #000; } .tl.off { display: none; }
.tl > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e), filter .6s; } .tl:hover > img { transform: scale(1.06); }
.tl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent 55%); }
.tl__b { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: 24px; }
.tl__b b { font-size: clamp(28px, 2.6vw, 48px); font-weight: 750; letter-spacing: -.04em; line-height: .95; }
.tl__t { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--e), opacity .4s; } .tl:hover .tl__t, .tl:focus-visible .tl__t { max-height: 80px; opacity: 1; }

/* ---------- 04 · spectrum ---------- */
.spc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; align-items: center; }
.spc__ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--glow, #e3001b); } .spc__ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; } .spc__ph img.sw2 { opacity: 0; }
.spc__ph::after { content: ""; position: absolute; inset: 0; background: var(--glow, #e3001b); mix-blend-mode: soft-light; opacity: .55; transition: background .3s; }
.spc__ui { display: grid; gap: 16px; }
.spc__nm { font-size: clamp(90px, 11vw, 220px); font-weight: 200; letter-spacing: -.07em; line-height: .8; color: var(--glow, #e3001b); font-variant-numeric: tabular-nums; transition: color .3s; } .spc__nm small { font-size: .25em; letter-spacing: 0; margin-left: .1em; color: var(--ink); }
.spc__k { font-size: clamp(28px, 2.6vw, 48px); font-weight: 750; letter-spacing: -.04em; } .spc__d { max-width: 460px; min-height: 3em; color: var(--g); }
.spc__sc { display: flex; justify-content: space-between; }

/* ---------- 05 · biomarkers ---------- */
.lb2__g { display: grid; grid-template-columns: .9fr 1.3fr; gap: 5vw; align-items: start; } .lb2__t { display: grid; gap: 22px; justify-items: start; position: sticky; top: 110px; }
.bm { display: grid; gap: 4px; } .bm__tabs { margin-bottom: 14px; }
.bm__r { display: grid; grid-template-columns: 200px 1fr 130px; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--ln); }
.bm__n { display: grid; gap: 2px; } .bm__n b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.bm__bar { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, #e9e7e3, #d2f1e2 30%, #d2f1e2 70%, #e9e7e3); }
.bm__dot { position: absolute; top: 50%; left: var(--p, var(--pa)); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.3); transition: left 1.2s var(--e), background .4s; }
.bm.b .bm__dot { --p: var(--pb); background: #0aa36b; }
.bm__v { text-align: right; } .bm__v b { font-size: 30px; font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bm__f { margin-top: 14px; }

/* ---------- 06 · protocol (pinned horizontal) ---------- */
.pt { position: relative; height: 300vh; background: var(--wh); }
.pt__st { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: 96px 0 30px; }
.pt__track { min-width: 0; display: flex; gap: 2px; padding-left: var(--pad); margin-top: 30px; will-change: transform; }
.pt__i { flex: 0 0 min(36vw, 520px); display: grid; grid-template-rows: 1fr auto auto auto; gap: 8px; height: 100%; }
.pt__i img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.pt__d { font-size: clamp(40px, 4vw, 80px); font-weight: 200; letter-spacing: -.06em; line-height: .9; color: var(--sc); } .pt__i b { font-size: clamp(24px, 2vw, 36px); font-weight: 750; letter-spacing: -.035em; } .pt__i p { max-width: 380px; }
.pt__bar { margin-top: 20px; } .pt__bar::before { content: ""; display: block; height: 2px; background: var(--ln); } .pt__bar i { display: block; height: 2px; margin-top: -2px; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- doctors / clinic collage ---------- */
.dcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; } .dc { display: grid; gap: 8px; } .dc img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); transition: filter .6s; } .dc:hover img { filter: none; } .dc b { font-size: clamp(22px, 1.8vw, 32px); font-weight: 700; letter-spacing: -.035em; padding: 0 10px; } .dc .mono { padding: 0 10px; }
.cl2 { position: relative; height: 140vh; min-height: 900px; overflow: hidden; background: var(--paper); }
.cl2 > div[class^="cl2__"]:not(.cl2__t) { position: absolute; overflow: hidden; } .cl2 img { width: 100%; height: 100%; object-fit: cover; }
.cl2__a { left: var(--pad); top: 8%; width: 46vw; height: 58vh; } .cl2__b { right: var(--pad); top: 30%; width: 34vw; height: 50vh; } .cl2__c { left: 34vw; bottom: 6%; width: 26vw; height: 36vh; box-shadow: 0 30px 60px rgba(0,0,0,.2); }
.cl2__t { position: absolute; left: 0; right: 0; bottom: 8%; display: grid; gap: 22px; justify-items: end; text-align: right; z-index: 2; }

/* ---------- journal / band ---------- */
.jr__g { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4vw; }
.jr__f, .jr__i { display: grid; gap: 10px; align-content: start; } .jr__f b { font-size: clamp(28px, 3vw, 56px); font-weight: 750; letter-spacing: -.045em; line-height: .98; }
.jr__ph { display: block; overflow: hidden; } .jr__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--e); } a:hover .jr__ph img { transform: scale(1.05); }
.jr__l { display: grid; gap: 40px; align-content: start; } .jr__i { grid-template-columns: 1fr 1.2fr; gap: 6px 20px; } .jr__i .jr__ph { grid-row: span 2; } .jr__i b { font-size: clamp(20px, 1.8vw, 32px); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; } .jr__i .jr__ph img { aspect-ratio: 1; }
.jl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 2vw; } .jl .jr__f b { font-size: clamp(22px, 2vw, 38px); }
.jft { position: relative; display: block; height: 100vh; min-height: 600px; overflow: hidden; color: #fff; background: #000; }
.jft__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1.6s var(--e); } .jft:hover img { transform: scale(1.04); }
.jft__t { position: absolute; inset: auto 0 60px; display: grid; gap: 14px; } .jft__t b { font-size: clamp(40px, 6vw, 120px); font-weight: 800; letter-spacing: -.055em; line-height: .9; max-width: 14ch; } .jft__t .lead { max-width: 560px; }
.jn { width: min(460px, 100%); border-color: var(--ink) !important; }
.rb { position: relative; height: 100vh; min-height: 620px; overflow: hidden; color: #fff; background: #000; }
.rb__img { position: absolute; inset: 0; } .rb__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--rs, 1.15)); }
.rb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 60%); }
.rb__t { position: absolute; inset: 0; z-index: 1; display: grid; align-content: end; justify-items: start; gap: 20px; padding-bottom: 80px; }
.rb__h { font-size: clamp(50px, 7.4vw, 150px); font-weight: 800; letter-spacing: -.055em; line-height: .88; }

/* ---------- page head: scan from grey to colour ---------- */
.ph { position: relative; height: 180vh; background: #111; }
.ph__st { position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: hidden; color: #fff; }
.ph__ph { position: absolute; inset: 0; } .ph__ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--s, 1.06)); }
.ph__g img { filter: grayscale(1) brightness(.9); } .ph__c { clip-path: inset(0 0 calc(100% - var(--sy, 0%)) 0); }
.ph__line { position: absolute; left: 0; right: 0; top: var(--sy, 0%); height: 2px; margin-top: -1px; background: var(--sc); box-shadow: 0 0 18px 4px rgba(0,183,216,.6); opacity: var(--lo, 1); }
.ph__st::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%); pointer-events: none; }
.ph__t { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 1; display: grid; gap: 16px; }
.ph__h { font-size: clamp(56px, 9.6vw, 196px); font-weight: var(--hw, 200); letter-spacing: -.06em; line-height: .86; max-width: 13ch; }
.ph__row { display: flex; justify-content: space-between; align-items: end; gap: 30px; } .ph__l { max-width: 470px; font-size: 17px; }

/* ---------- inner blocks ---------- */
.st2 { display: grid; grid-template-columns: 1fr 2fr; gap: 30px 5vw; } .st2 .mono { grid-row: span 2; }
.st2__t { font-size: clamp(28px, 3vw, 56px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.n4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; } .n4 div { display: grid; gap: 8px; padding: 24px 0; border-top: 2px solid var(--ink); } .n4 b { font-size: clamp(32px, 4vw, 80px); font-weight: 750; letter-spacing: -.05em; line-height: .9; }
.ms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; } .ms__i { display: grid; gap: 10px; align-content: start; padding: 26px 20px 26px 0; border-top: 2px solid var(--ink); } .ms__n { font-size: clamp(56px, 5vw, 96px); font-weight: 100; letter-spacing: -.07em; line-height: .85; color: var(--sc); } .ms__i b { font-size: clamp(22px, 2vw, 34px); font-weight: 750; letter-spacing: -.035em; }
.gl { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 40vw 30vw; gap: 2px; } .gl__i { margin: 0; overflow: hidden; } .gl__i img { width: 100%; height: 100%; object-fit: cover; } .gl__i--0 { grid-row: span 2; }
.nx { position: relative; display: block; height: 90vh; overflow: hidden; background: #000; color: #fff; } .nx__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1.4s var(--e); } .nx:hover .nx__ph img { transform: scale(1.04); }
.nx__t { position: absolute; inset: auto 0 50px; z-index: 1; display: grid; gap: 10px; text-shadow: 0 4px 30px rgba(0,0,0,.3); } .nx__t b { font-size: clamp(56px, 8.6vw, 172px); font-weight: 800; letter-spacing: -.06em; line-height: .86; }
.sv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 2px; } .sv__i { display: grid; gap: 10px; align-content: start; } .sv__i img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .sv__i b { font-size: clamp(22px, 2vw, 34px); font-weight: 750; letter-spacing: -.035em; padding: 0 10px; } .sv__i p, .sv__i .mono { padding: 0 10px; }
.sp { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 90vh; } .sp--r { grid-template-columns: 1fr 1.2fr; } .sp--r .sp__ph { order: 2; } .sp:nth-child(even) { background: #ecebe8; }
.sp__ph { position: relative; overflow: hidden; } .sp__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp__b { display: grid; align-content: center; justify-items: start; gap: 18px; padding: 60px clamp(24px, 4vw, 80px); }
.sp__t { font-size: clamp(40px, 5vw, 100px); font-weight: 750; letter-spacing: -.055em; line-height: .9; }
.lbm { position: relative; min-height: 100vh; overflow: hidden; color: #fff; background: #000; display: grid; align-items: end; } .lbm__a { position: absolute; inset: 0; } .lbm__a img { width: 100%; height: 100%; object-fit: cover; } .lbm__t { position: relative; display: grid; gap: 18px; } .lbm .lead { max-width: 460px; }
.tbw { overflow-x: auto; } .tb { width: 100%; border-collapse: collapse; min-width: 720px; } .tb th { text-align: left; font: 500 11px var(--m); letter-spacing: .08em; text-transform: uppercase; color: var(--g); padding: 10px 8px; border-bottom: 2px solid var(--ink); vertical-align: bottom; } .tb td { padding: 18px 8px; border-bottom: 1px solid var(--ln); font-size: 17px; } .tb td b { font-size: 20px; font-weight: 750; }
.mb th { text-transform: none; letter-spacing: 0; color: var(--ink); font-family: var(--f); } .mb th b { display: block; font-size: clamp(28px, 3vw, 54px); font-weight: 750; letter-spacing: -.045em; } .mb th .mono { display: block; margin: 4px 0 10px; } .mb__p { display: block; font-size: 22px; font-weight: 600; } .mb__p small { font-size: 13px; color: var(--g); }
.mb td:not(:first-child), .mb th:not(:first-child) { text-align: center; width: 22%; } .mb tbody td:not(:first-child) { font-size: 20px; color: var(--sc); } .mb tfoot td { border: 0; padding-top: 26px; }

/* ---------- booking ---------- */
.bk { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5vw; align-items: start; }
.bk__cal { display: grid; gap: 14px; padding: 26px; background: var(--wh); }
.bk__mh { display: flex; justify-content: space-between; align-items: center; } .bk__mh b { font-size: 26px; font-weight: 700; letter-spacing: -.03em; } .bk__mh button { width: 44px; height: 44px; border: 1px solid var(--ln); border-radius: 50%; font-size: 18px; }
.bk__wd, .bk__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk__days button { aspect-ratio: 1; border-radius: 50%; font-size: 17px; font-weight: 600; transition: background .3s, color .3s; } .bk__days button:hover:not(:disabled) { background: #ecebe8; } .bk__days button.on { background: var(--ink); color: #fff; } .bk__days button:disabled { color: #c5c5c5; cursor: default; } .bk__days button.t { box-shadow: inset 0 0 0 1.5px var(--sc); }
.bk__slots { display: grid; gap: 10px; border-top: 1px solid var(--ln); padding-top: 14px; }
.br__g { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5vw; align-items: start; }
.br { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; } .br__w, .br .btn, .br__ok { grid-column: 1 / -1; }
.br label { display: grid; gap: 8px; } .br input, .br select, .br textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1.5px solid currentColor; background: transparent; font-size: 20px; outline: none; border-radius: 0; }
.br__ok, .ft__ok { display: none; } .sent .br__ok, .sent .ft__ok { display: block; }
.faq__g { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; }
.fq { border-top: 1px solid var(--ln); } .fq:last-child { border-bottom: 1px solid var(--ln); }
.fq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 50px 1fr 30px; align-items: center; gap: 10px; padding: 26px 0; font-size: clamp(20px, 1.7vw, 30px); font-weight: 650; letter-spacing: -.02em; } .fq summary::-webkit-details-marker { display: none; }
.fq summary i { position: relative; width: 22px; height: 22px; } .fq summary i::before, .fq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: currentColor; transition: transform .4s var(--e); } .fq summary i::after { transform: rotate(90deg); } .fq[open] summary i::after { transform: none; }
.fq p { margin: 0 0 26px 60px; max-width: 620px; font-size: 17px; color: var(--g); }
.ar__g { display: grid; grid-template-columns: 1.5fr 1fr; gap: 6vw; } .ar__b p { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.5; margin-bottom: 1.2em; } .ar__b p:first-child::first-letter { float: left; font-size: 5.2em; line-height: .8; font-weight: 200; margin: .04em .08em 0 0; color: var(--sc); }
.ar__s { display: grid; gap: 14px; align-content: start; position: sticky; top: 100px; } .ar__f img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; position: sticky; top: 100px; }
.aq { position: relative; height: 110vh; min-height: 640px; overflow: hidden; color: #fff; background: #000; display: grid; align-items: end; }
.aq__ph { position: absolute; inset: 0; } .aq__ph img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.aq__q { position: relative; padding-bottom: 80px; font-size: clamp(34px, 4.6vw, 92px); font-weight: 750; letter-spacing: -.05em; line-height: .98; max-width: 18ch; margin-left: 0; }
.nf { position: relative; height: 100vh; overflow: hidden; background: #000; } .nf__img { position: absolute; inset: 0; } .nf__img img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.nf__t { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 22px; color: #fff; } .nf__h { font-size: clamp(48px, 7vw, 140px); font-weight: 800; letter-spacing: -.055em; line-height: .88; max-width: 12ch; }

/* ---------- footer: an ECG through the name ---------- */
.ft { background: var(--ink); color: #fff; padding: clamp(80px, 9vw, 150px) 0 0; overflow: hidden; --g: #9a9c9f; }
.ft__g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 4vw; }
.ft__l { display: grid; gap: 20px; align-content: start; } .ft__h { font-size: clamp(24px, 2.2vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; max-width: 18ch; }
.ft__form { display: flex; border-bottom: 1.5px solid #fff; max-width: 460px; } .ft__form input { flex: 1; background: none; border: 0; padding: 16px 0; font-size: 18px; outline: none; } .ft__form button { font-weight: 700; }
.ft__c { display: grid; gap: 10px; align-content: start; } .ft__c a { font-size: 15px; transition: opacity .3s; } .ft__c a:hover { opacity: .6; }
.ft__w { position: relative; display: grid; place-items: center; padding-top: 50px; }
.ft__w b { font-size: 25vw; font-weight: var(--fw, 100); letter-spacing: -.06em; line-height: .78; }
.ft__w svg { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 30%; overflow: visible; } .ft__w path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ft__base { stroke: rgba(0,183,216,.22); }
.ft__pulse { stroke: var(--sc); stroke-dasharray: 90 1000; filter: drop-shadow(0 0 6px rgba(0,183,216,.9)); }
@keyframes ftpulse { from { stroke-dashoffset: 90; } to { stroke-dashoffset: -1000; } }
.ft__dot { fill: #fff; filter: drop-shadow(0 0 8px var(--sc)); }
.ft__b { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; color: var(--g); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nv__c, .nv__b { display: none; } .nv { grid-template-columns: 1fr auto; }
  .sc__box { left: calc(50% + max(100vw, 150vh) * .02); } .sc__w { font-size: 22vw; top: auto; bottom: 230px; transform: none; } .sc__side { top: 90px; right: var(--pad); } .sc__bot { flex-direction: column; align-items: start; } .sc__lb b { font-size: 17px; } .sc__lb { padding: 5px 8px; }
  .ba__st { grid-template-columns: 1fr; grid-template-rows: 1fr 40vh; } .ba__l { padding-top: 80px; gap: 10px; } .ba__num b { font-size: 34vw; }
  .tls, .tls--3, .dcs, .sv { grid-template-columns: 1fr 1fr; } .spc, .lb2__g, .jr__g, .faq__g, .ar__g, .br__g, .ft__g, .bk, .st2 { grid-template-columns: 1fr; } .lb2__t { position: static; }
  .bm__r { grid-template-columns: 1fr 100px; gap: 8px 14px; } .bm__bar { grid-column: 1 / -1; grid-row: 2; }
  .pt__i { flex-basis: 74vw; } .jl { grid-template-columns: 1fr; } .n4, .ms { grid-template-columns: 1fr 1fr; }
  .gl { grid-template-columns: 1fr; grid-template-rows: 60vw 60vw 60vw; } .gl__i--0 { grid-row: auto; }
  .sp, .sp--r { grid-template-columns: 1fr; } .sp--r .sp__ph { order: 0; } .sp__ph { min-height: 56vh; }
  .cl2 { height: auto; min-height: 0; display: grid; gap: 2px; padding-bottom: 60px; } .cl2 > div[class^="cl2__"]:not(.cl2__t) { position: relative; inset: auto; width: 100%; height: 50vh; transform: none !important; } .cl2__t { position: relative; inset: auto; justify-items: start; text-align: left; padding-top: 40px; }
  .ar__s, .ar__f img { position: static; } .hd { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .h2, .ph__h, .sp__t, .nf__h, .rb__h, .jft__t b { font-size: 10vw; } .nx__t b { font-size: 12vw; } .aq__q { font-size: 7.4vw; }
  .tls, .tls--3, .sv { grid-template-columns: 1fr; } .dcs { grid-template-columns: 1fr 1fr; }
  .br { grid-template-columns: 1fr; } .fq summary { grid-template-columns: 36px 1fr 26px; } .fq p { margin-left: 46px; } .ph__row { flex-direction: column; align-items: start; }
  .rx__a { grid-template-columns: 26px 1fr; } .rx__s { display: none; } .rx__a b { font-size: 7.4vw; } .rx__big { font-size: 48px; }
  .n4 > *, .ms > *, .dcs > * { min-width: 0; } .ms__i b, .dc b { font-size: 5vw; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.sc__p.near { opacity: 1; } .sc__p.near .sc__lb { opacity: 1; transform: none; }
