:root {
  --black: #050505;
  --black-soft: #0d0d0d;
  --graphite: #161616;
  --white: #f7f7f4;
  --grey: #a2a2a2;
  --grey-dark: #595959;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(5, 5, 5, 0.14);
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5rem, 10vw, 10rem);
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img,
video {
  display: block;
  width: 100%;
}

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

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

button {
  font: inherit;
}

::selection {
  background: var(--white);
  color: var(--black);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--black);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100%, 1500px);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.section {
  padding-block: var(--section-space);
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.9;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(4rem, 8.5vw, 9rem);
}

h2 span,
h1 span {
  color: transparent;
  -webkit-text-stroke: 1.25px currentColor;
}

.lead {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

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

.button-small {
  min-height: 2.7rem;
  padding-inline: 1rem;
  font-size: 0.68rem;
}

.button-outline {
  background: transparent;
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--white);
  color: var(--black);
}

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

.button-light:hover,
.button-light:focus-visible {
  background: transparent;
  color: var(--black);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  gap: 1.15rem;
}

.dark-link {
  color: var(--black);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  gap: 2rem;
}

.brand {
  position: relative;
  width: 13.5rem;
}

.brand-badge {
  display: flex;
  align-items: center;
}

.brand img,
.footer-logo img {
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.5rem);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  padding-block: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--white);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  margin-left: auto;
  padding: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 0.35rem;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.hero-video,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  object-position: 50% 45%;
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 52%,
      rgba(0, 0, 0, 0.24) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 55%);
}

.hero-grid {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 12.5vw 12.5vw;
  mask-image: linear-gradient(to bottom, transparent, black 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 9rem;
  padding-bottom: clamp(5rem, 10vh, 8rem);
}

.hero h1 {
  max-width: 8ch;
  margin-bottom: 1.5rem;
  font-size: clamp(6rem, 15vw, 15rem);
  line-height: 0.76;
}

.hero h1 span {
  -webkit-text-stroke-color: var(--white);
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.video-control {
  position: absolute;
  z-index: 3;
  right: var(--page-pad);
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-control-icon {
  display: grid;
  width: 2.4rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(50%) rotate(90deg);
  transform-origin: center;
}

.scroll-cue i {
  width: 3rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.scroll-cue i::after {
  display: block;
  width: 50%;
  height: 1px;
  background: var(--white);
  content: "";
  animation: scroll-line 1.6s ease-in-out infinite;
}

@keyframes scroll-line {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(220%);
  }
}

.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  min-height: 13rem;
  padding: 2rem clamp(1rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}

.stat:last-child {
  border-right: 1px solid var(--line);
}

.stat strong {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: clamp(3.7rem, 5vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.stat sup {
  font-family: var(--body);
  font-size: 0.26em;
  font-weight: 700;
  vertical-align: super;
}

.stat > span {
  color: var(--grey);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.section-copy {
  max-width: 52rem;
}

.section-copy > p:not(.eyebrow):not(.lead) {
  max-width: 40rem;
  margin-bottom: 2.2rem;
  color: var(--grey-dark);
}

.editorial-image {
  position: relative;
  margin: 0;
}

.editorial-image::before {
  position: absolute;
  z-index: 2;
  top: -1.3rem;
  right: -1.3rem;
  width: 34%;
  aspect-ratio: 1;
  border-top: 1px solid var(--black);
  border-right: 1px solid var(--black);
  content: "";
}

.editorial-image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.editorial-image figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-dark);
  margin-top: 0.8rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.space-showcase {
  display: grid;
  min-height: 78svh;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
  gap: 1px;
  background: var(--line);
}

.space-panel {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  background: var(--black);
}

.space-panel > img,
.space-panel-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.space-panel > img {
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 500ms ease,
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.space-panel-main > img {
  object-position: center;
}

.space-panel:not(.space-panel-main) > img {
  object-position: 55% center;
}

.space-panel:hover > img {
  filter: grayscale(0%);
  transform: scale(1.025);
}

.space-panel-shade {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 70%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 50%);
}

.space-panel-copy {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: clamp(2rem, 5vw, 5rem);
  left: var(--page-pad);
}

.space-panel-copy > span {
  display: block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.space-panel-copy h2 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 7.2vw, 8rem);
}

.space-panel-copy h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.25px currentColor;
}

.space-panel-copy h3 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.8rem);
}

.training {
  background: var(--black);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.42fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

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

.section-heading > p {
  max-width: 31rem;
  margin-bottom: 0.7rem;
  color: var(--grey);
}

.training-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1px;
  background: var(--line);
}

.training-card {
  position: relative;
  min-height: 40rem;
  overflow: hidden;
  background: var(--black);
}

.training-card img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 500ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.training-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.035);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent 62%);
}

.card-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem;
}

.card-content > span {
  display: block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.card-content h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(3rem, 4.3vw, 5rem);
}

.card-content p {
  max-width: 24rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.coaching {
  border-top: 1px solid var(--line);
  background: var(--black-soft);
}

.coaching-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.coaching-photo {
  position: relative;
  margin: 0;
}

.coaching-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%);
}

.photo-label {
  position: absolute;
  right: -2rem;
  bottom: 3rem;
  padding: 1rem 1.3rem;
  background: var(--white);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.coaching-copy > p:not(.eyebrow):not(.lead) {
  max-width: 42rem;
  color: var(--grey);
}

.feature-list {
  margin: 3rem 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list span {
  color: var(--grey);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
}

.community-banner {
  position: relative;
  min-height: 80svh;
  overflow: hidden;
}

.community-banner > img,
.community-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.community-banner > img {
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(100%);
}

.community-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 50%);
}

.community-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 80svh;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--section-space);
}

.community-content h2 {
  max-width: 8ch;
}

.community-content p:last-child {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
}

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

.gallery-heading {
  grid-template-columns: 1fr auto;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: minmax(14rem, 25vw);
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--black);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 350ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.65rem;
  background: rgba(5, 5, 5, 0.85);
  color: var(--white);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.gallery-item:hover span,
.gallery-item:focus-visible span {
  opacity: 1;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

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

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.gallery-toggle {
  min-width: 14rem;
  cursor: pointer;
}

.lightbox {
  width: min(92vw, 75rem);
  max-width: none;
  height: min(90svh, 60rem);
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -2.8rem;
  right: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  background: var(--white);
  color: var(--black);
}

.cta-marquee {
  position: absolute;
  top: 1rem;
  left: 0;
  display: flex;
  width: max-content;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(6rem, 12vw, 14rem);
  line-height: 1;
  opacity: 0.1;
  -webkit-text-stroke: 1px var(--black);
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  margin-inline: auto;
}

.contact-section {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  align-items: stretch;
  gap: clamp(3rem, 7vw, 8rem);
}

.contact-copy {
  align-self: center;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 38rem;
  color: var(--grey);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-block: 3rem;
}

.contact-details > div {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.contact-details span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--grey);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details strong {
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-visual {
  position: relative;
  min-height: 45rem;
}

.contact-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.contact-card {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  width: min(90%, 23rem);
  padding: 1.5rem;
  background: var(--white);
  color: var(--black);
}

.contact-card span {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--black-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: start;
  gap: 3rem;
  padding-block: 4rem;
}

.footer-logo {
  width: 12rem;
}

.footer-main p {
  color: var(--grey);
  font-size: 0.85rem;
}

.footer-main nav {
  display: grid;
  gap: 0.65rem;
}

.footer-main nav a,
.footer-social a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-main nav a:hover,
.footer-social a:hover {
  color: var(--grey);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }

  .primary-nav {
    gap: 1.2rem;
  }

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

  .training-card:first-child {
    grid-column: span 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(12px);
  }

  .header-inner {
    min-height: 4.7rem;
  }

  .brand {
    width: 10.75rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .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);
  }

  .primary-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.2rem;
    padding: 7rem var(--page-pad) 3rem;
    background: rgba(5, 5, 5, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    font-family: var(--display);
    font-size: clamp(3.4rem, 11vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.95;
  }

  .hero-content {
    padding-bottom: 7rem;
  }

  .hero h1 {
    font-size: clamp(5.3rem, 22vw, 9rem);
  }

  .video-control {
    right: var(--page-pad);
    bottom: 1.3rem;
  }

  .scroll-cue {
    display: none;
  }

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

  .stat:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .split-layout,
  .coaching-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .space-showcase {
    grid-template-columns: 1fr;
  }

  .space-panel,
  .space-showcase {
    min-height: auto;
  }

  .space-panel {
    min-height: 62svh;
  }

  .space-panel:not(.space-panel-main) {
    min-height: 50svh;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .coaching-photo {
    max-width: 36rem;
  }

  .community-banner,
  .community-content {
    min-height: 70svh;
  }

  .gallery-grid {
    grid-auto-rows: minmax(15rem, 45vw);
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-visual {
    min-height: 38rem;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 1rem;
    --section-space: 5.5rem;
  }

  h2 {
    font-size: clamp(3.8rem, 19vw, 6rem);
  }

  .hero-video {
    object-position: 50% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.12) 82%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent);
  }

  .hero-content {
    padding-top: 7rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-control-label {
    display: none;
  }

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

  .stat {
    min-height: 10rem;
    padding: 1.5rem 1rem;
  }

  .stat strong {
    font-size: 3.4rem;
  }

  .space-panel {
    min-height: 52svh;
  }

  .space-panel:not(.space-panel-main) {
    min-height: 44svh;
  }

  .space-panel-copy h2 {
    font-size: clamp(3.7rem, 17vw, 5.8rem);
  }

  .space-panel-copy h3 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .training-grid {
    display: block;
    background: transparent;
  }

  .training-card,
  .training-card:first-child {
    min-height: 33rem;
    margin-bottom: 1px;
  }

  .card-content {
    padding: 1.4rem;
  }

  .gallery-grid {
    display: grid;
    grid-auto-rows: 22rem;
    grid-template-columns: 1fr;
  }

  .gallery-tall,
  .gallery-wide {
    grid-row: auto;
    grid-column: auto;
  }

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

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-visual {
    min-height: 33rem;
  }

  .contact-card {
    right: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   PROPORTIONAL PHOTO LAYOUT + MOBILE UPDATE
   Equal columns on desktop, stacked layouts on smaller screens
   ========================================================= */

/* Logo placement */
.brand {
  width: clamp(11rem, 15vw, 14.5rem);
}

.brand-badge {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  background: var(--white);
}

.brand img,
.footer-logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 277 / 57;
  object-fit: contain;
}

/* All two-part editorial sections use a true 50 / 50 split */
.split-layout,
.coaching-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 7rem);
}

.split-layout {
  align-items: center;
}

.editorial-image,
.coaching-photo,
.contact-visual {
  width: 100%;
  min-width: 0;
}

.editorial-image img,
.coaching-photo img,
.contact-visual > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Two photos: exactly 50 / 50 */
.space-showcase {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(32rem, 48vw, 50rem);
  gap: 1px;
}

.space-panel,
.space-panel:not(.space-panel-main) {
  min-width: 0;
  min-height: 0;
}

.space-panel > img,
.space-panel-main > img,
.space-panel:not(.space-panel-main) > img {
  object-position: center;
}

.space-panel-copy h2,
.space-panel-copy h3 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 5.8vw, 7rem);
}

/* Three photos: exactly 33 / 33 / 33 */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.training-card,
.training-card:first-child {
  min-width: 0;
  min-height: clamp(34rem, 47vw, 46rem);
  grid-column: auto;
}

.training-card img {
  width: 100%;
  height: 100%;
  object-position: center;
}

.card-content h3 {
  font-size: clamp(2.8rem, 3.5vw, 4.6rem);
}

/* Equal gallery tiles: 3 columns on desktop */
.gallery-heading {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.45fr);
}

.gallery-note {
  max-width: 24rem;
  margin: 0 0 0.7rem auto;
  color: var(--grey-dark);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: right;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1vw, 0.9rem);
}

.gallery-item,
.gallery-item.gallery-tall,
.gallery-item.gallery-wide {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  grid-row: auto;
  grid-column: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Contact information and WhatsApp */
.contact-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-phone {
  grid-column: 1 / -1;
}

.contact-phone a {
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.contact-phone a:hover,
.contact-phone a:focus-visible {
  border-color: var(--white);
  color: var(--white);
}

.footer-social {
  display: grid;
  gap: 0.7rem;
}

.mobile-whatsapp {
  display: none;
}

/* Tablet */
@media (max-width: 900px) {
  .training-grid {
    grid-template-columns: 1fr;
  }

  .training-card,
  .training-card:first-child {
    min-height: 38rem;
    grid-column: auto;
  }

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

/* Mobile navigation and stacked photo sections */
@media (max-width: 820px) {
  .brand {
    width: 9.6rem;
  }

  .brand-badge {
    padding: 0.42rem 0.55rem;
  }

  .split-layout,
  .coaching-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-copy,
  .coaching-copy,
  .contact-copy {
    width: 100%;
    max-width: none;
  }

  .editorial-image,
  .coaching-photo,
  .contact-visual {
    width: min(100%, 42rem);
    margin-inline: auto;
  }

  .space-showcase {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .space-panel,
  .space-panel:not(.space-panel-main) {
    min-height: 30rem;
    aspect-ratio: 4 / 5;
  }

  .space-panel-copy h2,
  .space-panel-copy h3 {
    font-size: clamp(3.4rem, 13vw, 5.8rem);
  }

  .gallery-heading {
    grid-template-columns: 1fr;
  }

  .gallery-note {
    max-width: 30rem;
    margin: 0;
    text-align: left;
  }

  .contact-visual {
    min-height: 0;
  }

  .contact-visual > img {
    height: auto;
  }

  .mobile-whatsapp {
    position: fixed;
    z-index: 95;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    min-height: 3.1rem;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border: 1px solid var(--white);
    background: var(--white);
    box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.28);
    color: var(--black);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

/* Small phones */
@media (max-width: 560px) {
  .brand {
    width: 8.7rem;
  }

  .space-panel,
  .space-panel:not(.space-panel-main) {
    min-height: 27rem;
  }

  .training-card,
  .training-card:first-child {
    min-height: 31rem;
  }

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

  .gallery-item,
  .gallery-item.gallery-tall,
  .gallery-item.gallery-wide {
    aspect-ratio: 4 / 5;
  }

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

  .contact-phone {
    grid-column: auto;
  }

  .contact-actions .button {
    width: 100%;
  }

  .mobile-whatsapp {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

/* =========================================================
   JIU-JITSU + DRONE SPACE TOUR
   ========================================================= */

/* Slightly tighter desktop navigation now that Jiu-Jitsu is included */
.primary-nav {
  gap: clamp(0.95rem, 1.65vw, 2rem);
}

/* Jiu-Jitsu: true 50 / 50 editorial layout */
.jiujitsu-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.jiujitsu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}

.jiujitsu-copy {
  min-width: 0;
}

.jiujitsu-copy > p:not(.eyebrow):not(.lead) {
  max-width: 42rem;
  color: var(--grey);
}

.jiujitsu-copy h2 {
  max-width: 9ch;
}

.jiujitsu-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.jiujitsu-facts > div {
  min-width: 0;
  padding: 1.35rem 1rem 1.35rem 0;
}

.jiujitsu-facts > div + div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.jiujitsu-facts strong,
.jiujitsu-facts span {
  display: block;
}

.jiujitsu-facts strong {
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.jiujitsu-facts span {
  color: var(--grey);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.jiujitsu-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.jiujitsu-media {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--black-soft);
}

.jiujitsu-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition:
    filter 500ms ease,
    transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.jiujitsu-media:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.jiujitsu-media figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(10px);
}

.jiujitsu-media figcaption span,
.jiujitsu-media figcaption strong {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.jiujitsu-media figcaption span {
  color: var(--grey);
}

.jiujitsu-media figcaption strong {
  max-width: 14rem;
  text-align: right;
}

/* Replaces the old community banner with a full-width drone video */
.drone-showcase {
  position: relative;
  min-height: clamp(38rem, 72vw, 58rem);
  overflow: hidden;
  background: var(--black);
}

.drone-video,
.drone-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.drone-video {
  object-fit: cover;
  object-position: center;
}

.drone-shade {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.4) 48%,
      rgba(0, 0, 0, 0.12) 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, transparent 55%);
  pointer-events: none;
}

.drone-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: clamp(38rem, 72vw, 58rem);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 8rem;
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
}

.drone-content h2 {
  max-width: 9ch;
  margin-bottom: 1.5rem;
}

.drone-content > p:not(.eyebrow) {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.drone-control {
  right: var(--page-pad);
  bottom: 1.75rem;
}

@media (max-width: 1100px) {
  .primary-nav {
    gap: 0.9rem;
  }

  .primary-nav a {
    font-size: 0.63rem;
  }
}

@media (max-width: 900px) {
  .jiujitsu-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .jiujitsu-media {
    width: min(100%, 42rem);
    margin-inline: auto;
  }

  .jiujitsu-copy h2 {
    max-width: 10ch;
  }
}

@media (max-width: 820px) {
  .drone-showcase,
  .drone-content {
    min-height: 70svh;
  }

  .drone-content {
    padding-top: 7rem;
    padding-bottom: 6.5rem;
  }

  .drone-shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.22) 78%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent);
  }
}

@media (max-width: 560px) {
  .jiujitsu-facts {
    grid-template-columns: 1fr;
  }

  .jiujitsu-facts > div {
    padding: 1.1rem 0;
  }

  .jiujitsu-facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .jiujitsu-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .jiujitsu-actions .button,
  .jiujitsu-actions .text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .jiujitsu-media figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .jiujitsu-media figcaption strong {
    text-align: left;
  }

  .drone-showcase,
  .drone-content {
    min-height: 74svh;
  }

  .drone-video {
    object-position: center;
  }

  .drone-content h2 {
    font-size: clamp(3.7rem, 18vw, 5.7rem);
  }

  .drone-control {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

/* =========================================================
   FINAL HORIZONTAL GALLERY FIX
   All gym gallery photos use a consistent 16:9 format.
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-auto-rows: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.55rem, 1vw, 0.9rem);
}

.gallery-item,
.gallery-item.gallery-tall,
.gallery-item.gallery-wide,
.gallery-item.gallery-horizontal {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  grid-column: auto;
  grid-row: auto;
}

.gallery-item img,
.gallery-item.gallery-horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-item[hidden],
.gallery-extra[hidden] {
  display: none !important;
}

.gallery-actions[hidden] {
  display: none !important;
}

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

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.gallery-tall,
  .gallery-item.gallery-wide,
  .gallery-item.gallery-horizontal {
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================
   FINAL TRANSPARENT LOGO FIX
   This override must remain at the end of the stylesheet.
   ========================================================= */
.brand-badge,
.footer-logo .brand-badge {
  width: 100%;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand img,
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto !important;
  object-fit: contain;
  background: transparent !important;
}

.brand {
  width: clamp(11rem, 15vw, 14.5rem);
}

.footer-logo {
  width: 12rem;
}

@media (max-width: 820px) {
  .brand-badge,
  .footer-logo .brand-badge {
    padding: 0 !important;
  }
}
