/* Catherine Chambers Physiotherapy & Pilates
   World: Table Mountain hiking map. Kloof teal ground, mist sheets,
   footprint-marker yellow routes, flat layered land (depth by overlap, no drop shadows). */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/fonts/hanken-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* land and sky */
  --kloof-950: #072427;
  --kloof-900: #0b3236;
  --kloof-800: #10403f;
  --kloof-700: #175150;
  --kloof-600: #226664;
  --kloof-400: #4f9491;
  --glacier: #7fd0cf;           /* logo teal, lifted for dark grounds */
  --fynbos: #47704f;
  --fynbos-soft: #d9e6d2;
  --sandstone: #d5a06a;
  --marker: #f5c742;            /* Table Mountain footprint marker yellow */
  --marker-ink: #3a2c00;
  --protea: #e27d8e;

  /* page tokens (light) */
  --bg: #eef3ef;
  --sheet: #f8faf7;
  --line: #c9d8d1;
  --ink: #0d2629;
  --ink-2: #33514f;
  --ink-3: #56716d;
  --on-dark: #eaf3ef;
  --on-dark-2: #b6d0cb;
  --accent: var(--kloof-700);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1240px;
  --gut: clamp(18px, 4vw, 40px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 160ms;
  --t-ui: 220ms;
  --t-reveal: 700ms;

  --f-display: "Bricolage", "Hanken", system-ui, sans-serif;
  --f-body: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071d20;
    --sheet: #0c2a2d;
    --line: #1f4645;
    --ink: #e7f1ed;
    --ink-2: #b9cfca;
    --ink-3: #8fb0aa;
    --accent: var(--glacier);
    --fynbos-soft: #16332a;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--marker); color: var(--marker-ink); }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--kloof-400) var(--bg); }
button { font: inherit; color: inherit; }
address { font-style: normal; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 750; line-height: 1.05; letter-spacing: -0.028em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--marker); color: var(--marker-ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- type scale ---------- */
.display { font-size: clamp(2.9rem, 7.4vw, 6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -0.032em; line-height: 0.98; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.12; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-3); }
.prose { max-width: 66ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 1.6em 0 0.5em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 0.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--kloof-400); }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--marker); --b-fg: var(--marker-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.4em; border-radius: 999px; border: 0;
  background: var(--b-bg); color: var(--b-fg);
  font: 700 1rem/1 var(--f-body); letter-spacing: 0.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease, color var(--t-ui) ease;
}
.btn:active { transform: scale(0.97); }
.btn .ico { width: 1.2em; height: 1.2em; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --b-bg: #ffd766; }
  .btn:hover .i-arrow { transform: translateX(3px); }
}
.btn-ghost { --b-bg: transparent; --b-fg: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgb(234 243 239 / 0.45); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { --b-bg: rgb(234 243 239 / 0.1); } }
.btn-dark { --b-bg: var(--kloof-900); --b-fg: var(--on-dark); }
@media (hover: hover) and (pointer: fine) { .btn-dark:hover { --b-bg: var(--kloof-700); } }
@media (prefers-color-scheme: dark) { .btn-dark { --b-bg: var(--marker); --b-fg: var(--marker-ink); } }
.btn-line { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { --b-bg: var(--sheet); } }
.btn-sm { min-height: 42px; padding: 0 1.1em; font-size: 0.94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; text-decoration: none; color: var(--accent); }
.link .ico { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover .ico { transform: translateX(3px); } .link:hover { text-decoration: underline; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--kloof-900); color: var(--on-dark);
  transition: background-color var(--t-ui) ease;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgb(127 208 207 / 0.14); opacity: 0; transition: opacity var(--t-ui) ease; }
.site-header.is-stuck::after { opacity: 1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.05; }
.brand img { width: 26px; height: auto; }
.brand b { display: block; font: 750 1.08rem/1 var(--f-display); letter-spacing: -0.02em; }
.brand span { display: block; font-size: 0.78rem; color: var(--on-dark-2); letter-spacing: 0.01em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 10px 11px; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--on-dark-2); border-radius: var(--r-sm); transition: color var(--t-ui) ease; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--marker); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav a[aria-current="page"] { color: var(--on-dark); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--on-dark); } .nav a:not(.btn):hover::after { transform: scaleX(1); } }
.nav .btn { margin-left: 10px; }
.nav-call, .nav a.nav-mobile-only { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgb(234 243 239 / 0.08); color: var(--on-dark); align-items: center; justify-content: center; cursor: pointer; transition: transform var(--t-press) var(--ease-out); }
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle .ico { width: 24px; height: 24px; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--kloof-900); padding: 8px var(--gut) 24px; max-height: calc(100dvh - 70px); overflow: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 320ms var(--ease-drawer), visibility 0s linear 320ms;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 380ms var(--ease-drawer), visibility 0s; }
  .nav a:not(.btn) { font: 700 1.5rem/1.2 var(--f-display); padding: 14px 0; color: var(--on-dark); border-bottom: 1px solid rgb(127 208 207 / 0.12); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--marker); }
  .nav .btn { margin: 20px 0 0; }
  .nav-call { display: inline-flex; margin-top: 10px !important; }
  .nav a.nav-mobile-only { display: block; }
}

/* ---------- hero (map) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--kloof-900) 0%, #114445 40%, #3f8680 70%, #a9d3c9 100%);
  color: var(--on-dark);
  min-height: min(880px, calc(100dvh - 70px));
  display: grid; grid-template-rows: auto 1fr;
}
.hero-copy { position: relative; z-index: 3; padding-top: clamp(40px, 7vh, 88px); }
.hero-copy .display { max-width: 11ch; }
.hero-copy .lede { color: var(--on-dark-2); margin: 22px 0 30px; max-width: 44ch; }
.hero-stage { position: relative; min-height: 300px; }
.land { position: absolute; inset: auto 0 0 0; width: 100%; height: clamp(330px, 38vw, 580px); }
.land svg { width: 100%; height: 100%; overflow: visible; }
.hero-stage { min-height: clamp(250px, 30vw, 420px); }
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .land { height: 270px; }
  .hero-stage { min-height: 240px; }
  .hero-copy .lede { margin: 18px 0 24px; }
}
.land .l-far { fill: #4a8f89; }
.land .l-massif { fill: #143f41; }
.land .l-mid { fill: #0d3234; }
.land .l-front { fill: var(--kloof-950); }
.land .l-fynbos { fill: #1f4a3d; }
.land .contour-img { opacity: 0.13; }
.route-line { fill: none; stroke: var(--marker); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; }
.route-shadow { fill: none; stroke: var(--kloof-950); stroke-width: 9; stroke-linecap: round; opacity: 0.35; }
.wp circle.ring { fill: var(--kloof-950); stroke: var(--marker); stroke-width: 3; }
.wp circle.dot { fill: var(--marker); }
.wp text { fill: var(--on-dark); font: 700 15px var(--f-body); letter-spacing: 0.02em; paint-order: stroke; stroke: var(--kloof-950); stroke-width: 5px; stroke-linejoin: round; }
.wp .alt { fill: var(--on-dark-2); font-weight: 500; font-size: 12.5px; }
.summit-flag { fill: var(--marker); }

/* sun behind the mountain + glowing waypoints */
.sun-rays path { fill: #ffe7a3; opacity: 0.11; }
.wp .halo { fill: var(--marker); opacity: 0.55; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .sun { animation: sunrise 2600ms var(--ease-out) 200ms both; }
  .hero .sun-glow { transform-box: fill-box; transform-origin: center; animation: breathe 7s ease-in-out 2800ms infinite; }
  .hero .sun-rays { transform-origin: 930px 150px; animation: turn 140s linear infinite; }
  .hero .wp .halo { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-in-out var(--p, 0s) infinite; }
}
@keyframes sunrise { from { transform: translateY(150px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: 0.8; } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(0.85); opacity: 0.25; } 50% { transform: scale(1.35); opacity: 0.7; } }

/* hero load choreography: layers settle, route draws, waypoints arrive */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .layer { animation: settle 1100ms var(--ease-out) var(--d, 0ms) both; }
  .js .hero .route-mask-path { animation: draw 2200ms var(--ease-in-out) 700ms both; }
  .js .hero .wp { animation: pop 420ms var(--ease-out) var(--d, 0ms) both; transform-box: fill-box; transform-origin: center; }
  .js .hero-copy > * { animation: rise 900ms var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: 90ms; }
  .js .hero-copy > :nth-child(3) { animation-delay: 180ms; }
  .js .hero-copy > :nth-child(4) { animation-delay: 260ms; }
}
@keyframes settle { from { transform: translateY(46px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: var(--len, 1600); } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }

/* map legend straddling the hero edge */
.legend-wrap { position: relative; z-index: 4; margin-top: -64px; }
.legend {
  background: var(--sheet); color: var(--ink); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; grid-template-columns: auto repeat(4, 1fr); align-items: stretch;
}
.legend > * { padding: 22px 24px; }
.legend > * + * { border-left: 1px solid var(--line); }
.legend-title { display: flex; flex-direction: column; justify-content: center; gap: 4px; font: 800 0.95rem/1 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.legend-title .ico { width: 26px; height: 26px; color: var(--accent); }
.legend b { display: block; font: 800 clamp(1.4rem, 2.4vw, 2rem)/1 var(--f-display); letter-spacing: -0.03em; }
.legend span { display: block; margin-top: 6px; font-size: 0.93rem; color: var(--ink-2); line-height: 1.35; }
.legend .stars { display: inline-flex; gap: 2px; color: #d99a1b; vertical-align: -2px; margin-left: 6px; }
.legend .stars .ico { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .legend { grid-template-columns: 1fr 1fr; }
  .legend-title { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; padding-bottom: 6px; }
  .legend > * + * { border-left: 0; }
  .legend > :nth-child(n+2) { border-top: 1px solid var(--line); }
  .legend > :nth-child(odd):not(:first-child) { border-left: 1px solid var(--line); }
  .legend-title + * { border-top: 1px solid var(--line); }
}

/* ---------- page header band (inner pages) ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--kloof-900); color: var(--on-dark);
  padding: clamp(48px, 8vw, 96px) 0 clamp(120px, 14vw, 190px);
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glacier); opacity: 0.09;
  -webkit-mask: url("/img/contours.svg") 0 0 / 900px auto repeat; mask: url("/img/contours.svg") 0 0 / 900px auto repeat;
}
.band .ridge { position: absolute; inset: auto 0 -1px 0; width: 100%; height: clamp(70px, 10vw, 150px); z-index: -1; }
.band .ridge path { fill: var(--bg); }
.band .ridge .r2 { fill: var(--kloof-800); }
.band .lede { color: var(--on-dark-2); margin-top: 20px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.9rem; color: var(--on-dark-2); margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.band .btn-row { margin-top: 30px; }
.band-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 70px); align-items: end; }
.band-grid .band-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.band-grid .band-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.sec-tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lede { margin-top: 18px; }
.on-dark { background: var(--kloof-900); color: var(--on-dark); }
.on-dark .lede, .on-dark .muted { color: var(--on-dark-2); }
.on-dark .link { color: var(--marker); }
.on-sheet { background: var(--sheet); }

/* the route: assess > treat > strengthen > maintain */
.route { position: relative; }
.route-track { position: absolute; left: 0; right: 0; top: 34px; height: 8px; }
.route-track svg { width: 100%; height: 100%; overflow: visible; }
.route-track .base { stroke: var(--line); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; fill: none; }
.route-track .walk { stroke: var(--kloof-600); stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: round; fill: none; }
.on-dark .route-track .base { stroke: rgb(127 208 207 / 0.25); }
.on-dark .route-track .walk { stroke: var(--marker); }
.route-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); position: relative; }
.route-steps li { position: relative; padding-top: 88px; }
.route-steps .marker { position: absolute; top: 12px; left: 0; width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; background: var(--kloof-900); color: var(--marker); box-shadow: 0 0 0 5px var(--bg), inset 0 0 0 3px var(--marker); transition: transform 500ms var(--ease-out), background-color 400ms ease; }
.on-dark .route-steps .marker { box-shadow: 0 0 0 5px var(--kloof-900), inset 0 0 0 3px var(--marker); background: var(--kloof-800); }
.route-steps .marker .ico { width: 24px; height: 24px; }
.route-steps li:last-child .marker { background: var(--marker); color: var(--marker-ink); }
.route-steps h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 10px; }
.route-steps p { color: var(--ink-2); margin: 0 0 12px; font-size: 1rem; }
.on-dark .route-steps p { color: var(--on-dark-2); }
.route-steps .who { font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.on-dark .route-steps .who { color: var(--glacier); }
@media (max-width: 900px) {
  .route-track { left: 25px; right: auto; top: 30px; bottom: 30px; width: 8px; height: auto; }
  .route-steps { grid-template-columns: 1fr; gap: 34px; }
  .route-steps li { padding: 0 0 0 82px; min-height: 60px; }
  .route-steps .marker { top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .route .walk { stroke-dashoffset: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1800ms var(--ease-in-out); }
  .js .route.is-in .walk { clip-path: inset(0 0 0 0); }
  .js .route .marker { transform: scale(0.7); }
  .js .route.is-in .marker { transform: none; }
  .js .route.is-in li:nth-child(2) .marker { transition-delay: 420ms; }
  .js .route.is-in li:nth-child(3) .marker { transition-delay: 840ms; }
  .js .route.is-in li:nth-child(4) .marker { transition-delay: 1260ms; }
  @media (max-width: 900px) { .js .route .walk { clip-path: inset(0 0 100% 0); } .js .route.is-in .walk { clip-path: inset(0 0 0 0); } }
}

/* reveal on scroll (content stays visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- services split ---------- */
.trails { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(16px, 2vw, 24px); }
.trail {
  position: relative; overflow: hidden; border-radius: var(--r-lg); text-decoration: none; color: var(--on-dark);
  background: var(--kloof-800); min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.trail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.trail::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 36 39 / 0) 25%, rgb(7 36 39 / 0.92) 78%); }
.trail-body { padding: clamp(24px, 3vw, 40px); }
.trail h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.trail p { color: var(--on-dark-2); max-width: 44ch; margin-bottom: 20px; }
.trail .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; list-style: none; padding: 0; }
.trail .tags li { font-size: 0.86rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgb(234 243 239 / 0.1); box-shadow: inset 0 0 0 1px rgb(234 243 239 / 0.18); }
.trail .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--marker); }
.trail .go .ico { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .trail:hover img { transform: scale(1.04); }
  .trail:hover .go .ico { transform: translateX(4px); }
}
.trail:active { transform: scale(0.995); }
.trail-pilates { background: var(--fynbos); }
.trail-pilates p { color: #e8f1e3; }
@media (max-width: 900px) {
  .trails { grid-template-columns: 1fr; }
  .trail { min-height: 0; justify-content: flex-start; }
  .trail img { position: relative; inset: auto; height: 230px; z-index: 0; }
  .trail::before { display: none; }
}

/* specialty trail markers */
.markers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(16px, 2vw, 24px); border-radius: var(--r-lg); overflow: hidden; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); }
.mk { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 24px 26px; text-decoration: none; color: var(--ink); position: relative; transition: background-color var(--t-ui) ease; }
.mk + .mk { box-shadow: -1px 0 0 var(--line); }
.mk:nth-child(n+4) { border-top: 1px solid var(--line); }
.mk .sym { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--fynbos-soft); color: var(--fynbos); }
@media (prefers-color-scheme: dark) { .mk .sym { color: #9fc79a; } }
.mk .sym .ico { width: 24px; height: 24px; }
.mk b { display: block; font: 750 1.14rem/1.15 var(--f-display); letter-spacing: -0.015em; }
.mk span { display: block; font-size: 0.92rem; color: var(--ink-3); margin-top: 3px; line-height: 1.35; }
.mk > .ico { color: var(--ink-3); transition: transform var(--t-ui) var(--ease-out), color var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .mk:hover { background: var(--bg); } .mk:hover > .ico { transform: translate(2px, -2px); color: var(--accent); } }
@media (max-width: 960px) { .markers { grid-template-columns: 1fr 1fr; } .mk:nth-child(n+3) { border-top: 1px solid var(--line); } .mk:nth-child(odd) { box-shadow: none; } }
@media (max-width: 600px) { .markers { grid-template-columns: 1fr; } .mk { box-shadow: none !important; } .mk + .mk { border-top: 1px solid var(--line); } }

/* ---------- surgeon quote ---------- */
.big-quote { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.big-quote > .ico { width: clamp(56px, 8vw, 110px); height: auto; color: var(--marker); }
.big-quote blockquote { margin: 0; }
.big-quote blockquote p { font: 650 clamp(1.6rem, 3.3vw, 2.75rem)/1.18 var(--f-display); letter-spacing: -0.025em; max-width: 30ch; }
.big-quote figcaption { margin-top: 26px; color: var(--on-dark-2); }
.big-quote figcaption b { color: var(--on-dark); display: block; font-size: 1.1rem; }
.referrers { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgb(127 208 207 / 0.18); }
.referrers figure { margin: 0; padding: 28px 28px 0 0; }
.referrers figure + figure { padding-left: 28px; border-left: 1px solid rgb(127 208 207 / 0.18); }
.referrers p { color: var(--on-dark-2); font-size: 1rem; }
.referrers figcaption { font-size: 0.92rem; color: var(--glacier); font-weight: 600; }
@media (max-width: 860px) { .big-quote { grid-template-columns: 1fr; } .referrers { grid-template-columns: 1fr; } .referrers figure + figure { padding-left: 0; border-left: 0; border-top: 1px solid rgb(127 208 207 / 0.18); } }

/* ---------- team: flip cards (front photo, back credentials) ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.person { perspective: 1400px; position: relative; }
.person-inner { position: relative; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform 700ms var(--ease-out); }
.person.is-flipped .person-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .person:hover .person-inner { transform: rotateY(180deg); } }
.person-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-lg); overflow: hidden; }
.person-front img { width: 100%; height: 100%; object-fit: cover; }
.person-front .name { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(180deg, rgb(7 36 39 / 0), rgb(7 36 39 / 0.9)); color: var(--on-dark); }
.person-front .name b { display: block; font: 750 1.3rem/1.1 var(--f-display); letter-spacing: -0.02em; }
.person-front .name span { font-size: 0.9rem; color: var(--on-dark-2); }
.person-back { transform: rotateY(180deg); background: var(--kloof-800); color: var(--on-dark); padding: 24px; display: flex; flex-direction: column; }
.person-back::before { content: ""; position: absolute; inset: 0; background: var(--glacier); opacity: 0.08; -webkit-mask: url("/img/contours.svg") center / 700px auto; mask: url("/img/contours.svg") center / 700px auto; pointer-events: none; }
.person-back b { font: 750 1.3rem/1.1 var(--f-display); letter-spacing: -0.02em; }
.person-back .cred { margin: 10px 0 14px; font-weight: 700; color: var(--marker); font-size: 0.95rem; line-height: 1.35; }
.person-back p { color: var(--on-dark-2); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.flip-btn { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgb(7 36 39 / 0.6); color: var(--on-dark); display: grid; place-items: center; cursor: pointer; transition: transform var(--t-press) var(--ease-out); }
.flip-btn:active { transform: scale(0.92); }
.flip-btn .ico { width: 20px; height: 20px; transition: transform 300ms var(--ease-out); }
.person.is-flipped .flip-btn .ico { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .person-inner { transition: none; } }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .team { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 12px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .team::-webkit-scrollbar { display: none; }
  .person { scroll-snap-align: start; position: relative; }
}

/* ---------- testimonials marquee ---------- */
.voices { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.voices-track { display: flex; gap: 18px; width: max-content; padding: 6px 0; }
@media (prefers-reduced-motion: no-preference) {
  .voices-track { animation: drift 70s linear infinite; }
  .voices:hover .voices-track, .voices:focus-within .voices-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .voices { overflow-x: auto; } }
@keyframes drift { to { transform: translateX(-50%); } }
.voice { width: min(380px, 78vw); flex: none; margin: 0; padding: 26px; border-radius: var(--r-lg); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.voice p { margin: 0; font-size: 1.04rem; color: var(--ink); line-height: 1.5; }
.voice figcaption { font-size: 0.92rem; color: var(--ink-3); }
.voice figcaption b { color: var(--ink); }
.rating-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 36px; }
.g-score { display: flex; align-items: center; gap: 14px; }
.g-score b { font: 800 2.6rem/1 var(--f-display); letter-spacing: -0.03em; }
.g-score .stars { display: flex; gap: 2px; color: #d99a1b; }
.g-score .stars .ico { width: 20px; height: 20px; }
.g-score span { font-size: 0.95rem; color: var(--ink-3); }

/* ---------- visit / studio ---------- */
.visit { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 60px) clamp(28px, 5vw, 80px); align-items: start; }
.visit-photo { grid-column: 1 / -1; border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 1600 / 414; }
.visit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facts-2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.facts { display: grid; gap: 0; align-content: start; }
.fact { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact:first-of-type { padding-top: 0; }
.fact .ico { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.fact b { display: block; font: 750 1.12rem/1.2 var(--f-display); margin-bottom: 4px; }
.fact p { margin: 0; color: var(--ink-2); }
.fact a { font-weight: 700; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit-photo { aspect-ratio: 16 / 9; } .visit-photo img { object-position: 75% 50%; } }

/* ---------- final CTA ---------- */
.summit { position: relative; isolation: isolate; overflow: hidden; background: var(--kloof-900); color: var(--on-dark); border-radius: calc(var(--r-lg) + 6px); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.summit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glacier); opacity: 0.1; -webkit-mask: url("/img/contours.svg") 30% 40% / 1000px auto; mask: url("/img/contours.svg") 30% 40% / 1000px auto; }
.summit .lede { color: var(--on-dark-2); margin-top: 16px; }
.summit-actions { display: grid; gap: 12px; justify-items: stretch; }
.summit-actions .btn { width: 100%; }
.summit-actions small { color: var(--on-dark-2); font-size: 0.9rem; text-align: center; }
@media (max-width: 860px) { .summit { grid-template-columns: 1fr; } }

/* ---------- generic layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.split-7-5 { grid-template-columns: 7fr 5fr; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
@media (max-width: 900px) { .split, .split-7-5, .split-5-7 { grid-template-columns: 1fr; } }
.photo { border-radius: var(--r-lg); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.sticky-col { position: sticky; top: 100px; }
@media (max-width: 900px) { .sticky-col { position: static; } }

/* chips: conditions */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 0.98rem; }
.chip-groups { display: grid; gap: 28px; }
.chip-groups h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--ink-2); }

/* technique list (numbered-free, icon led) */
.tech { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tech > div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.tech > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.tech .ico { width: 26px; height: 26px; color: var(--accent); }
.tech b { font: 750 1.15rem/1.2 var(--f-display); display: block; margin-bottom: 6px; }
.tech p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 700px) { .tech { grid-template-columns: 1fr; } .tech > div:nth-child(even) { padding-left: 0; border-left: 0; } }

/* offer tiles (pilates options) */
.options { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: auto; gap: clamp(14px, 2vw, 20px); }
.opt { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.opt h3 { font-size: 1.45rem; }
.opt p { color: var(--ink-2); margin: 0; }
.opt .tag { align-self: flex-start; font-size: 0.82rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--marker); color: var(--marker-ink); }
.opt-lead { grid-row: span 2; background: var(--kloof-800); color: var(--on-dark); box-shadow: none; position: relative; overflow: hidden; isolation: isolate; }
.opt-lead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glacier); opacity: 0.1; -webkit-mask: url("/img/contours.svg") 0 0 / 800px auto; mask: url("/img/contours.svg") 0 0 / 800px auto; }
.opt-lead p { color: var(--on-dark-2); }
.opt-lead h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.opt-lead ol { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: s; }
.opt-lead li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; color: var(--on-dark-2); counter-increment: s; }
.opt-lead li::before { content: counter(s); width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--marker); color: var(--marker-ink); font-weight: 800; font-size: 0.95rem; }
.opt-lead li b { color: var(--on-dark); display: block; }
@media (max-width: 960px) { .options { grid-template-columns: 1fr 1fr; } .opt-lead { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 600px) { .options { grid-template-columns: 1fr; } }

/* ---------- timetable ---------- */
.tt-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); width: max-content; max-width: 100%; overflow-x: auto; position: relative; margin-bottom: 28px; scrollbar-width: none; }
.tt-tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--ink-2); transition: color var(--t-ui) ease; white-space: nowrap; }
.tt-tabs button[aria-selected="true"] { color: var(--marker-ink); }
.tt-pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--marker); transition: transform 300ms var(--ease-out); }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.day { border-radius: var(--r-lg); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; transition: box-shadow var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
.day h2 { font-size: 1.3rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.day h2 small { font: 600 0.8rem var(--f-body); color: var(--ink-3); letter-spacing: 0; }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slot { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.slot time { font: 750 1.02rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.slot span { font-size: 0.92rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.lvl { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.lvl-b { background: #6fb38a; }
.lvl-bi { background: var(--sandstone); }
.lvl-i { background: var(--kloof-600); }
.lvl-t { background: var(--protea); }
.lvl-p { background: #9d8ad6; }
.day.is-today { box-shadow: inset 0 0 0 2px var(--marker); }
.tt-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 0.92rem; color: var(--ink-2); list-style: none; padding: 0; }
.tt-legend li { display: flex; align-items: center; gap: 8px; }
.js .week[data-filtered] .day[hidden] { display: none; }
@media (max-width: 1000px) { .week { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .week { grid-template-columns: 1fr; } }

/* ---------- accordion (FAQ, directions) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 1.15rem/1.3 var(--f-display); letter-spacing: -0.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ico { flex: none; width: 22px; height: 22px; color: var(--accent); transition: transform 280ms var(--ease-out); }
.acc details[open] summary .ico { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  .acc details::details-content { block-size: 0; overflow: clip; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
  .acc details[open]::details-content { block-size: auto; }
}
:root { interpolate-size: allow-keywords; }

/* ---------- testimonials page ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter button { border: 0; cursor: pointer; padding: 10px 16px; border-radius: 999px; font-weight: 700; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); transition: background-color var(--t-ui) ease, color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.filter button:active { transform: scale(0.97); }
.filter button[aria-pressed="true"] { background: var(--kloof-900); color: var(--on-dark); box-shadow: none; }
@media (prefers-color-scheme: dark) { .filter button[aria-pressed="true"] { background: var(--marker); color: var(--marker-ink); } }
.wall { columns: 3 320px; column-gap: 18px; }
.wall figure { break-inside: avoid; margin: 0 0 18px; padding: 26px; border-radius: var(--r-lg); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); }
.wall figure.pro { background: var(--kloof-900); color: var(--on-dark); box-shadow: none; }
.wall figure.pro p { color: var(--on-dark-2); }
.wall figure.pro figcaption b { color: var(--on-dark); }
.wall figure.pro figcaption { color: var(--glacier); }
.wall p { color: var(--ink-2); font-size: 1rem; }
.wall .more-text { display: none; }
.wall figure.is-open .more-text { display: inline; }
.wall .more { border: 0; background: none; padding: 0; font-weight: 700; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.wall figure.pro .more { color: var(--marker); }
.wall figcaption { font-size: 0.92rem; color: var(--ink-3); margin-top: 14px; }
.wall figcaption b { display: block; color: var(--ink); font-size: 1rem; }
.wall figure[hidden] { display: none; }

/* ---------- resources ---------- */
.library { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.shelf h2 { font-size: 1.6rem; margin-bottom: 8px; }
.shelf > p { color: var(--ink-3); font-size: 0.98rem; }
.shelf ul { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.shelf li a { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color var(--t-ui) ease; }
.shelf li a .ico { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.shelf li a small { color: var(--ink-3); font-variant-numeric: tabular-nums; font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .shelf li a:hover { color: var(--accent); } }
@media (max-width: 960px) { .library { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-size: 0.88rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--sheet); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; min-height: 50px; transition: border-color var(--t-ui) ease, box-shadow var(--t-ui) ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--kloof-600); box-shadow: 0 0 0 4px rgb(245 199 66 / 0.45); }
.field .err { display: none; color: #b3261e; font-size: 0.9rem; font-weight: 600; }
@media (prefers-color-scheme: dark) { .field .err { color: #ffb4ab; } }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: #b3261e; }
.field.is-bad .err { display: block; }
@media (prefers-reduced-motion: no-preference) { .field.is-bad input, .field.is-bad textarea { animation: shake 360ms var(--ease-out); } }
@keyframes shake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.93rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--kloof-700); }
.form-note { font-size: 0.9rem; color: var(--ink-3); }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; background: var(--fynbos-soft); color: var(--ink); font-weight: 600; }
.form-status.is-on { display: block; }

.book-ways { display: grid; gap: 12px; }
.way { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease; }
.way:active { transform: scale(0.985); }
.way .sym { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--kloof-900); color: var(--marker); }
.way .sym .ico { width: 26px; height: 26px; }
.way b { display: block; font: 750 1.15rem/1.2 var(--f-display); }
.way span { color: var(--ink-3); font-size: 0.93rem; }
.way > .ico { color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .way:hover { background: var(--bg); } }

.pin-map { position: relative; isolation: isolate; border-radius: var(--r-lg); overflow: hidden; background: var(--fynbos-soft); min-height: 320px; display: grid; place-items: center; text-decoration: none; }
.pin-map::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fynbos); opacity: 0.35; -webkit-mask: url("/img/contours.svg") 40% 30% / 900px auto; mask: url("/img/contours.svg") 40% 30% / 900px auto; }
.pin-map .pin { display: grid; justify-items: center; gap: 12px; text-align: center; }
.pin-map .pin > .ico { width: 54px; height: 54px; color: var(--kloof-900); }
@media (prefers-color-scheme: dark) { .pin-map .pin > .ico { color: var(--marker); } }
.pin-map .pin b { font: 800 1.4rem/1.1 var(--f-display); }
@media (prefers-reduced-motion: no-preference) { .pin-map .pin > .ico { animation: bob 2.8s var(--ease-in-out) infinite; } }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- specialty page facts ---------- */
.kit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--sheet); }
.kit > div { padding: 22px 24px; }
.kit > div + div { border-left: 1px solid var(--line); }
.kit b { display: block; font: 800 1.35rem/1.1 var(--f-display); letter-spacing: -0.02em; }
.kit span { display: block; font-size: 0.92rem; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 800px) { .kit { grid-template-columns: 1fr 1fr; } .kit > div:nth-child(3) { border-left: 0; } .kit > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink-2); }
.ticks li .ico { width: 22px; height: 22px; color: var(--fynbos); margin-top: 2px; }
@media (prefers-color-scheme: dark) { .ticks li .ico { color: #9fc79a; } }
.pull { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--kloof-900); color: var(--on-dark); margin: 0; }
.pull p { font: 600 clamp(1.25rem, 2vw, 1.55rem)/1.3 var(--f-display); letter-spacing: -0.015em; }
.pull figcaption { color: var(--glacier); font-size: 0.95rem; font-weight: 600; }
.notice { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 18px 20px; border-radius: var(--r); background: rgb(245 199 66 / 0.22); color: var(--ink); }
.notice .ico { width: 24px; height: 24px; color: #8a6400; }
@media (prefers-color-scheme: dark) { .notice .ico { color: var(--marker); } }
.notice p { margin: 0; }

/* timeline (about) */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px dotted var(--kloof-400); }
.timeline li { padding: 26px 22px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 999px; background: var(--marker); box-shadow: 0 0 0 4px var(--bg); }
.timeline b { display: block; font: 800 2.2rem/1 var(--f-display); letter-spacing: -0.03em; margin-bottom: 10px; }
.timeline p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 3px dotted var(--kloof-400); padding-left: 24px; gap: 28px; } .timeline li { padding: 0; } .timeline li::before { top: 6px; left: -34px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 20px); }
.values > div { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); }
.values > div:nth-child(1) { background: var(--kloof-900); color: var(--on-dark); }
.values > div:nth-child(2) { background: var(--fynbos); color: #f1f6ee; }
.values > div:nth-child(3) { background: var(--marker); color: var(--marker-ink); }
.values h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.values p { margin: 0; opacity: 0.9; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { position: relative; isolation: isolate; background: var(--kloof-950); color: var(--on-dark-2); padding: 0 0 110px; margin-top: clamp(72px, 10vw, 140px); }
.site-footer .foot-ridge { display: block; width: 100%; height: clamp(60px, 9vw, 130px); margin-top: calc(-1 * clamp(60px, 9vw, 130px) + 1px); }
.site-footer .foot-ridge .r1 { fill: var(--kloof-800); }
.site-footer .foot-ridge .r2 { fill: var(--kloof-950); }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glacier); opacity: 0.05; -webkit-mask: url("/img/contours.svg") 0 0 / 1100px auto; mask: url("/img/contours.svg") 0 0 / 1100px auto; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: clamp(30px, 4vw, 60px); }
.foot-top h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--on-dark); margin-bottom: 18px; }
.site-footer h3 { font: 800 0.8rem/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--glacier); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .social { display: flex; gap: 10px; margin-top: 22px; }
.site-footer .social a { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: rgb(127 208 207 / 0.1); transition: background-color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.site-footer .social a:active { transform: scale(0.94); }
.site-footer .social a:hover { background: rgb(127 208 207 / 0.2); }
.site-footer .social .ico { width: 20px; height: 20px; }
.review-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; color: var(--marker) !important; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(127 208 207 / 0.14); font-size: 0.88rem; }
.foot-base nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* mobile action bar */
.mbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 8px; border-radius: 999px; background: var(--kloof-900); box-shadow: 0 10px 30px rgb(7 36 39 / 0.35); transform: translateY(0); transition: transform 380ms var(--ease-drawer); }
.mbar.is-hidden { transform: translateY(calc(100% + 30px)); }
.mbar a { min-height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--on-dark); background: rgb(234 243 239 / 0.08); transition: transform var(--t-press) var(--ease-out); }
.mbar a:active { transform: scale(0.96); }
.mbar a.primary { background: var(--marker); color: var(--marker-ink); }
.mbar .ico { width: 20px; height: 20px; }
@media (max-width: 760px) { .mbar { display: grid; } }

/* 404 */
.lost { min-height: 70vh; display: grid; align-content: center; }
.week[data-filtered]:not([data-filtered="all"]) { grid-template-columns: minmax(0, 560px); }
.on-dark .wall figure.pro { background: var(--kloof-800); }
@media (max-width: 640px) { .legend-wrap { margin-top: -28px; } }

/* people: small portrait chips that put a face to a page */
.people { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.people li { display: flex; align-items: center; gap: 12px; }
.people img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--bg); }
.people b { display: block; font: 750 1rem/1.2 var(--f-display); }
.people span { display: block; font-size: 0.88rem; color: var(--ink-3); line-height: 1.3; }
.on-dark .people img, .band .people img { box-shadow: 0 0 0 3px var(--kloof-900); }
.on-dark .people span, .band .people span { color: var(--on-dark-2); }
.host { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; margin-top: 26px; padding: 18px; border-radius: var(--r-lg); background: var(--fynbos-soft); }
.host img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; }
.host b { display: block; font: 750 1.05rem/1.25 var(--f-display); }
.host p { margin: 4px 0 0; font-size: 0.95rem; color: var(--ink-2); }

/* route symbols sway like hanging trail markers as they scroll into view */
.route-steps .marker .ico { transform-origin: 50% 8%; }
@media (prefers-reduced-motion: no-preference) {
  .route-steps li.is-swaying .marker .ico { animation: sway 1500ms cubic-bezier(0.36, 0.07, 0.19, 0.97) var(--sd, 0ms) both; }
  .route-steps li.is-swaying .marker { animation: bob-in 1500ms var(--ease-out) var(--sd, 0ms) both; }
  @media (hover: hover) and (pointer: fine) { .route-steps li:hover .marker .ico { animation: sway 1100ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both; } }
}
@keyframes sway { 0% { transform: rotate(0); } 18% { transform: rotate(-16deg); } 38% { transform: rotate(11deg); } 58% { transform: rotate(-6deg); } 78% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
@keyframes bob-in { 0% { translate: 0 0; } 25% { translate: 0 -5px; } 55% { translate: 0 1px; } 100% { translate: 0 0; } }

/* hover preview photos on the specialty tiles (pointer devices only) */
.peek { position: fixed; z-index: 60; left: 0; top: 0; width: 260px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; pointer-events: none;
  background: var(--kloof-800); box-shadow: 0 18px 40px -12px rgb(7 36 39 / 0.45), 0 0 0 4px var(--sheet);
  opacity: 0; transform: translate(var(--px, 0), var(--py, 0)) translateY(10px) scale(0.92) rotate(-2deg); transform-origin: 50% 100%;
  transition: opacity 160ms ease, transform 260ms var(--ease-out); }
.peek.is-on { opacity: 1; transform: translate(var(--px, 0), var(--py, 0)) rotate(-2deg); }
.peek.is-moving { transition: opacity 160ms ease, transform 0ms; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .peek { transition: opacity 120ms ease; transform: translate(var(--px, 0), var(--py, 0)); } .peek.is-on { transform: translate(var(--px, 0), var(--py, 0)); } }

/* reviews: tilted 3D wall, columns drift in opposite directions */
.wall3d { position: relative; height: 600px; overflow: hidden; perspective: 900px; border-radius: var(--r-lg); }
.wall3d-tilt { position: absolute; left: 50%; top: 50%; display: flex; gap: 16px; width: max-content;
  transform: translate(-50%, -50%) translateZ(-90px) rotateX(20deg) rotateY(-10deg) rotateZ(16deg); transform-style: preserve-3d; }
.v3-col { width: 250px; height: 980px; overflow: hidden; }
.v3-track { display: flex; flex-direction: column; gap: 16px; }
.v3 { margin: 0; padding: 18px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.v3 p { margin: 12px 0 0; font-size: 0.95rem; line-height: 1.45; color: var(--ink); }
.v3-who { display: flex; align-items: center; gap: 10px; }
.v3-who b { display: block; font: 750 0.95rem/1.15 var(--f-display); }
.v3-who small { display: block; font-size: 0.8rem; color: var(--ink-3); line-height: 1.25; }
.v3-av { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; flex: none; font: 800 0.85rem/1 var(--f-display); letter-spacing: 0.02em; }
.v3-kloof { background: var(--kloof-800); color: var(--marker); }
.v3-fynbos { background: var(--fynbos); color: #f1f6ee; }
.v3-sand { background: var(--sandstone); color: #3a2410; }
.v3-glacier { background: var(--glacier); color: var(--kloof-900); }
.v3-fade { position: absolute; pointer-events: none; z-index: 2; }
.v3-t { inset: 0 0 auto; height: 26%; background: linear-gradient(var(--sheet), transparent); }
.v3-b { inset: auto 0 0; height: 26%; background: linear-gradient(transparent, var(--sheet)); }
.v3-l { inset: 0 auto 0 0; width: 18%; background: linear-gradient(90deg, var(--sheet), transparent); }
.v3-r { inset: 0 0 0 auto; width: 18%; background: linear-gradient(270deg, var(--sheet), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .v3-track { animation: v3-up var(--dur, 50s) linear infinite; }
  .v3-rev .v3-track { animation-direction: reverse; }
  .wall3d:hover .v3-track { animation-play-state: paused; }
  @media (hover: hover) and (pointer: fine) { .v3:hover { transform: translateZ(24px) scale(1.03); box-shadow: inset 0 0 0 2px var(--marker); } }
}
@keyframes v3-up { to { transform: translateY(calc(-50% - 8px)); } }
@media (max-width: 900px) { .wall3d { height: 460px; margin-top: 10px; } .v3-col { width: 210px; } }

/* sunlight: a warm wash from the sun across the hero, and soft light over the whole home page */
.hero .sun-wash { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at var(--sx, 64%) var(--sy, 62%), rgb(255 222 140 / 0.38) 0%, rgb(245 199 66 / 0.16) 22%, rgb(245 199 66 / 0.05) 45%, transparent 70%); }
.hero-copy { z-index: 3; }
body.home::after { content: ""; position: fixed; inset: -10vmax; z-index: 45; pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 84% 4%, rgb(255 206 92 / 0.95), rgb(255 206 92 / 0.35) 38%, transparent 74%);
  mix-blend-mode: soft-light; }
body.home::before { content: ""; position: fixed; inset: -10vmax; z-index: 44; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 86% 2%, rgb(255 214 120 / 0.16), rgb(255 214 120 / 0.05) 45%, transparent 75%); }
@media (prefers-reduced-motion: no-preference) {
  .hero .sun-wash { animation: wash-in 2600ms var(--ease-out) 300ms both, breathe-wash 8s ease-in-out 3s infinite; }
  body.home::after, body.home::before { animation: wash-in 3000ms var(--ease-out) 600ms both, sunlight 12s ease-in-out 3.6s infinite; }
}
@keyframes wash-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe-wash { 50% { opacity: 0.78; } }
@keyframes sunlight { 50% { opacity: 0.7; transform: translate(-1.5vmax, 1vmax); } }
@media (forced-colors: active) { body.home::after, body.home::before, .hero .sun-wash { display: none; } }

/* specialty tiles with video (home) */
.markers-video { grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); background: none; box-shadow: none; overflow: visible; border-radius: 0; }
.markers-video .mk { grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; padding: 0 22px 20px; gap: 14px 16px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line) !important; border-top: 0 !important; isolation: isolate; transition: transform 260ms var(--ease-out), box-shadow 260ms ease; }
.markers-video .mk-media { grid-column: 1 / -1; margin: 0 -22px 4px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--kloof-800); position: relative; }
.markers-video .mk-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgb(7 36 39 / 0.25)); pointer-events: none; }
.markers-video video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .markers-video .mk:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--marker) !important; background: var(--sheet); }
  .markers-video .mk:hover video { transform: scale(1.05); }
}
.markers-video .mk:active { transform: scale(0.99); }
@media (max-width: 960px) { .markers-video { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .markers-video { grid-template-columns: 1fr; } }
.markers-video .mk { align-content: start; align-items: center; }
.markers-video .mk-media { align-self: start; }

/* home: plan your visit */
.visit-stage { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(14px, 2vw, 22px); }
.visit-shot { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; isolation: isolate; }
.visit-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 94% 50%; z-index: -1; transition: transform 1200ms var(--ease-out); }
.visit-shot::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(7 36 39 / 0.85)); z-index: -1; }
.visit-shot figcaption { position: absolute; left: 24px; bottom: 22px; color: var(--on-dark-2); font-size: 0.95rem; }
.visit-shot figcaption b { display: block; color: var(--on-dark); font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.05 var(--f-display); letter-spacing: -0.02em; margin-bottom: 4px; }
@media (hover: hover) and (pointer: fine) { .visit-shot:hover img { transform: scale(1.04); } }
.visit-map { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--fynbos-soft); isolation: isolate; }
.visit-map::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fynbos); opacity: 0.4; -webkit-mask: url("/img/contours.svg") 40% 30% / 820px auto; mask: url("/img/contours.svg") 40% 30% / 820px auto; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; border: 0; background: none; cursor: pointer; color: var(--ink); text-align: center; }
.map-load b { font: 800 1.35rem/1.1 var(--f-display); }
.map-load > span:last-child { font-size: 0.88rem; color: var(--ink-3); }
.map-pin { width: 74px; height: 74px; border-radius: 999px; display: grid; place-items: center; background: var(--kloof-900); color: var(--marker); margin-bottom: 8px; position: relative;
  box-shadow: 0 0 0 10px rgb(245 199 66 / 0.18), 0 0 0 22px rgb(245 199 66 / 0.08); transition: transform 300ms var(--ease-out); }
.map-pin .ico { width: 34px; height: 34px; }
@media (prefers-reduced-motion: no-preference) { .map-pin::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid var(--marker); animation: ping 2.4s var(--ease-out) infinite; } }
@keyframes ping { from { transform: scale(0.9); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
@media (hover: hover) and (pointer: fine) { .map-load:hover .map-pin { transform: translateY(-4px); } }
.map-load:active .map-pin { transform: scale(0.95); }
.map-go { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.visit-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); margin-top: clamp(14px, 2vw, 22px); }
.vcard { padding: 22px; border-radius: var(--r-lg); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); transition: transform 260ms var(--ease-out), box-shadow 260ms ease; }
.vcard > .ico { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }
.vcard b { display: block; font: 750 1.12rem/1.25 var(--f-display); margin-bottom: 6px; }
.vcard p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.vcard a { font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .vcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--marker); } }
.open-status .state { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.open-status .state::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #3f9a5b; box-shadow: 0 0 0 4px rgb(63 154 91 / 0.18); }
.open-status .state.closed::before { background: #b5654a; box-shadow: 0 0 0 4px rgb(181 101 74 / 0.18); }
.routes-in { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: 18px 28px; align-items: center; }
.routes-in .tt-tabs { margin: 0; }
.dir-panels { grid-column: 1 / -1; }
.dir { margin: 0; max-width: 72ch; font-size: 1.08rem; color: var(--ink-2); padding-left: 18px; border-left: 3px dotted var(--marker); }
@media (prefers-reduced-motion: no-preference) { .dir:not([hidden]) { animation: rise 420ms var(--ease-out) both; } }
@media (max-width: 960px) { .visit-stage { grid-template-columns: 1fr; } .visit-shot, .visit-map { min-height: 300px; } .visit-cards { grid-template-columns: 1fr 1fr; } .routes-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .visit-cards { grid-template-columns: 1fr; } }

/* visit: building photo with a glowing pin that opens a Maps style place card */
.bstage { position: relative; border-radius: var(--r-lg); overflow: visible; aspect-ratio: 1586 / 992; }
.bstage-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); display: block; }
.bpin { position: absolute; left: 60.2%; top: 33.5%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 999px; }
.bpin-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--marker); color: var(--marker-ink);
  box-shadow: 0 0 0 6px rgb(245 199 66 / 0.35), 0 0 34px 10px rgb(255 214 102 / 0.75), 0 8px 18px rgb(7 36 39 / 0.35); transition: transform 260ms var(--ease-out); }
.bpin-dot .ico { width: 30px; height: 30px; }
.bpin::before, .bpin::after { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 3px solid var(--marker); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .bpin::before { animation: ping 2.4s var(--ease-out) infinite; }
  .bpin::after { animation: ping 2.4s var(--ease-out) 1.2s infinite; }
  .bpin-dot { animation: glow 2.4s ease-in-out infinite; }
}
@keyframes glow { 50% { box-shadow: 0 0 0 9px rgb(245 199 66 / 0.28), 0 0 52px 18px rgb(255 214 102 / 0.9), 0 8px 18px rgb(7 36 39 / 0.35); } }
.bpin:hover .bpin-dot, .bpin[aria-expanded="true"] .bpin-dot { transform: scale(1.08); }
.bpin:active .bpin-dot { transform: scale(0.95); }
.bstage-hint { position: absolute; left: 60.2%; top: calc(33.5% - 76px); transform: translateX(-50%); z-index: 2; padding: 6px 12px; border-radius: 999px;
  background: rgb(7 36 39 / 0.75); color: var(--on-dark); font-size: 0.82rem; font-weight: 700; white-space: nowrap; pointer-events: none; transition: opacity 200ms ease; }
.bstage.is-open .bstage-hint { opacity: 0; }
@media (hover: none) { .bstage-hint::after { content: ""; } .bstage-hint { font-size: 0; } .bstage-hint::before { content: "Tap the pin"; font-size: 0.82rem; } }

/* the place card */
.place { position: absolute; z-index: 4; right: calc(39.8% + 46px); top: 50%; width: min(380px, 52%); max-height: calc(100% - 24px); overflow: auto;
  background: var(--sheet); color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px -16px rgb(7 36 39 / 0.55), 0 0 0 1px rgb(7 36 39 / 0.06);
  transform-origin: 100% 50%; scrollbar-width: thin; }
.place[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(-50%) translateX(12px) scale(0.96); pointer-events: none; }
.place:not([hidden]) { visibility: visible; opacity: 1; transform: translateY(-50%); }
.place { transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms; }
.place:not([hidden]) { transition: opacity 200ms ease, transform 260ms var(--ease-out), visibility 0s; }
.place-map { height: 150px; background: var(--fynbos-soft); position: relative; }
.place-map::before { content: ""; position: absolute; inset: 0; background: var(--fynbos); opacity: 0.35; -webkit-mask: url("/img/contours.svg") 30% 30% / 600px auto; mask: url("/img/contours.svg") 30% 30% / 600px auto; }
.place-map iframe { position: relative; width: 100%; height: 100%; border: 0; display: block; }
.place-body { padding: 16px 18px 18px; }
.place-name { display: block; font: 800 1.2rem/1.2 var(--f-display); letter-spacing: -0.015em; }
.place-rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.92rem; }
.place-rating .num { font-weight: 800; }
.place-rating .stars { display: inline-flex; color: #e3a21a; }
.place-rating .stars .ico { width: 15px; height: 15px; }
.place-rating a { color: var(--accent); font-weight: 600; }
.place-cat { margin: 4px 0 12px; font-size: 0.9rem; color: var(--ink-3); }
.place-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.place-actions a { display: grid; justify-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.place-actions a span { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.place-actions a:first-child span { background: var(--kloof-800); color: var(--marker); box-shadow: none; }
.place-actions a:hover span { background: var(--bg); }
.place-actions a:first-child:hover span { background: var(--kloof-700); }
.place-actions a:active span { transform: scale(0.94); }
.place-actions .ico { width: 18px; height: 18px; }
.place-rows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.place-rows li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--ink-2); }
.place-rows .ico { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.place-rows a { font-weight: 600; }
.place-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 0.92rem; color: var(--accent); }
.place-open .ico { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .bstage { aspect-ratio: auto; }
  .bstage-img { aspect-ratio: 1586 / 992; height: auto; }
  .bpin { top: calc(var(--imgh, 56vw) * 0.335); }
  .bstage-hint { top: calc(var(--imgh, 56vw) * 0.335 - 70px); }
  .place { position: relative; right: auto; top: auto; width: 100%; max-height: none; margin-top: 12px; transform: none !important; }
  .place[hidden] { display: none; }
}

/* visit: photo left, info cards stacked beside it */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); gap: clamp(14px, 1.8vw, 20px); align-items: stretch; }
.visit-grid .visit-cards { grid-template-columns: 1fr; grid-template-rows: repeat(4, 1fr); margin-top: 0; gap: 12px; }
.visit-grid .vcard { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-content: center; padding: 16px 18px; }
.visit-grid .vcard > .ico { grid-row: span 2; margin: 2px 0 0; width: 24px; height: 24px; }
.visit-grid .vcard b { margin-bottom: 3px; font-size: 1.05rem; }
.visit-grid .vcard p { font-size: 0.9rem; line-height: 1.45; }
.visit-grid .bstage { align-self: center; }
@media (max-width: 1000px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-grid .visit-cards { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}
@media (max-width: 520px) { .visit-grid .visit-cards { grid-template-columns: 1fr; } }

/* ===== physiotherapy page ===== */
.band-video { position: relative; aspect-ratio: 4 / 3; box-shadow: 0 0 0 6px rgb(127 208 207 / 0.12); }
.band-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.band-facts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, auto); gap: 0; width: max-content; max-width: 100%; border-top: 1px solid rgb(127 208 207 / 0.2); }
.band-facts li { padding: 16px 24px 0 0; }
.band-facts li + li { padding-left: 24px; border-left: 1px solid rgb(127 208 207 / 0.2); }
.band-facts b { display: block; font: 800 1.35rem/1.1 var(--f-display); color: var(--marker); letter-spacing: -0.02em; }
.band-facts span { display: block; font-size: 0.86rem; color: var(--on-dark-2); margin-top: 4px; max-width: 18ch; }
@media (max-width: 640px) { .band-facts { grid-template-columns: 1fr; width: 100%; } .band-facts li + li { padding-left: 0; border-left: 0; } }

/* what we treat: area tabs + crossfading video */
.areas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.area-list { display: grid; gap: 4px; border-top: 1px solid var(--line); }
.area { display: grid; gap: 4px; text-align: left; width: 100%; padding: 18px 16px 18px 20px; border: 0; background: none; cursor: pointer; border-radius: 14px; position: relative; transition: background-color 220ms ease; }
.area::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--marker); transform: scaleY(0); transition: transform 280ms var(--ease-out); }
.area[aria-selected="true"] { background: var(--sheet); }
.area[aria-selected="true"]::before { transform: scaleY(1); }
.area-name { font: 800 clamp(1.3rem, 2vw, 1.65rem)/1.1 var(--f-display); letter-spacing: -0.02em; color: var(--ink-3); transition: color 220ms ease; }
.area[aria-selected="true"] .area-name, .area:hover .area-name { color: var(--ink); }
.area-line { font-size: 0.95rem; color: var(--ink-3); }
.area-panel { padding: 4px 16px 18px 20px; }
@media (prefers-reduced-motion: no-preference) { .area-panel:not([hidden]) .chips li { animation: rise 420ms var(--ease-out) both; } .area-panel .chips li:nth-child(2) { animation-delay: 40ms; } .area-panel .chips li:nth-child(3) { animation-delay: 80ms; } .area-panel .chips li:nth-child(4) { animation-delay: 120ms; } .area-panel .chips li:nth-child(5) { animation-delay: 160ms; } }
.area-media { position: sticky; top: 96px; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--kloof-800); }
.area-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 600ms ease, transform 1200ms var(--ease-out); }
.area-vid.is-on { opacity: 1; transform: none; }
.area-media::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgb(7 36 39 / 0.7)); pointer-events: none; }
.area-caption { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: var(--on-dark); font: 800 1.6rem/1 var(--f-display); letter-spacing: -0.02em; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } .area-media { position: relative; top: auto; order: -1; aspect-ratio: 16 / 10; } }

/* how we treat: bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: clamp(12px, 1.6vw, 18px);
  grid-template-areas: "h h n t" "h h e g" "v v v v"; }
.bt { position: relative; min-height: 220px; border-radius: var(--r-lg); padding: 24px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.bt b { font: 800 1.25rem/1.15 var(--f-display); letter-spacing: -0.015em; display: block; }
.bt p { margin: 0; font-size: 0.95rem; line-height: 1.45; }
.bt > .ico { width: 30px; height: 30px; margin-bottom: auto; }
.bt-video { color: var(--on-dark); }
.bt-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1000ms var(--ease-out); }
.bt-video::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 36 39 / 0) 35%, rgb(7 36 39 / 0.85)); }
.bt-video p { color: var(--on-dark-2); }
@media (hover: hover) and (pointer: fine) { .bt-video:hover video { transform: scale(1.05); } }
.bt-hands { grid-area: h; min-height: 440px; }
.bt-hands b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bt-needle { grid-area: n; }
.bt-tape { grid-area: t; }
.bt-ex { grid-area: e; background: var(--fynbos); color: #f1f6ee; }
.bt-ex p { color: #dfeadb; }
.bt-ergo { grid-area: g; background: var(--kloof-900); color: var(--on-dark); }
.bt-ergo p { color: var(--on-dark-2); }
.bt-ergo > .ico { color: var(--glacier); }
.bt-visc { grid-area: v; background: var(--marker); color: var(--marker-ink); flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; min-height: 0; padding: 22px 28px; }
.bt-visc b { font-size: 1.15rem; }
.bt-visc > .ico { margin: 0; width: 36px; height: 36px; }
.bt-visc p { color: #4a3a07; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "h h" "n t" "e g" "v v"; } .bt-hands { min-height: 340px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-template-areas: "h" "n" "t" "e" "g" "v"; } .bt-visc { flex-direction: column; align-items: flex-start; } }

/* story */
.story { background: var(--sheet); position: relative; isolation: isolate; overflow: hidden; }
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kloof-400); opacity: 0.09; -webkit-mask: url("/img/contours.svg") 70% 40% / 1000px auto; mask: url("/img/contours.svg") 70% 40% / 1000px auto; }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.story-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.story-facts li { padding: 8px 14px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 0.92rem; }
.story-quote { margin: 0; position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--kloof-900); color: var(--on-dark); }
.story-quote > .ico { width: 54px; height: 54px; color: var(--marker); margin-bottom: 14px; }
.story-quote blockquote { margin: 0; }
.story-quote p { font: 600 clamp(1.25rem, 2.2vw, 1.7rem)/1.3 var(--f-display); letter-spacing: -0.015em; margin: 0; }
.story-quote figcaption { margin-top: 22px; color: var(--glacier); font-size: 0.95rem; }
.story-quote figcaption b { display: block; color: var(--on-dark); font-size: 1.05rem; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

/* route markers glow like the hero waypoints */
.route-steps .marker { filter: drop-shadow(0 0 6px rgb(245 199 66 / 0.45)); }
@media (prefers-reduced-motion: no-preference) {
  .route-steps .marker { animation: marker-glow 2.6s ease-in-out infinite; }
  .route-steps li:nth-child(2) .marker { animation-delay: 0.4s; }
  .route-steps li:nth-child(3) .marker { animation-delay: 0.8s; }
  .route-steps li:nth-child(4) .marker { animation-delay: 1.2s; }
  .route-steps li.is-swaying .marker { animation: bob-in 1500ms var(--ease-out) var(--sd, 0ms) both, marker-glow 2.6s ease-in-out infinite; }
}
@keyframes marker-glow { 0%, 100% { filter: drop-shadow(0 0 4px rgb(245 199 66 / 0.35)); } 50% { filter: drop-shadow(0 0 16px rgb(245 199 66 / 0.85)); } }

/* what we treat: condition list per area */
.conds { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.conds li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: transform 220ms var(--ease-out), box-shadow 220ms ease; }

.cond-tick { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--marker); color: var(--marker-ink); }
.cond-tick .ico { width: 15px; height: 15px; }
.conds b { display: block; font: 750 1rem/1.25 var(--f-display); letter-spacing: -0.01em; }
.conds li > span:last-child > span { display: block; margin-top: 3px; font-size: 0.88rem; line-height: 1.4; color: var(--ink-3); }
.conds a { font-weight: 700; color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .conds li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--marker); } }
.area-book { margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .area-panel:not([hidden]) .conds li { animation: rise 460ms var(--ease-out) calc(var(--n) * 55ms) both; }
  .area-panel:not([hidden]) .cond-tick { animation: pop 380ms var(--ease-out) calc(var(--n) * 55ms + 160ms) both; }
}
@media (max-width: 900px) and (min-width: 561px) { .conds { grid-template-columns: 1fr 1fr; } .conds li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* condition boxes light up: a sweep of light on open, a warm glow on hover */
.conds li { position: relative; overflow: hidden; isolation: isolate; transition: transform 220ms var(--ease-out), box-shadow 220ms ease, background-color 260ms ease; }
.conds li::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgb(255 214 102 / 0.45) 50%, transparent 80%); transform: translateX(-110%); }
@media (prefers-reduced-motion: no-preference) {
  .area-panel:not([hidden]) .conds li::after { animation: sweep 1100ms var(--ease-out) calc(var(--n) * 90ms + 250ms) both; }
}
@keyframes sweep { to { transform: translateX(110%); } }
@media (hover: hover) and (pointer: fine) {
  .conds li:hover { background: rgb(245 199 66 / 0.16); box-shadow: inset 0 0 0 1.5px var(--marker), 0 6px 22px -6px rgb(245 199 66 / 0.55); }
}
.conds li:active { background: rgb(245 199 66 / 0.22); }

/* ===== pilates page ===== */
.band-physio .people { margin: 22px 0 26px; }
.pl-options { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.6vw, 18px); }
.pl-options .opt-lead { grid-row: span 2; }
.po { min-height: 250px; text-decoration: none; }
.po .bt-text { display: grid; gap: 6px; }
.po b { font-size: 1.35rem; }
.po-tag { justify-self: start; font-size: 0.78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--marker); color: var(--marker-ink); }
.po::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--marker); transition: box-shadow 260ms var(--ease-out); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .po:hover::before { box-shadow: inset 0 0 0 3px var(--marker); } }
.po:active { transform: scale(0.99); }
@media (max-width: 960px) { .pl-options { grid-template-columns: 1fr 1fr; } .pl-options .opt-lead { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 560px) { .pl-options { grid-template-columns: 1fr; } }

/* principles: words light up in turn over the studio's own outdoor photo */
.principles { position: relative; isolation: isolate; overflow: hidden; background: var(--kloof-950); color: var(--on-dark); padding: clamp(80px, 12vw, 160px) 0; }
.principles img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.35; }
.principles::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 36 39 / 0.75), rgb(7 36 39 / 0.55) 50%, rgb(7 36 39 / 0.85)); }
.pr-words { margin: 0; font: 800 clamp(2.6rem, 8vw, 6.4rem)/1 var(--f-display); letter-spacing: -0.04em; display: flex; flex-wrap: wrap; gap: 0 0.28em; }
.pr-words span { color: rgb(234 243 239 / 0.22); transition: color 600ms ease, text-shadow 600ms ease; }
.pr-words.is-lit span { color: var(--on-dark); }
.pr-words.is-lit span:nth-child(odd) { color: var(--marker); text-shadow: 0 0 40px rgb(245 199 66 / 0.45); }
@media (prefers-reduced-motion: no-preference) {
  .pr-words.is-lit span { transition-delay: calc(var(--w) * 260ms); }
}
.pr-line { max-width: 52ch; margin: 30px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark-2); }

/* what it builds */
.builds { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.bd { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; transition: transform 260ms var(--ease-out), box-shadow 260ms ease, background-color 260ms ease; }
.bd b { font: 800 1.5rem/1.1 var(--f-display); letter-spacing: -0.02em; }
.bd p { margin: 0; color: var(--ink-2); }
.bd small { margin-top: auto; font-weight: 700; color: var(--accent); }
.bd:nth-child(1) { background: var(--kloof-900); color: var(--on-dark); box-shadow: none; }
.bd:nth-child(1) p { color: var(--on-dark-2); } .bd:nth-child(1) small { color: var(--marker); }
.bd:nth-child(3) { background: var(--fynbos); color: #f1f6ee; box-shadow: none; }
.bd:nth-child(3) p { color: #dfeadb; } .bd:nth-child(3) small { color: #f5e7a8; }
@media (hover: hover) and (pointer: fine) { .bd:hover { transform: translateY(-4px); } .bd:nth-child(2):hover { background: rgb(245 199 66 / 0.14); box-shadow: inset 0 0 0 1.5px var(--marker); } }
@media (max-width: 860px) { .builds { grid-template-columns: 1fr; } }

/* week at a glance */
.week-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 30px; }
.wk { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.wk-day { padding: 18px; border-radius: var(--r-lg); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.wk-day > b { display: block; font: 800 1.2rem/1 var(--f-display); margin-bottom: 14px; }
.wk-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wk-day li { display: grid; grid-template-columns: 46px 10px 1fr; gap: 8px; align-items: center; font-size: 0.88rem; }
.wk-day time { font-weight: 800; font-variant-numeric: tabular-nums; }
.wk-day.is-today { box-shadow: inset 0 0 0 2px var(--marker), 0 10px 30px -12px rgb(245 199 66 / 0.6); background: var(--sheet); }
.wk-day.is-today > b::after { content: "Today"; margin-left: 8px; font: 800 0.72rem/1 var(--f-body); padding: 4px 8px; border-radius: 999px; background: var(--marker); color: var(--marker-ink); vertical-align: 3px; }
@media (max-width: 960px) { .wk { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }

.markers-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .markers-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .markers-4 { grid-template-columns: 1fr; } }

/* online */
.online-video { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 0 0 6px rgb(127 208 207 / 0.12); }
.online-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.online-quote { margin: 26px 0 0; padding-left: 18px; border-left: 3px solid var(--marker); }
.online-quote p { margin: 0; font: 600 1.15rem/1.4 var(--f-display); color: var(--on-dark); }
.online-quote figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--on-dark-2); }

/* ===== timetable: warmer, glowing, moving ===== */
.next-class { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: rgb(245 199 66 / 0.12); box-shadow: inset 0 0 0 1px rgb(245 199 66 / 0.4), 0 0 30px -6px rgb(245 199 66 / 0.35); color: var(--on-dark); font-weight: 600; }
.next-class b { color: var(--marker); }
.nc-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--marker); box-shadow: 0 0 0 4px rgb(245 199 66 / 0.25); flex: none; }
@media (prefers-reduced-motion: no-preference) { .nc-dot { animation: nc-pulse 1.8s ease-in-out infinite; } }
@keyframes nc-pulse { 50% { box-shadow: 0 0 0 9px rgb(245 199 66 / 0.08), 0 0 18px 4px rgb(245 199 66 / 0.6); } }

.tt-tabs { box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgb(11 50 54 / 0.4); }
.tt-pill { box-shadow: 0 0 18px -2px rgb(245 199 66 / 0.75); }
.week { gap: 16px; }
.day { padding: 22px; border-radius: 22px; background: linear-gradient(180deg, var(--sheet), color-mix(in srgb, var(--sheet) 88%, #f5c742)); box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px -26px rgb(11 50 54 / 0.45);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) { .day:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1.5px rgb(245 199 66 / 0.7), 0 20px 40px -22px rgb(245 199 66 / 0.75); } }
.day h2 { margin-bottom: 16px; }
.day ul { gap: 10px; }
.slot { grid-template-columns: 64px 1fr; padding: 12px 14px; border-radius: 14px; background: var(--bg); position: relative; transition: transform 220ms var(--ease-out), background-color 220ms ease, box-shadow 220ms ease, opacity 300ms ease; }
.slot time { font-size: 1.12rem; }
.slot span { font-size: 0.95rem; }
@media (hover: hover) and (pointer: fine) { .slot:hover { transform: translateX(3px); background: rgb(245 199 66 / 0.16); box-shadow: inset 0 0 0 1px rgb(245 199 66 / 0.6); } }
.lvl { width: 11px; height: 11px; border-radius: 999px; box-shadow: 0 0 10px 0 currentColor; }
.lvl-b { color: #6fb38a; } .lvl-bi { color: var(--sandstone); } .lvl-i { color: var(--kloof-600); } .lvl-t { color: var(--protea); } .lvl-p { color: #9d8ad6; }
.slot.is-past { opacity: 0.45; }
.slot.is-next { background: rgb(245 199 66 / 0.2); box-shadow: inset 0 0 0 1.5px var(--marker), 0 0 24px -6px rgb(245 199 66 / 0.8); }
.slot.is-next::after { content: "Next"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 800 0.7rem/1 var(--f-body); padding: 4px 8px; border-radius: 999px; background: var(--marker); color: var(--marker-ink); }
.day.is-today { box-shadow: inset 0 0 0 2px var(--marker), 0 18px 44px -18px rgb(245 199 66 / 0.8); }
.day.is-today h2::after { content: "Today"; font: 800 0.72rem/1 var(--f-body); padding: 5px 9px; border-radius: 999px; background: var(--marker); color: var(--marker-ink); margin-left: auto; }
.day.is-today h2 small { margin-left: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .js .day { animation: rise 700ms var(--ease-out) calc(var(--i, 0) * 90ms + 150ms) both; }
  .day.is-today { animation: rise 700ms var(--ease-out) calc(var(--i, 0) * 90ms + 150ms) both, today-glow 3.2s ease-in-out 1.2s infinite; }
  .slot.is-next { animation: next-glow 2.2s ease-in-out infinite; }
  .js .day .slot { animation: rise 500ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 300ms); }
  .slot.is-next { animation: rise 500ms var(--ease-out) both, next-glow 2.2s ease-in-out 1.2s infinite; }
}
@keyframes today-glow { 50% { box-shadow: inset 0 0 0 2px var(--marker), 0 22px 60px -14px rgb(245 199 66 / 1); } }
@keyframes next-glow { 50% { box-shadow: inset 0 0 0 1.5px var(--marker), 0 0 34px -2px rgb(245 199 66 / 0.95); } }
.tt-legend li { padding: 6px 12px; border-radius: 999px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); }
.tt-new .tt-video { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 26px; box-shadow: 0 18px 40px -24px rgb(11 50 54 / 0.6); }
.tt-new .tt-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-new .fact { transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tt-new .fact:hover { transform: translateX(4px); } }
.slot.is-next { padding-right: 58px; }
.about-photo { aspect-ratio: 1586 / 992; box-shadow: 0 0 0 6px rgb(127 208 207 / 0.12), 0 30px 60px -30px rgb(0 0 0 / 0.6); }
.about-photo img { object-position: 50% 40%; }
@media (prefers-reduced-motion: no-preference) { .js .about-photo img { animation: about-in 1400ms var(--ease-out) 150ms both; } }
@keyframes about-in { from { transform: scale(1.08); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }

/* about timeline: milestones swing in like hanging trail markers, dots glow */
.timeline { position: relative; border-top: 0; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 3px dotted var(--kloof-400); transform-origin: left; }
.timeline li { transform-origin: 50% 0; }
.timeline li::before { box-shadow: 0 0 0 4px var(--bg), 0 0 14px 2px rgb(245 199 66 / 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .js .timeline::before { transform: scaleX(0); transition: transform 1600ms var(--ease-in-out); }
  .js .timeline:has(li.is-swaying)::before { transform: scaleX(1); }
  .js .timeline li { opacity: 0; }
  .timeline li.is-swaying { animation: tl-swing 1600ms cubic-bezier(0.36, 0.07, 0.19, 0.97) var(--sd, 0ms) both; }
  .timeline li::before { animation: tl-glow 2.8s ease-in-out infinite; }
  .timeline li:nth-child(2)::before { animation-delay: 0.5s; } .timeline li:nth-child(3)::before { animation-delay: 1s; } .timeline li:nth-child(4)::before { animation-delay: 1.5s; }
  @media (hover: hover) and (pointer: fine) { .timeline li.is-swaying:hover { animation: tl-sway 1200ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both; } }
}
@keyframes tl-swing { 0% { opacity: 0; transform: translateY(-14px) rotate(-9deg); } 30% { opacity: 1; transform: rotate(7deg); } 52% { transform: rotate(-4deg); } 72% { transform: rotate(2deg); } 100% { opacity: 1; transform: none; } }
@keyframes tl-sway { 0% { transform: none; } 20% { transform: rotate(-5deg); } 45% { transform: rotate(3.5deg); } 70% { transform: rotate(-1.5deg); } 100% { transform: none; } }
@keyframes tl-glow { 50% { box-shadow: 0 0 0 4px var(--bg), 0 0 22px 7px rgb(245 199 66 / 0.85); } }
@media (max-width: 860px) { .timeline::before { left: 0; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dotted var(--kloof-400); transform-origin: top; } .js .timeline::before { transform: scaleY(0); } .js .timeline:has(li.is-swaying)::before { transform: scaleY(1); } }
@media (max-width: 860px) { .timeline { border-left: 0; } }

/* about values: lift, tilt toward the cursor, glow, light sweep */
.values { perspective: 1000px; }
.values > div { position: relative; overflow: hidden; isolation: isolate; transform-style: preserve-3d;
  transition: transform 420ms var(--ease-out), box-shadow 420ms ease; will-change: transform; }
.values > div::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / 0.28), transparent 65%); }
.values > div::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%); transform: translateX(-120%); }
.values h3 { transition: transform 420ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .values > div:hover { transform: translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
  .values > div:hover::before { opacity: 1; }
  .values > div:hover::after { transform: translateX(120%); transition: transform 900ms var(--ease-out); }
  .values > div:hover h3 { transform: translateX(6px); }
  .values > div:nth-child(1):hover { box-shadow: 0 26px 50px -18px rgb(11 50 54 / 0.7), 0 0 0 2px var(--glacier), 0 0 40px -6px rgb(127 208 207 / 0.7); }
  .values > div:nth-child(2):hover { box-shadow: 0 26px 50px -18px rgb(71 112 79 / 0.7), 0 0 0 2px #9fc79a, 0 0 40px -6px rgb(159 199 154 / 0.8); }
  .values > div:nth-child(3):hover { box-shadow: 0 26px 50px -18px rgb(245 199 66 / 0.8), 0 0 0 2px #ffe08a, 0 0 50px -4px rgb(245 199 66 / 0.95); }
}
.values > div:active { transform: translateY(-4px) scale(0.99); }
@media (prefers-reduced-motion: reduce) { .values > div:hover { transform: none; } .values > div::after { display: none; } }
.js .values > div[data-reveal].is-in { transition: opacity 700ms var(--ease-out), transform 420ms var(--ease-out), box-shadow 420ms ease; transition-delay: 0ms; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .values > div[data-reveal].is-in:hover { transform: translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
}
.week { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .week { grid-template-columns: minmax(0, 1fr); } }
.day h2 { flex-wrap: wrap; gap: 6px; }
.day.is-today h2 small { display: none; }
.slot span { min-width: 0; }
/* timetable slot fit */
.day { padding: 18px; }
.slot { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 11px 12px; }
.slot time { font-size: 1.02rem; }
.slot span { font-size: 0.9rem; overflow-wrap: anywhere; }
.slot.is-next { padding-right: 12px; }
.slot.is-next::after { top: -9px; right: 10px; transform: none; box-shadow: 0 0 12px rgb(245 199 66 / 0.8); }

/* team cards: smoother, more elegant flip */
.person-inner { transition: transform 1100ms cubic-bezier(0.45, 0.05, 0.15, 1); }
.person { transition: transform 600ms var(--ease-out); }
.person-face { transition: box-shadow 600ms ease; }
.person-back > * { opacity: 0; transform: translateY(8px); transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.person.is-flipped .person-back > *, .person:hover .person-back > * { opacity: 1; transform: none; transition-delay: 380ms; }
.person-back > *:nth-child(2) { transition-delay: 0ms; }
.person.is-flipped .person-back > *:nth-child(2), .person:hover .person-back > *:nth-child(2) { transition-delay: 450ms; }
.person.is-flipped .person-back > *:nth-child(3), .person:hover .person-back > *:nth-child(3) { transition-delay: 520ms; }
@media (hover: hover) and (pointer: fine) {
  .person:hover .person-inner { transition-delay: 140ms; }
  .person:hover { transform: translateY(-6px); }
  .person:hover .person-face { box-shadow: 0 24px 44px -20px rgb(11 50 54 / 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .person-inner { transition: none; }
  .person-back > * { opacity: 1; transform: none; transition: none; }
}
.slot { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 14px; }
.slot time { font-size: 1.15rem; }
.slot span { overflow-wrap: normal; font-size: 0.9rem; }

/* contact: booking options and Anisa's card light up on hover */
.way, .host { position: relative; overflow: hidden; isolation: isolate; transition: transform 300ms var(--ease-out), box-shadow 300ms ease, background-color 300ms ease; }
.way::after, .host::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgb(255 214 102 / 0.45) 50%, transparent 75%); transform: translateX(-120%); }
.way .sym { transition: box-shadow 300ms ease, transform 300ms var(--ease-out); }
.way > .ico { transition: transform 300ms var(--ease-out), color 300ms ease; }
.host img { transition: box-shadow 300ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .way:hover, .host:hover { transform: translateY(-3px); background: rgb(245 199 66 / 0.14);
    box-shadow: inset 0 0 0 1.5px var(--marker), 0 14px 34px -14px rgb(245 199 66 / 0.75), 0 0 0 4px rgb(245 199 66 / 0.12); }
  .way:hover::after, .host:hover::after { transform: translateX(120%); transition: transform 900ms var(--ease-out); }
  .way:hover .sym { transform: scale(1.06) rotate(-4deg); box-shadow: 0 0 0 4px rgb(245 199 66 / 0.25), 0 0 22px rgb(245 199 66 / 0.7); }
  .way:hover > .ico { transform: translateX(4px); color: var(--ink); }
  .host:hover img { transform: scale(1.05); box-shadow: 0 0 0 3px var(--marker), 0 0 22px rgb(245 199 66 / 0.7); }
}
.way:focus-visible { box-shadow: inset 0 0 0 2px var(--marker), 0 0 0 4px rgb(245 199 66 / 0.3); }

/* home: plain building photo linking to the map on the contact page */
.visit-photo2 { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; align-self: center; aspect-ratio: 1586 / 992; }
.visit-photo2 img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1000ms var(--ease-out); }
.vp-link { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--marker); color: var(--marker-ink); font-weight: 800; font-size: 0.92rem; box-shadow: 0 0 24px rgb(245 199 66 / 0.6); transition: transform 260ms var(--ease-out); }
.vp-link .ico { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .visit-photo2:hover img { transform: scale(1.04); } .visit-photo2:hover .vp-link { transform: translateY(-3px); } }

/* contact: getting here */
#getting-here .bstage { margin-bottom: clamp(28px, 4vw, 44px); }
.find-dirs .acc { max-width: 900px; }

/* contact: animated trail arrow from the address down to "Getting here" */
.to-map { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; margin: 4px 0 0; padding: 0; text-decoration: none; color: var(--ink); width: max-content; }
.to-map-line { grid-row: 1; grid-column: 1; justify-self: center; width: 3px; height: 70px; border-radius: 3px;
  background: repeating-linear-gradient(180deg, var(--marker) 0 6px, transparent 6px 14px); background-size: 3px 28px; }
.to-map-arrow { grid-row: 2; grid-column: 1; justify-self: center; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: var(--marker); color: var(--marker-ink); box-shadow: 0 0 0 6px rgb(245 199 66 / 0.2), 0 0 26px rgb(245 199 66 / 0.7); }
.to-map-arrow .ico { width: 22px; height: 22px; }
.to-map-text { grid-row: 2; grid-column: 2; font-weight: 800; font-size: 0.98rem; }
@media (prefers-reduced-motion: no-preference) {
  .to-map-line { animation: trail-flow 900ms linear infinite; }
  .to-map-arrow .ico { animation: arrow-drop 1.6s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
  .to-map-arrow { animation: arrow-glow 1.6s ease-in-out infinite; }
}
@keyframes trail-flow { to { background-position: 0 28px; } }
@keyframes arrow-drop { 0% { transform: translateY(-7px); opacity: 0; } 30% { opacity: 1; } 60% { transform: translateY(4px); } 75% { transform: translateY(1px); } 100% { transform: translateY(8px); opacity: 0; } }
@keyframes arrow-glow { 50% { box-shadow: 0 0 0 10px rgb(245 199 66 / 0.12), 0 0 36px rgb(245 199 66 / 0.95); } }
@media (hover: hover) and (pointer: fine) { .to-map:hover .to-map-text { text-decoration: underline; text-underline-offset: 0.25em; } .to-map:hover .to-map-arrow { transform: translateY(3px); } }
.to-map-arrow { transition: transform 260ms var(--ease-out); }
.to-map:active .to-map-arrow { transform: scale(0.94); }

/* reviews page: endlessly scrolling review columns */
.rv-head { max-width: 640px; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; display: grid; justify-items: center; gap: 14px; }
.rv-head .lede { margin: 0 auto; }
.rv-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: 0.9rem;
  background: rgb(245 199 66 / 0.18); box-shadow: inset 0 0 0 1px rgb(245 199 66 / 0.6), 0 0 22px -4px rgb(245 199 66 / 0.6); }
.rv-badge .ico { width: 16px; height: 16px; color: #d99a1b; }
.rc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-height: 680px; overflow: hidden; outline: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); }
.rc-track, .rc-dup { display: grid; gap: 24px; }
.rc-dup { padding-top: 24px; }
.rc { margin: 0; padding: 28px; border-radius: 26px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -26px rgb(11 50 54 / 0.45);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, background-color 300ms ease; }
.rc blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.rc figcaption { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.rc cite { display: block; font: 750 0.98rem/1.2 var(--f-display); font-style: normal; }
.rc small { display: block; font-size: 0.84rem; color: var(--ink-3); margin-top: 2px; }
@media (hover: hover) and (pointer: fine) {
  .rc:hover { transform: translateY(-3px); background: rgb(245 199 66 / 0.1); box-shadow: inset 0 0 0 1.5px var(--marker), 0 20px 44px -20px rgb(245 199 66 / 0.7); }
}
@media (prefers-reduced-motion: no-preference) {
  .rc-track { animation: rc-up var(--dur, 70s) linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .rc-cols { max-height: none; -webkit-mask-image: none; mask-image: none; } .rc-dup { display: none; } }
@keyframes rc-up { to { transform: translateY(-50%); } }
@media (max-width: 1000px) { .rc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rc-col-3 { display: none; } }
@media (max-width: 640px) { .rc-cols { grid-template-columns: minmax(0, 1fr); max-height: 560px; } .rc-col-2 { display: none; } }

/* team cards: dealt in, then a gentle float */
.team { perspective: 1400px; }
@media (prefers-reduced-motion: no-preference) {
  .js .team .person[data-reveal] { opacity: 0; transform: translateY(46px) rotateY(-22deg) rotateZ(-2deg); transform-origin: 50% 100%;
    transition: opacity 800ms var(--ease-out), transform 1100ms cubic-bezier(0.2, 0.9, 0.25, 1.15); transition-delay: calc(var(--i, 0) * 140ms); }
  .js .team .person[data-reveal].is-in { opacity: 1; transform: none; }
  .team .person.is-in { animation: team-float 6.5s ease-in-out calc(1.4s + var(--i, 0) * 0.7s) infinite; }
  .team .person:hover, .team .person.is-flipped { animation-play-state: paused; }
  @media (hover: hover) and (pointer: fine) { .js .team .person[data-reveal].is-in:hover { transform: translateY(-6px); transition-delay: 0ms; transition-duration: 600ms; } }
}
@keyframes team-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 30% { translate: 0 -8px; rotate: -0.6deg; } 65% { translate: 0 4px; rotate: 0.5deg; } }

/* home: route planner */
.route-planner { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 36px); border-radius: calc(var(--r-lg) + 4px); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -36px rgb(11 50 54 / 0.5); position: relative; overflow: hidden; isolation: isolate; }
.route-planner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kloof-400); opacity: 0.07; -webkit-mask: url("/img/contours.svg") 80% 20% / 900px auto; mask: url("/img/contours.svg") 80% 20% / 900px auto; }
.rp-list { display: grid; gap: 10px; }
.rp-btn { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; text-align: left; width: 100%; padding: 14px 16px; border: 0; border-radius: 16px; cursor: pointer;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: transform 260ms var(--ease-out), box-shadow 260ms ease, background-color 260ms ease; }
.rp-btn b { display: block; font: 800 1.08rem/1.15 var(--f-display); letter-spacing: -0.01em; }
.rp-btn small { display: block; margin-top: 3px; font-size: 0.86rem; color: var(--ink-3); }
.rp-car { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--kloof-900); color: var(--glacier); transition: background-color 260ms ease, color 260ms ease, box-shadow 260ms ease; }
.rp-car .ico { width: 22px; height: 22px; }
.rp-btn > .ico { width: 18px; height: 18px; color: var(--ink-3); transition: transform 260ms var(--ease-out), color 260ms ease; }
.rp-btn[aria-selected="true"] { background: rgb(245 199 66 / 0.16); box-shadow: inset 0 0 0 2px var(--marker), 0 12px 28px -14px rgb(245 199 66 / 0.8); }
.rp-btn[aria-selected="true"] .rp-car { background: var(--marker); color: var(--marker-ink); box-shadow: 0 0 18px rgb(245 199 66 / 0.7); }
.rp-btn[aria-selected="true"] > .ico { color: var(--ink); transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) { .rp-btn:hover { transform: translateX(4px); } .rp-btn:hover > .ico { transform: translateX(4px); color: var(--ink); } }
.rp-btn:active { transform: scale(0.98); }
.rp-right { display: flex; flex-direction: column; justify-content: center; }
.rp-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; }
.rp-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--marker) 0 6px, transparent 6px 13px); transform-origin: top; }
.rp-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; position: relative; }
.rp-dot { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--kloof-900); color: var(--marker); box-shadow: 0 0 0 5px var(--sheet); position: relative; z-index: 1; }
.rp-dot .ico { width: 22px; height: 22px; }
.rp-steps li:last-child .rp-dot { background: var(--marker); color: var(--marker-ink); box-shadow: 0 0 0 5px var(--sheet), 0 0 26px rgb(245 199 66 / 0.85); }
.rp-steps p { margin: 0; font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.rp-steps li:last-child p { font-weight: 700; }
.rp-go { align-self: flex-start; margin-top: 28px; margin-left: 60px; }
@media (prefers-reduced-motion: no-preference) {
  .rp-steps.is-drawing::before { animation: rp-draw 1400ms var(--ease-in-out) both; }
  .rp-steps.is-drawing li { animation: rise 520ms var(--ease-out) calc(var(--s) * 260ms + 100ms) both; }
  .rp-steps.is-drawing .rp-dot { animation: pop 420ms var(--ease-out) calc(var(--s) * 260ms + 160ms) both; }
  .rp-steps li:last-child .rp-dot { animation: pop 420ms var(--ease-out) 940ms both, marker-glow 2.6s ease-in-out 1.4s infinite; }
}
@keyframes rp-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 900px) { .route-planner { grid-template-columns: 1fr; } .rp-go { margin-left: 0; } }
.rp-steps[hidden] { display: none; }

/* home visit cards light up on hover */
.vcard { position: relative; overflow: hidden; isolation: isolate; transition: transform 300ms var(--ease-out), box-shadow 300ms ease, background-color 300ms ease; }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 25%, rgb(255 214 102 / 0.45) 50%, transparent 75%); transform: translateX(-120%); }
.vcard > .ico { transition: transform 300ms var(--ease-out), filter 300ms ease, color 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .vcard:hover { transform: translateY(-3px); background: rgb(245 199 66 / 0.14);
    box-shadow: inset 0 0 0 1.5px var(--marker), 0 14px 34px -14px rgb(245 199 66 / 0.75), 0 0 0 4px rgb(245 199 66 / 0.12); }
  .vcard:hover::after { transform: translateX(120%); transition: transform 900ms var(--ease-out); }
  .vcard:hover > .ico { transform: scale(1.12) rotate(-6deg); color: #b98700; filter: drop-shadow(0 0 8px rgb(245 199 66 / 0.9)); }
}

/* about: one team, hub diagram */
.why2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.why2-copy .lede { margin-top: 18px; }
.why2-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.why2-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
  position: relative; overflow: hidden; isolation: isolate; transition: transform 300ms var(--ease-out), box-shadow 300ms ease, background-color 300ms ease; }
.why2-steps b { display: block; font: 800 1.12rem/1.2 var(--f-display); }
.why2-steps p { margin: 3px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.ws-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--kloof-900); color: var(--marker); transition: box-shadow 300ms ease, transform 300ms var(--ease-out); }
.ws-ico .ico { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) {
  .why2-steps li:hover { transform: translateX(6px); background: rgb(245 199 66 / 0.14); box-shadow: inset 0 0 0 1.5px var(--marker), 0 14px 30px -16px rgb(245 199 66 / 0.75); }
  .why2-steps li:hover .ws-ico { transform: rotate(-6deg) scale(1.06); box-shadow: 0 0 22px rgb(245 199 66 / 0.7); }
}
.hub { position: relative; margin: 0; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--kloof-800) 0%, var(--kloof-900) 62%, var(--kloof-950) 100%); box-shadow: 0 30px 70px -30px rgb(7 36 39 / 0.8), inset 0 0 0 1px rgb(127 208 207 / 0.15); isolation: isolate; }
.hub::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--glacier); opacity: 0.08; -webkit-mask: url("/img/contours.svg") 40% 40% / 700px auto; mask: url("/img/contours.svg") 40% 40% / 700px auto; }
.hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-ring { fill: none; stroke: rgb(127 208 207 / 0.25); stroke-width: 0.3; stroke-dasharray: 0.8 1.6; }
.hub-line { stroke: var(--marker); stroke-width: 0.55; stroke-linecap: round; stroke-dasharray: 1 2.2; opacity: 0.55; transition: opacity 260ms ease, stroke-width 260ms ease; }
.hub-line.is-hot { opacity: 1; stroke-width: 0.9; filter: drop-shadow(0 0 1.5px rgb(245 199 66 / 0.9)); }
.hub-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--marker); color: var(--marker-ink); box-shadow: 0 0 0 10px rgb(245 199 66 / 0.18), 0 0 0 22px rgb(245 199 66 / 0.07), 0 0 50px rgb(245 199 66 / 0.6); }
.hub-core b { font: 800 clamp(1.4rem, 3vw, 2.2rem)/1 var(--f-display); letter-spacing: -0.03em; }
.hub-team { font-size: clamp(0.62rem, 1.1vw, 0.78rem); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; opacity: 0.8; }
.hub-nodes { list-style: none; margin: 0; padding: 0; }
.hub-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.hub-node span { display: block; padding: 8px 13px; border-radius: 999px; background: var(--sheet); color: var(--ink); font-weight: 750; font-size: clamp(0.7rem, 1.2vw, 0.88rem); white-space: nowrap; cursor: default;
  box-shadow: 0 8px 20px -10px rgb(0 0 0 / 0.5); transition: transform 260ms var(--ease-out), box-shadow 260ms ease, background-color 260ms ease; }
.hub-node.is-hot span { transform: scale(1.08); background: var(--marker); color: var(--marker-ink); box-shadow: 0 0 0 4px rgb(245 199 66 / 0.25), 0 0 26px rgb(245 199 66 / 0.8); }
.hub figcaption { position: absolute; left: 50%; bottom: -38px; transform: translateX(-50%); font-weight: 800; color: var(--ink-3); font-size: 0.92rem; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .hub-line { stroke-dashoffset: 0; animation: hub-flow 1.6s linear infinite; }
  .js .hub .hub-node span { opacity: 0; }
  .js .hub.is-in .hub-node span { opacity: 1; animation: pop 520ms var(--ease-out) calc(var(--i) * 110ms + 200ms) backwards; }
  .js .hub.is-in .hub-node.is-hot span { transform: scale(1.08); }
  .js .hub .hub-core { scale: 0.85; opacity: 0; transition: scale 900ms cubic-bezier(0.2, 0.9, 0.25, 1.2), opacity 600ms ease; }
  .js .hub.is-in .hub-core { scale: 1; opacity: 1; }
  .hub-core { animation: core-glow 3.2s ease-in-out infinite; }
}
@keyframes hub-flow { to { stroke-dashoffset: -6.4; } }
@keyframes core-glow { 50% { box-shadow: 0 0 0 14px rgb(245 199 66 / 0.14), 0 0 0 30px rgb(245 199 66 / 0.05), 0 0 70px rgb(245 199 66 / 0.85); } }
@media (max-width: 900px) { .why2-grid { grid-template-columns: 1fr; } .hub { margin-bottom: 40px; } }
@media (max-width: 480px) { .hub-node span { padding: 6px 9px; } }

/* ===== about page: still images, moving colour ===== */
body.about .about-photo img { animation: none !important; }
body.about .team .person[data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
body.about .team .person { animation: none !important; translate: none; }
@media (hover: hover) and (pointer: fine) { body.about .team .person:hover { transform: none !important; } }

.band-about { background: var(--kloof-900); }
.band-about::after { content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgb(71 112 79 / 0.85), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgb(245 199 66 / 0.35), transparent 70%),
    radial-gradient(45% 55% at 60% 85%, rgb(79 148 145 / 0.7), transparent 70%),
    radial-gradient(30% 40% at 90% 70%, rgb(226 125 142 / 0.25), transparent 70%); }
.band-about::before { z-index: -1; }
.about-photo { box-shadow: 0 0 0 6px rgb(245 199 66 / 0.25), 0 0 40px rgb(245 199 66 / 0.35), 0 30px 60px -30px rgb(0 0 0 / 0.6); }
.timeline li::before { background: var(--marker); }
@media (prefers-reduced-motion: no-preference) {
  .band-about::after { animation: colour-drift 22s ease-in-out infinite alternate; }
  .about-photo { animation: frame-colour 12s ease-in-out infinite; }
  body.about .timeline li::before { animation: dot-colour 6s ease-in-out infinite; animation-delay: calc(var(--n, 0) * 1.5s); }
  body.about .timeline li:nth-child(2)::before { --n: 1; } body.about .timeline li:nth-child(3)::before { --n: 2; } body.about .timeline li:nth-child(4)::before { --n: 3; }
  body.about .hub-core { animation: core-colour 10s ease-in-out infinite; }
}
@keyframes colour-drift {
  0% { transform: translate(0, 0) rotate(0deg); filter: hue-rotate(0deg); }
  50% { transform: translate(4%, -3%) rotate(6deg); filter: hue-rotate(-18deg); }
  100% { transform: translate(-4%, 3%) rotate(-5deg); filter: hue-rotate(14deg); }
}
@keyframes frame-colour {
  0%, 100% { box-shadow: 0 0 0 6px rgb(245 199 66 / 0.3), 0 0 44px rgb(245 199 66 / 0.4), 0 30px 60px -30px rgb(0 0 0 / 0.6); }
  33% { box-shadow: 0 0 0 6px rgb(127 208 207 / 0.35), 0 0 44px rgb(127 208 207 / 0.45), 0 30px 60px -30px rgb(0 0 0 / 0.6); }
  66% { box-shadow: 0 0 0 6px rgb(159 199 154 / 0.35), 0 0 44px rgb(159 199 154 / 0.45), 0 30px 60px -30px rgb(0 0 0 / 0.6); }
}
@keyframes dot-colour {
  0%, 100% { background: var(--marker); box-shadow: 0 0 0 4px var(--bg), 0 0 18px 4px rgb(245 199 66 / 0.75); }
  33% { background: var(--glacier); box-shadow: 0 0 0 4px var(--bg), 0 0 18px 4px rgb(127 208 207 / 0.75); }
  66% { background: #6fb38a; box-shadow: 0 0 0 4px var(--bg), 0 0 18px 4px rgb(111 179 138 / 0.75); }
}
@keyframes core-colour {
  0%, 100% { background: var(--marker); box-shadow: 0 0 0 10px rgb(245 199 66 / 0.18), 0 0 0 22px rgb(245 199 66 / 0.07), 0 0 60px rgb(245 199 66 / 0.7); }
  50% { background: #ffd98a; box-shadow: 0 0 0 12px rgb(127 208 207 / 0.2), 0 0 0 26px rgb(127 208 207 / 0.08), 0 0 70px rgb(127 208 207 / 0.6); }
}

/* testimonials: stories in scrolling columns */
.filter-center { justify-content: center; margin-bottom: clamp(26px, 3vw, 36px); }
.rc-stories { max-height: 760px; }
.rc-stories .rc-col { min-width: 0; overflow: hidden; }
.rc-set { display: grid; gap: 24px; }
.rc-stories .rc { padding: 26px; border-radius: 26px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -26px rgb(11 50 54 / 0.45); margin: 0; break-inside: auto; }
.rc-stories .rc p { color: var(--ink); font-size: 1rem; line-height: 1.55; margin: 0; }
.rc-stories .rc figcaption { margin-top: 14px; }
.rc-stories .rc figcaption b { color: var(--ink); }
.rc-stories .rc .more { margin-top: 10px; display: inline-block; }
@media (hover: hover) and (pointer: fine) { .rc-stories .rc:hover { transform: translateY(-3px); background: rgb(245 199 66 / 0.1); box-shadow: inset 0 0 0 1.5px var(--marker), 0 20px 44px -20px rgb(245 199 66 / 0.7); } }
.rc-stories .rc.is-open { box-shadow: inset 0 0 0 2px var(--marker), 0 20px 44px -20px rgb(245 199 66 / 0.8); background: var(--bg); }
.rc-col.is-reading .rc-track { animation-play-state: paused !important; }
.rc-stories { transition: opacity 220ms ease, filter 220ms ease; }
.rc-stories.is-swapping { opacity: 0; filter: blur(4px); }
.rc-stories.is-static { max-height: none; -webkit-mask-image: none; mask-image: none; }
.rc-stories.is-static .rc-dup, .rc-stories.is-static [aria-hidden="true"].rc { display: none; }
@media (max-width: 1000px) { .rc-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rc-stories { grid-template-columns: minmax(0, 1fr); max-height: 620px; } }
.rc-stories .more-text { display: none; }
.rc-stories figure.is-open .more-text { display: inline; }
.rc-stories .more { border: 0; background: none; padding: 0; font-weight: 700; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }

/* about: team cards show photo and details together (no flip) */
body.about .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); perspective: none; }
body.about .person { perspective: none; }
body.about .person-inner { aspect-ratio: auto; transform: none !important; transform-style: flat; transition: none; display: grid; grid-template-columns: minmax(150px, 42%) 1fr;
  border-radius: var(--r-lg); overflow: hidden; background: var(--kloof-800); box-shadow: 0 20px 44px -28px rgb(11 50 54 / 0.6); }
body.about .person-face { position: relative; inset: auto; backface-visibility: visible; -webkit-backface-visibility: visible; border-radius: 0; }
body.about .person-front { min-height: 300px; }
body.about .person-front .name { display: none; }
body.about .person-back { transform: none; padding: clamp(20px, 2.4vw, 30px); justify-content: center; }
body.about .person-back > * { opacity: 1 !important; transform: none !important; transition: none !important; }
body.about .person-back b { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
body.about .person-back .cred { margin: 10px 0 14px; }
body.about .flip-btn { display: none; }
body.about .person-inner { transition: box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  body.about .person:hover .person-inner { box-shadow: 0 0 0 2px var(--marker), 0 22px 50px -24px rgb(245 199 66 / 0.7); }
}
@media (max-width: 900px) { body.about .team { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 0; } }
@media (max-width: 520px) { body.about .person-inner { grid-template-columns: 1fr; } body.about .person-front { min-height: 0; aspect-ratio: 4 / 3; } }

/* stories: names in the site's palette */
.rc-stories figcaption b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; letter-spacing: -0.01em; }
.rc-stories figcaption b::before { content: ""; width: 14px; height: 3px; border-radius: 3px; background: currentColor; }
.rc-stories .rc figcaption.nc-0 b { color: #175150; }
.rc-stories .rc figcaption.nc-1 b { color: #47704f; }
.rc-stories .rc figcaption.nc-2 b { color: #a8692f; }
.rc-stories .rc figcaption.nc-3 b { color: #b3485c; }
.rc-stories .rc figcaption.nc-4 b { color: #226664; }
.rc-stories .rc figcaption.nc-5 b { color: #8a6400; }
@media (prefers-color-scheme: dark) {
  .rc-stories .rc figcaption.nc-0 b { color: #7fd0cf; } .rc-stories .rc figcaption.nc-1 b { color: #9fc79a; } .rc-stories .rc figcaption.nc-2 b { color: #e0b080; }
  .rc-stories .rc figcaption.nc-3 b { color: #f0a0ae; } .rc-stories .rc figcaption.nc-4 b { color: #8fd3c8; } .rc-stories .rc figcaption.nc-5 b { color: #f5c742; }
}

/* landing on the building photo from the arrow */
#building { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  #building.is-arrived .bstage-img { animation: arrive-glow 1800ms var(--ease-out) 1; }
  #building.is-arrived .bpin-dot { animation: arrive-pin 900ms var(--ease-out) 2, glow 2.4s ease-in-out 1.8s infinite; }
}
#building.is-arrived .bstage-img { box-shadow: 0 0 0 4px rgb(245 199 66 / 0.6), 0 0 50px rgb(245 199 66 / 0.5); transition: box-shadow 1200ms ease; }
@keyframes arrive-glow { 0% { box-shadow: 0 0 0 0 rgb(245 199 66 / 0); } 30% { box-shadow: 0 0 0 8px rgb(245 199 66 / 0.8), 0 0 70px rgb(245 199 66 / 0.8); } 100% { box-shadow: 0 0 0 4px rgb(245 199 66 / 0.6), 0 0 50px rgb(245 199 66 / 0.5); } }
@keyframes arrive-pin { 50% { transform: scale(1.25); } }

/* contact: scroll-drawn trail from the address arrow to the pin on the building */
.trail-svg { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 30; overflow: visible; }
.trail-svg .trail-base { fill: none; stroke: rgb(245 199 66 / 0.18); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 11; }
.trail-svg .trail-line { fill: none; stroke: var(--marker); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 11; filter: drop-shadow(0 0 4px rgb(245 199 66 / 0.8)); }
.trail-head { position: absolute; left: 0; top: 0; z-index: 31; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 999px; pointer-events: none;
  display: grid; place-items: center; background: var(--marker); color: var(--marker-ink); box-shadow: 0 0 0 5px rgb(245 199 66 / 0.25), 0 0 22px rgb(245 199 66 / 0.9);
  opacity: 0; transition: opacity 300ms ease; }
.trail-head.is-on { opacity: 1; }
.trail-head .ico { width: 18px; height: 18px; }

/* ===== more colour: driving directions ===== */
.acc-routes details { --rc: var(--kloof-600); --rc-soft: rgb(34 102 100 / 0.1); border-bottom: 0; margin-bottom: 10px; border-radius: 18px; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: background-color 300ms ease, box-shadow 300ms ease; }
.acc-routes { border-top: 0; }
.acc-routes details:nth-child(2) { --rc: #47704f; --rc-soft: rgb(71 112 79 / 0.12); }
.acc-routes details:nth-child(3) { --rc: #a8692f; --rc-soft: rgb(213 160 106 / 0.18); }
.acc-routes details:nth-child(4) { --rc: #b3485c; --rc-soft: rgb(226 125 142 / 0.15); }
.acc-routes summary { padding: 16px 18px; gap: 14px; justify-content: flex-start; }
.acc-routes summary > .ico { margin-left: auto; color: var(--rc); }
.dir-badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--rc); color: #fff; box-shadow: 0 6px 16px -6px var(--rc); transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.dir-badge .ico { width: 20px; height: 20px; }
.dir-name { color: var(--ink); }
.acc-routes .acc-body { padding: 0 22px 20px 72px; color: var(--ink-2); }
.acc-routes details[open] { background: var(--rc-soft); box-shadow: inset 4px 0 0 var(--rc), inset 0 0 0 1px color-mix(in srgb, var(--rc) 40%, transparent), 0 14px 30px -18px var(--rc); }
.acc-routes details[open] .dir-name { color: var(--rc); }
.acc-routes details[open] .dir-badge { transform: rotate(-6deg) scale(1.06); box-shadow: 0 0 0 4px var(--rc-soft), 0 8px 22px -6px var(--rc); }
@media (hover: hover) and (pointer: fine) { .acc-routes details:not([open]):hover { background: var(--rc-soft); } .acc-routes details:hover .dir-badge { transform: translateX(3px); } }
@media (max-width: 560px) { .acc-routes .acc-body { padding-left: 22px; } }

/* ===== more colour: footer ===== */
.site-footer .foot-ridge .r15 { fill: #1f4a3d; }
.site-footer { background: linear-gradient(180deg, var(--kloof-950) 0%, #082a2c 55%, #06201f 100%); }
.site-footer::after { content: ""; position: absolute; left: 50%; top: 40px; width: min(900px, 90vw); height: 380px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(245 199 66 / 0.16), rgb(245 199 66 / 0.05) 55%, transparent); }
@media (prefers-reduced-motion: no-preference) { .site-footer::after { animation: foot-glow 9s ease-in-out infinite; } }
@keyframes foot-glow { 50% { opacity: 0.6; transform: translateX(-50%) scale(1.08); } }
.foot-top h2 em { font-style: normal; color: var(--marker); text-shadow: 0 0 30px rgb(245 199 66 / 0.35); }
.site-footer h3 { display: flex; align-items: center; gap: 10px; }
.site-footer h3::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.foot-top > div:nth-child(2) h3 { color: var(--glacier); }
.foot-top > div:nth-child(3) h3 { color: var(--marker); }
.foot-top > div:nth-child(4) h3 { color: #9fc79a; }
.site-footer ul a, .site-footer address + p a { display: inline-block; transition: color 220ms ease, transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site-footer ul a:hover, .site-footer address + p a:hover { color: var(--marker); transform: translateX(4px); text-decoration: none; } }
.site-footer .social a:nth-child(1):hover { background: rgb(226 125 142 / 0.25); color: #f4b3be; box-shadow: 0 0 18px rgb(226 125 142 / 0.5); }
.site-footer .social a:nth-child(2):hover { background: rgb(127 208 207 / 0.25); color: var(--glacier); box-shadow: 0 0 18px rgb(127 208 207 / 0.5); }
.site-footer .social a:nth-child(3):hover { background: rgb(245 199 66 / 0.22); color: var(--marker); box-shadow: 0 0 18px rgb(245 199 66 / 0.5); }
.foot-base { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgb(127 208 207 / 0.35), rgb(245 199 66 / 0.45), rgb(159 199 154 / 0.35), transparent) 1; }

/* pilates week: level dots glow and breathe, each on its own rhythm */
.wk .lvl, .wk ~ .tt-legend .lvl { position: relative; box-shadow: 0 0 6px 0 currentColor; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .wk .lvl, .wk ~ .tt-legend .lvl {
    animation: dot-breathe var(--gd, 3.4s) cubic-bezier(0.45, 0, 0.55, 1) var(--gdel, 0s) infinite,
               dot-drift var(--dd, 5.6s) cubic-bezier(0.45, 0, 0.55, 1) var(--gdel, 0s) infinite alternate;
  }
}
@keyframes dot-breathe {
  0%, 100% { box-shadow: 0 0 3px 0 currentColor; scale: 1; filter: brightness(1); }
  50% { box-shadow: 0 0 var(--gs, 14px) 3px currentColor; scale: 1.28; filter: brightness(1.15); }
}
@keyframes dot-drift {
  0% { translate: 0 0; }
  50% { translate: var(--dx, 1px) var(--dy, -1px); }
  100% { translate: calc(var(--dx, 1px) * -1) calc(var(--dy, -1px) * 0.5); }
}
.person { cursor: pointer; }
.person:focus-visible { outline: 3px solid var(--marker); outline-offset: 4px; border-radius: var(--r-lg); }
body.about .person { cursor: default; }
