@font-face {
  font-family: Barlow Condensed;
  src: url("barlow-condensed-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: Barlow Condensed;
  src: url("barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Space Grotesk;
  src: url("space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #090b0b;
  --ink-black: #060808;
  --text: #f4f4e9;
  --muted: #b7beba;
  --yellow: #f8f353;
  --cyan: #7cf3fa;
  --line: #343a34;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button[hidden] { display: none; }
img { display: block; max-width: 100%; }
p, h1, h2, dd, dl { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
::selection { background: var(--yellow); color: #111209; }
#overvolt, #studio, #contact { scroll-margin-top: 22px; }

.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--yellow);
  color: var(--ink);
  padding: .7rem 1rem;
}

.page-width {
  width: min(100% - 100px, 1260px);
  margin-inline: auto;
}
.header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid #c9d2b525;
  background: #090b0b;
}
.header-inner {
  width: min(100% - 100px, 1380px);
  min-height: 77px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-inline: auto;
  column-gap: 2rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font: 900 1.38rem/.78 var(--display);
  letter-spacing: .065em;
}
.wordmark-studio {
  display: block;
  color: var(--yellow);
  font: 650 .65rem/1 var(--body);
  letter-spacing: .4em;
  margin-top: .37rem;
}
.brand-bolt {
  display: inline-block;
  flex: 0 0 36px;
  height: 39px;
  background: var(--yellow);
  clip-path: polygon(71% 1%, 10% 56%, 43% 56%, 23% 99%, 93% 38%, 59% 38%, 75% 11%, 54% 27%);
}
.nav { display: flex; gap: 2.25rem; align-items: center; }
.nav a, .language {
  color: #c7cac2;
  font-size: .89rem;
  font-weight: 600;
}
.nav a:hover, .back-top:hover, .language a:hover { color: var(--yellow); }
.language {
  display: flex;
  gap: .6rem;
  align-items: center;
  justify-self: end;
  letter-spacing: .07em;
}
.language a { min-width: 25px; text-align: center; padding-block: .35rem; }
.language [aria-current] { color: var(--cyan); }
.language span { width: 1px; height: 13px; background: #828a845a; transform: skew(-17deg); }

.hero {
  isolation: isolate;
  position: relative;
  min-height: clamp(620px, 53vw, 825px);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}
.hero-illustration, .hero-illustration picture, .hero-illustration img, .hero-illustration::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-illustration {
  z-index: -2;
  background: radial-gradient(ellipse at 59% 38%, #263a36 0, #151e1d 39%, #090b0b 75%);
}
.hero-illustration img { object-fit: cover; object-position: center 56%; }
.hero-illustration::after {
  content: "";
  background:
    radial-gradient(ellipse at 50% 48%, #070909af 0%, #07090965 33%, #0709090d 68%),
    linear-gradient(0deg, var(--ink) 0%, #090b0b50 27%, transparent 61%, #090b0b29);
}
.hero-content { padding: 68px 0 96px; }
.eyebrow {
  font: 650 .83rem/1.35 var(--body);
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero-kicker { color: var(--cyan); text-shadow: 0 1px 13px #030809, 0 0 26px #42e5e07a; margin-bottom: 1.3rem; }
.hero h1 {
  font: 900 clamp(5.75rem, 11.35vw, 11.35rem)/.77 var(--display);
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-shadow: 0 7px 44px #04100a80;
}
.hero h1 > span, .hero h1 > strong { display: block; }
.hero h1 > strong {
  color: var(--yellow);
  margin-top: .09em;
  font-weight: 900;
}
.hero-copy {
  max-width: 470px;
  margin: 2rem auto 1.65rem;
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  color: #e4e8dd;
  text-shadow: 0 2px 14px #000;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  min-height: 51px;
  padding: .75rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .045em;
  transition: background .2s, color .2s, box-shadow .2s;
}
.button-primary { background: var(--yellow); color: #12160d; box-shadow: 0 0 35px #e5ff382f; }
.button-primary:hover { background: #fff98f; box-shadow: 0 0 38px #e5ff3855; }
.small-bolt {
  flex: 0 0 14px;
  width: 14px;
  height: 17px;
  background: currentColor;
  clip-path: polygon(66% 0%, 11% 58%, 47% 58%, 32% 100%, 89% 41%, 53% 41%);
}
.hero-edge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 1px;
  height: 37px;
  background: linear-gradient(0deg, transparent, #aef6f1ad);
  opacity: .85;
}

.project { padding: 34px 0 clamp(70px, 10vw, 140px); }
.section-marker { display: flex; gap: .85rem; align-items: center; color: var(--yellow); margin-bottom: 1.1rem; }
.section-marker > span { width: 28px; height: 2px; background: currentColor; box-shadow: 0 0 14px #fbf04944; }
.project-card {
  display: grid;
  isolation: isolate;
  grid-template-columns: 53% 47%;
  background: #0e1213;
  border: 1px solid #475447;
  min-height: 440px;
}
.game-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
  background: #171c1d;
}
.game-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #080e1152, #080e1110 55%, #080e115e), linear-gradient(0deg, #0d101188, transparent 52%);
  pointer-events: none;
}
.game-world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  filter: saturate(.65) brightness(.74);
  transition: transform .45s ease;
}
.project-card:hover .game-world { transform: scale(1.035); }
.game-mark {
  z-index: 2;
  width: min(86%, 580px);
  height: auto;
  filter: drop-shadow(0 9px 20px #000);
}
.project-content {
  align-self: center;
  padding: clamp(30px, 4.8vw, 71px);
}
.project h2 {
  font: 900 clamp(2.5rem, 4.7vw, 5rem)/.88 var(--display);
  letter-spacing: -.014em;
  text-transform: uppercase;
}
.project h2 > span { display: block; }
.project h2 > span + span { margin-top: .07em; }
.text-cyan { color: var(--cyan); }
.project-content > p {
  max-width: 440px;
  margin-top: 1.4rem;
  color: var(--muted);
}
.game-status {
  display: flex;
  gap: .55rem 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.65rem;
  padding-top: .9rem;
  border-top: 1px solid #899c9160;
  color: #cbd9d3;
  font-size: .85rem;
}
.game-status dd { display: flex; align-items: center; gap: .45rem; }
.game-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }

.studio {
  isolation: isolate;
  position: relative;
  min-height: 600px;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-block: 1px solid #3b4743;
  background: #080d0d;
}
.studio-art, .storm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.studio-art {
  z-index: -2;
  background:
    linear-gradient(90deg, #080d0d 4%, #080d0deb 26%, #080d0d25 69%, #080d0d33 100%),
    linear-gradient(0deg, #080d0dcc, transparent 23%, #080d0d22 74%, #080d0dc9),
    url("thunder-source.webp") 90% 58% / min(45vw, 590px) auto no-repeat,
    url("ink-field.webp") 62% 51% / cover no-repeat,
    radial-gradient(ellipse at 69% 46%, #184745, #080d0d 65%);
}
.storm-canvas { z-index: -1; }
.studio-content { padding-block: 85px; }
.studio .section-marker { color: var(--cyan); }
.studio h2 {
  font: 900 clamp(4.6rem, 8.4vw, 9.5rem)/.79 var(--display);
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.studio h2 span, .studio h2 strong { display: block; }
.studio h2 strong { color: var(--yellow); margin-top: .08em; font-weight: 900; }
.studio-copy { max-width: 510px; margin-top: 1.65rem; color: #c6d0c9; }
.button-secondary { margin-top: 1.4rem; border-color: #74e6e88c; background: #080d0dc2; color: var(--cyan); }
.button-secondary:hover { background: var(--cyan); color: #080d0d; }

.footer { padding: 65px 0 30px; }
.footer-main { display: flex; gap: 1rem; justify-content: space-between; align-items: end; }
.footer h2 {
  font: 900 3.4rem/.9 var(--display);
  letter-spacing: .005em;
  margin-bottom: .55rem;
}
.footer p { color: var(--muted); }
.contact-link {
  display: inline-block;
  font-size: clamp(.95rem, 2vw, 1.14rem);
  color: var(--cyan);
  margin-top: .5rem;
  overflow-wrap: anywhere;
}
.contact-link:hover { text-decoration: underline; }
.back-top { padding-block: .25rem; flex: 0 0 auto; }
.copyright { border-top: 1px solid #46504b; padding-top: 1.2rem; margin-top: 2.25rem; font-size: .87rem; }

@media (max-width: 1000px) {
  .page-width, .header-inner { width: min(100% - 64px, 1260px); }
  .header-inner { column-gap: 1.25rem; }
  .nav { gap: 1.3rem; }
}

@media (max-width: 700px) {
  .page-width, .header-inner { width: calc(100% - 40px); }
  .header-inner {
    min-height: 94px;
    grid-template-areas: "brand lang" "nav nav";
    grid-template-columns: 1fr auto;
    row-gap: .18rem;
    padding-block: .65rem;
  }
  .wordmark { grid-area: brand; font-size: 1.25rem; }
  .brand-bolt { flex-basis: 29px; height: 32px; }
  .language { grid-area: lang; }
  .nav { grid-area: nav; gap: 1.65rem; }
  .nav a { padding: .26rem 0; }
  .project-card { grid-template-columns: 1fr; min-height: 0; }
  .game-visual { min-height: clamp(225px, 53vw, 360px); }
  .game-world { object-position: 50% 37%; }
  .game-mark { max-width: 430px; }
  .project-content { padding: 28px 24px 32px; }
  .project h2 { font-size: clamp(2.65rem, 8vw, 4.1rem); }
  .studio { min-height: 0; }
  .studio-art {
    background:
      linear-gradient(90deg, #080d0df5, #080d0da0 54%, #080d0d28 100%),
      linear-gradient(0deg, #080d0dcb, transparent 55%, #080d0d49),
      url("thunder-source.webp") 122% 58% / min(85vw, 580px) auto no-repeat,
      url("ink-field.webp") 58% 62% / cover no-repeat,
      #080d0d;
  }
  .studio-content { padding-block: 65px 73px; }
  .footer { padding-top: 45px; }
}

@media (max-width: 600px) {
  .hero { min-height: clamp(510px, 145vw, 640px); }
  .hero h1 { font-size: clamp(3.6rem, 14vw, 5.7rem); line-height: .83; }
  .hero-content { padding: 67px 0 93px; }
  .hero-kicker { margin-bottom: 1.2rem; }
  .hero-copy { margin-top: 1.45rem; max-width: 345px; }
  .hero-edge { height: 32px; }
  .project { padding-top: 26px; }
  .studio h2 { font-size: clamp(3.65rem, 14vw, 5.2rem); }
  .footer-main { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.copyright { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; }
.copyright a:hover { color: var(--cyan); text-decoration: underline; }

.legal { max-width: 740px; padding-block: 3.5rem 5rem; }
.legal h1 {
  font: 900 clamp(3rem, 9vw, 6rem)/.92 var(--display);
  color: var(--yellow);
}
.legal h2 { font: 800 2rem/1.15 var(--display); margin-bottom: .65rem; }
.legal section { border-block-start: 1px solid var(--line); margin-block: 1.75rem; padding-top: 1.45rem; }
.legal p + p { margin-top: .7rem; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: .18em; overflow-wrap: anywhere; }
