:root {
  color-scheme: light;
  --ink: #201b19;
  --muted: #635952;
  --paper: #f9f5ed;
  --line: #d7ccbf;
  --media-line: #938179;
  --accent-text: #b64103;
  --subtle: #ff861c16;
  --orange: #ff861c;
  --orange-dark: #b64103;
  --body: "Instrument Sans", "Avenir Next", system-ui, sans-serif;
  --display: "Archivo Black", "Arial Black", var(--body);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --max-width: 1240px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #fcf2e7;
  --muted: #cbbfb9;
  --paper: #19171b;
  --line: #51464c;
  --media-line: #776762;
  --accent-text: #ffa45e;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.56 var(--body); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.06em; font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(3.2rem, 7vw, 7.5rem); }
h2 { font-size: clamp(2.3rem, 5vw, 5rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 2.3rem); }
:focus-visible { outline: 3px solid #ea6910; outline-offset: 5px; }
.wrap { width: min(calc(100% - 3.5rem), var(--max-width)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 0; left: 1rem; transform: translateY(-105%); background: white; padding: .8rem; }
.skip:focus { transform: translateY(.4rem); }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.header-row, .footer-row { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-row { display: grid; grid-template-columns: 1fr auto auto; }
.brand { width: max-content; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 60px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; min-width: 5.8rem; padding: .35rem .6rem; border: 1px solid var(--media-line); border-radius: .55rem; background: transparent; color: var(--ink); font: 700 .88rem/1 var(--body); cursor: pointer; }
.theme-toggle:hover { background: var(--subtle); }
.theme-icon { color: var(--accent-text); font: 1.05rem/1 system-ui, sans-serif; }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.4rem); }
.nav a, .footer-row a { text-decoration: none; font-weight: 700; }
.nav [aria-current], .nav a:hover, .footer-row a:hover { text-decoration: underline; text-underline-offset: .34em; text-decoration-thickness: 2px; text-decoration-color: var(--accent-text); }
.label { display: flex; align-items: center; gap: .55rem; color: var(--muted); font: 600 .75rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.label::before { content: ""; width: .55rem; height: .55rem; background: var(--orange); transform: rotate(45deg); flex: none; }
.btn { width: max-content; max-width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.35rem; min-height: 50px; padding: .72rem 1.12rem; border: 2px solid #211c19; border-radius: .5rem; background: var(--orange); box-shadow: 3px 4px 0 #211c19; color: #211c19; font-weight: 800; text-decoration: none; transition: transform .16s, box-shadow .16s, background-color .16s; }
.btn:hover { background: #ffa045; transform: translate(-1px,-2px); box-shadow: 4px 6px 0 #211c19; }
.btn:active { transform: translate(2px,3px); box-shadow: 1px 1px 0 #211c19; }
.btn-secondary { background: transparent; box-shadow: none; border-color: #898079; }
.btn-secondary:hover { background: #ff861c20; box-shadow: none; }
.hero { isolation: isolate; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 3rem; padding-block: clamp(3.2rem, 8vw, 7rem); }
.hero-copy { display: grid; gap: 1.35rem; align-content: center; }
.hero-copy > p:not(.label), .intro > p:not(.label) { max-width: 42ch; color: var(--muted); font-size: clamp(1.04rem, 1.75vw, 1.3rem); }
.hero h1 span { color: var(--accent-text); }
.logo-stage { display: grid; place-items: center; align-self: center; justify-self: center; width: min(100%, 455px); overflow: hidden; border: 1px solid var(--media-line); border-radius: 1.1rem; background: #880711; box-shadow: 0 16px 35px #380c132e; }
.logo-stage img { width: 100%; }
.work { background: #222126; color: #f8f1e8; }
.section { padding-block: clamp(3.4rem, 8vw, 6.4rem); }
.section-heading { display: grid; gap: .65rem; margin-bottom: clamp(1.5rem, 4vw, 2.7rem); }
.game-hero .label, .work .label { color: #d0c0b4; }
.feature { display: grid; grid-template-columns: 1.35fr 1fr; align-items: stretch; border: 1px solid #52484a; border-radius: 1rem; overflow: hidden; background: #161418; }
.feature-media { display: block; overflow: hidden; background: #141216; }
.feature-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .35s ease; }
.feature-media:hover img { transform: scale(1.035); }
.feature-copy { display: grid; gap: 1.05rem; align-content: center; padding: clamp(1.5rem, 4.2vw, 3.5rem); }
.feature-copy p:not(.label) { color: #d4c6be; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.footer-row p { font-size: .86rem; color: var(--muted); }
.game-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; background: #18151b; color: #fcf2e7; border-bottom: 1px solid var(--line); min-height: clamp(450px, 53vw, 690px); }
.game-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; z-index: -2; }
.game-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#171319 0%,#171319d9 31%,#1713192e 78%), linear-gradient(0deg,#19171b 1%,transparent 42%); z-index: -1; }
.game-intro { padding-block: 3rem 4.5rem; display: grid; gap: 1.15rem; }
.game-intro h1 { text-transform: uppercase; max-width: 10ch; font-size: clamp(2.75rem, 7vw, 7.5rem); }
.game-intro p:not(.label) { max-width: 37ch; color: #eee2db; font-size: clamp(1rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.game-hero .btn-secondary { color: #fcf2e7; border-color: #b6a69c; background: #19171b94; }
.game-section + .game-section { border-top: 1px solid var(--line); }
.overview { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.4rem, 5vw, 5rem); }
.role-list { display: grid; gap: 1.25rem; }
.role { border-left: 3px solid var(--orange); padding-left: 1.15rem; display: grid; gap: .5rem; }
.role p, .intro p { color: var(--muted); }
.trailer-frame { overflow: hidden; border-radius: 1rem; border: 1px solid var(--line); background: #110e12; }
.trailer-frame video { width: 100%; aspect-ratio: 16 / 9; }
.video-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: .45rem; color: var(--ink); text-underline-offset: .18em; font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.gallery figure { grid-column: span 4; display: grid; align-content: start; gap: .6rem; }
.gallery figure:nth-child(-n+2) { grid-column: span 6; }
.shot-link { display: block; overflow: hidden; border: 1px solid var(--media-line); border-radius: .65rem; background: #110e12; }
.shot-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s; }
.shot-link:hover img { transform: scale(1.045); }
figcaption { color: var(--muted); font-size: .9rem; }
.lightbox { width: min(96vw, 1200px); max-height: 95vh; padding: 0; border: 1px solid #7e6c65; border-radius: .75rem; background: #17141a; color: #fff3e9; }
.lightbox::backdrop { background: #0c0a0de6; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; gap: 1rem; }
.lightbox button { min-height: 44px; background: var(--orange); color: #201b19; border: 0; border-radius: .4rem; padding: .55rem .9rem; font: inherit; font-weight: 700; cursor: pointer; }
.intro { display: grid; gap: 1.2rem; }
.studio { min-height: 70vh; }
@media (max-width: 850px) {
  .hero-grid { gap: 1.7rem; }
  .overview { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .header-row, .footer-row { min-height: 66px; }
  .header-row { grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: .15rem; padding-top: .3rem; }
  .brand img { width: 54px; }
  .theme-toggle { grid-column: 2; grid-row: 1; }
  .nav { grid-column: 1 / -1; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--line); font-size: .92rem; }
  .nav a { display: inline-flex; align-items: center; justify-content: center; flex: 1; min-height: 44px; }
  .hero-grid, .feature { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.2rem; }
  .feature-media img { min-height: 0; }
  .gallery figure, .gallery figure:nth-child(-n+2) { grid-column: span 6; }
  .game-hero { min-height: 0; }
  .game-backdrop { height: clamp(190px, 52vw, 320px); object-position: 62% center; }
  .game-hero::after { background: linear-gradient(0deg,#18151b 2%,#18151b75 46%,transparent 88%); bottom: auto; height: clamp(190px, 52vw, 320px); }
  .game-intro { padding-block: clamp(150px, 40vw, 240px) 2.3rem; }
  .lightbox { max-height: 90vh; }
  .lightbox img { max-height: 70vh; }
  .lightbox-bar { padding: .5rem .7rem; }
}
@media (max-width: 520px) {
  .gallery figure, .gallery figure:nth-child(-n+2) { grid-column: span 12; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.contact-intro { padding-block: 1rem; }
.contact-form { display: grid; gap: 1rem; padding: clamp(1rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 1rem; }
.contact-form label { display: grid; gap: .38rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 46px; border: 1px solid var(--media-line); border-radius: .45rem; background: var(--paper); color: var(--ink); padding: .7rem .8rem; font: 1rem/1.4 var(--body); }
.contact-form textarea { resize: vertical; }
.contact-note { color: var(--muted); font-size: .9rem; }
.contact-captcha { min-width: 0; }
.contact-form [type="submit"] { font: 800 1rem/1.25 var(--body); cursor: pointer; }
.contact-form [type="submit"]:disabled { background: var(--subtle); border-color: var(--media-line); color: var(--muted); box-shadow: none; transform: none; cursor: default; }
@media (max-width: 700px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro { padding-block: 0; }
}
.contact-field-error { color: var(--accent-text); font-size: .875rem; font-weight: 600; }
.contact-field-error:empty { display: none; }
.contact-form input[aria-invalid="true"] { border-color: var(--accent-text); }
