@font-face {
  font-family: Manrope;
  src: url('/studiografics-assets/fonts/Manrope-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0c1613;
  --foreground: #f4f0e7;
  --muted: #b6c0ba;
  --gold: #e1b75c;
  --gold-hover: #f0ca79;
  --line: #38463d;
  --project-surface: #111e18;
  font-family: Manrope, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  scrollbar-color: var(--gold) var(--background);
}
::selection { color: var(--background); background: var(--gold); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--gold-hover); }
a:focus-visible {
  outline: 3px solid var(--gold-hover);
  outline-offset: 5px;
}
p, h1, h2 { margin: 0; }
h1, h2 { line-height: 1.2; text-wrap: balance; }
section, main { scroll-margin-top: 1.5rem; }
.shell { width: calc(100% - 96px); max-width: 1200px; margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 1;
  padding: 12px 18px;
  background: var(--foreground);
  color: var(--background);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); color: var(--background); }
.site-header {
  min-height: 84px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: .13em;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
}
.site-header nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-header nav a { font-size: .9375rem; }
.introduction { text-align: center; padding: 24px 0 24px; }
h1 { font-size: clamp(2rem, 3.8vw, 3.375rem); letter-spacing: -.03em; font-weight: 800; }
.introduction p { margin-top: 10px; font-size: clamp(1.0625rem, 1.7vw, 1.5rem); }
.project-art { display: block; width: 100%; height: auto; }
.project-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 20px 36px 24px;
  background: var(--project-surface);
}
.project-copy { min-width: 0; }
.project-copy h2 { font-size: clamp(1.75rem, 2.6vw, 2.375rem); letter-spacing: -.02em; font-weight: 800; }
.project-copy p { margin-top: 3px; font-size: clamp(1rem, 1.3vw, 1.1875rem); }
.project-copy .project-status { color: var(--gold); font-size: 1rem; }
.game-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-shrink: 0;
  min-height: 52px;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--background);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}
.game-link:hover { color: var(--background); background: var(--gold-hover); }
.game-link svg { flex-shrink: 0; }
.studio-contact {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 24px;
  padding: 24px;
  border-top: 1px solid var(--line);
}
.studio-contact h2 { font-size: 1.625rem; font-weight: 800; }
.studio-contact p { margin-top: 10px; max-width: 75ch; font-size: 1rem; }
.contact { min-width: 0; padding-left: 40px; border-left: 1px solid var(--line); }
.contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact a:hover { color: var(--gold-hover); text-decoration: underline; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  border-top: 1px solid var(--line);
  padding: 20px 24px 24px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
}
.site-footer nav { gap: 8px 24px; }
.site-footer nav a { color: var(--foreground); }
.site-footer nav a + a { border-left: 1px solid var(--line); padding-left: 24px; }

@media (max-width: 1000px) {
  .studio-contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
  .contact { padding-left: 24px; }
  .studio-contact h2 { font-size: 1.375rem; }
  .project-caption { padding-inline: 24px; gap: 24px; }
}

@media (max-width: 719px) {
  .shell { width: calc(100% - 32px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 14px; }
  .site-header nav { width: 100%; gap: 0 24px; }
  .site-header nav a { font-size: .875rem; }
  .introduction { padding: 32px 0 24px; }
  .introduction p { margin-top: 12px; }
  .project-caption { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
  .project-copy h2 { font-size: 1.875rem; }
  .project-copy p { margin-top: 8px; }
  .game-link { padding-inline: 22px; }
  .studio-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 0; }
  .contact { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .studio-contact h2 { font-size: 1.5rem; }
  .site-footer { display: block; padding: 20px 0; }
  .site-footer nav { margin-top: 12px; }
}
