:root {
  color-scheme: dark;
  --black: #070604;
  --black-2: #10100e;
  --ink: #f5efe2;
  --muted: #b9aa8f;
  --gold: #d6ad3d;
  --gold-2: #ffcf5d;
  --orange: #f0782b;
  --ember: #ff8a3d;
  --steel: #7e9db3;
  --cyan: #7ad5ff;
  --line: rgba(214, 173, 61, 0.24);
  --glass: rgba(12, 10, 7, 0.66);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.48);
  --display: "Oxanium", "Bahnschrift", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 4%, rgba(240, 120, 43, 0.18), transparent 31rem),
    radial-gradient(circle at 78% 0%, rgba(122, 213, 255, 0.10), transparent 34rem),
    linear-gradient(180deg, #050403 0%, #0b0907 42%, #070604 100%);
  font-family: var(--body);
  cursor: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 9rem, black calc(100% - 9rem), transparent);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 91;
  pointer-events: none;
  content: "";
  opacity: 0.105;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.72'/%3E%3C/svg%3E");
}

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

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

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold-2);
  box-shadow: 0 0 24px rgba(255, 207, 93, 0.9);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 207, 93, 0.72);
  border-radius: 999px;
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

body.is-hovering .cursor-ring {
  width: 58px;
  height: 58px;
  border-color: rgba(240, 120, 43, 0.82);
  opacity: 0.92;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.055);
}

.scroll-meter span {
  display: block;
  width: calc(var(--progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--gold-2), var(--cyan));
  box-shadow: 0 0 22px rgba(255, 207, 93, 0.42);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid rgba(214, 173, 61, 0.22);
  border-radius: 999px;
  background: rgba(5, 4, 3, 0.68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translate3d(-50%, calc(var(--parallax-y, 0px) * 0.35), 0);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-lockup img {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(214, 173, 61, 0.36);
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #e9ddc8;
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

nav a:hover {
  color: white;
  background: rgba(214, 173, 61, 0.12);
  transform: translateY(-1px);
}

.nav-cta {
  border: 1px solid rgba(255, 207, 93, 0.38);
  background: rgba(214, 173, 61, 0.13);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: center;
  padding: 10rem min(6vw, 5rem) 5.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -14rem;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(214, 173, 61, 0.22);
  border-radius: 999px;
  content: "";
  box-shadow: inset 0 0 70px rgba(240, 120, 43, 0.12), 0 0 110px rgba(214, 173, 61, 0.08);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.76) 42%, rgba(5, 4, 3, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.2), rgba(5, 4, 3, 0.96)),
    url("./assets/server/guild-banner-web.jpg") center / cover;
  transform: scale(1.04) translate3d(0, calc(var(--parallax-y, 0px) * -0.08), 0);
}

.panel-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: 12vh;
  gap: 1px;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.panel-grid i {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 173, 61, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 207, 93, 0.075), transparent 42%),
    rgba(255, 255, 255, 0.015);
  animation: panelPulse 6s ease-in-out infinite;
  animation-delay: calc(var(--panel-index) * -115ms);
}

.panel-grid i::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 207, 93, 0.22), transparent);
  transform: translateX(-120%);
  animation: panelSweep 5.4s ease-in-out infinite;
  animation-delay: calc(var(--panel-index) * -87ms);
}

@keyframes panelPulse {
  0%, 100% { opacity: 0.22; filter: brightness(0.72); }
  8% { opacity: 0.82; filter: brightness(1.7); }
  14% { opacity: 0.35; filter: brightness(0.9); }
  52% { opacity: 0.48; filter: brightness(1.1); }
}

@keyframes panelSweep {
  0%, 58% { transform: translateX(-130%); }
  72%, 100% { transform: translateX(130%); }
}

.orbital-map {
  position: absolute;
  right: min(9vw, 7rem);
  top: 20%;
  z-index: -1;
  width: min(38vw, 29rem);
  aspect-ratio: 1;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * 0.18), 0);
}

.orbital-map span {
  position: absolute;
  inset: calc(var(--ring) * 12%);
  border: 1px solid rgba(214, 173, 61, 0.23);
  border-radius: 999px;
  transform: rotateX(62deg) rotateZ(calc(var(--ring) * 21deg));
}

.orbital-map span:nth-child(1) { --ring: 0; }
.orbital-map span:nth-child(2) { --ring: 1; border-color: rgba(240, 120, 43, 0.25); }
.orbital-map span:nth-child(3) { --ring: 2; border-color: rgba(122, 213, 255, 0.18); }

.hero-content {
  max-width: 780px;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * 0.18), 0);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: 5.6rem;
  line-height: 0.9;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: 3.4rem;
  line-height: 1;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.32rem;
  line-height: 1.12;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-copy {
  max-width: 680px;
  color: #e8ddcb;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.primary-action,
.ghost-action {
  position: relative;
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  font-weight: 800;
}

.primary-action {
  color: #17100a;
  background: linear-gradient(135deg, var(--gold-2), var(--orange));
  box-shadow: 0 16px 45px rgba(240, 120, 43, 0.28);
}

.primary-action::after,
.ghost-action::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.primary-action:hover::after,
.ghost-action:hover::after {
  transform: translateX(130%);
}

.ghost-action {
  border: 1px solid rgba(214, 173, 61, 0.38);
  color: #f7eddc;
  background: rgba(255, 255, 255, 0.035);
}

.mission-readout {
  position: absolute;
  right: min(5vw, 4rem);
  bottom: 3.5rem;
  display: grid;
  width: min(35rem, calc(100% - 2rem));
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(214, 173, 61, 0.18);
  background: rgba(214, 173, 61, 0.15);
  box-shadow: var(--shadow);
  transform: translate3d(0, calc(var(--parallax-y, 0px) * 0.22), 0);
}

.mission-readout div {
  min-height: 9.5rem;
  padding: 1.05rem;
  background: rgba(8, 7, 5, 0.82);
  backdrop-filter: blur(12px);
}

.mission-readout span {
  color: var(--orange);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
}

.mission-readout strong,
.mission-readout small {
  display: block;
}

.mission-readout strong {
  margin: 0.65rem 0 0.35rem;
  font-family: var(--display);
  font-size: 1rem;
}

.mission-readout small {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  position: relative;
  padding: 7.25rem min(6vw, 5rem);
}

.intro-band {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(214, 173, 61, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(8, 7, 5, 0.98), rgba(13, 11, 8, 0.96));
}

.intro-grid {
  display: grid;
  max-width: 1180px;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 4rem;
  align-items: end;
}

.intro-grid p {
  margin-bottom: 1.4rem;
  font-size: 1.12rem;
}

.flight-path {
  display: grid;
  max-width: 1180px;
  margin-top: 4.5rem;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(214, 173, 61, 0.12);
  box-shadow: var(--shadow);
}

.flight-path article {
  position: relative;
  min-height: 18rem;
  padding: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), transparent),
    rgba(8, 7, 5, 0.91);
}

.flight-path article + article {
  border-left: 1px solid var(--line);
}

.flight-path span {
  display: inline-flex;
  margin-bottom: 4.2rem;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
}

.flight-path article::before {
  position: absolute;
  top: 4.3rem;
  left: 1.45rem;
  width: calc(100% - 2.9rem);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--orange), rgba(214, 173, 61, 0.1));
}

.flight-path article::after {
  position: absolute;
  top: 3.95rem;
  left: 1.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  content: "";
  background: var(--gold-2);
  box-shadow: 0 0 20px rgba(255, 207, 93, 0.74);
}

.proof-band {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 5rem;
  align-items: center;
  background:
    radial-gradient(circle at 8% 22%, rgba(122, 213, 255, 0.08), transparent 26rem),
    #090806;
}

.proof-visual {
  position: relative;
  min-height: 37rem;
  transform: translate3d(0, calc(var(--parallax-y, 0px) * 0.08), 0);
}

.proof-visual::before {
  position: absolute;
  inset: 2.5rem -1rem -1rem 3rem;
  border: 1px solid rgba(214, 173, 61, 0.28);
  content: "";
}

.proof-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(214, 173, 61, 0.32);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.proof-copy {
  max-width: 39rem;
}

.signal-list {
  display: grid;
  gap: 1px;
  margin: 2.2rem 0 0;
  border: 1px solid var(--line);
  background: rgba(214, 173, 61, 0.14);
}

.signal-list div {
  padding: 1.3rem;
  background: rgba(8, 7, 5, 0.86);
}

.signal-list dt {
  margin-bottom: 0.35rem;
  color: #fff5de;
  font-family: var(--display);
  font-weight: 800;
}

.signal-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.standard-band {
  background:
    linear-gradient(180deg, rgba(240, 120, 43, 0.08), transparent 18rem),
    #0c0906;
}

.standard-band h2 {
  max-width: 890px;
}

.standard-grid {
  display: grid;
  max-width: 1180px;
  margin-top: 3.2rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: rgba(214, 173, 61, 0.14);
}

.standard-grid article {
  min-height: 15rem;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 207, 93, 0.07), transparent 45%),
    rgba(8, 7, 5, 0.9);
}

.standard-grid b {
  display: block;
  margin-bottom: 1.2rem;
  color: #fff7df;
  font-family: var(--display);
  font-size: 1.04rem;
}

.terminal-band {
  padding-bottom: 8rem;
  background:
    linear-gradient(180deg, transparent, rgba(214, 173, 61, 0.07)),
    #070604;
}

.not-found-stage {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.terminal-shell {
  max-width: 1180px;
  padding: 2rem;
  border: 1px solid rgba(214, 173, 61, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 207, 93, 0.08), transparent 44%),
    rgba(8, 7, 5, 0.9);
  box-shadow: var(--shadow);
}

.terminal-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4.5rem;
  color: var(--gold-2);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
}

.terminal-shell p {
  max-width: 52rem;
  margin-bottom: 2rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 980px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .site-header {
    align-items: flex-start;
    border-radius: 18px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .mission-readout,
  .intro-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .mission-readout {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 3rem;
  }

  .flight-path,
  .standard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-lockup small,
  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding: 8.4rem 1rem 3rem;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .mission-readout,
  .flight-path,
  .standard-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5rem 1rem;
  }

  .proof-visual {
    min-height: 25rem;
  }

  .terminal-topline {
    display: grid;
  }
}

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

  .hero-image,
  .orbital-map,
  .site-header,
  .proof-visual {
    transform: none !important;
  }
}
