:root {
  --black: #030303;
  --panel: #0a0908;
  --cream: #ffe4ad;
  --muted: #c9ad75;
  --gold: #f6bd67;
  --red: #8f1417;
  --teal: #70cabe;
  --line: rgba(255, 228, 173, 0.18);
}

@font-face {
  font-family: "Jupiter";
  src: url("assets/fonts/Jupiter-Pro.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Jupiter Small Caps";
  src: url("assets/fonts/Jupiter-Small-Caps.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Jupiter Alts";
  src: url("assets/fonts/Jupiter-Alts.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: Spectral, Georgia, serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 0 92vh, rgba(3, 3, 3, 0.16) 92vh),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23noise)' opacity='.2'/%3E%3C/svg%3E");
  opacity: 0.11;
  mask-image: linear-gradient(to bottom, transparent 0 92vh, black 110vh);
  content: "";
}

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

.site-nav {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(1180px, calc(100% - 2rem));
  padding: 1.1rem 0;
  transform: translateX(-50%);
  color: var(--muted);
  pointer-events: none;
}

.nav-reveal {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  transition: transform 520ms cubic-bezier(.18,.86,.24,1);
}

.nav-reveal.is-open {
  transform: none;
}

.artifact-toggle {
  position: relative;
  display: block;
  width: 3.85rem;
  height: 6.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.artifact-toggle img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0.65rem 0.8rem rgba(0, 0, 0, 0.65));
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(.2,.8,.2,1),
    filter 220ms ease;
}

.open-state {
  opacity: 0;
  transform: translateY(0) scale(0.98);
}

.closed-state {
  opacity: 1;
  transform-origin: 50% 24%;
}

.nav-reveal.is-open .closed-state,
.nav-reveal:focus-within .closed-state,
.nav-reveal:hover .closed-state {
  opacity: 0;
  transform: translateY(-0.35rem) rotate(-12deg) scale(0.96);
}

.nav-reveal.is-open .open-state,
.nav-reveal:focus-within .open-state,
.nav-reveal:hover .open-state {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-nav nav {
  display: flex;
  gap: clamp(0.8rem, 2.5vw, 1.8rem);
  max-width: 0;
  overflow: hidden;
  padding: 0.72rem 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  font-family: "Jupiter", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    max-width 320ms ease,
    opacity 220ms ease,
    padding 320ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.nav-reveal.is-open nav,
.nav-reveal:focus-within nav,
.nav-reveal:hover nav {
  max-width: 25rem;
  padding-right: 1.15rem;
  padding-left: 1.15rem;
  border-color: rgba(246, 189, 103, 0.44);
  background:
    linear-gradient(145deg, rgba(246, 189, 103, 0.1), transparent 48%),
    rgba(8, 7, 6, 0.86);
  opacity: 1;
  backdrop-filter: blur(20px);
}

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

.title-card {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 5rem;
  text-align: center;
  background: #000;
  isolation: isolate;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-stage {
  position: relative;
  width: min(92vw, 45rem);
  margin-bottom: clamp(-2.4rem, -3vw, -0.8rem);
}

.logo-stage::before {
  content: none;
}

.logo-stage video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: none;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Jupiter Small Caps", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 5.6vw, 5.95rem);
}

.title-plaque {
  display: block;
  width: min(94vw, 78rem);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 1.25rem 2rem rgba(0, 0, 0, 0.76));
}

.title-card-mockup .logo-stage {
  margin-bottom: clamp(-0.35rem, -0.45vw, -0.1rem);
}

.title-plaque-simple {
  width: min(92vw, 70rem);
  filter: drop-shadow(0 1rem 1.4rem rgba(0, 0, 0, 0.68));
}

.title-plaque-sim {
  width: min(85vw, 66rem);
  margin-top: clamp(1.5rem, 2vw, 2.2rem);
  filter: drop-shadow(0 0.65rem 1.1rem rgba(0, 0, 0, 0.72));
}

.tagline {
  max-width: 40rem;
  margin: 0;
  color: #d8bd85;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.cabinet {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.cabinet {
  position: relative;
}

.cabinet::before {
  position: absolute;
  inset: -8rem calc(50% - 50vw) auto;
  height: 30rem;
  background:
    radial-gradient(circle at 14% 38%, rgba(143, 20, 23, 0.22), transparent 28rem),
    radial-gradient(circle at 84% 20%, rgba(112, 202, 190, 0.11), transparent 28rem),
    radial-gradient(circle at 50% 20%, rgba(246, 189, 103, 0.1), transparent 26rem);
  content: "";
  pointer-events: none;
  z-index: -1;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 6rem);
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.artifact {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 9, 8, 0.84);
  isolation: isolate;
  min-height: 0;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 320ms cubic-bezier(.18,.86,.24,1);
}

.artifact::before,
.artifact::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.artifact::before {
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82)),
    radial-gradient(circle at 16% 14%, rgba(246, 189, 103, 0.24), transparent 24rem);
  z-index: -1;
}

.artifact::after {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(246, 189, 103, 0.13);
  border-radius: 50%;
  z-index: 1;
}

.artifact video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transform: scale(1.04);
  transition:
    opacity 360ms ease,
    transform 900ms ease,
    filter 360ms ease;
  z-index: -2;
}

.artifact:hover video {
  opacity: 0.86;
  transform: scale(1.1);
  filter: saturate(1.08) contrast(1.04);
}

.artifact-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.artifact:hover,
.artifact:focus-within {
  border-color: rgba(246, 189, 103, 0.42);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.38);
  transform: translateY(-0.25rem) scale(1.08);
  z-index: 3;
}

.artifact span {
  display: block;
  margin-bottom: auto;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.artifact h3 {
  max-width: 12ch;
  margin-bottom: 0.55rem;
  font-size: clamp(1.45rem, 2.4vw, 2.85rem);
  line-height: 0.98;
  text-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.75);
}

.artifact p {
  max-width: 24rem;
  margin-bottom: 0;
  color: #d9be86;
  font-size: 0.95rem;
  line-height: 1.65;
  text-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.72);
  transform: translateY(0.35rem);
  opacity: 0.86;
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.artifact:hover p {
  opacity: 1;
  transform: translateY(0);
}

.artifact p {
  max-height: 0;
  overflow: hidden;
}

.artifact:hover p,
.artifact:focus-within p {
  max-height: 9rem;
}

.artifact h3 {
  max-width: 10ch;
  font-size: clamp(1.35rem, 2vw, 2.15rem);
}

.artifact:hover h3,
.artifact:focus-within h3 {
  max-width: 12ch;
  font-size: clamp(1.45rem, 2.4vw, 2.85rem);
}

@media (prefers-reduced-motion: reduce) {
  .artifact video {
    transition: none;
  }

  .artifact:hover,
  .artifact:focus-within {
    transform: none;
  }

  .artifact:hover video {
    transform: scale(1.04);
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    left: 50%;
    width: min(1180px, calc(100% - 2rem));
    transform: translateX(-50%);
    flex-direction: column;
  }

  .nav-reveal.is-open {
    transform: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .artifact-toggle {
    width: 3.45rem;
    height: 6.15rem;
  }

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

  .artifact:hover,
  .artifact:focus-within {
    transform: none;
  }

  .artifact p {
    max-height: none;
  }

  .artifact span {
    margin-bottom: 4rem;
  }
}
