:root {
  --bg: #141313;
  --surface: #1c1a1a;
  --graphite: #2f2d2d;
  --dust: #d1d3d2;
  --muted: #9a9496;
  --taupe: #56494c;
  --valorium: #93a5ff;
  --valorium-deep: #6f7fd4;
  --valorium-soft: rgba(147, 165, 255, 0.14);
  --infernal: #7d0101;
  --infernal-bright: #c23a3a;
  --infernal-soft: rgba(125, 1, 1, 0.2);
  --blend: #9a7aa8;
  --text: #ececeb;
  --text-soft: #c5c2c1;
  --line: rgba(209, 211, 210, 0.14);
  --line-strong: rgba(209, 211, 210, 0.28);
  --danger: #e07a7a;
  --success: #8fd0a8;
  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space-section: clamp(4.5rem, 9vw, 7.5rem);
  --space-block: clamp(2rem, 4vw, 3.25rem);
  --glow-v: 0 0 40px rgba(147, 165, 255, 0.18);
  --glow-i: 0 0 40px rgba(194, 58, 58, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  background-color: var(--bg);
}

body > main {
  flex: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  pointer-events: none;
  z-index: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(14, 13, 13, 0.78) 0%, rgba(14, 13, 13, 0.58) 42%, rgba(14, 13, 13, 0.82) 100%),
    linear-gradient(90deg, rgba(147, 165, 255, 0.06), transparent 20%, transparent 80%, rgba(194, 58, 58, 0.07)),
    url("../assets/background.png");
  background-position: center, center, center center;
  background-size: auto, auto, cover;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

body > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  body::before {
    background-image:
      linear-gradient(180deg, rgba(12, 11, 11, 0.88) 0%, rgba(12, 11, 11, 0.72) 40%, rgba(12, 11, 11, 0.92) 100%),
      linear-gradient(90deg, rgba(147, 165, 255, 0.05), transparent 22%, transparent 78%, rgba(194, 58, 58, 0.06)),
      url("../assets/background.png");
    background-position: center, center, center 45%;
    background-size: auto, auto, cover;
  }
}

@media (max-width: 640px) {
  body::before {
    background-image:
      linear-gradient(180deg, rgba(10, 9, 9, 0.9) 0%, rgba(10, 9, 9, 0.78) 38%, rgba(10, 9, 9, 0.94) 100%),
      linear-gradient(90deg, rgba(147, 165, 255, 0.04), transparent 24%, transparent 76%, rgba(194, 58, 58, 0.05)),
      url("../assets/background.png");
    background-position: center, center, center 42%;
    background-size: auto, auto, cover;
  }
}

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

a {
  color: var(--valorium);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #b6c2ff;
}

:focus-visible {
  outline: 2px solid var(--valorium);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--valorium);
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  width: min(calc(100% - 48px), 1840px);
  margin-inline: auto;
}

@media (max-width: 480px) {
  .page-shell {
    width: min(calc(100% - 28px), 1840px);
  }
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow span {
  background: linear-gradient(90deg, var(--valorium), var(--blend), var(--infernal-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow--valorium span {
  background: none;
  color: var(--valorium);
  -webkit-background-clip: unset;
  background-clip: unset;
}

.eyebrow--infernal span {
  background: none;
  color: var(--infernal-bright);
  -webkit-background-clip: unset;
  background-clip: unset;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dust);
  background: rgba(28, 26, 26, 0.7);
}

.brand-tag--valorium {
  border-color: rgba(147, 165, 255, 0.4);
  color: #c5ceff;
  box-shadow: inset 0 0 0 1px rgba(147, 165, 255, 0.08);
}

.brand-tag--infernal {
  border-color: rgba(194, 58, 58, 0.4);
  color: #f0c4c4;
  box-shadow: inset 0 0 0 1px rgba(194, 58, 58, 0.08);
}

.brand-tag--shared {
  border-color: rgba(154, 122, 168, 0.55);
  color: #e2d6ea;
  box-shadow:
    inset 3px 0 0 rgba(147, 165, 255, 0.55),
    inset -3px 0 0 rgba(194, 58, 58, 0.55);
}

.dual-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.dual-mark__x {
  color: var(--blend);
  font-style: italic;
}

.dual-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(147, 165, 255, 0.55), rgba(209, 211, 210, 0.35), rgba(194, 58, 58, 0.55), transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.lede {
  margin: 0;
  max-width: 46rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.lede--wide {
  max-width: 56rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(20, 19, 19, 0.78);
  backdrop-filter: blur(16px);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(20, 19, 19, 0.94);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand__marks {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand__mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
}

.brand__sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  color: var(--dust);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

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

.site-nav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 transparent;
  background-image: linear-gradient(90deg, var(--valorium), var(--infernal-bright));
  background-size: 100% 2px;
  background-position: bottom;
  background-repeat: no-repeat;
}

.nav-cta {
  margin-left: 0.55rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--dust);
  cursor: pointer;
}

.nav-toggle__bars {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bars::before {
  top: -5px;
}

.nav-toggle__bars::after {
  top: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, #a4b4ff, var(--valorium));
  color: #0a0a0c;
  box-shadow: 0 8px 24px rgba(147, 165, 255, 0.18);
}

.btn--primary:hover {
  color: #0a0a0c;
  box-shadow: var(--glow-v);
}

.site-nav a.nav-cta.btn--primary,
.site-nav a.nav-cta.btn--primary:hover,
.site-nav a.nav-cta.btn--primary:focus {
  color: #0a0a0c;
}

.btn--infernal {
  background: linear-gradient(135deg, #9a1a1a, var(--infernal));
  color: var(--dust);
  box-shadow: 0 8px 24px rgba(125, 1, 1, 0.25);
}

.btn--infernal:hover {
  color: var(--text);
  box-shadow: var(--glow-i);
}

.btn--ghost,
.btn--secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--dust);
}

.btn--ghost:hover,
.btn--secondary:hover {
  border-color: rgba(147, 165, 255, 0.55);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(194, 58, 58, 0.2);
}

.btn--submit {
  position: relative;
  min-width: min(100%, 280px);
}

.btn.is-loading .btn__label,
.btn.is-loading .btn__arrow {
  visibility: hidden;
}

.btn.is-loading .btn__spinner {
  opacity: 1;
}

.btn__spinner {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(18, 18, 24, 0.25);
  border-top-color: #121218;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.text-link {
  font-weight: 700;
}

.site-footer {
  margin-top: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  border-top: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(90deg, rgba(147, 165, 255, 0.45), rgba(209, 211, 210, 0.2), rgba(194, 58, 58, 0.45)) border-box;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.site-footer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dust);
}

.site-footer__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.35rem 0 0;
}

.site-footer__social a {
  color: var(--dust);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-footer__social a:hover {
  color: var(--valorium);
}

.site-footer__social a[data-guild="infernal"]:hover {
  color: #e08a8a;
}

.site-footer__meta {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
  max-width: 28rem;
}

.site-footer__copy {
  margin: 0;
  color: var(--taupe);
  font-size: 0.8rem;
  text-align: right;
}

.site-footer__credit {
  margin: 0;
  color: var(--taupe);
  font-size: 0.75rem;
  text-align: right;
}

.site-footer__credit a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__credit a:hover {
  color: var(--valorium);
}

@media (max-width: 700px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__meta {
    justify-items: start;
  }

  .site-footer__copy,
  .site-footer__credit {
    text-align: left;
  }
}

.page-hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 70% at 0% 40%, rgba(147, 165, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 35% 60% at 100% 30%, rgba(125, 1, 1, 0.1), transparent 55%);
}

.page-hero > * {
  position: relative;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.page-hero__aside {
  color: var(--muted);
  font-size: 1rem;
  max-width: 32rem;
  justify-self: stretch;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(147, 165, 255, 0.06), transparent 45%, rgba(125, 1, 1, 0.08));
}

.band {
  position: relative;
  padding: var(--space-section) 0;
}

.band--surface {
  background: linear-gradient(180deg, rgba(28, 26, 26, 0.55), transparent);
}

.band--blend {
  background:
    radial-gradient(ellipse 50% 80% at 15% 50%, rgba(147, 165, 255, 0.06), transparent 55%),
    radial-gradient(ellipse 45% 70% at 90% 40%, rgba(125, 1, 1, 0.08), transparent 50%);
}

.band--line {
  border-block: 1px solid var(--line);
}

.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--valorium);
}

.teaser-link:hover {
  color: #b6c2ff;
}

.teaser-link::after {
  content: "→";
}

.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion__item {
  border: 1px solid var(--line);
  background: var(--surface);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
}

.accordion__trigger::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  color: var(--valorium);
  font-family: var(--font-body);
  font-size: 1.35rem;
}

.accordion__trigger[aria-expanded="true"]::after {
  content: "−";
}

.accordion__panel {
  display: none;
  padding: 0 1.35rem 1.35rem;
  color: var(--muted);
}

.accordion__panel.is-open {
  display: block;
}

.accordion__panel p {
  margin: 0 0 0.75rem;
}

.accordion__panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .site-nav a {
    padding: 0.5rem 0.55rem;
    font-size: 0.86rem;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__aside {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) - 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.85rem calc((100% - min(calc(100% - 32px), 1720px)) / 2 + 16px) 1.15rem;
    background: rgba(20, 19, 19, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-cta {
    margin: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    white-space: normal;
    box-shadow: none;
  }

  .site-nav a[aria-current="page"] {
    color: #d4c4e0;
    background-image: none;
  }
}

@media (max-width: 640px) {
  .brand__sub {
    display: none;
  }

  .btn {
    width: 100%;
  }
}
