:root {
  --ink: #201e18;
  --ink-soft: #302c21;
  --paper: #f3efe5;
  --paper-deep: #e5dfd1;
  --moss: #1faa24;
  --moss-bright: #39c63d;
  --sage: #35643a;
  --blue: #2d65bb;
  --muted: #777b72;
  --line: rgba(23, 26, 22, 0.16);
  --white: #fffdf8;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: min(1180px, calc(100% - 40px));
  --shadow: 0 18px 55px rgba(18, 21, 17, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.6rem, 17vw, 9.4rem);
  font-weight: 900;
  letter-spacing: 0;
}

h1 em,
h2 em {
  color: var(--moss-bright);
  font-style: italic;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  font-size: 2rem;
  letter-spacing: 0;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.section {
  padding-block: 84px;
}

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

.skip-link:focus {
  z-index: 1000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--white);
  color: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--moss-bright);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--dark {
  color: var(--sage);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--moss-bright);
  background: var(--moss-bright);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.92rem;
}

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

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid currentColor;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.9;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--white);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  height: 66px;
  background: rgba(23, 26, 22, 0.96);
  box-shadow: 0 10px 35px rgba(8, 10, 8, 0.22);
  backdrop-filter: blur(12px);
}

.site-header.menu-open {
  backdrop-filter: none;
}

.brand {
  position: relative;
  z-index: 102;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.22));
}

.brand__type {
  display: flex;
  flex-direction: column;
}

.brand__type strong {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.13em;
  line-height: 0.9;
}

.brand__type small {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: grid;
  width: 48px;
  height: 48px;
  place-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
}

.menu-toggle > span:not(.sr-only) {
  width: 25px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  z-index: 101;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 92px 30px 90px;
  background: var(--ink);
  opacity: 0;
  transform: translateY(-10px);
  transition: visibility 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-nav > a:not(.button) {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-nav .nav-login {
  margin-top: 14px;
  color: #bac0b4;
  font-size: 1.15rem !important;
}

.site-nav .button {
  margin-top: 5px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 850px;
  align-items: flex-end;
  overflow: hidden;
  padding: 126px 0 152px;
  background: var(--ink);
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10, 12, 10, 0.12) 0%, rgba(10, 12, 10, 0.34) 42%, rgba(10, 12, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 12, 10, 0.76) 0%, rgba(10, 12, 10, 0.12) 82%),
    url("assets/background-1.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.05);
  transform: scale(1.02);
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E");
  opacity: 0.12;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__content h1 {
  max-width: 870px;
}

.hero__lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1.05rem, 3.7vw, 1.32rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero__facts {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(15, 17, 14, 0.48);
  backdrop-filter: blur(12px);
}

.hero__facts div {
  min-width: 0;
  padding: 18px 12px;
  text-align: center;
}

.hero__facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__facts strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(0.95rem, 3.6vw, 1.2rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.hero__facts span {
  display: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.76rem;
}

.intro {
  display: grid;
  gap: 24px;
}

.intro h2 {
  max-width: 760px;
}

.intro__copy {
  max-width: 590px;
  align-self: end;
}

.intro__copy p {
  margin-bottom: 28px;
  color: #4d5149;
  font-size: 1.08rem;
}

.programs {
  overflow: hidden;
  padding-top: 44px;
  background: var(--paper-deep);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 38px;
}

.section-heading p:last-child {
  max-width: 510px;
  color: #595e54;
}

.program-rail {
  display: grid;
  grid-auto-columns: min(85vw, 380px);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 22px;
  scroll-padding-inline: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.program-card {
  position: relative;
  min-height: 525px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  scroll-snap-align: start;
}

.program-card__image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.24) saturate(0.75);
  transition: filter 300ms ease, transform 450ms ease;
}

.program-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 12%, rgba(13, 15, 12, 0.18) 38%, rgba(13, 15, 12, 0.95) 92%);
  content: "";
}

.program-card:hover .program-card__image {
  filter: grayscale(0) saturate(0.95);
  transform: scale(1.035);
}

.program-card--bjj .program-card__image {
  background-image: url("assets/background-2.webp");
}

.program-card--boxing .program-card__image {
  background-image: url("assets/background-3.webp");
}

.program-card--thai .program-card__image {
  background-image: url("assets/background-4.webp");
}

.program-card__image--placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(195, 221, 112, 0.18), transparent 55%),
    repeating-linear-gradient(45deg, #2d332a, #2d332a 12px, #262b24 12px, #262b24 24px);
}

.program-card__image--placeholder::after {
  background: linear-gradient(180deg, rgba(13, 15, 12, 0.1), rgba(13, 15, 12, 0.82));
}

.program-card__image--placeholder > span {
  position: relative;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-card__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 25px 22px 28px;
}

.program-card__content > span {
  padding-top: 7px;
  color: var(--moss-bright);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
}

.program-card h3 {
  margin-bottom: 12px;
  font-size: 2.55rem;
}

.program-card p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
  line-height: 1.55;
}

.program-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--moss-bright);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.values {
  background: var(--ink);
  color: var(--white);
}

.values__grid {
  display: grid;
  gap: 58px;
}

.values__lead p:last-child {
  max-width: 500px;
  color: #abb1a6;
}

.value-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.value-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.value-list > li > span {
  color: var(--moss-bright);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
}

.value-list h3 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.value-list p {
  margin: 0;
  color: #9da39a;
  font-size: 0.92rem;
}

.schedule-widget {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.widget-toolbar,
.widget-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.widget-toolbar {
  border-bottom: 1px solid var(--line);
}

.widget-toolbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-toolbar strong {
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #65a63e;
  box-shadow: 0 0 0 5px rgba(101, 166, 62, 0.12);
}

.demo-label {
  padding: 4px 8px;
  background: var(--paper-deep);
  color: #666b62;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.day-tab {
  min-width: 64px;
  padding: 14px 8px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.day-tab:last-child {
  border-right: 0;
}

.day-tab span {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.18rem;
}

.day-tab.is-active {
  background: var(--blue);
  color: var(--white);
}

.day-tab.is-active span {
  color: var(--white);
}

.class-list {
  min-height: 253px;
}

.class-row {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}

.class-row:last-child {
  border-bottom: 0;
}

.class-row__time {
  color: #595e54;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.class-row__name strong,
.class-row__name span {
  display: block;
}

.class-row__name strong {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.class-row__name span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.class-row__tag {
  display: none;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: #666b62;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.widget-footer {
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  background: #faf8f2;
}

.widget-footer > span {
  color: var(--muted);
  font-size: 0.76rem;
}

.coaches {
  background: var(--paper-deep);
}

.coaches__layout {
  display: grid;
  gap: 42px;
}

.coaches__photo {
  position: relative;
  min-height: 0;
  box-shadow: var(--shadow);
}

.coaches__group-image {
  display: block;
  width: 100%;
  height: auto;
}

.coaches__photo-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: var(--white);
}

.coaches__photo-label span,
.coaches__photo-label strong {
  display: block;
}

.coaches__photo-label span {
  color: var(--moss-bright);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coaches__photo-label strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.6rem;
  text-transform: uppercase;
}

.coaches__copy > p:not(.eyebrow) {
  color: #555a51;
}

.coach-names {
  margin: 32px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.coach-names li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.coach-names span {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.coach-names small {
  color: var(--muted);
  font-size: 0.68rem;
}

.first-class {
  position: relative;
  overflow: hidden;
  background: var(--sage);
  color: var(--white);
}

.first-class::after {
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border: 75px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.first-class > .wrap {
  position: relative;
  z-index: 2;
}

.first-class__heading h2 {
  max-width: 720px;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.step {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.step > span {
  color: var(--moss-bright);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
}

.step h3 {
  margin: 9px 0;
}

.step p {
  max-width: 440px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.first-class__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 38px;
  padding: 22px;
  background: var(--ink);
}

.first-class__cta strong,
.first-class__cta span {
  display: block;
}

.first-class__cta strong {
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
}

.first-class__cta div > span {
  margin-top: 6px;
  color: #aeb4aa;
  font-size: 0.82rem;
}

.visit {
  display: grid;
  gap: 50px;
}

.visit address {
  margin: 26px 0;
  font-style: normal;
}

.visit address strong {
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.visit__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 28px;
  color: #555a51;
}

.visit__links a {
  border-bottom: 1px solid var(--line);
}

.visit__map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #d8d4c8;
}

.map-grid {
  position: absolute;
  inset: -30px;
  background-image:
    linear-gradient(27deg, transparent 47%, rgba(255, 255, 255, 0.75) 48%, rgba(255, 255, 255, 0.75) 51%, transparent 52%),
    linear-gradient(-62deg, transparent 46%, rgba(255, 255, 255, 0.65) 47%, rgba(255, 255, 255, 0.65) 50%, transparent 51%),
    linear-gradient(rgba(90, 99, 77, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 99, 77, 0.08) 1px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 34px 34px, 34px 34px;
  transform: rotate(7deg) scale(1.2);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 130px;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.map-pin::after {
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 12px solid var(--ink);
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.map-pin__mark {
  width: 23px;
  height: 5px;
  margin-bottom: 8px;
  background: var(--moss-bright);
  box-shadow: 0 7px 0 -2px var(--moss-bright), 0 13px 0 -4px var(--moss-bright);
}

.map-pin strong {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
}

.map-pin small {
  color: #aeb4aa;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 56px 0 100px;
  background: #10120f;
  color: var(--white);
}

.brand--footer {
  color: var(--white);
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding-bottom: 34px;
}

.footer__top p {
  max-width: 430px;
  margin: 0;
  color: #969c93;
}

.footer__statement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--moss-bright);
  transform: translateY(-2px);
}

.social-links img {
  width: 25px;
  height: 25px;
  border-radius: 3px;
  object-fit: cover;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #777d74;
  font-size: 0.73rem;
}

.footer__bottom div {
  display: flex;
  gap: 18px;
}

.mobile-cta {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  min-height: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ink);
  box-shadow: 0 -12px 30px rgba(15, 17, 14, 0.25);
}

.mobile-cta a {
  display: grid;
  place-items: center;
  padding: 8px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 5.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.mobile-cta a:first-child {
  color: var(--white);
}

.mobile-cta a:last-child {
  background: var(--moss-bright);
  color: var(--ink);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (min-width: 640px) {
  :root {
    --wrap: min(1180px, calc(100% - 64px));
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .hero__facts div {
    padding: 19px 16px;
  }

  .hero__facts span {
    display: block;
    margin-top: 3px;
  }

  .program-rail {
    grid-auto-columns: min(61vw, 420px);
  }

  .class-row__tag {
    display: inline-block;
  }

  .widget-footer,
  .first-class__cta,
  .footer__top,
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer__statement {
    align-items: flex-end;
    text-align: right;
  }

  .widget-footer {
    align-items: center;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .step {
    padding: 28px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 0;
  }

  .step:first-child {
    padding-left: 0;
  }

  .step:last-child {
    border-right: 0;
  }
}

@media (min-width: 860px) {
  .section {
    padding-block: 120px;
  }

  .site-header {
    height: 86px;
    padding-inline: max(30px, calc((100vw - 1320px) / 2));
  }

  .site-header.is-scrolled {
    height: 74px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(17px, 2vw, 30px);
    padding: 0;
    background: transparent;
    opacity: 1;
    transform: none;
  }

  .site-nav > a:not(.button),
  .site-nav .nav-login {
    margin: 0;
    font-family: var(--body);
    font-size: 0.75rem !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .site-nav .nav-login {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    color: #c8ccc5;
  }

  .site-nav .button {
    margin: 0;
  }

  .hero {
    min-height: min(940px, 100vh);
    padding: 160px 0 150px;
  }

  .hero__content h1 {
    margin-bottom: 28px;
  }

  .hero__facts {
    left: auto;
    width: min(680px, 50vw);
  }

  .hero__facts div {
    text-align: left;
  }

  .intro,
  .section-heading {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    align-items: end;
    gap: 70px;
  }

  .intro__copy {
    padding-bottom: 18px;
  }

  .programs {
    padding-top: 70px;
  }

  .program-rail {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: initial;
    gap: 18px;
    overflow: visible;
  }

  .program-card {
    min-height: 630px;
  }

  .program-card:nth-child(even) {
    transform: translateY(50px);
  }

  .program-card__content {
    grid-template-columns: 42px 1fr;
    padding: 35px 34px 38px;
  }

  .program-card h3 {
    font-size: 3.3rem;
  }

  .values {
    margin-top: 48px;
  }

  .values__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
  }

  .values__lead {
    position: sticky;
    top: 130px;
    align-self: start;
  }

  .value-list li {
    grid-template-columns: 60px 1fr;
    padding: 35px 0;
  }

  .value-list h3 {
    font-size: 2.7rem;
  }

  .widget-toolbar,
  .widget-footer,
  .class-row {
    padding-inline: 28px;
  }

  .day-tab {
    padding-block: 18px 16px;
    font-size: 0.86rem;
  }

  .class-row {
    grid-template-columns: 105px 1fr auto;
    padding-block: 21px;
  }

  .class-row__name strong {
    font-size: 1.45rem;
  }

  .coaches__layout,
  .visit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 90px;
  }

  .coaches__photo {
    min-height: 0;
  }

  .coaches__copy {
    padding-block: 50px;
  }

  .first-class__cta {
    padding: 28px 32px;
  }

  .visit__map {
    min-height: 540px;
  }

  .site-footer {
    padding-bottom: 50px;
  }

  .mobile-cta {
    display: none;
  }
}

@media (min-width: 1100px) {
  .program-rail {
    grid-template-columns: repeat(4, 1fr);
  }

  .program-card {
    min-height: 560px;
  }

  .program-card:nth-child(even) {
    transform: none;
  }

  .program-card__content {
    grid-template-columns: 26px 1fr;
    padding: 26px 22px 30px;
  }

  .program-card h3 {
    font-size: 2.45rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Prelaunch reliability and keyboard access; preserve the approved visual design. */
.reveal.is-pending { opacity: 0; transform: translateY(20px); }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.schedule-fallback { padding: 24px; margin: 0; }
.visit__links a { overflow-wrap: anywhere; }
@media (max-width: 859px) {
  html.no-script .menu-toggle { display: none; }
  html.no-script .site-header { position: relative; height: auto; flex-wrap: wrap; background: var(--ink); }
  html.no-script .site-nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 20px 0; width: 100%; }
  .site-nav { overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.is-pending { opacity: 1; transform: none; }
}


.gymdesk-schedule { min-height: 420px; }

.coach-profile { font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; flex-shrink: 0; padding: 8px 0; }

.program-card--kids .program-card__image { background-image: url("assets/background-5.webp"); background-position: 50% 58%; }
.program-card--bjj .program-card__image { background-position: 67% center; }
.tournament { padding-bottom: 0; }
.tournament__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tournament__photos img { display: block; width: 100%; height: auto; }
@media (max-width: 639px) {
  .tournament__photos { grid-template-columns: 1fr; gap: 20px; }
}

/* Keep students prominent within the existing tall program cards. */
.program-card--kids .program-card__image { background-size: auto 150%; background-position: 50% 76%; }
.program-card--thai .program-card__image { background-size: auto 150%; background-position: 52% 78%; }
.program-card--bjj .program-card__image { background-size: auto 120%; background-position: 67% 76%; }

.widget-toolbar { flex-wrap: wrap; }

/* Frame the first podium photo around the student and coach. */
.tournament__photo--first { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.tournament__photo--first img { position: absolute; width: 133.333333%; max-width: none; height: auto; left: -33.333333%; top: -26.666667%; }

/* Dedicated pages share the established Roots colors and typography. */
.detail-page .site-header { background: #171a15; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.detail-hero { background: #171a15; color: var(--white); padding: 134px 0 66px; }
.detail-hero__layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 64px; }
.detail-hero__copy { min-width: 0; }
.detail-hero h1 { font-size: clamp(3.2rem, 5.5vw, 5.6rem); line-height: 1.06; font-weight: 800; }
.detail-lede { font-size: 1.1rem; color: #d8dcd2; max-width: 590px; margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; margin-bottom: 42px; color: #d8dcd2; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.detail-hero__image { overflow: hidden; aspect-ratio: 1 / 1; }
.detail-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero--text .detail-hero__layout { grid-template-columns: 1fr; }
.detail-hero--text .detail-hero__copy { max-width: 900px; }
.detail-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.detail-story h2, .detail-faq h2, .detail-training-options h2 { font-size: clamp(2.8rem, 4.8vw, 4.7rem); }
.detail-story p { max-width: 64ch; }
.detail-skills { background: var(--paper-deep); padding: 62px 0; }
.detail-skills__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.detail-skills__grid h3 { margin-top: 20px; }
.detail-number { font-family: var(--display); font-size: 2rem; color: var(--sage); }
.detail-faq { max-width: 960px; }
.detail-faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.detail-faq details:last-child { border-bottom: 1px solid var(--line); }
.detail-faq summary { cursor: pointer; font-weight: 600; padding-right: 12px; }
.detail-faq details p { margin: 18px 0 0; max-width: 70ch; }
.detail-cta { background: #171a15; color: var(--white); padding: 64px 0; }
.detail-cta__layout { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.detail-cta h2 { font-size: clamp(2.8rem, 4.8vw, 4.4rem); }
.detail-cta p { color: #d8dcd2; margin-bottom: 0; max-width: 56ch; }
.detail-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.detail-cta .detail-actions { flex-shrink: 0; flex-direction: column; align-items: flex-start; }
.detail-program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.detail-program-link { background: var(--white); border: 1px solid var(--line); }
.detail-program-link img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 68%; }
.detail-program-link > div { padding: 32px; }
.detail-program-link h3 { font-size: 2.8rem; }
.detail-program-link:hover h3 { color: var(--sage); }
.detail-training-options { border-top: 1px solid var(--line); }
.related-programs { display: flex; flex-wrap: wrap; gap: 16px; }
.related-programs a { border: 1px solid var(--line); padding: 18px 24px; background: var(--white); font-weight: 600; }
.related-programs a:hover { border-color: var(--sage); }
.coach-detail-card { border-top: 3px solid var(--moss); padding-top: 24px; }
.coach-detail-card h2 { font-size: 3rem; }
.detail-page .visit { padding-top: 70px; }
@media (max-width: 859px) {
  .detail-hero { padding-top: 108px; }
  .detail-hero__layout { gap: 28px; }
  .detail-hero h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
  .detail-story { gap: 28px; }
  .detail-cta__layout { align-items: flex-start; flex-direction: column; gap: 28px; }
  .detail-cta .detail-actions { flex-direction: row; align-items: center; }
  .coach-detail-card h2 { font-size: 2.5rem; }
}
@media (max-width: 639px) {
  .detail-hero { padding-bottom: 36px; }
  .detail-hero__layout, .detail-story, .detail-skills__grid, .detail-program-grid { grid-template-columns: 1fr; }
  .detail-hero h1 { font-size: clamp(2.65rem, 10vw, 3.6rem); line-height: 1.08; }
  .detail-hero__image { aspect-ratio: 4 / 3; }
  .breadcrumbs { margin-bottom: 28px; }
  .detail-story { gap: 12px; }
  .detail-story h2, .detail-faq h2, .detail-cta h2 { font-size: clamp(2.25rem, 8.5vw, 3rem); line-height: 1.08; }
  .detail-skills__grid { gap: 24px; }
  .detail-skills__grid article + article { border-top: 1px solid var(--line); padding-top: 20px; }
  .detail-program-link > div { padding: 24px; }
  .related-programs { flex-direction: column; }
  .detail-page .visit__links a { overflow-wrap: anywhere; }
}

/* Keep long titles readable within small screens and two-column layouts. */
h1, h2, h3 { overflow-wrap: break-word; }
.detail-story > *, .detail-skills__grid > *, .detail-program-grid > * { min-width: 0; }
.detail-program-link h3, .coach-detail-card h2 { line-height: 1.08; }
@media (max-width: 639px) {
  .detail-program-link h3, .coach-detail-card h2 { font-size: clamp(2rem, 8vw, 2.65rem); }
}

@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url("assets/fonts/font-6.woff") format('woff'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/font-7.woff") format('woff'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/font-8.woff") format('woff'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/font-9.woff") format('woff'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/font-10.woff") format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/font-11.woff") format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/font-12.woff") format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/font-13.woff") format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/font-14.woff") format('woff'); }
.detail-hero__tagline { display: block; color: var(--moss-bright); margin-top: 0.15em; }

/* Keep the header wordmark readable while retaining its proportions. */
.site-header .brand__mark { width: 52px; height: 52px; }
.site-header .brand__type strong { font-size: 1.9rem; }
.site-header .brand__type small { font-size: 0.84rem; }
