:root {
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.34);
  --line: rgba(255, 255, 255, 0.72);
  --accent: #d7ff36;
  --black: #090909;
  --frame: clamp(12px, 2vw, 24px);
  --sans: Arial, Helvetica, sans-serif;
  --display: "Bodoni 72", Didot, "Iowan Old Style", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--black);
}

body {
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.stage {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  padding: calc(var(--frame) + env(safe-area-inset-top)) calc(var(--frame) + env(safe-area-inset-right)) calc(var(--frame) + env(safe-area-inset-bottom)) calc(var(--frame) + env(safe-area-inset-left));
  isolation: isolate;
  overflow: hidden;
}

.slideshow,
.shade,
.film-grain {
  position: absolute;
  inset: 0;
}

.slideshow {
  z-index: -4;
  overflow: hidden;
  background: #171717;
}

.slide {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(0.08) brightness(0.62) contrast(1.08);
  transform: scale(1.02);
  transition: opacity 1.4s ease;
}

.slide.is-active {
  opacity: 1;
  animation: ken-burns 8s ease-out both;
}

.slide-white {
  object-position: 50% 50%;
  filter: grayscale(0.24) brightness(0.66) contrast(1.07);
}

.slide-black {
  object-position: 50% 28%;
}

.slide-red {
  object-position: 50% 44%;
}

.slide-wings {
  object-position: 50% 36%;
}

.shade {
  z-index: -3;
  background: radial-gradient(circle at 50% 44%, rgba(0, 0, 0, 0.08) 0, rgba(0, 0, 0, 0.36) 52%, rgba(0, 0, 0, 0.76) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.58) 100%);
}

.film-grain {
  z-index: -2;
  background: url("film-grain.gif") repeat;
  opacity: 0.1;
  pointer-events: none;
}

.frame {
  position: absolute;
  top: var(--frame);
  bottom: var(--frame);
  width: calc(50% - var(--frame));
  z-index: -1;
  opacity: 0.8;
  pointer-events: none;
}

.frame-left {
  left: var(--frame);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.frame-right {
  right: var(--frame);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.topbar,
.footer {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 34px;
  padding: 0 clamp(12px, 1.8vw, 28px);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.domain {
  justify-self: start;
  font-weight: 700;
}

.domain:hover,
.domain:focus-visible,
.contacts a:hover,
.contacts a:focus-visible {
  color: var(--accent);
}

.closure {
  margin: 0;
  color: var(--muted);
}

.schedule {
  justify-self: end;
  margin: 0;
}

.hero {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1080px, 92vw);
  max-height: 100%;
  padding: clamp(6px, 1.4vh, 16px) 0;
  text-align: center;
}

.mobile-closure,
.short-price {
  display: none;
}

.life-line {
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  align-items: center;
  width: min(920px, 88vw);
  gap: clamp(10px, 1.6vw, 24px);
}

.life-line p {
  margin: 0;
  font-size: clamp(11px, 1.3vw, 17px);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.life-line-bottom p {
  color: var(--muted);
}

.life-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.life-rule-short {
  max-width: 66%;
}

.life-line-top .life-rule-short {
  justify-self: start;
}

.life-line-bottom .life-rule-short {
  justify-self: end;
}

h1 {
  margin: clamp(8px, 1.6vh, 18px) 0 clamp(6px, 1vh, 12px);
  font-family: var(--display);
  font-size: clamp(52px, 10.7vw, 154px);
  font-style: normal;
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.studio-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(14px, 2.4vh, 24px) 0 0;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-line span {
  color: var(--muted);
}

.studio-line a {
  color: var(--accent);
  font-weight: 700;
}

.studio-line a:hover,
.studio-line a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lead {
  margin: clamp(8px, 1.4vh, 14px) 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--display);
  font-size: clamp(16px, 1.65vw, 23px);
  line-height: 1.25;
}

.facts {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: clamp(12px, 2vh, 20px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.facts li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px clamp(12px, 2vw, 28px);
  white-space: nowrap;
}

.facts li + li {
  border-left: 1px solid var(--faint);
}

.facts strong {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facts span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(14px, 2.3vh, 24px);
}

.booking,
.location {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.booking {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: 222px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.booking span {
  font-size: 17px;
  font-weight: 400;
}

.booking:hover,
.booking:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
}

.location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 222px;
  padding: 0 18px;
  background: rgba(0, 0, 0, 0.18);
  text-align: left;
  backdrop-filter: blur(5px);
  transition: background 180ms ease, border-color 180ms ease;
}

.location span {
  font-size: 12px;
  line-height: 1.2;
}

.location small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location:hover,
.location:focus-visible {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.42);
}

.footer {
  grid-template-columns: 1fr auto 1fr;
  color: var(--muted);
}

.disclosure {
  margin: 0;
}

.contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contacts a {
  transition: color 180ms ease;
}

.slide-dots {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
  transition: width 300ms ease, background 300ms ease;
}

.dot.is-active {
  width: 28px;
  background: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@keyframes ken-burns {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(-0.8%, -0.5%, 0);
  }
}

@media (max-width: 760px) {
  :root {
    --frame: 10px;
  }

  .stage {
    padding-left: calc(var(--frame) + env(safe-area-inset-left));
    padding-right: calc(var(--frame) + env(safe-area-inset-right));
  }

  .topbar,
  .footer {
    padding-right: 12px;
    padding-left: 12px;
  }

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

  .closure {
    display: none;
  }

  .schedule {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero {
    width: calc(100vw - 38px);
  }

  .life-line {
    width: 100%;
    grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
    gap: 8px;
  }

  .life-line p {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(43px, 13.8vw, 70px);
    line-height: 0.88;
    letter-spacing: -0.06em;
  }

  .studio-line {
    flex-wrap: wrap;
    gap: 6px 9px;
    max-width: 92%;
    font-size: 9px;
  }

  .mobile-closure {
    display: block;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 8px;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .lead {
    max-width: 90%;
    font-size: 16px;
  }

  .facts {
    width: 100%;
  }

  .facts li {
    flex: 1 1 25%;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 8px 4px;
  }

  .facts strong {
    font-size: 10px;
  }

  .facts span {
    font-size: 8px;
  }

  .actions {
    width: 100%;
  }

  .booking,
  .location {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 50px;
  }

  .booking {
    gap: 10px;
    padding: 0 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .location {
    padding: 0 12px;
  }

  .location span {
    font-size: 10px;
  }

  .footer {
    grid-template-columns: 1fr auto;
    font-size: 8px;
    letter-spacing: 0.09em;
  }

  .contacts {
    display: none;
  }

  .slide-white {
    object-position: 50% 50%;
  }
}

@media (max-width: 430px) {
  .life-line-bottom p {
    font-size: 9px;
  }
}

@media (max-height: 680px) {
  .lead {
    display: none;
  }

  .studio-line {
    margin-top: 10px;
  }

  .facts {
    margin-top: 10px;
  }

  .actions {
    margin-top: 10px;
  }
}

@media (max-height: 540px) {
  .topbar,
  .footer {
    min-height: 26px;
  }

  .hero {
    width: min(980px, 90vw);
    padding: 2px 0;
  }

  h1 {
    margin-top: 4px;
    margin-bottom: 3px;
    font-size: min(12.5vh, 92px);
  }

  .studio-line {
    margin-top: 6px;
  }

  .facts {
    margin-top: 6px;
  }

  .facts li {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .actions {
    margin-top: 7px;
  }

  .booking,
  .location {
    min-height: 42px;
  }
}

@media (max-height: 420px) {
  .lead,
  .facts,
  .disclosure {
    display: none;
  }

  .topbar,
  .footer {
    min-height: 22px;
  }

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

  .schedule {
    display: block;
  }

  .hero {
    width: min(900px, 86vw);
  }

  .life-line p {
    font-size: 9px;
  }

  h1 {
    font-size: min(18vh, 70px);
  }

  .studio-line {
    margin-top: 5px;
  }

  .short-price {
    display: inline;
  }

  .actions {
    margin-top: 6px;
  }

  .booking,
  .location {
    min-height: 38px;
  }

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

  .slide-dots {
    justify-self: end;
  }
}

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