/* Look and feel follows gemzyo.com: deep plum, gold accent, Bricolage Grotesque. */
:root {
  --bg: #140a1b;
  --fg: #f7f0f4;
  --gold: #e2c48d;
  --hairline: #e2c48d29;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 68px;
  width: min(1152px, 100% - 48px);
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.logo svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Full-screen video stage */
.stage {
  position: relative;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 68px 24px 0;
}

.stage__video,
.stage__scrim,
.stage__top,
.stage__bottom {
  position: absolute;
  pointer-events: none;
}

.stage__video,
.stage__scrim { inset: 0; width: 100%; height: 100%; }

.stage__video { object-fit: cover; }

.stage__scrim { background: linear-gradient(#08070c94 0%, #08070c6b 40%, #08070ce6 100%); }

.stage__top {
  inset: 0 0 auto;
  height: 144px;
  background: linear-gradient(to bottom, rgb(0 0 0 / .7), rgb(0 0 0 / .25), transparent);
}

.stage__bottom {
  inset: auto 0 0;
  height: 320px;
  background: linear-gradient(to top, rgb(0 0 0 / .95), rgb(0 0 0 / .6), transparent);
}

.title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 14ch;
  font-size: clamp(48px, 9vw, 136px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 40px rgb(0 0 0 / .35);
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both .15s;
}

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

/* Clip indicator, like the reel dots on gemzyo.com */
.dots {
  position: absolute;
  right: 32px;
  top: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / .45);
  transition: height .5s ease, background .5s ease;
}

.dots span.is-active {
  height: 28px;
  background: #fff;
}

@media (max-width: 640px) {
  .nav__inner { width: calc(100% - 32px); height: 60px; }
  .stage { padding: 60px 16px 0; }
  .dots { right: 16px; gap: 10px; }
  .dots span { width: 6px; height: 6px; }
  .dots span.is-active { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .title { animation: none; }
}
