/* ClimbNear pSEO pages. Tokens follow digest/theme.css (dark paper by default, hold-yellow only for the action).
   Contrast on #0f1114: ink #ece8df 15:1, muted #9ca3ad 7.4:1, teal #5cc2c2 8.9:1; button text #15171c on #f2c230 11:1. */
:root {
  --paper: #0f1114; --paper-2: #171a1f; --card: #14171b; --ink: #ece8df; --ink-2: #d0ccc3; --muted: #9ca3ad;
  --rule: #262a31; --rule-strong: #3b414b; --teal: #5cc2c2; --signal: #f2c230; --signal-ink: #15171c;
  --display: 'Bricolage Grotesque', system-ui, sans-serif; --text: 'Figtree', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --paper: #f6f3ec; --paper-2: #ece7dc; --card: #fbf9f4; --ink: #15171c; --ink-2: #2c3038; --muted: #5a6069;
  --rule: #dcd5c6; --rule-strong: #b9af9c; --teal: #1f7a7a; color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text); }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--signal-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

.bar { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.bar-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 700 18px/1 var(--display); }
.bar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.bar nav a { color: var(--ink-2); text-decoration: none; padding: 10px 10px; font-size: 15px; border-radius: 8px; }
.bar nav a:hover { background: var(--paper-2); color: var(--ink); }
@media (max-width: 560px) { .bar nav { flex-wrap: nowrap; } .bar nav:not(.lang) a:nth-child(2), .bar nav:not(.lang) a:nth-child(3) { display: none; } .bar nav a { padding: 10px 6px; font-size: 14px; white-space: nowrap; } .brand span { font-size: 17px; } }
@media (max-width: 430px) { .bar nav:not(.lang) a:nth-child(4) { display: none; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin: 20px 0 0; }
.crumbs a { color: var(--muted); }
.hero { padding: 20px 0 8px; }
.kicker { font: 600 13px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
h1 { font: 800 clamp(34px, 6vw, 60px)/1.02 var(--display); letter-spacing: -0.02em; margin: 0 0 12px; text-wrap: balance; }
h2 { font: 700 clamp(24px, 3.2vw, 32px)/1.15 var(--display); margin: 0 0 8px; letter-spacing: -0.01em; }
h3 { font: 700 18px/1.3 var(--display); margin: 0; }
h3.sub { margin: 24px 0 12px; }
.dek { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); margin: 0 0 6px; max-width: 60ch; }
.addr { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; font-weight: 600; }
.btn:hover { background: var(--paper-2); color: var(--ink); }
.btn.primary { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.btn.primary:hover { filter: brightness(1.06); color: var(--signal-ink); }
.btn.tiny { min-height: 40px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
.fine { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; margin: 22px 0 8px; }
.tile { background: var(--card); padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile .k { font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tile .v { font: 800 28px/1.1 var(--display); overflow-wrap: anywhere; }
.tile .v-sm { font-size: 20px; }
.tile .s { font-size: 14px; color: var(--muted); }

.block { padding: 36px 0 8px; border-top: 1px solid var(--rule); margin-top: 28px; }
.lede { color: var(--ink-2); margin: 0 0 16px; max-width: 70ch; }
.note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

.personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1000px) { .personas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .personas { grid-template-columns: 1fr; } }
.persona { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 16px; min-width: 0; }
.persona header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.persona ul, .persona ol { margin: 0; padding-left: 18px; }
.persona li { margin: 6px 0; overflow-wrap: anywhere; }
.persona ol li .muted { display: block; font-size: 14px; }
.persona .more { font-size: 14px; }
.grade { display: inline-block; font: 600 12px/1 var(--mono); padding: 5px 8px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.g-easy { border-color: #2f6f4c; color: #9fdcb6; }
.g-mid { border-color: #6b5a22; color: #e8cf7d; }
.g-hard { border-color: #7a4325; color: #f2b08a; }
.g-na { color: var(--muted); }

.tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; }
table.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.facts thead th { font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--paper-2); }
.facts tbody th { font-weight: 600; width: 22%; }
.facts tbody th .muted { display: block; font-weight: 400; font-size: 13px; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.facts .srccell { font-size: 13px; width: 24%; overflow-wrap: anywhere; }
.src { color: var(--teal); }
.when { display: block; color: var(--muted); }
details.q { margin-top: 6px; font-size: 13px; color: var(--muted); }
details.q summary { cursor: pointer; min-height: 24px; }
details.q blockquote { margin: 6px 0 0; padding-left: 10px; border-left: 2px solid var(--rule-strong); }
@media (max-width: 640px) {
  .facts:not(.city) thead { display: none; }
  .facts:not(.city) tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
  .facts:not(.city) th, .facts:not(.city) td { display: block; padding: 2px 0; border: 0; width: auto; }
  .facts .srccell { width: auto; }
  .facts.city thead { display: none; }
  .facts.city tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px; border-bottom: 1px solid var(--rule); }
  .facts.city th, .facts.city td { display: block; padding: 0; border: 0; width: auto; text-align: left; white-space: normal; }
  .facts.city th { grid-column: 1 / -1; font-size: 17px; }
  .facts.city td::before { content: attr(data-label); display: block; font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .facts.city td[data-label="Kids and youth"], .facts.city td[data-label="What is on"], .facts.city td[data-label="Intro class"] { grid-column: 1 / -1; }
  .tile .v { font-size: 22px; }
}

.voices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.voice { margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 16px; }
.voice p { margin: 0 0 10px; font-size: 18px; line-height: 1.45; }
.voice p::before { content: '“'; } .voice p::after { content: '”'; }
.voice footer { font-size: 13px; color: var(--muted); }
.yts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.yt { margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.yt-play { all: unset; display: block; position: relative; cursor: pointer; aspect-ratio: 16 / 9; width: 100%; background: #000; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.yt-play .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(15, 17, 20, .82); color: #fff; display: grid; place-items: center; font-size: 22px; }
.yt-play:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.yt figcaption { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.igs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; margin-top: 12px; }
.igs .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; background: var(--card) !important; border: 1px solid var(--rule) !important; border-radius: 14px !important; }
.igs .instagram-media a { display: block; padding: 16px; }

.links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px 16px; }
.links li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards a { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--rule-strong); }
.cards span { color: var(--muted); font-size: 14px; }
.sources ul { padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.sources li { margin: 6px 0; overflow-wrap: anywhere; }
.wrap-back { margin: 28px 0; }

.foot { border-top: 1px solid var(--rule); margin-top: 48px; padding: 28px 0 40px; font-size: 15px; color: var(--ink-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; }
.foot nav a { padding: 8px 0; }

/* ---------- immersive gym page ---------- */
.ihero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: #0b0d10; isolation: isolate; }
.ihero-media { position: absolute; inset: 0; z-index: -2; }
.ihero-img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 60% 40%; animation: kb 26s ease-out both; }
@keyframes kb { from { transform: scale(calc(1.12 * var(--crop, 1))); } to { transform: scale(var(--crop, 1)); } }
.ihero .ihero-map, .ihero .ihero-map.maplibregl-map, .ihero-plain { position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 30%, #1d2530 0%, #0b0d10 70%); }
.ihero-player { position: absolute; inset: 0; display: none; }
.ihero-player iframe { width: 100%; height: 100%; border: 0; }
.ihero.playing .ihero-player { display: block; z-index: 3; }
.ihero.playing .ihero-shade, .ihero.playing .ihero-copy { display: none; }
.ihero.playing { min-height: min(62vh, 640px); }
.ihero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,.1) 30%, rgba(11,13,16,.55) 62%, #0f1114 100%); }
.ihero--map .ihero-shade, .ihero--plain .ihero-shade { background: linear-gradient(180deg, rgba(15,17,20,.75) 0%, rgba(15,17,20,0) 25%, rgba(15,17,20,0) 55%, #0f1114 100%); }
.ihero-in { position: relative; width: 100%; padding-top: 16px; padding-bottom: 28px; display: flex; flex-direction: column; min-height: inherit; }
.ihero .crumbs { margin: 0; }
.ihero .crumbs, .ihero .crumbs a { color: #d0ccc3; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.ihero-copy { margin-top: auto; padding-top: 40vh; max-width: 760px; }
.ihero--map .ihero-copy { padding-top: 28vh; }
.ihero--plain { min-height: 0; }
.ihero--plain .ihero-copy { padding-top: 48px; }
.ihero h1 { font-size: clamp(40px, 7.5vw, 84px); text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.ihero .dek { color: #ece8df; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.ihero .addr { color: #d0ccc3; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.ihero .kicker { color: #d0ccc3; }
.btn.glass { background: rgba(15,17,20,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(236,232,223,.35); }
.btn.glass:hover { background: rgba(15,17,20,.7); }
.ihero-credit { margin: 14px 0 0; font-size: 13px; color: #b9b4aa; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ihero-credit a { color: #d0ccc3; }
.ihero-watch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(236,232,223,.4); background: rgba(15,17,20,.55); color: var(--ink); font: 600 14px/1 var(--text); cursor: pointer; backdrop-filter: blur(8px); }
.ihero-watch:hover { background: rgba(15,17,20,.8); }
@media (max-width: 640px) { .ihero { min-height: 78svh; } .ihero-copy { padding-top: 30svh; } .ihero h1 { font-size: clamp(36px, 11vw, 52px); } }
@media (prefers-reduced-motion: reduce) { .ihero-img { animation: none; } }

.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--rule-strong), var(--rule)); }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 0 0 28px; position: relative; }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--rule-strong); font: 700 18px/1 var(--display); position: relative; z-index: 1; }
.step-k { font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 4px 0 4px; }
.step h3 { font-size: 21px; }
.step-v { margin: 6px 0 0; color: var(--ink-2); font-size: 17px; }
.step-src { margin: 6px 0 0; font-size: 13px; }
.meter { position: sticky; top: 76px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.meter .k { font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.meter .v { font: 800 40px/1 var(--display); color: var(--signal); }
.meter .v.bump { animation: bump .45s ease-out; }
@keyframes bump { 0% { transform: scale(1.12); } 100% { transform: scale(1); } }
.meter .s { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; } .meter { position: sticky; top: 64px; z-index: 2; order: -1; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 12px 14px; } .meter .v { font-size: 28px; } }

.mapbox { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule); background: radial-gradient(120% 90% at 70% 30%, #1d2530 0%, #0b0d10 70%); }
.gmap { height: min(62vh, 520px); }
.map-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.pin { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font: 600 13px/1.2 var(--text); transform: translateY(-50%); }
.pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 2px solid #0f1114; box-shadow: 0 0 0 2px rgba(92,194,194,.35); flex: none; }
.pin:not(.me) span { opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; pointer-events: none; }
a.pin:hover span, a.pin:focus-visible span { opacity: 1; transform: none; }
a.pin:hover, a.pin:focus-visible { z-index: 4 !important; }
.pin span { background: rgba(15,17,20,.82); border: 1px solid var(--rule-strong); padding: 4px 8px; border-radius: 8px; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
a.pin:hover span { border-color: var(--teal); }
.pin.me i { width: 18px; height: 18px; background: var(--signal); box-shadow: 0 0 0 6px rgba(242,194,48,.25); animation: pulse 2.2s ease-out infinite; }
.pin.me span { font-size: 15px; border-color: var(--signal); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,194,48,.5); } 100% { box-shadow: 0 0 0 18px rgba(242,194,48,0); } }
@media (prefers-reduced-motion: reduce) { .pin.me i { animation: none; } }
.near { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px 20px; }
.near li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.near .muted { font-size: 14px; }

.bars { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 90px; gap: 12px; align-items: center; }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 14px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: var(--rule-strong); border-radius: 999px; }
.bar-row.me .bar-track i { background: var(--signal); }
.bar-row.me .bar-name { font-weight: 700; }
.bar-v { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .bar-row { grid-template-columns: 1fr 70px; } .bar-track { grid-column: 1 / -1; order: 3; } }

/* Icons on every action and heading */
.ico { width: 18px; height: 18px; flex: none; }
.btn .ico { width: 19px; height: 19px; }
.btn .ico.end { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .ico.end { transform: translateX(3px); }
.btn.primary { box-shadow: 0 8px 28px rgba(242,194,48,.28); }
.ihero .btn { min-height: 52px; padding: 0 22px; font-size: 17px; }
.ihero-watch .ico { width: 14px; height: 14px; }
.kicker .ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }
.h2i { display: flex; align-items: center; gap: 12px; }
.h2i-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(242,194,48,.12); color: var(--signal); border: 1px solid rgba(242,194,48,.25); }
.h2i-ico .ico { width: 20px; height: 20px; }
.tile .k { display: flex; align-items: center; gap: 6px; }
.tile .k .ico { width: 15px; height: 15px; color: var(--signal); }
.step-n .ico { width: 20px; height: 20px; color: var(--signal); }
.step-n { background: var(--card); border-color: rgba(242,194,48,.35); }
.persona h3 { display: flex; align-items: center; gap: 8px; }
.persona h3 .ico { color: var(--signal); }
.map-actions .btn .ico { width: 16px; height: 16px; }

/* Closing booking band: full-bleed still from inside the gym */
.endcta { position: relative; margin: 56px calc(50% - 50vw) 8px; min-height: min(70vh, 620px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: radial-gradient(120% 100% at 70% 20%, #232b36 0%, #0b0d10 70%); }
.endcta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(var(--crop, 1)); }
.endcta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0f1114 0%, rgba(15,17,20,.25) 30%, rgba(15,17,20,.35) 55%, rgba(15,17,20,.92) 100%); }
.endcta--plain { min-height: 0; }
.endcta-in { width: min(1048px, 100% - 32px); margin: 0 auto; padding: 120px 0 44px; }
.endcta--plain .endcta-in { padding-top: 56px; }
.endcta h2 { font-size: clamp(30px, 5vw, 56px); line-height: 1.05; max-width: 820px; text-shadow: 0 2px 24px rgba(0,0,0,.55); margin: 6px 0 10px; }
.endcta .dek { color: #ece8df; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.endcta .kicker { color: var(--signal); display: flex; align-items: center; }
.endcta .btn { min-height: 52px; padding: 0 22px; }

/* Photo cards (city gyms, hub cities) */
.gcards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.gcard { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; background: radial-gradient(120% 120% at 70% 20%, #2a3340 0%, #12151a 75%); border: 1px solid var(--rule); }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(var(--crop, 1)); transition: transform .5s ease; }
.gcard:hover img { transform: scale(calc(var(--crop, 1) * 1.06)); }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%); }
.gcard-blank { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(242,194,48,.5); z-index: -2; }
.gcard-blank .ico { width: 44px; height: 44px; }
.gcard-in { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.gcard-in strong { font: 800 19px/1.15 var(--display); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.gcard-in span { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 14px; color: #e4e0d8; }
.gcard-in .ico { width: 14px; height: 14px; color: var(--signal); }
.gcard:hover { border-color: var(--signal); }

/* Hub: mosaic of stills behind the title */
.mosaic { margin: 0 calc(50% - 50vw); height: 360px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; overflow: hidden; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--crop, 1)); filter: saturate(.9); }
.mosaic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,17,20,.35) 0%, rgba(15,17,20,.55) 55%, #0f1114 100%); }
.hero--over { margin-top: -170px; position: relative; z-index: 1; }
.hero--over h1 { text-shadow: 0 2px 24px rgba(0,0,0,.6); }
@media (max-width: 640px) { .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; height: 240px; } .hero--over { margin-top: -110px; } }
.gcard .wallart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; transition: transform .5s ease; }
.gcard:hover .wallart { transform: scale(1.05); }
.mosaic { grid-template-rows: 180px 180px; grid-auto-rows: 0; }
.mosaic img { height: 180px; }
.mosaic::after { background: linear-gradient(180deg, rgba(15,17,20,.45) 0%, rgba(15,17,20,.7) 55%, #0f1114 100%); }
@media (max-width: 640px) { .mosaic { grid-template-rows: 120px 120px; } .mosaic img { height: 120px; } }
.gcard-in .nw { display: inline-flex; flex-wrap: nowrap; white-space: nowrap; gap: 5px; }

/* ---------- experience-first gym page (2026-10-18): language switch, photo mosaic, lightbox, feed tabs, sticky booking ---------- */
.bar nav.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--rule-strong); border-radius: 999px; flex-wrap: nowrap; }
.bar nav.lang a, .bar nav.lang span { padding: 6px 11px; font-size: 13px; font-weight: 600; border-radius: 999px; line-height: 1.2; }
.bar nav.lang span { background: var(--ink); color: var(--paper); }
.bar nav.lang a { display: inline-block !important; }
.bar-in > nav:not(.lang) { margin-left: auto; }
@media (max-width: 560px) { .bar nav.lang a, .bar nav.lang span { padding: 6px 9px; font-size: 12px; } }

.gal { margin: 26px 0 0; position: relative; }
.gal-grid { display: grid; gap: 6px; border-radius: 18px; overflow: hidden; height: clamp(300px, 46vw, 470px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gal-grid figure { margin: 0; min-height: 0; overflow: hidden; }
.gal-grid .big { grid-row: 1 / 3; }
.gal-3 { grid-template-columns: 2fr 1fr; }
.gal-4 .big { grid-row: 1 / 3; } .gal-4 figure:nth-child(4) { grid-column: 2 / 4; }
.ph { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; overflow: hidden; }
.ph:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(var(--crop, 1)); transition: transform .5s ease, filter .3s ease; }
.ph:hover img { transform: scale(calc(var(--crop, 1) * 1.05)); filter: brightness(1.08); }
.gal-all { position: absolute; right: 14px; bottom: 14px; min-height: 40px; font-size: 14px; }
.gal-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 6px; border-radius: 16px; overflow: hidden; height: 220px; }
.gal-row figure { margin: 0; }
@media (max-width: 640px) {
  .gal-grid { height: auto; grid-template-columns: none; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 14px; }
  .gal-grid figure, .gal-grid .big, .gal-4 figure:nth-child(4) { grid-row: auto; grid-column: auto; aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: 12px; }
  .gal-all { position: static; margin-top: 10px; }
  .gal-row { height: 180px; overflow-x: auto; }
}

.lede.big { font-size: clamp(19px, 2.3vw, 23px); line-height: 1.5; color: var(--ink); max-width: 62ch; }
.hls { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.hls li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.hl-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--rule-strong); color: var(--signal); }
.hl-ico .ico { width: 22px; height: 22px; }
.hls h3 { font-size: 19px; margin-bottom: 2px; }
.hls p { margin: 0; color: var(--ink-2); }
.orig { font: 600 11px/1 var(--mono); color: var(--muted); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 2px 5px; vertical-align: 2px; }

.feed .tabs { display: flex; gap: 6px; overflow-x: auto; margin: 6px 0 18px; padding-bottom: 2px; scrollbar-width: none; }
.feed .tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink-2); font: 600 15px/1 var(--text); white-space: nowrap; }
.tabs [role="tab"]:hover { color: var(--ink); background: var(--paper-2); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabs [role="tab"]:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.tabs .n { font: 600 12px/1 var(--mono); opacity: .7; }
.masonry { columns: 3 220px; column-gap: 8px; }
.masonry figure { margin: 0 0 8px; break-inside: avoid; border-radius: 12px; overflow: hidden; position: relative; }
.masonry figure:nth-child(3n+1) .ph { aspect-ratio: 4 / 5; }
.masonry figure:nth-child(3n+2) .ph { aspect-ratio: 1 / 1; }
.masonry figure:nth-child(3n) .ph { aspect-ratio: 16 / 10; }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 12px; color: #ece8df; background: linear-gradient(transparent, rgba(0,0,0,.7)); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.personas.compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.personas.compact .persona p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.persona h3 .ico { margin-right: 6px; vertical-align: -3px; }

.factsbox > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.factsbox > summary::-webkit-details-marker { display: none; }
.factsbox > summary::after { content: '+'; font: 600 26px/1 var(--display); color: var(--muted); }
.factsbox[open] > summary::after { content: '−'; }
.factsbox > summary h2 { margin: 0; }
.factsbox[open] .tablewrap { margin-top: 18px; }

.cityhero { position: relative; margin: 18px 0 0; border-radius: 20px; overflow: hidden; min-height: clamp(320px, 44vw, 460px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.cityhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(var(--crop, 1)); }
.cityhero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,13,16,.1) 20%, rgba(11,13,16,.88) 100%); }
.cityhero-in { padding: 24px clamp(18px, 3vw, 32px) 8px; }
.cityhero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.cityhero .kicker { color: #d0ccc3; }
.cityhero-credit { margin: 0; padding: 0 clamp(18px, 3vw, 32px) 16px; font-size: 12px; color: #b9b4aa; }

.sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: rgba(15,17,20,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--rule-strong); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .3s ease; }
.sticky-book.on { transform: none; }
.sb-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sb-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sb-name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-name .muted { font-size: 13px; }
.sticky-book .btn { min-height: 44px; flex: none; }
@media (prefers-reduced-motion: reduce) { .sticky-book { transition: none; } }

.lightbox { border: 0; padding: 0; margin: auto; max-width: min(1200px, 96vw); width: 100%; background: transparent; color: var(--ink); overflow: visible; }
.lightbox::backdrop { background: rgba(5,6,8,.94); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; display: block; border-radius: 10px; background: #000; }
.lightbox figcaption { margin-top: 10px; font-size: 14px; color: #b9b4aa; text-align: center; }
.lightbox figcaption a { color: #d0ccc3; }
.lb-x, .lb-prev, .lb-next { all: unset; cursor: pointer; position: fixed; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(236,232,223,.12); color: #ece8df; font: 400 30px/1 var(--text); }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: rgba(236,232,223,.25); }
.lb-x:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible { outline: 3px solid var(--signal); }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }
@media (max-width: 640px) { .masonry { columns: 2; column-gap: 6px; } .masonry figure { margin-bottom: 6px; } }
.visit-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 20px 0 6px; }
.visit-cta .muted { font-size: 14px; }

/* One action per page: the yellow button is the only button that leaves the page; everything else is a quiet link. */
.cta { align-items: center; }
.quiet { color: var(--ink-2); font-size: 15px; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; padding: 10px 4px; }
.quiet:hover { color: var(--ink); text-decoration-color: var(--ink-2); }
.ihero .quiet, .cityhero .quiet, .endcta .quiet { color: #ece8df; text-decoration-color: rgba(236,232,223,.5); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.map-actions { gap: 4px 14px; }
.btn.primary { max-width: 100%; }
@media (max-width: 430px) { .cta .btn.primary { width: 100%; justify-content: center; } }
/* Answer first */
.answer { margin: 22px 0 0; padding: 16px 18px; border: 1px solid var(--rule); border-left: 3px solid var(--signal); border-radius: 12px; background: var(--card); max-width: 80ch; }
.answer p { margin: 0; color: var(--ink); }
.answer .fine { margin-top: 6px; }
/* Charts: bars from published numbers; the pick is the only coloured bar */
.chart { margin: 0; }
.bar-track { position: relative; }
.bar-track s { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-2); opacity: .7; z-index: 1; text-decoration: none; }
.bar-row.rope .bar-track i { background: #6b7380; }
.bar-tag { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--signal-ink); background: var(--signal); border-radius: 999px; padding: 3px 7px; margin-left: 4px; vertical-align: 2px; }
.bar-name { white-space: normal; }
.chart-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.chart-key span { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: -8px; }
.chart-key .k-r { background: #6b7380; } .chart-key .k-b { background: var(--rule-strong); } .chart-key .k-me { background: var(--signal); } .chart-key .k-med { width: 2px; height: 14px; background: var(--ink-2); margin-right: -10px; }
/* City hero: the kicker sat on bright photos at low contrast */
.cityhero::after { background: linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,.35) 35%, rgba(11,13,16,.9) 100%); }
.cityhero .kicker { color: #ece8df; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.cityhero .dek { text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.bar-v { white-space: nowrap; }
.bar-tag { white-space: nowrap; display: inline-block; }
.chart .bar-name a { color: var(--ink-2); text-decoration-color: var(--rule-strong); }
.chart .bar-row.me .bar-name a, .chart .bar-row.me .bar-name { color: var(--ink); }
.chart .bar-row { grid-template-columns: minmax(0, 280px) minmax(0, 1fr) auto; }
@media (max-width: 560px) { .chart .bars { gap: 12px; } .chart .bar-row { grid-template-columns: 1fr auto; gap: 4px 10px; } }
