@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=Staatliches&display=swap");

:root {
  --black: #050505;
  --white: #ffffff;
  --gray-950: #111111;
  --gray-900: #1a1a1a;
  --gray-700: #3d3d3d;
  --gray-500: #777777;
  --gray-300: #cfcfcf;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --line: #d9d9d9;
  --success: #1e7a3d;
  --error: #b00020;
  --max: 1200px;
  --image-radius: 8px;
  --font-main: "Staatliches", "PT Sans", Arial, system-ui, sans-serif;
  --font-sub: "PT Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sub);
}

body.is-gallery-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item--image {
  transform: translateY(28px) scale(0.985);
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item--image.is-revealed {
  transform: translateY(0) scale(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.brand {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--font-main);
  font-weight: 400;
}

.brand__mark {
  width: 34px;
  height: 28px;
  object-fit: contain;
}

.site-nav {
  position: relative;
  z-index: 1;
  grid-column: 1 / 4;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
}

.site-nav a {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}

.site-nav a:hover {
  color: var(--black);
}

.site-nav a[aria-current="page"] {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-nav .nav-cta {
  margin-left: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--black);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--black);
}

.site-nav .nav-cta:hover {
  background: var(--black);
  color: var(--white);
}

.site-nav .nav-cta[aria-current="page"] {
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--black);
  background: var(--white);
  padding: 10px;
}

.menu-toggle__bar {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0;
  transition: opacity 1200ms ease;
}

.hero__image.is-active {
  opacity: 0.72;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(5, 5, 5, 0.46), rgba(5, 5, 5, 0.84)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.3));
}

.hero__content {
  position: relative;
  display: flex;
  width: min(100%, 980px);
  min-height: calc(100vh - 72px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 104px 20px 72px;
  text-align: center;
}

.hero__mark {
  width: clamp(72px, 9vw, 118px);
  height: auto;
  margin-bottom: 24px;
  filter: invert(1);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gray-500);
  font-size: 12px;
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section--dark .eyebrow {
  color: var(--gray-300);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-main);
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 1.02;
  letter-spacing: 0.025em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0.025em;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

p {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
}

.hero__copy {
  max-width: 580px;
  color: var(--gray-200);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.85;
  text-transform: uppercase;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--white);
  font-size: 16px;
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.hero__location svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 16px 24px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.button--light {
  background: var(--white);
  color: var(--black);
}

.button--light:hover {
  opacity: 0.72;
}

.button--ghost {
  background: var(--white);
  color: var(--black);
}

.button--ghost:hover {
  opacity: 0.72;
}

.button--dark:hover {
  opacity: 0.72;
}

.button--dark {
  background: var(--black);
  color: var(--white);
}

.section {
  padding: 84px 20px;
}

.page-hero {
  padding: 128px 20px 88px;
  background: var(--white);
  color: var(--black);
  text-align: center;
}

.page-hero--dark {
  background: var(--white);
  color: var(--black);
}

.page-hero .section__inner {
  display: grid;
  justify-items: center;
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.page-hero p {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.85;
  text-align: center;
  text-transform: uppercase;
}

.page-hero--dark p {
  color: var(--gray-700);
}

.section--light {
  background: var(--gray-100);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section--dark p,
.section--dark span {
  color: var(--gray-300);
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.statement__grid,
.split,
.trial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.trial-grid--form-right {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.trial-copy {
  max-width: 520px;
}

.lead {
  font-size: clamp(18px, 2vw, 25px);
  font-family: var(--font-sub);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--image-radius);
  object-fit: cover;
  filter: grayscale(1);
}

.split--media-large {
  width: min(1440px, calc(100vw - 40px));
  max-width: 1440px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 36px;
}

.split--media-large .split__media img {
  aspect-ratio: 16 / 9;
  transition:
    filter 300ms ease,
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.split--media-large .split__media {
  overflow: hidden;
  border-radius: var(--image-radius);
}

.split--media-large .split__media:hover img {
  filter: grayscale(0);
  transform: scale(1.035);
}

.split__content {
  max-width: 640px;
}

.eyebrow--location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow--location svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

.section-actions {
  margin-top: 34px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band p {
  max-width: 640px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.program-card {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--image-radius);
  background: var(--white);
}

.program-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1);
}

.program-card__body {
  padding: 26px;
}

.program-card__body span {
  display: block;
  margin-bottom: 28px;
  color: var(--gray-300);
  font-size: 52px;
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 0.8;
}

.program-card p {
  margin-bottom: 0;
}

.classes-page {
  padding-top: 0;
}

.class-schedule {
  scroll-margin-top: 72px;
}

.class-stack {
  border-top: 1px solid var(--gray-200);
}

.class-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-200);
}

.class-section:nth-child(even) .class-section__media {
  order: 2;
}

.class-section__media {
  overflow: hidden;
  border-radius: var(--image-radius);
}

.class-section__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--image-radius);
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 450ms ease, filter 450ms ease;
}

.class-section__media:hover img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.class-section__image--portrait {
  object-position: center 28%;
}

.class-section__image--contain {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 60%;
  background: var(--black);
}

.class-section__image--kids {
  object-position: center 36%;
}

.class-section__media img.class-section__image--no-gi {
  object-position: center 75%;
}

.class-section__media img.class-section__image--all-levels {
  object-position: center 78%;
}

.class-section__content {
  max-width: 700px;
}

.class-section__content h2 {
  margin-bottom: 20px;
}

.class-section__content > p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 16px;
}

.reviews-section {
  overflow: hidden;
}

.reviews-section .section-heading {
  margin-bottom: 28px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.review-card {
  display: flex;
  width: 100%;
  min-height: 310px;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  border-radius: var(--image-radius);
  background: var(--white);
  padding: 28px;
}

.review-grid.is-animated .review-card {
  display: none;
}

.review-grid.is-animated .review-card.is-visible {
  display: flex;
  animation: reviewFadeIn 900ms ease both;
}

.review-card__stars {
  margin-bottom: 18px;
  color: var(--black);
  font-size: 18px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.review-card h3 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1;
}

.review-card p {
  --review-lines: 7;
  margin-bottom: 0;
  color: var(--gray-700);
  font-size: var(--review-font-size, 15px);
  line-height: var(--review-line-height, 1.75);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--review-lines);
}

.review-card--long p {
  --review-font-size: 13.5px;
  --review-line-height: 1.58;
  --review-lines: 10;
}

.review-card--dense p {
  --review-font-size: 12.5px;
  --review-line-height: 1.48;
  --review-lines: 12;
}

@keyframes reviewFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.schedule {
  display: grid;
  gap: 18px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.schedule-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.schedule-tab {
  min-width: 94px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 12px 20px 10px;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.schedule-tab:hover {
  opacity: 0.74;
}

.schedule-tab:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.schedule-tab.is-active {
  background: var(--white);
  color: var(--black);
}

.schedule-board {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--gray-700);
  border-radius: var(--image-radius);
  background: #0f0f0f;
}

.schedule-board--combined {
  max-width: 1180px;
}

.schedule-board__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 20px 22px;
  border-bottom: 1px solid var(--gray-700);
  text-align: center;
}

.schedule-board__header h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 0.95;
}

.schedule-table-wrap {
  overflow-x: auto;
  scrollbar-color: var(--gray-500) transparent;
}

.schedule-scroll-hint {
  display: none;
}

.daily-schedule {
  display: none;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.schedule-table--combined {
  min-width: 1120px;
}

.schedule-table th,
.schedule-table td {
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  vertical-align: middle;
}

.schedule-table th:last-child,
.schedule-table td:last-child {
  border-right: 0;
}

.schedule-table tbody tr:last-child th,
.schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.schedule-table thead th {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-table tbody th {
  width: 128px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.schedule-table td {
  color: var(--gray-200);
  font-family: var(--font-sub);
  font-size: 12px;
  line-height: 1.45;
}

.schedule-table td span {
  color: var(--gray-300);
  font-size: 11px;
}

.schedule-table__empty {
  color: transparent;
}

.schedule-table__empty::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.schedule-session {
  display: grid;
  gap: 4px;
  min-height: 62px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 10px 8px;
}

.schedule-session--kids {
  background: rgba(255, 255, 255, 0.1);
}

.schedule-session[hidden] {
  display: none;
}

.class-schedule .section-actions {
  text-align: center;
}

.coach-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

.coach-profile {
  display: grid;
  grid-template-columns: minmax(260px, 32%) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--image-radius);
  background: var(--black);
}

.coach-profile--accordion {
  display: contents;
}

.coach-profile--accordion .coach-panel {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  padding-top: 0;
  padding-bottom: 0;
  border-radius: var(--image-radius);
  transition:
    max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 420ms;
}

.coach-profile--accordion.is-open .coach-panel {
  max-height: 520px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  padding-top: 28px;
  padding-bottom: 28px;
  transition:
    max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease 100ms,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.coach-profile--accordion:nth-child(1) .coach-portrait { grid-column: 1; }
.coach-profile--accordion:nth-child(2) .coach-portrait { grid-column: 2; }
.coach-profile--accordion:nth-child(3) .coach-portrait { grid-column: 3; }
.coach-profile--accordion:nth-child(4) .coach-portrait { grid-column: 4; }

.coach-profile--accordion .coach-portrait {
  grid-row: 1;
  background: transparent;
  border-radius: var(--image-radius);
}

.coach-profile--accordion .coach-portrait img {
  border-radius: var(--image-radius);
}

.coach-profile--accordion.is-open .coach-portrait img {
  filter: grayscale(0);
}

.coach-portrait {
  margin: 0;
  min-height: 340px;
  overflow: hidden;
  background: var(--black);
}

.coach-portrait--toggle {
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.coach-portrait--toggle:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.coach-portrait.coach-portrait--toggle img {
  object-fit: cover;
}

.coach-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: auto;
  border-radius: var(--image-radius) 0 0 var(--image-radius);
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  transition:
    filter 300ms ease,
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.coach-portrait:hover img {
  filter: grayscale(0);
  transform: scale(1.035);
}

.coach-portrait img.coach-portrait__image--cover {
  object-fit: cover;
  object-position: center;
}

.coach-panel {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  border-radius: 0 var(--image-radius) var(--image-radius) 0;
  background: var(--white);
  padding: 28px;
}

.coach-panel__copy {
  display: grid;
  gap: 12px;
}

.coach-panel h3,
.coach-panel p {
  margin-bottom: 0;
}

.coach-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.coach-heading .rank-graphic {
  width: min(180px, 38%);
  height: 32px;
  flex: 0 0 auto;
}

.coach-rank-mark {
  display: grid;
  flex: 0 0 min(180px, 38%);
  gap: 5px;
}

.coach-rank-mark span {
  color: var(--gray-500);
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-rank-mark--center span {
  text-align: center;
}

.coach-rank-mark .rank-graphic {
  width: 100%;
}

.coach-full p {
  font-size: 0.98rem;
  line-height: 1.75;
}

.coach-full {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.rank-graphic {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 40px;
  object-fit: contain;
}

.trial-form {
  scroll-margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 24px;
}

.trial-form label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-size: 12px;
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-form .form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px;
  color: var(--black);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.trial-form textarea {
  resize: vertical;
}

.form-wide,
.form-message {
  grid-column: 1 / -1;
}

.form-message {
  display: none;
  border: 1px solid var(--success);
  padding: 14px;
  color: var(--success);
  font-size: 14px;
  line-height: 1.5;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  border-color: var(--error);
  color: var(--error);
}

.trial-form button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.field-error {
  min-height: 18px;
  color: var(--error);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.contact-stack {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: center;
}

.contact-stack .contact-list {
  max-width: 640px;
}

.contact-list div {
  border-top: 1px solid var(--gray-200);
  padding-top: 18px;
}

.contact-list dt {
  margin-bottom: 6px;
  font-size: 12px;
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  color: var(--gray-700);
  font-size: 15px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.socials img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 180ms ease;
}

.socials .social-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.socials a:hover img,
.socials a:focus-visible img {
  filter: grayscale(1) invert(1);
}

.media-panel {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--image-radius);
}

.media-panel img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: grayscale(1);
}

.contact-stack .media-panel img {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.media-panel--balanced {
  background: var(--white);
}

.media-panel--balanced img,
.contact-stack .media-panel--balanced img {
  display: block;
  height: 100%;
  min-height: 520px;
  aspect-ratio: 7 / 10;
  object-fit: cover;
  object-position: 58% center;
}

.gallery-section {
  background: var(--white);
}

.gallery-hero {
  background: var(--white);
  text-align: center;
}

.gallery-hero .section__inner {
  display: grid;
  justify-items: center;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.gallery-hero .eyebrow,
.gallery-hero h1,
.gallery-hero p {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.gallery-filter {
  min-height: 40px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  padding: 11px 18px;
  cursor: pointer;
  color: var(--black);
  font-size: 11px;
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  background: var(--black);
  color: var(--white);
}

.gallery-grid {
  --gallery-gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--gallery-gap);
}

.gallery-card {
  position: relative;
  display: block;
  flex: 0 1 calc((100% - (var(--gallery-gap) * 3)) / 4);
  min-width: 0;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--image-radius);
  background: var(--black);
  padding: 0;
  cursor: pointer;
  color: var(--white);
  text-align: left;
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card--wide {
  aspect-ratio: 1 / 1;
}

.gallery-card--tall {
  aspect-ratio: 1 / 1;
}

@media (max-width: 1100px) {
  .gallery-card {
    flex-basis: calc((100% - (var(--gallery-gap) * 2)) / 3);
  }
}

@media (max-width: 760px) {
  .gallery-card {
    flex-basis: calc((100% - var(--gallery-gap)) / 2);
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    --gallery-gap: 8px;
  }

  .gallery-card {
    flex-basis: calc((100% - var(--gallery-gap)) / 2);
  }
}

.gallery-card img,
.gallery-card__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  opacity: 0.82;
  pointer-events: none;
  transition: filter 220ms ease, opacity 220ms ease, transform 260ms ease;
}

.gallery-card__preview {
  opacity: 0;
}

.gallery-card:hover img,
.gallery-card:focus-visible img,
.gallery-card:hover .gallery-card__preview,
.gallery-card:focus-visible .gallery-card__preview {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

.gallery-card--video:hover img,
.gallery-card--video:focus-visible img {
  opacity: 0;
}

.gallery-card--video:hover .gallery-card__preview,
.gallery-card--video:focus-visible .gallery-card__preview {
  opacity: 1;
}

.gallery-card__tag,
.gallery-card__title {
  display: none;
}

.gallery-card__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.52);
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 220ms ease;
}

.gallery-card__play::before {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--white);
  content: "";
  transform: translate(-40%, -50%);
}

.gallery-card--video:hover .gallery-card__play,
.gallery-card--video:focus-visible .gallery-card__play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
}

.gallery-viewer[hidden] {
  display: none;
}

.gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 5, 0.92);
  padding: 22px;
}

.gallery-viewer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-viewer__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  width: min(100%, 1180px);
  align-items: center;
  gap: 14px;
}

.gallery-viewer__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--image-radius);
}

.gallery-viewer__media {
  display: grid;
  min-height: 240px;
  place-items: center;
  background: var(--black);
}

.gallery-viewer__media img,
.gallery-viewer__media video {
  display: block;
  max-width: 100%;
  max-height: min(76vh, 760px);
  object-fit: contain;
}

.gallery-viewer__media video {
  width: 100%;
}

.gallery-viewer__mark {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.62);
  filter: invert(1);
  object-fit: contain;
  padding: 9px;
  pointer-events: none;
}

.gallery-viewer__close,
.gallery-viewer__nav {
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  color: var(--black);
  display: grid;
  place-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-viewer__close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 42px;
  height: 42px;
  padding: 0;
}

.gallery-viewer__nav {
  width: 48px;
  height: 48px;
  padding: 0;
}

.gallery-viewer__close:hover,
.gallery-viewer__nav:hover {
  opacity: 0.72;
  transform: scale(0.96);
}

.gallery-viewer__icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.gallery-viewer__icon--close::before,
.gallery-viewer__icon--close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 2px;
  background: var(--black);
  content: "";
  transform-origin: center;
}

.gallery-viewer__icon--close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-viewer__icon--close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.gallery-viewer__icon--prev::before,
.gallery-viewer__icon--next::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--black);
  border-left: 2px solid var(--black);
  content: "";
}

.gallery-viewer__icon--prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.gallery-viewer__icon--next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--gray-200);
  padding: 34px 20px;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-main);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 980px) {
  .site-header,
  .hero__content,
  .site-footer {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 1050px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .coach-profile {
    grid-template-columns: 1fr;
  }

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

  .coach-profile--accordion {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    background: transparent;
  }

  .coach-profile--accordion:nth-child(1) .coach-portrait,
  .coach-profile--accordion:nth-child(2) .coach-portrait,
  .coach-profile--accordion:nth-child(3) .coach-portrait,
  .coach-profile--accordion:nth-child(4) .coach-portrait {
    grid-column: 1;
    grid-row: 1;
  }

  .coach-profile--accordion.is-open .coach-panel {
    grid-column: 1;
    grid-row: 2;
    max-height: 1400px;
    transition:
      max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 260ms ease,
      padding 420ms ease,
      visibility 0s linear 0s;
  }

  .coach-profile--accordion:not(.is-open) .coach-panel {
    max-height: 0;
  }

  .coach-portrait img {
    border-radius: var(--image-radius) var(--image-radius) 0 0;
  }

  .coach-panel {
    border-radius: 0 0 var(--image-radius) var(--image-radius);
  }

  .rank-graphic {
    width: min(100%, 420px);
  }

  .schedule {
    max-width: 100%;
  }

  .schedule-board--combined {
    max-width: 100%;
  }
}

@media (max-width: 780px) {
  .coach-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
  }

  .brand {
    justify-self: auto;
  }

  .brand__text {
    max-width: 170px;
    line-height: 1.2;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    padding: 14px 20px 20px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .statement__grid,
  .split,
  .trial-grid,
  .contact-stack,
  .class-section {
    grid-template-columns: 1fr;
  }

  .contact-stack .media-panel {
    order: -1;
  }

  .contact-stack > div:first-child,
  .contact-stack .contact-list {
    max-width: none;
    text-align: center;
  }

  .contact-stack .socials {
    justify-content: center;
  }

  .coach-layout {
    gap: 34px;
  }

  .coach-panel {
    min-height: auto;
    padding: 22px;
  }

  .coach-portrait,
  .coach-portrait img {
    min-height: 280px;
  }

  .class-section {
    gap: 28px;
    padding: 46px 0;
  }

  .class-section:nth-child(even) .class-section__media {
    order: 0;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule {
    gap: 24px;
  }

  .schedule-board {
    min-width: 0;
  }

  .schedule-scroll-hint {
    display: block;
    margin: 0;
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-700);
    color: var(--gray-300);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .schedule-table-wrap {
    width: 100%;
    max-width: calc(100vw - 40px);
    overflow-x: scroll;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .schedule-table thead th:first-child,
  .schedule-table tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--black);
  }

  .schedule-table thead th:first-child {
    z-index: 3;
  }

  .schedule-tab {
    min-width: 82px;
    padding: 10px 16px 8px;
    font-size: 14px;
  }

  .schedule-board__header {
    padding: 22px 16px 18px;
  }

  .schedule-table--combined {
    min-width: 1040px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 14px 10px;
  }

  .schedule-table thead th,
  .schedule-table tbody th {
    font-size: 12px;
  }

  .schedule-table td {
    font-size: 12px;
  }

  .schedule-table td span {
    font-size: 11px;
  }

  .schedule-scroll-hint {
    display: none;
  }

  .schedule-table-wrap {
    max-width: 100%;
    overflow: visible;
  }

  .schedule-table--combined {
    display: block;
    min-width: 0;
  }

  .schedule-table--combined thead {
    display: none;
  }

  .schedule-table--combined tbody {
    display: grid;
    gap: 14px;
    padding: 14px;
  }

  .schedule-table--combined tr {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
  }

  .schedule-table--combined tr:not(:has(.schedule-session:not([hidden]))) {
    display: none;
  }

  .schedule-table--combined tbody th {
    position: static;
    width: auto;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    text-align: left;
  }

  .schedule-table--combined td {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
  }

  .schedule-table--combined td:last-child {
    border-bottom: 0;
  }

  .schedule-table--combined td.schedule-table__empty,
  .schedule-table--combined td:has(.schedule-session[hidden]) {
    display: none;
  }

  .schedule-table--combined td::before {
    color: var(--gray-300);
    font-family: var(--font-main);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .schedule-table--combined td:nth-child(2)::before { content: "Sunday"; }
  .schedule-table--combined td:nth-child(3)::before { content: "Monday"; }
  .schedule-table--combined td:nth-child(4)::before { content: "Tuesday"; }
  .schedule-table--combined td:nth-child(5)::before { content: "Wednesday"; }
  .schedule-table--combined td:nth-child(6)::before { content: "Thursday"; }
  .schedule-table--combined td:nth-child(7)::before { content: "Friday"; }
  .schedule-table--combined td:nth-child(8)::before { content: "Saturday"; }

  .schedule-table--combined td[colspan]::before {
    content: "Sun–Fri";
  }

  .schedule-table--combined .schedule-session {
    min-height: 0;
    padding: 9px 10px;
  }

  .schedule-table-wrap {
    display: none;
  }

  .daily-schedule {
    display: grid;
    gap: 14px;
    padding: 14px;
  }

  .daily-schedule__day {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
  }

  .daily-schedule__day h4 {
    margin: 0;
    padding: 13px 14px 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-size: 18px;
  }

  .daily-schedule__item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-200);
    font-size: 13px;
    line-height: 1.4;
  }

  .daily-schedule__item:last-child {
    border-bottom: 0;
  }

  .daily-schedule__item time {
    color: var(--white);
    font-family: var(--font-main);
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .gallery-card--wide,
  .gallery-card--tall {
    min-height: 0;
  }

  .gallery-viewer__dialog {
    grid-template-columns: 48px 48px;
    justify-content: center;
  }

  .gallery-viewer__nav {
    width: 48px;
  }

  .gallery-viewer__nav--prev {
    order: 2;
    justify-self: end;
  }

  .gallery-viewer__figure {
    grid-column: 1 / -1;
    order: 1;
  }

  .gallery-viewer__nav--next {
    order: 3;
    justify-self: start;
  }

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

}

@media (max-width: 560px) {
  .section {
    padding: 64px 20px;
  }

  .hero__content {
    padding-bottom: 52px;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .class-section {
    padding: 38px 0;
  }

  .hero__actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

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

  .reveal-item,
  .reveal-item--image {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
