/* Harbour Physio. Movement made visible.
   Tokens first: colour, type, spacing, grid. */
:root {
  --white: #FFFFFF;
  --teal: #00363F;
  --ice: #DDEBFF;
  --lime: #C8F25A;
  --grey: #6B7A80;
  --ink: var(--teal);
  --ink-2: #3F666D;            /* secondary text, 6.3:1 on white, 5.2:1 on ice */
  --line: rgba(0, 54, 63, .16);
  --line-2: rgba(0, 54, 63, .32);
  --line-inv: rgba(221, 235, 255, .22);

  --f-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* type scale */
  --t-hero: clamp(2.5rem, .9rem + 3.95vw, 4.6rem);
  --t-h1: clamp(2.375rem, 1rem + 3.4vw, 4.25rem);
  --t-h2: clamp(1.875rem, 1.1rem + 2.1vw, 3.25rem);
  --t-h3: clamp(1.5rem, 1.15rem + .95vw, 2.125rem);
  --t-lead: clamp(1.0625rem, .98rem + .3vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-s: .9375rem;
  --t-xs: .8125rem;

  /* spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 136px;
  --sec: clamp(72px, 9vw, 152px);

  /* grid */
  --m: clamp(20px, 4.45vw, 72px);
  --g: clamp(12px, 1.67vw, 28px);
  --maxw: 1720px;
  --hd: 68px;

  --ease: cubic-bezier(.22, .61, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
}
@media (max-width: 820px) { :root { --hd: 60px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-sans); font-size: var(--t-body); line-height: 1.55;
  font-weight: 400; font-feature-settings: 'ss01' 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
.mono { font-family: var(--f-mono); font-feature-settings: 'zero' 0; letter-spacing: -.01em; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--lime); color: var(--teal); }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--teal), 0 0 0 5px var(--lime); border-radius: 2px; }
.band-teal :focus-visible, .ft :focus-visible, .menu :focus-visible { box-shadow: 0 0 0 2px var(--lime), 0 0 0 4px var(--teal); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--teal); color: #fff; padding: 12px 16px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding-inline: var(--m); max-width: var(--maxw); margin-inline: auto; }

.h1 { font-size: var(--t-h1); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.h3 { font-size: var(--t-h3); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); letter-spacing: -.005em; }

.band-ice { background: var(--ice); }
.band-teal { background: var(--teal); color: var(--white); }
.band-teal .lead, .band-teal p { color: var(--ice); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; background: var(--teal); color: var(--white);
  font-weight: 500; font-size: var(--t-s); text-decoration: none; border-radius: 2px; transition: background .25s var(--ease), color .25s var(--ease); }
.btn::after { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .3s var(--ease); }
.btn:hover { background: #0b4a55; }
.btn:hover::after { transform: scale(1.35); }
.btn-inv { background: var(--white); color: var(--teal); }
.btn-inv:hover { background: var(--ice); }
.btn-t { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; font-size: var(--t-s); color: var(--teal);
  text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 calc(50% + .8em); background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.btn-t::after { content: ''; width: 14px; height: 1px; background: currentColor; box-shadow: 0 0 0 0 currentColor; transition: width .3s var(--ease); }
.btn-t:hover { background-size: 0 1px; background-position: 100% calc(50% + .8em); }
.btn-t:hover::after { width: 22px; }
.btn-t-inv { color: var(--white); }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 0; }

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hd); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.hd-in { height: 100%; display: flex; align-items: center; gap: var(--s6); padding-inline: var(--m); max-width: var(--maxw); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.03em; text-decoration: none; color: var(--teal); min-height: 44px; }
.logo-m { width: 30px; height: 30px; flex: none; }
.logo-inv { color: var(--white); }
.hd-nav { margin-left: auto; }
.hd-nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.hd-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-s); font-weight: 450; text-decoration: none; }
.hd-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hd-nav a:hover::after, .hd-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd-tel { font-size: var(--t-xs); text-decoration: none; padding-left: var(--s5); border-left: 1px solid var(--line); min-height: 44px; display: inline-flex; align-items: center; }
.hd-menu { display: none; }
/* a ruler on the 12 column grid under the header; the joint marker travels with scroll */
.hd-ruler { position: absolute; left: 0; right: 0; bottom: -1px; height: 7px; max-width: var(--maxw); margin-inline: auto; pointer-events: none;
  --cw: calc((100% - 2 * var(--m) + var(--g)) / 12);
  background-image: repeating-linear-gradient(to right, var(--line-2) 0 1px, transparent 1px var(--cw));
  background-size: calc(100% - 2 * var(--m) + var(--g)) 5px; background-position: var(--m) 100%; background-repeat: no-repeat; }
.hd-dot { position: absolute; bottom: -4px; left: calc(var(--m) + (100% - 2 * var(--m)) * var(--sp, 0)); width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--teal); opacity: 0; transition: opacity .3s; }
.motion .hd-dot { opacity: 1; }

.menu { position: fixed; inset: var(--hd) 0 0; z-index: 59; background: var(--teal); color: var(--white); padding: 28px var(--m) 110px; overflow-y: auto; display: flex; flex-direction: column; }
.menu[hidden] { display: none; }
.menu ul { display: grid; }
.menu li a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-inv); font-size: 2rem; letter-spacing: -.04em; text-decoration: none; font-weight: 450; }
.menu li a .mono { font-size: .75rem; color: var(--lime); letter-spacing: 0; transform: translateY(-.6em); }
.menu-foot { margin-top: auto; padding-top: 32px; color: var(--ice); font-size: var(--t-s); display: grid; gap: 8px; }
.menu-foot .mono { font-size: var(--t-xs); }

/* fixed right-hand book button */
.book-tab { position: fixed; right: 0; top: 50%; z-index: 55; transform: translateY(-50%); writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
  padding: 22px 13px; background: var(--teal); color: var(--white); text-decoration: none; font-weight: 500; font-size: var(--t-s); letter-spacing: -.01em;
  border-radius: 3px 0 0 3px; transition: padding .3s var(--ease), background .3s var(--ease); }
.book-tab i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(200, 242, 90, .25); }
.book-tab:hover { padding-right: 20px; background: #0b4a55; }
.book-tab { box-shadow: 0 0 0 1px rgba(221, 235, 255, .45); }
.hd-book { display: none; }

/* page transition: a scan line sweeps down and reveals the new page */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: hp-old .62s var(--ease-io) both; }
  ::view-transition-new(root) { animation: hp-scan .62s var(--ease-io) both; }
  ::view-transition-group(hdr) { animation: none; z-index: 2; }
  .hd { view-transition-name: hdr; }
}
@keyframes hp-scan { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hp-old { from { opacity: 1; } to { opacity: .86; } }
.vt-line { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 300; background: var(--lime); box-shadow: 0 0 0 1px rgba(0, 54, 63, .25); transform: translateY(-4px); pointer-events: none; opacity: 0; }
html.vt-in .vt-line { animation: hp-line .62s var(--ease-io) both; }
@keyframes hp-line { 0% { opacity: 1; transform: translateY(-3px); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(100vh - 3px)); } }

/* ---------- viewer: a photo with its overlay, cropped by focus point ---------- */
.vw { position: relative; overflow: hidden; container-type: size; background: #e9edf0; }
.stage { position: absolute; --sw: max(100cqw, calc(100cqh * var(--ar))); width: var(--sw); aspect-ratio: var(--ar);
  left: calc((100cqw - var(--sw)) * var(--fx)); top: calc((100cqh - var(--sw) / var(--ar)) * var(--fy)); }
.stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cm { position: absolute; width: 18px; height: 18px; z-index: 4; pointer-events: none; border: 0 solid var(--white); filter: drop-shadow(0 0 1px rgba(0, 54, 63, .55)); }
.cm.tl { left: 14px; top: 14px; border-width: 1.5px 0 0 1.5px; }
.cm.tr { right: 14px; top: 14px; border-width: 1.5px 1.5px 0 0; }
.cm.bl { left: 14px; bottom: 14px; border-width: 0 0 1.5px 1.5px; }
.cm.br { right: 14px; bottom: 14px; border-width: 0 1.5px 1.5px 0; }

/* overlay drawn by site.js */
.ov { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.ov .k { fill: none; stroke: rgba(0, 54, 63, .62); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ov .b { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ov .rest-k { fill: none; stroke: rgba(0, 54, 63, .5); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 7; }
.ov .rest { fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
.ov .ref-k { fill: none; stroke: rgba(0, 54, 63, .45); stroke-width: 3.5; stroke-dasharray: 6 6; }
.ov .ref { fill: none; stroke: var(--white); stroke-width: 1.4; stroke-dasharray: 6 6; }
.ov .sec { fill: rgba(200, 242, 90, .2); stroke: none; }
.ov .arc-k { fill: none; stroke: rgba(0, 54, 63, .66); stroke-width: 7; stroke-linecap: round; }
.ov .arc { fill: none; stroke: var(--lime); stroke-width: 3.2; stroke-linecap: round; }
.ov .tk { stroke: var(--white); stroke-width: 1.4; }
.ov .tk-k { stroke: rgba(0, 54, 63, .5); stroke-width: 3.4; }
.ov .trc-k { fill: none; stroke: rgba(0, 54, 63, .55); stroke-width: 6.5; stroke-linecap: round; stroke-dasharray: 0 9; }
.ov .trc { fill: none; stroke: var(--lime); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0 9; }
.ov .ld { fill: none; stroke: var(--white); stroke-width: 1.2; }
.ov .ld-k { fill: none; stroke: rgba(0, 54, 63, .5); stroke-width: 3.2; }
.ov .jr { fill: none; stroke: var(--white); stroke-width: 1.3; opacity: .95; }
.ov .j { fill: var(--teal); stroke: var(--lime); stroke-width: 2.6; }
.ov .jc { fill: var(--lime); stroke: var(--teal); stroke-width: 2.4; }
.ov-tags { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ov-tag { position: absolute; left: 0; top: 0; background: var(--teal); color: var(--white); padding: 9px 12px 10px; min-width: 128px; white-space: nowrap; border-radius: 2px;
  opacity: 0; transition: opacity .35s var(--ease); }
.ov-tag.on { opacity: 1; }
.ov-tag span { display: block; font-size: 12.5px; line-height: 1.2; font-weight: 450; letter-spacing: -.005em; }
.ov-tag b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.04em; color: var(--lime); margin-top: 4px; font-variant-numeric: tabular-nums; }
.ov-tag small { display: block; font-family: var(--f-mono); font-size: 11px; line-height: 1.3; color: var(--ice); margin-top: 3px; letter-spacing: -.01em; }
.ov-sm .ov-tag { padding: 7px 9px 8px; min-width: 0; }
.ov-sm .ov-tag span { font-size: 11.5px; }
.ov-sm .ov-tag b { font-size: 22px; }
.ov-sm .ov-tag small { display: none; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--hd) + clamp(24px, 2.4vw, 44px)); }
.hero-head { align-items: end; padding-bottom: clamp(18px, 1.8vw, 30px); row-gap: 22px; }
.hero-h { grid-column: 1 / span 8; font-size: var(--t-hero); line-height: .97; letter-spacing: -.048em; }
.hero-side { grid-column: 9 / -1; padding-bottom: 4px; }
.hero-side .lead { font-size: var(--t-lead); max-width: 34em; margin-bottom: 18px; color: var(--ink); }
.hero-fig { margin: 0; }
.hero-vw { height: clamp(440px, calc(100svh - var(--hero-top, 17rem) - 14px), 860px); margin-inline: var(--m); z-index: 2; background: transparent; }
.hero-vw .cm { width: 22px; height: 22px; }
.vw-cap { padding-top: 14px; padding-bottom: 0; font-size: var(--t-xs); color: var(--ink-2); align-items: baseline; }
.vw-cap .mono { grid-column: 1 / span 1; color: var(--teal); }
.vw-cap > span:last-child { grid-column: 2 / span 7; }
.scan-dom { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; }
.scan-dom .sd-img { position: absolute; inset: 0; clip-path: inset(var(--scan, 0%) 0 0 0); }
.scan-dom .sd-img img { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) contrast(.82) brightness(1.06) blur(3px); }
.scan-dom .sd-img::after { content: ''; position: absolute; inset: 0; background: var(--ice); mix-blend-mode: multiply; }
.scan-dom .sd-line { position: absolute; left: 0; right: 0; top: var(--scan, 0%); height: 2px; background: var(--lime); box-shadow: 0 0 0 1px rgba(0, 54, 63, .3), 0 0 22px 4px rgba(200, 242, 90, .5); }
.scan-dom.on { display: block; }

/* ---------- measurements ---------- */
.ms { padding-block: var(--sec); position: relative; }
.ms-grid { align-items: stretch; row-gap: var(--s7); }
.ms-text { grid-column: 1 / span 5; align-self: center; display: flow-root; }
.ms-text .h2 { margin-bottom: var(--s6); }
.ms-text > p { max-width: 36em; color: var(--ink); }
.ms-fig { grid-column: 7 / -1; margin: 0; display: flex; }
.ms-vw { flex: 1; min-height: 520px; background: #f4f6f8; }
.ms { padding-block: calc(var(--sec) * .8) calc(var(--sec) * .62); }
.home .tx { padding-top: calc(var(--sec) * .72); }
.home .find { padding-bottom: clamp(36px, 3.6vw, 56px); }
.home .find + .ft .ft-grid, .home .ft-grid { padding-top: 44px; }
.ms-log { margin-top: var(--s6); border-top: 1.5px solid var(--teal); padding-top: 14px; }
.ms-log-h { font-weight: 500; margin-bottom: 8px; }
.ms-log ol li { display: grid; grid-template-columns: 7.2em 1fr 4.2em; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: var(--t-s);
  color: var(--ink-2); transition: color .3s var(--ease); }
.ms-log ol li b { font-weight: 500; text-align: right; font-size: 1.05rem; color: inherit; }
.ms-bar { height: 4px; background: rgba(0, 54, 63, .1); position: relative; overflow: hidden; }
.ms-bar i { position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(var(--v)); transition: transform .8s var(--ease); }
.ms-log li.is-on { color: var(--teal); }
.ms-log li.is-on .ms-bar i { background: var(--teal); }
.ms-log li.ms-ref .ms-bar i { background: var(--grey); }
.ms-note { font-size: var(--t-xs); color: var(--ink-2); margin: 12px 0 0; }
.js.motion .ms-log li:not(.ms-ref):not(.is-on) .ms-bar i { transform: scaleX(0); }
.js.motion .ms-log li:not(.ms-ref):not(.is-on) { color: rgba(63, 102, 109, .62); }

/* ---------- treatments index (home) ---------- */
.tx { padding-block: var(--sec); }
.tx-grid { align-items: start; }
.tx-head { grid-column: 1 / span 6; margin-bottom: var(--s8); }
.tx-head .h2 { margin-bottom: var(--s5); }
.tx-head p { max-width: 34em; color: var(--ink-2); margin: 0; }
.tx-list { grid-column: 1 / span 6; grid-row: 2; border-top: 1px solid var(--line-2); counter-reset: tx; }
.tx-item { border-bottom: 1px solid var(--line-2); }
.tx-link { display: grid; grid-template-columns: 3.4em 1fr auto; column-gap: 12px; row-gap: 6px; padding: 26px 0 28px; text-decoration: none; position: relative; }
.tx-link::before { content: ''; position: absolute; left: 0; top: 33px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--teal);
  transform: scale(0); transition: transform .35s var(--ease); }
.tx-n { font-size: var(--t-xs); color: var(--ink-2); padding-top: 9px; transition: transform .4s var(--ease); }
.tx-item.is-on .tx-n { transform: translateX(16px); color: var(--teal); }
.tx-name { font-size: var(--t-h3); letter-spacing: -.035em; line-height: 1.08; font-weight: 500; transition: transform .45s var(--ease); }
.tx-short { grid-column: 2 / span 2; color: var(--ink-2); max-width: 30em; font-size: var(--t-s); }
.tx-meta { grid-column: 3; grid-row: 1; font-size: var(--t-xs); color: var(--ink-2); padding-top: 9px; white-space: nowrap; }
.tx-item.is-on .tx-link::before { transform: scale(1); }
.tx-item.is-on .tx-name { transform: translateX(6px); }
.tx-item:not(.is-on) .tx-name { color: var(--teal); }
.tx-view { grid-column: 7 / -1; grid-row: 1 / span 3; position: sticky; top: calc(var(--hd) + 28px); }
.tx-frame { position: relative; height: calc(100svh - var(--hd) - 112px); max-height: 860px; min-height: 480px; overflow: hidden; background: #e9edf0; }
.tx-st { position: absolute; inset: 0; container-type: size; overflow: hidden; visibility: hidden; clip-path: inset(0 0 100% 0); }
.tx-st.is-on { visibility: visible; clip-path: inset(0 0 0 0); }
.tx-st.is-prev { visibility: visible; clip-path: inset(0 0 0 0); }
.tx-wipe { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 6; background: var(--lime); box-shadow: 0 0 0 1px rgba(0, 54, 63, .35), 0 0 18px 3px rgba(200, 242, 90, .45); opacity: 0; }
.tx-read { margin: 14px 0 0; font-size: var(--t-xs); color: var(--ink-2); min-height: 1.6em; }
.tx-all { grid-column: 1 / span 6; grid-row: 3; margin: var(--s6) 0 0; }
.tx-mob { display: none; }

/* ---------- first visit ruler ---------- */
.fv { padding-block: var(--sec); }
.fv-head { grid-column: 1 / span 7; margin-bottom: var(--s8); }
.fv-head .h2 { margin-bottom: var(--s5); }
.fv-head p { max-width: 36em; margin: 0; }
.fv-ruler { grid-column: 1 / -1; position: relative; margin-bottom: var(--s6); }
.fv-track { position: relative; height: 46px; }
.fv-seg { position: absolute; top: 0; bottom: 0; left: calc(var(--a) / 45 * 100%); width: calc((var(--b) - var(--a)) / 45 * 100%); border-left: 1px solid var(--line-inv); }
.fv-seg i { position: absolute; left: 0; right: 4px; bottom: 21px; height: 4px; background: rgba(221, 235, 255, .16); }
.fv-fill { position: absolute; left: 0; right: 0; bottom: 21px; height: 4px; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 1)); }
.fv-dot { position: absolute; bottom: 16px; left: calc(var(--p, 1) * 100%); width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--teal); border: 2.5px solid var(--lime); }
.fv-ticks { position: relative; height: 22px; border-top: 1px solid var(--line-inv); }
.fv-tick { position: absolute; left: calc(var(--m) / 45 * 100%); top: 6px; transform: translateX(-50%); font-size: 11px; color: var(--ice); }
.fv-tick:first-child { transform: none; }
.fv-tick:nth-last-child(2) { transform: translateX(-100%); }
.fv-unit { position: absolute; right: 0; top: 24px; font-size: 11px; color: var(--ice); opacity: .8; }
.fv-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--g); counter-reset: st; }
.fv-step { border-top: 1px solid var(--line-inv); padding-top: 18px; transition: border-color .4s var(--ease); }
.fv-step h3 { font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; color: var(--white); }
.fv-step p { font-size: var(--t-s); color: var(--ice); margin: 0; }
.fv-step .fv-min { font-size: var(--t-xs); color: var(--lime); margin-bottom: 14px; }
.js.motion .fv-step { opacity: .62; transition: opacity .5s var(--ease), border-color .4s var(--ease); }
.js.motion .fv-step.is-on { opacity: 1; border-color: var(--lime); }
.fv-more { grid-column: 1 / -1; margin: var(--s7) 0 0; }

/* ---------- team cards ---------- */
.team { padding-block: var(--sec); }
.sec-head { grid-column: 1 / span 6; margin-bottom: var(--s7); }
.sec-head .h2 { margin-bottom: var(--s5); }
.sec-head p { max-width: 34em; color: var(--ink-2); }
.pcs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.pc { display: grid; gap: 4px; text-decoration: none; }
.pc .portrait { margin-bottom: 14px; }
.pc-name { font-size: 1.375rem; letter-spacing: -.03em; font-weight: 500; line-height: 1.15; }
.pc-role { color: var(--ink-2); font-size: var(--t-s); }
.pc-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-2); }
.portrait { width: 100%; height: auto; aspect-ratio: 240 / 300; overflow: hidden; }
.pt-bg { fill: var(--ice); }
.pt-grid path { stroke: rgba(255, 255, 255, .85); stroke-width: 1; }
.pt-bones path { fill: none; stroke: var(--teal); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pt-joints circle { fill: var(--white); stroke: var(--teal); stroke-width: 2.6; }
.pj-on { fill: var(--lime); stroke: var(--teal); stroke-width: 2.6; transform-box: fill-box; transform-origin: center; }
.pa-fill { fill: rgba(200, 242, 90, .5); }
.pa-case { fill: none; stroke: var(--teal); stroke-width: 6.5; stroke-linecap: round; }
.pa { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; }
.pa-t { font-family: var(--f-mono); font-size: 14px; fill: var(--teal); font-weight: 500; }
.pc:hover .pj-on, .pc:focus-visible .pj-on { animation: hp-pulse 1s var(--ease) infinite; }
@keyframes hp-pulse { 50% { transform: scale(1.45); } }
.wk { display: inline-flex; gap: 3px; }
.wk i { font-style: normal; width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: 10.5px; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 1px; }
.wk i.on { background: var(--teal); border-color: var(--teal); color: var(--white); }

/* ---------- fees ---------- */
.fees { padding-block: var(--sec); }
.fees-grid { align-items: start; }
.fees .sec-head { grid-column: 1 / span 4; }
.fee-t { grid-column: 6 / -1; border-top: 1.5px solid var(--teal); }
.fee-t thead th { font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 400; color: var(--ink-2); text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.fee-t thead th:nth-child(n+2) { text-align: right; }
.fee-t tbody th { text-align: left; font-weight: 500; font-size: 1.25rem; letter-spacing: -.025em; padding: 20px 16px 20px 0; vertical-align: top; }
.fee-t tbody th span { display: block; font-size: var(--t-s); font-weight: 400; color: var(--ink-2); letter-spacing: 0; margin-top: 4px; }
.fee-t td { text-align: right; padding: 22px 0 20px 16px; vertical-align: top; font-size: var(--t-s); color: var(--ink-2); white-space: nowrap; }
.fee-t td.fee-p { font-size: 1.375rem; color: var(--teal); letter-spacing: -.03em; width: 5em; }
.fee-t tbody tr { border-bottom: 1px solid var(--line-2); }
.fees-note { grid-column: 6 / -1; margin-top: 18px; font-size: var(--t-s); color: var(--ink-2); }

/* ---------- articles list ---------- */
.arts { padding-block: var(--sec); }
.al-list { grid-column: 1 / -1; border-top: 1px solid var(--line-2); }
.al-list li { border-bottom: 1px solid var(--line-2); }
.al { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: 28px 0 30px; text-decoration: none; align-items: baseline; }
.al-m { grid-column: 1 / span 2; font-size: var(--t-xs); color: var(--ink-2); }
.al-t { grid-column: 3 / span 5; font-size: var(--t-h3); letter-spacing: -.035em; line-height: 1.1; font-weight: 500; }
.al-x { grid-column: 8 / span 4; color: var(--ink-2); font-size: var(--t-s); }
.al-arr { grid-column: 12; justify-self: end; align-self: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transition: background .3s var(--ease), border-color .3s var(--ease); }
.al-arr svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.al:hover .al-arr { background: var(--teal); color: var(--white); border-color: var(--teal); }
.al:hover .al-arr svg { transform: translateX(3px); }
.al:hover .al-t { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .14em; }

/* ---------- find us ---------- */
.find { padding-block: var(--sec) calc(var(--sec) * .8); }
.find-grid { align-items: start; row-gap: var(--s6); }
.find-a { grid-column: 1 / span 5; }
.find-a .h2 { margin-bottom: var(--s5); }
.find-a p { max-width: 32em; }
.hours { grid-column: 7 / span 3; border-top: 1.5px solid var(--lime); }
.hours th { text-align: left; font-weight: 450; padding: 12px 12px 12px 0; color: var(--white); font-size: var(--t-s); }
.hours td { text-align: right; padding: 12px 0; color: var(--ice); font-size: var(--t-s); white-space: nowrap; }
.hours tr { border-bottom: 1px solid var(--line-inv); }
.find-c { grid-column: 10 / -1; font-size: var(--t-s); line-height: 2; padding-top: 10px; }
.find-a .mono { font-size: .94em; color: var(--white); }
.find-c a { color: var(--white); }

/* ---------- footer ---------- */
.ft { background: var(--teal); color: var(--ice); padding: 0 0 104px; font-size: var(--t-s); }
.ft-grid { border-top: 1px solid var(--line-inv); padding-top: 52px; row-gap: 36px; }
.ft-a { grid-column: 1 / span 4; }
.ft-a p { margin-top: 16px; max-width: 26em; }
.ft-b { grid-column: 6 / span 2; }
.ft-c { grid-column: 8 / span 3; }
.ft-d { grid-column: 11 / span 2; }
.ft-h { font-size: var(--t-xs); font-family: var(--f-mono); font-weight: 400; color: var(--lime); margin-bottom: 14px; letter-spacing: -.01em; }
.ft a { color: var(--white); text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft-d li a { display: inline-flex; min-height: 32px; align-items: center; }
.ft-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ft-notes { padding-top: 44px; row-gap: 12px; align-items: start; }
.ft-cred { grid-column: 1 / span 8; }
.ft-cred summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--white); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.ft-cred p { margin: 10px 0 0; max-width: 60em; font-size: var(--t-xs); line-height: 1.6; }
.ft-small { grid-column: 10 / -1; justify-self: end; font-size: var(--t-xs); margin: 12px 0 0; }

/* ---------- inner page heads ---------- */
.ph { padding-top: calc(var(--hd) + clamp(48px, 7vw, 120px)); padding-bottom: clamp(40px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.ph-grid { align-items: end; row-gap: 24px; }
.ph .h1 { grid-column: 1 / span 8; }
.ph .lead { grid-column: 9 / -1; margin: 0; color: var(--ink-2); }
.ph-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: var(--s6); padding-top: 14px; border-top: 1px solid var(--line); }
.ph-nav a { font-family: var(--f-mono); font-size: var(--t-xs); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-2); }
.ph-nav a:hover { color: var(--teal); text-decoration: underline; }
.cta { padding-block: var(--sec); }
.cta-grid { align-items: end; row-gap: 20px; }
.cta .h2 { grid-column: 1 / span 6; }
.cta-grid > p:nth-of-type(1) { grid-column: 7 / span 4; margin: 0; color: var(--ink-2); }
.cta-grid > p:nth-of-type(2) { grid-column: 11 / -1; margin: 0; justify-self: end; }

/* ---------- treatments page ---------- */
.tp { padding-block: clamp(48px, 6vw, 96px) var(--sec); }
.tp-grid { align-items: start; }
.bm { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd) + 24px); }
.bm-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bm-fig { margin: 0; }
.bm-fig figcaption { font-size: var(--t-xs); color: var(--ink-2); text-align: center; margin-top: 6px; }
.bm-stage { position: relative; aspect-ratio: 240 / 520; max-height: calc(100svh - var(--hd) - 260px); margin-inline: auto; }
.bm-stage svg { width: 100%; height: 100%; }
.bm-flesh path { fill: none; stroke: var(--ice); stroke-linecap: round; stroke-linejoin: round; }
.bm-flesh .bm-fill { fill: var(--ice); stroke: var(--ice); stroke-width: 2; }
.bm-flesh .bm-neck { stroke-width: 20; }
.bm-flesh .bm-arm { stroke-width: 19; }
.bm-flesh .bm-leg { stroke-width: 27; }
.bm-flesh .bm-foot { stroke-width: 12; }
.bm-bone path { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; opacity: .75; }
.bm-spine path { fill: none; stroke: var(--teal); stroke-width: 1.4; opacity: .55; }
.bm-j { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; z-index: 2; }
.bm-j::before { content: ''; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); transition: transform .3s var(--ease), background .3s var(--ease); }
.bm-j::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid var(--teal); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.bm-j:hover::before { transform: scale(1.25); }
.bm-j.on::before { background: var(--lime); transform: scale(1.3); }
.bm-j.on::after { opacity: 1; transform: scale(1.15); }
.bm-tag { position: absolute; left: calc(100% - 4px); top: 50%; transform: translateY(-50%); background: var(--teal); color: var(--white); font-style: normal; font-size: 11px; padding: 3px 6px; white-space: nowrap;
  display: none; pointer-events: none; z-index: 3; }
.bm-tag-l { left: auto; right: calc(100% - 4px); }
@media (hover: hover) and (pointer: fine) { .bm-j:hover .bm-tag { display: block; } }
.bm-j { cursor: pointer; }
.bm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.bm-chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); font-size: var(--t-s); border-radius: 2px; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s, border-color .25s; }
.bm-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.bm-chip:hover { border-color: var(--teal); }
.bm-chip[aria-pressed="true"] { background: var(--teal); color: var(--white); border-color: var(--teal); }
.bm-chip[aria-pressed="true"]::before { background: var(--lime); border-color: var(--lime); }
.bm-read { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.bm-status { margin: 0; font-size: var(--t-s); color: var(--ink-2); }
.tr-list { grid-column: 5 / -1; padding-left: calc(var(--g) * 1.5); }
.tr { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--g); padding: 0 0 clamp(56px, 6vw, 96px); margin-bottom: clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--line); align-items: start; }
.tr:last-of-type { border-bottom: 0; }
.tr[hidden] { display: none; }
.tr-fig { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd) + 24px); }
.tr-vw { aspect-ratio: 4 / 5; }
.tr-cap { font-size: var(--t-xs); color: var(--ink-2); margin: 10px 0 0; }
.tr-body { grid-column: 5 / span 4; }
.tr:nth-of-type(even) .tr-fig { grid-column: 5 / span 4; grid-row: 1; }
.tr:nth-of-type(even) .tr-body { grid-column: 1 / span 4; grid-row: 1; }
.tr-n { font-size: var(--t-xs); color: var(--ink-2); margin-bottom: 14px; }
.tr .h3 { margin-bottom: 14px; }
.tr-short { font-size: var(--t-lead); line-height: 1.45; margin-bottom: 26px; }
.tr-dl { margin: 0 0 18px; border-top: 1px solid var(--line-2); }
.tr-dl > div { padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.tr-dl dt { font-weight: 500; font-size: var(--t-s); margin-bottom: 4px; }
.tr-dl dd { margin: 0; color: var(--ink-2); font-size: var(--t-s); }
.tr-dl dd.mono { color: var(--teal); }
.tr-dl a { color: var(--teal); }
.tr-none { font-size: var(--t-lead); color: var(--ink-2); }
.tr-fig2 { margin: 6px 0 22px; display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; align-items: end; }
.tr-fig2 .vw { aspect-ratio: 1 / 1; }
.tr-fig2 .cm { width: 10px; height: 10px; }
.tr-fig2 .cm.tl, .tr-fig2 .cm.bl { left: 7px; } .tr-fig2 .cm.tr, .tr-fig2 .cm.br { right: 7px; }
.tr-fig2 .cm.tl, .tr-fig2 .cm.tr { top: 7px; } .tr-fig2 .cm.bl, .tr-fig2 .cm.br { bottom: 7px; }
.tr-fig2 figcaption { font-size: var(--t-s); color: var(--ink-2); padding-bottom: 2px; }
.fv-photos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); margin-top: var(--s7); }
.fv-photos figure { margin: 0; }
.fv-photos .vw { aspect-ratio: 4 / 3; background: #0b4a55; }
.fv-photos figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 12px; color: var(--white); font-size: var(--t-s); }
.fv-photos figcaption .mono { color: var(--lime); font-size: var(--t-xs); }

/* ---------- team page ---------- */
.people { padding-bottom: var(--sec); }
.person { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: clamp(56px, 7vw, 112px) var(--m); max-width: var(--maxw); margin-inline: auto; border-bottom: 1px solid var(--line); align-items: start; }
.person-fig { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd) + 28px); }
.portrait-l { max-width: 420px; }
.person-body { grid-column: 6 / span 6; }
.person-n { font-size: var(--t-xs); color: var(--ink-2); margin-bottom: 18px; }
.person .h3 { font-size: var(--t-h2); letter-spacing: -.04em; line-height: 1.02; margin-bottom: 10px; }
.person-role { font-size: var(--t-lead); color: var(--ink-2); margin-bottom: 30px; }
.person-q { margin: 0 0 32px; padding: 0 0 0 0; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.32; letter-spacing: -.02em; font-weight: 400; max-width: 30em; }
.person-q p { margin: 0; text-indent: -.42em; }
.person-q p::before { content: '\201C'; }
.person-q p::after { content: '\201D'; }
.person-dl { margin: 0 0 22px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--g); }
.person-dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.person-dl dt { font-weight: 500; font-size: var(--t-s); margin-bottom: 6px; }
.person-dl dd { margin: 0; color: var(--ink-2); font-size: var(--t-s); }
.person-tr li { display: block; }
.person-tr a { color: var(--teal); }

/* ---------- visit page ---------- */
.bring { padding-block: var(--sec); }
.bring-grid { align-items: start; row-gap: var(--s6); }
.bring .h2 { grid-column: 1 / span 4; }
.bring-l { grid-column: 5 / span 4; border-top: 1.5px solid var(--teal); }
.bring-l li { display: grid; grid-template-columns: 2.6em 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bring-l .mono { font-size: var(--t-xs); color: var(--ink-2); padding-top: 3px; }
.bring-fig { grid-column: 9 / -1; margin: 0; }
.bring-fig .vw { aspect-ratio: 4 / 5; }
.bring-fig figcaption { font-size: var(--t-xs); color: var(--ink-2); margin-top: 10px; }

.book { padding-block: var(--sec); }
.book-grid { align-items: start; }
.book .sec-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd) + 28px); }
.bk { grid-column: 6 / -1; }
.bk-f { border: 0; margin: 0 0 34px; padding: 0; min-width: 0; }
.bk-f legend { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 1.25rem; letter-spacing: -.025em; margin-bottom: 14px; padding: 0; }
.bk-f legend .mono { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; border: 1.5px solid var(--teal); letter-spacing: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts-type { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt > span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 2px; font-size: var(--t-s); transition: background .2s, color .2s, border-color .2s; width: 100%; }
.opt-l > span { display: grid; gap: 2px; padding: 14px 16px; align-content: start; }
.opt-l b { font-weight: 500; font-size: 1.0625rem; }
.opt-l .mono { font-size: var(--t-xs); color: var(--ink-2); }
.opt input:checked + span { background: var(--teal); color: var(--white); border-color: var(--teal); }
.opt input:checked + span .mono { color: var(--ice); }
.opt input:focus-visible + span { box-shadow: 0 0 0 2px var(--teal), 0 0 0 5px var(--lime); }
.opt:hover > span { border-color: var(--teal); }
.bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bk-day { min-height: 64px; border: 1px solid var(--line-2); border-radius: 2px; display: grid; place-content: center; gap: 2px; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.bk-day b { font-weight: 500; font-size: var(--t-s); }
.bk-day span { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-2); }
.bk-day[aria-checked="true"] { background: var(--teal); color: var(--white); border-color: var(--teal); }
.bk-day[aria-checked="true"] span { color: var(--ice); }
.bk-day:disabled { opacity: .38; cursor: not-allowed; }
.bk-day:not(:disabled):hover { border-color: var(--teal); }
.bk-times { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; min-height: 46px; }
.bk-time { min-height: 44px; border: 1px solid var(--line-2); border-radius: 2px; font-family: var(--f-mono); font-size: var(--t-s); transition: background .2s, color .2s, border-color .2s; }
.bk-time[aria-checked="true"] { background: var(--teal); color: var(--white); border-color: var(--teal); }
.bk-time:hover { border-color: var(--teal); }
.bk-none { grid-column: 1 / -1; color: var(--ink-2); font-size: var(--t-s); margin: 10px 0 0; }
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px var(--g); }
.fld { display: grid; gap: 6px; font-size: var(--t-s); font-weight: 500; }
.fld-w { grid-column: 1 / -1; }
.fld input, .fld textarea { font: inherit; font-weight: 400; color: var(--teal); background: var(--white); border: 1px solid var(--line-2); border-radius: 2px; min-height: 48px; padding: 10px 14px; width: 100%; }
.fld textarea { resize: vertical; }
.fld input:focus-visible, .fld textarea:focus-visible { border-color: var(--teal); }
.bk-sum { border-top: 1.5px solid var(--teal); padding-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; }
.bk-sum-t { margin: 0; font-size: 1.125rem; }
.bk-sum-t .mono { font-size: 1rem; }
.bk-demo { grid-column: 1 / -1; margin: 0; font-size: var(--t-s); color: var(--ink-2); }
.bk-done { border: 1.5px solid var(--teal); padding: 28px; }
.bk-done .h3 { margin-bottom: 12px; }
.bk-done:focus-visible { box-shadow: 0 0 0 2px var(--teal), 0 0 0 5px var(--lime); }
.bk-err { color: #9b1c1c; font-size: var(--t-s); margin: 0; grid-column: 1 / -1; }

.find-grid-l .find-a { grid-column: 1 / span 5; }
.find-l { margin: 26px 0; border-top: 1px solid var(--line-inv); }
.find-l li { display: grid; grid-template-columns: 4.4em 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-inv); font-size: var(--t-s); color: var(--ice); }
.find-l .mono { color: var(--lime); font-size: var(--t-xs); padding-top: 3px; }
.find-grid-l .hours { grid-column: auto; margin-top: 8px; }
.find-grid-l .find-c { padding-top: 18px; }
.map { grid-column: 7 / -1; margin: 0; }
.map svg { width: 100%; height: auto; }
.map figcaption { font-size: var(--t-xs); color: var(--ice); margin-top: 8px; text-align: right; }
.mp-water { fill: rgba(221, 235, 255, .1); }
.mp-quay { fill: none; stroke: var(--ice); stroke-width: 1.5; }
.mp-pier { fill: none; stroke: var(--ice); stroke-width: 1.5; }
.mp-road path { fill: none; stroke: rgba(221, 235, 255, .28); stroke-width: 18; stroke-linecap: round; }
.mp-blocks rect { fill: none; stroke: rgba(221, 235, 255, .3); stroke-width: 1; }
.mp-lab text { fill: var(--ice); font-family: var(--f-mono); font-size: 15px; }
.mp-pin path { stroke: var(--lime); stroke-width: 2; }
.mp-ring { fill: none; stroke: var(--lime); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.mp-dot { fill: var(--lime); }
.mp-name { fill: var(--white); font-family: var(--f-sans); font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.mp-poi rect { fill: var(--white); }
.mp-poi text { fill: var(--teal); font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.mp-poi text.mp-small { fill: var(--ice); font-weight: 400; font-size: 14.5px; }
.motion .mp-ring { animation: hp-ping 2.4s var(--ease) infinite; }
@keyframes hp-ping { 0% { transform: scale(.7); opacity: 1; } 80%, 100% { transform: scale(2.2); opacity: 0; } }

.faqs { padding-block: var(--sec); }
.faq-grid { align-items: start; }
.faqs .h2 { grid-column: 1 / span 4; }
.faq-l { grid-column: 6 / -1; border-top: 1.5px solid var(--teal); }
.faq { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 14px 0; cursor: pointer; font-size: 1.25rem; letter-spacing: -.02em; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq[open] summary i::after { transform: rotate(0); }
.faq p { margin: 0 0 22px; max-width: 42em; color: var(--ink-2); }

/* ---------- articles page ---------- */
.arts-pg { padding-block: clamp(48px, 6vw, 96px) var(--sec); }
.arts-grid { align-items: start; }
.toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--hd) + 28px); }
.toc-h { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--ink-2); margin-bottom: 10px; }
.toc ol { border-top: 1.5px solid var(--teal); }
.toc li a { display: grid; grid-template-columns: 2.2em 1fr auto; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--t-s); line-height: 1.35; position: relative; }
.toc li a .mono { font-size: var(--t-xs); color: var(--ink-2); padding-top: 2px; }
.toc li a .toc-m { white-space: nowrap; }
.toc li a:hover span:nth-child(2) { text-decoration: underline; }
.toc li a.is-on { font-weight: 500; }
.toc li a.is-on::before { content: ''; position: absolute; left: -16px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--teal); }
.arts-body { grid-column: 5 / span 7; }
.art { padding-bottom: clamp(64px, 7vw, 112px); margin-bottom: clamp(64px, 7vw, 112px); border-bottom: 1px solid var(--line); }
.art:last-child { border-bottom: 0; margin-bottom: 0; }
.art-m { font-size: var(--t-xs); color: var(--ink-2); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.art-m > * { white-space: nowrap; }
.art-h { margin-bottom: 18px; }
.art-st { font-size: var(--t-lead); line-height: 1.5; max-width: 36em; margin-bottom: 36px; }
.art-fig { margin: 0 0 40px; background: var(--ice); padding: clamp(18px, 3vw, 44px); }
.art-fig figcaption { font-size: var(--t-s); color: var(--ink-2); margin-top: 18px; max-width: 44em; }
.art-fig-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.art-fig-2 figcaption { grid-column: 1 / -1; }
.art-vw { aspect-ratio: 1 / 1; }
.art-b { max-width: 40em; }
.art-b h3 { font-size: 1.375rem; letter-spacing: -.025em; margin: 30px 0 10px; }
.art-b p { color: #17434b; }
.art-warn { margin: 30px 0; border-top: 2px solid var(--teal); border-bottom: 1px solid var(--line-2); padding: 16px 0 6px 32px; position: relative; }
.art-warn::before { content: ''; position: absolute; left: 0; top: 21px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--teal); background: var(--lime); }
.art-warn-h { font-weight: 600; margin-bottom: 6px; }

/* line diagrams */
.dg { width: 100%; height: auto; overflow: visible; }
.dg-floor { stroke: var(--teal); stroke-width: 1.5; }
.dg-thing { fill: none; stroke: var(--grey); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg-body { fill: none; stroke: var(--teal); stroke-width: 2.4; }
.dg-bone { fill: none; stroke: var(--teal); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.dg-ref { fill: none; stroke: var(--grey); stroke-width: 1.4; stroke-dasharray: 5 5; }
.dg-arc { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 .6px var(--teal)) drop-shadow(0 0 .6px var(--teal)); }
.dg-fill { fill: rgba(200, 242, 90, .55); }
.dg-j circle, .dg-jc { fill: var(--white); stroke: var(--teal); stroke-width: 2.6; }
.dg-jc { fill: var(--lime); }
.dg-eye { fill: var(--teal); }
.dg-screen { fill: var(--white); stroke: var(--grey); stroke-width: 2; }
.dg-t { font-family: var(--f-mono); font-size: 14px; fill: var(--teal); }
.dg-s { font-size: 12px; fill: var(--ink-2); }
.dg-big { font-family: var(--f-mono); font-size: 40px; fill: var(--teal); font-weight: 500; letter-spacing: -.04em; }
.dg-tick path { stroke: var(--teal); stroke-width: 1.4; }
.dg-mile { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 3 3; }
.rp-run { fill: var(--teal); }
.rp-walk { fill: var(--white); stroke: var(--line-2); stroke-width: 1; }
.dg-run .dg-t { font-size: 15px; }
.dg-run .rp-l { fill: var(--ink-2); }

/* ---------- entrance states (only with JS and motion) ---------- */
.js.motion [data-in] { opacity: 0; transform: translateY(18px); }
.js.motion [data-split] { visibility: hidden; }
.js.motion .ov-tag { transition: opacity .35s var(--ease); }
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .hero-h { grid-column: 1 / -1; }
  .hero-side { grid-column: 1 / span 9; }
  .hero-vw { height: clamp(420px, 62svh, 720px); }
  .hd-nav ul { gap: 18px; }
  .hd-tel { display: none; }
  .ms-text { grid-column: 1 / span 6; }
  .ms-fig { grid-column: 7 / -1; }
  .pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .fv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .al-t { grid-column: 3 / span 6; }
  .al-x { grid-column: 9 / span 3; }
  .tr { grid-template-columns: 1fr; }
  .tr-fig, .tr:nth-of-type(even) .tr-fig { grid-column: 1; grid-row: 1; position: relative; top: 0; margin-bottom: 28px; }
  .tr-body, .tr:nth-of-type(even) .tr-body { grid-column: 1; grid-row: 2; }
  .tr-vw { aspect-ratio: 4 / 3; }
  .person-dl { grid-template-columns: 1fr; }
  .bk-times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- phone, designed at 390 ---------- */
@media (max-width: 820px) {
  :root { --t-body: 1rem; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid > * { grid-column: 1 / -1 !important; }
  .hd-nav, .hd-tel { display: none; }
  .hd-in { gap: 12px; }
  .hd-menu { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 2px 0 12px; font-weight: 500; font-size: var(--t-s); }
  .hd-menu i { position: relative; width: 22px; height: 10px; }
  .hd-menu i::before, .hd-menu i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .hd-menu i::before { top: 0; }
  .hd-menu i::after { top: 8.5px; }
  .hd-menu[aria-expanded="true"] i::before { top: 4.25px; transform: rotate(45deg); }
  .hd-menu[aria-expanded="true"] i::after { top: 4.25px; transform: rotate(-45deg); }
  .book-tab { display: none; }
  .hd-book { display: inline-flex; align-items: center; margin-left: auto; min-height: 40px; padding: 0 14px; background: var(--teal); color: var(--white); font-weight: 500; font-size: var(--t-s); text-decoration: none; border-radius: 2px; }
  .hd-book + .hd-menu { margin-left: 4px; }

  .hero { padding-top: calc(var(--hd) + 28px); }
  .hero-h { font-size: clamp(2.375rem, 9.6vw, 3rem); line-height: 1; letter-spacing: -.05em; }
  .hero-head { row-gap: 18px; padding-bottom: 22px; }
  .hero-side .lead { font-size: 1.0625rem; }
  .hero-vw { height: 64svh; min-height: 420px; max-height: 620px; margin-inline: 0; }
  .hero-vw .stage, .vw .stage { left: calc((100cqw - var(--sw)) * var(--fxm, var(--fx))); top: calc((100cqh - var(--sw) / var(--ar)) * var(--fym, var(--fy))); }
  .vw-cap > span:last-child { margin-top: 2px; }
  .vw-cap { row-gap: 2px; }
  .ov-tag { padding: 7px 9px 8px; min-width: 0; }
  .ov-tag span { font-size: 11.5px; }
  .ov-tag b { font-size: 22px; }
  .ov-tag small { display: none; }

  .ms-vw { aspect-ratio: 4 / 5; flex: none; width: 100%; min-height: 0; }
  .ms-text .h2 { margin-bottom: 22px; }

  .tx-head { margin-bottom: 28px; }
  .tx-view { display: none; }
  .tx-link { grid-template-columns: 2.6em 1fr; padding: 22px 0 18px; }
  .tx-link::before { display: none; }
  .tx-meta { grid-column: 2; grid-row: 3; padding-top: 2px; }
  .tx-short { grid-column: 2; }
  .tx-item.is-on .tx-name { transform: none; }
  .tx-mob { display: block; padding-bottom: 26px; }
  .tx-mob-vw { aspect-ratio: 4 / 5; }
  .tx-all { grid-row: auto; }

  .fv-head { margin-bottom: 36px; }
  .fv-ruler { display: none; }
  .fv-photos { grid-template-columns: 1fr; gap: 26px; margin-top: 10px; }
  .fv-steps { grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 26px; }
  .fv-steps::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: rgba(221, 235, 255, .2); }
  .fv-steps::after { content: ''; position: absolute; left: 6px; top: 8px; width: 2px; height: calc(var(--p, 1) * (100% - 16px)); background: var(--lime); }
  .fv-step { border-top: 0; padding: 0 0 26px; position: relative; }
  .fv-step::before { content: ''; position: absolute; left: -26px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); border: 2px solid rgba(221, 235, 255, .5); z-index: 1; }
  .fv-step.is-on::before, .no-js .fv-step::before { border-color: var(--lime); }

  .pcs { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .pc-name { font-size: 1.125rem; }
  .pc-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .wk i { width: 18px; height: 18px; font-size: 10px; }

  .fee-t tbody th { font-size: 1.0625rem; padding-right: 8px; }
  .fee-t tbody th span { font-size: .875rem; }
  .fee-t td { padding-left: 8px; }
  .fee-t td.fee-p { font-size: 1.125rem; width: auto; }
  .fees .sec-head { margin-bottom: 28px; }

  .al { grid-template-columns: 1fr 44px; row-gap: 8px; padding: 22px 0; }
  .al-m { grid-column: 1; grid-row: 1; }
  .al-t { grid-column: 1; grid-row: 2; font-size: 1.375rem; }
  .al-x { grid-column: 1; grid-row: 3; }
  .al-arr { grid-column: 2; grid-row: 1 / span 3; }

  .find-c { padding-top: 0; }
  .ft-grid { row-gap: 30px; }
  .ft-b, .ft-c, .ft-d { grid-column: auto !important; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-a { grid-column: 1 / -1 !important; }
  .ft-c { grid-column: 1 / -1 !important; }
  .ft-small { justify-self: start; }
  .ft { padding-bottom: 120px; }

  .ph { padding-top: calc(var(--hd) + 44px); }
  .ph .h1 { font-size: clamp(2.25rem, 9.2vw, 2.875rem); }
  .ph .lead { color: var(--ink-2); }
  .cta-grid > p:nth-of-type(2) { justify-self: start; }

  .bm { position: relative; top: 0; margin-bottom: 40px; }
  .bm-figs { max-width: 360px; margin-inline: auto; }
  .bm-stage { max-height: 330px; }
  .tr-list { padding-left: 0; }
  .tr-vw { aspect-ratio: 1 / 1; }
  .tr-fig, .tr:nth-of-type(even) .tr-fig { margin-bottom: 22px; }

  .person { grid-template-columns: 1fr; padding-inline: var(--m); }
  .person-fig { grid-column: 1; position: relative; top: 0; max-width: 220px; margin-bottom: 26px; }
  .person-body { grid-column: 1; }
  .person .h3 { font-size: 2rem; }

  .bring-fig .vw { aspect-ratio: 4 / 3; }
  .book .sec-head { position: relative; top: 0; }
  .opts-type { grid-template-columns: 1fr; }
  .bk-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bk-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-fields { grid-template-columns: 1fr; }
  .bk-sum { grid-template-columns: 1fr; }
  .bk-sum .btn { justify-self: start; }

  .toc { position: relative; top: 0; margin-bottom: 48px; }
  .toc li a.is-on::before { display: none; }
  .art-fig { margin-inline: calc(var(--m) * -1); }
  .art-fig-2 { grid-template-columns: 1fr; }
  .dg-run .dg-t { font-size: 22px; }
  .dg-run .dg-s { font-size: 18px; }
  .dg-run .rp-l { display: none; }
  .dg:not(.dg-run):not(.dg-gauge) .dg-t { font-size: 24px; }
  .dg-gauge .dg-s { font-size: 21px; }
  .art-fig { padding: 22px 16px; }
  /* measurements: photo before the log, so the arm and the numbers move together */
  .ms-grid { row-gap: 0; }
  .ms-text { display: contents; }
  .ms-text > *, .ms-fig { grid-column: 1 / -1; }
  .ms-text .h2 { order: 1; }
  .ms-text > p { order: 2; }
  .ms-fig { order: 3; margin-top: 12px; }
  .ms-log { order: 4; }
}

/* ---------- reduced motion: everything visible and still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print { .hd, .book-tab, .menu { display: none !important; } }
.dg-gauge .dg-s { font-size: 18px; }
.dg-gauge .dg-big { font-size: 52px; }
.dg-gauge .dg-tick path { stroke-width: 1.8; }
@media (max-width: 820px) {
  .mp-lab text, .mp-poi text.mp-small { font-size: 19px; }
  .mp-name { font-size: 22px; }
  .mp-poi text { font-size: 16px; }
}
