:root {
  color-scheme: dark;
  --bg: #070807;
  --ink: #f6f1e7;
  --muted: #b7aa96;
  --gold: #d6b25e;
  --green: #0e3b2c;
  --line: rgba(214, 178, 94, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background:
    radial-gradient(800px 420px at 50% -10%, rgba(14, 59, 44, 0.55), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: Outfit, "Avenir Next", sans-serif;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

h1, .brand strong, .name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}

.gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  padding: 12px 12px 20px;
}

.coin-wrap {
  position: relative;
  width: min(68vh, 92vw);
  aspect-ratio: 1;
}

.coin-wrap::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), #f6f1e7, var(--green), var(--gold));
  animation: spin 14s linear infinite;
}

.coin {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #0c2418;
}

@keyframes spin { to { transform: rotate(1turn); } }

.name {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

#enter, .ca {
  background: var(--gold);
  color: #1a1408;
  padding: 12px 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}

#enter { min-width: 220px; }

.ca.is-on { background: var(--ink); }

.app { display: block; }
html.stage-open { overflow: hidden; }

.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(7, 8, 7, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.mark-slot {
  position: relative;
  width: 88px;
  height: 88px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--gold);
}

.mark {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--green);
}

.brand strong {
  display: block;
  font-size: 30px;
  line-height: 0.85;
  font-style: italic;
  letter-spacing: 0.06em;
}

.brand span {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.bar .ca { margin-left: auto; white-space: nowrap; }

.hero {
  position: relative;
  min-height: min(72vh, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 7, 0.72) 0%, rgba(7, 8, 7, 0.12) 42%, transparent 70%),
    linear-gradient(180deg, transparent 55%, rgba(7, 8, 7, 0.55));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 12px 16px 14px;
  max-width: 640px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(92px, 12vw, 148px);
  line-height: 0.78;
  font-style: italic;
}

.lede {
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 14px;
}

.note {
  margin: 2px 0 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 12px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0a0c0a;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker span {
  padding: 4px 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cinema {
  display: grid;
  gap: 4px;
  padding: 4px 0 0;
}

.cinema figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
}

.cinema .still { object-position: center 34%; }

.cinema video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 34%;
  background: #000;
  transform-origin: 50% 34%;
  transition: transform 1.15s ease;
}

.cinema figcaption,
.wall figcaption {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 1;
  margin: 0;
  padding: 2px 6px;
  background: rgba(7, 8, 7, 0.72);
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
}

.still {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mark-slot .still { border-radius: 50%; }

.banner-live video,
.cinema video,
.wall video,
.mark {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.banner-live video.is-ready,
.cinema video.is-ready,
.wall video.is-ready,
.mark.is-ready { opacity: 1; }

.banner-live {
  position: relative;
  overflow: hidden;
  background: #070807;
}

.banner-live img,
.banner-live video {
  width: 100%;
  height: auto;
  aspect-ratio: 2172 / 724;
  object-fit: cover;
  object-position: center;
}

.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px 0 0;
}

.wall figure { position: relative; margin: 0; overflow: hidden; cursor: pointer; }

.wall .still { object-position: center 28%; }

.wall video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center 28%;
  background: #000;
  transform-origin: 50% 30%;
  transition: transform 1.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cinema figure:hover video,
  .wall figure:hover video { transform: scale(1.16); }
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #000;
}

.stage[hidden] { display: none; }

.stage-vid {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
  background: #000;
}

.stage-x,
.stage-prev,
.stage-next {
  position: absolute;
  z-index: 2;
  background: rgba(7, 8, 7, 0.72);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 14px;
}

.stage-x { top: 12px; right: 12px; }
.stage-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.stage-next { right: 12px; top: 50%; transform: translateY(-50%); }

.stage-cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  padding: 4px 10px;
  background: rgba(7, 8, 7, 0.72);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 22px;
}

footer {
  margin: 0;
  padding: 8px 12px 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .bar { padding: 10px 12px; }
  .mark-slot { width: 72px; height: 72px; }
  .brand span { display: none; }
  .bar .ca, #enter { padding: 10px 12px; letter-spacing: 0.08em; }
  .hero { min-height: 70vh; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(7, 8, 7, 0.05) 30%, rgba(7, 8, 7, 0.78));
  }
  .hero-copy { padding: 10px 12px 12px; }
  .hero h1 { font-size: 84px; }
  .wall { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .cinema {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .cinema::-webkit-scrollbar { display: none; }
  .cinema figure {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coin-wrap::before, .ticker-track { animation: none; }
  .wall video, .cinema video { transition: none; }
  .wall figure:hover video, .cinema figure:hover video { transform: none; }
}
