:root {
  color-scheme: dark;
  --bg: #050607;
  --panel: rgba(13, 16, 18, 0.86);
  --panel-strong: #0b0e10;
  --line: rgba(230, 235, 239, 0.14);
  --line-hot: rgba(236, 38, 38, 0.62);
  --text: #f2f5f4;
  --muted: #a8b2b7;
  --dim: #6d777d;
  --red: #e52626;
  --red-dark: #8f1116;
  --cyan: #32a6dc;
  --gold: #d8c37a;
  --green: #78b45b;
  --shadow: none;
  --max: 1160px;
  --site-max: 1440px;
  --edge: max(clamp(1rem, 5vw, 5.5rem), calc((100vw - var(--site-max)) / 2));
  --header-edge: max(clamp(1rem, 3vw, 2.4rem), calc((100vw - var(--site-max)) / 2));
  --header: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.bg-classic {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(229, 38, 38, 0.14), transparent 34rem),
    #050607;
  background-size: 32px 32px, 32px 32px, auto, auto;
}

body.bg-tech {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 12px),
    linear-gradient(45deg, rgba(0, 0, 0, 0.42) 0 1px, transparent 1px 12px),
    #050607;
  background-attachment: fixed;
  background-size: 24px 24px, 24px 24px, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body.bg-classic::before {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 5px
    ),
    linear-gradient(120deg, rgba(50, 166, 220, 0.08), transparent 32%, rgba(216, 195, 122, 0.05));
  opacity: 0.42;
}

body.bg-tech::before {
  background:
    linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, 0.018) 7px 8px, transparent 8px 20px, rgba(0, 0, 0, 0.42) 20px 21px, transparent 21px 36px),
    linear-gradient(0deg, transparent 0 8px, rgba(216, 195, 122, 0.018) 8px 9px, transparent 9px 24px, rgba(255, 255, 255, 0.012) 24px 25px, transparent 25px 36px),
    linear-gradient(135deg, transparent 0 15px, rgba(255, 255, 255, 0.014) 15px 16px, transparent 16px 35px),
    radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.018) 0 1px, transparent 1.6px),
    radial-gradient(circle at 26px 25px, rgba(216, 195, 122, 0.018) 0 1px, transparent 1.8px);
  background-size: 36px 36px, 36px 36px, 44px 44px, 36px 36px, 36px 36px;
  opacity: 0.42;
}

body.bg-tech::after {
  content: none;
}

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

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 30;
  transform: translateY(-180%);
  border: 1px solid var(--line);
  background: #111;
  padding: 0.65rem 0.85rem;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 7, 0.68);
  padding: 0.8rem var(--header-edge);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(5, 6, 7, 0.92);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-lockup strong {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  color: #edf7ff;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-lockup .brand-lan {
  color: var(--gold);
  font-weight: 950;
}

.brand-lockup .brand-rev {
  color: #edf7ff;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.1rem);
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.65rem 0.32rem;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  left: 0.32rem;
  right: 0.32rem;
  bottom: 0.35rem;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.58rem 0.72rem;
  text-transform: uppercase;
}

.nav-toggle svg {
  width: 19px;
  height: 19px;
}

.signal-rail {
  position: fixed;
  top: 50%;
  right: 1rem;
  z-index: 15;
  display: grid;
  gap: 0.45rem;
  transform: translateY(-50%);
}

.rail-label {
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: center;
}

.signal-rail a {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(9, 11, 13, 0.84);
  color: #e8eeee;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.signal-rail a svg {
  width: 26px;
  height: 26px;
  overflow: visible;
}

.signal-rail .steam-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}

.signal-rail a:hover {
  border-color: var(--red);
  color: #fff;
  transform: translateX(-3px);
}

.signal-rail a::before {
  position: absolute;
  right: calc(100% + 0.6rem);
  top: 50%;
  content: attr(data-tip);
  transform: translateY(-50%) translateX(0.4rem);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #090b0d;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  opacity: 0;
  padding: 0.35rem 0.48rem;
  pointer-events: none;
  text-transform: uppercase;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  white-space: nowrap;
}

.signal-rail a:hover::before {
  opacity: 1;
  transform: translateY(-50%);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  place-items: end start;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header) + 4rem) var(--edge) 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/header-background1.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.9) 0%, rgba(5, 6, 7, 0.56) 46%, rgba(5, 6, 7, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 7, 0.06) 42%, rgba(5, 6, 7, 0.38) 100%);
}

.hero-emblem {
  position: absolute;
  left: 50%;
  top: calc(var(--header) + clamp(260px, 25vh, 330px));
  z-index: -1;
  width: clamp(340px, 36vw, 620px);
  max-height: 70vh;
  object-fit: contain;
  opacity: 0.42;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.hero-shell {
  width: min(980px, calc(100vw - 2rem));
}

.eyebrow {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
}

h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.content-grid h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

h3 {
  color: #fff;
  font-size: 1.03rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 640px;
  color: #dce4e4;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
  text-transform: uppercase;
}

.button svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.button.primary {
  border-color: rgba(229, 38, 38, 0.74);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.button:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.status-strip {
  position: absolute;
  left: var(--edge);
  right: var(--edge);
  bottom: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.status-strip span {
  min-width: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.88rem 1rem;
  text-transform: uppercase;
}

.status-strip span:last-child {
  border-right: 0;
}

.status-strip strong {
  color: #fff;
  display: block;
}

.section {
  position: relative;
  padding: clamp(4.2rem, 8vw, 7.5rem) var(--edge);
  scroll-margin-top: calc(var(--header) + 1rem);
}

.section::before {
  position: absolute;
  top: 0;
  left: var(--edge);
  right: var(--edge);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--red), rgba(50, 166, 220, 0.7), transparent);
}

.section-label {
  position: absolute;
  top: 2rem;
  left: var(--edge);
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1fr);
  gap: clamp(1.45rem, 4vw, 3.35rem);
  max-width: var(--max);
  margin-inline: auto;
}

.about-visual {
  display: grid;
  justify-items: center;
}

.about-visual .eyebrow {
  margin-bottom: 0.35rem;
  text-align: center;
}

.prose {
  color: var(--muted);
  font-size: 1rem;
}

.prose p {
  margin-bottom: 1rem;
}

.intro-band {
  background:
    linear-gradient(120deg, rgba(50, 166, 220, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.012);
}

.about-art {
  width: min(420px, 100%);
  margin-top: 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 2.2rem;
}

.card-grid,
.project-minor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.86rem;
  max-width: var(--max);
  margin-inline: auto;
}

.role-card,
.project-minor-grid article {
  position: relative;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 38%),
    var(--panel);
  overflow: hidden;
  padding: 1.1rem;
}

.role-card::after,
.project-minor-grid article::after {
  position: absolute;
  right: 8px;
  bottom: -26px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(229, 38, 38, 0.35);
  content: "";
  transform: rotate(45deg);
}

.role-card span {
  display: inline-block;
  border-bottom: 2px solid var(--red);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

.role-card p,
.project-minor-grid p,
.server-card p,
.project-copy p,
.contact-panel p {
  color: var(--muted);
}

.core-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: var(--max);
  margin-inline: auto;
}

.member-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.15rem;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(229, 38, 38, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 40%),
    var(--panel);
  overflow: hidden;
  padding: 1.1rem;
}

.member-card::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(50, 166, 220, 0.24);
  content: "";
  transform: rotate(45deg);
}

.member-image {
  position: relative;
  z-index: 1;
  align-self: start;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #090b0d;
  overflow: hidden;
}

.member-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(229, 38, 38, 0.38);
  content: "";
  pointer-events: none;
  clip-path: polygon(0 0, 42% 0, 0 42%);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.member-callsign {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 950;
  margin-bottom: 0.58rem;
  text-transform: uppercase;
}

.member-copy h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.member-role {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.member-copy p:not(.member-role) {
  color: var(--muted);
}

.member-copy dl {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.member-copy dl div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.45rem;
}

.member-copy dt,
.member-copy dd {
  margin: 0;
}

.member-copy dt {
  color: var(--dim);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.member-copy dd {
  color: #fff;
  font-size: 0.86rem;
}

.supporters-section {
  background: linear-gradient(180deg, rgba(216, 195, 122, 0.07), rgba(0, 0, 0, 0));
}

.sponsor-heading {
  max-width: 920px;
}

.sponsor-intro {
  display: grid;
  gap: 0.25rem;
  max-width: none;
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
  border-left: 2px solid rgba(216, 195, 122, 0.45);
  padding-left: 1rem;
}

.sponsor-intro p {
  margin: 0;
}

.sponsor-group {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  max-width: var(--max);
  margin-inline: auto;
  margin-top: 1rem;
}

.sponsor-group + .sponsor-group {
  margin-top: clamp(2rem, 5vw, 3.4rem);
}

.sponsor-group h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.sponsor-stack {
  display: grid;
  gap: 1rem;
}

.active-partner-panel {
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(229, 38, 38, 0.12), transparent 34%),
    rgba(9, 11, 13, 0.8);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.active-partner-panel strong {
  display: block;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.18;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.active-partner-panel p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-card {
  display: grid;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(9, 11, 13, 0.72);
  overflow: hidden;
  padding: 1rem;
  place-items: center;
  text-align: center;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.partner-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.partner-card img {
  width: min(140px, 90%);
  max-height: 104px;
  object-fit: contain;
  opacity: 0.9;
}

.partner-card span {
  align-self: end;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  margin-top: 0.8rem;
  text-transform: uppercase;
}

.supporter-panel {
  border: 1px solid var(--line);
  background: rgba(9, 11, 13, 0.72);
}

.supporter-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem;
}

.supporter-row:last-child {
  border-bottom: 0;
}

.supporter-row span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.supporter-row strong {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.servers-section {
  background:
    linear-gradient(90deg, rgba(229, 38, 38, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.015);
}

.server-directory {
  max-width: var(--max);
  margin-inline: auto;
}

.game-group {
  display: grid;
  gap: 1rem;
}

.game-group-heading {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  align-items: end;
  margin-bottom: 0.45rem;
}

.compact-game-heading {
  position: relative;
  display: grid;
  min-height: 240px;
  margin-bottom: 1rem;
  overflow: hidden;
  place-items: center start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050607;
}

.compact-game-heading img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.compact-game-heading::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 6, 7, 0.88), rgba(5, 6, 7, 0.2) 62%, rgba(5, 6, 7, 0.65));
}

.compact-game-heading span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 950;
  line-height: 0.9;
  padding: clamp(1.1rem, 5vw, 3rem);
  text-transform: uppercase;
}

.game-group-heading h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.game-group-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}

.server-list {
  display: grid;
  gap: 0.8rem;
}

.server-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
  var(--panel-strong);
  padding: 1.1rem;
}

.server-brand {
  display: grid;
  min-height: 132px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 40%, rgba(229, 38, 38, 0.12), transparent 70%),
    rgba(3, 5, 6, 0.68);
  padding: 1rem;
}

.server-brand img {
  width: 100%;
  max-width: 150px;
  max-height: 84px;
  object-fit: contain;
  opacity: 0.9;
}

.server-content {
  min-width: 0;
}

.server-card h3 {
  margin: 0.55rem 0 0.8rem;
}

.project-copy h3 {
  margin: 0.55rem 0 0.55rem;
}

.server-card p {
  margin: 0;
}

.server-main {
  min-width: 0;
}

.server-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.server-meta div {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
}

.server-meta div:last-child {
  border-right: 0;
}

.server-meta span {
  display: block;
  color: var(--dim);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.server-meta strong {
  align-items: center;
  display: block;
  color: #fff;
  font-size: 0.78rem;
  gap: 0.4rem;
  line-height: 1.2;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.server-meta strong:has(.flag-us) {
  display: inline-flex;
}

.flag-us {
  display: inline-grid;
  width: 22px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(90deg, #27446f 0 42%, transparent 42%),
    repeating-linear-gradient(0deg, #b22234 0 1.5px, #fff 1.5px 3px);
}

.server-details {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.server-details details {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.server-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
  list-style: none;
  padding: 0.78rem 0.9rem;
  text-transform: uppercase;
}

.server-details summary::-webkit-details-marker {
  display: none;
}

.server-details summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
}

.server-details details[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.server-details details[open] summary::after {
  content: "-";
}

.server-details ul {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  margin: 0;
  padding: 0.8rem 1rem 0.9rem 1.9rem;
}

.server-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: clamp(1.3rem, 4vw, 2rem);
}

.server-info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 40%),
    rgba(9, 11, 13, 0.76);
  min-height: 320px;
  padding: 1.1rem;
}

.panel-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(50, 166, 220, 0.34);
  border-radius: 6px;
  color: var(--cyan);
  margin-bottom: 1.2rem;
}

.panel-icon svg {
  width: 22px;
  height: 22px;
}

.server-info-panel p {
  color: var(--muted);
}

.server-info-panel ul,
.staff-list {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.staff-list {
  list-style: none;
  padding-left: 0;
}

.staff-list li {
  display: grid;
  gap: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.55rem;
}

.staff-list span {
  color: #fff;
  font-weight: 900;
}

.staff-list strong {
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  padding: 0.36rem 0.55rem;
  text-transform: uppercase;
}

.status.planned {
  color: var(--gold);
}

.status.standby {
  color: var(--cyan);
}

.status.live {
  color: var(--green);
}

.project-list {
  display: grid;
  gap: 1rem;
  max-width: var(--max);
  margin-inline: auto;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 1.05fr);
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel-strong);
  padding: 1rem;
}

.project-art,
.project-copy {
  border-radius: 8px;
}

.project-art {
  display: grid;
  min-height: 340px;
  place-items: center;
  overflow: hidden;
}

.project-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-copy {
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.78);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.project-subtitle {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin-top: 1rem;
  overflow: hidden;
}

.project-meta div {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
}

.project-meta div:last-child {
  border-right: 0;
}

.project-meta span {
  display: block;
  color: var(--dim);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-meta strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.project-copy ul {
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
}

.project-minor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-minor-grid article {
  min-height: 190px;
}

.contact-section {
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(229, 38, 38, 0.13), transparent 42%),
    rgba(10, 12, 14, 0.84);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.contact-panel h2 {
  margin-bottom: 0.8rem;
}

.contact-panel p {
  max-width: 660px;
  margin-bottom: 0;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  padding: 1.4rem var(--edge) 2rem;
  text-align: center;
}

.site-footer img {
  width: 28px;
  height: 28px;
  opacity: 0.5;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1240px) {
  .signal-rail {
    position: fixed;
    top: auto;
    left: 50%;
    right: auto;
    bottom: 0.7rem;
    display: flex;
    transform: translateX(-50%);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 6, 7, 0.86);
    padding: 0.35rem;
    backdrop-filter: blur(16px);
  }

  .rail-label {
    display: none;
  }

  .signal-rail a {
    width: 48px;
    height: 48px;
    border-color: transparent;
    background: transparent;
  }

  .signal-rail a svg {
    width: 27px;
    height: 27px;
  }

  .signal-rail .steam-icon {
    width: 30px;
    height: 30px;
  }

  .signal-rail a::before {
    display: none;
  }

  .signal-rail a:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: stretch;
  }

  .nav-toggle {
    display: inline-flex;
    align-self: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 7, 0.96);
    padding: 0.6rem 1rem 1rem;
  }

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

  .site-nav a {
    border: 1px solid var(--line);
    margin: 0.2rem;
    padding: 0.8rem;
  }

  .site-nav a::after {
    display: none;
  }

  .content-grid,
  .project-card,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .core-team-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-group {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-group-heading,
  .server-card,
  .server-support-grid {
    grid-template-columns: 1fr;
  }

  .project-minor-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 70px;
  }

  .brand-lockup strong {
    font-size: 1rem;
  }

  .hero {
    min-height: 94vh;
    padding: calc(var(--header) + 3rem) 1rem 8.2rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 6, 7, 0.93) 0%, rgba(5, 6, 7, 0.76) 100%),
      linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 7, 0.16) 50%, rgba(5, 6, 7, 0.58) 100%);
  }

  .hero-emblem {
    top: 42%;
    left: 68%;
    width: min(88vw, 520px);
    opacity: 0.26;
  }

  h1 {
    font-size: clamp(3.7rem, 23vw, 5.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 12vw, 2.7rem);
  }

  .status-strip {
    left: 1rem;
    right: 1rem;
    bottom: 4.9rem;
    grid-template-columns: 1fr;
  }

  .status-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.62rem 0.75rem;
  }

  .status-strip span:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 4.6rem 1rem;
  }

  .section::before,
  .section-label {
    left: 1rem;
    right: 1rem;
  }

  .card-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .member-card {
    grid-template-columns: 1fr;
  }

  .member-image {
    width: min(180px, 100%);
  }

  .role-card {
    min-height: 190px;
  }

  .supporter-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

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

  .server-card {
    grid-template-columns: 1fr;
  }

  .server-meta {
    grid-template-columns: 1fr;
  }

  .server-meta div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .server-meta div:last-child {
    border-bottom: 0;
  }

  .project-art {
    min-height: 220px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
    padding-bottom: 4.6rem;
  }
}
