:root {
  --midnight: #0a0a0d;
  --charcoal: #121217;
  --navy: #0f172a;
  --gold: #d4af37;
  --gold-warm: #f7c65c;
  --gold-glow: #ffd889;
  --slate: #8a8f98;
  --ivory: #f8f8f8;
  --hairline: rgba(212, 175, 55, 0.22);
  --max: 1180px;
  --nav: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--ivory);
  font-family: Inter, "SF Pro Text", "Helvetica Neue", sans-serif;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

a,
button {
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.18);
}

a {
  color: var(--gold-warm);
  text-decoration: none;
}

a:hover {
  color: var(--gold-glow);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--midnight);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 40;
  background: rgba(212, 175, 55, 0.12);
}

.progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--gold-glow));
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(247, 198, 92, 0.16), transparent 62%);
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.08;
  mix-blend-mode: overlay;
  animation: grain 1.2s steps(4) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.overture {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: #050507;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.overture.is-done {
  opacity: 0;
  visibility: hidden;
}

.overture-inner {
  text-align: center;
}

.overture-lockup {
  width: min(380px, 86vw);
  animation: rise 1.1s 0.15s both;
}

.sprockets {
  pointer-events: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 10px;
  z-index: 9;
  background: repeating-linear-gradient(
    to bottom,
    var(--gold) 0 7px,
    transparent 7px 22px
  );
  opacity: 0.22;
  animation: film 8s linear infinite;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--nav);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  background: rgba(10, 10, 13, 0.84);
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  flex: 0 0 auto;
  z-index: 42;
}

.wordmark {
  font-family: Inter, "SF Pro Text", sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 13px;
}

.wordmark .cine {
  color: #f3f4f6;
}

.wordmark .ora {
  color: var(--gold);
}

.brand .mark {
  animation: pulse 4.5s ease-in-out infinite;
}

.nav-desktop {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.nav-desktop a {
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-desktop a:not(.nav-cta):hover {
  color: var(--gold-glow);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--gold);
  padding: 0;
  z-index: 60;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 8px 14px;
  font-size: 11px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--midnight) !important;
}

.nav.is-tight {
  background: rgba(10, 10, 13, 0.94);
}

.menu-drawer {
  display: none;
}

.menu-drawer[hidden] {
  display: none !important;
}

.mark {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 7px;
}

.lockup {
  display: block;
  width: min(440px, 100%);
  margin: 6px 0 18px;
  filter: drop-shadow(0 18px 40px rgba(212, 175, 55, 0.2));
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 4px;
}

.hero-mark {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.28);
}

.display-word {
  display: flex;
  align-items: baseline;
  font-size: clamp(42px, 6.4vw, 84px);
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.hero {
  min-height: calc(100dvh - var(--nav));
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 48px 7vw 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% 35%;
  height: 70%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 62%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}

.kicker {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

h1,
h2,
h3 {
  font-family: Cinzel, serif;
  font-weight: 700;
  margin: 0;
}

.display {
  font-size: clamp(48px, 8vw, 104px);
  letter-spacing: 0.12em;
  line-height: 0.92;
  color: var(--gold);
  display: flex;
  flex-wrap: nowrap;
}

.display .char {
  display: inline-block;
  animation: letter 0.9s calc(var(--i) * 0.045s + 0.15s) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--gold-warm);
  margin: 18px 0 10px;
  animation: rise 1s 0.7s both;
}

.lede {
  max-width: 34rem;
  color: #c5c8ce;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-glow), var(--gold));
  color: var(--midnight) !important;
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(247, 198, 92, 0.45);
  animation: glow 3.2s ease-in-out infinite;
}

.btn-ghost {
  border-color: var(--hairline);
  color: var(--ivory) !important;
}

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

.fine {
  margin-top: 16px;
  color: var(--slate);
  font-size: 13px;
}

.phone {
  width: min(280px, 100%);
  margin-left: auto;
  aspect-ratio: 9 / 17.6;
  max-height: 72dvh;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a32, #070709);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.28);
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #08080c;
  position: relative;
}

.phone-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 12s ease-in-out infinite alternate;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.phone.is-swap .phone-poster {
  opacity: 0;
  filter: blur(8px);
}

.phone-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 13, 0.15), transparent 30%, rgba(10, 10, 13, 0.92));
}

.phone-ui {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  color: white;
}

.phone-ui .wordmark {
  font-size: 9px;
  letter-spacing: 0.22em;
}

.phone-ui h3 {
  font-size: 22px;
  margin: 6px 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-row {
  display: flex;
  gap: 8px;
}

.play-row span {
  flex: 1;
  text-align: center;
  background: white;
  color: black;
  border-radius: 6px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
}

.play-row span:last-child {
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.dock b {
  color: var(--gold);
  font-weight: 600;
}

.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.format {
  padding: 42px 32px;
  border-right: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.format:last-child {
  border-right: 0;
}

.format::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.45s ease;
}

.format:hover,
.format.is-live {
  background: rgba(212, 175, 55, 0.05);
}

.format:hover::before,
.format.is-live::before {
  transform: scaleX(1);
}

.format span {
  color: var(--gold);
  font-family: Cinzel, serif;
  letter-spacing: 0.28em;
  font-size: 15px;
}

.bars {
  display: flex;
  gap: 4px;
  height: 18px;
  margin: 12px 0 4px;
  align-items: flex-end;
}

.bars i {
  width: 3px;
  background: var(--gold);
  animation: bar 1s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.12s);
  height: 40%;
}

.format p {
  margin: 12px 0 0;
  color: #d2d4d8;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section h2 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.06em;
}

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

.manifesto {
  max-width: 40rem;
  font-size: 20px;
  color: var(--ivory);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: drift 42s linear infinite;
  color: var(--gold);
  font-family: Cinzel, serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 36px 20px 24px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  perspective: 1200px;
}

.rail.is-drag {
  cursor: grabbing;
}

.rail::-webkit-scrollbar {
  height: 0;
}

.card {
  flex: 0 0 240px;
  background: var(--charcoal);
  border: 1px solid var(--hairline);
  scroll-snap-align: start;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.card img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
}

.card figcaption {
  padding: 14px 14px 16px;
}

.card strong {
  display: block;
  font-family: Cinzel, serif;
  font-size: 15px;
}

.card em {
  font-style: normal;
  color: var(--slate);
  font-size: 13px;
}

.chapters {
  display: grid;
  gap: 18px;
}

.chapter {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 36px;
  background: linear-gradient(90deg, var(--navy), var(--charcoal));
  border: 1px solid var(--hairline);
  transform: translateX(-24px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease, border-color 0.3s ease;
}

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

.chapter:hover {
  border-color: var(--gold);
}

.num {
  font-family: Cinzel, serif;
  font-size: 64px;
  color: var(--gold);
  line-height: 0.8;
}

.membership {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.panel {
  background: var(--charcoal);
  border: 1px solid var(--hairline);
  padding: 28px;
}

.panel li {
  margin: 12px 0;
  color: var(--slate);
}

.legal-body {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 120px;
}

.legal-body h1 {
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.legal-body h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}

.legal-body p,
.legal-body li {
  color: #d6d4cf;
}

.notice {
  border: 1px solid var(--hairline);
  padding: 14px 16px;
  color: var(--gold-warm);
  background: rgba(212, 175, 55, 0.06);
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 42px 7vw 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  color: var(--slate);
  font-size: 14px;
}

.site-footer h3 {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  color: var(--ivory);
  margin: 6px 0;
}

.credit {
  margin-top: 8px;
  color: var(--gold);
  font-family: Cinzel, serif;
  letter-spacing: 0.12em;
  font-size: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="scale"] {
  transform: scale(0.96);
}

@media (max-width: 1080px) {
  :root {
    --nav: 64px;
  }

  .nav {
    height: calc(var(--nav) + env(safe-area-inset-top));
    padding: calc(env(safe-area-inset-top) + 8px) 16px 8px;
  }

  .nav-desktop {
    display: none !important;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .menu-drawer {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: calc(var(--nav) + env(safe-area-inset-top) + 24px) 24px 32px;
    background: rgba(10, 10, 13, 0.97);
  }

  body.nav-open .menu-drawer:not([hidden]) {
    display: flex;
  }

  .menu-drawer a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ivory);
    width: min(280px, 80vw);
  }

  .menu-drawer a.nav-cta {
    margin-top: 12px;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
  }

  body.nav-open {
    overflow: hidden;
  }

  .menu-drawer .nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .hero,
  .membership,
  .site-footer,
  .chapter {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 20px 20px 32px;
    gap: 20px;
  }

  .hero-brand {
    gap: 12px;
  }

  .hero-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .display-word {
    font-size: clamp(32px, 9.5vw, 44px);
    letter-spacing: 0.1em;
  }

  .kicker {
    margin-bottom: 10px;
  }

  .script {
    font-size: clamp(24px, 7vw, 34px);
    margin: 8px 0 8px;
  }

  .script {
    font-size: clamp(26px, 8vw, 36px);
  }

  .lede,
  .manifesto {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

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

  .format {
    padding: 28px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .phone {
    margin: 0 auto;
    width: min(210px, 62vw);
    max-height: 44dvh;
    aspect-ratio: 9 / 17;
    animation: none;
  }

  .section {
    padding: 56px 0;
  }

  .wrap,
  .legal-body {
    width: min(var(--max), calc(100% - 32px));
  }

  .legal-body {
    padding: 40px 0 88px;
  }

  .chapter {
    gap: 12px;
    padding: 24px;
  }

  .num {
    font-size: 40px;
  }

  .panel {
    padding: 20px;
  }

  .site-footer {
    padding: 36px 20px calc(36px + env(safe-area-inset-bottom));
  }

  .sprockets,
  .cursor-glow {
    display: none;
  }

  .overture-lockup {
    width: min(300px, 88vw);
  }
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }

  .phone,
  .card {
    transform: none !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal],
  .chapter {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 1%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes letter {
  from { opacity: 0; transform: translateY(42px) rotateX(40deg); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes ken {
  from { transform: scale(1.04); }
  to { transform: scale(1.14); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 198, 92, 0); }
  50% { box-shadow: 0 0 28px 2px rgba(247, 198, 92, 0.35); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes pulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 8px rgba(247, 198, 92, 0.7)); }
}

@keyframes reel {
  from { transform: scale(0.6) rotate(-40deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes film {
  from { background-position: 0 0; }
  to { background-position: 0 220px; }
}

@keyframes bar {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}
