/* Game case studies: full-width imagery, navy overview, warm paper body. */
body[data-page="project"] {
  --game-navy: #3b4263;
  --game-paper: #fdf3cf;
  --game-blue: #59a1c3;
  --game-heading: #316a86;
  --game-ink: #30354b;
  --game-rule: #3b426333;
  background: var(--game-navy);
  color: var(--game-ink);
}
body[data-page="project"] .site-header {
  width: 100%;
  min-height: 76px;
  padding-inline: max(28px, calc((100% - 1240px) / 2));
  border: 0;
  background: var(--game-navy);
  color: #fdf3cf;
  position: sticky;
  top: 0;
  box-shadow: 0 1px 0 #ffffff19;
}
body[data-page="project"] .brand { color: #efb078; }
body[data-page="project"] .brand > span { color: #e0e1e8; }
body[data-page="project"] .language button { color: #c6c9d5; }
body[data-page="project"] .language button[aria-pressed="true"] { color: #fff6db; }
body[data-page="project"] .site-header nav > a:hover { border-color: #fdf3cf; }
body[data-page="project"] .site-header .nav-pdf { border-color: #fdf3cf60; }
body[data-page="project"] .nav-pdf:hover { background: #fdf3cf; color: #30354b; }
body[data-page="project"] .mobile-menu span { background: #fdf3cf; }
body[data-page="project"] :is(a, button, summary):focus-visible { outline-color: #cf884a; }
.game-case { width: 100%; overflow: clip; }
.game-container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.game-case section, .game-case details { scroll-margin-top: 100px; }
.game-hero {
  min-height: 550px;
  height: clamp(550px, 44vw, 650px);
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  color: #fff4d8;
  background: #1d1813;
}
.game-hero-background, .game-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.game-hero-background { object-fit: cover; object-position: center; }
.game-hero-shade {
  background: linear-gradient(180deg, #13162435, #1519256b 48%, #1b1e3273), radial-gradient(ellipse at center, #0b112644, transparent 80%);
}
.game-back {
  position: absolute;
  top: 23px;
  left: max(32px, calc((100% - 1240px) / 2));
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 8px #000;
}
.game-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.game-hero-center { width: min(740px, calc(100% - 56px)); text-align: center; padding: 46px 0 40px; }
.game-hero-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; text-shadow: 0 1px 8px #000; }
.game-hero h1 { font-size: clamp(52px, 6.3vw, 82px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; text-shadow: 0 2px 16px #101322aa; }
.game-hero .game-logo-heading { margin: 0 auto; width: 520px; max-width: 100%; }
.game-logo { width: 100%; max-height: 280px; object-fit: contain; filter: drop-shadow(0 4px 7px #13182060); }
.game-dawn .game-logo-heading { width: 390px; }
.game-dawn .game-logo { max-height: 270px; }
.game-tagline { font-size: 21px; line-height: 1.6; margin-top: 12px; text-shadow: 0 1px 10px #000; }
.game-hero-actions { display: flex; justify-content: center; gap: 16px; margin-top: 23px; }
.game-hero-actions > a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 82px; font-size: 9px; line-height: 1.4; }
.game-hero-actions svg {
  width: 58px; height: 58px; padding: 15px; background: #f8f0dedf; color: #30354b;
  stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none;
  clip-path: polygon(16% 0, 84% 0, 100% 16%, 100% 84%, 84% 100%, 16% 100%, 0 84%, 0 16%);
  transition: transform .2s, background .2s, color .2s;
}
.game-hero-actions > a:hover svg { transform: rotate(6deg); background: #3b4263; color: #fff4d8; }
.game-scroll { position: absolute; bottom: 26px; left: calc(50% - 14px); font-size: 25px; line-height: 1; width: 28px; text-align: center; }
.game-torn-edge { position: relative; }
.game-torn-edge::before {
  content: ""; position: absolute; top: -28px; left: 0; width: 100%; height: 30px; background: inherit;
  clip-path: polygon(0 41%, 3% 28%, 7% 45%, 10% 25%, 15% 39%, 18% 27%, 23% 43%, 27% 31%, 32% 48%, 36% 28%, 40% 35%, 44% 22%, 49% 40%, 54% 28%, 58% 46%, 63% 29%, 68% 41%, 72% 26%, 77% 43%, 81% 31%, 86% 45%, 90% 24%, 95% 39%, 100% 28%, 100% 100%, 0 100%);
}
.game-overview { background: var(--game-navy); color: #e0e2ed; padding: 48px 0 80px; z-index: 2; }
.game-overview-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.game-overview-grid.has-character { grid-template-columns: .58fr 1.1fr 1.27fr; gap: 32px; }
.game-heading { color: var(--game-heading); font-size: 46px; line-height: 1.22; letter-spacing: .04em; font-weight: 700; margin: 0 0 20px; }
.game-overview .game-heading { color: var(--game-blue); }
.game-overview-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 17px; font-size: 12px; color: #e4e5ed; }
.game-overview-links a { border-bottom: 1px solid #e0e2ed66; padding-bottom: 2px; }
.game-overview-links a:hover { color: #fff4d8; border-color: currentColor; }
.game-overview-copy > p { font-size: 15px; line-height: 1.95; }
.game-role { padding-left: 18px; border-left: 3px solid #b9c7d4; margin-top: 24px; }
.game-role > span { display: block; font-size: 10px; font-weight: 600; letter-spacing: .09em; color: #b9c7d4; margin-bottom: 4px; }
.game-role > strong { display: block; font-size: 15px; color: #fff4d8; line-height: 1.7; font-weight: 600; }
.game-role > p { font-size: 14px; line-height: 1.8; margin-top: 9px; }
.game-overview-character { align-self: end; position: relative; margin-top: -125px; z-index: 3; }
.game-overview-character > img { width: 100%; max-height: 385px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 7px 6px #10152730); }
.game-dawn .game-overview-character { align-self: center; }
.game-overview-collage { padding: 18px 4px 10px; min-width: 0; }
.game-case .case-figure { margin: 0; min-width: 0; }
.game-case .image-button { display: block; width: 100%; border: 0; border-radius: 0; background: transparent; padding: 0; overflow: hidden; position: relative; line-height: 0; }
.game-case .image-button img { width: 100%; height: auto; max-height: none; object-fit: contain; transition: transform .25s; }
.game-case .image-button:hover img { transform: scale(1.015); }
.source-crop { display: block; width: 100%; height: auto; overflow: hidden; }
.game-case .image-button > .source-crop { width: 100%; height: auto; }
.game-case .game-overview-shot .image-button { clip-path: none; }
.game-case .zoom-mark { font-size: 20px; color: white; background: #292f46a8; bottom: 8px; right: 8px; line-height: 1; padding: 4px 6px; border: 0; }
.game-case .case-figure figcaption { font-size: 12px; line-height: 1.8; margin-top: 10px; color: #5a5d68; }
.game-overview-shot { filter: drop-shadow(0 5px 8px #12162938); }
.game-overview-shot .image-button { clip-path: polygon(1% 3%, 99% 0, 100% 96%, 1% 100%); }
.game-overview-shot.shot-0 { width: 91%; transform: rotate(-1.2deg); }
.game-overview-shot.shot-1 { width: 75%; margin: -23px 0 0 auto; transform: rotate(1.6deg); }
.game-overview-shot figcaption { display: none; }
.game-paper { background: var(--game-paper); padding: 46px 0 68px; z-index: 3; }
.game-showcase { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: stretch; padding-bottom: 45px; }
.game-showcase-main { min-width: 0; }
.game-showcase-main > .case-figure { height: 100%; }
.game-showcase-main .image-button, .game-trailer { height: 100%; background: #3b426313; }
.game-showcase-main .image-button img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.game-showcase figcaption { display: none; }
.game-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.game-showcase-grid .image-button { height: 100%; background: #3b426313; }
.game-showcase-grid .image-button img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.game-trailer { aspect-ratio: 16 / 9; position: relative; }
.game-trailer-button { display: block; padding: 0; border: 0; width: 100%; height: 100%; background: #3b4263; color: #fff4d8; position: relative; }
.game-trailer-button > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); }
.game-play-symbol { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; display: grid; place-items: center; border: 2px solid #fff4d8; border-radius: 50%; font-size: 26px; padding-left: 4px; background: #3b42634d; transition: background .2s; }
.game-trailer-button:hover .game-play-symbol { background: #3b4263; }
.game-trailer-label { position: absolute; bottom: 20px; left: 20px; font-size: 12px; letter-spacing: .08em; font-weight: 600; }
.game-trailer iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.game-contributions { border-top: 2px solid var(--game-rule); padding-top: 32px; }
.game-contributions > .game-heading { margin-bottom: 29px; }
.game-contribution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.game-contribution-figure .image-button { background: #3b426311; }
.game-contribution-figure .image-button img { aspect-ratio: 16 / 9; object-fit: contain; }
.game-case .game-contribution-figure figcaption { display: block; font-size: 10px; color: #5a5d68; line-height: 1.8; margin-top: 8px; }
.game-contribution-figure .source-crop { aspect-ratio: 16 / 9; }
.game-contribution-grid h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.02em; font-weight: 700; margin: 20px 0 11px; }
.game-contribution-grid p { font-size: 14px; line-height: 1.9; }
.game-contribution-grid article > a { display: inline-block; font-size: 11px; font-weight: 600; border-bottom: 1px solid #30354b88; padding-bottom: 2px; margin-top: 15px; }
.game-contribution-grid article > a:hover { color: #316a86; border-color: currentColor; }
.game-design-details { margin-top: 47px; border-top: 2px solid var(--game-rule); padding-top: 35px; }
.game-detail { padding-bottom: 38px; margin-bottom: 35px; border-bottom: 1px solid var(--game-rule); }
.game-detail-row { display: grid; grid-template-columns: 1.04fr 1fr; gap: 45px; align-items: start; }
.game-detail-label { font-size: 11px; letter-spacing: .06em; color: #316a86; font-weight: 600; margin-bottom: 12px; }
.game-detail-copy h3 { font-size: 26px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 19px; max-width: 540px; }
.game-detail-copy > p:not(.game-detail-label) { font-size: 16px; line-height: 1.95; max-width: 590px; }
.game-detail-visual { min-width: 0; }
.game-detail-primary .image-button { background: #3b426309; }
.game-detail-primary .image-button img { max-height: 420px; object-fit: contain; }
.game-detail-gallery { display: grid; gap: 25px; margin-top: 30px; grid-template-columns: repeat(2, 1fr); align-items: start; }
.game-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.game-gallery-4 { grid-template-columns: repeat(2, 1fr); }
.game-gallery-6 { grid-template-columns: repeat(3, 1fr); }
.game-detail-sequence > .game-detail-copy { max-width: 850px; }
.game-detail-sequence .game-detail-copy > p:not(.game-detail-label) { max-width: 850px; }
.game-detail-gallery .source-crop { width: 100%; height: auto; }
.game-next > .source-crop { width: 105px; height: 65px; }
.game-gallery-1 { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }
.game-detail-gallery .image-button { background: #3b426309; }
.game-detail-gallery .image-button img { width: 100%; max-height: 380px; object-fit: contain; }
.game-process { list-style: none; padding: 15px 0 0; margin: 17px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; border-top: 1px solid var(--game-rule); }
.game-process li { font-size: 12px; line-height: 1.7; display: flex; gap: 10px; }
.game-process li > span { color: #316a86; font-size: 10px; font-weight: 600; }
.game-notes { display: grid; gap: 18px; margin-top: 23px; }
.game-notes h4 { font-size: 14px; line-height: 1.6; margin: 0 0 5px; font-weight: 600; }
.game-notes p { font-size: 14px; line-height: 1.9; }
.game-character-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin-top: 29px; border-top: 1px solid var(--game-rule); padding-top: 24px; }
.game-character { display: flex; gap: 28px; align-items: center; }
.game-character > img { width: 150px; height: 260px; object-fit: contain; }
.game-character h4 { font-size: 24px; line-height: 1.3; margin: 0 0 10px; }
.game-character p { font-size: 12px; line-height: 1.8; }
.game-character blockquote { margin: 16px 0 0; font-size: 19px; color: #316a86; line-height: 1.5; }
.game-project-details { padding-top: 5px; }
.game-project-details > .game-heading { margin-bottom: 25px; }
.game-project-details > dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0 0 31px; }
.game-project-details dt { font-size: 11px; font-weight: 600; color: #5a5d68; margin-bottom: 8px; }
.game-project-details dd { margin: 0; font-size: 14px; line-height: 1.85; }
.game-spreads { border-top: 1px solid var(--game-rule); border-bottom: 1px solid var(--game-rule); }
.game-spreads summary { list-style: none; display: flex; justify-content: space-between; gap: 25px; padding: 21px 0; font-size: 14px; line-height: 1.7; font-weight: 600; cursor: pointer; }
.game-spreads summary::-webkit-details-marker { display: none; }
.game-spreads summary > span:last-child { flex-shrink: 0; font-size: 11px; font-weight: 400; display: flex; gap: 20px; align-items: center; }
.game-spreads summary > span:last-child > span { display: inline-block; font-size: 22px; transition: transform .2s; }
.game-spreads[open] summary > span:last-child > span { transform: rotate(45deg); }
.game-spreads-inner { padding: 5px 0 30px; }
.game-spread-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.game-pdf-link { display: inline-flex; gap: 20px; font-size: 13px; border-bottom: 1px solid; padding-bottom: 3px; margin-top: 22px; }
.game-end-nav { margin-top: 38px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.game-return { background: var(--game-navy); color: #fff4d8; display: inline-block; padding: 14px 24px; font-size: 12px; font-weight: 600; letter-spacing: .05em; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background .2s; }
.game-return:hover { background: #316a86; }
.game-next { display: flex; gap: 20px; align-items: center; }
.game-next > img { width: 105px; height: 65px; object-fit: cover; }
.game-next small { display: block; font-size: 9px; letter-spacing: .08em; color: #5a5d68; margin-bottom: 4px; }
.game-next strong { font-size: 20px; line-height: 1.35; font-weight: 600; }
.game-next > span:last-child { font-size: 24px; }
body[data-page="project"] .site-footer { background: var(--game-navy); color: #f4f0e4; }
body[data-page="project"] .footer-links a, body[data-page="project"] .footer-top { border-color: #ffffff25; }
body[data-page="project"] .footer-email { border-color: #ffffff65; }
html[lang="zh-CN"] .game-heading { letter-spacing: .01em; }
html[lang="zh-CN"] .game-detail-copy > p:not(.game-detail-label) { line-height: 2; }
@media (max-width: 1100px) {
  .game-overview-grid.has-character { grid-template-columns: .5fr 1.1fr 1.15fr; gap: 22px; }
  .game-heading { font-size: 38px; }
  .game-overview-copy > p, .game-role > strong { font-size: 14px; }
  .game-role > p { font-size: 13px; }
  .game-overview-character > img { max-height: 310px; }
  .game-overview-grid { gap: 35px; }
  .game-contribution-grid { gap: 23px; }
  .game-detail-row { gap: 30px; }
  .game-detail-copy h3 { font-size: 24px; }
  .game-character > img { width: 125px; height: 235px; }
  .game-character { gap: 20px; }
}
@media (max-width: 850px) {
  body[data-page="project"] .site-header { min-height: 72px; padding-inline: 24px; }
  .game-container { width: calc(100% - 48px); }
  .game-hero { height: 540px; min-height: 540px; }
  .game-back { left: 24px; top: 21px; font-size: 11px; }
  .game-hero .game-logo-heading { width: 450px; }
  .game-dawn .game-logo-heading { width: 330px; }
  .game-tagline { font-size: 18px; }
  .game-overview { padding: 40px 0 70px; }
  .game-overview-grid, .game-overview-grid.has-character { grid-template-columns: 1fr 1fr; gap: 35px; }
  .game-overview-character { display: none; }
  .game-overview-copy > p { font-size: 14px; }
  .game-overview-collage { align-self: center; }
  .game-heading { font-size: 35px; }
  .game-showcase { gap: 13px; grid-template-columns: 1.3fr 1fr; }
  .game-showcase-grid { gap: 9px; }
  .game-contribution-grid { gap: 21px; }
  .game-contribution-grid h3 { font-size: 17px; }
  .game-contribution-grid p { font-size: 13px; }
  .game-detail-copy h3 { font-size: 23px; }
  .game-detail-copy > p:not(.game-detail-label) { font-size: 15px; }
  .game-detail-row { gap: 25px; }
  .game-character-pair { gap: 25px; }
  .game-character { gap: 18px; }
  .game-character > img { width: 100px; height: 210px; }
  .game-character h4 { font-size: 21px; }
  .game-character blockquote { font-size: 17px; }
  .game-project-details > dl { grid-template-columns: 1fr 1fr; gap: 22px 35px; }
  .game-next > img { width: 85px; height: 57px; }
  .game-next { gap: 15px; }
  .game-next strong { font-size: 17px; }
  .game-return { padding: 13px 18px; font-size: 10px; }
}
@media (max-width: 600px) {
  body[data-page="project"] .site-header { min-height: 70px; }
  body[data-page="project"] .site-header.menu-open nav { left: 0; right: 0; top: 69px; background: var(--game-navy); color: #fff4d8; border-bottom-color: #fff4d840; }
  .game-case section, .game-case details { scroll-margin-top: 86px; }
  .game-hero { min-height: 470px; height: 470px; }
  .game-hero-center { width: calc(100% - 48px); padding: 56px 0 40px; }
  .game-hero-kicker { font-size: 9px; letter-spacing: .1em; margin-bottom: 16px; }
  .game-hero h1 { font-size: 43px; line-height: 1.2; }
  .game-hero .game-logo-heading { width: 350px; }
  .game-dawn .game-logo-heading { width: 265px; }
  .game-logo { max-height: 210px; }
  .game-dawn .game-logo { max-height: 210px; }
  .game-tagline { font-size: 15px; margin-top: 11px; }
  .game-hero-actions { margin-top: 20px; gap: 13px; }
  .game-hero-actions > a { width: 74px; font-size: 8px; gap: 7px; }
  .game-hero-actions svg { width: 48px; height: 48px; padding: 12px; }
  .game-scroll { bottom: 26px; font-size: 22px; }
  .game-back { font-size: 10px; top: 18px; }
  .game-overview { padding: 28px 0 54px; }
  .game-overview-grid, .game-overview-grid.has-character { display: block; }
  .game-heading { font-size: 31px; letter-spacing: .025em; margin-bottom: 16px; }
  .game-overview-links { font-size: 11px; margin-bottom: 16px; }
  .game-overview-copy > p { font-size: 15px; line-height: 1.95; }
  .game-role { margin-top: 20px; padding-left: 15px; }
  .game-role > strong { font-size: 14px; }
  .game-role > p { font-size: 14px; }
  .game-overview-collage { margin-top: 29px; padding: 4px; }
  .game-overview-shot.shot-1 { margin-top: -18px; width: 72%; }
  .game-paper { padding-top: 26px; padding-bottom: 40px; }
  .game-showcase { display: block; padding-bottom: 27px; }
  .game-showcase-main .image-button, .game-showcase-main > .case-figure, .game-trailer { height: auto; }
  .game-showcase-main .image-button img { height: auto; }
  .game-showcase-grid { gap: 10px; margin-top: 10px; }
  .game-showcase-grid .image-button img { height: auto; }
  .game-play-symbol { width: 50px; height: 50px; font-size: 21px; }
  .game-trailer-label { left: 14px; bottom: 13px; font-size: 10px; }
  .game-contributions { padding-top: 24px; }
  .game-contributions > .game-heading { margin-bottom: 23px; }
  .game-contribution-grid { grid-template-columns: 1fr; gap: 30px; }
  .game-contribution-grid h3 { font-size: 20px; margin-top: 15px; }
  .game-contribution-grid p { font-size: 15px; line-height: 1.95; }
  .game-contribution-grid article > a { font-size: 12px; margin-top: 12px; }
  .game-design-details { margin-top: 30px; padding-top: 27px; }
  .game-detail { padding-bottom: 28px; margin-bottom: 27px; }
  .game-detail-row { grid-template-columns: 1fr; gap: 25px; }
  .game-detail-copy h3 { font-size: 24px; margin-bottom: 16px; }
  .game-detail-copy > p:not(.game-detail-label) { font-size: 15px; }
  .game-detail-label { font-size: 10px; }
  .game-process { gap: 12px 19px; }
  .game-process li { font-size: 12px; }
  .game-detail-gallery, .game-gallery-3, .game-gallery-4, .game-gallery-6 { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .game-case .case-figure figcaption { font-size: 11px; margin-top: 8px; }
  .game-detail-primary .image-button img { max-height: none; }
  .game-character-pair { grid-template-columns: 1fr; margin-top: 24px; gap: 17px; }
  .game-character > img { width: 115px; height: 215px; }
  .game-character h4 { font-size: 24px; }
  .game-character p { font-size: 13px; }
  .game-character blockquote { font-size: 18px; }
  .game-project-details > dl { gap: 22px 18px; margin-bottom: 25px; }
  .game-project-details dd { font-size: 13px; }
  .game-spreads summary { font-size: 13px; gap: 18px; padding: 19px 0; }
  .game-spreads summary > span:last-child { font-size: 10px; gap: 10px; }
  .game-spread-grid { grid-template-columns: 1fr; gap: 24px; }
  .game-end-nav { display: block; margin-top: 28px; }
  .game-return { font-size: 11px; padding: 14px 22px; }
  .game-next { margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--game-rule); gap: 17px; }
  .game-next > img { width: 90px; height: 60px; }
  .game-next > span:last-child { margin-left: auto; }
  .game-next strong { font-size: 18px; }
  html[lang="zh-CN"] .game-hero h1 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-hero-actions svg, .game-case .image-button img { transition: none; }
  .game-hero-actions > a:hover svg { transform: none; }
}
