:root {
  --bg: #131313;
  --surface: #1c1b1b;
  --surface-high: #2a2a2a;
  --text: #f1eeee;
  --muted: #b9b2bd;
  --purple: #d8b9ff;
  --purple-deep: #7a00e6;
  --yellow: #ffdb3c;
  --line: rgba(216, 185, 255, 0.2);
  --page: min(1280px, calc(100vw - 96px));
  --display: "Anybody", sans-serif;
  --body: "Hanken Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--yellow);
  color: #1d1900;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 12px 48px;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(19, 19, 19, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand img, .footer-brand img { border: 1px solid rgba(216, 185, 255, 0.5); border-radius: 10px; }
.brand span { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -0.04em; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 650; }
.main-nav a, .footer-links a { color: var(--muted); transition: color 180ms ease; }
.main-nav a:hover, .main-nav a:focus-visible, .footer-links a:hover { color: var(--text); }
.header-action {
  justify-self: end;
  padding: 10px 16px;
  background: var(--yellow);
  color: #211d00;
  font-size: 14px;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 880px;
  height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../images/hero-training.jpg") center 42% / cover no-repeat;
  transform: scale(1.03);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(14, 14, 14, 0.52) 0%, rgba(14, 14, 14, 0.18) 44%, rgba(14, 14, 14, 0.92) 100%),
    linear-gradient(90deg, rgba(19, 19, 19, 0.48), transparent 42%, rgba(19, 19, 19, 0.35));
}
.hero-content { width: min(1180px, calc(100% - 64px)); padding-top: 76px; text-align: center; }
.eyebrow {
  margin: 0 0 24px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero h1, h2, h3 { font-family: var(--display); }
.hero h1 {
  max-width: 1180px;
  margin: 0 auto;
  font-size: clamp(58px, 8.2vw, 126px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--purple); }
.hero-copy { max-width: 680px; margin: 34px auto 0; color: #ddd7df; font-size: clamp(17px, 1.5vw, 21px); }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: #211d00; }
.button-secondary { border-color: rgba(255,255,255,.45); background: rgba(19,19,19,.2); color: #fff; backdrop-filter: blur(8px); }
.button-secondary:hover { background: #fff; color: #171717; }
.hero-note {
  position: absolute;
  bottom: 32px;
  left: 50%;
  width: calc(100% - 96px);
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.section-shell { width: var(--page); margin-inline: auto; }
.programs { padding-block: 160px; }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -42px; }
.section-heading h2, .schedule-heading h2, .space-intro h2, .location h2 {
  margin: 0;
  font-size: clamp(44px, 5.3vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
}
.section-heading > p:last-child, .schedule-heading > p:last-child, .space-intro > p:last-child, .location-copy > p { color: var(--muted); }

.program-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 1px;
  background: var(--line);
}
.program-card, .info-card { position: relative; overflow: hidden; min-width: 0; background: var(--surface); }
.program-card-wide { grid-column: span 7; grid-row: span 2; }
.card-boxing { grid-column: span 5; grid-row: span 2; }
.info-card, .card-functional { grid-column: span 4; }
.program-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.program-card:hover img { transform: scale(1.045); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,.9)); }
.program-card-copy { position: absolute; inset: auto 0 0; padding: 32px; }
.program-card-copy p, .info-label { margin: 0 0 10px; color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.program-card-copy h3, .info-card h3 { margin: 0; font-size: clamp(25px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.03em; }
.program-card-copy span { display: block; margin-top: 12px; color: rgba(255,255,255,.7); font-size: 14px; }
.info-card { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.info-card p:not(.info-label) { margin: 16px 0 0; color: rgba(22,19,0,.72); }
.info-card a { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(28,23,0,.18); font-size: 14px; font-weight: 750; }
.info-card-light { background: var(--yellow); color: #211d00; }
.info-card-purple { background: var(--purple); color: #26004b; }
.info-card-purple .info-label { color: #6200bc; }
.info-card-purple p:not(.info-label) { color: rgba(41,0,85,.72); }

.schedule { display: grid; grid-template-columns: 5fr 7fr;  padding-block: 160px 200px; }
.schedule-heading { position: sticky; align-self: start; top: 130px; }
.schedule-heading > p:last-child { max-width: 420px; margin-top: 28px; }
.schedule-board { border-top: 1px solid var(--line); }
.schedule-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 32px;
  align-items: center;
  min-height: 210px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.schedule-days { margin: 0; color: var(--text); font-size: 18px; font-weight: 750; }
.schedule-detail { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.schedule-time {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}
.schedule-time i { color: var(--muted); font-family: var(--body); font-size: 18px; font-style: normal; font-weight: 400; }
.schedule-time span { white-space: nowrap; }
.schedule-time small {
  font-family: var(--body);
  font-size: .28em;
  font-weight: 800;
  letter-spacing: .08em;
  vertical-align: middle;
}
.schedule-time-purple { color: var(--purple); }
.schedule-time-yellow { color: var(--yellow); }
.schedule-footnote { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; }
.schedule-footnote p { margin: 0; color: var(--muted); font-size: 13px; }
.schedule-footnote .text-link { margin-top: 0; white-space: nowrap; }

.space-section {
  padding-block: 160px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}
.space-intro { display: grid; grid-template-columns: 1fr .55fr; gap: 80px; align-items: end; }
.space-intro .eyebrow { grid-column: 1/-1; margin-bottom: -38px; color: var(--purple); }
.space-intro > p:last-child { color: var(--muted); }
.inline-image {
  display: inline-block;
  width: 1.45em;
  height: .58em;
  margin-inline: .08em;
  border-radius: 999px;
  background: url("../images/90bae31987bfeec1.jpg") center 42% / cover;
  vertical-align: .08em;
}
.space-accordion { display: flex; height: 560px; margin-top: 72px; overflow: hidden; background: #181717; }
.space-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; cursor: pointer; transition: flex 600ms cubic-bezier(.2,.7,.2,1); }
.space-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.05), rgba(10,10,10,.84)); }
.space-panel.is-active, .space-panel:hover, .space-panel:focus-visible { flex: 2.2; outline: none; }
.space-panel img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 500ms ease, transform 700ms ease; }
.space-panel.is-active img, .space-panel:hover img, .space-panel:focus-visible img { filter: grayscale(0); transform: scale(1.035); }
.space-panel-copy { position: absolute; z-index: 2; inset: auto 28px 28px; color: #fff; }
.space-panel-copy span { color: var(--yellow); font-size: 11px; font-weight: 800; }
.space-panel-copy h3 { margin: 8px 0 0; font-size: 34px; }
.space-panel-copy p { max-width: 280px; margin: 4px 0 0; color: rgba(255,255,255,.68); opacity: 0; transform: translateY(8px); transition: opacity 300ms ease, transform 300ms ease; }
.space-panel.is-active p, .space-panel:hover p, .space-panel:focus-visible p { opacity: 1; transform: none; }

.location {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 520px;
  margin-bottom: 160px;
  border-top: 3px solid var(--purple);
  background:
    radial-gradient(circle at 88% 16%, rgba(122, 0, 230, .22), transparent 42%),
    linear-gradient(135deg, #211828 0%, var(--surface) 62%);
}
.location-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #d9d7d4;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(.62) saturate(.88) contrast(.96);
}
.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 66px;
  height: 66px;
  padding: 5px;
  border: 3px solid var(--purple);
  border-radius: 50% 50% 50% 8px;
  background: #2a004f;
  box-shadow: 0 10px 28px rgba(42, 0, 79, .42);
  pointer-events: none;
  transform: translate(-50%, -72%) rotate(-45deg);
}
.map-marker img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: rotate(45deg);
}
.location-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}
.location-copy::before {
  content: "";
  position: absolute;
  top: 64px;
  left: 36px;
  width: 3px;
  height: 72px;
  background: linear-gradient(var(--purple), var(--yellow));
}
.location-copy .eyebrow { margin-bottom: 20px; }
.location-copy > p { margin: 28px 0 0; }
.location-copy .location-note { font-size: 15px; }
.text-link { width: fit-content; margin-top: 28px; border-bottom: 1px solid var(--yellow); font-weight: 750; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 48px;
  padding: 64px 48px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-family: var(--display); font-size: 22px; }
.footer-brand span, .site-footer > p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 28px; font-size: 14px; }
.site-footer > p { justify-self: end; margin: 0; }

@media (max-width: 900px) {
  :root { --page: min(100% - 40px, 760px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .main-nav { display: none; }
  .hero { min-height: 780px; }
  .hero-content { width: calc(100% - 40px); }
  .hero-note { width: calc(100% - 40px); }
  .section-heading, .space-intro, .location { grid-template-columns: 1fr; gap: 34px; }
  .section-heading .eyebrow, .space-intro .eyebrow { margin-bottom: -14px; }
  .programs, .schedule { padding-block: 110px; }
  .program-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .program-card-wide, .card-boxing { grid-column: span 6; }
  .info-card, .card-functional { grid-column: span 3; }
  .schedule { grid-template-columns: 1fr;  }
  .schedule-heading { position: static; }
  .space-section { padding-block: 110px; }
  .space-accordion { height: 480px; }
  .location { width: 100%; margin-bottom: 0; }
  .location-map, .location-map iframe { min-height: 400px; }
  .location-copy { padding: 56px 40px 80px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-inline: 24px; }
  .footer-links { justify-self: end; }
  .site-footer > p { justify-self: start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-action { padding: 9px 12px; font-size: 12px; }
  .brand span { font-size: 19px; }
  .brand img { width: 36px; height: 36px; }
  .hero { min-height: 720px; height: 100svh; align-items: end; padding-bottom: 110px; }
  .hero-media { background-position: 56% center; }
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(49px, 15.5vw, 72px); line-height: .9; }
  .hero-copy { margin-top: 24px; font-size: 16px; }
  .hero-actions { justify-content: flex-start; }
  .button { min-height: 48px; padding-inline: 16px; }
  .hero-note { bottom: 22px; text-align: left; line-height: 1.5; }
  .section-heading h2, .schedule-heading h2, .space-intro h2, .location h2 { font-size: 43px; }
  .programs { padding-block: 92px; }
  .section-heading { margin-bottom: 42px; }
  .program-grid { display: block; background: transparent; }
  .program-card, .info-card { min-height: 320px; margin-bottom: 1px; }
  .info-card { min-height: 250px; }
  .schedule {  padding-block: 64px 72px; }
  .schedule-heading > p:last-child { margin-top: 18px; }
  .schedule-row { grid-template-columns: 1fr; gap: 12px; min-height: 0; padding-block: 24px; }
  .schedule-detail { margin-top: 4px; }
  .schedule-time { gap: 9px; font-size: 35px; }
  .schedule-time i { font-size: 14px; }
  .schedule-footnote { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 20px; }
  .space-section { padding-block: 92px; }
  .space-intro { display: block; }
  .space-intro .eyebrow { margin-bottom: 20px; }
  .space-intro > p:last-child { margin-top: 24px; }
  .space-accordion { flex-direction: column; height: 680px; margin-top: 48px; }
  .space-panel { min-height: 120px; }
  .space-panel.is-active, .space-panel:hover, .space-panel:focus-visible { flex: 2.5; }
  .location-map, .location-map iframe { min-height: 330px; }
  .location-copy { padding: 48px 20px 70px; }
  .location-copy::before { top: 48px; left: 0; height: 58px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; gap: 34px; padding: 52px 20px; }
  .footer-links { justify-self: start; flex-wrap: wrap; gap: 16px 24px; }
  .site-footer > p { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
