:root {
  --bg: #07040c;
  --bg-soft: #120816;
  --ink: #f4efe8;
  --muted: rgba(244, 239, 232, 0.72);
  --gold: #d6b36a;
  --gold-deep: #b8893a;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(42, 16, 48, 0.55), rgba(7, 4, 12, 0.94)),
    url("../Assets/VUALIS_BG2.jpg") center / cover no-repeat;
}

html.age-ok .age-gate,
.age-gate.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.age-gate.is-hidden {
  transition: opacity 0.6s ease;
}

.age-gate__panel {
  width: min(520px, 100%);
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  background: rgba(8, 5, 14, 0.78);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(16px);
}

.age-gate__logo {
  width: min(100%, 420px);
  margin: 0 auto 8px;
}

.age-gate__kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.age-gate__title,
.chapter h2,
.world h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
}

.age-gate__copy,
.chapter p,
.world p {
  margin: 0 0 16px;
  color: var(--muted);
}

.age-gate__actions,
.nav {
  display: flex;
  gap: 12px;
}

.age-gate__actions {
  justify-content: center;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font: 500 0.82rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn--gold {
  background: linear-gradient(180deg, #e4c888, var(--gold-deep));
  color: #1a1008;
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  background: linear-gradient(to bottom, rgba(7, 4, 12, 0.72), transparent);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

.brand__tag,
.site-footer p {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

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

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(7, 4, 12, 0.15), rgba(7, 4, 12, 0.72) 70%),
    linear-gradient(to top, #07040c 0%, transparent 28%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.ring {
  width: min(560px, 88vw);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.12);
}

.hero__mark {
  width: 92%;
  mix-blend-mode: screen;
}

.hero__line {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
}

.scroll-hint {
  width: 22px;
  height: 36px;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--gold);
  animation: drip 1.6s ease-in-out infinite;
}

@keyframes drip {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

.chapter {
  position: relative;
  display: grid;
  gap: 48px;
  padding: 12vh 8vw;
}

.chapter--welcome {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.chapter__media img,
.gallery img,
.gallery video,
.chapter__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter__media {
  min-height: 68vh;
  overflow: hidden;
  border: 1px solid var(--line);
}

.chapter--why {
  min-height: 80vh;
  place-items: center;
}

.chapter__backdrop {
  position: absolute;
  inset: 0;
}

.chapter__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 4, 12, 0.88), rgba(7, 4, 12, 0.55) 50%, rgba(7, 4, 12, 0.88));
}

.chapter__copy--centered {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}

.world {
  padding: 10vh 8vw 12vh;
}

.world__intro {
  max-width: 680px;
  margin-bottom: 48px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 72vh;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.gallery__item--wide {
  grid-row: 1 / span 2;
}

.gallery video,
.gallery img {
  min-height: 100%;
}

.site-footer {
  padding: 48px 8vw 56px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer__mark {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--ink);
}

.site-footer__fine {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .chapter--welcome,
  .gallery {
    grid-template-columns: 1fr;
  }

  .chapter__media,
  .gallery {
    min-height: auto;
  }

  .gallery__item--wide {
    grid-row: auto;
  }

  .ring {
    border-radius: 18px;
    aspect-ratio: 16 / 10;
  }
}

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

  .scroll-hint span,
  .age-gate {
    animation: none;
    transition: none;
  }
}
