/* ==========================================================================
   Poliklinika Kinesis (demo): active, sporty physio clinic.
   One font (Archivo, variable width + weight), dark ink + one volt accent.
   Spacing on an 8 px scale. Mobile first.
   ========================================================================== */

/* Self-hosted Archivo (SIL Open Font License), Latin + Latin-1 + Latin Extended-A (Croatian) in one file per font,
   axes limited to what the page uses: width 75–125 %, weight 400–900. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 75% 125%; font-display: swap; src: url("../assets/fonts/archivo.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-017F, U+0218-021B, U+02BC, U+02C6, U+02DA, U+02DC, U+0300-0304, U+0306-0308, U+030C, U+0327-0328, U+1E9E, U+2009, U+2010-2011, U+2013-2015, U+2017-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203A, U+203E, U+2044, U+2052, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+2248, U+2264-2265, U+FEFF; }
/* Metric-matched local fallbacks (width from this page's own text), so the swap to Archivo does not move anything:
   one for text (normal width), one for the wide black display headings and one for the condensed uppercase labels. */
@font-face { font-family: "Archivo Fallback"; font-weight: 400 600; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 98.4%; ascent-override: 89.2%; descent-override: 21.3%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; font-weight: 650 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 103%; ascent-override: 85.2%; descent-override: 20.4%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Display Fallback"; font-weight: 100 900; src: local("Arial Black"), local("Arial-Black"); size-adjust: 117.3%; ascent-override: 74.8%; descent-override: 17.9%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Narrow Fallback"; font-weight: 100 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 80.5%; ascent-override: 109.1%; descent-override: 26.1%; line-gap-override: 0%; }

:root {
  --ink: #0D0F12;
  --ink-2: #16191E;
  --ink-3: #1F2329;
  --ink-line: #333944;
  --chalk: #F1F2EC;
  --paper: #FFFFFF;
  --line: #D9DBD3;
  --text: #0D0F12;
  --muted: #4A5059;
  --text-d: #F4F5F0;
  --muted-d: #A9B0BA;
  --soft-d: #D3D8DE;
  --volt: #CDF23A;
  --volt-hover: #DBF870;
  --volt-ink: #0D0F12;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --r-sm: 8px;
  --r: 14px;
  --pill: 999px;
  --header-h: 64px;
  --focus: var(--ink);
  --font: 'Archivo', 'Archivo Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Archivo', 'Archivo Display Fallback', 'Archivo Fallback', system-ui, sans-serif;
  --font-narrow: 'Archivo', 'Archivo Narrow Fallback', 'Archivo Fallback', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(13, 15, 18, .06), 0 8px 24px rgba(13, 15, 18, .08);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s2)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
/* <picture class="pic"> only adds AVIF/WebP sources: it takes no box, so the <img> keeps its place in the layout. */
picture.pic { display: contents; }
picture.pic > source { display: none; } /* else they would become empty flex/grid items */
picture.pic > img { min-width: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
iframe:focus { outline: 3px solid var(--focus); outline-offset: 3px; } /* the map frame: focus sits inside it */
.site-header, .hero, .section-ink, .site-footer, .mobile-bar, .story, .phase-goal { --focus: var(--volt); }
.book-panel, .demo-pop, .lang-list { --focus: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--volt); color: var(--volt-ink); padding: 12px 16px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--s2); }
@media (min-width: 768px) { .container { padding: 0 var(--s4); } }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; }
.icon-star { fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- type */
/* Wide black display headings: same Archivo, but a wide fallback while it loads (see @font-face above). */
.hero-title, .section-title, .res-title, .phase-title, .visit-title { font-family: var(--font-display); }
.eyebrow, .kicker, .res-kicker, .res-label, .br-lab, .board-head, .footer-h, .brand-sub, .bm-figure-label, .player-langs, .phase-when, .phase-svc, .story-tag { font-family: var(--font-narrow); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1rem; font-weight: 700; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  margin-bottom: var(--s2);
}
.eyebrow::before { content: ""; width: 24px; height: 4px; background: var(--ink); border-radius: 2px; }
.eyebrow-volt { color: var(--volt); }
.eyebrow-volt::before { background: var(--volt); }

.section-title {
  font-size: clamp(2.125rem, 7vw, 4rem);
  font-weight: 850; font-stretch: 118%;
  line-height: .95; letter-spacing: -.01em;
  text-transform: uppercase;
}
.section-lead { margin-top: var(--s3); font-size: 1.125rem; color: var(--muted); max-width: 35.53em; }
.section-head { max-width: 820px; margin-bottom: var(--s5); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s3); }

.section { padding: var(--s6) 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }
.section-chalk { background: var(--chalk); }
.section-ink { background: var(--ink); color: var(--text-d); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border: 2px solid transparent; border-radius: var(--r-sm);
  font-size: 1rem; font-weight: 750; font-stretch: 105%; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 14px 24px; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.btn-primary:hover { background: var(--volt-hover); border-color: var(--volt-hover); }
.btn-onlight { border-color: var(--ink); }
.btn-onlight:hover { border-color: var(--ink); }
.btn-ghost-d { background: transparent; color: var(--text-d); border-color: rgba(244, 245, 240, .35); }
.btn-ghost-d:hover { border-color: var(--volt); color: var(--volt); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(13, 15, 18, .28); }
.btn-ghost:hover { border-color: var(--ink); background: var(--chalk); }
.btn .icon { width: 20px; height: 20px; }

.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--text-d);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--ink-line); }
.header-bar { display: flex; align-items: center; gap: var(--s1); height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; margin-right: auto; }
.brand-mark { width: 36px; height: 22px; flex: none; }
.brand-mark path { fill: none; stroke-linecap: round; }
.brand-mark .bm-arc, .brand-mark .bm-base { stroke: var(--text-d); stroke-width: 2.4; }
.brand-mark .bm-arm { stroke: var(--volt); stroke-width: 3; }
.brand-mark .bm-dot { fill: var(--volt); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
@media (max-width: 419px) { .brand-sub { display: none; } }
.brand-name { font-size: 1.25rem; font-weight: 850; font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; }
.brand-sub { white-space: nowrap; font-size: .875rem; font-weight: 600; font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-d); margin-top: 4px; }

/* demo note */
.demo { position: relative; }
.demo-tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 6px;
  background: none; border: 0; cursor: pointer;
}
.demo-tag > span[aria-hidden] {
  display: inline-block; padding: 3px 8px; border: 1.5px solid var(--volt); border-radius: var(--pill);
  color: var(--volt); font-size: .75rem; font-weight: 800; letter-spacing: .12em; line-height: 1.3;
}
.demo-pop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: min(320px, calc(100vw - 32px)); z-index: 60;
  background: var(--paper); color: var(--text); border-radius: var(--r); box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  padding: var(--s3); font-size: 1rem;
}
.demo-pop-title { font-weight: 800; margin-bottom: var(--s1); }
.demo-pop-links { display: flex; flex-direction: column; gap: 4px; margin-top: var(--s2); }
.demo-pop-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 479px) { .demo-pop { position: fixed; top: calc(var(--header-h) + 8px); left: 16px; transform: none; } }

/* nav */
.main-nav ul { display: flex; }
.main-nav a { text-decoration: none; }
.nav-mobile-extra { display: none; }
@media (max-width: 1079px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: var(--ink-2); border-top: 1px solid var(--ink-line);
    padding: var(--s2) var(--s2) var(--s3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav li a {
    display: flex; align-items: center; min-height: 52px; padding: 0 var(--s1);
    font-size: 1.375rem; font-weight: 800; font-stretch: 112%; text-transform: uppercase;
    border-bottom: 1px solid var(--ink-line);
  }
  .nav-mobile-extra { display: grid; gap: var(--s1); margin-top: var(--s3); }
}
@media (min-width: 1080px) {
  .main-nav { margin: 0 auto 0 var(--s3); }
  .main-nav ul { gap: 4px; }
  .main-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    font-weight: 650; font-size: 1rem; color: var(--soft-d);
    border-radius: var(--r-sm);
  }
  .main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--volt); }
  .brand { margin-right: 0; }
}

.header-actions { display: flex; align-items: center; gap: 4px; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 0 8px;
  background: none; border: 0; cursor: pointer; font-weight: 700; color: var(--text-d);
}
.lang-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  background: var(--paper); color: var(--text); border-radius: var(--r-sm); box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  padding: 6px; min-width: 160px;
}
.lang-list button {
  display: flex; width: 100%; min-height: 44px; align-items: center; padding: 0 12px;
  background: none; border: 0; border-radius: 6px; cursor: pointer; font-weight: 600; text-align: left;
}
.lang-list button:hover { background: var(--chalk); }
.lang-list button[aria-current="true"] { background: var(--volt); }
.header-phone {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px;
  text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-d);
}
.header-phone:hover { color: var(--volt); }
.header-cta { display: none; min-height: 44px; padding: 8px 16px; margin-left: 4px; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
  background: none; border: 1px solid var(--ink-line); border-radius: var(--r-sm); cursor: pointer; color: var(--text-d);
}
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1080px) { .menu-btn { display: none; } }
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }

/* ---------------------------------------------------------------- hero: body map */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--ink); color: var(--text-d);
  background-image:
    radial-gradient(ellipse 60% 50% at 55% 45%, rgba(205, 242, 58, .07), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  background-position: center, -1px -1px, -1px -1px;
  padding: var(--s3) 0 var(--s5);
}
.hero-grid {
  display: grid; gap: var(--s3) var(--s2);
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  grid-template-areas: "copy copy" "figure controls" "result result";
  align-items: start;
}
.hero-copy { grid-area: copy; }
.bm-controls { grid-area: controls; }
.bm-figure { grid-area: figure; }
.bm-result { grid-area: result; }

.kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .08em;
  color: var(--volt);
}
.kicker .icon { width: 18px; height: 18px; }
.hero-title {
  margin-top: var(--s2);
  font-size: clamp(2.75rem, 12vw, 6.25rem);
  font-weight: 900; font-stretch: 125%;
  line-height: .9; letter-spacing: -.015em; text-transform: uppercase;
}
.hero-lead { margin-top: var(--s2); font-size: 1.0625rem; color: var(--soft-d); max-width: 26.36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.hero-actions .btn-primary { flex: 1 1 220px; }
.hero-actions .btn-ghost-d { flex: 1 1 220px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--s3);
  font-size: 1rem; color: var(--soft-d);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--volt); width: 18px; height: 18px; }
.gbadge b { font-variant-numeric: tabular-nums; }
.hero-facts .gbadge b { color: var(--text-d); }
.illus { color: var(--muted-d); font-style: italic; }

/* view toggle */
.bm-view {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: var(--ink-3); border: 1px solid var(--ink-line); border-radius: var(--pill);
  margin-bottom: var(--s2);
}
.bm-view-btn {
  min-height: 44px; border: 0; border-radius: var(--pill); background: transparent; cursor: pointer;
  font-weight: 750; font-stretch: 90%; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem;
  color: var(--soft-d);
}
.bm-view-btn[aria-pressed="true"] { background: var(--volt); color: var(--volt-ink); }

/* region chips */
.bm-list { display: grid; gap: 8px; }
.bm-chip {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 48px; padding: 8px 12px 8px 8px;
  background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-sm);
  color: var(--text-d); font-weight: 650; font-size: 1rem; line-height: 1.25; text-align: left; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.bm-chip:hover { border-color: var(--muted-d); }
.bm-n {
  display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 6px;
  background: var(--ink-3); color: var(--volt);
  font-size: .9375rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.bm-chip[aria-pressed="true"] { border-color: var(--volt); background: rgba(205, 242, 58, .1); }
.bm-chip[aria-pressed="true"] .bm-n { background: var(--volt); color: var(--volt-ink); }

/* figure */
.bm-figure { position: relative; max-width: 340px; width: 100%; justify-self: center; }
.bm-svg { width: 100%; height: auto; overflow: visible; }
.bm-body { fill: #1B1F25; stroke: #444B56; stroke-width: 1.5; }
.bm-detail path { fill: none; stroke: #48505C; stroke-width: 1.3; stroke-linecap: round; }
.bm-detail .bm-dash { stroke-dasharray: 2 5; }
.is-front .bm-detail-back, .is-back .bm-detail-front { display: none; }
.bm-glow { fill: rgba(205, 242, 58, .16); transition: cx .35s ease, cy .35s ease; }
.bm-rom-arc { fill: none; stroke: var(--volt); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease; }
.bm-rom-ticks { fill: none; stroke: var(--volt); stroke-width: 1.5; stroke-linecap: round; opacity: .75; transition: opacity .4s .25s; }
.bm-rom.is-drawing .bm-rom-arc { stroke-dashoffset: 1; transition: none; }
.bm-rom.is-drawing .bm-rom-ticks { opacity: 0; transition: none; }

.bm-spots { position: absolute; inset: 0; }
.bm-spot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.bm-spot span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--volt); color: var(--volt);
  font-size: .75rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1;
  transition: transform .15s, background-color .15s;
}
.bm-spot:hover span { transform: scale(1.12); }
.bm-spot.is-active span { background: var(--volt); color: var(--volt-ink); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(205, 242, 58, .22); }
@media (prefers-reduced-motion: no-preference) {
  .bm-spot.is-active span { animation: pulse 2.2s ease-out infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(205, 242, 58, .45); }
  70% { box-shadow: 0 0 0 14px rgba(205, 242, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(205, 242, 58, 0); }
}
@media (max-width: 767px) { .bm-figure-label { display: none; } }
.bm-figure-label {
  text-align: center; margin-top: var(--s1);
  font-size: .9375rem; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-d);
}

/* result panel */
.bm-result {
  background: var(--ink-2); border: 1px solid var(--ink-line); border-top: 4px solid var(--volt);
  border-radius: var(--r); padding: var(--s3) var(--s2);
}
@media (min-width: 480px) { .bm-result { padding: var(--s3); } }
.bm-result.is-entering { animation: enter .35s ease both; }
@keyframes enter { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.res-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-d);
}
.res-num {
  display: inline-grid; place-items: center; min-width: 36px; height: 28px; padding: 0 6px; border-radius: 6px;
  background: var(--volt); color: var(--volt-ink); font-stretch: 100%; letter-spacing: 0; font-variant-numeric: tabular-nums; font-weight: 800;
}
.res-title {
  margin-top: var(--s1);
  font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 850; font-stretch: 118%; line-height: 1; text-transform: uppercase;
}
.res-label {
  font-size: 1rem; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-d);
}
.bm-result > .res-label { margin-top: var(--s3); }
.res-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s1); }
.res-tags li {
  padding: 4px 12px; border: 1px solid var(--ink-line); border-radius: var(--pill);
  font-size: 1rem; line-height: 1.5; color: var(--text-d); background: var(--ink-3);
}
.res-how { margin-top: var(--s2); color: var(--soft-d); }
.res-dur { margin-top: var(--s2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-weight: 650; }
.res-step {
  margin-top: var(--s3); padding: var(--s2);
  border: 1px solid rgba(205, 242, 58, .4); border-radius: 10px; background: rgba(205, 242, 58, .06);
}
.res-svc { margin-top: 4px; font-size: 1.25rem; font-weight: 800; font-stretch: 105%; line-height: 1.25; }
.res-meta { display: flex; gap: var(--s3); margin-top: 6px; }
.res-meta span { font-size: 1.5rem; font-weight: 850; font-stretch: 110%; color: var(--volt); font-variant-numeric: tabular-nums; line-height: 1.2; }
.res-who { margin-top: var(--s1); color: var(--soft-d); }
.res-slot { display: flex; align-items: center; gap: 10px; margin-top: var(--s1); font-size: 1rem; color: var(--text-d); font-weight: 600; }
.res-slot.is-loading, .res-slot.is-fallback { color: var(--muted-d); font-weight: 500; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--volt); flex: none; }
.res-slot.is-loading .live-dot, .res-slot.is-fallback .live-dot { background: var(--muted-d); }
@media (prefers-reduced-motion: no-preference) {
  .res-slot:not(.is-loading):not(.is-fallback) .live-dot { animation: pulse 2s ease-out infinite; }
}
.res-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.res-actions .btn { flex: 1 1 200px; }
.res-note { margin-top: var(--s2); font-size: 1rem; color: var(--muted-d); }

@media (max-width: 379px) {
  .hero-grid { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
}
@media (min-width: 768px) {
  .hero { padding: var(--s5) 0 var(--s6); }
  .hero-grid {
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-areas: "copy copy" "figure controls" "figure result";
    gap: var(--s4);
  }
  .bm-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .hero { padding: var(--s5) 0 var(--s7); }
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) clamp(250px, 21vw, 290px) minmax(0, 1fr);
    grid-template-areas: "copy figure result" "controls figure result";
    grid-template-rows: auto 1fr;
    column-gap: var(--s5); row-gap: var(--s4);
  }
  .hero-title { font-size: clamp(3.75rem, 5vw, 4.75rem); }
  .hero-actions .btn-primary, .hero-actions .btn-ghost-d { flex: 1 1 auto; }
  .bm-figure { padding-top: var(--s1); }
  .bm-list { display: flex; flex-wrap: wrap; }
  .bm-chip { width: auto; }
}

/* ---------------------------------------------------------------- recovery track */
.track { display: grid; gap: var(--s2); counter-reset: none; }
@media (min-width: 640px) { .track { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.phase {
  --p: 25;
  position: relative; display: flex; flex-direction: column; gap: var(--s2);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--s3) var(--s3) var(--s3);
  overflow: hidden;
}
.phase::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--ink) calc(var(--p) * 1%), #E3E5DD 0);
}
.phase:nth-child(2) { --p: 50; }
.phase:nth-child(3) { --p: 75; }
.phase-goal { --p: 100; background: var(--ink); color: var(--text-d); border-color: var(--ink); }
.phase-goal::before { background: var(--volt); }
.phase-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); }
.phase-n {
  font-size: 2.75rem; font-weight: 900; font-stretch: 125%; line-height: 1; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.phase-goal .phase-n { -webkit-text-stroke-color: var(--volt); }
.phase-when {
  padding: 4px 10px; border-radius: var(--pill); background: var(--ink); color: var(--paper);
  font-size: 1rem; font-weight: 700; font-stretch: 85%; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.phase-goal .phase-when { background: var(--volt); color: var(--volt-ink); }
.phase-title { font-size: 1.625rem; font-weight: 850; font-stretch: 118%; line-height: 1; text-transform: uppercase; }
.phase img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--chalk); }
.phase p { color: var(--muted); }
.phase-goal p { color: var(--soft-d); }
.phase .phase-svc {
  margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--line);
  color: var(--ink); font-weight: 700; font-size: 1rem; font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em;
}
.phase-goal .phase-svc { color: var(--volt); border-top-color: var(--ink-line); }
.phase-goal-lead { font-weight: 650; }
.goal-list { display: grid; gap: var(--s2); }
.goal-list li { display: grid; gap: 2px; border-left: 3px solid var(--volt); padding-left: 12px; color: var(--soft-d); }
.goal-list b { font-size: 1.75rem; font-weight: 900; font-stretch: 120%; color: var(--volt); line-height: 1.05; font-variant-numeric: tabular-nums; }
.track-note { margin-top: var(--s3); color: var(--muted); max-width: 45.84em; }

.visit {
  display: grid; gap: var(--s3); margin-top: var(--s6);
  background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
}
.visit-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.visit-body { padding: 0 var(--s3) var(--s4); }
.visit-title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 850; font-stretch: 115%; line-height: 1.05; text-transform: uppercase; }
.visit .btn { margin-top: var(--s3); }
@media (min-width: 1024px) {
  .visit { grid-template-columns: 1.15fr 1fr; align-items: center; gap: var(--s5); }
  .visit-media, .visit-media img { height: 100%; }
  .visit-media img { aspect-ratio: auto; min-height: 420px; }
  .visit-body { padding: var(--s5) var(--s5) var(--s5) 0; }
}
.ticks { display: grid; gap: 10px; margin-top: var(--s3); }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23CDF23A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------------------------------------------------------------- price board */
.board-wrap { display: grid; gap: var(--s4); }
@media (min-width: 1100px) { .board-wrap { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: var(--s5); } }
.board { border-top: 4px solid var(--ink); }
.board-head { display: none; }
.board-row {
  display: grid; gap: 4px var(--s2);
  grid-template-columns: auto auto minmax(0, 1fr);
  grid-template-areas: "main main main" "who who who" "min eur act";
  align-items: center;
  padding: var(--s3) 0; border-bottom: 1px solid var(--line);
}
.br-main { grid-area: main; }
.br-main h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 108%; line-height: 1.2; }
.br-main p { margin-top: 4px; color: var(--muted); }
.br-who { grid-area: who; color: var(--ink); font-weight: 600; margin-top: 4px; }
.br-lab {
  display: inline-block; margin-right: 6px;
  font-size: .9375rem; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.br-min { grid-area: min; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; margin-top: var(--s1); }
.br-eur { grid-area: eur; font-size: 1.75rem; font-weight: 900; font-stretch: 112%; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; margin-top: var(--s1); }
.btn-board {
  grid-area: act; justify-self: end; margin-top: var(--s1);
  min-height: 44px; padding: 8px 16px; background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.btn-board .icon { color: var(--volt); }
.btn-board:hover { background: #262B33; border-color: #262B33; }
@media (min-width: 900px) {
  .board-head, .board-row {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.2fr) 96px 104px 132px;
    grid-template-areas: none;
    column-gap: var(--s3);
  }
  .board-head {
    padding: 14px 0; border-bottom: 1px solid var(--line);
    font-size: .9375rem; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  }
  .board-head span:nth-child(4) { text-align: right; }
  .board-row > * { grid-area: auto; margin-top: 0; }
  .br-who .br-lab { display: none; }
  .br-eur { text-align: right; }
  .board-row { transition: background-color .15s; }
  .board-row:hover { background: var(--chalk); box-shadow: -12px 0 0 var(--chalk), 12px 0 0 var(--chalk); }
}
.board-extras { display: grid; gap: var(--s2); margin-top: var(--s4); }
.board-extras div { padding: var(--s2); border-radius: var(--r-sm); background: var(--chalk); }
.board-extras dt { font-weight: 700; }
.board-extras dd { margin-top: 2px; font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.board-extras small { display: block; font-size: 1rem; font-weight: 500; color: var(--muted); }
@media (min-width: 768px) { .board-extras { grid-template-columns: repeat(3, 1fr); } }

.board-side { display: grid; gap: var(--s3); }
.board-photo { display: none; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
@media (min-width: 1100px) { .board-photo { display: block; } }
.insure { background: var(--chalk); border-radius: var(--r); padding: var(--s3); border-left: 4px solid var(--ink); }
.insure-title { display: flex; align-items: flex-start; gap: 10px; font-size: 1.125rem; font-weight: 800; line-height: 1.3; }
.insure-title .icon { width: 24px; height: 24px; margin-top: 1px; }
.insure p { margin-top: var(--s1); color: var(--muted); }
.insure .insure-small { font-size: 1rem; }

/* ---------------------------------------------------------------- booking */
.book-grid { display: grid; gap: var(--s5); }
@media (min-width: 1024px) { .book-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.book-lead { margin-top: var(--s3); font-size: 1.25rem; font-weight: 750; color: var(--volt); }
.how { display: grid; gap: var(--s2); margin-top: var(--s3); }
.how li { display: flex; gap: 14px; color: var(--soft-d); }
.how .icon { color: var(--volt); width: 22px; height: 22px; margin-top: 2px; }
.book-who { margin-top: var(--s3); padding-left: var(--s2); border-left: 3px solid var(--volt); color: var(--soft-d); }
.callbox { margin-top: var(--s4); padding: var(--s3); background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r); }
.callbox-title { font-size: 1.25rem; font-weight: 800; font-stretch: 108%; }
.callbox p:not(.callbox-title) { margin-top: var(--s1); color: var(--soft-d); }
.callbox-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s2); }
.callbox-actions .btn { flex: 1 1 160px; }
.book-panel {
  background: var(--paper); color: var(--text); border-radius: var(--r);
  padding: var(--s2); box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  scroll-margin-top: calc(var(--header-h) + var(--s2));
  transition: box-shadow .3s;
}
@media (min-width: 600px) { .book-panel { padding: var(--s4); } }
.book-panel.is-arrived { box-shadow: 0 0 0 4px var(--volt), 0 24px 60px rgba(0, 0, 0, .35); }
.book-panel:focus { outline: none; }
.booking-host { min-height: 480px; }

/* ---------------------------------------------------------------- team roster */
.roster { display: grid; gap: var(--s2); }
@media (min-width: 680px) { .roster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .roster { grid-template-columns: repeat(3, 1fr); } }
.player {
  display: flex; flex-direction: column; gap: var(--s1);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3);
}
.player-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s1); }
.player-mono {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px;
  background: var(--ink); color: var(--volt);
  font-size: 1.5rem; font-weight: 900; font-stretch: 125%; letter-spacing: .02em;
}
.player-langs { font-size: 1rem; font-weight: 700; font-stretch: 80%; letter-spacing: .08em; color: var(--muted); }
.player-name { font-size: 1.25rem; font-weight: 800; font-stretch: 105%; line-height: 1.25; }
.player-role { font-weight: 650; }
.player-note { color: var(--muted); }
.player-areas { color: var(--ink); }
.player-book {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  min-height: 52px; padding: 10px 14px; margin-top: var(--s1);
  border: 2px solid var(--ink); border-radius: var(--r-sm); text-decoration: none;
  transition: background-color .15s;
}
.player-book + .player-book { margin-top: 0; }
.player .player-book:first-of-type { margin-top: auto; }
.player-areas { margin-bottom: var(--s1); }
.pb-svc { font-weight: 800; line-height: 1.25; }
.pb-meta { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--muted); white-space: nowrap; }
.player-book:hover { background: var(--volt); }
.player-book:hover .pb-meta { color: var(--ink); }

/* lead (captain) card: the physiatrist is the first step for most visitors */
.player-lead { background: var(--ink); color: var(--text-d); border-color: var(--ink); }
.player-lead .player-mono { background: var(--volt); color: var(--volt-ink); }
.player-lead .player-langs, .player-lead .player-note, .player-lead .br-lab { color: var(--muted-d); }
.player-lead .player-areas { color: var(--text-d); }
.player-lead .player-extra { color: var(--soft-d); padding-left: var(--s2); border-left: 3px solid var(--volt); margin: var(--s1) 0; }
.player-lead .player-book { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.player-lead .player-book .pb-meta { color: var(--volt-ink); }
.player-lead .player-book:hover { background: var(--volt-hover); }
.player-lead { --focus: var(--volt); }
@media (min-width: 1100px) { .player-lead { grid-row: span 2; } .player-lead .player-name { font-size: 1.5rem; } }

/* ---------------------------------------------------------------- stories */
.gbadge-lg {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  padding: 10px 18px; border: 2px solid var(--ink); border-radius: var(--pill);
  font-weight: 600;
}
.gbadge-lg b { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.gbadge-lg .stars { display: inline-flex; gap: 2px; }
.gbadge-lg .stars .icon { width: 18px; height: 18px; fill: var(--ink); stroke: none; }
.gbadge-lg .illus { color: var(--muted); }
.stories { display: grid; gap: var(--s2); }
@media (max-width: 679px) {
  .stories {
    grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--s2)); padding: 0 var(--s2) var(--s2); scroll-padding: 0 var(--s2);
  }
  .story { scroll-snap-align: start; }
}
@media (min-width: 680px) { .stories { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .stories { grid-template-columns: repeat(4, 1fr); } }
.story {
  display: flex; flex-direction: column; gap: var(--s2);
  background: var(--ink); color: var(--text-d); border-radius: var(--r); padding: var(--s3);
}
.story-tag {
  align-self: flex-start; padding: 4px 12px; border-radius: var(--pill); background: var(--volt); color: var(--volt-ink);
  font-size: 1rem; font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em;
}
.story-weeks { display: flex; align-items: baseline; gap: 10px; }
.story-weeks b { font-size: 4rem; font-weight: 900; font-stretch: 125%; line-height: .9; color: var(--volt); font-variant-numeric: tabular-nums; }
.story-weeks span { font-weight: 650; color: var(--soft-d); line-height: 1.25; max-width: 7.02em; }
.story blockquote { margin: 0; font-size: 1.0625rem; color: var(--text-d); }
.story-by { margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--ink-line); color: var(--muted-d); }
.story-by b { color: var(--text-d); }
.stories-note { margin-top: var(--s3); color: var(--muted); }

/* ---------------------------------------------------------------- Q&A */
.qa { display: grid; gap: var(--s4) var(--s5); }
@media (min-width: 900px) { .qa { grid-template-columns: 1fr 1fr; } }
.qa-item { border-top: 3px solid var(--ink); padding-top: var(--s2); }
.qa-item dt { font-size: 1.1875rem; font-weight: 800; font-stretch: 108%; line-height: 1.3; }
.qa-item dd { margin-top: var(--s1); color: var(--muted); }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: var(--s5); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.address { display: flex; gap: 12px; margin-top: var(--s3); font-size: 1.125rem; }
.address .icon { width: 24px; height: 24px; margin-top: 3px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.contact-actions .btn { font-variant-numeric: tabular-nums; }
.getting { display: grid; gap: var(--s2); margin-top: var(--s4); }
.getting li { display: flex; gap: 14px; }
.getting .icon { width: 24px; height: 24px; margin-top: 2px; }
.getting div { display: flex; flex-direction: column; }
.getting span { color: var(--muted); }
.contact-side { display: grid; gap: var(--s2); }
.hours { background: var(--chalk); border-radius: var(--r); padding: var(--s3); }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: var(--s2); }
.hours-head h3 { font-size: 1.25rem; font-weight: 800; }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--muted); }
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9AA0A8; }
.open-now.is-open { color: var(--ink); }
.open-now.is-open::before { background: var(--volt); box-shadow: 0 0 0 2px var(--ink); }
.hours th, .hours td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.today-pill {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: var(--pill);
  background: var(--volt); color: var(--volt-ink); font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; vertical-align: 2px;
}
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--chalk); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--soft-d); padding: var(--s6) 0 calc(var(--s4) + 72px); }
@media (min-width: 1024px) { .site-footer { padding-bottom: var(--s4); } }
.footer-grid { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: var(--s2); max-width: 18.34em; }
.site-footer .brand { color: var(--text-d); }
.footer-h { font-size: 1rem; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-d); margin-bottom: var(--s1); }
.footer-col a { color: var(--text-d); text-underline-offset: 3px; }
.footer-col ul li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-col p a { display: inline-block; padding: 10px 0; margin-block: -4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2);
  margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--ink-line); font-size: 1rem; color: var(--muted-d);
}
.footer-bottom a { color: var(--text-d); text-underline-offset: 3px; display: inline-block; padding: 10px 0; margin-block: -4px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* ---------------------------------------------------------------- mobile bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: var(--s1); padding: 10px var(--s2) calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 15, 18, .96); border-top: 1px solid var(--ink-line);
  transition: transform .25s ease;
}
.mobile-bar.is-hidden { transform: translateY(110%); }
.mb-icon {
  display: grid; place-items: center; width: 52px; min-height: 52px; flex: none;
  border: 1px solid var(--ink-line); border-radius: var(--r-sm); color: var(--text-d);
}
.mb-icon .icon { width: 22px; height: 22px; }
.mb-book { flex: 1; min-height: 52px; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
