:root {
  color-scheme: dark;
  --ink: #060604;
  --gold: #b79560;
  --gold-bright: #d3b77e;
  --ivory: #eee7da;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: "Cinzel", serif;
}

main { width: 100%; overflow: clip; }

body.is-gated { overflow: hidden; }

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

body.is-entered .site-header { opacity: 1; pointer-events: auto; transform: none; }

.site-header__brand {
  color: var(--gold-bright);
  font-size: .82rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 12px 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-content: center;
  gap: 7px;
}
.menu-toggle > span:not(.sr-only) { display: block; width: 27px; height: 1px; background: var(--gold-bright); transition: transform .5s var(--ease); }
.menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.site-menu {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  background: rgba(5, 4, 3, .96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease);
  backdrop-filter: blur(14px);
}
.site-menu.is-open { opacity: 1; pointer-events: auto; }
.site-menu a { color: var(--ivory); font-size: clamp(1.6rem, 4vw, 3.5rem); letter-spacing: .08em; text-decoration: none; transition: color .3s, transform .3s; }
.site-menu a:hover { color: var(--gold-bright); transform: translateX(8px); }
.site-menu a span { margin-right: 1.2rem; color: var(--gold); font-size: .55rem; vertical-align: middle; }

a { color: inherit; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(55, 43, 25, .12), transparent 26%),
    radial-gradient(ellipse at center, #0a0907 0%, #050504 58%, #020202 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 14vw 5vw #000;
}

.hero__dust,
.hero__grain,
.hero__nebula { position: absolute; inset: 0; }

.hero__dust { z-index: -1; width: 100%; height: 100%; }

.hero__nebula {
  z-index: -2;
  top: -8%;
  bottom: -8%;
  width: 42vw;
  min-width: 350px;
  opacity: .82;
  filter: blur(3px);
  background:
    radial-gradient(ellipse at 20% 12%, rgba(204, 183, 145, .16), transparent 26%),
    radial-gradient(ellipse at 42% 31%, rgba(142, 127, 101, .18), transparent 18%),
    radial-gradient(ellipse at 15% 49%, rgba(190, 169, 132, .14), transparent 30%),
    radial-gradient(ellipse at 45% 67%, rgba(119, 106, 84, .2), transparent 25%),
    radial-gradient(ellipse at 23% 88%, rgba(189, 159, 105, .16), transparent 28%);
  mask-image: radial-gradient(ellipse at 28% 50%, #000 2%, rgba(0, 0, 0, .85) 37%, transparent 74%);
  mix-blend-mode: screen;
}

.hero__nebula::after {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='cloud'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .025' numOctaves='5' seed='7'/%3E%3CfeColorMatrix values='.48 0 0 0 .28 .42 0 0 0 .25 .31 0 0 0 .18 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23cloud)'/%3E%3C/svg%3E");
  content: "";
  mask-image: radial-gradient(ellipse at 25% 50%, #000, transparent 70%);
}

.hero__nebula--left { transform: rotate(-5deg) translateX(-2vw); }
.hero__nebula--right { right: 0; left: auto; transform: scaleX(-1) rotate(-4deg) translateX(-2vw); }

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

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(92vw, 880px);
  align-items: center;
  flex-direction: column;
  padding-top: 2vh;
  text-align: center;
}

.hero__signature {
  display: grid;
  width: min(42vw, 410px);
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
}

.signature__line { height: 1px; background: linear-gradient(90deg, transparent, #a9824e); }
.signature__line:last-child { transform: scaleX(-1); }
.signature__diamond { width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); }

.hero__subtitle {
  margin: clamp(1.5rem, 3vh, 2.2rem) 0 0;
  padding-left: .38em;
  color: transparent;
  font-size: clamp(2.3rem, 5.2vw, 5.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .38em;
  background: linear-gradient(105deg, #7c6039, #d0b276 42%, #947040 72%, #c7a86e);
  background-clip: text;
  filter: drop-shadow(0 7px 18px rgba(0, 0, 0, .75));
  text-transform: uppercase;
}

.hero__cta {
  position: absolute;
  top: calc(100% + clamp(4.5rem, 9vh, 8rem));
  display: grid;
  color: var(--gold);
  padding: 0;
  border: 0;
  background: transparent;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
}

.hero__cta span {
  position: absolute;
  opacity: 0;
  font-size: .55rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transform: translateY(-22px);
}

.hero__cta svg { width: 78px; overflow: visible; transition: transform .5s var(--ease); }
.hero__cta path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.hero__cta::after {
  width: 84px;
  height: 10px;
  margin-top: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(211, 183, 126, .38), transparent 68%);
  content: "";
  filter: blur(4px);
}
.hero__cta:hover span, .hero__cta:focus-visible span { opacity: 1; transform: translateY(-28px); }
.hero__cta:hover svg, .hero__cta:focus-visible svg { transform: translateX(12px); }

.sound-toggle {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 10;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
}
.sound-toggle span { width: 1px; height: 12px; background: currentColor; transform: scaleY(.35); }
.sound-toggle[aria-pressed="true"] span { animation: equalize .8s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] span:nth-child(2) { animation-delay: -.3s; }
.sound-toggle[aria-pressed="true"] span:nth-child(3) { animation-delay: -.55s; }

.hero__index { position: absolute; bottom: 2rem; left: 2rem; color: #6e5939; font-size: .58rem; letter-spacing: .25em; }

.archive {
  display: grid;
  min-height: 100svh;
  align-content: center;
  justify-items: center;
  padding: 8rem 8vw;
  background: linear-gradient(#060604, #0e0b07);
  text-align: center;
}

.manifesto {
  display: grid;
  min-height: 85svh;
  align-content: center;
  padding: 10vw;
  background: #0e0b07;
}
.manifesto p { color: var(--gold); font-size: .6rem; letter-spacing: .4em; text-transform: uppercase; }
.manifesto h2 { margin: 1rem 0; font-size: clamp(2.5rem, 7vw, 7rem); font-weight: 400; line-height: 1.05; }
.archive__kicker { color: var(--gold); font-size: .65rem; letter-spacing: .5em; text-transform: uppercase; }
.archive h2 {
  max-width: 1050px;
  margin: 1.2rem 0 2rem;
  font-family: "Italianno", cursive;
  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 400;
  line-height: .92;
}
.archive__copy { max-width: 570px; color: #a69c8d; font-family: system-ui, sans-serif; font-size: clamp(.92rem, 1.5vw, 1.08rem); line-height: 1.8; }

[data-reveal] { visibility: hidden; }

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

@media (max-width: 600px) {
  .site-header { padding: 1rem; }
  .hero__content { padding-bottom: 8vh; }
  .hero__signature { width: 68vw; gap: .8rem; }
  .hero__subtitle { padding-left: .26em; font-size: clamp(1.45rem, 7vw, 2.4rem); letter-spacing: .26em; }
  .hero__cta { top: calc(100% + 4.5rem); }
  .hero__nebula { width: 68vw; opacity: .42; }
  .sound-toggle { right: 1rem; bottom: 1rem; }
  .hero__index { left: 1rem; bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
