:root {
  --abyss: #070809;
  --abyss-2: #0c1216;
  --panel: #101316;
  --foam: #f3f5f6;
  --mist: rgba(243, 245, 246, 0.66);
  --dim: rgba(243, 245, 246, 0.42);
  --line: rgba(243, 245, 246, 0.1);
  --line-strong: rgba(243, 245, 246, 0.16);
  --flare: #1aa4ef;
  --flare-deep: #0b86c9;
  --pearl: #c9b48a;
  --live: #3dce86;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Inter, "Segoe UI", sans-serif;
  --header: 72px;
  --wrap: 1180px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--abyss);
  color: var(--foam);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  font: inherit;
}

button {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

::selection {
  background: var(--flare);
  color: white;
}

.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 {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--foam);
  color: var(--abyss);
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(7, 8, 9, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-bar {
  height: 100%;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  height: 22px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--mist);
}

.discord-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
}

.btn .discord-icon {
  width: 18px;
  height: 18px;
}

.header-link:hover {
  color: var(--foam);
}

.menu-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.menu-icon {
  width: 18px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon span {
  display: block;
  height: 1.5px;
  background: var(--foam);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 25;
  background: #070809;
  padding: 2.5rem 1.5rem 3rem;
  overflow: auto;
}

.drawer[hidden] {
  display: none;
}

.drawer-list a {
  display: block;
  padding: 0.35rem 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

.drawer-list a:hover {
  color: var(--flare);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  height: 52px;
  padding: 0 1.25rem 0 1.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.btn-sm {
  height: 38px;
  padding: 0 0.85rem;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
}

.btn-primary {
  background: var(--flare);
  color: white;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.btn-primary:hover {
  background: var(--flare-deep);
}

.btn-ghost {
  background: rgba(243, 245, 246, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--foam);
}

.btn-ghost:hover {
  background: rgba(243, 245, 246, 0.08);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header);
  overflow: hidden;
  background: #070b12;
}

.hero-bg,
.hero-player {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 14, 0.72) 0%, rgba(5, 8, 14, 0.28) 38%, transparent 62%);
}

.hero-player {
  z-index: 1;
}

.hero-player img {
  position: absolute;
  top: calc(var(--header) + 4px);
  right: -3%;
  height: 142%;
  width: auto;
  max-width: none;
}

.frame {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hero-copy .display {
  font-size: clamp(3.15rem, 5.5vw, 6.5rem);
}


.hero-spacer {
  display: none;
}

.live {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--mist);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(61, 206, 134, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.6rem, 13vw, 9.4rem);
  line-height: 0.82;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.display-line {
  display: block;
}

.display-accent {
  color: var(--flare);
}

.lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--mist);
  font-size: 1.125rem;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.client-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-top: 1.15rem;
  color: var(--mist);
  text-align: left;
}

.client-line span {
  color: var(--flare);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-line code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  color: var(--foam);
}

.client-line:hover code {
  color: var(--flare);
}

.hero-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.88);
}

.hero-bar-row {
  min-height: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0;
}

.hero-domain {
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.fact-row li {
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-row strong {
  color: var(--foam);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-right: 0.35rem;
}

.band {
  border-top: 1px solid var(--line);
  padding: 5rem 0;
  scroll-margin-top: var(--header);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  color: var(--dim);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.server-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.server-cover {
  width: 100%;
  height: min(52vw, 280px);
  object-fit: cover;
  object-position: center top;
}

.server-body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.server-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.server-id {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.mark {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(243, 245, 246, 0.1);
}

.mark-sm {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.server-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}

.server-name span {
  display: block;
  margin-top: 0.35rem;
  color: var(--mist);
  font-size: 0.42em;
  letter-spacing: 0.04em;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.chip-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  color: var(--mist);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-status[data-status="offline"] {
  color: var(--dim);
}

.chip-status[data-status="offline"] .live-dot {
  background: #8b9398;
  box-shadow: none;
  animation: none;
}

.prose {
  max-width: 68ch;
  margin-top: 1.15rem;
  color: var(--mist);
}

.copy-note {
  min-height: 1.2em;
  margin-top: 0.85rem;
  color: var(--pearl);
  font-size: 0.88rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--dim);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker span {
  border: 1px solid rgba(26, 164, 239, 0.55);
  border-radius: 4px;
  padding: 0.18rem 0.45rem;
  color: var(--flare);
  letter-spacing: 0.12em;
}

.section-title {
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  letter-spacing: -0.015em;
  line-height: 0.88;
  text-transform: uppercase;
}

.section-deck {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--mist);
  font-size: 1.05rem;
}

.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.text-link {
  color: var(--flare);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--foam);
}

.depth {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line-strong);
}

.depth li {
  position: relative;
  padding: 1.25rem 0 1.25rem 4.5rem;
  border-bottom: 1px solid var(--line);
}

.depth li::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.depth li:first-child::before {
  top: 1.7rem;
}

.depth li:last-child::before {
  bottom: calc(100% - 1.7rem);
}

.depth-mark {
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 2.7rem;
  color: var(--flare);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.depth h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.depth p {
  margin-top: 0.4rem;
  color: var(--mist);
}

.cards {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.cards li {
  background: rgba(16, 19, 22, 0.75);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.2rem 1.35rem;
}

.cards li:hover {
  border-color: rgba(26, 164, 239, 0.5);
}

.cards h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cards p {
  margin-top: 0.45rem;
  color: var(--mist);
  font-size: 0.95rem;
}

.monuments {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.monuments li {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.monuments img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.monument-body {
  padding: 1rem 1.15rem 1.3rem;
}

.monument-label {
  color: var(--flare);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.monuments h3 {
  margin-top: 0.3rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.monuments li p:last-child {
  margin-top: 0.4rem;
  color: var(--mist);
}

.pearls {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.pearl-orb {
  width: min(240px, 64vw);
  margin-inline: auto;
  filter: drop-shadow(0 20px 36px rgba(26, 164, 239, 0.28));
}

.kicker-pearl span {
  border-color: rgba(201, 180, 138, 0.65);
  color: var(--pearl);
}

.pearl-ways {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.6rem;
}

.pearl-ways h3 {
  margin-top: 0.3rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pearl-ways p:last-child {
  margin-top: 0.35rem;
  color: var(--mist);
}

.pearls .section-deck {
  margin-top: 0.85rem;
}

.close {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 6.5rem 0 7rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(26, 164, 239, 0.18), transparent 46%),
    var(--abyss);
  text-align: center;
}

.close-inner .lede,
.close-inner .cta-row {
  margin-inline: auto;
  justify-content: center;
}

.display-close {
  font-size: clamp(4.2rem, 12vw, 8.6rem);
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
  background: #050607;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer-logo {
  height: 20px;
  width: auto;
}

.footer-blurb {
  max-width: 28ch;
  margin-top: 0.55rem;
  color: var(--dim);
  font-size: 0.92rem;
}

.footer-label {
  margin-bottom: 0.7rem;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer li + li {
  margin-top: 0.35rem;
}

.footer a,
.linkish {
  color: var(--mist);
  font-size: 0.95rem;
}

.footer a:hover,
.linkish:hover {
  color: var(--foam);
}

.linkish {
  text-align: left;
}

.footer-base {
  margin-top: 2.5rem;
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.8rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 60;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%) translateY(0.75rem);
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1rem;
  background: var(--foam);
  color: var(--abyss);
  border-radius: 4px;
  font-size: 0.92rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-on {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 206, 134, 0.55); }
  100% { box-shadow: 0 0 0 8px rgba(61, 206, 134, 0); }
}

@media (max-width: 719px) {
  .hero {
    min-height: 0;
  }

  .hero-spacer {
    display: none;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(5, 8, 14, 0.55), rgba(5, 8, 14, 0.2) 40%, rgba(5, 8, 14, 0.72));
  }

  .hero-player {
    position: relative;
    inset: auto;
    order: 2;
    height: 480px;
    overflow: hidden;
  }

  .hero-player img {
    top: 0;
    right: 50%;
    bottom: auto;
    height: 680px;
    transform: translateX(50%);
  }

  .hero-copy {
    order: 1;
    flex: none;
    justify-content: flex-start;
    padding-top: 2.5rem;
    padding-bottom: 1.75rem;
  }

  .hero-copy .display {
    font-size: clamp(3.6rem, 16vw, 4.8rem);
  }

  .hero-bar {
    order: 3;
  }

  .hero-bar-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .fact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 1rem;
    width: 100%;
  }
}

@media (min-width: 720px) {
  .hero-copy {
    width: min(var(--wrap), calc(100% - 4rem));
    margin-inline: auto;
    padding-right: min(48%, 560px);
  }

  .hero-copy .lede {
    max-width: 16rem;
  }

  .wrap,
  .header-bar {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .header-link {
    display: inline-flex;
  }

  .frame {
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    z-index: 1;
    pointer-events: none;
  }

  .frame-tl {
    top: calc(var(--header) + 1rem);
    left: 1.25rem;
    border-top: 1.5px solid var(--flare);
    border-left: 1.5px solid var(--flare);
  }

  .frame-br {
    right: 1.25rem;
    bottom: 5.5rem;
    border-right: 1.5px solid var(--flare);
    border-bottom: 1.5px solid var(--flare);
  }

  .server-body {
    padding: 1.5rem 1.7rem 1.7rem;
  }

  .cards,
  .monuments {
    grid-template-columns: 1fr 1fr;
  }

  .depth {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-top: 0;
    border-left: 0;
  }

  .depth li {
    padding: 0 1.15rem 0 0;
    border-bottom: 0;
    border-left: 0;
  }

  .depth li::before {
    left: 0;
    right: 1.15rem;
    top: 2.3rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .depth li:first-child::before,
  .depth li:last-child::before {
    top: 2.3rem;
    bottom: auto;
  }

  .depth-mark {
    position: static;
    display: block;
    width: auto;
    margin-bottom: 1.4rem;
  }

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

@media (min-width: 720px) and (max-width: 1039px) {
  .hero-player img {
    height: 128%;
    right: -10%;
  }

  .hero-copy {
    padding-right: 50%;
  }

  .hero-copy .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy .display {
    font-size: clamp(3.4rem, 6vw, 5.2rem);
  }
}

@media (min-width: 960px) {
  .server-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: stretch;
  }

  .server-cover-frame {
    position: relative;
    padding: 0;
    min-height: 100%;
  }

  .server-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    object-position: center 40%;
  }

  .server-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.65rem 1.9rem 1.5rem 1.85rem;
  }

  .server-body .prose {
    max-width: 62ch;
  }

  .server-body .client-line {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 1040px) {
  .hero-copy .display {
    font-size: clamp(5.4rem, 8.6vw, 8.6rem);
  }

  .hero-copy .lede {
    max-width: 22rem;
    font-size: 1.25rem;
  }
}

@media (min-width: 1040px) {
  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

  .pearls {
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
  }

  .pearl-orb {
    width: 280px;
  }

  .pearl-ways {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

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

  .live-dot,
  .toast,
  .menu-icon span {
    animation: none;
    transition: none;
  }
}
