:root {
  color-scheme: dark;
  --bg: #151613;
  --panel: #22231f;
  --soft: #2c2d26;
  --line: #3e4035;
  --text: #f4f1e7;
  --muted: #bdbfb0;
  --orange: #ff9747;
  --green: #d6eb77;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
button, select, input, textarea { font: inherit; }
button, .button { cursor: pointer; }
button[disabled] { cursor: default; color: var(--muted); opacity: .75; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(2.45rem, 6vw, 5.6rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
img { display: block; width: 100%; }
.frame { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.bar { background: #1b1c17; border-bottom: 1px solid var(--line); }
.bar-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { text-decoration: none; font-size: 1.22rem; font-weight: 950; font-style: italic; letter-spacing: -.06em; white-space: nowrap; }
.wordmark span { color: var(--orange); }
.roles, .tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.roles a, .tabs a { text-decoration: none; padding: 9px 13px; border-radius: 8px; color: var(--muted); font-weight: 670; }
.roles a[aria-current], .tabs a[aria-current] { color: var(--text); background: var(--soft); }
.demo-tag, .eyebrow { font-size: .76rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.demo-tag { color: var(--green); white-space: nowrap; }
.eyebrow { color: var(--orange); }
.skip { position: absolute; left: 12px; top: -100px; z-index: 10; padding: 12px; background: var(--bg); }
.skip:focus { top: 10px; }
#main { min-height: 70vh; padding-block: 30px 54px; }
.hero { border-radius: 24px; overflow: hidden; position: relative; isolation: isolate; min-height: 420px; display: grid; align-items: end; background: #252721; }
.hero img { position: absolute; inset: 0 0 0 auto; width: 67%; height: 100%; object-fit: cover; object-position: center 43%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1b1c17 12%, #1b1c17e8 35%, #1b1c1740 82%), linear-gradient(0deg,#1b1c17bb,transparent); z-index: -1; }
.hero-text { padding: clamp(24px, 5vw, 60px); display: grid; justify-items: start; gap: 15px; max-width: 730px; }
.hero-text p, .heading p { color: var(--muted); max-width: 57ch; }
.hero h1 { max-width: 10ch; }
.section { margin-top: 40px; }
.section-title, .section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.heading { display: grid; gap: 10px; padding-block: 10px 22px; }
.heading h1 { font-size: clamp(2.3rem,5vw,4.3rem); }
.grid { display: grid; gap: 14px; }
.cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { padding: clamp(16px, 2.6vw, 25px); background: var(--panel); border: 1px solid var(--line); border-radius: 17px; min-width: 0; }
.stack { display: grid; align-content: start; gap: 12px; }
.card p, .muted, .field-help { color: var(--muted); }
.card .eyebrow { color: var(--orange); }
.label { font-weight: 770; }
.price, .number { font-size: clamp(1.7rem,3vw,2.65rem); font-weight: 860; letter-spacing: -.05em; color: var(--text); }
.featured { border-color: var(--orange); }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; padding: 10px 15px; border: 1px solid transparent; border-radius: 9px; background: var(--orange); color: #191611; font-weight: 800; text-decoration: none; }
.button.secondary { background: var(--soft); border-color: var(--line); color: var(--text); }
.button.small { min-height: 40px; font-size: .89rem; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tabs { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 23px; }
.tabs a { font-size: .94rem; }
.tabs a[aria-current] { box-shadow: inset 0 -2px var(--orange); }
.banner { padding: 13px 16px; border: 1px solid var(--line); background: var(--soft); border-radius: 12px; }
.banner strong { color: var(--green); }
.pill { display: inline-block; width: fit-content; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: .81rem; color: var(--muted); }
.pill.good { color: var(--green); }
.pill.wait { color: var(--orange); }
.schedule { display: grid; gap: 8px; }
.entry { padding: 14px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 105px 1fr auto; gap: 12px; align-items: center; min-width: 0; }
.entry small { color: var(--muted); display: block; }
.entry h3 { overflow-wrap: anywhere; }
.entry .actions { justify-content: end; }
.field { display: grid; gap: 5px; }
.field label { font-weight: 680; }
input, select, textarea { width: 100%; min-height: 44px; padding: 9px 11px; background: #151612; border: 1px solid #55584b; border-radius: 8px; color: var(--text); }
dialog { width: min(510px, calc(100% - 26px)); max-height: 90dvh; padding: 0; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 18px; }
dialog::backdrop { background: #000a; }
.dialog-content { padding: 23px; }
.dialog-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.dialog-top .button { flex: none; }
.toast { position: fixed; z-index: 20; right: 14px; bottom: 14px; max-width: min(400px, calc(100% - 28px)); padding: 12px 16px; color: #172009; background: var(--green); border-radius: 10px; font-weight: 730; box-shadow: 0 5px 30px #0006; }
.footer { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-block: 20px 36px; color: var(--muted); border-top: 1px solid var(--line); font-size: .87rem; }
.coach-img { height: 165px; object-fit: cover; object-position: center 32%; border-radius: 10px; }
.progress { accent-color: var(--orange); width: 100%; }
.event-list { margin: 0; padding-left: 20px; color: var(--muted); }
.event-list li { margin-block: 7px; overflow-wrap: anywhere; }
.credential { border: 1px dashed var(--orange); padding: 18px; border-radius: 10px; font: 850 1.7rem ui-monospace,monospace; letter-spacing: .055em; width: fit-content; }
@media(max-width: 790px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { min-height: 370px; }
}
@media(max-width: 540px) {
  .frame { width: calc(100% - 26px); }
  .bar-inner { flex-wrap: wrap; gap: 6px; padding-block: 10px; }
  .roles { order: 3; width: 100%; }
  .roles a { flex: 1; text-align: center; padding-inline: 6px; white-space: nowrap; font-size: .89rem; }
  #main { padding-top: 16px; }
  .hero { min-height: 375px; }
  .hero img { width: 100%; }
  .hero::before { background: linear-gradient(0deg,#1b1c17 2%,#1b1c17d0 42%,#1b1c1744 95%); }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 1fr auto; }
  .entry > :nth-child(2) { grid-row: 2; }
  .entry > :nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
}

.quick-features { padding: 17px 18px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.quick-features .section-head { align-items: center; margin-bottom: 11px; }
.quick-features h2 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); }
.catalog-link { color: var(--orange); font-weight: 760; }
.catalog-nav { display: flex; gap: 9px 18px; flex-wrap: wrap; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.catalog-nav a { color: var(--green); font-size: .93rem; padding-block: 4px; }
.feature-section { margin-top: 30px; scroll-margin-top: 16px; }
.feature-section h2 { margin-bottom: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.feature-control { display: grid; gap: 7px; align-content: start; min-height: 46px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); color: var(--text); text-decoration: none; text-align: left; overflow-wrap: anywhere; }
.feature-control:hover { border-color: var(--orange); background: var(--soft); }
.feature-name { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-weight: 790; line-height: 1.26; }
.feature-name span { flex: none; color: var(--orange); }
.feature-description { color: var(--muted); font-size: .89rem; }
.feature-status { color: var(--green); font-size: .78rem; }
.quick-grid .feature-control { background: var(--soft); align-content: center; padding: 9px 11px; font-size: .94rem; }
.preview-list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.preview-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 790px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-features { padding: 12px; }
  .quick-features .catalog-link { font-size: .88rem; }
  .roles a { font-size: .79rem; }
}
.demo-qr { width: 145px; height: 145px; border-radius: 10px; image-rendering: pixelated; }

.roles .site-home { color: var(--orange); }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 6px 15px; }
@media(max-width:540px) {
  .roles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .roles a { padding-inline: 4px; }
}

.location-hero h1 { max-width: 13ch; }
.location-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.location-photo img { width: 100%; height: 250px; object-fit: cover; }
.location-photo.poster img { object-fit: contain; }
.location-photo figcaption { padding: 11px 14px; color: var(--muted); }
@media(max-width:540px){.location-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }}

.centre-contact { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 9px; margin: 0 0 14px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--text); }
.photo-editorial img { display: block; height: clamp(245px, 34vw, 395px); object-fit: contain; background: #151613; }
.opening-hours { width: 100%; border-collapse: collapse; }
.opening-hours th, .opening-hours td { padding: 9px 5px; text-align: left; border-bottom: 1px solid var(--line); }
.opening-hours td { white-space: nowrap; }
@media (max-width: 540px) {
  .centre-contact .button { width: 100%; text-align: center; }
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  margin-bottom: 17px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.page-back span { color: var(--orange); }
.page-back:hover { border-color: var(--orange); }
.page-back:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

@media (min-width: 1024px) {
  .frame { width: min(1536px, calc(100% - clamp(64px, 6.8vw, 144px))); }
  .location-hero { min-height: clamp(420px, 33vw, 525px); }
  #main .grid { gap: 20px; }
  #main .card > p { max-width: 65ch; }
}
