@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500&family=Montserrat:wght@400;500;700&family=Oswald:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #F0EDE8;
  --cream-bg: #EFECE4;
  --black: #000000;
  --dark: #111111;
  --darker: #0A0A0A;
  --white: #FFFFFF;
  --button-texture-dark: url('../assets/images/figma/button_texture_dark-e0744d8e7e716cca.webp?v=2');
  --button-texture-dark-layer: linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)), var(--button-texture-dark);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* запрет бокового скролла: декоративные элементы выходят за край экрана */
  overflow-x: clip;
}

html.m13-nav-scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
  scrollbar-gutter: stable;
}

html.m13-nav-scroll-locked body {
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  background-color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  color: var(--cream);
  overflow-x: clip;
  max-width: 100vw;
}

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

img {
  display: block;
}

/* ==================== IMAGE FILTERS (from Figma) ==================== */
/* saturation = -1.0  -> black & white */
.img-bw {
  filter: grayscale(1);
}
/* exposure = -1.0 -> strongly darkened */
.img-dark {
  filter: brightness(0.4);
}
/* exposure ≈ -0.4 -> slightly dimmed */
.img-dim {
  filter: brightness(0.72);
}
/* combined b&w + darkened */
.img-bw-dark {
  filter: grayscale(1) brightness(0.4);
}

/* Group filters matching Figma image fills */
.fights__photo { filter: grayscale(1); }
.direction-card__bg { filter: grayscale(1); }
/* Figma: Cyber Club (b878a7cc) and Workshop (f483de23) fills have no saturation filter */
.direction-card__bg--color { filter: none; }
.press-card__image { filter: grayscale(1); }
.discipline-item__bg { filter: grayscale(1); }

/* ==================== FONTS ==================== */
@font-face {
  font-family: 'GothamPro';
  src: local('Montserrat'), local('Arial');
  font-weight: 400;
}

@font-face {
  font-family: 'Carnevalee Freakshow';
  src: url('../assets/fonts/CarnevaleeFreakshow.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Замена Impact для устройств без него (iOS/Android): Oswald 500 локально */
@font-face {
  font-family: 'M13Impact';
  src: url('../assets/fonts/Oswald500-cyrillic-ext.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'M13Impact';
  src: url('../assets/fonts/Oswald500-cyrillic.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'M13Impact';
  src: url('../assets/fonts/Oswald500-latin-ext.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'M13Impact';
  src: url('../assets/fonts/Oswald500-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

/* ==================== NAVIGATION ==================== */
.nav {
  background-color: var(--black);
  height: 67px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  width: 61px;
  height: 32px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav__links li {
  position: relative;
}

.nav__links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.145em; /* Figma: 1.6px / 11px */
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__links a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

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

.nav__right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--cream);
}

.nav__lang a {
  cursor: pointer;
  transition: color 0.15s;
}

.nav__lang a:hover,
.nav__lang a.nav__lang--active {
  color: var(--white);
  font-weight: 700;
}

.nav__lang span {
  opacity: 0.5;
}

.nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid rgba(240, 237, 232, 0.4);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.nav__cta:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  background-color: #0A0A0A;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Figma: flat SOLID rgba(10,10,10,0.50) over hero photo */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
}

/* Figma: image 2 (smoke 234338ac), opacity 0.30, 1440x810 from top */
.hero__smoke {
  position: absolute;
  top: 17px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 112px; /* Figma: buttons end 112px above section bottom */
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__actions {
  margin-top: 24px;
}

.hero__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.11em; /* Figma: 2px / 18px */
  text-transform: uppercase;
}

.hero__logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.hero__logo--big {
  width: 342px;
  height: 180px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cream);
  color: var(--black);
  border: none;
}

.btn--primary:hover {
  background: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn--ghost:hover {
  border-color: var(--white);
}

.btn--dark {
  background-color: #111111;
  color: var(--cream);
  border: none;
}

.btn--dark:hover {
  background-color: #222;
}

/* ==================== ANNOUNCEMENT ==================== */
.announcement {
  background-color: var(--cream);
  height: 68px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.announcement__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.announcement__dots {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.announcement__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
  display: block;
}

/* Figma: 2nd and 3rd dots at 20% opacity */
.announcement__dots span:nth-child(2),
.announcement__dots span:nth-child(3) {
  opacity: 0.2;
}

.announcement__text {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.083em; /* Figma: 2px / 24px */
  flex: 1;
}

.announcement__link {
  flex-shrink: 0;
  background-color: #111111;
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 14px 24px;
  white-space: nowrap;
}

.announcement__link:hover {
  background-color: #222;
}

/* ==================== FIGHTS SECTION ==================== */
.fights {
  position: relative;
  min-height: 760px; /* Figma: 1440x760 */
  background-color: #0A0A0A;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gray M13 logo watermark behind content (Figma: 852px, opacity 0.30, top 78px) */
.fights__watermark {
  position: absolute;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: 852px;
  max-width: 70%;
  height: auto;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

/* White smoke behind the boxers (Figma: opacity 0.5) */
.fights__smoke {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 115%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}

/* Two boxers flanking the content (Figma: larger than section, cropped) */
.fights__boxer {
  position: absolute;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  z-index: 3;
}

.fights__boxer--left {
  left: -2%;
  height: 120%;
  bottom: -7%;
}

.fights__boxer--right {
  right: -4%;
  height: 131%;
  bottom: -11%;
}

/* Shadow overlay on top of boxers (Figma Rectangle 6 gradient) */
.fights__gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0A0A 12%, rgba(10,10,10,0.75) 58%, rgba(10,10,10,0) 100%);
  z-index: 4;
}

/* ===== Банер «Скоро буде» (Figma 6658:5177) ===== */
.fights__soon {
  display: none; /* показується лише при comingSoon=true */
  position: relative;
  z-index: 5;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 40px;
}
.fights__soon-title {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 80px;
  font-weight: 400;
  color: #F0EDE8;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.fights__soon-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  letter-spacing: 0.04em;
}
.fights__soon-social {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}
.fights__soon-social a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.fights__soon-social a:hover { color: #F0EDE8; }

/* В режимі comingSoon ховаємо бійців і countdown, показуємо банер */
.fights--soon .fights__boxer { display: none; }
.fights--soon .fights__content { display: none; }
.fights--soon .fights__soon { display: flex; }

.fights__content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fights__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.125em; /* Figma: 2px / 16px */
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.fights__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C00303; /* Figma: rgba(192,3,3) */
  display: inline-block;
}

.fights__title {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 56px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.21; /* Figma: 68/56 */
  max-width: 1100px;
  margin-bottom: 12px;
  letter-spacing: 0.036em;
}

.fights__location {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

.fights__countdown {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  padding: 26px 60px;
  width: 1000px;
  max-width: 100%;
}

/* Dark tape behind the countdown (Figma: image d707eaae, exposure -1.0) */
.fights__countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/frame_45_d707eaae.webp') center / 100% 100% no-repeat;
  filter: brightness(0.13);
  opacity: 1;
  z-index: 0;
}

.fights__countdown .countdown__item {
  position: relative;
  z-index: 1;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 209px;
}

.countdown__number {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
  min-width: 70px;
  text-align: center;
}

.countdown__label {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.083em; /* Figma: 2px / 24px */
}

.fights__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn--fights-primary {
  background: var(--cream);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  padding: 14px 36px;
  letter-spacing: 0.06em;
}

.btn--fights-primary:hover {
  background: var(--white);
}

.btn--fights-ghost {
  background: transparent;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 15px;
  width: 229px;
  height: 47px;
  padding: 0 24px;
  border: 1px solid var(--white);
  letter-spacing: 1.1px;
  box-sizing: border-box;
}

/* ==================== DIRECTIONS ==================== */
.directions {
  background-color: #111111;
  padding: 100px 0;
}

.directions__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.section-title {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.042em; /* Figma: 2px / 48px */
  margin-bottom: 80px; /* Figma: 80px to grid */
}

.directions__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.direction-card {
  position: relative;
  flex: 0 1 calc((100% - 24px) / 2);
  max-width: 628px;
  height: 155px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--black);
}

.direction-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* Figma: SOLID rgba(0,0,0,0.40) */
  z-index: 1;
  transition: background 0.3s;
}

.direction-card:hover::before {
  background: rgba(0,0,0,0.25);
}

.direction-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
}

.direction-card:hover .direction-card__bg {
  transform: scale(1.03);
}

/* Figma: logo + name centered horizontally, 13px gap */
.direction-card__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  gap: 13px;
}

/* цифри "13" у Carnevalee Freakshow менші за літери — масштабуємо до рівня */
.num {
  font-size: 1.31em;
  line-height: 0;
  vertical-align: baseline;
  position: relative;
  top: 0.090em;
}

/* застарілий клас (логотип-картинка) — залишаємо для зворотньої сумісності */
.m13-word {
  height: 0.72em;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
}

/* Exact Figma M13 mark, composed separately from the editable direction name. */
.direction-card__logo {
  width: 73px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.direction-card__name {
  font-family: 'Carnevalee Freakshow', 'Pirata One', 'Impact', 'Arial Narrow', cursive, sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: #F5F5F0;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* ==================== ABOUT SECTION ==================== */
.about {
  position: relative;
  height: 704px;
  overflow: hidden;
  background-color: #0A0A0A;
}

.about__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.94) 40%, rgba(10,10,10,0.82) 100%);
}

.about__content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about__text-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__photo-wrap {
  display: flex;
  justify-content: flex-end;
}

.about__photo {
  width: 100%;
  max-width: 600px;
  height: 480px;
  object-fit: cover;
}

.about__title {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--cream);
}

/* Figma pattern: text block with 1px white left border, 24px padding */
.text-rail {
  border-left: 1px solid var(--white);
  padding-left: 24px;
}

/* Figma Frame 163: 1px white left border, 24px left padding */
.about__paragraphs {
  border-left: 1px solid var(--white);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
}

.about__paragraph {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; /* Figma: Gotham Pro 16px */
  font-weight: 400;
  color: var(--white);
  line-height: 1.55;
  letter-spacing: 0.125em; /* Figma: 2px / 16px */
}

/* ==================== QUOTE SECTION ==================== */
.quote-section {
  background-color: #111111;
  min-height: 704px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.quote-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.quote-section__image {
  position: relative;
  height: 480px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.quote-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-section__text {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Figma: 24px between heading and quote */
  min-width: 0;
}

.quote-section__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--cream);
  line-height: 0.96; /* Figma: 46/48 */
  letter-spacing: 0.042em; /* Figma: 2px / 48px */
}

.quote-section__quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; /* Figma: Gotham Pro 16px */
  font-weight: 400;
  color: var(--white);
  line-height: 1.5; /* Figma: 24/16 */
  letter-spacing: 0.125em; /* Figma: 2px / 16px */
}

.quote-section__author {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: 0.125em;
}

/* ==================== PRESS SECTION ==================== */
.press {
  position: relative;
  min-height: 687px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background-color: #111111;
}

.press__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.press__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.75);
}

.press__content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

.press__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px; /* Figma: 80px to cards */
}

.press__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.07em; /* Figma: 1px / 14px */
  text-transform: uppercase;
}

.press__link:hover {
  opacity: 1;
}

.press__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; /* Figma: cards are adjacent, no gap */
}

.press-card {
  position: relative;
  background: transparent; /* Figma: card body has no fill */
  cursor: pointer;
  transition: transform 0.2s;
}

.press-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.10);
}

.press-card:hover {
  transform: translateY(-4px);
}

.press-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #1a1a1a;
}

.press-card__image--placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-card__body {
  padding: 20px;
  height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.press-card__source {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--cream);
  opacity: 0.5; /* Figma: opacity 0.50 */
  text-transform: uppercase;
  letter-spacing: 0.083em; /* Figma: 1px / 12px */
}

.press-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.4;
  flex: 1;
  margin: 10px 0;
}

.press-card__date {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--cream);
  opacity: 0.5; /* Figma: opacity 0.50 */
  letter-spacing: 0.083em;
}

/* ==================== SUPPORT SECTION ==================== */
.support {
  background-color: #EFECE4;
  min-height: 829px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.support__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

.support__big-text {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 200px; /* Figma: 200px, lh 200, ls -10px */
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.support__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5; /* Figma: 36/24 */
  letter-spacing: 0.083em; /* Figma: 2px / 24px */
  max-width: 728px;
  margin-bottom: 40px;
}

.support__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn--support-primary {
  background-color: #111111;
  color: var(--cream);
  font-size: 14px;
  padding: 20px 24px;
}

.btn--support-primary:hover {
  background-color: #222;
}

.btn--support-ghost {
  background: transparent;
  color: var(--black);
  font-size: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(0,0,0,0.3);
}

.btn--support-ghost:hover {
  border-color: var(--black);
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--black);
  padding: 64px 0 40px;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.footer__top {
  display: flex;
  gap: 80px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.footer__brand {
  flex-shrink: 0;
  min-width: 219px;
}

.footer__logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer__logo {
  width: 61px;
  height: 32px;
  object-fit: contain;
}

.footer__tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: 0.167em; /* Figma: 2px / 12px */
  text-transform: uppercase;
  white-space: pre-line;
}

.footer__nav {
  display: flex;
  gap: 0;
  flex: 1;
  justify-content: space-between;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.114em; /* Figma: 1.6px / 14px */
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer__col-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--cream);
  opacity: 0.7; /* Figma: 0.70 */
  letter-spacing: 0.133em; /* Figma: 1.6px / 12px */
  text-transform: uppercase;
  display: block;
  transition: opacity 0.15s;
}

.footer__col-link:hover {
  opacity: 1;
}

.footer__bottom {
  border-top: 1px solid var(--white); /* Figma: 1px solid white */
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: var(--white);
  opacity: 0.5; /* Figma: 0.50 */
  letter-spacing: 0.2em; /* Figma: 2px / 10px */
}

.footer__made {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: var(--white);
  opacity: 0.5;
  letter-spacing: 0.2em;
}

.footer__social {
  display: flex;
  gap: 24px;
}

.footer__social a {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: var(--white);
  opacity: 0.5;
  letter-spacing: 0.2em;
  transition: opacity 0.15s;
}

.footer__social a:hover {
  opacity: 1;
}

/* ==================== DROPDOWN ARROW ==================== */
.arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.arrow-icon svg {
  width: 10px;
  height: 10px;
}

/* ==================== DROPDOWN MENU ==================== */
.nav__links li {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #111111;
  border: 1px solid rgba(240,237,232,0.12);
  min-width: 200px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s ease;
  pointer-events: none;
}

/* невидимый «мостик» над меню: курсор пересекает зазор 8px, не теряя hover */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__links li:hover .nav__dropdown,
.nav__links li:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__links li:hover .arrow-icon {
  transform: rotate(180deg);
}

.nav__dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav__dropdown a:hover {
  background: rgba(240,237,232,0.08);
  color: var(--white);
}

/* ==================== RESPONSIVE (basic) ==================== */
@media (max-width: 1280px) {
  .nav__inner,
  .hero__content,
  .fights__content,
  .directions__inner,
  .about__content,
  .quote-section__inner,
  .press__content,
  .support__inner,
  .footer__inner,
  .announcement__inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1024px) {
  .countdown__item {
    min-width: 130px;
  }
  .support__big-text {
    font-size: 120px;
  }
  .press__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .directions__grid {
    gap: 24px;
  }
  .direction-card {
    flex-basis: 100%;
    max-width: none;
  }
  .about__content {
    grid-template-columns: 1fr;
    height: auto;
    align-items: stretch;
    gap: 48px;
  }
  .about {
    height: auto;
    min-height: 704px;
    padding: 112px 0;
    overflow: visible;
  }
  .about__photo-wrap {
    justify-content: stretch;
  }
  .about__photo {
    max-width: none;
    width: 100%;
    height: clamp(360px, 52vw, 520px);
  }
  .quote-section__inner {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Мобильная навигация: бургер + полноэкранное меню
   ===================================================== */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #F0EDE8;
  transition: transform 0.25s, opacity 0.2s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Figma «Navigation» 6360:3559: полноэкранное меню, Impact 48, кнопка внизу */
.nav__mobile {
  display: none;
  position: fixed;
  top: 67px; left: 0; right: 0; bottom: 0;
  background: #0A0A0A;
  z-index: 1000;
  overflow-y: auto;
  padding: 56px 48px calc(48px + env(safe-area-inset-bottom));
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav__mobile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px;
}
.nav__mobile-title {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 59px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F0EDE8;
  text-decoration: none;
}
.nav__mobile-title--small {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 1.65px;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.nav__mobile-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav__mobile-toggle svg {
  width: 18px;
  height: 9px;
  transition: transform 0.2s;
}
.nav__mobile-group.is-open .nav__mobile-toggle svg { transform: rotate(180deg); }
.nav__mobile-sub {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px 4px 16px 28px;
}
.nav__mobile-group.is-open .nav__mobile-sub { display: flex; }
.nav__mobile-sub a {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F0EDE8;
  text-decoration: none;
}
.nav__mobile-lang {
  justify-content: center;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 10px 0;
}
.nav__mobile-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.nav__mobile-lang span {
  pointer-events: none;
}
.nav__mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FFFFFF;
  background: transparent;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 21px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__right { display: none; }
  .nav__burger { display: flex; }

  .announcement {
    height: auto;
    padding: 12px 0;
  }

  .announcement__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .announcement__text {
    order: 1;
    width: 100%;
    flex: none;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: 2px;
  }

  .announcement__dots {
    order: 2;
  }

  .announcement__link {
    order: 3;
    width: 100%;
    margin-top: 16px;
    padding: 16px 21px;
    border: 1px solid #F0EDE8;
    background-color: #111111;
    color: #F0EDE8;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .fights__title {
    font-size: 36px;
  }
  .fights__countdown {
    width: auto;
    padding: 20px 24px;
    gap: 8px;
  }
  .countdown__item {
    min-width: 0;
    flex: 1;
  }
  .support__big-text {
    font-size: 80px;
  }
  .press__cards {
    grid-template-columns: 1fr 1fr;
  }
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }
  .footer__nav {
    flex-wrap: wrap;
    gap: 32px;
  }
}

@media (max-width: 1000px) {
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }
  .footer__nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 32px;
  }
  .footer__col {
    min-width: 0;
  }
  .footer__col-title,
  .footer__col-link {
    overflow-wrap: anywhere;
  }
  .footer__bottom {
    flex-wrap: wrap;
    gap: 24px;
  }
}

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

/* =====================================================
   SHOP: floating cart + cart drawer (shared)
   ===================================================== */
.shop-cart {
  position: fixed;
  top: 50%;
  right: clamp(24px, 3.5vw, 50px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #EFECE4;
  border: 1px solid #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
}
.shop-cart__badge {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid #EFECE4;
  color: var(--white);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-cart__badge[data-count="0"] { display: none; }

@media (max-width: 768px) {
  .shop-cart {
    top: auto;
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 32px);
    transform: none;
  }
}

/* =====================================================
   SHARED POPUPS
   ===================================================== */
.m13-cart-popup {
  position: fixed;
  top: 154px;
  right: 50px;
  z-index: 260;
  width: 300px;
  min-height: 158px;
  padding: 24px;
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 20px 12.5px rgba(0,0,0,0.1), 0 8px 5px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.m13-cart-popup.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.m13-cart-popup__title {
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.m13-cart-popup__item {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: #000000;
  margin-bottom: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m13-cart-popup__button {
  width: 252px;
  height: 42px;
  border: 0;
  background: #000000;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.m13-popup {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.72);
}
.m13-popup.is-open { display: flex; }
body.is-m13-popup-open { overflow: hidden; }
.m13-popup__dialog {
  position: relative;
  width: min(480px, calc(100vw - 40px));
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 20px 12.5px rgba(0,0,0,0.1), 0 8px 5px rgba(0,0,0,0.1);
  padding: 32px;
}
.m13-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: #000000;
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.m13-popup__eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 8px;
}
.m13-popup__title {
  max-width: 380px;
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 14px;
}
.m13-popup__body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #111111;
  margin-bottom: 18px;
}
.m13-popup__meta {
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: rgba(0,0,0,0.62);
  margin-bottom: 20px;
}
.m13-popup__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.m13-popup__primary,
.m13-popup__secondary {
  min-height: 48px;
  padding: 14px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.m13-popup__primary {
  border: 0;
  background: #000000;
  color: #FFFFFF;
}
.m13-popup__secondary {
  border: 1px solid #000000;
  background: #FFFFFF;
  color: #000000;
}

@media (max-width: 768px) {
  .m13-cart-popup {
    top: 180px;
    right: 20px;
    left: 20px;
    width: auto;
  }
  .m13-cart-popup__button {
    width: 100%;
  }
  .m13-popup {
    align-items: flex-end;
    padding: 20px;
  }
  .m13-popup__dialog {
    width: 100%;
    padding: 28px 24px 24px;
  }
  .m13-popup__title {
    font-size: 26px;
    line-height: 32px;
  }
}

/* =====================================================
   Мобильная версия (телефоны) — по Figma «Home Mobile» 390px
   ===================================================== */
@media (max-width: 600px) {
  .nav__inner,
  .hero__content,
  .directions__inner,
  .about__content,
  .quote-section__inner,
  .press__content,
  .support__inner,
  .footer__inner,
  .announcement__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ---- hero (Figma: 390x700, контент по центру, кнопки на всю ширину) ---- */
  .hero {
    height: 700px;
    max-height: calc(100svh - 67px);
    min-height: 540px;
  }
  .hero__content {
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    height: 100%;
  }
  .hero__inner {
    width: 100%;
    align-items: center;
    gap: 12px;
  }
  .hero__label { font-size: 14px; letter-spacing: 2px; line-height: 28px; }
  .hero__logo, .hero__logo--big {
    width: min(294px, 100%);
    height: 155px;
    object-position: center;
  }
  .hero__actions {
    margin-top: 36px;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero__actions .btn { width: 100%; padding: 15px 21px; font-size: 14px; letter-spacing: 1.1px; }

  /* ---- анонс (Figma: 390x181, столбик, тёмная кнопка на всю ширину) ---- */
  .announcement { height: auto; padding: 12px 0; }
  .announcement__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .announcement__text { width: 100%; flex: none; font-size: 24px; line-height: 29px; letter-spacing: 2px; }
  .announcement__dots { order: 2; }
  .announcement__text { order: 1; }
  .announcement__link {
    order: 3;
    width: 100%;
    margin-top: 16px;
    text-align: center;
    background-color: #111111;
    border: 1px solid #F0EDE8;
    color: #F0EDE8;
    padding: 16px 21px;
  }

  /* ---- наступний бій (Figma: 390x965, бойцы в кадре сверху, контент ниже) ---- */
  .fights {
    min-height: 0;
    display: block;
    height: auto;
  }
  .fights__watermark {
    top: 59px;
    width: 214px;
    max-width: 55%;
  }
  .fights__smoke {
    top: 0;
    bottom: auto;
    height: 800px;
    width: 420%;
    max-width: none;
  }
  .fights__boxer {
    object-fit: cover;
    opacity: 1;
  }
  .fights__boxer--left {
    left: -109px;
    top: 69px;
    bottom: auto;
    width: 363px;
    height: 545px;
  }
  .fights__boxer--right {
    right: -130px;
    top: 18px;
    bottom: auto;
    width: 398px;
    height: 596px;
  }
  .fights__gradient-bottom {
    top: 78px;
    background: linear-gradient(to top, #0A0A0A 40%, rgba(10,10,10,0.75) 74%, rgba(10,10,10,0) 100%);
  }
  .fights__content {
    padding: 300px 20px 112px;
  }
  .fights__label { font-size: 16px; letter-spacing: 2px; margin-bottom: 24px; }
  .fights__title { font-size: 32px; line-height: 32px; letter-spacing: 2px; margin-bottom: 24px; }
  .fights__location { font-size: 16px; line-height: 18px; letter-spacing: 2px; margin-bottom: 36px; }
  .fights__countdown {
    width: 100%;
    flex-wrap: nowrap;
    padding: 12px;
    gap: 12px;
    margin-bottom: 36px;
  }
  .countdown__item { padding: 16px 0; gap: 10px; }
  .countdown__number { font-size: 40px; line-height: 49px; min-width: 0; }
  .countdown__label { font-size: 20px; letter-spacing: 2px; }
  /* в макете на мобиле 3 ячейки — секунды прячем */
  .fights__countdown .countdown__item:nth-child(4) { display: none; }
  .fights__actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .fights__actions .btn { width: 100%; padding: 16px 24px; font-size: 16px; }

  /* ---- направления (Figma: карточки 350x120, Carnivalee 35px) ---- */
  .directions { padding: 112px 0; }
  .section-title { font-size: 36px; line-height: 44px; margin-bottom: 80px; }
  .directions__grid { gap: 36px; }
  .direction-card { height: 120px; }
  .direction-card__logo { width: auto; height: 30px; }
  .direction-card__name { font-size: 35px; }

  /* ---- about / цитата ---- */
  .about { height: auto; padding: 112px 0; }
  .about__content { display: flex; flex-direction: column; gap: 40px; align-items: stretch; }
  .about__photo-wrap { order: -1; justify-content: stretch; }
  .about__photo-wrap img, .about__photo { width: 100%; max-width: none; height: 280px; object-fit: cover; }
  .about__title { font-size: 36px; line-height: 44px; margin-bottom: 24px; }
  .about__paragraph { font-size: 16px; line-height: 19px; }
  .quote-section { height: auto; padding: 112px 0; }
  .quote-section__inner { display: flex; flex-direction: column; gap: 80px; align-items: stretch; padding-top: 0; padding-bottom: 0; }
  .quote-section__image { width: 100%; height: auto; aspect-ratio: 5 / 4; flex: 0 0 auto; }
  .quote-section__image img { width: 100%; height: 100%; object-fit: cover; }
  .quote-section__heading { font-family: 'M13Impact', Impact, sans-serif; font-size: 36px; font-weight: 400; line-height: 44px; letter-spacing: 2px; }
  .quote-section__quote { font-size: 16px; line-height: 19px; }
  .quote-section__author { font-size: 16px; line-height: 24px; }

  /* ---- пресса (Figma: горизонтальная лента карточек 273px) ---- */
  .press { padding: 112px 0; }
  .press__content { display: flex; flex-direction: column; }
  .press__header { display: contents; }
  .press__header .section-title { font-size: 48px; line-height: 59px; }
  .press__header .section-title { order: 1; margin-bottom: 80px !important; text-align: center; }
  .press__cards { order: 2; }
  .press__link { order: 3; margin-top: 40px; align-self: center; }
  .press__cards {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0;
    margin: 0 -20px;
    padding: 0 20px;
  }
  .press-card {
    flex: 0 0 273px;
    scroll-snap-align: start;
  }

  /* ---- поддержка (Figma: Impact 80, ls -4, кнопки столбиком) ---- */
  .support { padding: 112px 0; }
  .support__big-text { font-size: clamp(54px, 16vw, 80px); line-height: 1; letter-spacing: -0.05em; }
  .support__subtitle { font-size: 20px; line-height: 30px; }
  .support__actions { flex-direction: column; gap: 12px; }
  .support__actions .btn { width: 100%; padding: 20px 24px; }

  /* ---- футер (Figma: 2 колонки) ---- */
  .footer { padding: 64px 0 32px; }
  .footer__top { flex-direction: column; gap: 48px; margin-bottom: 48px; }
  .footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 36px;
  }
  .footer__col { gap: 4px; }
  .footer__col-title {
    line-height: 1.5;
    margin-bottom: 4px;
  }
  .footer__col-link { line-height: 1.5; }
  .footer__col--fights { order: 1; }
  .footer__col--memorial { order: 2; }
  .footer__col--community { order: 3; }
  .footer__col--news { order: 4; }
  .footer__col--contacts { order: 5; }
  .footer__col--shop { order: 6; }
  .footer__bottom { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer__made { display: none; }
}

/* ==================== ДОДАТКОВІ ПРАВКИ ==================== */
/* анонс-смуга як посилання (живий слайдер) */
.announcement { text-decoration: none; cursor: pointer; }
.announcement__text { transition: opacity 0.18s ease; }
.announcement__dots span { transition: opacity 0.18s ease; }

@media (max-width: 900px) {
  .announcement__dots {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .announcement[data-slide-count="4"] .announcement__text {
    font-size: 22px;
    line-height: 27px;
    letter-spacing: 1.7px;
  }

  .announcement[data-slide-count="5"] .announcement__text {
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 1.4px;
  }
}

/* швидкі посилання-напрями: біла обводка карток */
.direction-card {
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.direction-card:hover { border-color: rgba(255, 255, 255, 0.7); }

/* ==================== GYM DIRECTION DETAIL TEMPLATE ==================== */
.gym-detail-page {
  background: #0A0A0A;
  color: #F0EDE8;
}

.gym-detail-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.gym-detail-label {
  margin: 0 0 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8F8F8F;
}

.gym-detail-label--white {
  color: #FFFFFF;
}

.gym-detail-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #050505;
  isolation: isolate;
}

.gym-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hero-bg);
  background-position: center;
  background-size: cover;
  filter: grayscale(1);
  transform: scale(1.02);
}

.gym-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.06) 60%, rgba(0, 0, 0, 0) 100%),
    var(--hero-image);
  background-position: center, center;
  background-size: cover, cover;
  filter: grayscale(1);
}

.gym-detail-hero__content {
  padding-bottom: 112px;
}

.gym-detail-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 96px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F5F5F0;
}

.gym-detail-hero p {
  max-width: 631px;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 2px;
  color: #F0EDE8;
}

.gym-detail-about {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  background: #0A0A0A;
  isolation: isolate;
}

.gym-detail-about::before,
.gym-detail-values::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

.gym-detail-about::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 10, 10, 0.84);
}

.gym-detail-about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 532px) minmax(420px, 724px);
  gap: 24px;
  justify-content: space-between;
  align-items: start;
  position: relative;
  z-index: 1;
}

.gym-detail-about h2,
.gym-detail-values h2 {
  margin: 0;
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F0EDE8;
}

.gym-detail-about__text {
  border-left: 1px solid #FFFFFF;
  padding-left: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 2px;
  color: #FFFFFF;
}

.gym-detail-about__text p {
  margin: 0;
}

.gym-detail-about__text p + p {
  margin-top: 22px;
}

.gym-detail-values {
  position: relative;
  overflow: hidden;
  padding: 112px 0 91px;
  background: #111111;
  isolation: isolate;
}

.gym-detail-values::before {
  opacity: 0.1;
}

.gym-detail-values::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #111111;
  opacity: 0.94;
}

.gym-detail-values > .gym-detail-shell {
  position: relative;
  z-index: 1;
}

.gym-detail-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.gym-detail-value {
  min-height: 245px;
  padding: 32px;
  border: 1px solid #222222;
  background: #0B0B0B;
}

.gym-detail-value img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 24px;
}

.gym-detail-value h3 {
  margin: 0 0 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 31px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #F5F5F5;
}

.gym-detail-value p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 2px;
  color: #FFFFFF;
}

.gym-detail-cta {
  padding: 112px 0;
  background: #EFECE4;
  color: #000000;
  text-align: center;
}

.gym-detail-cta h2 {
  margin: 0 auto 40px;
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(76px, 13vw, 200px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000000;
}

.gym-detail-cta p {
  max-width: 900px;
  margin: 0 auto 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 2px;
  color: #000000;
}

.gym-detail-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 17px 32px;
  background: #000000;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.gym-detail-cta__button:hover,
.gym-detail-cta__button:focus-visible {
  background: #222222;
  outline: none;
}

.gym-detail-cta.gym-detail-schedule {
  position: relative;
  overflow: hidden;
  padding: 116px 0 88px;
  background: #050505;
  color: #F0EDE8;
  text-align: center;
  isolation: isolate;
}

.gym-detail-schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--schedule-bg);
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.06);
  opacity: 0.42;
  mix-blend-mode: multiply;
}

.gym-detail-schedule::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #0A0A0A 0%, rgba(10, 10, 10, 0) 13%, rgba(10, 10, 10, 0) 87.5%, #0A0A0A 100%),
    rgba(10, 10, 10, 0.72);
}

.gym-detail-schedule > .gym-detail-shell {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  padding: 0 80px;
}

.gym-detail-schedule__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: none;
  width: 100%;
  margin: 0 0 80px;
  text-align: center;
}

.gym-detail-schedule .gym-detail-label {
  margin: 0;
  min-width: 100%;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 2px;
  color: #FFFFFF;
}

.gym-detail-schedule .gym-detail-schedule__head h2 {
  width: 100%;
  margin: 0;
  font-family: Impact, 'M13Impact', 'Arial Narrow', Arial, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F0EDE8;
}

.gym-detail-schedule .gym-detail-schedule__head p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 2px;
  color: #F0EDE8;
}

.gym-detail-schedule__grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 80px;
  padding-bottom: 4px;
}

.gym-detail-schedule__card {
  display: flex;
  flex-direction: column;
  flex: 0 0 169px;
  gap: 16px;
  min-height: 178px;
  padding: 16px 17px;
  background: #141414;
  border: 1px solid #2A2A2A;
  scroll-snap-align: start;
}

.gym-detail-schedule__card h3 {
  width: 100%;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid #2E2E2E;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  text-align: center;
  color: #F0EDE8;
}

.gym-detail-schedule__item {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 98px;
  padding: 12px 12px 12px 14px;
  background: #181818;
}

.gym-detail-schedule__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #F0EDE8;
}

.gym-detail-schedule__item + .gym-detail-schedule__item {
  margin-top: 0;
}

.gym-detail-schedule__item span,
.gym-detail-schedule__empty {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
  color: #F0EDE8;
}

.gym-detail-schedule__item span:nth-child(3),
.gym-detail-schedule__item span:nth-child(4) {
  font-size: 9px;
  line-height: 13.5px;
  color: #9E9E9E;
}

.gym-detail-schedule__item strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  color: #F0EDE8;
}

.gym-detail-schedule__empty {
  color: rgba(240, 237, 232, 0.36);
}

.gym-detail-schedule__actions {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.gym-detail-schedule__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 16px 21px;
  overflow: hidden;
  background: #FFFFFF;
  color: #0A0A0A;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: normal;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}

.gym-detail-schedule__button::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/link_ae7b08e4.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  pointer-events: none;
}

.gym-detail-schedule__button span {
  position: relative;
  z-index: 1;
}

.gym-detail-schedule__button:hover,
.gym-detail-schedule__button:focus-visible {
  background: #F0EDE8;
}

.gym-detail-schedule__button:focus-visible {
  outline: 1px solid #F0EDE8;
  outline-offset: 3px;
}

.gym-detail-missing {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: #0A0A0A;
}

.gym-detail-page .footer {
  background: #000000;
}

@media (max-width: 1024px) {
  .gym-detail-about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gym-detail-values__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .gym-detail-shell {
    padding: 0 20px;
  }

  .gym-detail-hero {
    min-height: 700px;
  }

  .gym-detail-hero__content {
    padding-bottom: 90px;
  }

  .gym-detail-hero h1 {
    font-size: 72px;
    line-height: 83px;
    letter-spacing: 2px;
    margin-bottom: 36px;
  }

  .gym-detail-hero p {
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 1px;
  }

  .gym-detail-about,
  .gym-detail-values,
  .gym-detail-cta {
    padding: 112px 0;
  }

  .gym-detail-about h2,
  .gym-detail-values h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .gym-detail-about__text {
    padding-left: 20px;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 1px;
  }

  .gym-detail-values__grid {
    gap: 16px;
    margin-top: 40px;
  }

  .gym-detail-value {
    min-height: 0;
    padding: 24px;
  }

  .gym-detail-value p {
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1px;
  }

  .gym-detail-cta h2 {
    font-size: clamp(58px, 20vw, 92px);
    line-height: 1;
  }

  .gym-detail-cta p {
    font-size: 18px;
    line-height: 28px;
  }

  .gym-detail-cta__button {
    width: 100%;
    min-height: 56px;
  }

  .gym-detail-cta.gym-detail-schedule {
    padding: 112px 0;
  }

  .gym-detail-schedule > .gym-detail-shell {
    padding: 0 20px;
  }

  .gym-detail-schedule__head {
    align-items: flex-start;
    margin-bottom: 80px;
    text-align: left;
  }

  .gym-detail-schedule .gym-detail-label {
    min-width: 0;
  }

  .gym-detail-schedule .gym-detail-schedule__head h2 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 2px;
  }

  .gym-detail-schedule .gym-detail-schedule__head p {
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 1px;
  }

  .gym-detail-schedule__grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    height: 178px;
    margin: 0 0 80px;
    padding-bottom: 0;
  }

  .gym-detail-schedule__card {
    flex: 0 0 158px;
    height: 178px;
    min-height: 178px;
    scroll-snap-align: start;
  }

  .gym-detail-schedule__card:last-child {
    margin-right: 20px;
  }

  .gym-detail-schedule__item::before {
    width: 1px;
  }

  .gym-detail-schedule__button {
    width: 100%;
    min-width: 0;
  }
}

/* зменшені вертикальні відступи між секціями на мобілці (акуратно) */
@media (max-width: 600px) {
  .directions { padding: 72px 0; }
  .about { padding: 72px 0; }
  .quote-section { padding: 112px 0; }
  .press { padding: 72px 0; }
  .support { padding: 72px 0; }
  /* перший екран → наступний блок: трохи менший внутрішній відступ */
  .fights__content { padding-top: 280px; padding-bottom: 80px; }
  /* картки преси не прилипають до країв екрана */
  .press__cards { margin: 0; padding: 0; gap: 16px; }
  .press-card { flex: 0 0 273px; }
}

.btn--dark,
.btn--dark:hover,
.announcement__link,
.announcement__link:hover,
.btn--support-primary,
.btn--support-primary:hover,
.m13-cart-popup__button,
.m13-popup__primary,
.gym-detail-cta__button,
.gym-detail-cta__button:hover,
.gym-detail-cta__button:focus-visible {
  background-color: #000000;
  background-image: var(--button-texture-dark-layer);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.listing-empty {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 8vw, 96px) 24px;
  text-align: center;
}

/* M13 MOTION */
html.m13-motion-pending::before,
html.m13-motion-pending::after,
.m13-motion {
  animation: m13-motion-safety 3000ms step-end forwards;
}

html.m13-motion-pending::before,
html.m13-motion-pending::after {
  content: "";
  position: fixed;
  z-index: 2147483200;
  pointer-events: auto;
}

html.m13-motion-pending::before {
  inset: 0;
  background: #080808 url('/assets/images/m13_logo_white.webp') center / 82px auto no-repeat;
}

html.m13-motion-pending::after {
  top: calc(50% + 49px);
  left: calc(50% - 34px);
  width: 68px;
  height: 2px;
  background: #e53935;
  transform: scaleX(0);
  transform-origin: left;
  animation: m13-motion-pulse 420ms 120ms cubic-bezier(.2,.7,.2,1) forwards,
             m13-motion-safety 3000ms step-end forwards;
}

html.m13-motion-entry-pending::before {
  background-color: #050505;
  background-size: clamp(118px, 12vw, 154px) auto;
}

html.m13-motion-entry-pending::after {
  top: auto;
  right: 24px;
  bottom: 28px;
  left: 24px;
  width: auto;
  transform: scaleX(0);
  animation: m13-motion-safety 3000ms step-end forwards;
}

.m13-motion {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  overflow: hidden;
  pointer-events: auto;
}

.m13-motion__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: #080808;
  transition: transform 200ms cubic-bezier(.72,0,.28,1);
  will-change: transform;
}

.m13-motion__panel--top {
  top: 0;
  transform: translate3d(0,-101%,0);
}

.m13-motion__panel--bottom {
  bottom: 0;
  transform: translate3d(0,101%,0);
}

.m13-motion.is-covering .m13-motion__panel,
.m13-motion.is-waiting .m13-motion__panel {
  transform: translate3d(0,0,0);
}

.m13-motion__brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 96px;
  opacity: 0;
  transform: translate3d(-50%,-50%,0);
  transition: opacity 120ms linear;
}

.m13-motion__brand img {
  display: block;
  width: 82px;
  height: auto;
}

.m13-motion__pulse {
  display: block;
  width: 68px;
  height: 2px;
  background: #e53935;
  transform: scaleX(0);
  transform-origin: left;
}

.m13-motion.is-waiting .m13-motion__brand,
.m13-motion.is-covering .m13-motion__brand {
  opacity: 1;
}

.m13-motion.is-waiting .m13-motion__pulse {
  animation: m13-motion-pulse 420ms 80ms cubic-bezier(.2,.7,.2,1) forwards;
}

.m13-motion.is-entry {
  background: #050505;
  opacity: 1;
  transition: opacity 380ms cubic-bezier(.2,.7,.2,1);
}

.m13-motion.is-entry .m13-motion__panel--top {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  transition: none;
}

.m13-motion.is-entry .m13-motion__panel--bottom {
  display: none;
}

.m13-motion.is-entry .m13-motion__brand {
  inset: 0;
  display: block;
  width: auto;
  transform: none;
}

.m13-motion.is-entry .m13-motion__brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(118px, 12vw, 154px);
  animation: m13-entry-mark 440ms cubic-bezier(.2,.7,.2,1) both;
}

.m13-motion.is-entry .m13-motion__pulse {
  position: fixed;
  right: 24px;
  bottom: 28px;
  left: 24px;
  width: auto;
  transform: scaleX(var(--m13-readiness-progress, 0));
  transform-origin: left center;
  transition: transform 120ms cubic-bezier(.2,.7,.2,1);
  animation: none;
}

.m13-motion.is-entry.is-revealing {
  opacity: 0;
}

.m13-motion.is-entry.is-revealing .m13-motion__panel--top {
  transform: none;
}

.m13-motion.is-revealing .m13-motion__brand {
  opacity: 0;
}

.m13-motion.is-revealing .m13-motion__panel--top {
  transform: translate3d(0,-101%,0);
  transition-duration: 380ms;
}

.m13-motion.is-revealing .m13-motion__panel--bottom {
  transform: translate3d(0,101%,0);
  transition-duration: 380ms;
}

@keyframes m13-motion-pulse {
  0% { transform: scaleX(0); }
  55% { transform: scaleX(1); }
  100% { transform: scaleX(.22); }
}

@keyframes m13-entry-mark {
  from { opacity: 0; transform: translate3d(-50%,calc(-50% + 12px),0) scale(.94); }
  to { opacity: 1; transform: translate3d(-50%,-50%,0); }
}

@keyframes m13-motion-safety {
  to { visibility: hidden; pointer-events: none; }
}

@keyframes m13-composition-safety {
  to { opacity: 1; transform: none; }
}

[data-m13-motion-part] {
  opacity: 1;
  transform: none;
}

[data-m13-motion-part="media"] { --m13-delay: 0ms; }
[data-m13-motion-part="eyebrow"] { --m13-delay: 90ms; }
[data-m13-motion-part="heading"] { --m13-delay: 190ms; }
[data-m13-motion-part="body"] { --m13-delay: 310ms; }
[data-m13-motion-part="actions"] { --m13-delay: 430ms; }

:where(html.m13-motion-enabled [data-m13-motion-composition]) [data-m13-motion-part],
:where(html.m13-motion-enabled [data-m13-motion-composition])[data-m13-motion-part] {
  opacity: 0;
  transform: translate3d(0,14px,0);
  animation: m13-composition-safety 3000ms step-end forwards;
  transition: opacity 520ms cubic-bezier(.16,1,.3,1) var(--m13-delay,0ms),
              transform 520ms cubic-bezier(.16,1,.3,1) var(--m13-delay,0ms);
}

[data-m13-motion-state="revealing"] [data-m13-motion-part],
[data-m13-motion-state="revealing"][data-m13-motion-part] {
  opacity: 1;
  transform: none;
  animation: none;
  transition: opacity 520ms cubic-bezier(.16,1,.3,1) var(--m13-delay,0ms),
              transform 520ms cubic-bezier(.16,1,.3,1) var(--m13-delay,0ms);
}

:is([data-m13-motion-state="complete"], [data-m13-motion-state="failed-open"]) [data-m13-motion-part],
:is([data-m13-motion-state="complete"], [data-m13-motion-state="failed-open"])[data-m13-motion-part] {
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
}

[data-m13-motion-media-outcome="fallback"] [data-m13-motion-part="media"] {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  html.m13-motion-pending::after,
  .m13-motion__pulse {
    animation: none;
  }

  html.m13-motion-entry-pending::after {
    transform: scaleX(0);
  }

  .m13-motion__panel {
    transform: none;
    transition: opacity 120ms linear;
  }

  .m13-motion.is-revealing .m13-motion__panel {
    opacity: 0;
    transform: none;
  }

  .m13-motion.is-entry.is-revealing {
    opacity: 0;
  }

  html.m13-motion-enabled [data-m13-motion-composition] [data-m13-motion-part],
  html.m13-motion-enabled [data-m13-motion-composition][data-m13-motion-part] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

@media (max-width: 640px) {
  html.m13-motion-entry-pending::after,
  .m13-motion.is-entry .m13-motion__pulse {
    right: 16px;
    bottom: 20px;
    left: 16px;
  }
}
