/* Flex Prime — website styles. Mobile first.
   Square, poster-like layout taken from the brand: the logo's square frame and sideways "PRIME",
   square buttons and cards, the gym's red as solid blocks, the red banner running under the hero.
   Type: Oswald (headings, labels) + Manrope (text); Cormorant Garamond for Prime Pilates.
   Note: every "{" is followed by a space or a line break (FitX template rule). */

/* ---------- Fonts (self-hosted, Cyrillic + Latin) ---------- */

@font-face { font-family: "Oswald"; src: url("../fonts/oswald-cyrillic.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-cyrillic.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic-cyrillic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */

:root {
	--black: #0b0b0b;
	--panel: #151515;
	--line: rgba(255, 255, 255, .16);
	--white: #ffffff;
	--text: #e9e9e9;
	--muted: #9b9b9b;
	--red: #e4002b;
	--red-dark: #b80022;
	--red-hot: #ff3355;
	--cream: #f1ece5;
	--cream-ink: #1d1b19;
	--cream-muted: #7b6a5c;
	--display: "Oswald", "Arial Narrow", Impact, sans-serif;
	--body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--wrap: 1240px;
	--header: 62px;
}

/* ---------- Language: both are in the markup, one is shown ---------- */

html[data-lang="en"] [lang="mk"] { display: none !important; }
html:not([data-lang="en"]) [lang="en"] { display: none !important; }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: .005em; color: var(--white); }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.red { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Small uppercase labels */
.label { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.kicker { margin: 0 0 14px 0; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-hot); }
.section { position: relative; padding: 72px 0; }
.title { font-size: clamp(44px, 11vw, 92px); margin-bottom: 18px; }
.lead { font-size: 17px; color: #cfcfcf; max-width: 560px; }

/* The logo's box: a word inside a heavy frame */
.boxed { display: inline-block; border: 4px solid currentColor; padding: .05em .14em 0 .14em; }

/* Sideways label in the left margin, like "PRIME" next to the logo's box */
.rail { display: none; }

/* ---------- Buttons — square, like the logo ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 4px 24px 2px 24px; border: 2px solid currentColor; background: none; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .06em; line-height: 1; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-red:hover { background: var(--white); border-color: var(--white); color: var(--red); }
.btn-line { color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--black); }
.btn-ink { background: var(--cream-ink); border-color: var(--cream-ink); color: var(--cream); }
.btn-ink:hover { background: transparent; color: var(--cream-ink); }
.btn-sm { min-height: 40px; padding: 3px 16px 1px 16px; font-size: 16px; }
.btn-block { width: 100%; }
.play { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: var(--black); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.brand img { height: 38px; width: auto; }
.nav { display: none; }
.nav a { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-family: var(--display); font-weight: 500; font-size: 14px; }
.lang-switch button { border: 0; background: none; color: var(--muted); font: inherit; letter-spacing: .1em; padding: 6px 4px; cursor: pointer; }
.lang-switch span { color: var(--line); }
html:not([data-lang="en"]) .lang-switch [data-set-lang="mk"], html[data-lang="en"] .lang-switch [data-set-lang="en"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Hero: the teaser footage inside the logo's frame ---------- */

.hero { position: relative; min-height: calc(100svh - var(--header)); display: flex; flex-direction: column; justify-content: flex-end; background: #000; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .6) 42%, rgba(0, 0, 0, .2) 100%); }
.hero-frame { position: absolute; inset: 12px; border: 2px solid rgba(255, 255, 255, .8); pointer-events: none; }
.hero-side { display: none; }
.hero-content { padding-top: 90px; }
.hero-meta { margin: 0 0 16px 0; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: #dedede; }
.hero-meta .sep { color: var(--red-hot); margin: 0 10px; }
.hero h1 { font-size: clamp(56px, 15vw, 134px); line-height: .9; margin-bottom: 20px; }
.hero h1 .red { display: block; }
.hero-lead { max-width: 520px; font-size: 17px; color: #dedede; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* The three spaces of the floor, along the bottom of the frame */
.directory { position: relative; display: flex; flex-direction: column; margin: 34px 14px 14px 14px; border-top: 2px solid rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .55); }
.directory a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.directory strong { display: block; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.02; text-transform: uppercase; color: var(--white); }
.directory small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.directory .arr { color: var(--muted); font-size: 18px; }
.directory .is-gym { order: -1; background: var(--red); border-bottom-color: var(--red); }
.directory .is-gym small, .directory .is-gym .arr { color: rgba(255, 255, 255, .88); }
.directory a:last-child { border-bottom: 0; }
.directory a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- The red banner ---------- */

.marquee { overflow: hidden; background: var(--red); color: var(--black); border-block: 1px solid var(--red-dark); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 0 11px 0; white-space: nowrap; }
.marquee-track i { font-style: normal; padding: 12px 22px; font-size: 18px; line-height: 1.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Packages ---------- */

.packages { border-bottom: 1px solid var(--line); }
.packages-head { display: grid; gap: 6px; margin-bottom: 34px; }
.packages-head .title { margin-bottom: 8px; }
.package-board { display: grid; gap: 14px; }
.package { display: flex; flex-direction: column; background: var(--panel); border: 2px solid var(--line); }
.package-head { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px 7px 16px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.package-body { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 16px 16px; }
.package h3 { font-size: 34px; line-height: 1; margin-bottom: 8px; }
.package-desc { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.package-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 6px 0 14px 0; }
.package-price .amount { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: .85; color: var(--white); }
.package-price .currency { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.package-spec { margin: 0 0 18px 0; border-top: 1px solid var(--line); }
.package-spec div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.package-spec dt { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.package-spec dd { margin: 0; text-align: right; color: var(--white); }
.package .btn { margin-top: auto; }
.package.is-main { border-color: var(--white); }
.package.is-main .package-head { background: var(--white); color: var(--black); border-bottom-color: var(--white); }
.package.is-main .package-price .amount { color: var(--red); }
/* A promotion: the old price above the new one, struck through in red */
.package-price .old { flex-basis: 100%; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
/* Featured: a solid red card with bigger type, in the middle of its row (js/main.js) */
.package.is-featured { position: relative; z-index: 1; background: var(--red); border-color: var(--red); }
.package.is-featured .package-head { background: var(--black); color: var(--white); border-bottom-color: var(--black); }
.package.is-featured .package-body { padding: 22px 20px 20px 20px; }
.package.is-featured h3 { font-size: 40px; }
.package.is-featured .package-price .amount { font-size: 78px; color: var(--white); }
.package.is-featured .package-price .old { color: rgba(255, 255, 255, .75); text-decoration-color: var(--black); }
.package.is-featured .package-desc, .package.is-featured .package-price .currency, .package.is-featured .package-spec dt { color: rgba(255, 255, 255, .8); }
.package.is-featured .package-spec, .package.is-featured .package-spec div { border-color: rgba(0, 0, 0, .3); }
.package.is-featured .btn-red { background: var(--white); border-color: var(--white); color: var(--red); }
.package.is-featured .btn-red:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.empty { padding: 34px 20px; border: 2px dashed var(--line); text-align: center; color: var(--muted); }

/* Grouped by category (js/main.js): one tab per category — the gym's own in the centre */
.board-tabs { display: flex; margin: 0 0 16px 0; border: 2px solid var(--white); }
.board-tabs button { flex: 1; min-height: 46px; border: 0; border-left: 2px solid var(--white); background: none; color: var(--white); font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; line-height: 1; padding: 4px 6px 2px 6px; cursor: pointer; }
.board-tabs button:first-child { border-left: 0; }
.board-tabs button[aria-selected="true"] { background: var(--white); color: var(--black); }
.board-tabs button.is-main[aria-selected="true"] { background: var(--red); color: var(--white); }
.board-columns { display: grid; gap: 14px; }
.board-col { display: none; gap: 14px; align-content: start; }
.board-col.is-active { display: grid; }
.package-board.is-grouped { display: block; }

.notes { display: grid; gap: 8px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.notes p { margin: 0; padding-left: 22px; position: relative; }
.notes p::before { content: ""; position: absolute; left: 0; top: .65em; width: 12px; height: 2px; background: var(--red); }
.notes strong { color: var(--white); font-weight: 700; }

/* ---------- Photo + text ---------- */

.split { position: relative; display: grid; }
.photo { position: relative; margin: 0; background: #111; overflow: hidden; }
.photo img, .photo video { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.copy { padding: 44px 18px 64px 18px; }

/* Spec sheet rows */
.spec { margin: 26px 0 30px 0; border-top: 2px solid var(--white); }
.spec div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.spec dd { margin: 0; color: var(--white); font-size: 16px; }

/* ---------- Gym ---------- */

.gym .big { font-family: var(--display); font-weight: 700; font-size: clamp(110px, 32vw, 200px); line-height: .8; color: var(--red); margin-bottom: 18px; letter-spacing: -.01em; }
.gym .big sup { font-size: .3em; vertical-align: top; position: relative; top: .3em; margin-left: .05em; color: var(--white); }
.gym h2 { font-size: clamp(40px, 10vw, 64px); margin-bottom: 16px; }
.gym .copy > p { color: #cfcfcf; font-size: 17px; max-width: 520px; }

/* ---------- Prime Pilates — the studio's own world: cream + serif ---------- */

.pilates { background: var(--cream); color: var(--cream-ink); }
.pilates .kicker { color: var(--cream-muted); }
.pilates-logo { width: 190px; margin-bottom: 26px; }
.pilates h2 { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; color: var(--cream-ink); font-size: clamp(54px, 14vw, 96px); line-height: .92; letter-spacing: 0; margin-bottom: 18px; }
.pilates .copy > p { font-size: 17px; color: #3f3a35; max-width: 520px; }
.pilates .photo { background: #e6dfd6; }

/* The studio's price list, set like a menu */
.menu { margin: 26px 0 28px 0; }
.menu h3 { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .18em; color: var(--cream-muted); line-height: 1.3; margin: 22px 0 2px 0; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; }
.menu .item { font-family: var(--serif); font-size: 21px; line-height: 1.2; font-variant-numeric: lining-nums; }
.menu .item small { display: block; font-family: var(--body); font-size: 13px; color: var(--cream-muted); margin-top: 2px; }
.menu .dots { flex: 1; min-width: 18px; border-bottom: 1px dotted rgba(29, 27, 25, .45); transform: translateY(-6px); }
.menu .price { font-family: var(--body); font-weight: 700; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu .all { margin-top: 20px; padding: 12px 0 10px 0; border-top: 2px solid var(--cream-ink); border-bottom: 2px solid var(--cream-ink); }
.menu .all .item { font-size: 27px; font-style: italic; }
.menu-note { font-size: 13px; color: var(--cream-muted); margin: 10px 0 0 0; }
.menu-note a { color: inherit; }

/* ---------- Combat sports centre (CBS) ---------- */

.fight { background: #070707; border-top: 6px solid var(--red); }
.fight-head { display: flex; gap: 18px; align-items: flex-end; margin-bottom: 22px; }
.fight-logo { width: 96px; flex: none; }
.fight h2 { font-size: clamp(40px, 10vw, 66px); }
.fight .copy > p { color: #cfcfcf; font-size: 17px; max-width: 540px; }

.timetable { margin: 26px 0 0 0; border: 2px solid var(--white); }
.timetable + .timetable { margin-top: 0; border-top: 0; }
.timetable .days { display: flex; justify-content: space-between; padding: 8px 14px 6px 14px; background: var(--white); color: var(--black); font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.slot { display: grid; grid-template-columns: 66px 1fr; gap: 12px; align-items: baseline; padding: 14px; border-top: 1px solid var(--line); }
.days + .slot { border-top: 0; }
.slot time { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--red-hot); }
.slot strong { display: block; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: .95; text-transform: uppercase; color: var(--white); }
.slot > div > span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

.fight-prices { margin: 28px 0 30px 0; padding: 0; border-top: 2px solid var(--white); }
.fight-prices li { list-style: none; display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fight-prices b { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--white); white-space: nowrap; }
.fight-prices b small { font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--muted); margin-left: 4px; text-transform: uppercase; }
.fight-prices li > span { color: #cfcfcf; font-size: 15px; line-height: 1.45; }

/* ---------- Teaser ---------- */

.teaser .title { margin-bottom: 26px; }
.teaser-frame { position: relative; border: 2px solid var(--white); background: #000; }
.teaser-frame video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.teaser-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; padding: 0; border: 0; background: rgba(0, 0, 0, .3); color: var(--white); cursor: pointer; }
.teaser-play .box { display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px 12px 24px; border: 3px solid var(--white); background: rgba(11, 11, 11, .55); font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.teaser-play .play { border-top-width: 10px; border-bottom-width: 10px; border-left-width: 16px; }
.teaser-play:hover .box { background: var(--red); border-color: var(--red); }
.teaser-frame.is-playing .teaser-play { display: none; }

/* ---------- Questions ---------- */

.faq { margin: 0; border-top: 2px solid var(--white); }
.faq div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.faq dd { margin: 0; color: #c9c9c9; max-width: 640px; }

/* ---------- Location ---------- */

.location { border-top: 1px solid var(--line); }
.sign { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .82; color: var(--white); font-size: clamp(96px, 28vw, 240px); margin: 0 0 14px 0; letter-spacing: -.01em; }
.sign-sub { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 7vw, 44px); line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 26px; }
.contact-lines { list-style: none; margin: 0 0 24px 0; padding: 0; border-top: 2px solid var(--white); }
.contact-lines li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contact-lines .k { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.contact-lines a { text-decoration: none; color: var(--white); }
.contact-lines a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.location-grid { display: grid; gap: 30px; }

/* ---------- Map ---------- */

.map { position: relative; z-index: 0; height: 340px; background: #0b0b0b; border-top: 1px solid var(--line); }
.map.leaflet-container { background: #0b0b0b; font-family: var(--body); }
/* OpenStreetMap's own tiles turned dark — the red comes from the pin and the controls */
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.95) contrast(1.15); }
.map .leaflet-bar { border: 2px solid var(--white); border-radius: 0; box-shadow: none; }
.map .leaflet-bar a { width: 38px; height: 38px; line-height: 36px; border-radius: 0 !important; border-bottom: 1px solid var(--line); background: var(--black); color: var(--white); font-family: var(--display); font-size: 22px; }
.map .leaflet-bar a:hover, .map .leaflet-bar a:focus-visible { background: var(--red); color: var(--white); }
.map .leaflet-bar a.leaflet-disabled { background: var(--black); color: #555; }
.map .leaflet-control-attribution { background: rgba(0, 0, 0, .75); color: var(--muted); font-size: 11px; }
.map .leaflet-control-attribution a { color: #cfcfcf; }
.map-pin { width: 0; height: 0; }
.map-pin-dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; background: var(--red); border: 3px solid var(--white); }
.map-pin-dot::after { content: ""; position: absolute; inset: -12px; border: 2px solid var(--red); animation: pin-pulse 2.2s ease-out infinite; }
.map-pin-tag { position: absolute; left: 0; bottom: 22px; transform: translateX(-50%); padding: 9px 14px 7px 14px; background: var(--red); color: var(--white); font-family: var(--display); text-transform: uppercase; text-align: center; line-height: 1; white-space: nowrap; cursor: pointer; }
.map-pin-tag::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--red); }
.map-pin-tag strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: .02em; }
.map-pin-tag span { display: block; margin-top: 5px; font-size: 13px; font-weight: 500; letter-spacing: .14em; }
@keyframes pin-pulse { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.6); } }

/* ---------- Footer ---------- */

.site-footer { background: #050505; border-top: 6px solid var(--red); padding: 44px 0 110px 0; font-size: 14px; color: var(--muted); }
.footer-logos { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-logos img { height: 46px; width: auto; }
.footer-logos .pp { height: 40px; }
.footer-logos .cbs { height: 74px; }
.footer-grid { display: grid; gap: 26px; padding: 30px 0; }
.site-footer h4 { margin: 0 0 10px 0; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer p { margin: 0 0 3px 0; }
.site-footer .company strong { color: var(--white); font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.cards { display: flex; align-items: center; gap: 8px; }
.cards img { height: 28px; width: auto; }

/* ---------- Phone: sticky "Memberships" bar ---------- */

.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; transition: transform .25s ease, opacity .25s ease; }
.mobile-cta.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }

/* ---------- Document pages (terms, 404) ---------- */

.doc { padding: 54px 0 90px 0; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(54px, 13vw, 96px); margin-bottom: 10px; }
.doc .updated { font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: 34px; }
.doc h2 { font-size: 30px; margin: 38px 0 12px 0; padding-top: 14px; border-top: 2px solid var(--white); }
.doc p, .doc li { color: #d0d0d0; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc .card { padding: 16px 18px; border: 2px solid var(--line); }
.doc .card p { margin: 0 0 3px 0; }
.not-found { min-height: calc(100svh - var(--header)); display: grid; place-items: center; text-align: center; padding: 40px 0; }
.not-found .code { font-family: var(--display); font-weight: 700; font-size: clamp(150px, 42vw, 300px); line-height: .8; color: var(--red); }
.not-found h1 { font-size: clamp(34px, 8vw, 56px); margin: 18px 0 26px 0; }
.not-found .hero-cta { justify-content: center; }

/* ---------- Tablet / desktop ---------- */

@media (min-width: 700px) {
	.wrap { padding: 0 28px; }
	.section { padding: 96px 0; }
	.package-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* The open category: as many cards per row as fit, centred when there are only a few */
	.board-col.is-active { grid-template-columns: repeat(auto-fit, minmax(250px, 284px)); justify-content: center; }
	/* The featured card stands out of its row on every side */
	.package.is-featured { margin: -18px -14px; }
	.board-col:has(> .is-featured), .package-board.is-single:has(> .is-featured) { padding-block: 18px; gap: 50px 32px; }
	.copy { padding: 56px 28px 80px 28px; }
	.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
	.footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (min-width: 1000px) {
	:root { --header: 72px; }
	.nav { display: flex; gap: 26px; }
	.brand img { height: 44px; }

	.hero-frame { inset: 22px 76px 22px 22px; border-width: 3px; }
	.hero-side { display: block; position: absolute; right: 22px; bottom: 22px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
	.hero-content { padding-top: 140px; padding-left: 66px; padding-right: 120px; max-width: none; }
	.directory { flex-direction: row; margin: 48px 79px 25px 25px; border-top-width: 3px; }
	.directory a { flex: 1; padding: 22px 26px 20px 26px; border-bottom: 0; border-left: 1px solid var(--line); }
	.directory a:first-child { border-left: 0; }
	.directory .is-gym { order: 0; flex: 1.25; }
	.directory strong { font-size: 30px; }

	.package-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.package-board.is-single { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; }
	.board-tabs { margin-bottom: 22px; border-width: 3px; }
	.board-tabs button { min-height: 62px; font-size: 22px; border-left-width: 3px; }
	.packages-head { grid-template-columns: 1fr auto; align-items: end; }

	/* Photos stay in view while the text column scrolls */
	.split { grid-template-columns: 1fr 1fr; min-height: 760px; }
	.split > .photo { position: sticky; top: var(--header); align-self: start; height: calc(100svh - var(--header)); min-height: 560px; }
	.split > .photo img, .split > .photo video { aspect-ratio: auto; position: absolute; inset: 0; }
	.split.flip > .photo { order: 2; }
	.copy { padding: 96px 64px; align-self: center; }
	.gym .big { font-size: 168px; }

	.rail { display: block; position: absolute; left: 16px; top: 96px; z-index: 2; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
	.pilates .rail { color: var(--cream-muted); text-shadow: none; }

	.location-grid { grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
	.map { height: 460px; }
	.mobile-cta { display: none; }
	.site-footer { padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.marquee-track { animation: none; }
	.map-pin-dot::after { animation: none; display: none; }
	*, *::before, *::after { transition: none !important; }
}
