@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Big Shoulders Display";
  src: url("assets/fonts/big-shoulders-display-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Reddit Sans";
  src: url("assets/fonts/reddit-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Reddit Sans";
  src: url("assets/fonts/reddit-sans-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Reddit Sans";
  src: url("assets/fonts/reddit-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Reddit Sans";
  src: url("assets/fonts/reddit-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #050505;
  --black-2: #090909;
  --panel: #111214;
  --panel-2: #18191b;
  --line: #303033;
  --line-strong: #4a4a4e;
  --white: #f5f5f3;
  --muted: #a9a9ae;
  --yellow: #ffc107;
  --yellow-dark: #211a02;
  --purple: #ad7cff;
  --green: #45d785;
  --red: #ef5954;
  --blue: #4a8cf7;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Reddit Sans", Arial, sans-serif;
  --header-height: 88px;
  --announcement-height: 52px;
  --shell: min(1440px, calc(100vw - 80px));
  --section-space: clamp(88px, 9vw, 150px);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  transform: translateY(-160%);
}

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

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

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

.eyebrow {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.6fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 76px);
}

.section-heading h2,
.membership-intro h2,
.app-lead h2,
.pr-copy h2,
.events-title h2,
.law-heading h2,
.visit-heading h2,
.contact-dialog h2 {
  max-width: 1000px;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.2vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-transform: uppercase;
}

.section-heading > p,
.law-heading > div:last-child > p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--yellow);
  background: var(--yellow);
  color: var(--black);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--white);
}

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

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.97);
  border-bottom-color: rgba(255, 193, 7, 0.45);
}

.header-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  flex: 0 0 auto;
  line-height: 1;
}

.brand strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.header-actions {
  order: 3;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
}

.language-switcher {
  min-width: 112px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--panel);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.language-switcher:hover,
.language-switcher:focus-visible {
  border-color: var(--yellow);
}

.menu-language {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.menu-language__icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--yellow);
}

.menu-language__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-menu {
  order: 2;
  display: flex;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 1.7vw, 30px);
}

.site-menu > a:not(.button) {
  position: relative;
  color: #d2d2d4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-menu > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-menu > a:not(.button):hover {
  color: var(--white);
}

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

.site-menu__icon,
.site-menu__arrow {
  display: none;
}

.site-menu__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.menu-toggle {
  position: relative;
  display: none;
  min-width: 92px;
  padding: 8px 42px 8px 0;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.menu-toggle i {
  position: absolute;
  top: 15px;
  right: 0;
  display: block;
  width: 23px;
  height: 2px;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-toggle i:last-of-type {
  top: 23px;
}

.menu-toggle[aria-expanded="true"] i:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-height);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--black);
}

.open-door-announcement {
  position: relative;
  z-index: 2;
  min-height: var(--announcement-height);
  display: grid;
  place-items: center;
  border-bottom: 1px solid #d69e00;
  background: var(--yellow);
  color: var(--black);
  transition: background 160ms ease, color 160ms ease;
}

.open-door-announcement:hover {
  background: var(--white);
}

.open-door-announcement__inner {
  width: var(--shell);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-family: var(--display);
  font-size: clamp(0.9rem, 1.25vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.open-door-announcement__inner > * {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.open-door-announcement__inner > * + *::before {
  content: "·";
  margin-right: clamp(12px, 2vw, 28px);
  font-weight: 900;
}

.open-door-announcement__inner strong,
.open-door-announcement__countdown {
  font-weight: 900;
}

.hero::before {
  content: "IX";
  position: absolute;
  left: -0.04em;
  bottom: 0.03em;
  z-index: 0;
  color: rgba(255, 255, 255, 0.018);
  font-family: var(--display);
  font-size: min(53vw, 820px);
  font-weight: 900;
  line-height: 0.65;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - var(--header-height) - var(--announcement-height) - 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
  gap: clamp(46px, 7vw, 120px);
  align-items: center;
  padding-block: clamp(64px, 8vh, 120px);
}

.hero-copy h1 {
  max-width: 780px;
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7.2vw, 8.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
}

.hero-title-brand {
  color: var(--yellow);
  line-height: 1;
}

.hero-copy h1 .hero-title-main {
  color: var(--white);
  font-size: 0.72em;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.hero-copy h1 .hero-title-home {
  font-size: 0.57em;
  line-height: 1.06;
}

.hero-title-brand + .hero-title-main {
  margin-top: 0.16em;
}

.hero-intro {
  max-width: 660px;
  margin-top: 26px;
  color: #c9c9cd;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.hero-copy .button-row {
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(42px, 6vw, 78px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-proof div {
  min-width: 0;
  padding: 18px 16px 18px 0;
}

.hero-proof div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.1vw, 2.5rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.hero-proof strong.hero-proof__weight {
  font-size: clamp(1.35rem, 1.6vw, 1.95rem);
  letter-spacing: -0.015em;
}

.hero-proof div.is-counting strong {
  color: var(--white);
  text-shadow: 0 0 24px rgba(255, 193, 7, 0.5);
}

.hero-proof span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.73rem;
}

.hero-visual {
  --hero-frame-padding: 12px;
  --hero-frame-gutter: 24px;
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 4 / 3;
  justify-self: end;
  padding: var(--hero-frame-padding);
  border: 1px solid var(--line-strong);
  background: #0d0d0e;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 34%;
  height: 34%;
  z-index: -1;
  border-top: 5px solid var(--yellow);
  border-right: 5px solid var(--yellow);
}

.hero-visual img {
  position: absolute;
  top: var(--hero-frame-padding);
  left: var(--hero-frame-padding);
  display: block;
  width: calc(100% - var(--hero-frame-gutter));
  height: calc(100% - var(--hero-frame-gutter));
  object-fit: cover;
  border: 1px solid #28282a;
}

.hero-visual figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual figcaption strong {
  color: var(--white);
}

.hero-visual code {
  font-family: inherit;
}

.hero-visual__stamp {
  position: absolute;
  right: -26px;
  bottom: 50px;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 2px solid var(--yellow);
  background: var(--black);
  color: var(--yellow);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 900;
}

.marquee {
  min-height: 64px;
  display: flex;
  align-items: center;
  border-top: 1px solid #dab000;
  background: var(--yellow);
  color: var(--black);
  overflow: hidden;
}

.marquee div {
  width: 100%;
  min-width: 0;
  padding: 14px 24px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.55vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.marquee i {
  padding-inline: 1.2vw;
  font-style: normal;
}

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

.equipment-tabs {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tab-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-strong);
}

.tab-list button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.tab-list button:last-child {
  border-bottom: 0;
}

.tab-list button span {
  color: #66666b;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 900;
}

.tab-list button small {
  color: #79797e;
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
}

.tab-list button:hover {
  background: #171719;
  color: var(--white);
}

.tab-list button[aria-selected="true"] {
  background: var(--yellow);
  color: var(--black);
}

.tab-list button[aria-selected="true"] span,
.tab-list button[aria-selected="true"] small {
  color: var(--black);
}

.tab-panels {
  min-width: 0;
}

.equipment-panel {
  min-height: 560px;
  padding: clamp(28px, 4vw, 62px);
}

.panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr);
  gap: 8px 36px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-strong);
}

.panel-heading p {
  grid-column: 1 / -1;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-heading h3 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.panel-heading > span {
  align-self: end;
  color: var(--muted);
  font-size: 0.9rem;
}

.equipment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  list-style: none;
}

.equipment-list li {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(78px, auto) 1fr;
  gap: 14px;
  align-items: center;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

.equipment-list strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.equipment-list span {
  color: #dedee1;
  font-size: 0.9rem;
}

.equipment-gallery {
  margin-top: clamp(62px, 8vw, 112px);
}

.equipment-gallery__hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.equipment-gallery__track {
  grid-auto-columns: minmax(340px, 38%);
}

.equipment-shot {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.equipment-photo {
  position: relative;
  aspect-ratio: 2 / 3;
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: #0d0d0e;
  overflow: hidden;
}

.equipment-photo::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.equipment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.equipment-shot:hover .equipment-photo img {
  transform: scale(1.015);
}

.equipment-shot figcaption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-top: 18px;
}

.equipment-shot figcaption span {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
}

.equipment-shot figcaption strong {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.facilities-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 193, 7, 0.1), transparent 28%),
    var(--black);
}

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

.facilities-grid article {
  position: relative;
  min-height: 260px;
  padding: clamp(22px, 3vw, 40px);
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(17, 18, 20, 0.92));
}

.facilities-grid article::after {
  position: absolute;
  right: -48px;
  bottom: -62px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 193, 7, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.facility-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.facility-card__top > span {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
}

.facility-card__icon {
  display: grid;
  width: clamp(66px, 5.5vw, 84px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 193, 7, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(255, 193, 7, 0.025)),
    var(--black-2);
  box-shadow: inset 0 0 0 5px rgba(255, 193, 7, 0.025);
  transform: rotate(2deg);
  transition: border-color 180ms ease, transform 180ms ease;
}

.facility-card__icon img {
  width: 68%;
  height: 68%;
}

.facilities-grid article:hover .facility-card__icon {
  border-color: var(--yellow);
  transform: rotate(0deg) translateY(-3px);
}

.facilities-grid h3 {
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.1vw, 2.35rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.facilities-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.membership-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 193, 7, 0.09), transparent 28%),
    var(--black);
}

.membership-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  column-gap: clamp(48px, 9vw, 150px);
  row-gap: 0;
  align-items: end;
  margin-bottom: clamp(50px, 6vw, 90px);
}

.membership-intro .eyebrow,
.membership-intro h2 {
  grid-column: 1;
}

.membership-intro h2 {
  max-width: 850px;
}

.membership-intro__copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: var(--muted);
}

.membership-intro__copy p + p {
  margin-top: 22px;
}

.membership-intro__copy strong {
  color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.price-card {
  position: relative;
  padding: clamp(26px, 3.5vw, 52px);
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.price-card--legionnaire {
  border-top: 6px solid var(--yellow);
}

.price-card--mercenary {
  border-top: 6px solid #8a8a91;
}

.price-card > header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.price-card > header p {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-top: 5px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.2vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.price-card--legionnaire h3 {
  color: var(--yellow);
}

.plan-mark {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 900;
}

.price-card--mercenary .plan-mark {
  color: #ababaf;
}

.plan-summary {
  max-width: 680px;
  margin-top: 26px;
  color: var(--muted);
}

.price-table {
  margin-top: 34px;
  border-top: 1px solid var(--line-strong);
}

.price-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}

.price-row:nth-child(odd):not(.price-row--head) {
  background: rgba(255, 255, 255, 0.025);
}

.price-row--head {
  min-height: 42px;
  padding-block: 8px;
  background: #0b0b0c;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-row strong,
.price-row > span {
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
}

.price-row > span:last-of-type {
  color: var(--yellow);
  font-weight: 700;
}

.price-row small {
  grid-column: 1 / -1;
  margin-top: -7px;
  color: var(--muted);
  font-size: 0.7rem;
  font-style: italic;
}

.price-row i {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 5px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.requirements {
  margin-block: 34px;
  padding: 24px;
  border-left: 3px solid var(--yellow);
  background: #0c0c0d;
}

.price-card--mercenary .requirements {
  border-left-color: #8a8a91;
}

.requirements > p {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.requirements ul {
  margin-top: 10px;
  padding-left: 20px;
  color: #d1d1d4;
}

.requirements li + li {
  margin-top: 5px;
}

.membership-terms {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 24px;
  padding: clamp(25px, 3vw, 42px);
  background: var(--yellow);
  color: var(--black);
}

.membership-terms > p {
  font-weight: 700;
  text-transform: uppercase;
}

.membership-terms > p strong {
  font-weight: 900;
}

.membership-terms > div span,
.membership-terms > div strong,
.membership-terms > div p {
  display: block;
}

.membership-terms > div span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.membership-terms > div strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.1vw, 2.35rem);
  font-weight: 900;
  line-height: 1.1;
}

.membership-terms > div p {
  margin-top: 7px;
  font-size: 0.78rem;
}

.app-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--black-2);
}

.app-lead {
  max-width: 1150px;
}

.app-lead h2 {
  margin-top: 14px;
}

.app-lead > p:last-child {
  max-width: 880px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.app-feature-grid article {
  min-height: 236px;
  padding: clamp(22px, 2.5vw, 36px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(17, 18, 20, 0.88);
}

.app-feature-grid span {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
}

.app-feature-grid h3 {
  margin-top: 38px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.app-feature-grid p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.86rem;
}

.app-tools-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px 40px;
  align-items: center;
  margin-top: clamp(38px, 5vw, 64px);
  padding-block: 22px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.app-tools-strip > span {
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.app-tools-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.app-tools-strip li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: #d6d6d9;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.app-gallery {
  margin-top: clamp(46px, 6vw, 86px);
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.gallery-heading h3 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.8vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-controls > span {
  margin-right: 12px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
}

.gallery-controls > span strong {
  color: var(--yellow);
}

.gallery-controls button {
  width: 54px;
  height: 50px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  font-size: 1.4rem;
  transition: background 160ms ease, color 160ms ease;
}

.gallery-controls button:hover {
  background: var(--yellow);
  color: var(--black);
}

.gallery-track {
  display: grid;
  grid-auto-columns: minmax(280px, 360px);
  grid-auto-flow: column;
  gap: clamp(18px, 2.5vw, 34px);
  padding: 1px 1px 28px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--yellow) #202023;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y;
}

.gallery-track::-webkit-scrollbar {
  height: 8px;
}

.gallery-track::-webkit-scrollbar-track {
  background: #202023;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

.app-shot {
  scroll-snap-align: start;
}

.phone-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  padding: 10px;
  border: 1px solid #45454a;
  border-radius: 32px;
  background: #020202;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  width: 30%;
  height: 20px;
  border-radius: 999px;
  background: #020202;
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 23px;
  background: #020202;
}

.app-shot figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 13px;
  margin-top: 20px;
}

.app-shot figcaption span {
  grid-row: 1 / span 2;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
}

.app-shot figcaption strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.app-shot figcaption p {
  color: var(--muted);
  font-size: 0.78rem;
}

.pr-section {
  overflow: hidden;
  border-top: 1px solid #483764;
  border-bottom: 1px solid #483764;
  background:
    radial-gradient(circle at 80% 50%, rgba(173, 124, 255, 0.13), transparent 38%),
    var(--black);
}

.pr-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 0.75fr);
  gap: clamp(60px, 10vw, 170px);
  align-items: center;
}

.pr-copy h2 {
  margin-top: 14px;
}

.pr-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 22px;
  color: #c8c8cc;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.pr-copy blockquote {
  max-width: 760px;
  margin-block: 32px;
  padding: 24px 28px;
  border-left: 4px solid var(--purple);
  background: rgba(173, 124, 255, 0.08);
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.14;
  text-transform: uppercase;
}

.pr-board-mockup {
  position: relative;
  border: 1px solid #644d84;
  border-left: 8px solid var(--purple);
  background: linear-gradient(135deg, rgba(173, 124, 255, 0.14), var(--panel) 45%);
  box-shadow: var(--shadow);
}

.pr-board-mockup > header {
  padding: 28px;
  border-bottom: 1px solid #4a3a62;
}

.pr-board-mockup > header div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}

.pr-board-mockup > header span,
.pr-board-mockup > header strong {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
}

.pr-board-mockup > header strong {
  color: var(--yellow);
}

.pr-board-mockup > header small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.division-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin: 24px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.42);
}

.division-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--purple);
  color: var(--purple);
  font-size: 2.5rem;
}

.division-card small,
.division-card strong,
.division-card p {
  display: block;
}

.division-card small {
  color: var(--muted);
  text-transform: uppercase;
}

.division-card strong {
  font-family: var(--display);
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
}

.division-card p {
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 700;
}

.division-card b {
  color: var(--purple);
  font-family: var(--display);
  font-size: 2rem;
}

.pr-board-mockup ol {
  list-style: none;
}

.pr-board-mockup li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 19px 28px;
  border-top: 1px solid var(--line);
}

.pr-board-mockup li > span {
  color: var(--purple);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 900;
}

.pr-board-mockup li strong,
.pr-board-mockup li small {
  display: block;
}

.pr-board-mockup li strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pr-board-mockup li small {
  color: var(--muted);
}

.latest-prs {
  margin-top: clamp(48px, 6vw, 84px);
  border: 1px solid var(--line-strong);
  border-top: 6px solid var(--yellow);
  background: #0b0b0c;
  box-shadow: var(--shadow);
}

.latest-prs__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  border-bottom: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 52px 52px,
    var(--black-2);
}

.latest-prs__title {
  padding: clamp(26px, 3vw, 42px);
}

.latest-prs__title p,
.latest-prs__total span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.latest-prs__title p {
  margin-bottom: 9px;
  color: var(--yellow);
}

.latest-prs__title h3,
.latest-prs__total strong {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.latest-prs__title h3 {
  font-size: clamp(3rem, 5vw, 5.4rem);
  letter-spacing: -0.025em;
}

.latest-prs__total {
  display: flex;
  min-width: 300px;
  padding: 26px 30px;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  background: var(--yellow);
  color: var(--black);
  text-align: right;
}

.latest-prs__total span {
  margin-bottom: 9px;
}

.latest-prs__total strong {
  font-size: clamp(1.7rem, 2.7vw, 2.8rem);
}

.latest-prs__columns,
.latest-prs__list li {
  display: grid;
  grid-template-columns: 54px minmax(90px, 0.2fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.latest-prs__columns {
  min-height: 44px;
  padding-inline: 28px;
  border-bottom: 1px solid var(--line-strong);
  background: #151517;
  color: #77777c;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.latest-prs__columns span:last-child {
  text-align: right;
}

.latest-prs__status {
  padding: 26px 28px;
  color: var(--muted);
}

.latest-prs__list {
  list-style: none;
}

.latest-prs__list li {
  position: relative;
  min-height: 86px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
}

.latest-prs__list li:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.latest-prs__index {
  color: #55555a;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 900;
}

.latest-prs__date {
  width: fit-content;
  padding: 7px 9px;
  border: 1px solid var(--line-strong);
  color: #d0d0d3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.latest-prs__exercise,
.latest-prs__result {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.latest-prs__result {
  color: var(--yellow);
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  text-align: right;
}

.latest-prs footer {
  padding: 22px 28px;
  border-left: 4px solid var(--yellow);
  background: #151517;
  color: var(--muted);
  font-size: 0.8rem;
}

.events-section {
  background: #090a0c;
}

.open-door-event {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid rgba(255, 193, 7, 0.72);
  background:
    linear-gradient(120deg, rgba(255, 193, 7, 0.055), transparent 48%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.open-door-event__heading {
  position: relative;
  padding: clamp(32px, 5vw, 68px);
  overflow: hidden;
  border-right: 1px solid rgba(255, 193, 7, 0.48);
  background:
    linear-gradient(145deg, rgba(255, 193, 7, 0.13), transparent 58%),
    var(--black);
}

.open-door-event__heading::after {
  content: "IX";
  position: absolute;
  right: -0.04em;
  bottom: -0.12em;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--display);
  font-size: clamp(9rem, 18vw, 18rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.open-door-event__heading h2 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(3.25rem, 4.5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-transform: uppercase;
}

.open-door-event__heading > strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 28px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.open-door-event__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(32px, 5vw, 68px);
}

.open-door-event__intro {
  max-width: 780px;
  color: var(--white);
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.65;
}

.open-door-event__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(32px, 4vw, 50px) 0 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.open-door-event__facts div {
  min-width: 0;
  padding: clamp(18px, 2.2vw, 28px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.open-door-event__facts dt,
.open-door-event__facts dd {
  margin: 0;
}

.open-door-event__facts dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.open-door-event__facts dd {
  margin-top: 10px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.open-door-event__rules {
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.events-title {
  max-width: 1100px;
  margin-top: clamp(76px, 9vw, 130px);
}

.events-title h2 {
  margin-top: 14px;
}

.faction-stage {
  min-height: 460px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-top: clamp(52px, 7vw, 100px);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.faction {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(30px, 5vw, 70px);
  overflow: hidden;
}

.faction--red {
  align-items: flex-start;
  background: linear-gradient(145deg, #38100f, #a42c29);
}

.faction--blue {
  align-items: flex-end;
  background: linear-gradient(215deg, #0a234d, #1f5dbb);
  text-align: right;
}

.faction > span {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.faction > strong {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.faction-crest {
  position: absolute;
  top: 46%;
  left: 50%;
  width: min(76%, 410px);
  max-width: none;
  height: auto;
  opacity: 0.3;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.versus {
  position: relative;
  z-index: 2;
  width: clamp(110px, 12vw, 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
  text-align: center;
}

.versus strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
}

.events-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: 0;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-strong);
  border-top: 0;
  background: linear-gradient(110deg, rgba(239, 89, 84, 0.06), var(--panel) 45%, rgba(74, 140, 247, 0.06));
  color: #c7c7cb;
}

.events-copy p {
  padding-top: 0;
  border-top: 0;
}

.events-copy strong {
  color: var(--white);
}

.event-actions-title {
  margin-top: clamp(52px, 6vw, 76px);
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.event-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.event-actions div {
  min-height: 210px;
  padding: clamp(22px, 2.8vw, 38px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--panel);
}

.event-action-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 193, 7, 0.48);
  background: rgba(255, 193, 7, 0.07);
  color: var(--yellow);
}

.event-action-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.event-actions strong {
  display: block;
  margin-top: 28px;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-actions p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.founder-section {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: clip;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 193, 7, 0.08), transparent 34%),
    #0c0d0f;
}

.founder-heading {
  max-width: 1000px;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.founder-heading h2 {
  margin-top: 14px;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: start;
}

.founder-photo {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.founder-photo::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: -1px;
  height: 5px;
  background: var(--yellow);
  content: "";
}

.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-copy {
  max-width: 650px;
  color: #bdbdc2;
}

.founder-copy > * + * {
  margin-top: 24px;
}

.founder-copy p {
  line-height: 1.72;
}

.founder-lead {
  color: var(--white);
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
  font-weight: 600;
}

.founder-record {
  padding: clamp(24px, 3vw, 36px);
  border-left: 5px solid var(--yellow);
  background: var(--panel);
  color: #d3d3d6;
}

.founder-record span,
.founder-record strong {
  display: block;
}

.founder-record strong {
  margin-block: 12px 8px;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.founder-profile a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.founder-declaration {
  padding-block: 28px;
  border-block: 1px solid var(--line-strong);
}

.founder-declaration p {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-transform: uppercase;
}

.founder-declaration p + p {
  margin-top: 8px;
  color: var(--yellow);
}

.founder-closing {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 700;
}

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

.law-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
  gap: clamp(42px, 9vw, 150px);
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 96px);
}

.law-controls {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.law-controls button {
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.law-controls button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

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

.law-item {
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
}

.law-item[open] {
  background: var(--panel);
}

.law-item summary {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}

.law-item summary::-webkit-details-marker {
  display: none;
}

.law-item summary span {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
}

.law-item summary strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-transform: uppercase;
}

.law-item summary i {
  justify-self: end;
  color: var(--yellow);
  font-size: 1.8rem;
  font-style: normal;
  transition: transform 160ms ease;
}

.law-item[open] summary i {
  transform: rotate(45deg);
}

.law-item > p {
  max-width: 1020px;
  margin: 0 70px 0 112px;
  padding: 0 0 32px;
  color: #c3c3c7;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}

.final-mandate {
  display: grid;
  grid-template-columns: 0.25fr 1fr 0.75fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid #785d08;
  border-left: 8px solid var(--yellow);
  background: linear-gradient(110deg, rgba(255, 193, 7, 0.14), #121212 45%);
}

.final-mandate > span {
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.final-mandate h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.final-mandate p {
  color: var(--muted);
}

.faq-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 88px 88px,
    var(--black-2);
}

.faq-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
  gap: clamp(42px, 9vw, 150px);
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 96px);
}

.faq-heading h2 {
  max-width: 1000px;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.2vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-transform: uppercase;
}

.faq-heading > p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.faq-item {
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.faq-item[open] {
  border-color: #735a0a;
  box-shadow: inset 4px 0 0 var(--yellow);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 48px 1fr 30px;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 900;
}

.faq-item summary strong {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.5vw, 1.7rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.faq-item summary i {
  justify-self: end;
  color: var(--yellow);
  font-size: 1.7rem;
  font-style: normal;
  transition: transform 160ms ease;
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 28px 82px;
  color: #c7c7cb;
}

.faq-answer p + p,
.faq-answer p + ul,
.faq-answer ul + p {
  margin-top: 14px;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-answer li + li {
  margin-top: 7px;
}

.faq-answer strong {
  color: var(--white);
}

.faq-answer a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.visit-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 193, 7, 0.11), transparent 26%),
    var(--black-2);
}

.visit-heading {
  max-width: 1020px;
}

.visit-heading h2 {
  margin-top: 14px;
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 24px;
  margin-top: clamp(50px, 7vw, 96px);
}

.visit-details,
.map-frame {
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.visit-details {
  padding: clamp(26px, 3.5vw, 50px);
}

.address-block > span,
.contact-options > p {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.address-block h3 {
  max-width: 620px;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.8vw, 3.3rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.address-block > a {
  display: inline-block;
  margin-top: 20px;
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.hours-grid div {
  min-height: 128px;
  padding: 19px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.hours-grid div:last-child {
  grid-column: 1 / -1;
}

.hours-grid span,
.hours-grid strong,
.hours-grid small {
  display: block;
}

.hours-grid span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hours-grid strong {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.85rem);
  font-weight: 900;
  line-height: 1.1;
}

.hours-grid small {
  margin-top: 6px;
  color: var(--yellow);
}

.contact-options {
  margin-top: 40px;
}

.contact-options > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.contact-link {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 12px;
  align-items: center;
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--line-strong);
  background: #0d0d0e;
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-link:hover {
  border-color: currentColor;
  transform: translateY(-2px);
}

.contact-link > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--display);
  font-weight: 900;
}

.contact-link strong,
.contact-link small {
  display: block;
}

.contact-link strong {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.contact-link small {
  color: var(--muted);
}

.contact-link--phone {
  color: var(--yellow);
}

.contact-link--zalo,
.contact-link--messenger {
  color: #438df8;
}

.contact-link--whatsapp {
  color: #39cb6b;
}

.contact-link strong,
.contact-link small {
  color: var(--white);
}

.contact-link small {
  color: var(--muted);
}

.email-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.email-link:hover {
  color: var(--yellow);
}

.map-frame {
  min-height: 760px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 12px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
}

.map-frame > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 4px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-frame > div span {
  color: var(--muted);
}

.map-frame > div a {
  color: var(--yellow);
}

.site-footer {
  border-top: 4px solid var(--yellow);
  background: #020202;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(130px, 0.5fr));
  gap: clamp(32px, 5vw, 80px);
  padding-block: 70px;
}

.footer-brand strong,
.footer-brand span,
.footer-brand p,
.footer-grid nav > span,
.footer-contact > span,
.footer-social > span,
.footer-grid nav a,
.footer-contact a,
.footer-social a {
  display: block;
}

.footer-brand strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.footer-brand span {
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-brand p {
  margin-top: 25px;
  color: var(--muted);
}

.footer-grid nav > span,
.footer-contact > span,
.footer-social > span {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid nav a,
.footer-contact a,
.footer-social a {
  width: fit-content;
  padding-block: 4px;
  color: #bababe;
  font-size: 0.84rem;
}

.footer-contact a,
.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.62;
  transition: opacity 160ms ease;
}

.footer-link-icon--fill,
.footer-link-icon__dot {
  fill: currentColor;
  stroke: none;
}

.footer-contact a:hover .footer-link-icon,
.footer-social a:hover .footer-link-icon {
  opacity: 0.95;
}

.footer-grid nav a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: #77777c;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.contact-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #765d0e;
  border-top: 6px solid var(--yellow);
  background: var(--panel);
  color: var(--white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.contact-dialog h2 {
  margin-top: 10px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.contact-dialog > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 20px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
}

.dialog-close:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.dialog-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.dialog-options a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 2px 13px;
  min-height: 86px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line-strong);
  background: var(--black);
  transition: border-color 160ms ease, transform 160ms ease;
}

.dialog-options a:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.dialog-options a > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--display);
  font-weight: 900;
}

.dialog-options strong,
.dialog-options small {
  display: block;
}

.dialog-options strong {
  align-self: end;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.dialog-options small {
  align-self: start;
  color: var(--muted);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1360px) {
  html[lang="ru"] .header-shell {
    gap: 18px;
  }

  html[lang="ru"] .site-menu {
    gap: 10px;
  }

  html[lang="ru"] .site-menu > a:not(.button) {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  html[lang="ru"] .site-menu .button--small {
    padding-inline: 11px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1240px) {
  :root {
    --shell: min(1440px, calc(100vw - 48px));
  }

  .header-shell {
    gap: 14px;
  }

  .site-menu {
    gap: 6px;
  }

  .site-menu > a:not(.button) {
    font-size: 0.68rem;
  }

  .site-menu .button--small {
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  .menu-language {
    gap: 4px;
  }

  .menu-language__icon {
    width: 20px;
    height: 20px;
  }

  .menu-language__icon svg {
    width: 19px;
    height: 19px;
  }

  .language-switcher {
    min-width: 100px;
    min-height: 38px;
    padding-inline: 8px;
    font-size: 0.76rem;
  }

  .app-feature-grid,
  .event-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
    gap: 54px;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 76px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 28px 24px 44px;
    overflow-y: auto;
    background: rgba(5, 5, 5, 0.985);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-menu > a:not(.button) {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(1.8rem, 5vw, 3.1rem);
    font-weight: 900;
    text-transform: uppercase;
  }

  .site-menu > a:not(.button)::after {
    display: none;
  }

  .site-menu .button {
    margin-top: 24px;
  }

  .hero-grid,
  .pr-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 70px;
  }

  .hero-copy h1 {
    max-width: 900px;
  }

  .hero-visual {
    max-width: 900px;
    justify-self: stretch;
  }

  .equipment-tabs {
    grid-template-columns: 1fr;
  }

  .tab-list {
    display: grid;
    grid-auto-columns: minmax(230px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
    scroll-snap-type: x mandatory;
  }

  .tab-list button {
    min-height: 82px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    scroll-snap-align: start;
  }

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

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

  .facilities-grid article:last-child {
    grid-column: 1 / -1;
  }

  .membership-intro__copy {
    grid-column: 1;
    grid-row: auto;
    margin-top: 28px;
  }

  .membership-terms {
    grid-template-columns: 1fr 1fr;
  }

  .membership-terms .button {
    grid-column: 1 / -1;
  }

  .pr-grid {
    gap: 60px;
  }

  .pr-board-mockup {
    width: min(720px, 100%);
    justify-self: center;
  }

  .visit-grid {
    gap: 18px;
  }

  .map-frame {
    min-height: 560px;
  }

  .map-frame iframe {
    min-height: 500px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 0.6fr);
  }
}

@media (max-width: 780px) {
  :root {
    --announcement-height: 76px;
    --shell: calc(100vw - 32px);
    --section-space: 82px;
  }

  .open-door-announcement__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    gap: 2px 14px;
    height: 100%;
    justify-content: stretch;
    padding: 9px 12px 9px 15px;
    border-left: 3px solid var(--yellow);
    font-size: 0.7rem;
    text-align: left;
  }

  .open-door-announcement {
    border-top: 1px solid rgba(255, 193, 7, 0.42);
    border-bottom-color: rgba(255, 193, 7, 0.55);
    background: #0a0a0a;
    color: var(--white);
  }

  .open-door-announcement:hover {
    background: #0a0a0a;
  }

  .open-door-announcement__inner > * {
    white-space: normal;
  }

  .open-door-announcement__inner > * + *::before {
    display: none;
  }

  .open-door-announcement__inner > time {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.035em;
  }

  .open-door-announcement__inner > span:not(.open-door-announcement__countdown) {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
    color: var(--muted);
    font-size: 0.55rem;
    letter-spacing: 0.11em;
    text-align: left;
  }

  .open-door-announcement__countdown {
    grid-column: 2;
    grid-row: 1 / 4;
    min-width: 112px;
    min-height: 48px;
    align-self: center;
    justify-content: center;
    justify-self: end;
    padding: 8px 10px;
    border: 1px solid var(--yellow);
    background: var(--yellow);
    color: var(--black);
    font-size: 0.74rem;
    letter-spacing: 0.07em;
  }

  .open-door-announcement__countdown::after {
    content: "";
    width: 0.42em;
    height: 0.42em;
    margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
  }

  .open-door-announcement__inner > strong {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    color: var(--yellow);
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .open-door-event {
    grid-template-columns: 1fr;
  }

  .open-door-event__heading {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.48);
  }

  .open-door-event__heading h2 {
    max-width: none;
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .open-door-event__facts {
    grid-template-columns: 1fr;
  }

  .open-door-event__rules {
    margin-top: 24px;
    padding-top: 0;
  }

  .section-heading,
  .law-heading,
  .faq-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 54px 80px;
  }

  .hero-copy h1 {
    font-size: clamp(3.3rem, 13vw, 5.8rem);
  }

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

  .hero-proof div,
  .hero-proof div + div {
    display: block;
    min-height: 94px;
    padding: 16px 14px 16px 0;
    border-left: 0;
    border-top: 0;
  }

  .hero-proof div:nth-child(even) {
    padding-right: 0;
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .hero-proof div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hero-proof span {
    margin-top: 5px;
  }

  .hero-visual__stamp {
    right: -8px;
    bottom: 42px;
    width: 68px;
    height: 68px;
  }

  .marquee {
    min-height: 54px;
  }

  .equipment-panel {
    min-height: 520px;
    padding: 26px 20px 34px;
  }

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

  .panel-heading > span {
    max-width: 480px;
  }

  .equipment-list,
  .pricing-grid,
  .events-copy {
    grid-template-columns: 1fr;
  }

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

  .facilities-grid article,
  .facilities-grid article:last-child {
    grid-column: auto;
    min-height: 210px;
  }

  .facility-card__icon {
    width: 68px;
  }

  .pricing-grid {
    gap: 18px;
  }

  .membership-terms {
    grid-template-columns: 1fr;
  }

  .membership-terms .button {
    grid-column: auto;
  }

  .app-feature-grid,
  .event-actions {
    grid-template-columns: 1fr;
  }

  .app-feature-grid article,
  .event-actions div {
    min-height: 180px;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .faction-stage {
    min-height: 620px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 92px 1fr;
  }

  .faction {
    min-height: 240px;
  }

  .faction--blue {
    align-items: flex-start;
    text-align: left;
  }

  .faction-crest {
    top: 44%;
    width: min(64%, 250px);
  }

  .versus {
    width: 100%;
  }

  .events-copy {
    gap: 22px;
  }

  .latest-prs__header {
    grid-template-columns: minmax(0, 1fr) minmax(230px, auto);
  }

  .latest-prs__title {
    padding: 26px 20px;
  }

  .latest-prs__total {
    min-width: 230px;
    padding-inline: 20px;
  }

  .latest-prs__columns,
  .latest-prs__list li {
    grid-template-columns: 38px 76px minmax(0, 1fr) auto;
    gap: 14px;
    padding-inline: 20px;
  }

  .latest-prs footer,
  .latest-prs__status {
    padding-inline: 20px;
  }

  .founder-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .founder-photo {
    position: relative;
    top: auto;
  }

  .founder-copy {
    max-width: 720px;
  }

  .law-item summary {
    grid-template-columns: 48px 1fr 24px;
    gap: 10px;
    padding-inline: 10px;
  }

  .law-item > p {
    margin: 0 20px 0 68px;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .final-mandate {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .brand strong {
    font-size: 1.8rem;
  }

  .brand span {
    display: none;
  }

  .menu-toggle span {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 16vw, 4.9rem);
  }

  .latest-prs__header {
    grid-template-columns: 1fr;
  }

  .latest-prs__total {
    min-width: 0;
    align-items: flex-start;
    text-align: left;
  }

  .latest-prs__columns {
    grid-template-columns: 62px minmax(0, 1fr) auto;
  }

  .latest-prs__columns span:first-child {
    display: none;
  }

  .latest-prs__list li {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 10px;
    padding-inline: 14px;
  }

  .latest-prs__index {
    display: none;
  }

  .latest-prs__date {
    font-size: 0.68rem;
  }

  .latest-prs__exercise,
  .latest-prs__result {
    font-size: 1.08rem;
  }

  .button-row .button,
  .price-card > .button,
  .membership-terms .button,
  .pr-copy > .button {
    width: 100%;
  }

  .hero-visual {
    --hero-frame-padding: 7px;
    --hero-frame-gutter: 14px;
  }

  .hero-visual figcaption {
    display: none;
  }

  .tab-list {
    grid-auto-columns: 82vw;
  }

  .panel-heading h3 {
    font-size: 2.5rem;
    line-height: 1.08;
  }

  .equipment-list li {
    grid-template-columns: 72px 1fr;
  }

  .price-card {
    padding: 26px 18px;
  }

  .price-card h3 {
    font-size: 2.65rem;
    line-height: 1.08;
  }

  .plan-mark {
    width: 48px;
    height: 48px;
  }

  .price-row {
    grid-template-columns: 1fr 0.8fr 0.8fr;
    gap: 8px;
    padding-inline: 5px;
  }

  .requirements {
    padding: 20px;
  }

  .gallery-track {
    grid-auto-columns: calc(100vw - 54px);
  }

  .gallery-controls button {
    width: 48px;
  }

  .division-card {
    grid-template-columns: auto 1fr;
    margin: 14px;
    padding: 18px;
  }

  .division-card b {
    grid-column: 2;
  }

  .pr-board-mockup li {
    padding-inline: 18px;
  }

  .faction > strong {
    font-size: 5rem;
  }

  .law-item summary strong {
    font-size: 1.35rem;
  }

  .contact-options > div,
  .dialog-options,
  .hours-grid {
    grid-template-columns: 1fr;
  }

  .hours-grid div:last-child {
    grid-column: auto;
  }

  .map-frame {
    min-height: 440px;
  }

  .map-frame iframe {
    min-height: 380px;
  }

  .map-frame > div {
    display: block;
  }

  .map-frame > div a {
    display: block;
    margin-top: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 18px;
  }

  .footer-contact,
  .footer-social {
    min-width: 0;
  }

  .footer-base {
    flex-direction: column;
  }

  .faq-item summary {
    grid-template-columns: 42px 1fr 22px;
    gap: 8px;
    padding-inline: 13px;
  }

  .faq-answer {
    padding: 0 18px 24px 63px;
  }

  .contact-dialog {
    padding: 42px 20px 24px;
  }
}

/* Final responsive pass: keep the mobile composition explicit and self-contained. */
@media (max-width: 1040px) {
  .brand,
  .header-actions,
  .menu-toggle {
    position: relative;
    z-index: 2;
  }

  .header-actions {
    gap: 16px;
  }

  .menu-toggle {
    display: inline-flex !important;
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--white);
    opacity: 1;
    visibility: visible;
  }

  .site-menu {
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100dvh;
    padding: calc(var(--header-height) + 16px) 24px 26px;
    background:
      linear-gradient(90deg, rgba(255, 193, 7, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
      rgba(5, 5, 5, 0.995);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-menu > a:not(.button) {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;
    flex: 0 0 auto;
    min-height: 54px;
    padding: 6px 4px;
    font-size: clamp(1.2rem, 3.1vh, 1.65rem);
    line-height: 1.15;
    transition: background 160ms ease, color 160ms ease;
  }

  .site-menu > a:not(.button):hover,
  .site-menu > a:not(.button):focus-visible {
    background: rgba(255, 255, 255, 0.035);
  }

  .site-menu__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: var(--panel);
    color: var(--yellow);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  }

  .site-menu > a:not(.button):hover .site-menu__icon,
  .site-menu > a:not(.button):focus-visible .site-menu__icon {
    border-color: var(--yellow);
    background: var(--yellow);
    color: var(--black);
  }

  .site-menu__arrow {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #68686d;
    font-size: 0;
  }

  .site-menu__arrow::before {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(-45deg);
  }

  .site-menu .button {
    width: 100%;
    flex: 0 0 auto;
    margin-top: 16px;
  }

  .site-menu .menu-language {
    width: fit-content;
    flex: 0 0 auto;
    align-self: flex-end;
    margin-top: 12px;
  }

  .site-menu .language-switcher {
    width: 140px;
    min-width: 140px;
  }

  .tab-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    grid-auto-flow: row;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .tab-list button {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 4px 10px;
    min-height: 80px;
    padding: 13px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    line-height: 1.1;
    scroll-snap-align: none;
  }

  .tab-list button span {
    grid-row: 1 / span 2;
  }

  .tab-list button small {
    grid-column: 2;
    white-space: normal;
  }
}

@media (max-width: 780px) {
  .menu-toggle span {
    display: inline;
  }

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

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-block: 30px 66px;
  }

  .hero-visual {
    order: -1;
    max-width: none;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    margin-top: 12px;
  }

  .hero-visual__stamp {
    right: -5px;
    bottom: -18px;
    width: 58px;
    height: 58px;
    font-size: 1.8rem;
  }

  .app-tools-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 18px;
  }

  .app-gallery {
    margin-top: 42px;
  }

  .app-shot figcaption {
    grid-template-columns: auto 1fr;
    margin-top: 14px;
  }

  .app-shot figcaption span {
    grid-row: auto;
  }

  .app-shot figcaption p {
    display: none;
  }

  .faction-stage {
    min-height: 492px;
    grid-template-rows: minmax(190px, 1fr) 72px minmax(190px, 1fr);
  }

  .events-copy {
    gap: 0;
    padding: 22px 20px;
  }

  .events-copy p {
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
  }

  .events-copy p:first-child {
    padding-top: 0;
  }

  .events-copy p:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .founder-record {
    padding: 22px 18px;
  }

  .founder-declaration {
    padding-block: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 30px 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand strong {
    font-size: 3rem;
  }

  .footer-brand span {
    margin-top: 7px;
  }

  .footer-brand p {
    display: none;
  }

  .footer-grid nav,
  .footer-contact,
  .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    min-width: 0;
  }

  .footer-grid nav > span,
  .footer-contact > span,
  .footer-social > span {
    width: 100%;
    margin-bottom: 2px;
  }

  .footer-grid nav a,
  .footer-contact a,
  .footer-social a {
    width: auto;
    padding-block: 1px;
    font-size: 0.78rem;
  }

  .footer-base {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
    padding-block: 13px;
  }

  .footer-base > span:nth-child(2) {
    grid-column: 1 / -1;
  }

  .footer-base > a {
    grid-column: 2;
    grid-row: 1;
  }

  .address-block h3 {
    font-size: clamp(1.8rem, 7.5vw, 2.2rem);
    line-height: 1.12;
  }
}

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

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