@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/dm-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-400.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #111214;
  --surface: #191a1e;
  --surface-hover: #202127;
  --line: #2b2c32;
  --line-strong: #474750;
  --text: #eeede8;
  --secondary: #b5b4be;
  --muted: #91909c;
  --accent: #b5a1ff;
  --accent-ink: #1f1736;
  --ctf: #edb887;
  --security: #b5a1ff;
  --code: #a5c9b8;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --gutter: clamp(22px, 5vw, 72px);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f0eb;
  --surface: #f9f8f4;
  --surface-hover: #e9e7e2;
  --line: #d6d3cf;
  --line-strong: #b6b1b0;
  --text: #222229;
  --secondary: #53515f;
  --muted: #6d6877;
  --accent: #7352c6;
  --accent-ink: #ffffff;
  --ctf: #986031;
  --security: #7352c6;
  --code: #42755f;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 32px;
}
body {
  background: var(--bg);
  color: var(--secondary);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 4px;
}
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}
h1,
h2,
h3 {
  color: var(--text);
  font-weight: 600;
}
svg {
  display: block;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  max-width: 1352px;
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  transform: translateY(-180%);
  padding: 12px 20px;
  color: var(--accent-ink);
  background: var(--accent);
}
.skip:focus {
  transform: none;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.06em;
}
.brand-star {
  width: 29px;
  height: 29px;
  color: var(--accent);
}
.brand-dot {
  color: var(--accent);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 34px;
}
.navigation {
  display: flex;
  gap: 28px;
  align-items: center;
}
.navigation a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
  transition: color 150ms ease;
}
.navigation .icon {
  width: 14px;
  height: 14px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  height: 44px;
  width: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  transition:
    color 150ms ease,
    background-color 150ms ease,
    transform 150ms var(--ease);
}
.icon-button:active {
  transform: scale(0.96);
}
.theme-toggle .icon {
  width: 17px;
  height: 17px;
}
.moon-icon,
[data-theme="light"] .sun-icon {
  display: none;
}
[data-theme="light"] .moon-icon {
  display: block;
}

/* A short introduction beside a tactile, point-cloud playground. */
.hero {
  padding-top: 32px;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font: 10px/1.7 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-topline > p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 48px 0 54px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.eyebrow {
  font: 10px/1.75 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-copy > .eyebrow {
  margin-bottom: 23px;
}
h1 {
  font-size: clamp(64px, 7.6vw, 102px);
  line-height: 0.97;
  letter-spacing: -0.075em;
}
h1 > span {
  color: var(--accent);
}
.hero-description {
  max-width: 33ch;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 26px;
  color: var(--secondary);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  margin-top: 31px;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 23px;
  color: var(--accent-ink);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background-color 150ms ease,
    transform 150ms var(--ease);
}
.button:active {
  transform: scale(0.97);
}
.button .icon {
  width: 17px;
  height: 17px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--secondary);
  font-size: 12px;
  transition: color 150ms ease;
}
.text-link .icon {
  width: 15px;
  height: 15px;
}
.nameplate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 33px;
  font: 10px/1.6 var(--mono);
  color: var(--muted);
}
.nameplate::before {
  content: "";
  width: 23px;
  height: 1px;
  background: var(--line-strong);
}
.playground {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.playground-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font: 9px/1.7 var(--mono);
  letter-spacing: 0.075em;
  color: var(--muted);
  text-transform: uppercase;
}
.playground-top > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.playground-top .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.2;
  margin-block: 13px;
  background-image: radial-gradient(
    var(--line-strong) 0.65px,
    transparent 0.65px
  );
  background-size: 28px 28px;
}
.stage::before,
.stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}
.stage::before {
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
}
.stage::after {
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--line);
}
#object-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
  border-radius: 5px;
}
#object-canvas.is-dragging {
  cursor: grabbing;
}
.axis-label {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  color: var(--muted);
  font: 9px var(--mono);
}
.axis-y {
  top: 7px;
  left: calc(50% + 8px);
}
.axis-x {
  top: calc(50% + 8px);
  right: 7px;
}
.stage-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: var(--muted);
  font: 9px var(--mono);
  pointer-events: none;
}
.object-fallback {
  width: 100%;
  height: 100%;
  color: var(--accent);
}
.object-fallback svg {
  width: 100%;
  height: 100%;
}
.view-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.view-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font: 9px/1.5 var(--mono);
}
.view-hint .icon {
  width: 14px;
  height: 14px;
}
.view-buttons {
  display: flex;
  gap: 4px;
}
.view-buttons .icon-button {
  border-color: transparent;
  color: var(--muted);
}
.view-buttons .icon {
  width: 15px;
  height: 15px;
}
.mode-switch {
  display: flex;
  gap: 5px;
  padding: 5px;
  width: fit-content;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px auto 0;
}
.mode-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 4px;
  font: 11px var(--mono);
  color: var(--muted);
  background: transparent;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}
.mode-switch .icon {
  width: 14px;
  height: 14px;
}
.mode-switch button[aria-pressed="true"] {
  background: var(--line);
  color: var(--text);
}
.mode-switch button[aria-pressed="true"] .icon {
  color: var(--accent);
}
.mode-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  min-height: 45px;
  padding-inline: 5px;
}
.mode-fact {
  font: 10px/1.7 var(--mono);
  color: var(--muted);
}
.mode-fact strong {
  font-weight: 400;
  color: var(--secondary);
}
.mode-link {
  font: 10px var(--mono);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--secondary);
}
.mode-link .icon {
  width: 13px;
  height: 13px;
}

/* Three exits, each with just enough context to choose. */
.explore {
  padding-top: 33px;
  border-top: 1px solid var(--line);
}
.section-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.section-topline h2 {
  font-size: 25px;
  letter-spacing: -0.045em;
  line-height: 1.2;
}
.section-index {
  font: 9px var(--mono);
  color: var(--muted);
  letter-spacing: 0.045em;
}
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.destination {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
}
.destination-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.destination-label {
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.destination-icon {
  color: var(--card-accent);
}
.destination-icon .icon {
  width: 18px;
  height: 18px;
}
.destination[data-mode="ctf"] {
  --card-accent: var(--ctf);
}
.destination[data-mode="security"] {
  --card-accent: var(--security);
}
.destination[data-mode="code"] {
  --card-accent: var(--code);
}
.destination-art {
  position: relative;
  height: 105px;
  display: grid;
  place-items: center;
  margin-block: 15px 24px;
  color: var(--card-accent);
  user-select: none;
  pointer-events: none;
}
.destination-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform 240ms var(--ease);
}
.destination-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.destination-heading h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.destination-link {
  min-height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--secondary);
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
}
.destination > p {
  font-size: 12px;
  margin-top: 5px;
  color: var(--muted);
}
.destination:focus-within {
  border-color: var(--card-accent);
}
.destination:focus-within .destination-link {
  background: var(--card-accent);
  color: var(--bg);
  border-color: var(--card-accent);
}
.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 40px 0;
  margin-top: 39px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-strip p {
  font-size: 24px;
  letter-spacing: -0.035em;
  color: var(--text);
}
.contact-strip p span {
  color: var(--muted);
}
.contact-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.contact-link {
  color: var(--accent);
  font-size: 14px;
  gap: 13px;
}
.copy-button {
  position: relative;
}
.copy-button .icon {
  width: 16px;
  height: 16px;
}
.copy-feedback {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 5px;
  white-space: nowrap;
  font: 10px/1.6 var(--mono);
  pointer-events: none;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 25px;
  padding-block: 23px;
  font: 10px/1.7 var(--mono);
  color: var(--muted);
}
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  color: var(--muted);
  font: 10px var(--mono);
  border: 0;
  padding: 0;
}
.footer-links .copy-discord {
  min-width: 75px;
  gap: 6px;
}
.footer-links .icon {
  width: 11px;
  height: 11px;
}
.footer > p {
  font-size: 9px;
}
.theme-changing *,
.theme-changing *::before,
.theme-changing *::after {
  transition: none !important;
}
@media (hover: hover) and (pointer: fine) {
  .navigation a:hover,
  .text-link:hover,
  .mode-link:hover,
  .footer-links a:hover,
  .footer-links button:hover {
    color: var(--text);
  }
  .icon-button:hover {
    background: var(--surface-hover);
    color: var(--text);
  }
  .button:hover {
    background: color-mix(in oklch, var(--accent) 88%, white);
  }
  .mode-switch button:hover {
    background: var(--line);
    color: var(--text);
  }
  .destination:hover {
    border-color: var(--card-accent);
    background: var(--surface-hover);
  }
  .destination:hover .destination-art svg {
    transform: translateY(-5px) rotate(-3deg);
  }
  .destination:hover .destination-link {
    background: var(--card-accent);
    color: var(--bg);
    border-color: var(--card-accent);
  }
  .destination-link:active {
    transform: scale(0.96);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  h1 {
    font-size: clamp(62px, 7.8vw, 86px);
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
  }
  .mode-switch button {
    padding-inline: 12px;
  }
  .hero-description {
    font-size: 15px;
  }
  .nameplate {
    font-size: 9px;
  }
  .hero-actions {
    gap: 20px;
  }
  .destination {
    padding: 20px;
  }
  .destination-heading h3 {
    font-size: 18px;
  }
}
@media (max-width: 800px) {
  .hero-grid {
    gap: 24px;
  }
  h1 {
    font-size: 65px;
  }
  .hero-topline {
    font-size: 9px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 10px 18px;
  }
  .button {
    padding-inline: 18px;
    gap: 18px;
  }
  .stage {
    aspect-ratio: 1;
  }
  .mode-switch button {
    padding-inline: 9px;
    font-size: 10px;
    gap: 5px;
  }
  .playground-top {
    font-size: 8px;
  }
  .mode-detail {
    flex-wrap: wrap;
    gap: 0;
  }
  .mode-fact,
  .mode-link {
    font-size: 9px;
  }
  .destination-grid {
    gap: 12px;
  }
  .destination {
    padding: 17px;
  }
  .destination-heading h3 {
    font-size: 17px;
  }
  .destination > p {
    font-size: 11px;
  }
  .contact-strip p {
    font-size: 21px;
  }
}
@media (max-width: 680px) {
  .header-inner {
    min-height: 76px;
    gap: 16px;
  }
  .brand {
    font-size: 21px;
    gap: 8px;
  }
  .brand-star {
    width: 25px;
    height: 25px;
  }
  .header-right {
    gap: 17px;
  }
  .navigation {
    gap: 19px;
  }
  .navigation a {
    font-size: 12px;
  }
  .hero {
    padding-top: 25px;
  }
  .hero-topline {
    font-size: 8px;
    letter-spacing: 0.03em;
  }
  .hero-topline .timezone {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 42px;
    padding-bottom: 35px;
    gap: 44px;
  }
  .hero-copy > .eyebrow {
    font-size: 10px;
    margin-bottom: 22px;
  }
  h1 {
    font-size: clamp(68px, 13.4vw, 91px);
  }
  .hero-description {
    font-size: 15px;
    margin-top: 24px;
    max-width: 32ch;
  }
  .hero-actions {
    margin-top: 26px;
    gap: 23px;
  }
  .button {
    padding-inline: 22px;
    gap: 23px;
  }
  .nameplate {
    margin-top: 25px;
    font-size: 9px;
  }
  .playground {
    max-width: 480px;
    width: 100%;
    justify-self: center;
  }
  .playground-top {
    font-size: 9px;
  }
  .stage {
    aspect-ratio: 1.18;
  }
  .mode-switch button {
    padding-inline: 16px;
    gap: 7px;
    font-size: 11px;
  }
  .mode-detail {
    flex-wrap: nowrap;
  }
  .mode-fact,
  .mode-link {
    font-size: 10px;
  }
  .explore {
    padding-top: 29px;
  }
  .section-topline {
    margin-bottom: 23px;
  }
  .section-topline h2 {
    font-size: 24px;
  }
  .section-index {
    font-size: 8px;
  }
  .destination-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .destination {
    padding: 23px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 10px 18px;
  }
  .destination-top {
    grid-column: 1;
    grid-row: 1;
  }
  .destination-icon {
    display: none;
  }
  .destination-heading {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .destination-heading h3 {
    font-size: 23px;
  }
  .destination > p {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: -7px;
    font-size: 13px;
  }
  .destination-art {
    position: absolute;
    top: 10px;
    right: 45px;
    width: 110px;
    height: 65px;
    margin: 0;
    opacity: 0.5;
  }
  .destination-label {
    font-size: 9px;
    min-height: 24px;
    display: flex;
    align-items: center;
  }
  .contact-strip {
    padding-block: 27px;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .contact-strip p {
    font-size: 24px;
  }
  .contact-actions {
    gap: 17px;
  }
  .footer {
    padding-block: 18px;
    gap: 4px;
  }
  .footer-links {
    gap: 18px;
    width: 100%;
  }
  .footer > p {
    margin-top: 10px;
  }
}
@media (max-width: 380px) {
  .header-right {
    gap: 8px;
  }
  .navigation {
    gap: 13px;
  }
  .brand {
    font-size: 19px;
  }
  .brand-star {
    width: 22px;
  }
  .navigation a {
    font-size: 11px;
  }
  .navigation a:last-child .icon {
    display: none;
  }
  h1 {
    font-size: clamp(52px, 16vw, 60px);
  }
  .hero-topline {
    font-size: 7px;
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
  }
  .mode-switch button {
    padding-inline: 11px;
  }
  .mode-fact,
  .mode-link {
    font-size: 9px;
  }
  .footer-links {
    gap: 13px;
  }
  .section-topline h2 {
    font-size: 22px;
  }
  .section-index {
    font-size: 7px;
  }
}
