:root {
  --black: #080808;
  --ink: #11100f;
  --paper: #eeeae2;
  --white: #f7f5f0;
  --red: #d82424;
  --red-dark: #a81119;
  --muted: #a7a39d;
  --line: rgba(247, 245, 240, 0.17);
  --line-dark: rgba(17, 16, 15, 0.2);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(1280px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

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

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

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

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--red);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.section {
  position: relative;
  padding-block: 140px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--red);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 32px;
  font-size: clamp(3.9rem, 7.8vw, 7.4rem);
}

h2 em,
h1 em {
  color: var(--red);
  font-style: normal;
}

.lead {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  background: #ed2b2b;
}

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

.button-dark:hover {
  background: var(--red);
}

.cta-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-block: 8px;
  color: var(--white);
  border-bottom: 1px solid rgba(247, 245, 240, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: gap 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  gap: 36px;
  border-color: var(--red);
}

.text-link-dark {
  color: var(--ink);
  border-color: rgba(17, 16, 15, 0.5);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  height: 86px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 48px;
  color: var(--white);
  border-bottom: 1px solid rgba(247, 245, 240, 0.14);
  transition: height 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(8, 8, 8, 0.95);
  border-color: rgba(247, 245, 240, 0.1);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  transform: skewX(-5deg);
}

.brand-name {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-name strong {
  display: block;
  margin-top: 4px;
  font-size: 0.94rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 8px;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 12px 16px;
  border: 1px solid rgba(247, 245, 240, 0.5);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover {
  background: var(--red);
  border-color: var(--red);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 13px 10px;
  color: var(--white);
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 180ms ease;
}

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

.hero-image,
.hero-scrim,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/marin-hero.webp");
  background-position: 55% center;
  background-size: cover;
  filter: brightness(1.28) saturate(0.9) contrast(1.04);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.78) 34%, rgba(5, 5, 5, 0.22) 56%, rgba(5, 5, 5, 0.02) 72%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.72), transparent 38%);
}

.hero-grain {
  opacity: 0.1;
  pointer-events: none;
  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='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 150px 90px;
}

.hero-eyebrow {
  gap: 16px;
  margin-bottom: 30px;
  color: rgba(247, 245, 240, 0.72);
}

.hero-eyebrow span + span::before {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 16px;
  content: "";
  vertical-align: middle;
  background: var(--red);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(5.2rem, 10.8vw, 10.2rem);
}

.hero-person {
  display: block;
  margin-bottom: 24px;
  font-family: var(--body);
  font-size: 0.075em;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 530px;
  margin-bottom: 38px;
  color: rgba(247, 245, 240, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.hero-location {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 52px;
  display: flex;
  gap: 12px;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  transform: rotate(180deg);
}

.hero-location span + span {
  color: rgba(247, 245, 240, 0.5);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 95px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right center;
}

.scroll-cue i {
  display: block;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: rgba(247, 245, 240, 0.42);
}

.marquee {
  overflow: hidden;
  color: var(--white);
  background: var(--red);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  animation: marquee 42s linear infinite;
}

.marquee-group {
  display: flex;
  min-width: 100vw;
  flex-shrink: 0;
  align-items: center;
  gap: 28px;
  padding: 18px 14px;
}

.marquee-group i {
  font-family: serif;
  font-size: 0.6rem;
  font-style: normal;
}

.section-index {
  position: absolute;
  top: 150px;
  right: 0;
  color: rgba(17, 16, 15, 0.1);
  font-family: var(--display);
  font-size: clamp(7rem, 13vw, 13rem);
  line-height: 0.7;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 10vw;
}

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

.intro-heading h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 16, 15, 0.5);
}

.intro-body {
  align-self: end;
  max-width: 530px;
}

.intro-body > p:not(.lead) {
  color: #5e5a54;
}

.facts {
  margin: 48px 0 0;
  border-top: 1px solid var(--line-dark);
}

.facts div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line-dark);
}

.facts dt {
  color: #858078;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.fight-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
  gap: 18px;
  padding-bottom: 140px;
}

.fight-shot {
  position: relative;
  height: 620px;
  margin: 0;
  overflow: hidden;
  background: #141414;
}

.fight-shot::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(8, 8, 8, 0.72));
  pointer-events: none;
}

.fight-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.fight-shot-portrait img {
  object-position: 66% center;
}

.fight-shot figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(247, 245, 240, 0.7);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fight-shot figcaption span {
  color: var(--white);
}

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

.section-head {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 90px;
  align-items: end;
  margin-bottom: 90px;
}

.section-head h2 {
  margin: 0;
}

.section-head > p {
  margin-bottom: 10px;
  color: var(--muted);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-card {
  position: relative;
  min-height: 400px;
  padding: 38px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 260ms ease;
}

.method-card::after {
  position: absolute;
  inset: auto -30% -55% 10%;
  height: 90%;
  content: "";
  border-radius: 50%;
  background: rgba(216, 36, 36, 0.16);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 260ms ease;
}

.method-card:hover {
  background: #101010;
}

.method-card:hover::after {
  opacity: 1;
}

.card-number {
  color: #76736e;
  font-family: var(--display);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.method-icon {
  width: 72px;
  margin: 70px 0 38px;
  color: var(--red);
}

.method-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.method-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 2.2rem;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.method-card p {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.training {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(540px, 1.22fr);
  gap: 10vw;
}

.training-copy {
  align-self: start;
  position: sticky;
  top: 120px;
}

.training-copy h2 {
  font-size: clamp(4rem, 6vw, 6rem);
}

.training-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin-bottom: 38px;
  color: #635f58;
}

.training-list {
  border-top: 1px solid var(--line-dark);
}

.training-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 104px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 200ms ease, color 200ms ease, background 200ms ease;
}

.training-row:hover {
  padding-inline: 20px;
  color: var(--white);
  background: var(--ink);
}

.training-row > span {
  color: #8b867e;
  font-size: 0.62rem;
  font-weight: 700;
}

.training-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.training-row p {
  margin: 0;
  color: #77726b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.film {
  display: grid;
  min-height: 80vh;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: var(--black);
}

.film-slider,
.film-overlay {
  position: absolute;
  inset: 0;
}

.film-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: film-crossfade 25s ease-in-out infinite;
}

.film-slide:nth-child(2) {
  animation-delay: -20s;
}

.film-slide:nth-child(3) {
  animation-delay: -15s;
}

.film-slide:nth-child(4) {
  animation-delay: -10s;
}

.film-slide:nth-child(5) {
  animation-delay: -5s;
}

.film-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.film-slide-weigh-in img {
  object-position: center 42%;
}

.film-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.84), rgba(8, 8, 8, 0.1) 75%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.5), transparent 50%);
}

.film-content {
  position: relative;
  z-index: 1;
}

.film-content h2 {
  max-width: 800px;
  margin-bottom: 42px;
}

.film-content .button {
  min-width: 238px;
}

.fight-booking {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.fight-booking::before {
  position: absolute;
  inset: 0 52% 0 0;
  content: "";
  background: linear-gradient(125deg, rgba(216, 36, 36, 0.18), transparent 64%);
  pointer-events: none;
}

.fight-booking-inner {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  gap: 8vw;
  align-items: center;
}

.fight-booking-content {
  position: relative;
  z-index: 1;
}

.fight-booking-content h2 {
  max-width: 700px;
  font-size: clamp(4rem, 6.5vw, 7rem);
}

.fight-booking-content > .lead {
  max-width: 590px;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.fight-booking-content > p:not(.eyebrow, .lead) {
  max-width: 570px;
  color: var(--muted);
}

.fight-booking-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
}

.fight-booking-actions > span {
  max-width: 230px;
  color: #88847e;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.6;
  text-transform: uppercase;
}

.fight-booking-media {
  position: relative;
  height: 700px;
  margin: 0;
  overflow: hidden;
  background: #191919;
}

.fight-booking-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 8, 0.76));
  pointer-events: none;
}

.fight-booking-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(0.82) contrast(1.08);
}

.fight-booking-media figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(247, 245, 240, 0.72);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fight-booking-media figcaption span:first-child {
  color: var(--white);
}

.mentorship {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 8vw;
  align-items: center;
}

.mentorship-media {
  position: relative;
  height: 680px;
  overflow: hidden;
  background: #161616;
}

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

.mentorship-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(1.04);
}

.image-tag {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  padding: 12px 17px;
  color: var(--white);
  background: var(--red);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mentorship-content h2 {
  font-size: clamp(4rem, 6.3vw, 6.6rem);
}

.mentorship-content > .lead {
  max-width: 580px;
  color: #4c4944;
}

.mentor-points {
  padding: 0;
  margin: 45px 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.mentor-points li {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mentor-points span {
  color: var(--red);
  font-family: var(--display);
}

.contact {
  overflow: hidden;
  color: var(--white);
  background: var(--red-dark);
}

.contact::before {
  position: absolute;
  top: -30%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  content: "";
  border: 1px solid rgba(247, 245, 240, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(247, 245, 240, 0.035), 0 0 0 14vw rgba(247, 245, 240, 0.025);
}

.contact-glow {
  position: absolute;
  inset: auto auto -50% -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: rgba(255, 65, 65, 0.38);
  filter: blur(100px);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(500px, 1.15fr);
  gap: 10vw;
}

.contact-heading,
.contact-form,
.field {
  min-width: 0;
}

.contact-heading h2 {
  margin-bottom: 28px;
  font-size: clamp(5rem, 10vw, 10rem);
}

.contact-heading > p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(247, 245, 240, 0.75);
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 18px;
  align-self: center;
  padding: 42px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(77, 0, 0, 0.28);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.field label span {
  color: #918c83;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17, 16, 15, 0.3);
  border-radius: 0;
  outline: 0;
  transition: border-color 180ms ease;
}

.field input,
.field select {
  height: 44px;
}

.field select {
  padding-right: 34px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%2311100f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 14px 8px;
}

.field textarea {
  padding-block: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #948f87;
}

.contact-form .button {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: -10px 0 0;
  color: #77726b;
  font-size: 0.68rem;
}

.form-note.is-error {
  color: var(--red-dark);
  font-weight: 700;
}

.gallery-page {
  background: var(--black);
}

.gallery-page .site-header {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(12px);
}

.gallery-hero {
  position: relative;
  min-height: 720px;
  padding-block: 220px 110px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(216, 36, 36, 0.1), transparent 45%),
    var(--black);
}

.gallery-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  content: "";
  background: linear-gradient(transparent, var(--black));
  pointer-events: none;
}

.gallery-hero-glow {
  position: absolute;
  top: 15%;
  right: -8%;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: rgba(216, 36, 36, 0.2);
  filter: blur(110px);
  pointer-events: none;
}

.gallery-hero-inner {
  position: relative;
  z-index: 1;
}

.gallery-hero h1 {
  max-width: 1120px;
  margin-bottom: 52px;
  font-size: clamp(5rem, 10.5vw, 10rem);
}

.gallery-hero h1 em {
  color: var(--red);
  font-style: normal;
}

.gallery-hero-meta {
  display: grid;
  max-width: 820px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: end;
}

.gallery-hero-meta p {
  margin: 0;
  color: #c0bcb5;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
}

.gallery-hero-meta span {
  padding-bottom: 5px;
  color: #817d77;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.gallery-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 80px;
  align-items: end;
  margin-bottom: 90px;
}

.gallery-archive-head h2 {
  margin-bottom: 0;
}

.gallery-archive-head > p {
  margin-bottom: 10px;
  color: var(--muted);
}

.gallery-grid {
  columns: 3;
  column-gap: 18px;
}

.gallery-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  break-inside: avoid;
  background: #151515;
}

.gallery-card a {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-card a::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  content: "Ampliar";
  color: var(--white);
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(247, 245, 240, 0.3);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-card a:hover::after,
.gallery-card a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card img {
  width: 100%;
  height: auto;
  filter: saturate(0.9) contrast(1.03);
  transition: filter 400ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-card:hover img {
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.025);
}

.gallery-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  padding: 14px 18px;
  color: #77736d;
  border-top: 1px solid rgba(247, 245, 240, 0.08);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gallery-card figcaption strong {
  color: var(--white);
  font-weight: 800;
  text-align: right;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  color: var(--white);
  background: rgba(5, 5, 5, 0.97);
  border: 0;
}

.lightbox::backdrop {
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox[open] {
  display: block;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-figure {
  display: grid;
  width: min(1400px, calc(100vw - 180px));
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  padding-block: 48px 24px;
  margin: 0 auto;
  touch-action: pan-y;
}

.lightbox-media {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.lightbox-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-figure figcaption {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  min-height: 42px;
  color: #7f7b74;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-figure figcaption strong {
  color: var(--white);
  font-weight: 800;
}

.lightbox-close,
.lightbox-control {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 14px;
  place-items: center;
  color: var(--white);
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(247, 245, 240, 0.28);
  border-radius: 0;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-control:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-close:focus-visible,
.lightbox-control:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.lightbox-close svg,
.lightbox-control svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-control {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-previous {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.gallery-cta {
  padding-block: 110px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(216, 36, 36, 0.2), transparent 55%),
    var(--ink);
}

.gallery-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 8vw;
  align-items: end;
}

.gallery-cta h2 {
  margin-bottom: 0;
  font-size: clamp(4rem, 7vw, 7rem);
}

.gallery-cta-inner > div:last-child p {
  margin-bottom: 34px;
  color: var(--muted);
}

.site-footer {
  padding-block: 70px 28px;
  color: var(--white);
  background: var(--black);
}

.footer-main,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-footer {
  min-width: 180px;
}

.footer-main > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.footer-meta a {
  color: #99958e;
  text-decoration: underline;
  text-decoration-color: rgba(153, 149, 142, 0.45);
  text-underline-offset: 3px;
}

.footer-meta a:hover {
  color: var(--white);
}

.back-to-top {
  display: inline-flex;
  min-width: 180px;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta {
  padding-top: 38px;
  margin-top: 58px;
  color: #67645f;
  border-top: 1px solid var(--line);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

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

.method-card:nth-child(2) {
  transition-delay: 90ms;
}

.method-card:nth-child(3) {
  transition-delay: 180ms;
}

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

@keyframes film-crossfade {
  0%,
  16% {
    opacity: 1;
  }

  20%,
  96% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 56px, 920px);
  }

  .site-header {
    padding-inline: 28px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav > a:not(.nav-cta):nth-child(5) {
    display: none;
  }

  .hero-location {
    right: 28px;
  }

  .scroll-cue {
    display: none;
  }

  .intro,
  .training,
  .fight-booking-inner,
  .mentorship,
  .contact-inner {
    gap: 6vw;
  }

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

  .training {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .mentorship {
    grid-template-columns: 1fr 0.85fr;
  }

  .fight-booking-inner {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .fight-booking-media {
    height: 620px;
  }

  .mentorship-media {
    height: 600px;
  }

  .contact-inner {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100vw - 40px);
  }

  .section {
    padding-block: 90px;
  }

  h2 {
    font-size: clamp(3.5rem, 17vw, 5.6rem);
  }

  .site-header,
  .site-header.is-scrolled,
  .gallery-page .site-header {
    height: 70px;
    padding-inline: 20px;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: none;
  }

  .site-header .brand {
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    z-index: 2;
    display: block;
  }

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

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

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    width: 100vw;
    min-height: 100dvh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding:
      calc(96px + env(safe-area-inset-top))
      24px
      calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    visibility: hidden;
    background: var(--black);
    opacity: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav > a,
  .site-nav > a:not(.nav-cta):nth-child(5) {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 2.2rem;
    letter-spacing: 0.02em;
  }

  .site-nav .nav-cta {
    padding: 18px;
    margin-top: 30px;
    font-family: var(--body);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .hero {
    min-height: 800px;
  }

  .hero-image {
    background-position: 69% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.16)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.9) 3%, rgba(5, 5, 5, 0.05) 72%);
  }

  .hero-content {
    padding-block: 130px 60px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 24vw, 7.2rem);
  }

  .hero-copy {
    max-width: 90%;
  }

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

  .hero-location {
    top: 100px;
    right: 20px;
    bottom: auto;
  }

  .section-index {
    top: 95px;
  }

  .intro,
  .training,
  .fight-booking-inner,
  .mentorship,
  .contact-inner,
  .section-head {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 60px;
  }

  .section-head {
    gap: 30px;
    margin-bottom: 56px;
  }

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

  .fight-gallery {
    grid-template-columns: 1fr;
    padding-bottom: 90px;
  }

  .fight-shot {
    height: 76vw;
  }

  .fight-shot-portrait {
    height: 108vw;
  }

  .method-card {
    min-height: 330px;
  }

  .method-icon {
    margin-block: 40px 28px;
  }

  .training {
    gap: 60px;
  }

  .training-copy {
    position: static;
  }

  .training-row {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding-block: 20px;
  }

  .training-row p {
    grid-column: 2;
    text-align: left;
  }

  .film {
    min-height: 620px;
  }

  .film-overlay {
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.76), rgba(8, 8, 8, 0.14));
  }

  .fight-booking-inner {
    gap: 60px;
  }

  .fight-booking-media {
    height: 80vw;
    min-height: 480px;
  }

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

  .mentorship {
    gap: 60px;
  }

  .mentorship-media {
    height: 70vw;
  }

  .contact-inner {
    gap: 50px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-main {
    flex-direction: column;
    gap: 30px;
  }

  .brand-footer,
  .back-to-top {
    min-width: auto;
  }

  .footer-main > p {
    max-width: 300px;
  }

  .gallery-hero {
    min-height: 680px;
    padding-block: 170px 90px;
  }

  .gallery-hero h1 {
    font-size: clamp(4.4rem, 18vw, 7rem);
  }

  .gallery-hero-meta,
  .gallery-archive-head,
  .gallery-cta-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .gallery-archive-head {
    margin-bottom: 56px;
  }

  .gallery-grid {
    columns: 2;
  }

  .gallery-cta {
    padding-block: 90px;
  }
}

@media (max-width: 520px) {
  .hero-eyebrow span + span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(4rem, 23vw, 5.8rem);
  }

  .hero-copy {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .hero-location {
    display: none;
  }

  .facts div {
    grid-template-columns: 80px 1fr;
  }

  .method-card {
    padding: 28px;
  }

  .mentorship-media {
    height: 420px;
  }

  .fight-booking-media {
    height: 480px;
    min-height: 0;
  }

  .contact-heading h2 {
    font-size: clamp(3.25rem, 15.8vw, 4rem);
  }

  .contact-heading > p:not(.eyebrow) {
    max-width: 100%;
    font-size: 1rem;
  }

  .contact-form {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 18px;
  }

  .field-wide {
    grid-column: auto;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 1rem;
  }

  .contact-form .button {
    gap: 16px;
    padding-inline: 18px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .gallery-hero {
    min-height: 640px;
    padding-block: 150px 80px;
  }

  .gallery-hero h1 {
    margin-bottom: 36px;
    font-size: clamp(3.8rem, 19vw, 5.2rem);
  }

  .gallery-hero-meta {
    gap: 22px;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-card {
    margin-bottom: 14px;
  }

  .gallery-card figcaption {
    min-height: 58px;
    padding-inline: 15px;
  }

  .gallery-card a::after {
    display: none;
  }

  .lightbox-figure {
    width: 100%;
    gap: 12px;
    padding: 68px 14px 18px;
  }

  .lightbox-figure figcaption {
    grid-template-columns: 1fr auto;
    gap: 7px 16px;
    padding-inline: 4px;
  }

  .lightbox-figure figcaption strong {
    grid-row: 2;
  }

  .lightbox-figure figcaption [data-lightbox-count] {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .lightbox-close,
  .lightbox-control {
    width: 46px;
    height: 46px;
    padding: 12px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-control {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .lightbox-previous {
    left: 50%;
    margin-left: -56px;
  }

  .lightbox-next {
    right: 50%;
    margin-right: -56px;
  }

  .lightbox-figure {
    padding-bottom: 78px;
  }

  .gallery-cta h2 {
    font-size: clamp(3.6rem, 17vw, 5rem);
  }
}

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

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

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

  .film-slide {
    animation: none !important;
    opacity: 0;
  }

  .film-slide:first-child {
    opacity: 1;
  }
}
