/* The studio homepage has its own styles; product pages use project.css. */
:root {
  --paper: #fffcf2;
  --ink: #23372e;
  --muted: #59675d;
  --line: #d6dcce;
  --accent: #a6442d;
  --blue: #328acc;
  --blue-side: #186396;
  --yellow: #ffca3a;
  --orange: #f47a42;
  --green: #8ec759;
  --purple: #b58bd6;
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; }
::selection { background: #ffc64a; color: var(--ink); }
.wrap { width: calc(100% - 96px); max-width: 1240px; margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 10; padding: 8px 16px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 29px var(--display); letter-spacing: -1px; text-decoration: none; }
.brand svg { width: 30px; height: 34px; }
.site-header nav { display: flex; gap: 30px; font-size: 14px; }
.site-header nav a { text-decoration: none; padding: 7px 15px; background: var(--yellow); box-shadow: 3px 3px 0 #d99c17; }
.site-header nav a:last-child { background: #c6e4f8; box-shadow: 3px 3px 0 var(--blue); }
.site-header nav a:hover { color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: 70px; padding-block: 55px 64px; }
.intro h1 { font-size: clamp(50px, 5.7vw, 80px); font-weight: 700; line-height: 1.2; }
.word-box { display: inline-block; padding: 0 17px 7px; margin-top: 7px; background: var(--yellow); box-shadow: 8px 8px 0 var(--orange); }
.intro-note { display: flex; align-items: center; gap: 24px; padding-top: 12px; }
.intro-note p { flex: 1; }
.intro-boxes { width: 120px; height: auto; flex: 0 0 120px; }
.intro p { max-width: 460px; color: var(--muted); font-size: 17px; }
.lead-game { display: grid; grid-template-columns: 1.65fr 1fr; gap: 38px; align-items: center; }
.cover { display: block; border: 6px solid var(--blue); box-shadow: 9px 9px 0 var(--blue-side); }
.cover { width: 100%; height: auto; aspect-ratio: 16/9; background: #162c38; }
.trailer-wrap figcaption { margin-top: 13px; }
.game-description { padding: 26px; background: #fff0b4; box-shadow: 7px 7px 0 var(--yellow); }
.game-description h2 { font-size: clamp(34px, 3.5vw, 47px); margin: 10px 0 22px; }
.release { color: var(--accent); font-size: 13px; font-weight: 600; }
.game-description > p:not(.release) { font-size: 15px; margin-top: 15px; }
.game-description > p.platforms { color: var(--muted); font-size: 12px; margin-top: 25px; }
.button { display: inline-block; background: var(--ink); color: var(--paper); padding: 11px 20px; text-decoration: none; font-size: 14px; font-weight: 500; margin-top: 17px; border-radius: 0; box-shadow: 4px 4px 0 #b08b23; }
.button:hover { background: #3c5447; color: white; box-shadow: 4px 4px 0 var(--orange); }
.game-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; margin-top: 14px; }
.field-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.field-notes figure { --box-color: var(--green); --box-side: #58933c; }
.field-notes figure:nth-child(2) { --box-color: var(--orange); --box-side: #c74c2b; }
.field-notes figure:nth-child(3) { --box-color: var(--blue); --box-side: var(--blue-side); }
.field-notes a { display: block; }
.field-notes img { aspect-ratio: 1400/788; object-fit: cover; border: 4px solid var(--box-color); box-shadow: 6px 6px 0 var(--box-side); }
figcaption { color: var(--muted); font-size: 12px; margin-top: 16px; }
.other-games { padding-block: 64px 45px; }
.other-games > h2 { font-size: 34px; margin-bottom: 28px; }
.other-game { --box-color: var(--green); --box-side: #58933c; display: grid; grid-template-columns: 210px 1fr auto; gap: 32px; align-items: center; padding-block: 24px; border-top: 1px solid var(--line); }
.other-game:nth-of-type(2) { --box-color: var(--purple); --box-side: #775399; }
.other-game:nth-of-type(3) { --box-color: var(--blue); --box-side: var(--blue-side); }
.other-image { display: block; border: 3px solid var(--box-color); box-shadow: 5px 5px 0 var(--box-side); }
.other-image img { aspect-ratio: 16/9; object-fit: cover; object-position: center top; }
.other-game h3 { font-size: 27px; margin-bottom: 9px; }
.other-game h3 a { text-decoration: none; }
.other-game p { max-width: 500px; color: var(--muted); font-size: 14px; }
.other-action { font-size: 12px; white-space: nowrap; text-decoration: none; padding: 7px 10px; border-bottom: 3px solid var(--box-color); }
.other-action span { margin-left: 12px; }
.workshop { border-top: 1px solid var(--line); margin-top: 18px; }
.workshop summary { padding-block: 24px; font-size: 17px; font-weight: 500; cursor: pointer; }
.workshop-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 30px; padding: 8px 0 28px; }
.workshop-links a { display: flex; flex-direction: column; gap: 4px; font-size: 20px; font-weight: 600; line-height: 1.4; padding: 12px 16px; border-left: 4px solid var(--green); text-decoration: none; }
.workshop-links a:nth-child(3n + 2) { border-color: var(--blue); }
.workshop-links a:nth-child(3n) { border-color: var(--orange); }
.workshop-links a:hover { background: #f1efdf; }
.workshop-links span { font-size: 15px; font-weight: 400; color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; padding: 30px 36px; background: #fff0b4; box-shadow: 8px 8px 0 var(--orange); margin-bottom: 45px; }
.contact h2 { font-size: 27px; }
.contact { align-items: center; }
.contact-boxes { display: block; width: 170px; height: auto; margin-top: 20px;  }
.email { font-family: var(--display); font-size: 29px; letter-spacing: -.02em; }
.contact p { margin-top: 14px; color: var(--muted); font-size: 13px; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 23px 32px; color: var(--muted); font-size: 11px; }
footer > div { display: flex; flex-wrap: wrap; gap: 15px 25px; }
footer a { text-decoration: none; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .intro { gap: 35px; padding-block: 52px; }
  .lead-game { gap: 30px; grid-template-columns: 1.2fr 1fr; align-items: start; }
  .other-game { grid-template-columns: 180px 1fr; gap: 15px 26px; }
  .other-action { grid-column: 2; }
  .other-image { grid-row: span 2; }
  .contact { gap: 35px; }
  .workshop-links { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 701px) and (max-width: 950px) {
  .intro { grid-template-columns: 1fr; gap: 18px; padding-block: 42px; }
  .intro p { max-width: 620px; }
  .lead-game { grid-template-columns: 1fr; gap: 26px; }
  .game-description { max-width: 640px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 80px; }
  .brand { font-size: 25px; gap: 7px; }
  .brand svg { width: 26px; height: 30px; }
  .site-header nav { gap: 19px; font-size: 12px; }
  .intro { grid-template-columns: 1fr; padding-block: 40px 32px; gap: 17px; }
  .intro h1 { font-size: 54px; }
  .word-box { padding-inline: 13px; box-shadow: 6px 6px 0 var(--orange); }
  .intro-note { gap: 14px; padding-top: 5px; }
  .intro-boxes { width: 82px; flex-basis: 82px; }
  .intro p { font-size: 16px; }
  .lead-game { grid-template-columns: 1fr; gap: 28px; }
  .cover { border-width: 4px; box-shadow: 6px 6px 0 var(--blue-side); }
  .game-description { padding: 22px; box-shadow: 6px 6px 0 var(--yellow); }
  .game-description h2 { font-size: 40px; margin-bottom: 17px; }
  .game-description > p:not(.release) { font-size: 16px; max-width: 540px; }
  .game-description > p.platforms { font-size: 12px; margin-top: 22px; }
  .game-links { gap: 24px; font-size: 13px; }
  .button { font-size: 15px; padding: 12px 22px; }
  .field-notes { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
  figcaption { font-size: 11px; }
  .contact h2 { font-size: 26px; }
  .other-games { padding-block: 43px 32px; }
  .other-games > h2 { font-size: 30px; margin-bottom: 22px; }
  .other-game { grid-template-columns: 110px 1fr; gap: 8px 18px; padding-block: 22px; align-items: start; }
  .other-game h3 { font-size: 25px; margin-bottom: 8px; }
  .other-game p { font-size: 13px; }
  .other-image { grid-row: auto; }
  .other-image img { aspect-ratio: 1; }
  .other-action { font-size: 11px; }
  .workshop-links { grid-template-columns: 1fr; gap: 14px; }
  .contact { grid-template-columns: 1fr; gap: 18px; padding: 20px; margin-bottom: 32px; box-shadow: 6px 6px 0 var(--orange); }
  .contact-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .contact-boxes { width: 88px; margin-top: 0; }
  .email { font-size: clamp(21px, 6.2vw, 27px); }
}
@media (max-width: 360px) {
  .site-header nav { gap: 12px; }
  .intro h1 { font-size: 41px; }
  .other-game { grid-template-columns: 85px 1fr; gap: 8px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Press materials reuse the studio's square panels and color palette. */
.press-facts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding: 30px; background: #fff0b4; box-shadow: 7px 7px 0 var(--yellow); }
.press-facts h2 { font-size: 42px; margin: 12px 0 20px; }
.press-facts p { font-size: 15px; }
.press-facts dl { display: grid; grid-template-columns: 1fr 1.5fr; gap: 12px 22px; font-size: 13px; margin: 0; align-content: center; }
.press-facts dt { font-weight: 600; }
.press-facts dd { margin: 0; }
.press-assets { margin-block: 55px; }
.press-assets h2 { font-size: 32px; margin-bottom: 16px; }
.press-assets > p { font-size: 14px; color: var(--muted); }
.press-assets .field-notes { margin-top: 26px; }
.press-logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px 24px; margin-top: 25px; }
.logo-preview { min-height: 190px; height: 210px; display: flex; align-items: center; justify-content: center; padding: 25px; background: #e7e9de; }
.logo-preview.dark { background: var(--ink); }
.logo-preview img { max-height: 160px; object-fit: contain; }
.logo-preview .press-mark { width: 100px; }
@media (max-width: 950px) {
  .press-facts { gap: 30px; }
  .press-logo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .press-facts { grid-template-columns: 1fr; padding: 22px; gap: 28px; }
  .press-facts h2 { font-size: 36px; }
  .press-facts dl { grid-template-columns: 1fr 1.4fr; gap: 12px 16px; }
  .press-logo-grid { grid-template-columns: 1fr; }
  .press-assets { margin-block: 40px; }
}

/* Studio background and game links. */
.about-games { margin-top: 24px; }
.press-facts p + p { margin-top: 16px; }
