@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #080c12;
  --surface: #0b1018;
  --ink: #edf0f4;
  --muted: #969faa;
  --accent: #9ac5d3;
  --line: #26303b;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Arial, Helvetica, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
::selection { color: var(--bg); background: var(--accent); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:disabled { cursor: default; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 7px;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
.container { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.eyebrow {
  color: var(--muted);
  font: 10px/1.7 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  font: 11px/1.5 var(--mono);
  transition: color .2s ease;
}
.text-link:hover { color: var(--accent); }
.text-link .arrow { font: 20px/1 var(--sans); transition: transform .2s ease; }
.text-link:hover .arrow { transform: translate(2px, -2px); }
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-200%);
  padding: 12px 16px;
  color: var(--bg);
  background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.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;
}

/* A shared, deliberately small navigation. */
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  min-height: 44px;
  padding-block: 9px;
  font-size: 27px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -1.6px;
}
.wordmark .cursor { color: var(--accent); font-weight: 400; margin-left: 3px; }
.wordmark .games-word { font-size: 20px; font-weight: 400; letter-spacing: -.8px; margin-left: 7px; }
.site-nav { display: flex; align-items: center; gap: 35px; }
.site-nav a {
  padding-block: 15px;
  color: var(--muted);
  font: 11px/1.4 var(--mono);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-contact { color: var(--ink); }
.site-nav a span { margin-left: 7px; color: var(--accent); }

/* Company: typography first, with the service kept unmistakable. */
.hero { padding-block: 47px 65px; }
.hero-meta { display: flex; justify-content: space-between; gap: 24px; }
.hero-meta .accent { color: var(--accent); }
.hero-title {
  margin-block: 77px 46px;
  max-width: 1050px;
  font-size: clamp(72px, 8.6vw, 124px);
  line-height: .99;
  letter-spacing: -.065em;
}
.hero-title span { color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.hero-copy { max-width: 400px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-copy strong { color: var(--ink); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 29px; }
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
  min-height: 48px;
  padding: 15px 19px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  font: 11px/1.5 var(--mono);
  transition: background .2s ease, border-color .2s ease;
}
a.button:hover { background: #c0dae2; border-color: #c0dae2; }
.button .arrow { font: 18px/1 var(--sans); }
.hero-index { max-width: 290px; justify-self: end; width: 100%; padding-bottom: 2px; }
.hero-index-label { display: flex; justify-content: space-between; margin-bottom: 13px; }
.hero-index ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.hero-index li {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font: 10px/1.5 var(--mono);
}
.hero-index li span:first-child { color: var(--accent); }
.hero-baseline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 66px;
  color: var(--muted);
  font: 9px/1.5 var(--mono);
}
.hero-baseline span:last-child { color: var(--accent); }
.section { border-top: 1px solid var(--line); padding-block: 39px 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.section-heading .section-note { font: 10px/1.5 var(--mono); color: var(--muted); }
.expertise-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-block: 56px 55px;
}
.expertise-primary h2 { font-size: clamp(38px, 4.3vw, 60px); line-height: 1.05; letter-spacing: -.05em; }
.service-number { display: block; color: var(--accent); font: 10px/1 var(--mono); margin-bottom: 23px; }
.service-copy { padding-top: 31px; }
.service-copy > p { max-width: 450px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.service-copy ul { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 26px 0 0; }
.service-copy li { color: var(--ink); font: 10px/1.7 var(--mono); }
.service-copy li::before { content: "/"; color: var(--accent); margin-right: 8px; }
.capabilities { border-bottom: 1px solid var(--line); }
.capability { border-top: 1px solid var(--line); }
.capability summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 60px 1fr 1fr 22px;
  gap: 18px;
  align-items: center;
  min-height: 91px;
  padding-block: 22px;
}
.capability summary::-webkit-details-marker { display: none; }
.capability summary::marker { content: ""; }
.capability .number { color: var(--muted); font: 10px/1.5 var(--mono); }
.capability .capability-title { font-size: 22px; letter-spacing: -.6px; }
.capability .summary-note { color: var(--muted); font: 10px/1.6 var(--mono); }
.expand { width: 14px; height: 14px; position: relative; color: var(--accent); justify-self: end; }
.expand::before, .expand::after { content: ""; position: absolute; background: currentColor; }
.expand::before { top: 6px; width: 14px; height: 1px; }
.expand::after { left: 6px; width: 1px; height: 14px; transition: transform .2s ease; }
.capability[open] .expand::after { transform: rotate(90deg); }
.capability summary:hover .capability-title { color: var(--accent); }
.capability > p { margin: -2px 38px 28px 78px; max-width: 630px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.working-note { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 43px; }
.working-note h3 { font-size: 24px; line-height: 1.4; letter-spacing: -.5px; }
.working-note p { max-width: 430px; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* The studio doorway remains a single editorial row. */
.studio-door { padding-bottom: 48px; }
.studio-door-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 45px;
}
.studio-door h2 { font-size: clamp(48px, 6.6vw, 90px); letter-spacing: -.065em; line-height: 1.1; }
.studio-door h2 span { font-weight: 400; color: var(--muted); }
.studio-door p { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.large-arrow { font-size: 69px; line-height: 1; font-weight: 300; color: var(--accent); transition: transform .25s ease; }
.studio-door-link:hover .large-arrow { transform: translate(6px, -6px); }
.studio-door-link:hover h2 span { color: var(--accent); }
.studio-door-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 49px; font: 10px/1.5 var(--mono); color: var(--muted); }
.studio-door-bottom span:last-child { color: var(--accent); }
.contact-section { padding-bottom: 70px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; align-items: end; }
.contact-section h2 { font-size: clamp(44px, 5.5vw, 76px); letter-spacing: -.055em; line-height: 1.05; }
.contact-details { padding-bottom: 3px; }
.contact-details p { margin-bottom: 15px; color: var(--muted); font: 10px/1.6 var(--mono); }
.email-link {
  display: inline-flex;
  gap: 30px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(20px, 2.3vw, 30px);
  letter-spacing: -.8px;
}
.email-link span { color: var(--accent); font-size: 21px; }
.email-link:hover { border-bottom-color: var(--accent); }
.site-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; border-top: 1px solid var(--line); padding-block: 25px 35px; }
.footer-company { color: var(--muted); font: 10px/1.7 var(--mono); }
.footer-company strong { color: var(--ink); font-weight: 400; }
.footer-links { display: flex; gap: 30px; font: 10px/1.7 var(--mono); color: var(--muted); }
.footer-links a { padding-block: 10px; }
.footer-links a:hover { color: var(--ink); }

/* Frame the original artwork tightly; feather only the surrounding background. */
.games-page { --bg: #04070d; --surface: #080d17; --line: #252c38; --accent: #a5bafa; }
.studio-hero { position: relative; padding-block: 39px 55px; }
.studio-art-frame {
  position: relative;
  width: min(680px, 100%);
  aspect-ratio: 1.5;
  margin-inline: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.studio-art {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.studio-hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; position: relative; }
.studio-hero-meta p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.studio-hero-meta .eyebrow { color: var(--accent); font-size: 9px; }
.status-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; margin-right: 8px; background: currentColor; vertical-align: middle; }
.project-section { padding-bottom: 70px; }
.project-banner {
  margin-top: 33px;
  padding: 43px 45px 39px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.project-copy { max-width: 610px; position: relative; z-index: 1; }
.project-banner .project-label { color: var(--accent); font: 9px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 27px; }
.project-banner h2 { font-size: clamp(42px, 5vw, 66px); line-height: 1.05; letter-spacing: -.055em; }
.project-banner h2 span { color: var(--muted); }
.project-banner p { max-width: 435px; color: var(--muted); font-size: 13px; line-height: 1.85; margin-top: 22px; }
.project-symbol { position: absolute; right: 75px; top: 74px; width: 180px; height: 180px; color: #536480; opacity: .55; }
.project-symbol::before, .project-symbol::after { content: ""; position: absolute; background: currentColor; }
.project-symbol::before { width: 180px; height: 1px; top: 89px; left: 0; }
.project-symbol::after { height: 180px; width: 1px; left: 89px; top: 0; }
.project-symbol i { position: absolute; width: 24px; height: 24px; border-color: currentColor; border-style: solid; }
.project-symbol i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.project-symbol i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.project-symbol i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.project-symbol i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 29px; }
.placeholder-button {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 13px 17px;
  min-height: 47px;
  color: #adb5c4;
  border: 1px solid #354052;
  background: transparent;
  font: 11px/1.6 var(--mono);
}
.placeholder-button span { color: #8995a8; font-size: 9px; }
.project-footnote { display: flex; justify-content: space-between; gap: 20px; margin-top: 17px; color: var(--muted); font: 9px/1.6 var(--mono); }
.studio-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 55px; }
.studio-about h2 { font-size: 40px; letter-spacing: -1.8px; line-height: 1.2; }
.studio-about h2 span { color: var(--muted); }
.studio-about p { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 440px; }
.studio-about .text-link { margin-top: 18px; }
.error-page { min-height: 70vh; padding-block: 90px; }
.error-page h1 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -.06em; line-height: 1.05; margin-block: 30px; }
.error-page p { color: var(--muted); line-height: 1.8; margin-bottom: 30px; }

@media (min-width: 1600px) {
  .hero-title { margin-top: 95px; }
  .hero { padding-bottom: 72px; }
}
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero-title { font-size: clamp(70px, 10vw, 100px); }
  .hero-bottom, .expertise-primary, .working-note, .contact-grid, .studio-about { gap: 35px; }
  .capability summary { grid-template-columns: 35px 1.2fr .8fr 16px; gap: 18px; }
  .capability .capability-title { font-size: 20px; }
  .capability > p { margin-left: 53px; }
  .service-copy { padding-top: 27px; }
  .project-symbol { width: 140px; height: 140px; right: 35px; opacity: .23; }
  .project-symbol::before { width: 140px; top: 69px; }
  .project-symbol::after { height: 140px; left: 69px; }
  .project-copy { max-width: 560px; }
  .studio-hero { padding-bottom: 42px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .site-header { height: 81px; }
  .wordmark { font-size: 25px; }
  .site-nav { gap: 19px; }
  .site-nav a { font-size: 10px; }
  .site-nav a span { margin-left: 3px; }
  .hero { padding-block: 27px 33px; }
  .hero-meta { gap: 10px; }
  .eyebrow { font-size: 8px; }
  .hero-meta > span:last-child { text-align: right; }
  .hero-title { font-size: clamp(55px, 12vw, 83px); margin-block: 61px 33px; line-height: 1.03; }
  .hero-bottom { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 370px; font-size: 15px; }
  .hero-actions { gap: 23px; margin-top: 24px; }
  .hero-index { max-width: none; justify-self: stretch; padding: 0; }
  .hero-index-label { margin-bottom: 10px; }
  .hero-index ol { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
  .hero-index li { justify-content: flex-start; gap: 12px; border-bottom: 0; padding-block: 13px; font-size: 9px; }
  .hero-index li:nth-child(2) { justify-content: center; }
  .hero-index li:last-child { justify-content: flex-end; }
  .hero-baseline { margin-top: 34px; font-size: 8px; }
  .section { padding-block: 28px 47px; }
  .section-heading .section-note { font-size: 8px; }
  .expertise-primary { grid-template-columns: 1fr; gap: 24px; padding-block: 34px; }
  .service-number { margin-bottom: 18px; }
  .expertise-primary h2 { font-size: 42px; }
  .service-copy { padding-top: 0; }
  .service-copy > p { font-size: 14px; }
  .service-copy ul { gap: 8px 20px; margin-top: 20px; }
  .service-copy li { font-size: 9px; }
  .capability summary { grid-template-columns: 24px 1fr 15px; gap: 15px; min-height: 80px; padding-block: 20px; }
  .capability .summary-note { display: none; }
  .capability .capability-title { font-size: 19px; line-height: 1.35; letter-spacing: -.5px; }
  .capability > p { margin-left: 39px; margin-right: 15px; font-size: 13px; }
  .working-note { grid-template-columns: 1fr; gap: 17px; padding-top: 31px; }
  .working-note h3 { font-size: 24px; }
  .studio-door-link { padding-top: 31px; gap: 12px; }
  .studio-door h2 { font-size: clamp(42px, 9vw, 63px); }
  .studio-door p { font-size: 13px; margin-top: 14px; }
  .large-arrow { font-size: 44px; }
  .studio-door-bottom { margin-top: 34px; font-size: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 31px; margin-top: 31px; }
  .contact-section h2 { font-size: clamp(43px, 10vw, 62px); }
  .email-link { font-size: 25px; }
  .contact-details p { font-size: 9px; }
  .site-footer { flex-wrap: wrap; gap: 16px; padding-block: 23px 26px; }
  .footer-company, .footer-links { font-size: 9px; }
  .footer-links { gap: 23px; }
  .studio-hero { padding-block: 31px; }
  .studio-hero-meta { margin-top: 27px; flex-wrap: wrap; gap: 12px; }
  .studio-hero-meta p { font-size: 12px; }
  .studio-hero-meta .eyebrow { font-size: 8px; }
  .project-banner { margin-top: 24px; padding: 30px 24px; min-height: 0; }
  .project-banner .project-label { font-size: 8px; margin-bottom: 27px; }
  .project-banner h2 { font-size: clamp(38px, 8.5vw, 54px); }
  .project-banner p { font-size: 12px; margin-top: 21px; }
  .project-symbol { right: 18px; top: 20px; width: 85px; height: 85px; opacity: .15; }
  .project-symbol::before { width: 85px; top: 42px; }
  .project-symbol::after { height: 85px; left: 42px; }
  .project-symbol i { width: 15px; height: 15px; }
  .project-actions { flex-direction: column; gap: 10px; margin-top: 25px; }
  .placeholder-button { width: 100%; font-size: 10px; }
  .project-footnote { font-size: 8px; gap: 13px; }
  .studio-about { grid-template-columns: 1fr; gap: 24px; padding-top: 35px; }
  .studio-about h2 { font-size: 34px; }
  .studio-about p { font-size: 13px; }
  .games-page .wordmark { font-size: 23px; }
  .games-page .wordmark .games-word { font-size: 17px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 9px; }
  .hero-title { font-size: 49px; }
  .hero-meta .eyebrow { font-size: 7px; }
  .hero-actions { gap: 19px; }
  .button { gap: 29px; }
  .studio-door h2 { font-size: 38px; }
  .games-page .wordmark { font-size: 21px; }
  .games-page .wordmark .games-word { font-size: 15px; margin-left: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
