@font-face {
  font-family: "Shafarik";
  src: url("/fontiky/Shafarik-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #050505;
  --surface: #0d0d0d;
  --surface-raised: #151515;
  --paper: #f4f4f0;
  --accent: #FB2C64;
  --muted: #a2a2a2;
  --line: rgba(255, 255, 255, 0.16);
  --page-pad: clamp(24px, 5vw, 88px);
  --content-width: 1500px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
}

.top-panel {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  width: 100%;
  height: 88px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px);
  transition: height 180ms ease, background 180ms ease;
}

.top-panel.shrink {
  height: 70px;
  padding: 0 var(--page-pad);
  background: rgba(5, 5, 5, 0.98);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.wordmark span {
  font-family: "Shafarik", Georgia, serif;
  font-size: 24px;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.wordmark small {
  margin-top: 7px;
  font-size: 7px;
  letter-spacing: 0.42em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 44px);
}

.nav-desktop .menu-item {
  position: relative;
  padding: 12px 0;
  color: rgba(244, 244, 240, 0.76);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-desktop .menu-item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-desktop .menu-item:hover,
.nav-desktop .menu-item.active {
  color: var(--paper);
}

.nav-desktop .menu-item:hover::after,
.nav-desktop .menu-item.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--paper);
  font-size: 15px;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.social-link:hover {
  color: var(--accent);
  opacity: 1;
}

.booking-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.booking-cta:hover {
  background: transparent;
  color: var(--accent);
}

.menu-toggle,
.nav-mobile {
  display: none;
}

main {
  display: block;
}

.hero {
  --hero-x: 0px;
  --hero-y: 0px;
  --hero-shade: 0;
  position: relative;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: stretch;
  justify-content: normal;
  width: 100%;
  min-height: max(700px, 100svh);
  padding: 88px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  text-align: left;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.8'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 4vh 0 4vh var(--page-pad);
  background: var(--ink);
}

.hero-wordmark {
  display: flex;
  width: max-content;
  margin: 0;
  color: var(--paper);
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(104px, 13vw, 230px);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.hero-wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.32em) rotate(2deg);
  animation: hero-letter-in 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-wordmark span:nth-child(2) {
  animation-delay: 90ms;
}

.hero-wordmark span:nth-child(3) {
  animation-delay: 180ms;
}

.hero-wordmark span:nth-child(4) {
  animation-delay: 270ms;
}

.hero-performance {
  margin: clamp(28px, 4vh, 52px) 0 0 0.06em;
  color: var(--paper);
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(16px, 2vw, 32px);
  letter-spacing: 0.34em;
  opacity: 0;
  animation: hero-detail-in 800ms 520ms ease forwards;
}

.hero-booking-cta {
  display: none;
}

.hero-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #090909;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: calc(50% + var(--hero-x)) calc(50% + var(--hero-y));
  filter: grayscale(1) contrast(1.08) brightness(0.76);
  transform: scale(1.035);
  animation: hero-image-drift 16s ease-in-out infinite alternate;
  transition: object-position 650ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.hero-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(108deg, var(--ink) 0%, rgba(5, 5, 5, 0.96) 12%, rgba(5, 5, 5, 0.62) 31%, transparent 61%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.3));
}

.hero-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: var(--hero-shade);
  background: #050505;
  pointer-events: none;
  transition: opacity 80ms linear;
}

@keyframes hero-letter-in {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes hero-detail-in {
  to {
    opacity: 1;
  }
}

@keyframes hero-image-drift {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1.095);
  }
}

.loft-bubble {
  display: none !important;
}

#second-popup {
  display: none !important;
  pointer-events: none !important;
}

#terms-popup.popup-overlay {
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(8px);
}

#terms-popup .popup-content {
  width: min(920px, 100%);
  max-width: none;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--paper);
  box-shadow: none;
  text-align: left;
}

#terms-popup .popup-content h2 {
  margin: 0 0 14px;
  font-family: "Shafarik", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
}

#terms-popup .popup-content p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

#terms-popup .popup-buttons {
  justify-content: flex-start;
  margin-top: 20px;
}

#terms-popup .popup-buttons button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--paper);
  border-radius: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#terms-popup #accept-terms {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

#terms-popup #decline-terms {
  background: transparent;
  color: var(--paper);
}

body.intro-training-open {
  overflow: hidden;
}

.intro-training-popup[hidden] {
  display: none;
}

.intro-training-popup {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  padding: clamp(18px, 4vw, 58px);
  place-items: center;
}

.intro-training-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
}

.intro-training-popup__panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100dvh - 36px);
  padding: clamp(30px, 5vw, 64px);
  overflow-y: auto;
  border: 1px solid rgba(82, 213, 229, 0.48);
  background: var(--surface);
  color: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.intro-training-popup__panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
}

.intro-training-popup__close {
  position: absolute;
  top: 18px;
  right: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.intro-training-popup__close:hover {
  color: var(--accent);
}

.intro-training-popup__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.intro-training-popup__eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-training-popup__panel h2 {
  max-width: 620px;
  margin: 0;
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.86;
  text-transform: uppercase;
}

.intro-training-popup__lead {
  max-width: 560px;
  margin: 28px 0 34px;
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.7;
}

.intro-training-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.intro-training-form label {
  display: grid;
  gap: 8px;
  color: #8f8f8f;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-training-form__wide,
.intro-training-form > button {
  grid-column: 1 / -1;
}

.intro-training-form input,
.intro-training-form textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--paper);
  font-size: 15px;
  resize: vertical;
}

.intro-training-form input:focus,
.intro-training-form textarea:focus {
  border-bottom-color: var(--accent);
}

.intro-training-form > button {
  min-height: 54px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.intro-training-form > button:hover {
  background: transparent;
  color: var(--accent);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: var(--page-pad);
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(244, 244, 240, 0.72);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-scroll span:last-child {
  color: var(--accent);
  font-size: 18px;
  animation: hero-scroll-cue 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-cue {
  0%,
  100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(5px);
  }
}

.section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(96px, 10vw, 170px) var(--page-pad);
  opacity: 1;
  transform: none;
  background: var(--ink);
  font-size: inherit;
  font-weight: 400;
}

.section.visible {
  opacity: 1;
  transform: none;
}

.section-heading {
  display: block;
  width: min(100%, var(--content-width));
  margin: 0 auto clamp(54px, 7vw, 100px);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.onas-text h2,
.contact-box h3,
.footer-title {
  margin: 0;
  color: var(--paper);
  font-family: "Shafarik", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(58px, 7vw, 108px);
  line-height: 0.82;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

#treneri.team-section {
  position: relative;
  min-height: 0;
  padding: clamp(96px, 9vw, 150px) var(--page-pad);
  overflow: hidden;
  border: 0;
  background-image: none;
  background: var(--surface);
}

.card-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.card-container > .card {
  position: relative;
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  cursor: pointer;
}

.card-img-container {
  position: relative;
  height: clamp(360px, 32vw, 500px);
  overflow: hidden;
  background: #111;
}

.card-img-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 5, 0.74));
  pointer-events: none;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 420ms ease, filter 420ms ease;
}

.card-container > .card:hover .card-img-container img {
  transform: scale(1.035);
  filter: grayscale(0.5) contrast(1.05);
}

.card-title {
  display: flex;
  min-height: 92px;
  align-items: center;
  padding: 24px;
  color: var(--paper);
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(24px, 1.75vw, 34px);
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.card-content {
  display: none;
}

.trainer-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  padding: 6vh 20px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}

.trainer-modal .modal-content {
  position: relative;
  width: min(780px, 100%);
  max-height: none;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--paper);
  box-shadow: none;
}

.trainer-modal .modal-content h2 {
  margin: 0 50px 36px 0;
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.trainer-modal .modal-content p {
  color: #c5c5c5;
  font-size: 15px;
  line-height: 1.75;
}

.trainer-modal .modal-content a {
  color: var(--accent);
}

.trainer-modal .close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--paper);
  font-size: 34px;
}

.trainer-gallery {
  margin-top: clamp(44px, 7vw, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.trainer-gallery__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.trainer-gallery__heading h3 {
  margin: 0;
  color: var(--paper);
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.trainer-gallery__heading span {
  color: #777;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.trainer-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 16px);
}

.trainer-gallery__item {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border: 1px solid #292929;
  background: #0b0b0b;
}

.trainer-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.trainer-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.04);
  transition: transform 400ms ease, filter 400ms ease;
}

.trainer-gallery__item:hover img {
  transform: scale(1.035);
  filter: contrast(1.06) saturate(1.08);
}

.trainer-gallery__item > span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.trainer-gallery__item.is-empty {
  background:
    linear-gradient(135deg, transparent 49.7%, #202020 50%, transparent 50.3%),
    #0b0b0b;
}

.trainer-gallery__item.is-empty::before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  color: #393939;
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  transform: translate(-50%, -50%);
}

#onas {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background-image: none;
  background: var(--paper);
  color: var(--ink);
}

#onas::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.12));
  pointer-events: none;
}

.onas-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: 620px;
}

.onas-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 9vw, 150px) var(--page-pad);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  text-align: left;
}

.onas-text::before {
  content: none;
}

.onas-text h2 {
  max-width: 700px;
  color: var(--ink);
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.9;
}

.onas-text p {
  max-width: 610px;
  margin: 42px 0 0;
  color: #464646;
  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1.7;
}

.onas-video {
  position: relative;
  min-height: 620px;
  max-width: none;
  aspect-ratio: auto;
  background: var(--ink);
}

.onas-video video {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border-radius: 0;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  box-shadow: none;
}

.services-section {
  position: relative;
  width: 100%;
  padding: clamp(96px, 9vw, 150px) var(--page-pad);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.services-section::before,
#treneri.team-section::before,
.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88vw, 1500px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  pointer-events: none;
}

.services-heading {
  display: block;
  width: min(100%, var(--content-width));
  margin: 0 auto clamp(58px, 7vw, 96px);
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.services-heading h2 {
  max-width: none;
  margin: 0;
  color: var(--paper);
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(58px, 6.5vw, 104px);
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.services-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--content-width));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(28px, 3vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  text-align: left;
  transition: background 200ms ease;
}

.service-item:hover {
  background: var(--surface-raised);
}

.service-item > span {
  color: #777;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.service-item h3 {
  margin: 72px 0 0;
  color: var(--paper);
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(30px, 2.6vw, 46px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.service-item p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-item a {
  width: max-content;
  margin-top: auto;
  padding-top: 36px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

#kontakt.contact-section {
  min-height: 0;
  padding: clamp(96px, 10vw, 170px) var(--page-pad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 80px 120px -120px rgba(255, 255, 255, 0.18);
  background-image: none;
  background: var(--ink);
  color: var(--paper);
}

.contact-section::before {
  content: "KONTAKT";
  display: block;
  width: min(100%, var(--content-width));
  margin: 0 auto clamp(42px, 6vw, 86px);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  font-family: "Shafarik", Georgia, serif;
  font-size: clamp(58px, 7vw, 108px);
  line-height: 0.9;
  text-align: center;
}

.contact-boxes {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-box {
  margin: 0;
  padding: clamp(34px, 5vw, 74px);
  border: 0;
  border-radius: 0;
  background: var(--surface);
  color: var(--paper);
  box-shadow: none;
  text-align: left;
}

.contact-box h3 {
  margin-bottom: 34px;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 0.95;
}

.contact-box p,
.contact-box a {
  color: #c3c3c3;
  font-size: 14px;
  line-height: 1.7;
}

.contact-box hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.contact-box form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--paper);
  font-size: 14px;
}

.contact-box textarea,
.contact-box button {
  grid-column: 1 / -1;
}

.contact-box input:focus,
.contact-box textarea:focus {
  border-bottom-color: var(--accent);
}

.contact-box input::placeholder,
.contact-box textarea::placeholder {
  color: #8f8f8f;
}

.contact-box button {
  min-height: 54px;
  margin-top: 12px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-section {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 100px 140px -150px rgba(255, 255, 255, 0.2);
}

.gallery-showcase {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.gallery-stage {
  position: relative;
  width: min(100%, 780px, 58.5vh);
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  overflow: hidden;
  background: #0b0b0b;
  cursor: zoom-in;
}

.gallery-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.66));
  pointer-events: none;
}

.gallery-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: opacity 220ms ease, transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.gallery-stage:hover .gallery-main-image {
  transform: scale(1.025);
  filter: grayscale(0.1) contrast(1.03);
}

.gallery-main-image.is-switching {
  opacity: 0;
  transform: scale(1.015);
}

.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.22);
  color: var(--paper);
  font-size: 22px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.gallery-arrow--prev {
  left: 28px;
}

.gallery-arrow--next {
  right: 28px;
}

.gallery-progress {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.gallery-current {
  color: var(--paper);
  font-family: "Shafarik", Georgia, serif;
  font-size: 30px;
  letter-spacing: 0;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(14, minmax(92px, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
}

.gallery-thumb {
  position: relative;
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  background: #0a0a0a;
  cursor: pointer;
  opacity: 0.48;
  transition: opacity 180ms ease, border-color 180ms ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
}

.gallery-thumb.is-active {
  border-color: var(--accent);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  z-index: 4000;
  background: rgba(0, 0, 0, 0.94);
}

.footer-section {
  padding: 72px var(--page-pad) 48px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.footer-wrapper {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.footer-title {
  font-size: 30px;
}

.footer-text,
.footer-credit {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.sponsor-logo {
  filter: grayscale(1) brightness(2);
}

@media (max-width: 1180px) {
  .top-panel {
    grid-template-columns: 1fr auto;
    height: 76px;
  }

  .nav-desktop,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    position: static;
    display: flex;
    flex-direction: column;
    justify-self: end;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--paper);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle.rotate {
    transform: none;
  }

  .menu-toggle.rotate span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.rotate span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.rotate span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-mobile,
  .nav-mobile.show,
  .nav-mobile.active {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px var(--page-pad) 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.98);
  }

  .nav-mobile.show,
  .nav-mobile.active {
    display: flex;
  }

  .nav-mobile .menu-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--paper);
    font-family: "Shafarik", Georgia, serif;
    font-size: 30px;
    text-decoration: none;
    text-transform: uppercase;
  }

  .nav-mobile .booking-cta {
    margin-top: 22px;
  }

  .hero {
    padding-top: 76px;
  }

  .card-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-heading {
    grid-template-columns: 0.6fr 1.4fr;
    gap: 24px;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .services-heading {
    grid-template-columns: 0.55fr 1.45fr;
  }

  .services-heading > p:last-child {
    grid-column: 2;
  }

  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 22px;
  }

  html {
    scroll-padding-top: 70px;
  }

  .top-panel,
  .top-panel.shrink {
    grid-template-columns: 1fr;
    height: 70px;
    padding: 0 var(--page-pad);
  }

  .wordmark {
    position: absolute;
    left: 50%;
    align-items: center;
    transform: translateX(-50%);
  }

  .menu-toggle {
    position: absolute;
    top: 9px;
    right: var(--page-pad);
    gap: 6px;
    width: 52px;
    max-width: 52px;
    height: 52px;
    padding: 12px;
    transform: none;
  }

  .menu-toggle.rotate span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.rotate span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-mobile,
  .nav-mobile.show,
  .nav-mobile.active {
    inset: 70px 0 auto;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(330px, 46svh) minmax(330px, 54svh);
    min-height: 760px;
    padding-top: 70px;
  }

  .hero-copy {
    z-index: 2;
    align-items: center;
    justify-content: center;
    padding: 48px var(--page-pad) 38px;
    text-align: center;
  }

  .hero-wordmark {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(88px, 27vw, 142px);
  }

  .hero-performance {
    margin: 24px auto 0;
    font-size: 16px;
  }

  .hero-booking-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
    padding: 0 22px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero-image::before {
    background: linear-gradient(180deg, var(--ink), rgba(5, 5, 5, 0.55) 25%, transparent 64%);
  }

  .hero-scroll {
    right: var(--page-pad);
    bottom: 24px;
  }

  .section {
    padding: 88px var(--page-pad);
  }

  .section-heading {
    display: block;
    margin-bottom: 46px;
    text-align: center;
  }

  .section-heading h2 {
    margin: 0 auto;
  }

  .section-heading > p:last-child {
    margin: 28px auto 0;
  }

  .services-section {
    padding: 88px var(--page-pad);
  }

  .services-heading {
    display: block;
    margin-bottom: 46px;
    text-align: center;
  }

  .services-heading h2 {
    margin: 0 auto;
  }

  .services-heading > p:last-child {
    margin: 28px auto 0;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    align-items: center;
    min-height: 330px;
    text-align: center;
  }

  .service-item a {
    margin-right: auto;
    margin-left: auto;
  }

  .card-container {
    grid-template-columns: 1fr;
  }

  .card-container > .card {
    min-height: 0;
  }

  .card-img-container {
    height: 420px;
  }

  .card-title {
    justify-content: center;
    text-align: center;
  }

  .trainer-modal {
    padding: 0;
  }

  .trainer-modal .modal-content {
    min-height: 100dvh;
    padding: 72px 22px 36px;
    border-right: 0;
    border-left: 0;
    text-align: center;
  }

  .trainer-modal .modal-content h2 {
    margin-right: 0;
  }

  .trainer-gallery__grid {
    gap: 6px;
  }

  .onas-wrapper {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .onas-text {
    align-items: center;
    padding: 88px var(--page-pad);
    text-align: center;
  }

  .onas-video,
  .onas-video video {
    min-height: 460px;
  }

  .contact-section {
    padding: 88px var(--page-pad);
  }

  .contact-boxes {
    grid-template-columns: 1fr;
  }

  .contact-box {
    text-align: center;
  }

  .contact-box form {
    grid-template-columns: 1fr;
  }

  .contact-box input,
  .contact-box textarea,
  .contact-box button {
    grid-column: 1;
    text-align: center;
  }

  .intro-training-popup {
    padding: 0;
  }

  .intro-training-popup__panel {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    padding: 72px 22px 34px;
    border-right: 0;
    border-left: 0;
    text-align: center;
  }

  .intro-training-popup__eyebrow,
  .intro-training-popup__lead {
    margin-right: auto;
    margin-left: auto;
  }

  .intro-training-form {
    grid-template-columns: 1fr;
  }

  .intro-training-form__wide,
  .intro-training-form > button {
    grid-column: 1;
  }

  .intro-training-form input,
  .intro-training-form textarea {
    text-align: center;
  }

  .gallery-stage {
    width: min(100%, 68svh);
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .gallery-arrow {
    width: 48px;
    height: 48px;
  }

  .gallery-arrow--prev {
    left: 16px;
  }

  .gallery-arrow--next {
    right: 16px;
  }

  .gallery-progress {
    right: 16px;
    bottom: 16px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(14, 82px);
  }

  .gallery-thumb {
    height: 72px;
  }
}

@media (max-width: 440px) {
  .hero-performance {
    letter-spacing: 0.24em;
  }

  .card-img-container {
    height: 360px;
  }

  .gallery-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .gallery-current {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .hero-wordmark span,
  .hero-performance,
  .hero-image img,
  .hero-scroll span:last-child {
    animation: none !important;
  }

  .hero-wordmark span,
  .hero-performance {
    opacity: 1;
    transform: none;
  }
}
