:root {
  --ink: #050505;
  --paper: #f4f2ec;
  --blue: #1456e8;
  --orange: #ff5a1f;
  --line: #b6b4ad;
  --muted: #66645f;
  --display: "Barlow Condensed", Arial Narrow, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, video { display: block; width: 100%; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: white; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  padding: 0 3.5vw;
  color: #fff;
  background: var(--ink);
  border-bottom: 1px solid #272727;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: -.06em;
}
.desktop-nav { display: flex; height: 100%; }
.desktop-nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 132px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 700;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .25s;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; }
.lang-toggle, .menu-toggle {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lang-toggle { height: 100%; padding: 0 20px; font-size: 12px; font-weight: 700; }
.menu-toggle { display: none; font-size: 26px; }
.mobile-nav { position: absolute; top: 76px; left: 0; right: 0; padding: 22px 4vw; background: var(--ink); border-top: 1px solid #222; }
.mobile-nav a { display: block; padding: 14px 0; font-family: var(--display); font-size: 26px; font-weight: 700; }

.hero {
  height: calc(100svh - 76px);
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 5vw, 76px) clamp(28px, 4.6vw, 76px) 38px;
}
.kicker { margin: 0 0 25px; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(90px, 11.3vw, 176px);
  font-weight: 900;
  line-height: .72;
  letter-spacing: -.05em;
}
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { color: var(--blue); font-weight: inherit; }
.hero-lead { max-width: 510px; margin: 30px 0 0; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.6; }
.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  margin-top: auto;
  padding-top: 24px;
  font-size: 11px;
  font-weight: 700;
}
.scroll-link i { font-size: 24px; transition: transform .25s; }
.scroll-link span { padding-bottom: 7px; border-bottom: 1px solid; }
.scroll-link:hover i { transform: translateY(7px); }
.hero-media { position: relative; min-width: 0; overflow: hidden; background: #111; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.media-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.92) 100%); }
.hero-media-meta { position: absolute; left: 5%; right: 5%; bottom: 5%; color: white; }
.hero-media-meta span { font-size: 11px; letter-spacing: .15em; }
.hero-media-meta h2 { margin: 9px 0 22px; font-size: clamp(24px, 3vw, 42px); letter-spacing: -.04em; }
.progress-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.progress-line i, .progress-line b { height: 3px; background: rgba(255,255,255,.22); }
.progress-line b { background: var(--orange); }
.video-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: white;
  background: rgba(0,0,0,.28);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.ticker { height: 58px; display: flex; overflow: hidden; border-bottom: 1px solid var(--ink); background: #fff; }
.ticker > strong { flex: 0 0 auto; min-width: 190px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 28px; color: #fff; background: var(--blue); font-size: 12px; }
.ticker-window { overflow: hidden; flex: 1; }
.ticker-track { width: max-content; height: 100%; display: flex; align-items: center; animation: ticker 28s linear infinite; }
.ticker-track span { padding: 0 30px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ticker-track i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--ink); }
@keyframes ticker { to { transform: translateX(-50%); } }

.games, .studio, .technology, .contact { padding: clamp(78px, 10vw, 150px) 3.7vw; }
.section-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; margin-bottom: 70px; }
.section-top .section-number { grid-column: 1 / -1; }
.section-top h2 { margin: 0; font-family: var(--display); font-size: clamp(45px, 6vw, 90px); line-height: .9; letter-spacing: -.04em; }
.section-top a { display: flex; align-items: center; gap: 15px; padding-bottom: 7px; border-bottom: 1px solid var(--orange); color: var(--orange); font-size: 11px; font-weight: 700; }
.section-number { margin: 0; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.project { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 860px); justify-content: space-between; gap: clamp(36px, 5vw, 76px); padding: 42px 0; border-top: 1px solid var(--line); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project-info { padding-top: 5px; }
.project-index { display: flex; align-items: center; gap: 18px; }
.project-index b { color: var(--blue); font-size: 18px; }
.project-index span { width: 130px; height: 1px; background: var(--line); }
.project-info h3 { margin: 30px 0 23px; font-size: clamp(38px, 4vw, 64px); line-height: .95; letter-spacing: -.05em; }
.project-info > p:not(.project-status) { max-width: 310px; margin: 25px 0 35px; color: #2a2926; font-size: 14px; line-height: 1.7; }
.project-status { font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.project-status.upcoming { color: var(--orange); }
.project-status.live { color: var(--blue); }
.project-link { width: max-content; display: flex; align-items: center; gap: 22px; padding: 0 0 7px; border: 0; border-bottom: 1px solid; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.project-link i { font-size: 18px; transition: transform .25s; }
.project-link:hover i { transform: translateX(5px); }
.project-media { position: relative; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; justify-self: end; overflow: hidden; background: #111; }
.project-media video, .project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-media video { object-position: center 27%; }
.fill-media img { object-position: center; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.fill-media:hover img { transform: scale(1.03); }
.media-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 86px; height: 86px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 50%; color: #fff; background: rgba(0,0,0,.65); cursor: pointer; font-size: 26px; transition: transform .25s, background .25s; }
.media-play:hover { transform: translate(-50%,-50%) scale(1.08); background: var(--blue); }
.media-caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 16px 20px; color: #fff; background: rgba(0,0,0,.84); font-size: 9px; letter-spacing: .12em; }

.studio { color: #fff; background: var(--ink); }
.studio-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: start; }
.studio h2, .technology h2, .contact h2 { margin: 0; font-family: var(--display); font-size: clamp(74px, 10vw, 160px); font-weight: 900; line-height: .8; letter-spacing: -.05em; }
.studio h2 em, .technology h2 em, .contact h2 em { color: var(--blue); font-style: normal; }
.studio-body { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; margin: 100px 0 90px; padding-top: 45px; border-top: 1px solid #333; }
.studio-lead { margin: 0; font-size: clamp(26px, 3vw, 46px); line-height: 1.14; letter-spacing: -.04em; }
.manifesto p { margin: 0 0 45px; max-width: 600px; color: #aaa; font-size: 16px; line-height: 1.8; }
.manifesto a { display: inline-flex; align-items: center; gap: 20px; padding-bottom: 8px; border-bottom: 1px solid; font-size: 11px; font-weight: 700; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #333; border-bottom: 1px solid #333; }
.principles article { padding: 40px 3vw 45px 0; }
.principles article + article { padding-left: 3vw; border-left: 1px solid #333; }
.principles span { color: var(--blue); font-size: 11px; font-weight: 700; }
.principles h3 { margin: 45px 0 12px; font-family: var(--display); font-size: 35px; }
.principles p { max-width: 320px; margin: 0; color: #999; font-size: 13px; line-height: 1.6; }

.technology { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; align-items: end; }
.technology h2 { margin-top: 45px; }
.tech-list { border-top: 1px solid var(--ink); }
.tech-list div { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tech-list span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.tech-list strong { font-family: var(--display); font-size: clamp(22px, 2.5vw, 38px); }

.contact { color: #fff; background: var(--blue); }
.contact .section-number { color: #fff; }
.contact h2 { margin: 70px 0 90px; }
.contact h2 em { color: var(--ink); }
.mail-link { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.7); font-size: clamp(17px, 2vw, 30px); font-weight: 700; }
.mail-link i { font-size: 32px; transition: transform .25s; }
.mail-link:hover i { transform: translate(5px,-5px); }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 44px 3.7vw; color: #fff; background: var(--ink); }
.footer-brand { font-family: var(--display); font-size: 25px; font-weight: 800; }
.footer-links { display: flex; gap: 26px; font-size: 10px; }
footer p { justify-self: end; margin: 0; color: #777; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .site-header { height: 66px; grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { top: 66px; }
  .hero { height: auto; min-height: auto; grid-template-columns: 1fr; overflow: visible; }
  .hero-copy { min-height: calc(82svh - 66px); padding: 55px 6vw 35px; }
  .hero h1 { font-size: clamp(73px, 21vw, 145px); }
  .hero-media { min-height: 86svh; }
  .ticker > strong { min-width: 145px; padding: 0 18px; }
  .project, .studio-heading, .studio-body, .technology { grid-template-columns: 1fr; }
  .project { gap: 30px; }
  .project-media { height: auto; min-height: 0; aspect-ratio: 16 / 9; order: -1; }
  .project-reverse .project-media { order: -1; }
  .studio-heading { gap: 40px; }
  .studio-body { gap: 45px; margin: 70px 0; }
  .principles { grid-template-columns: 1fr; }
  .principles article + article { padding-left: 0; border-left: 0; border-top: 1px solid #333; }
  footer { grid-template-columns: 1fr; }
  footer p { justify-self: start; }
}
@media (max-width: 560px) {
  .site-header { padding: 0 5vw; }
  .lang-toggle { padding: 0 14px; }
  .hero h1 { font-size: 24vw; line-height: .78; }
  .hero-lead { margin-top: 28px; }
  .hero-media { min-height: 78svh; }
  .games, .studio, .technology, .contact { padding: 72px 5vw; }
  .section-top { grid-template-columns: 1fr; margin-bottom: 45px; }
  .section-top a { justify-self: start; }
  .project { padding: 32px 0 48px; }
  .project-info h3 { font-size: 46px; }
  .project-media { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .studio h2, .technology h2, .contact h2 { font-size: 23vw; }
  .principles { display: block; }
  .contact h2 { margin: 55px 0 65px; }
  .footer-links { flex-wrap: wrap; }
}
