:root {
  color-scheme: dark;
  --ink: #070706;
  --ink-soft: #0d0d0b;
  --panel: rgba(17, 16, 13, 0.86);
  --panel-strong: #11100d;
  --gold: #b8904c;
  --gold-bright: #e1c98e;
  --gold-pale: #f0e4c8;
  --ember: #9c361b;
  --bone: #d8d1c1;
  --muted: #9d988d;
  --line: rgba(196, 157, 83, 0.24);
  --serif: Georgia, "Times New Roman", serif;
  --display: "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
  --container: min(1240px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(105, 76, 31, 0.08), transparent 28rem),
    var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--gold-bright);
  color: #080807;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 4vw;
  border-bottom: 1px solid transparent;
  transition: background 280ms ease, border-color 280ms ease, min-height 280ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  border-color: var(--line);
  background: rgba(6, 6, 5, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__sigil {
  position: relative;
  display: block;
  width: 52px;
  height: 58px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(205, 158, 69, 0.25));
}

.brand__sigil img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name {
  color: #eee3ca;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.main-nav > a:not(.button) {
  position: relative;
  color: #c7c1b4;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: var(--gold);
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover {
  color: var(--gold-pale);
}

.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.8);
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold-pale);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 25px;
  border: 1px solid rgba(218, 183, 108, 0.52);
  color: var(--gold-pale);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
}

.button svg {
  width: 20px;
  fill: currentColor;
}

.button--primary {
  background: linear-gradient(135deg, #c3a05e, #8b672f);
  color: #090806;
  box-shadow: 0 12px 40px rgba(169, 122, 44, 0.16);
}

.button--primary:hover {
  background: linear-gradient(135deg, #e0c98f, #ac8341);
}

.button--ghost {
  background: rgba(10, 10, 8, 0.42);
  backdrop-filter: blur(8px);
}

.button--compact {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 10px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center start;
  overflow: hidden;
  isolation: isolate;
}

.hero__backdrop,
.hero__vignette {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  z-index: -4;
  scale: 1.035;
  background-image: url("/assets/vae-noctis-fortress.png");
  background-image: image-set(
    url("/assets/vae-noctis-fortress.webp") type("image/webp"),
    url("/assets/vae-noctis-fortress.png") type("image/png")
  );
  background-color: #070706;
  background-position: center 45%;
  background-repeat: no-repeat;
  background-size: cover;
  animation: slow-breath 18s ease-in-out infinite alternate;
}

.hero__vignette {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.42) 0%, rgba(5, 5, 4, 0.08) 24%, rgba(5, 5, 4, 0.2) 58%, #070706 100%),
    linear-gradient(90deg, rgba(4, 4, 4, 0.92) 0%, rgba(4, 4, 4, 0.7) 30%, rgba(4, 4, 4, 0.08) 67%, rgba(4, 4, 4, 0.58) 100%),
    radial-gradient(circle at center, transparent 8%, rgba(4, 4, 4, 0.3) 76%);
}

.hero__content {
  width: min(660px, calc(100% - 40px));
  margin-left: clamp(24px, 8vw, 154px);
  padding-top: 92px;
  text-align: left;
}

.eyebrow,
.kicker {
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.eyebrow span {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  margin-bottom: 6px;
  color: #ead9b2;
  font-size: clamp(4.2rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 1px #241807, 0 0 48px rgba(211, 166, 80, 0.22);
}

.motto {
  margin-bottom: 28px;
  color: #d2b673;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.31em;
  line-height: 1.75;
  text-transform: uppercase;
}

.hero__lead {
  width: min(620px, 100%);
  margin: 0 0 34px;
  color: #d5d0c6;
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  text-shadow: 0 2px 10px #000;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
}

.hero__status {
  position: absolute;
  bottom: 24px;
  left: 4vw;
  display: flex;
  gap: 30px;
  color: rgba(226, 219, 204, 0.68);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__status span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero__status span::before {
  width: 4px;
  height: 4px;
  content: "";
  transform: rotate(45deg);
  background: var(--gold);
}

.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 22px;
  display: grid;
  width: 30px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(207, 178, 113, 0.45);
  border-radius: 20px;
}

.scroll-cue span {
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--gold-bright);
  animation: scroll-drop 1.8s ease-in-out infinite;
}

.embers {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.embers i {
  position: absolute;
  bottom: -20px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e27b36;
  box-shadow: 0 0 8px #db561f;
  opacity: 0;
  animation: ember-rise 8s linear infinite;
}

.embers i:nth-child(1) { left: 9%; animation-delay: 0s; }
.embers i:nth-child(2) { left: 21%; animation-delay: 2.5s; }
.embers i:nth-child(3) { left: 37%; animation-delay: 5.8s; }
.embers i:nth-child(4) { left: 48%; animation-delay: 1.5s; }
.embers i:nth-child(5) { left: 63%; animation-delay: 4.1s; }
.embers i:nth-child(6) { left: 74%; animation-delay: 6.8s; }
.embers i:nth-child(7) { left: 86%; animation-delay: 3.2s; }
.embers i:nth-child(8) { left: 94%; animation-delay: 7.4s; }

.section {
  position: relative;
  padding: clamp(90px, 11vw, 160px) 0;
}

.section__ornament {
  position: absolute;
  top: 36px;
  left: 50%;
  display: flex;
  width: min(460px, 60vw);
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 9px;
}

.section__ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}

.section__ornament span:last-child {
  background: linear-gradient(90deg, var(--line), transparent);
}

.kicker {
  margin-bottom: 18px;
}

.section h2 {
  margin-bottom: 28px;
  color: var(--gold-pale);
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  line-height: 1.03;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 58px;
}

.section-heading > p:last-child {
  width: min(600px, 100%);
  color: var(--muted);
}

.lead {
  color: #d4cec0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.75;
}

.section--manifesto {
  background:
    radial-gradient(circle at 75% 32%, rgba(160, 116, 46, 0.08), transparent 28rem),
    linear-gradient(180deg, #070706, #0b0b09 45%, #080807);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
}

.manifesto-copy > p:not(.kicker) {
  max-width: 620px;
  color: var(--muted);
}

.manifesto-copy .lead {
  color: #d4cec0;
}

.signature {
  display: flex;
  margin-top: 38px;
  flex-direction: column;
  gap: 2px;
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
}

.signature small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.crest-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 0.92;
  overflow: hidden;
  border: 0;
  background: radial-gradient(circle at center, rgba(134, 96, 38, 0.11), transparent 68%);
  box-shadow: none;
  isolation: isolate;
}

.crest-frame::before,
.crest-frame::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
}

.crest-frame::before {
  display: none;
}

.crest-frame::after {
  background: radial-gradient(circle at 50% 52%, transparent 45%, rgba(8, 8, 7, 0.46) 100%);
}

.crest-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.52));
}

.crest-frame figcaption {
  position: absolute;
  z-index: 4;
  right: 26px;
  bottom: 20px;
  left: 26px;
  color: var(--gold-bright);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-align: center;
  text-transform: uppercase;
}

.values-grid {
  display: grid;
  margin-top: clamp(70px, 9vw, 125px);
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-card {
  position: relative;
  min-height: 260px;
  padding: 42px 32px 38px;
  border-right: 1px solid var(--line);
}

.value-card:last-child {
  border-right: 0;
}

.value-card__number {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
}

.value-card h3 {
  margin-bottom: 13px;
  color: var(--gold-pale);
  font-size: 26px;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section--fronts {
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(115, 37, 18, 0.08), transparent 35%),
    #080807;
}

.section--fronts::before {
  position: absolute;
  top: 0;
  right: -8vw;
  width: 48vw;
  height: 100%;
  content: "";
  opacity: 0.15;
  background-image: linear-gradient(45deg, transparent 48%, var(--gold) 49%, var(--gold) 50%, transparent 51%);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.fronts-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.front-card {
  position: relative;
  min-height: 360px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid rgba(193, 154, 78, 0.18);
  background:
    linear-gradient(145deg, rgba(34, 31, 24, 0.72), rgba(10, 10, 9, 0.94)),
    #10100e;
  transition: transform 220ms ease, border-color 220ms ease;
}

.front-card::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(192, 150, 69, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 28px rgba(192, 150, 69, 0.025), inset 0 0 0 56px rgba(192, 150, 69, 0.02);
}

.front-card:hover {
  transform: translateY(-5px);
  border-color: rgba(219, 183, 109, 0.42);
}

.front-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid var(--line);
  transform: rotate(45deg);
  color: var(--gold-bright);
  font-size: 20px;
}

.front-card__icon::first-line {
  transform: rotate(-45deg);
}

.front-card__index {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.front-card h3 {
  margin-bottom: 14px;
  color: var(--gold-pale);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.front-card > p:not(.front-card__index) {
  max-width: 500px;
  color: var(--muted);
}

.front-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.front-card li {
  padding: 6px 10px;
  border: 1px solid rgba(190, 151, 74, 0.16);
  color: #bbb4a4;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.front-card__link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(205, 166, 87, 0.52);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.front-card__link span {
  transition: transform 180ms ease;
}

.front-card__link:hover span {
  transform: translateX(4px);
}

.section--ritual {
  min-height: 1000px;
  overflow: hidden;
  isolation: isolate;
}

.ritual-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("/assets/vae-noctis-ritual-forest.png");
  background-image: image-set(
    url("/assets/vae-noctis-ritual-forest.webp") type("image/webp"),
    url("/assets/vae-noctis-ritual-forest.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
}

.section--ritual::before,
.section--ritual::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
}

.section--ritual::before {
  background:
    linear-gradient(180deg, #080807 0%, rgba(7, 7, 6, 0.72) 18%, rgba(6, 6, 6, 0.68) 70%, #080807 100%),
    linear-gradient(90deg, rgba(5, 5, 4, 0.88) 0%, rgba(5, 5, 4, 0.48) 48%, rgba(5, 5, 4, 0.72) 100%);
}

.section--ritual::after {
  background: radial-gradient(circle at 68% 42%, rgba(155, 90, 36, 0.08), transparent 24rem);
}

.ritual-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
}

.ritual-intro > p:not(.kicker) {
  color: #aaa498;
}

.tempo-mark {
  display: grid;
  width: 160px;
  margin-top: 42px;
  grid-template-columns: 20px 1fr;
  align-items: center;
  column-gap: 13px;
}

.tempo-mark__pulse {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold-bright);
  border-radius: 50%;
}

.tempo-mark__pulse::after {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
  animation: ritual-pulse 1.9s ease-out infinite;
}

.tempo-mark strong {
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.tempo-mark small {
  grid-column: 2;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ritual-tabs {
  align-self: center;
  border: 1px solid rgba(201, 160, 81, 0.23);
  background: rgba(7, 7, 6, 0.78);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(13px);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.tab-list button {
  min-height: 60px;
  padding: 10px 8px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #8f8a80;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.tab-list button:last-child {
  border-right: 0;
}

.tab-list button[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(189, 147, 67, 0.17), transparent);
  color: var(--gold-bright);
}

.tab-panels {
  min-height: 320px;
  padding: clamp(38px, 6vw, 68px);
}

.tab-panels article > span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tab-panels h3 {
  margin: 12px 0 22px;
  color: var(--gold-pale);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.tab-panels p {
  max-width: 620px;
  margin-bottom: 0;
  color: #aaa498;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.sound-grid {
  display: grid;
  margin-top: clamp(70px, 9vw, 120px);
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sound-grid article {
  min-height: 220px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.68);
}

.sound-grid__mark {
  margin-bottom: 32px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
}

.sound-grid h3 {
  margin-bottom: 10px;
  color: var(--gold-pale);
  font-size: 23px;
}

.sound-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.section--trailer {
  background:
    radial-gradient(circle at 15% 65%, rgba(128, 38, 19, 0.1), transparent 28rem),
    #090908;
}

.trailer-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

.trailer-copy p:not(.kicker) {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.video-frame {
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  background: #050504;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.video-frame::before,
.video-frame::after {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--gold);
  content: "";
  pointer-events: none;
}

.video-frame::before {
  top: -6px;
  left: -6px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.video-frame::after {
  right: -6px;
  bottom: -6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-frame__label {
  position: absolute;
  z-index: 2;
  top: -18px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  background: #0a0a08;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-frame__label b {
  color: var(--gold-bright);
  font-weight: 700;
}

.section--recruitment {
  border-top: 1px solid rgba(192, 153, 76, 0.12);
  background:
    linear-gradient(100deg, rgba(73, 20, 12, 0.1), transparent 40%),
    #080807;
}

.recruitment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
}

.recruitment-copy .lead {
  color: #aaa498;
}

.recruitment-copy .button {
  margin-top: 18px;
}

.recruitment-steps {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.recruitment-steps li {
  display: grid;
  padding: 26px 4px;
  grid-template-columns: 68px 1fr;
  border-bottom: 1px solid var(--line);
}

.recruitment-steps li > span {
  padding-top: 3px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
}

.recruitment-steps h3 {
  margin-bottom: 4px;
  color: var(--gold-pale);
  font-size: 23px;
}

.recruitment-steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.final-oath {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.final-oath__backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(180deg, #080807, rgba(7, 7, 6, 0.54) 28%, rgba(7, 7, 6, 0.74) 72%, #070706),
    url("/assets/vae-noctis-fortress.webp");
  background-position: center 71%;
  background-size: cover;
  filter: saturate(0.75);
}

.final-oath__content {
  padding: 60px 24px;
}

.final-oath__star {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-bright);
  font-size: 24px;
  text-shadow: 0 0 22px rgba(224, 191, 118, 0.64);
}

.final-oath blockquote {
  margin: 0 0 24px;
  color: var(--gold-pale);
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 1.18;
  text-shadow: 0 3px 18px #000;
}

.final-oath p {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.site-footer {
  padding: 70px 0 24px;
  border-top: 1px solid var(--line);
  background: #060605;
}

.footer-grid {
  display: grid;
  padding-bottom: 56px;
  grid-template-columns: 1.2fr 0.8fr auto;
  align-items: start;
  gap: 60px;
}

.brand--footer {
  margin-bottom: 20px;
}

.footer-grid > div:first-child > p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #aaa498;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(192, 153, 76, 0.12);
  color: #706d65;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--delay {
  transition-delay: 100ms;
}

.reveal--delay-2 {
  transition-delay: 190ms;
}

.reveal--delay-3 {
  transition-delay: 280ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-breath {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes scroll-drop {
  0% { opacity: 0; transform: translateY(-8px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}

@keyframes ember-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  15% { opacity: 0.8; }
  75% { opacity: 0.25; }
  100% { opacity: 0; transform: translate3d(28px, -46vh, 0) scale(0.2); }
}

@keyframes ritual-pulse {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.4); }
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav > a:not(.button) {
    font-size: 10px;
  }

  .main-nav .button {
    display: none;
  }

  .values-grid,
  .sound-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card:nth-child(2) {
    border-right: 0;
  }

  .value-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .trailer-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 70px;
    padding-inline: 18px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 69px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 56px 28px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    background:
      radial-gradient(circle at 50% 20%, rgba(146, 103, 37, 0.13), transparent 20rem),
      rgba(7, 7, 6, 0.98);
    transition: transform 280ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav > a:not(.button) {
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--gold-pale);
    font-family: var(--display);
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  .main-nav .button {
    display: inline-flex;
    margin-top: 28px;
  }

  .hero__content {
    width: min(680px, calc(100% - 40px));
    margin-inline: auto;
    padding-top: 70px;
    text-align: center;
  }

  .hero__backdrop {
    background-position: center;
    background-size: cover;
  }

  .hero__vignette {
    background:
      linear-gradient(180deg, rgba(4, 4, 4, 0.5) 0%, rgba(5, 5, 4, 0.08) 24%, rgba(5, 5, 4, 0.35) 58%, #070706 100%),
      radial-gradient(circle at center, transparent 8%, rgba(4, 4, 4, 0.42) 76%);
  }

  .eyebrow,
  .hero__actions {
    justify-content: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__status {
    display: none;
  }

  .scroll-cue {
    right: 24px;
  }

  .manifesto-grid,
  .ritual-layout,
  .trailer-grid,
  .recruitment-grid {
    grid-template-columns: 1fr;
  }

  .crest-frame {
    width: min(500px, 100%);
    margin-inline: auto;
  }

  .ritual-layout {
    gap: 56px;
  }

  .trailer-grid {
    gap: 60px;
  }

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

  .footer-grid > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand__sigil {
    width: 44px;
    height: 50px;
  }

  .brand__name {
    font-size: 14px;
  }

  .main-nav {
    padding: 32px 20px;
  }

  .main-nav > a:not(.button) {
    padding-block: 14px;
    font-size: 18px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 20vw, 5.2rem);
  }

  .motto {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .eyebrow span {
    width: 20px;
  }

  .values-grid,
  .fronts-grid,
  .sound-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-card:last-child {
    border-bottom: 0;
  }

  .front-card {
    min-height: 0;
    padding: 32px 26px;
  }

  .tab-list {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .tab-list button {
    min-width: 120px;
  }

  .tab-panels {
    min-height: 365px;
    padding: 36px 26px;
  }

  .recruitment-steps li {
    grid-template-columns: 48px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-grid > .button {
    grid-column: auto;
    justify-self: stretch;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
