:root {
  --red: #ed1c24;
  --black: #050505;
  --white: #f3f3f1;
  --ink: #121212;
  --muted: rgba(243, 243, 241, 0.84);
  --font: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--black);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

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

button,
a {
  font-family: inherit;
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--red);
  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: 16px;
  top: -200px;
  background: var(--red);
  color: white;
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus {
  top: 12px;
}

.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  z-index: 30;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav);
  padding: 0 6vw 0 22px;
  color: var(--white);
  transition:
    transform 0.5s var(--ease),
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-hidden {
  transform: translateY(calc(-100% - 4px));
}

.nav.is-scrolled[data-theme="dark"] {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav[data-theme="light"] {
  color: var(--ink);
}

.nav.is-scrolled[data-theme="light"] {
  background: rgba(243, 243, 241, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav.is-scrolled[data-theme="red"] {
  background: rgba(237, 28, 36, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.nav-toggle {
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 25px;
}

.nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav.is-open .nav-toggle span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.brand-logo {
  display: none;
  height: 36px;
  width: auto;
}

.nav[data-theme="dark"] .logo-red,
.nav[data-theme="light"] .logo-black,
.nav[data-theme="red"] .logo-white {
  display: block;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  padding: 10px 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 8px;
  height: 2px;
  width: var(--w, 0px);
  background: var(--red);
  transform: translateX(var(--x, 0px));
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease),
    background 0.3s ease,
    opacity 0.3s ease;
  pointer-events: none;
}

.nav[data-theme="red"] .nav-indicator {
  background: #fff;
}

.nav.is-open[data-theme] {
  color: var(--white);
}

.nav.is-open[data-theme] .brand-logo {
  display: none;
}

.nav.is-open[data-theme] .logo-red {
  display: block;
}

.nav[data-theme="dark"] .nav-links a:hover,
.nav[data-theme="dark"] .nav-links a[aria-current="page"],
.nav[data-theme="light"] .nav-links a:hover,
.nav[data-theme="light"] .nav-links a[aria-current="page"] {
  color: var(--red);
}

.nav-links a:focus-visible,
.cut-btn:focus-visible,
.close a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.nav[data-theme="red"] .nav-links a:focus-visible {
  outline-color: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav) + 8vh) 6vw 40px;
  overflow: hidden;
}

.shards,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  background-image:
    linear-gradient(
      45deg,
      transparent calc(50% - 0.8px),
      rgba(237, 28, 36, 0.92) calc(50% - 0.8px) calc(50% + 0.8px),
      transparent calc(50% + 0.8px)
    ),
    linear-gradient(
      45deg,
      transparent calc(50% - 0.5px),
      rgba(255, 255, 255, 0.055) calc(50% - 0.5px) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
  background-size: 640px 640px, 80px 80px;
  background-repeat: repeat;
  background-position: 0 0, 0 0;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 92%);
  animation: gridDrift 36s linear infinite;
}

@keyframes gridDrift {
  to {
    background-position: 640px 0, 640px 0;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-logo {
  position: relative;
  width: min(100%, 1080px);
  will-change: transform;
}

.logo-frame {
  position: absolute;
  pointer-events: none;
}

.logo-frame {
  inset: -18px -8px;
}

.logo-frame::before,
.logo-frame::after,
.logo-frame i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(237, 28, 36, 0.9);
  opacity: 0;
  animation: frameIn 0.5s ease forwards;
}

.logo-frame::before {
  content: "";
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.logo-frame::after {
  content: "";
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
  animation-delay: 0.16s;
}

.logo-frame i:first-child {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
  animation-delay: 0.08s;
}

.logo-frame i:last-child {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
  animation-delay: 0.24s;
}

@keyframes frameIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wordmark {
  width: 100%;
  height: auto;
  overflow: visible;
  fill: var(--red);
}

.glyph {
  clip-path: none;
}

.wordmark :is(polygon, rect) {
  fill: transparent;
  stroke: var(--red);
  stroke-width: 1.15;
  stroke-linejoin: miter;
  animation: plot-ink 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--d, 0s) + 0.2s);
}

@keyframes plot-wipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes plot-ink {
  to {
    fill: var(--red);
  }
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  max-width: 1080px;
}

.hero-meta p,
.eyebrow,
.legal {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-meta .hero-offer {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--white);
}

.bridge {
  margin: 14px 0 0;
  max-width: 48ch;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}

.bridge a {
  color: var(--red);
}

.process {
  position: relative;
  z-index: 2;
  margin-bottom: -40px;
  padding: 92px 6vw 112px;
  background: var(--black);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}

.process .eyebrow {
  margin-bottom: 28px;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: calc(75% + 21px);
  height: 1px;
  background: var(--red);
}

.steps li {
  position: relative;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.steps li::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--red);
  transform: rotate(45deg);
}

.step-no {
  display: block;
  margin: 0 0 16px;
  font-size: clamp(42px, 4.4vw, 68px);
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--red);
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.steps p {
  margin: 0;
  max-width: 28ch;
  color: rgba(243, 243, 241, 0.84);
}

.game-status {
  position: absolute;
  bottom: 64px;
  left: 12px;
  z-index: 3;
  margin: 0;
  padding: 6px 10px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cut-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.cut-btn:hover {
  background: white;
  color: var(--ink);
  transform: translateY(-2px);
}

.marquee-wrap {
  position: relative;
  z-index: 3;
  margin: -28px 0;
  overflow: hidden;
  background: var(--red);
  color: var(--ink);
  clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%);
  min-height: 114px;
}

.marquee {
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.marquee-group img {
  display: block;
  height: 28px;
  width: auto;
}

.marquee-group .mark-tick {
  height: 30px;
}

.marquee-group span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.diamond {
  width: 8px;
  height: 8px;
  background: var(--ink);
  transform: rotate(45deg);
  flex: none;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.lineup {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--ink);
  padding: 88px 6vw 160px;
}

.lineup-head {
  margin-bottom: 28px;
}

.sites {
  margin-top: 88px;
}

.game-art.site-art {
  background: white;
  box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.14);
}

.game-art.site-art img {
  object-fit: cover;
  object-position: center top;
  animation: none;
}

.software-list .index-row {
  color: var(--ink);
  border-top-color: rgba(18, 18, 18, 0.14);
}

.software-list .index-row:last-child {
  border-bottom-color: rgba(18, 18, 18, 0.14);
}

.software-list .index-row em {
  color: rgba(18, 18, 18, 0.55);
}

.game-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game {
  opacity: 0;
  transform: translate3d(100vw, 0, 0);
  transition: transform 1.05s var(--ease), opacity 0.7s ease;
}

.game:nth-child(2) {
  transition-delay: 0.14s;
}

.game:nth-child(3) {
  transition-delay: 0.28s;
}

.game:nth-child(4) {
  transition-delay: 0.42s;
}

.game-list.is-in .game {
  opacity: 1;
  transform: none;
}

.game-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
  color: white;
  container-type: inline-size;
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: thumbDrift 16s ease-in-out infinite alternate;
}

@keyframes thumbDrift {
  from {
    transform: scale(1.04) translate3d(-1.5%, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(1.5%, 0, 0);
  }
}

.game-art.is-placeholder {
  background:
    linear-gradient(118deg, transparent 0 62%, rgba(237, 28, 36, 0.95) 62% 63%, transparent 63%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px),
    #050505;
}

.game-art.is-placeholder::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(237, 28, 36, 0.55), transparent);
  animation: soonSweep 2.8s ease-in-out infinite;
}

@keyframes soonSweep {
  to {
    transform: translateX(480%);
  }
}

.soon-mark {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  color: white;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.86;
}

.soon-mark em {
  display: block;
  font-style: normal;
  color: var(--red);
}

.game-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 40px 14px 12px;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.9), transparent);
  color: white;
  font-size: 20px;
  font-size: clamp(16px, 4.2cqi, 26px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.game-label span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.game-art:hover .game-label {
  color: white;
}

.thumb-stats {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.thumb-stats li {
  min-width: 0;
  padding: 7px 8px 6px;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(10px);
}

.thumb-stats b,
.thumb-stats span {
  display: block;
}

.thumb-stats b {
  font-size: 14px;
  font-size: clamp(12px, 3.4cqi, 15px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.thumb-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-size: clamp(8px, 2.1cqi, 10px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@container (max-width: 360px) {
  .thumb-stats {
    top: 8px;
    left: 8px;
    right: 8px;
    gap: 4px;
  }

  .thumb-stats li {
    padding: 5px 6px 4px;
  }

  .game-label {
    padding: 28px 10px 10px;
  }

  .soon-mark {
    top: 10px;
    left: 10px;
    font-size: 22px;
  }
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--red);
}

.eyebrow-note {
  text-transform: none;
}

.display {
  margin: 0;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 0.9;
}

.display em {
  font-style: normal;
  color: var(--red);
}

.lede {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.principles {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.principles li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.principles li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.principles span {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.principles strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.principles p {
  margin: 4px 0 0;
  color: rgba(18, 18, 18, 0.7);
}

.principles.on-dark strong {
  color: white;
}

.principles.on-dark p {
  color: var(--muted);
}

.principles.on-dark li,
.principles.on-dark li:last-child {
  border-color: rgba(255, 255, 255, 0.14);
}

.close {
  position: relative;
  z-index: 5;
  background: var(--red);
  color: white;
  margin-top: -48px;
  padding: 88px 6vw 40px;
  clip-path: polygon(0 0, 100% 48px, 100% 100%, 0 100%);
}

.close .eyebrow {
  color: white;
  opacity: 0.8;
}

.close-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.close-row p,
.legal {
  margin: 0;
}

.close-row a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.close-row a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal {
  margin-top: 28px;
  opacity: 0.75;
  letter-spacing: 0.14em;
}

.reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1180px) {
  .game-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-meta,
  .close-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
    padding-top: 0;
  }

  .steps::before {
    display: none;
  }

  .steps li {
    padding-top: 20px;
    border-top: 1px solid var(--red);
  }

  .steps li::before {
    top: -5px;
  }
}

@media (max-width: 720px) {
  .game-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    height: 30px;
  }

  .nav {
    padding: 0 20px 0 14px;
  }

  .hero,
  .process,
  .lineup,
  .close {
    padding-left: 20px;
    padding-right: 20px;
  }

  .steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .steps li {
    padding: 0 0 28px 22px;
    border-top: 0;
    border-left: 1px solid var(--red);
  }

  .steps li::before {
    top: 0;
    left: -5px;
  }

  .steps li:last-child {
    padding-bottom: 0;
  }
}

@media (max-width: 780px) {
  .client-updated {
    display: none;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0;
    padding: 0 28px 12vh;
    background: #050505;
    transform: translateY(-101%);
    transition: transform 0.55s var(--ease);
    pointer-events: none;
  }

  .nav-links.is-open {
    transform: none;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: clamp(32px, 10vw, 56px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1;
    padding: 6px 0;
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.45s ease,
      transform 0.55s var(--ease),
      color 0.25s ease;
  }

  .nav-links.is-open a {
    opacity: 1;
    transform: none;
  }

  .nav-links.is-open a:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.is-open a:nth-child(2) { transition-delay: 0.14s; }
  .nav-links.is-open a:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.is-open a:nth-child(4) { transition-delay: 0.26s; }
  .nav-links.is-open a:nth-child(5) { transition-delay: 0.32s; }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    opacity: 1;
    color: var(--red);
  }

  .nav-indicator {
    display: none;
  }
}

body.nav-lock {
  overflow: hidden;
}

.page {
  padding: calc(var(--nav) + 8vh) 6vw 80px;
}

.about-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 88px);
  padding: var(--nav) 0 0;
  overflow: hidden;
}

.soon-slide {
  width: 145%;
  margin-left: -22%;
  overflow: hidden;
  padding: 22px 0;
  background: var(--red);
  color: var(--ink);
  transform: rotate(-7deg);
}

.soon-track {
  display: flex;
  width: max-content;
  animation: ticker 16s linear infinite;
}

.soon-slide:hover .soon-track {
  animation-play-state: paused;
}

.soon-group {
  display: flex;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
}

.soon-group span:not(.diamond) {
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}

.soon-group .diamond {
  width: 14px;
  height: 14px;
}

.page-hero {
  max-width: 1100px;
  margin-bottom: 64px;
}

.page-hero .display {
  margin-top: 8px;
}

.page-hero .lede {
  margin-top: 24px;
  color: rgba(243, 243, 241, 0.92);
}

.page-hero .lede a,
.preview-form .form-note a {
  color: var(--red);
}

.index-list {
  max-width: 1100px;
}

.index-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 0.25s ease, padding 0.35s var(--ease);
}

.index-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.index-row:hover {
  color: var(--red);
  padding-left: 12px;
}

.index-row span,
.index-row em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.index-row span {
  color: var(--red);
}

.index-row strong {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.index-row em {
  opacity: 0.9;
}

.game-tag {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.game-tag:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.game-tag .index-row {
  border: 0;
}

.game-tag strong {
  cursor: pointer;
}

.service-list .index-row {
  align-items: center;
  cursor: pointer;
}

.service-side {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.service-list .index-row:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.game-drop {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}

.game-tag:hover .game-drop,
.game-tag:focus-within .game-drop,
.game-tag.is-open .game-drop {
  grid-template-rows: 1fr;
}

.game-drop-clip {
  min-height: 0;
  overflow: hidden;
}

.game-drop-card {
  width: min(100%, 720px);
  margin: 0 0 28px 84px;
}

.vestra-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 720px);
  margin: 0 0 28px 84px;
  padding: 56px 48px;
  background: var(--white);
}

.vestra-logo img {
  width: min(100%, 520px);
  height: auto;
}

.service-note {
  width: min(100%, 560px);
  margin: 0 0 32px 84px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.service-cta {
  margin: 48px 0 0;
}

.site-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px 6vw 32px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(243, 243, 241, 0.88);
}

.site-foot-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

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

.site-foot-brand span,
.site-foot nav a,
.site-foot p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-foot nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.site-foot p {
  margin: 0;
  justify-self: end;
}

.site-foot a:hover {
  color: var(--red);
}

.notice {
  max-width: 68ch;
}

.notice h2 {
  margin: 36px 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.notice p {
  margin: 0 0 12px;
  color: rgba(243, 243, 241, 0.92);
}

.notice a:hover {
  color: var(--red);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: end;
  max-width: 1100px;
}

.about-grid .lede {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.82);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #0c0c0c;
  color: white;
  caret-color: var(--red);
  color-scheme: dark;
  appearance: none;
  font: inherit;
  font-size: 18px;
  padding: 14px 16px;
  border-radius: 0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(243, 243, 241, 0.38);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-color: var(--red);
}

.form-note {
  margin: 0;
  max-width: 46ch;
  color: rgba(243, 243, 241, 0.88);
  font-size: 15px;
  line-height: 1.45;
}

.form-note a:hover {
  color: var(--red);
}

.contact-form .cut-btn {
  justify-self: start;
  border: 0;
  margin-top: 8px;
}

.preview-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.preview-entry {
  display: flex;
  align-items: flex-end;
}

.preview-form label {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.preview-form span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.55);
}

.preview-form input {
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-right-width: 0;
  border-radius: 0;
  background: #050505;
  color: var(--white);
  caret-color: var(--red);
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preview-form input::placeholder {
  color: rgba(243, 243, 241, 0.28);
}

.preview-form input:focus {
  outline: none;
  border-color: var(--red);
}

.preview-form input[aria-invalid="true"] {
  border-color: var(--red);
}

.preview-form input:-webkit-autofill,
.preview-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--red);
  box-shadow: 0 0 0 1000px #050505 inset;
}

.preview-form .cut-btn {
  height: 58px;
  min-height: 58px;
  margin: 0;
  padding: 0 34px 0 24px;
  border: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.preview-form .cut-btn:hover {
  transform: none;
}

.preview-return {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.preview-return a:hover {
  color: var(--red);
}

.preview-lock {
  margin: auto;
  color: var(--muted);
}

.preview-lock[hidden],
.preview-site[hidden] {
  display: none;
}

.preview-site {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100svh;
}

.client-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--nav);
  padding: 0 6vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.client-brand {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.client-links {
  display: flex;
  gap: 22px;
  margin-right: auto;
}

.client-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.client-links a[aria-current="page"] {
  color: var(--red);
}

/* Client portal pages that show a live client website */
.client-frame-page .preview-site {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

.client-frame-page .client-bar {
  flex-shrink: 0;
}

.client-frame {
  flex: 1;
  display: block;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

.client-updated {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(243, 243, 241, 0.55);
  white-space: nowrap;
}

.preview-leave {
  border: 0;
  background: none;
  color: rgba(243, 243, 241, 0.55);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.preview-leave:hover {
  color: var(--red);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: rgba(243, 243, 241, 0.7);
}

.contact-form[hidden],
.form-confirm[hidden] {
  display: none;
}

.form-confirm-title {
  margin: 8px 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.form-confirm p:last-child {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

@media (max-width: 780px) {
  .page,
  .site-foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-foot {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .site-foot nav {
    justify-content: flex-start;
  }

  .site-foot p {
    justify-self: start;
  }

  .about-grid,
  .index-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .index-row em {
    grid-column: 1;
  }

  .service-side {
    justify-self: start;
  }

  .game-drop-card,
  .vestra-logo,
  .service-note {
    margin-left: 0;
  }

  .client-bar {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 16px 20px;
  }

  .client-links {
    order: 3;
    width: 100%;
  }

  .preview-entry {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .preview-form input {
    border-right-width: 1px;
  }

  .preview-form .cut-btn {
    width: 100%;
  }
}

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

  .glyph,
  .wordmark :is(polygon, rect),
  .hero-grid,
  .logo-frame::before,
  .logo-frame::after,
  .logo-frame i,
  .marquee-track,
  .soon-track,
  .game-art img,
  .game-art.is-placeholder::after {
    animation: none;
  }

  .game {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .glyph,
  .wordmark :is(polygon, rect),
  .logo-frame::before,
  .logo-frame::after,
  .logo-frame i,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .glyph {
    clip-path: none;
    opacity: 1;
  }

  .wordmark :is(polygon, rect) {
    fill: var(--red);
    stroke: none;
    opacity: 1;
  }

  .marquee-track,
  .soon-track,
  .nav.is-hidden {
    transform: none;
  }

  .nav,
  .nav-links,
  .nav-indicator,
  .nav-links a,
  .index-row,
  .game-drop {
    transition: none;
  }
}
