/* ═══════════════════════════════════════════════
   Шаги двоих — HAUTE COUTURE
   Lookbook · monumental type · wide · light
   ═══════════════════════════════════════════════ */

:root {
  --bg: #f7f5f1;
  --bg-soft: #efece6;
  --bg-frame: #e5e1d8;
  --ink: #0c0c0c;
  --mute: #5c5954;
  --line: rgba(12, 12, 12, 0.14);
  --paper: #f7f5f1;
  --brand: #fff2cf;
  --brand-mid: #c9b896;
  --brand-deep: #b59a62;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Google Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4.5vw, 4.5rem);
  --pad-wide: clamp(1.25rem, 5.5vw, 6rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1680px;
  --site-max: 2560px;
  --site-gutter: max(0px, calc((100vw - var(--site-max)) / 2));
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-frame);
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee__track,
  .hero__img,
  .hero__line1,
  .hero__line2,
  .hero__foot,
  .hero__pag,
  .hero__flare,
  .hero__pag .swiper-pagination-bullet::after,
  .header,
  .site-nav,
  .footer__spoiler-panel,
  .footer__spoiler-ico {
    animation: none !important;
  }
  .hero__line1,
  .hero__line2,
  .hero__foot,
  .hero__pag {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .site-nav,
  .footer__spoiler-panel,
  .footer__spoiler-panel > .footer__nav {
    transition: none !important;
  }
  .reveal,
  .reveal-child,
  .chapter__title,
  .mega {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }
  .hero__slider .swiper-slide-active .hero__img,
  .hero__slider .swiper-slide-duplicate-active .hero__img {
    transform: none !important;
  }
}

body {
  margin: 0 auto;
  max-width: var(--site-max);
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  box-shadow:
    0 0 0 1px rgba(12, 12, 12, 0.035),
    -32px 0 64px rgba(12, 12, 12, 0.045),
    32px 0 64px rgba(12, 12, 12, 0.045),
    0 0 100px rgba(12, 12, 12, 0.04);
}

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

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

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

/* Reveal system */
.reveal {
  opacity: 0;
  transform: translate3d(0, 2.75rem, 0);
  filter: blur(6px);
  transition:
    opacity 1.15s var(--ease-out),
    transform 1.15s var(--ease-out),
    filter 1.15s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal--left {
  transform: translate3d(-2.5rem, 0, 0);
}

.reveal--right {
  transform: translate3d(2.5rem, 0, 0);
}

.reveal--scale {
  transform: translate3d(0, 1.5rem, 0) scale(0.985);
}

.reveal-child {
  opacity: 0;
  transform: translate3d(0, 1.6rem, 0);
  transition:
    opacity 0.95s var(--ease-out),
    transform 0.95s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in .reveal-child {
  opacity: 1;
  transform: none;
}

/* Header — chrome only; nav is a sibling overlay */
.header {
  position: fixed;
  top: 0;
  left: var(--site-gutter);
  width: min(100%, var(--site-max));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: 0 var(--pad);
  color: #f7f5f1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 70%, transparent 100%);
  transition: background 0.55s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  animation: headerIn 1.1s var(--ease-out) 0.12s both;
}

@keyframes headerIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.header.is-solid {
  color: var(--ink);
  background: rgba(247, 245, 241, 0.97);
  border-bottom: 1px solid var(--line);
}

.header.is-open {
  z-index: 420;
  color: var(--ink);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.header__logo-mark {
  position: relative;
  display: block;
  width: 2.55rem;
  height: auto;
  aspect-ratio: 619 / 533;
  flex-shrink: 0;
}

.header__logo-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s var(--ease);
}

.header__logo-mark .logo-mark__on-dark {
  opacity: 1;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.35));
}

.header__logo-mark .logo-mark__on-light {
  opacity: 0;
}

.header.is-solid .header__logo-mark .logo-mark__on-dark,
.header.is-open .header__logo-mark .logo-mark__on-dark {
  opacity: 0;
  filter: none;
}

.header.is-solid .header__logo-mark .logo-mark__on-light,
.header.is-open .header__logo-mark .logo-mark__on-light {
  opacity: 1;
}

.header__logo-text {
  line-height: 1;
}

.header__menu {
  display: none;
  position: relative;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.header__menu:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.header__menu::before,
.header__menu::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.header__menu::before {
  top: 1.15rem;
}

.header__menu::after {
  top: 1.55rem;
}

.header.is-open .header__menu::before {
  top: 1.35rem;
  transform: rotate(45deg);
}

.header.is-open .header__menu::after {
  top: 1.35rem;
  transform: rotate(-45deg);
}

/* Site nav — sibling of header (desktop bar / mobile drawer) */
.site-nav {
  position: fixed;
  top: 0;
  left: var(--site-gutter);
  width: min(100%, var(--site-max));
  z-index: 61;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  min-height: 4.75rem;
  padding: 0 var(--pad);
  padding-left: clamp(10.5rem, 24vw, 15.5rem);
  box-sizing: border-box;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f7f5f1;
  pointer-events: none;
  transition: color 0.45s var(--ease);
}

.site-nav > * {
  pointer-events: auto;
}

.header.is-solid ~ .site-nav {
  color: var(--ink);
}

.site-nav > a {
  opacity: 0.82;
  transition: opacity 0.25s var(--ease);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.header.is-solid ~ .site-nav > a {
  text-shadow: none;
}

.site-nav > a:hover {
  opacity: 1;
}

.site-nav__msg {
  margin-left: 0.25rem;
  color: inherit;
}

.site-nav .msg-link {
  letter-spacing: normal;
  text-transform: none;
}

.msg-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.msg-link {
  display: grid;
  place-items: center;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.msg-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.msg-link svg {
  width: 1rem;
  height: 1rem;
}

/* Type helpers */
.text-btn {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-height: 2.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding-bottom: 0.28rem;
  transition: opacity 0.35s var(--ease);
}

.text-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 0.55s var(--ease-out);
}

.text-btn:hover {
  opacity: 0.7;
}

.text-btn:hover::after {
  transform: scaleX(0.35);
}

.text-btn--light {
  color: #f7f5f1;
}

.mega {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 7.2vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.mega--sm {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.mega--light {
  color: #f7f5f1;
}

.mega em,
.manifesto__text em {
  font-style: italic;
  font-weight: 400;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  color: #f7f5f1;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0);
  background: #050505;
  /* Close 1px mobile seam before black manifesto */
  margin-bottom: -1px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 4;
  pointer-events: none;
  background: #0c0c0c;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slider .swiper-wrapper,
.hero__slider .swiper-slide {
  height: 100%;
  width: 100%;
}

.hero__slider .swiper-slide {
  overflow: hidden;
  position: relative;
}

.hero__img {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  filter: contrast(1.12) saturate(0.88) brightness(0.72);
  will-change: transform;
  transition: transform 7.5s linear, filter 1.4s var(--ease);
}

.hero__slider .swiper-slide-active .hero__img,
.hero__slider .swiper-slide-duplicate-active .hero__img {
  transform: scale(1.12);
  filter: contrast(1.16) saturate(0.95) brightness(0.78);
}

.hero__slider .swiper-slide:nth-child(even) .hero__img {
  object-position: center center;
}

.hero__slider .swiper-slide-active:nth-child(even) .hero__img,
.hero__slider .swiper-slide-duplicate-active:nth-child(even) .hero__img {
  transform: scale(1.12);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.42) 68%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(90% 55% at 50% 100%, rgba(0, 0, 0, 0.55), transparent 60%),
    radial-gradient(50% 40% at 70% 20%, rgba(255, 220, 180, 0.08), transparent 70%);
}

.hero__flare {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(40% 28% at 18% 72%, rgba(255, 236, 210, 0.14), transparent 70%),
    radial-gradient(35% 30% at 82% 30%, rgba(255, 255, 255, 0.06), transparent 72%);
  mix-blend-mode: soft-light;
  animation: flarePulse 8s var(--ease) infinite alternate;
  opacity: 0.85;
}

@keyframes flarePulse {
  from {
    opacity: 0.45;
    transform: scale(1);
  }
  to {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

.hero__frame {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: clamp(5.5rem, 10vh, 7rem) var(--pad-wide) clamp(1.35rem, 3vw, 2.25rem);
}

.hero__title {
  margin: 0;
  align-self: end;
  width: min(100%, var(--max));
  text-shadow: 0 0.12em 0.55em rgba(0, 0, 0, 0.45);
}

.hero__line1,
.hero__line2 {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.04em;
  opacity: 0;
}

.hero__line1 {
  font-size: clamp(5.5rem, 18vw, 14.5rem);
  animation: riseSoft 1.55s var(--ease-out) 0.28s forwards;
}

.hero__line2 {
  font-size: clamp(5.5rem, 18vw, 14.5rem);
  text-align: right;
  font-style: italic;
  animation: riseSoft 1.55s var(--ease-out) 0.48s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 12%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes riseSoft {
  from {
    opacity: 0;
    transform: translate3d(0, 18%, 0);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  opacity: 0;
  animation: riseSoft 1.35s var(--ease-out) 0.78s forwards;
}

.hero__tag {
  margin: 0;
  max-width: 20rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(247, 245, 241, 0.9);
}

.hero__pag {
  display: flex;
  align-items: stretch;
  gap: clamp(0.35rem, 1vw, 0.55rem);
  width: 100%;
  margin-top: clamp(1.6rem, 3.5vw, 2.35rem);
  opacity: 0;
  animation: riseSoft 1.2s var(--ease-out) 1s forwards;
}

.hero__pag .swiper-pagination-bullet {
  position: relative;
  flex: 1 1 0;
  width: auto !important;
  height: 2px;
  margin: 0 !important;
  padding: 0;
  background: rgba(247, 245, 241, 0.28);
  opacity: 1;
  border-radius: 0;
  overflow: hidden;
  transition: background 0.35s var(--ease);
}

.hero__pag .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #f7f5f1;
  transform-origin: left center;
}

.hero__pag.is-run .swiper-pagination-bullet-active::after {
  animation: heroPagFill var(--hero-delay, 5200ms) linear forwards;
}

.hero__pag .swiper-pagination-bullet-active {
  background: rgba(247, 245, 241, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .hero__pag .swiper-pagination-bullet-active::after {
    width: 100%;
    animation: none;
  }
}

@keyframes heroPagFill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Black manifesto */
.manifesto {
  background: #0c0c0c;
  color: #f7f5f1;
  padding: clamp(3.5rem, 9vw, 7.5rem) var(--pad-wide);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.manifesto__kicker {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.55;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.manifesto__text {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 8.2rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.manifesto__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.35rem;
}

.manifesto__points li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(247, 245, 241, 0.14);
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease);
}

.manifesto__points li:hover {
  transform: translateX(0.4rem);
}

.manifesto__ico {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  color: rgba(247, 245, 241, 0.7);
  transition: color 0.4s var(--ease), transform 0.55s var(--ease-out);
}

.manifesto__points li:hover .manifesto__ico {
  color: #f7f5f1;
  transform: scale(1.06);
}

.manifesto__ico svg {
  width: 2.35rem;
  height: 2.35rem;
}

.manifesto__points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.manifesto__points p {
  margin: 0.25rem 0 0;
  color: rgba(247, 245, 241, 0.55);
  font-size: 0.95rem;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1.35rem 0;
  background: var(--bg);
}

.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: slide 48s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track span {
  opacity: 0.5;
}

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

/* Chapters */
.chapter {
  padding: clamp(3.25rem, 7vw, 6.5rem) var(--pad-wide);
  border-bottom: 1px solid var(--line);
}

.chapter--tight-bottom {
  padding-bottom: 0;
}

.chapter--tight-top {
  padding-top: clamp(2.25rem, 4.5vw, 3.5rem);
}

.chapter--flush {
  padding-bottom: 0;
}

.chapter--flush-top {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.chapter--soft {
  background: var(--bg-soft);
}

.chapter--bleed {
  padding-inline: 0;
}

.chapter--bleed .chapter__head {
  padding-inline: var(--pad-wide);
}

.chapter--ink {
  background: #0c0c0c;
  color: #f7f5f1;
  border-bottom-color: rgba(247, 245, 241, 0.12);
}

.chapter--ink .mega {
  margin-bottom: 0.5rem;
}

.chapter--ink .chapter__num,
.chapter--ink .style-row p,
.chapter--ink .style-row__n {
  color: rgba(247, 245, 241, 0.55);
}

.chapter--ink .styles,
.chapter--ink .style-row {
  border-color: rgba(247, 245, 241, 0.14);
}

.chapter--end {
  border-bottom: 0;
}

.chapter__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.75rem);
}

.chapter__num {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  align-self: start;
  padding-top: 0.85rem;
}

.chapter__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  text-align: right;
  transition: transform 1.2s var(--ease-out), opacity 1.2s var(--ease-out);
}

.reveal.is-in .chapter__title {
  animation: titleSettle 1.25s var(--ease-out) both;
}

@keyframes titleSettle {
  from {
    opacity: 0;
    transform: translate3d(1.5rem, 0, 0);
    letter-spacing: -0.01em;
  }
  to {
    opacity: 1;
    transform: none;
    letter-spacing: -0.045em;
  }
}

.chapter__note {
  margin: -0.75rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  color: var(--mute);
}

/* Studio */
.studio {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  max-width: var(--max);
}

.studio__side {
  display: grid;
  gap: 1.1rem;
  padding-bottom: 0.5rem;
}

.studio__side p {
  margin: 0;
  color: var(--mute);
  font-size: 1.08rem;
  max-width: 30rem;
}

.studio__side .text-btn {
  margin-top: 0.75rem;
  justify-self: start;
}

/* Trainers runway */
.runway {
  display: grid;
}

.runway-row {
  display: grid;
  grid-template-columns: minmax(160px, 22vw) minmax(0, 1fr);
  min-height: clamp(170px, 20vw, 240px);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.runway-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 22vw);
}

.runway-row:nth-child(even) .runway-row__photo {
  order: 2;
}

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

#trainers {
  border-bottom: 0;
}

.runway-row__photo {
  position: relative;
  overflow: hidden;
  background: #e4e0d8;
}

.runway-row__photo .runway-row__n {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  z-index: 1;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.runway-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
}

.runway-row:hover .runway-row__photo img {
  transform: scale(1.05);
  filter: none;
}

.runway-row__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 1.5rem);
  padding: clamp(1rem, 2.5vw, 2rem) var(--pad-wide);
  border-left: 1px solid var(--line);
}

.runway-row:nth-child(even) .runway-row__body {
  border-left: 0;
  border-right: 1px solid var(--line);
}

.runway-row__body > .runway-row__n {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--ink);
  opacity: 0.1;
  user-select: none;
}

.runway-row__copy {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  max-width: 28rem;
}

.runway-row h3 {
  margin: 0;
  display: grid;
  gap: 0.12em;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.runway-row__surname {
  display: block;
}

.runway-row__given {
  display: block;
  font-size: 0.72em;
  letter-spacing: -0.02em;
  color: var(--mute);
}

.runway-row__role {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.runway-row__exp {
  margin: 0.35rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  color: var(--mute);
}

.runway-row__awards {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.runway-row__awards li {
  position: relative;
  padding-left: 0.85rem;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.35;
}

.runway-row__awards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* Kids styles */
.styles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(247, 245, 241, 0.14);
}

.style-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid rgba(247, 245, 241, 0.14);
  transition: transform 0.55s var(--ease-out);
}

.style-row:hover {
  transform: translateY(-0.2rem);
}

.style-row:nth-child(odd) {
  border-right: 1px solid rgba(247, 245, 241, 0.14);
  padding-right: 2.25rem;
}

.style-row:nth-child(even) {
  padding-left: 2.25rem;
}

.style-row__n {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
}

.style-row h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
}

.style-row p {
  margin: 0;
  max-width: 28rem;
  line-height: 1.55;
  color: rgba(247, 245, 241, 0.58);
}

.styles-adults {
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
  scroll-margin-top: 5.5rem;
}

.mega--adults {
  margin-bottom: 0;
}

/* Offers / tariffs */
.tariffs {
  display: grid;
  border-top: 1px solid var(--line);
  width: 100%;
}

.tariff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1.75rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.55s var(--ease-out), background 0.55s var(--ease);
}

.tariff:hover {
  padding-left: 0.65rem;
}

.tariff__body {
  min-width: 0;
}

.tariff h3,
.tariff__price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  transition: letter-spacing 0.55s var(--ease-out);
}

.tariff:hover h3,
.tariff:hover .tariff__price {
  letter-spacing: -0.01em;
}

.tariff__price {
  text-align: right;
  white-space: normal;
  max-width: 11rem;
}

.tariff p {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  color: var(--mute);
  line-height: 1.4;
}

.chapter__note--light {
  color: rgba(247, 245, 241, 0.55);
}

/* Swiper: exact columns in dots column; next slide peeks only inside shell (clip at body edge) */
.slider {
  position: relative;
  margin-left: calc(var(--pad-wide) * -1);
  margin-right: calc(var(--pad-wide) * -1);
  width: calc(100% + var(--pad-wide) * 2);
  overflow-x: clip;
  overflow-y: visible;
}

.slider__stage {
  position: relative;
  padding-inline: var(--pad-wide);
  box-sizing: border-box;
  overflow: visible;
}

.slider .swiper {
  overflow: visible;
  margin: 0;
  padding: 0;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(12, 12, 12, 0.14);
  border-radius: 50%;
  background: rgba(247, 245, 241, 0.88);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out), background 0.35s var(--ease);
}

.slider__arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

.slider__arrow--prev {
  left: max(1rem, calc(var(--pad-wide) * 0.45));
}

.slider__arrow--next {
  right: max(1rem, calc(var(--pad-wide) * 0.45));
}

.slider__arrow:hover:not(.swiper-button-disabled) {
  background: #f7f5f1;
  transform: translateY(-50%) scale(1.05);
}

.slider__arrow.swiper-button-disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.slider__pag {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: clamp(0.35rem, 1vw, 0.55rem);
  width: 100%;
  margin-top: clamp(1.35rem, 3vw, 1.85rem);
  padding-inline: var(--pad-wide);
  box-sizing: border-box;
}

.slider__pag.swiper-pagination-fraction,
.slider__pag--fraction {
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.slider__pag .swiper-pagination-bullet {
  position: relative;
  flex: 1 1 0;
  width: auto !important;
  height: 2px;
  min-height: 2px;
  margin: 0 !important;
  padding: 0;
  border-radius: 0;
  background: rgba(12, 12, 12, 0.2);
  opacity: 1;
  overflow: hidden;
  transition: background 0.35s var(--ease);
}

.slider__pag .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  inset: -0.75rem 0;
}

.slider__pag .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--ink);
  transition: width 0.45s var(--ease);
}

.slider__pag .swiper-pagination-bullet-active {
  background: rgba(12, 12, 12, 0.2);
}

.slider__pag .swiper-pagination-bullet-active::after {
  width: 100%;
}

.chapter--ink .slider__pag .swiper-pagination-bullet {
  background: rgba(247, 245, 241, 0.28);
}

.chapter--ink .slider__pag .swiper-pagination-bullet-active {
  background: rgba(247, 245, 241, 0.28);
}

.chapter--ink .slider__pag .swiper-pagination-bullet-active::after {
  background: #f7f5f1;
}

.hall-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e4e0d8;
  aspect-ratio: 16 / 10;
  color: #f7f5f1;
}

.hall-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.42));
  pointer-events: none;
  z-index: 1;
}

.hall-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hall-card:hover img {
  transform: scale(1.04);
}

.hall-card__zoom {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f7f5f1;
  pointer-events: none;
}

.hall-card__zoom svg {
  width: clamp(3.2rem, 5vw, 4.25rem);
  height: clamp(3.2rem, 5vw, 4.25rem);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s var(--ease);
}

.hall-card:hover .hall-card__zoom svg {
  transform: scale(1.06);
}

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #e4e0d8;
  color: #f7f5f1;
}

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #e4e0d8;
  color: #f7f5f1;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.42));
  pointer-events: none;
  z-index: 1;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card__zoom {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f7f5f1;
  pointer-events: none;
}

.gallery-card__zoom svg {
  width: clamp(3.2rem, 5vw, 4.25rem);
  height: clamp(3.2rem, 5vw, 4.25rem);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s var(--ease);
}

.gallery-card:hover .gallery-card__zoom svg {
  transform: scale(1.06);
}

.video-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.video-card:hover img {
  transform: scale(1.05);
}

.video-card__play {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f7f5f1;
  pointer-events: none;
}

.video-card__play svg {
  width: clamp(3.2rem, 5vw, 4.25rem);
  height: clamp(3.2rem, 5vw, 4.25rem);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s var(--ease);
}

.video-card:hover .video-card__play svg {
  transform: scale(1.06);
}

.video-card__title {
  position: absolute;
  z-index: 2;
  left: 1.2rem;
  bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: -0.025em;
}

/* Map */
.map {
  position: relative;
  height: min(44vh, 440px);
  background: #1a1a1a;
  overflow: hidden;
}

.map__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Embed from Yandex often includes extra links/divs — keep only the iframe stretched */
.map__frame > *:not(iframe) {
  display: none !important;
}

.map__frame iframe {
  position: absolute;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border: 0;
}

.map__route {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  background: #0c0c0c;
  color: #f7f5f1;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.35);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.map__route:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-1px);
}

.chapter--ink .chapter__note {
  color: rgba(247, 245, 241, 0.55);
}

/* Contact — full content width, strict 2-col grid */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.contact__info,
.contact__form {
  min-width: 0;
  width: 100%;
}

.contact dl {
  margin: 1.75rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.contact dl div {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.contact dl div:last-child,
.contact dl div.contact__social {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact dt {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.contact dd {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 400;
}

.phone-list {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
}

.contact dd.phone-list {
  font-size: inherit;
  margin-top: 0.45rem;
}

.phone-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  line-height: 1.25;
  transition: opacity 0.3s var(--ease);
}

.phone-line:hover {
  opacity: 0.72;
}

.phone-line__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.phone-line__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: rgba(12, 12, 12, 0.62);
}

.phone-list--footer {
  gap: 0.35rem;
}

.phone-list--footer .phone-line__num {
  font-size: 1.12rem;
  font-weight: 400;
}

.phone-list--footer .phone-line__name {
  font-size: 1rem;
  color: rgba(247, 245, 241, 0.62);
}

.contact__social dd {
  margin-top: 0.75rem;
}

.contact__msg {
  margin-top: 0;
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.contact__msg .msg-link {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  min-height: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease);
}

.contact__msg .msg-link:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
  opacity: 0.82;
}

.contact__msg .msg-link:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.contact__msg .msg-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact__form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid rgba(12, 12, 12, 0.12);
  box-shadow: 0 18px 50px rgba(12, 12, 12, 0.05);
}

.contact__form h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.contact__form > label:not(.check) {
  display: grid;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.field__control {
  position: relative;
  display: block;
}

.contact__form input[type="text"],
.contact__form input[type="tel"],
.contact__form input:not([type="checkbox"]) {
  border: 0;
  border-bottom: 1.5px solid rgba(12, 12, 12, 0.35);
  background: transparent;
  padding: 0.85rem 2.1rem 0.95rem 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color 0.35s var(--ease);
}

.contact__form input:focus {
  border-color: var(--ink);
}

.field__ok {
  position: absolute;
  right: 0;
  bottom: 0.85rem;
  width: 1.15rem;
  height: 1.15rem;
  color: #1f8a4c;
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease-out);
}

.field__ok svg {
  display: block;
  width: 100%;
  height: 100%;
}

.field.is-valid .field__ok {
  opacity: 1;
  transform: scale(1);
}

.field.is-invalid input {
  border-color: #c43c3c;
}

.field.is-invalid input:focus {
  border-color: #c43c3c;
}

.check.is-invalid .check__box {
  border-color: #c43c3c;
  background: rgba(196, 60, 60, 0.08);
}

.check.is-invalid input:checked + .check__box {
  background: var(--ink);
  border-color: var(--ink);
}

.contact__form input::placeholder {
  color: rgba(12, 12, 12, 0.38);
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.contact__form input::-webkit-input-placeholder {
  font-style: normal;
}

.contact__form input::-moz-placeholder {
  font-style: normal;
  opacity: 1;
}

.checks {
  display: grid;
  gap: 0.95rem;
  margin-top: 0.35rem;
}

.check {
  display: grid !important;
  grid-template-columns: 1.55rem 1fr;
  gap: 0.85rem;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.check__box {
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  border: 1.5px solid rgba(12, 12, 12, 0.55);
  background: transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  flex-shrink: 0;
  align-self: center;
}

.check__box::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.28rem;
  width: 0.35rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--paper);
  border-bottom: 1.5px solid var(--paper);
  transform: rotate(40deg) scale(0);
  transition: transform 0.35s var(--ease-out);
}

.check input:checked + .check__box {
  background: var(--ink);
  border-color: var(--ink);
}

.check input:checked + .check__box::after {
  transform: rotate(40deg) scale(1);
}

.check input:focus-visible + .check__box {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.check__text a {
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s var(--ease);
}

.check__text a:hover {
  opacity: 0.55;
}

.contact__form button {
  justify-self: stretch;
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  min-height: 3.6rem;
  padding: 0 1.9rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: transform 0.45s var(--ease-out), letter-spacing 0.45s var(--ease), opacity 0.35s var(--ease);
}

.contact__form button:hover {
  transform: translateY(-2px);
  letter-spacing: 0.28em;
}

.contact__form button:disabled,
.contact__form button.is-loading {
  cursor: wait;
  opacity: 0.88;
}

.contact__form button.is-loading:hover {
  transform: none;
  letter-spacing: 0.22em;
}

.contact__form button.is-loading::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: formBtnSpin 0.7s linear infinite;
}

@keyframes formBtnSpin {
  to {
    transform: rotate(360deg);
  }
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.status {
  margin: 0;
  min-height: 0;
  font-size: 0.9rem;
}

.status.is-ok {
  color: #2f6b4f;
}

.status.is-error {
  color: #8a2f2f;
}

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

/* Form feedback modal */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: max(1.25rem, env(safe-area-inset-top)) var(--pad) max(1.25rem, env(safe-area-inset-bottom));
}

.form-modal[hidden] {
  display: none;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.form-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: clamp(2.25rem, 4vw, 2.75rem);
  background: var(--paper);
  border: 1px solid rgba(12, 12, 12, 0.12);
  box-shadow: 0 24px 60px rgba(12, 12, 12, 0.18);
  color: var(--ink);
  animation: formModalIn 0.45s var(--ease-out) both;
}

.form-modal.is-error .form-modal__dialog {
  border-color: rgba(138, 47, 47, 0.28);
}

.form-modal.is-ok .form-modal__dialog {
  border-color: rgba(47, 107, 79, 0.28);
}

@keyframes formModalIn {
  from {
    opacity: 0;
    transform: translateY(0.85rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  transition: opacity 0.3s var(--ease);
}

.form-modal__close:hover {
  opacity: 0.55;
}

.form-modal__close:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.form-modal__close span,
.form-modal__close span::before {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.05rem;
  height: 1px;
  background: currentColor;
}

.form-modal__close span {
  margin: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.form-modal__close span::before {
  content: "";
  transform: translate(-50%, -50%) rotate(90deg);
}

.form-modal__kicker {
  margin: 0 0 0.75rem;
  padding-right: 2rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.form-modal__title {
  margin: 0 0 0.85rem;
  padding-right: 1.5rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.form-modal__text {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--mute);
}

.form-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.35rem;
  margin: 0;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #f7f5f1;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: none;
  transition: opacity 0.35s var(--ease), letter-spacing 0.45s var(--ease);
}

.form-modal__btn:hover {
  opacity: 0.88;
  letter-spacing: 0.24em;
}

.form-modal__btn:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

html.is-form-modal-open,
html.is-form-modal-open body {
  overflow: hidden;
}

@media (max-width: 760px) {
  .form-modal__btn:hover {
    letter-spacing: 0.2em;
  }
}

.footer {
  background: #0c0c0c;
  color: #f7f5f1;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad-wide) 0;
  border-top: 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 1px solid rgba(247, 245, 241, 0.12);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.footer__logo-mark {
  position: relative;
  display: block;
  width: 3rem;
  height: auto;
  aspect-ratio: 619 / 533;
  flex-shrink: 0;
}

.footer__logo-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__logo-mark .logo-mark__on-light {
  display: none;
}

.footer__tag {
  margin: 1rem 0 1.5rem;
  max-width: 18rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: rgba(255, 242, 207, 0.72);
}

.footer__cta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  transition: opacity 0.3s var(--ease);
}

.footer__cta:hover {
  opacity: 0.6;
}

.footer__label {
  margin: 0 0 1.1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.45);
}

.footer__spoiler {
  display: contents;
}

.footer__spoiler-ico {
  display: none;
}

.footer__spoiler-panel {
  display: block;
}

.footer__nav {
  display: grid;
  gap: 0.65rem;
}

.footer__nav a {
  font-size: 0.95rem;
  color: rgba(247, 245, 241, 0.78);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer__nav a:hover {
  color: #f7f5f1;
  transform: translateX(0.25rem);
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.footer__list li {
  display: grid;
  gap: 0.25rem;
}

.footer__list li > span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.42);
}

.footer__list strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: #f7f5f1;
}

.footer__list .phone-list--footer .phone-line__name {
  color: rgba(247, 245, 241, 0.62);
}

.footer__list a,
.footer__list a span {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
}

.footer__msg {
  color: #f7f5f1;
  margin-bottom: 1.25rem;
}

.footer__msg .msg-link {
  opacity: 0.85;
}

.footer__msg .msg-link:hover {
  opacity: 1;
}

.footer__hours {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(247, 245, 241, 0.62);
}

.footer__map-link {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(247, 245, 241, 0.45);
  padding-bottom: 0.15rem;
  color: rgba(247, 245, 241, 0.78);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer__map-link:hover {
  color: #f7f5f1;
  border-color: #f7f5f1;
}

.footer__rating {
  margin-top: 1.15rem;
  line-height: 0;
}

.footer__rating iframe {
  display: block;
  border: 0;
  width: 150px;
  height: 50px;
  max-width: 100%;
  background: transparent;
}

.footer__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0 1.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(247, 245, 241, 0.45);
}

.footer__bar a {
  color: rgba(247, 245, 241, 0.55);
  transition: color 0.3s var(--ease);
}

.footer__bar a:hover {
  color: #f7f5f1;
}

.footer__copy {
  margin: 0;
}

.footer__bar > a:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.footer__credit {
  justify-self: end;
  text-align: right;
  border-bottom: 1px solid transparent;
}

.footer__credit:hover {
  border-bottom-color: rgba(247, 245, 241, 0.45);
}

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

/* Burger nav ≤1200px */
@media (max-width: 1200px) {
  .header {
    min-height: 4.35rem;
    padding-top: env(safe-area-inset-top);
    z-index: 420;
  }

  .header__menu {
    display: block;
  }

  .site-nav {
    top: 0;
    bottom: 0;
    height: 100dvh;
    min-height: 100vh;
    z-index: 410;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(4.35rem + env(safe-area-inset-top) + 0.5rem) var(--pad) calc(1.75rem + env(safe-area-inset-bottom));
    padding-left: var(--pad);
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translate3d(0, -105%, 0);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.55s var(--ease),
      visibility 0s linear 0.55s;
  }

  .header.is-open ~ .site-nav {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.55s var(--ease),
      visibility 0s linear 0s;
  }

  .header.is-solid ~ .site-nav,
  .header.is-open ~ .site-nav {
    color: var(--ink);
  }

  .site-nav > a {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-shadow: none;
  }

  .site-nav .msg-link {
    width: 2.75rem;
    padding: 0;
    border-bottom: 0;
    letter-spacing: normal;
    text-transform: none;
    opacity: 0.78;
  }

  .site-nav__msg {
    margin: 1.35rem 0 0;
    gap: 0.35rem;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .footer__spoiler {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 0.15rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
  }

  .footer__spoiler .footer__label {
    margin: 0;
    padding-right: 0.25rem;
  }

  .footer__spoiler-ico {
    display: block;
    flex-shrink: 0;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.15rem;
    border-right: 1.5px solid rgba(247, 245, 241, 0.7);
    border-bottom: 1.5px solid rgba(247, 245, 241, 0.7);
    transform: rotate(45deg);
    transition: transform 0.45s var(--ease);
  }

  .footer__col--sections.is-open .footer__spoiler-ico {
    transform: rotate(-135deg);
  }

  .footer__spoiler-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease);
  }

  .footer__col--sections.is-open .footer__spoiler-panel {
    grid-template-rows: 1fr;
  }

  .footer__spoiler-panel > .footer__nav {
    overflow: hidden;
    min-height: 0;
    opacity: 0.001;
    transition: opacity 0.35s var(--ease) 0.05s;
  }

  .footer__col--sections.is-open .footer__spoiler-panel > .footer__nav {
    opacity: 1;
  }

  .footer__nav {
    padding: 0.85rem 0 0.15rem;
    gap: 0;
  }

  .footer__nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(247, 245, 241, 0.1);
  }

  .footer__nav a:last-child {
    border-bottom: 0;
  }

  .footer__label {
    letter-spacing: 0.18em;
  }

  .studio,
  .contact,
  .styles {
    grid-template-columns: 1fr;
  }

  .hall-card {
    aspect-ratio: 3 / 4;
  }

  .runway-row,
  .runway-row:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .runway-row:nth-child(even) .runway-row__photo {
    order: 0;
  }

  .runway-row__photo {
    aspect-ratio: 16 / 10;
  }

  .runway-row__photo img {
    object-position: center 18%;
  }

  .runway-row__body,
  .runway-row:nth-child(even) .runway-row__body {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    border-left: 0;
    border-right: 0;
    padding: 1.15rem var(--pad) 1.5rem;
  }

  .runway-row__body > .runway-row__n {
    display: none;
  }

  .runway-row__copy {
    max-width: none;
  }

  .style-row,
  .style-row:nth-child(odd),
  .style-row:nth-child(even) {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

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

  .chapter__head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .chapter__num {
    padding-top: 0.35rem;
    letter-spacing: 0.12em;
  }

  .chapter__dot,
  .chapter__label {
    display: none;
  }

  .chapter__title {
    text-align: right;
    font-size: clamp(2.75rem, 14vw, 5.5rem);
  }

  .tariff {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tariff__price {
    text-align: left;
    max-width: none;
  }

  .tariff h3,
  .tariff__price {
    font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  }

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

  .footer__brand {
    grid-column: auto;
  }

  .footer__bar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.85rem;
  }

  .footer__bar > a:nth-child(2),
  .footer__credit {
    justify-self: start;
    text-align: left;
  }

  .footer__cta {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .footer__nav a {
    padding: 0.45rem 0;
  }

  .slider__arrow {
    width: 2.85rem;
    height: 2.85rem;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: max(1.05rem, env(safe-area-inset-left), env(safe-area-inset-right), 4.2vw);
    --pad-wide: max(1.05rem, env(safe-area-inset-left), env(safe-area-inset-right), 4.8vw);
  }

  body {
    font-size: 1rem;
  }

  .header__logo {
    font-size: 1.35rem;
    gap: 0.55rem;
  }

  .header__logo-mark {
    width: 2.15rem;
  }

  .hero__frame {
    padding-top: max(4.6rem, calc(env(safe-area-inset-top) + 3.6rem));
    padding-bottom: max(1rem, calc(env(safe-area-inset-bottom) + 0.75rem));
    gap: 0.55rem;
  }

  /* Prevent Ken Burns / cover from leaking 1px under hero on mobile */
  .hero__slider .swiper-slide {
    clip-path: inset(0);
  }

  .hero__img {
    inset: -8%;
    width: 116%;
    height: 116%;
    max-width: none;
  }

  .map {
    min-height: 0;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    background: transparent;
    width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
  }

  .map__frame {
    position: relative;
    inset: auto;
    width: 100%;
    height: min(48vh, 360px);
    min-height: 240px;
    background: #1a1a1a;
    overflow: hidden;
  }

  .map__route {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 0.85rem 0 0;
    box-sizing: border-box;
    box-shadow: none;
    background: #0c0c0c;
    border: 1px solid rgba(247, 245, 241, 0.32);
  }

  .map__route:hover {
    background: #161616;
    border-color: rgba(247, 245, 241, 0.55);
    transform: none;
  }

  .hero__line1,
  .hero__line2 {
    font-size: clamp(3.6rem, 16.5vw, 5.4rem);
    line-height: 0.88;
  }

  .hero__line2 {
    text-align: left;
  }

  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1rem;
  }

  .hero__tag {
    max-width: 15.5rem;
    font-size: clamp(1.15rem, 4.6vw, 1.4rem);
  }

  .hero__pag {
    margin-top: 1.55rem;
  }

  .hero__pag .swiper-pagination-bullet {
    height: 2px;
  }

  .hero__pag .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    inset: -0.75rem 0;
  }

  .manifesto {
    padding: clamp(2.75rem, 10vw, 4.5rem) var(--pad-wide);
  }

  .manifesto__text {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
    max-width: none;
  }

  .manifesto__points {
    gap: 1.1rem;
  }

  .chapter {
    padding-block: clamp(2.75rem, 9vw, 4.25rem);
  }

  .chapter--flush {
    padding-bottom: 0;
  }

  .chapter--flush-top {
    padding-top: clamp(2.5rem, 7vw, 3.5rem);
  }

  .chapter--ink.chapter--flush-top {
    border-top: 0;
  }

  #trainers {
    border-bottom: 0;
  }

  #trainers .runway-row:last-child {
    border-bottom: 0;
  }

  .chapter__title {
    font-size: clamp(2.65rem, 13.5vw, 4.1rem);
  }

  .mega {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }

  .style-row,
  .style-row:nth-child(odd),
  .style-row:nth-child(even) {
    padding: 1.2rem 0;
  }

  .style-row {
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
  }

  .style-row__n {
    font-size: 1.7rem;
  }

  .runway-row__photo {
    aspect-ratio: 4 / 5;
  }

  .runway-row__photo img {
    object-position: center 12%;
  }

  .runway-row__body {
    padding-block: 1rem 1.35rem;
    gap: 0.3rem;
  }

  .runway-row h3 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .slider__arrow {
    display: none;
  }

  .slider__pag {
    margin-top: 1.15rem;
  }

  .slider__pag .swiper-pagination-bullet {
    height: 2px;
    min-height: 2px;
  }

  .contact__form {
    padding: 1.15rem;
    gap: 1.05rem;
  }

  .contact__form h3 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .contact__form button:hover {
    transform: none;
    letter-spacing: 0.22em;
  }

  .footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

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

  .footer__credit {
    overflow-wrap: anywhere;
  }

  .marquee__track {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
    animation-duration: 64s;
  }
}

@media (max-width: 380px) {
  .hero__line1,
  .hero__line2 {
    font-size: clamp(3.15rem, 15.5vw, 4.2rem);
  }

  .site-nav > a {
    padding: 0.88rem 0;
    font-size: 0.74rem;
  }
}

/* Legal / text pages — always solid header (no hero overlay) */
.page-legal .header {
  color: var(--ink);
  background: rgba(247, 245, 241, 0.97);
  border-bottom: 1px solid var(--line);
}

.page-legal .header__logo-mark .logo-mark__on-dark {
  opacity: 0;
  filter: none;
}

.page-legal .header__logo-mark .logo-mark__on-light {
  opacity: 1;
}

.page-legal .site-nav {
  color: var(--ink);
}

.page-legal .site-nav > a {
  text-shadow: none;
}

.page-legal .header.is-open {
  background: var(--bg);
}

.legal {
  padding: clamp(6.5rem, 12vh, 8.5rem) var(--pad-wide) clamp(3.5rem, 8vw, 6rem);
  max-width: var(--site-max);
  margin: 0 auto;
}

.legal__head {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.legal__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}

.legal__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.legal__lead {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--mute);
}

.legal__meta {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--mute);
}

.legal__body {
  max-width: 42rem;
}

.legal__body h2,
.legal__section h2 {
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.legal__body h2:first-child,
.legal__section:first-child h2 {
  margin-top: 0;
}

.legal__body p,
.legal__body li,
.legal__section p,
.legal__section li {
  margin: 0 0 0.85rem;
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal__body p:last-child,
.legal__body li:last-child,
.legal__section p:last-child,
.legal__section li:last-child {
  margin-bottom: 0;
}

.legal__body ul,
.legal__section ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.legal__body a,
.legal__section a {
  color: var(--ink);
  border-bottom: 1px solid rgba(12, 12, 12, 0.28);
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}

.legal__body a:hover,
.legal__section a:hover {
  opacity: 0.65;
  border-bottom-color: transparent;
}

.legal__body .text-btn,
.legal__section .text-btn {
  display: inline-block;
  margin-top: 0.75rem;
  border-bottom-color: currentColor;
}

/* Телефоны в политике — обычный текст, без «карточного» стиля и подчёркиваний */
.legal__body .phone-list {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.35rem;
}

.legal__body a.phone-line {
  display: block;
  border-bottom: none;
  color: inherit;
  font-size: inherit;
  line-height: 1.7;
  gap: 0.4rem;
}

.legal__body a.phone-line:hover {
  opacity: 0.72;
  border-bottom-color: transparent;
}

.legal__body .phone-line__num,
.legal__body .phone-line__name {
  flex: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  color: inherit;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.legal__body .phone-line__name::before {
  content: "\00a0\2014\00a0";
}

.legal__body a[data-phone-link] {
  border-bottom: none;
  color: inherit;
}

.legal__body a[data-phone-link]:hover {
  opacity: 0.72;
  border-bottom: none;
}

@media (max-width: 760px) {
  .legal {
    padding-top: clamp(5.75rem, 14vh, 7rem);
  }

  .legal__title {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}

/* —— 404 — same solid header as legal pages —— */
.page-error .header {
  color: var(--ink);
  background: rgba(247, 245, 241, 0.97);
  border-bottom: 1px solid var(--line);
}

.page-error .header__logo-mark .logo-mark__on-dark {
  opacity: 0;
  filter: none;
}

.page-error .header__logo-mark .logo-mark__on-light {
  opacity: 1;
}

.page-error .site-nav {
  color: var(--ink);
}

.page-error .site-nav > a {
  text-shadow: none;
}

.page-error .header.is-open {
  background: var(--bg);
}

.error-page {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(6.5rem, 16vh, 9rem) var(--pad) clamp(4rem, 10vh, 6rem);
  max-width: 42rem;
}

.error-page__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.error-page__code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.error-page__title {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.error-page__text {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--mute);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
}

.text-btn--ghost {
  opacity: 0.72;
}

.text-btn--ghost:hover {
  opacity: 1;
}

/* Fancybox html5 video: grow to viewport (esp. vertical 9:16 clips) */
.fancybox__slide.has-html5video .fancybox__content {
  width: auto !important;
  height: auto !important;
  max-width: min(96vw, 1400px) !important;
  max-height: 92vh !important;
  aspect-ratio: auto !important;
  background: #000;
}

.fancybox__slide.has-html5video .fancybox__html5video {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  object-fit: contain;
  background: #000;
}

@media (max-width: 760px) {
  .fancybox__slide.has-html5video .fancybox__content,
  .fancybox__slide.has-html5video .fancybox__html5video {
    max-width: 100vw !important;
    max-height: 88vh !important;
  }
}
