@font-face {
  font-family: "ONC Refuge Display";
  src: url("brand-font/ONCRefugeDisplay-Regular.woff") format("woff"),
       url("brand-font/ONCRefugeDisplay-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --charcoal: #242628;
  --ivory: #f6f3ed;
  --ink: #222629;
  --muted: #666868;
  --gutter: clamp(24px, 4.5vw, 72px);
  --content: 1420px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: Inter, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #a67d4e; outline-offset: 5px; }
.skip-link { position: absolute; z-index: 100; left: 12px; top: -80px; padding: 12px 18px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 5; height: 83px; max-width: var(--content); margin: auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; color: white; }
.brand { display: inline-flex; width: 120px; align-items: center; }
.brand img { width: 100%; height: auto; }
.site-header nav { display: flex; gap: clamp(24px, 3.5vw, 52px); align-items: center; }
.site-header nav a { font-size: 15px; letter-spacing: .01em; text-decoration: none; opacity: .93; transition: opacity .2s ease; }
.site-header nav a:hover { opacity: .6; }

.hero { overflow: hidden; min-height: 548px; background: var(--charcoal); color: white; }
.hero-inner { position: relative; display: grid; grid-template-columns: 50% 50%; align-items: center; width: min(100%, var(--content)); min-height: 548px; margin: 0 auto; padding: 88px var(--gutter) 50px; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding-bottom: 6px; }
.hero-copy h1 { margin: 0; font-size: clamp(52px, 6.2vw, 84px); line-height: 1.06; letter-spacing: -.063em; font-weight: 720; }
.hero-copy p { max-width: 430px; margin: 20px 0 34px; color: #ededec; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.38; font-weight: 400; letter-spacing: -.02em; }
.outline-button { display: inline-flex; gap: 15px; align-items: center; justify-content: space-between; min-width: 217px; min-height: 53px; padding: 0 27px; border: 1px solid rgba(255,255,255,.88); border-radius: 2px; font-size: 16px; text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease; }
.outline-button:hover { background: white; color: var(--charcoal); transform: translateY(-2px); }
.outline-button svg { width: 21px; height: 21px; }

.section-shell { width: min(100%, var(--content)); margin: 0 auto; padding-inline: var(--gutter); }
.work { background: #faf9f6; padding: 58px 0 54px; }
.work h2 { margin: 0 0 43px; font-size: clamp(45px, 5.4vw, 69px); line-height: 1.05; letter-spacing: -.052em; font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.project { display: flex; flex-direction: column; }
.project-copy { flex: 1; }
.project h3, .upcoming h3 { margin: 0 0 5px; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.16; letter-spacing: -.042em; font-weight: 700; }
.project p, .upcoming p { margin: 0; font-size: 17px; line-height: 1.5; letter-spacing: -.014em; }
.project-status { display: block; margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.35; }
.working-title { display: inline-block; margin: 1px 0 5px; color: #6d706f; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.detail-intro-copy > .working-title { margin: 10px 0 0; }
.project-image { display: block; width: 100%; aspect-ratio: 1.45; margin-top: 18px; overflow: hidden; background: #e8e5df; cursor: zoom-in; }
.project-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project-image:hover img { transform: scale(1.025); }
.project-title-link, .studio-title-link { text-decoration: none; }
.project-title-link:hover, .studio-title-link:hover { text-decoration: underline; text-underline-offset: .12em; }
.project-detail-link, .studio-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.project-detail-link:hover, .studio-more:hover { gap: 18px; }
.studio-more { color: white; margin-top: 20px; }
.upcoming { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 47px; padding: 28px 0 0; border-top: 1px solid #cfcac2; }
.upcoming h3 { font-size: 24px; }
.upcoming p { color: #595c5c; }
.upcoming > span { font-size: 15px; color: #646665; }

.studio { color: #f7f6f3; background: var(--charcoal); }
.studio-shell { min-height: 266px; display: grid; grid-template-columns: 1fr .8fr; gap: 70px; padding-top: 58px; padding-bottom: 43px; }
.studio-about h2 { margin: 0 0 17px; font-size: clamp(46px, 5vw, 66px); line-height: 1.07; letter-spacing: -.056em; }
.studio-about p { max-width: 590px; margin: 0; color: #d7d7d4; font-size: 18px; line-height: 1.42; }
.studio-contact { padding: 14px 0 8px 65px; border-left: 1px solid #777775; }
.studio-contact h2 { margin: 0 0 15px; font-size: clamp(29px, 3vw, 37px); line-height: 1.1; letter-spacing: -.045em; }
.studio-contact a { display: block; width: max-content; margin: 9px 0; color: #f0f0ed; font-size: 18px; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: transparent; }
.studio-contact a:hover { text-decoration-color: currentColor; }
.studio-contact address { margin-top: 21px; color: #e3e2df; font-size: 13px; font-style: normal; line-height: 1.55; letter-spacing: .01em; }
.studio-contact address span { display: inline-block; margin-bottom: 4px; color: #acaeac; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer { min-height: 105px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #6b6c6b; font-size: 13px; line-height: 1.65; letter-spacing: .025em; }
.site-footer strong { font-weight: 500; }
.site-footer span { color: #c5c5c3; }

.image-viewer { width: min(94vw, 1400px); max-width: none; max-height: 94vh; margin: auto; padding: 0; overflow: auto; border: 1px solid #ddd7cd; background: var(--ivory); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.38); }
.image-viewer::backdrop { background: rgba(15,17,18,.86); }
.image-viewer-inner { padding: clamp(14px, 2vw, 26px); }
.image-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.image-viewer-bar h2 { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.image-viewer-close { flex: none; padding: 9px 15px; border: 1px solid #575958; border-radius: 2px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.image-viewer-close:hover { background: var(--ink); color: white; }
.image-viewer img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(94vh - 100px); margin: 0 auto; object-fit: contain; }

/* Detail pages share the source website's typography, contrast, and footer. */
.detail-page { background: #faf9f6; }
.detail-page .site-header { position: relative; max-width: none; background: #faf9f6; color: var(--ink); }
.detail-page .site-header .brand { padding: 5px; background: var(--charcoal); border-radius: 2px; }
.detail-header-shell { max-width: var(--content); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.detail-page .site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.detail-intro { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); align-items: stretch; max-width: var(--content); min-height: 480px; margin: 0 auto; padding: 24px var(--gutter) 42px; gap: clamp(26px, 4vw, 64px); }
.detail-intro-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px 0; }
.back-link { font-size: 14px; text-decoration: none; border-bottom: 1px solid #979997; padding-bottom: 4px; }
.back-link:hover { border-color: var(--ink); }
.detail-intro h1 { margin: auto 0 0; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-weight: 500; font-synthesis: none; font-size: clamp(52px, 7vw, 100px); letter-spacing: -.015em; line-height: 1; }
.detail-subtitle { max-width: 460px; margin: 10px 0 22px; font-size: clamp(19px, 2vw, 27px); line-height: 1.25; }
.detail-kicker { padding-top: 13px; border-top: 1px solid #878985; min-width: 185px; font-size: 12px; letter-spacing: .17em; text-transform: uppercase; }
.watch-gameplay { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 210px; margin-top: 22px; padding: 13px 17px; background: var(--charcoal); color: #fff; text-decoration: none; font-size: 15px; }
.watch-gameplay:hover { background: #3d4142; }
.detail-intro-art { min-height: 390px; background: #e9e7e1; display: grid; place-items: center; overflow: hidden; }
.detail-intro-art img { width: 100%; height: 100%; object-fit: contain; }
.detail-intro-art video { width: 100%; height: 100%; object-fit: contain; background: var(--charcoal); }
.detail-concept { display: block; min-height: 0; margin: 0; background: transparent; overflow: visible; }
.detail-concept img { width: 100%; height: auto; }
.detail-concept figcaption { margin-top: 9px; color: #656867; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.detail-story { background: var(--charcoal); color: white; }
.detail-story-inner { width: min(100%, var(--content)); margin: 0 auto; padding: clamp(53px, 6vw, 88px) var(--gutter); }
.detail-story h2 { margin: 0 0 31px; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-weight: 500; font-synthesis: none; font-size: clamp(38px, 5vw, 65px); line-height: 1.08; }
.detail-story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.detail-story p { max-width: 560px; margin: 0; color: #e2e2df; font-size: clamp(17px, 1.7vw, 19px); line-height: 1.6; }
.detail-story p + p { margin-top: 18px; }
.detail-facts { width: min(100%, var(--content)); margin: 0 auto; padding: clamp(52px, 6vw, 82px) var(--gutter); }
.detail-facts h2 { margin: 0 0 31px; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-size: clamp(38px, 4.7vw, 58px); font-weight: 500; font-synthesis: none; line-height: 1.1; }
.detail-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 57px); }
.detail-facts article { padding-top: 17px; border-top: 1px solid #9ea19e; }
.detail-facts h3 { margin: 0 0 12px; font-size: 17px; letter-spacing: -.02em; }
.detail-facts p { margin: 0; color: #5b6060; font-size: 16px; line-height: 1.57; }
.detail-gallery { width: min(100%, var(--content)); margin: 0 auto; padding: clamp(52px, 6vw, 84px) var(--gutter); }
.detail-gallery-header { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 25px; }
.detail-gallery h2 { margin: 0; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-weight: 500; font-size: clamp(37px, 4.5vw, 56px); line-height: 1.1; }
.detail-gallery p { margin: 13px 0 0; max-width: 820px; color: #626666; font-size: 15px; line-height: 1.5; }
.detail-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: center; }
.detail-gallery-grid--single { grid-template-columns: 1fr; }
.gallery-image { display: block; background: #e9e6e0; text-decoration: none; cursor: zoom-in; }
.gallery-image img { width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.gallery-image:hover { outline: 2px solid #8e918b; outline-offset: 4px; }
.detail-next { display: flex; justify-content: space-between; gap: 25px; margin-top: 54px; padding-top: 24px; border-top: 1px solid #9ea19e; text-decoration: none; font-size: 17px; }
.detail-next:hover { text-decoration: underline; text-underline-offset: 5px; }
.detail-endnote { max-width: 820px; margin-top: 10px; color: #656867; font-size: 15px; line-height: 1.55; }
.detail-footer .studio-shell { min-height: 0; }
.detail-page .studio-about h2 { font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-weight: 500; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 125px; padding-bottom: 305px; }
  .hero { min-height: 660px; }
  .hero-copy h1 { font-size: clamp(58px, 9vw, 82px); }
  .project-grid { gap: 18px; }
  .project p { font-size: 16px; }
  .project-image { aspect-ratio: 1.45; }
  .studio-shell { gap: 35px; }
  .studio-contact { padding-left: 35px; }
}

@media (max-width: 650px) {
  .site-header { height: 71px; }
  .brand { width: 105px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 12px; }
  .hero { min-height: 680px; }
  .hero-inner { min-height: 680px; padding-top: 111px; padding-bottom: 315px; }
  .hero-copy { align-self: start; }
  .hero-copy h1 { font-size: clamp(40px, 13vw, 72px); }
  .hero-copy p { max-width: 370px; margin: 18px 0 24px; font-size: 17px; }
  .outline-button { min-height: 50px; min-width: 205px; }
  .work { padding: 50px 0 51px; }
  .work h2 { margin-bottom: 34px; font-size: 43px; }
  .project-grid { grid-template-columns: 1fr; gap: 36px; }
  .project h3 { font-size: 26px; }
  .project-image { margin-top: 15px; }
  .upcoming { align-items: flex-start; margin-top: 38px; }
  .studio-shell { display: block; padding-top: 53px; padding-bottom: 49px; }
  .studio-about h2 { font-size: 47px; }
  .studio-about p { font-size: 17px; }
  .studio-contact { margin-top: 42px; padding: 27px 0 0; border-left: 0; border-top: 1px solid #777775; }
  .site-footer { min-height: 105px; font-size: 11px; }
  .detail-page .site-header { height: 72px; }
  .detail-page .site-header nav { gap: 13px; }
  .detail-intro { display: block; padding-top: 14px; }
  .detail-intro-copy { min-height: 290px; padding: 0 0 25px; }
  .detail-intro h1 { margin-top: 38px; font-size: clamp(50px, 13vw, 74px); }
  .detail-intro-art { min-height: 0; aspect-ratio: 1.4; }
  .detail-concept { aspect-ratio: auto; }
  .detail-story-cols, .detail-gallery-grid, .detail-facts-grid { grid-template-columns: 1fr; }
  .detail-gallery-grid { gap: 24px; }
  .detail-story h2 { margin-bottom: 20px; }
  .detail-story p + p { margin-top: 15px; }
}

.hero-copy h1, .work h2, .project h3, .upcoming h3,
.studio-about h2, .studio-contact h2 {
  font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: -.015em;
}

/* Genuine, manually played game footage leads the home and game pages. */
.hero { min-height: 0; }
.hero-inner { position: relative; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 4vw, 66px); min-height: 580px; padding-top: 118px; padding-bottom: 70px; }
.hero-copy h1 { max-width: 650px; font-size: clamp(55px, 6vw, 86px); }
.hero-gameplay { min-width: 0; margin: 0; }
.hero-gameplay video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #111718; border: 1px solid #696d6c; }
.hero-gameplay figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 11px; color: #e4e4df; font-size: 13px; line-height: 1.4; }
.hero-gameplay figcaption a { text-underline-offset: 4px; }
.detail-intro-media { align-self: center; min-width: 0; margin: 0; scroll-margin-top: 90px; }
.detail-intro-media video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #141819; }
.detail-intro-media figcaption { margin-top: 10px; color: #494f4d; font-size: 13px; line-height: 1.45; letter-spacing: .025em; }
.game-steps { grid-column: 2; min-width: 0; padding-top: 18px; border-top: 1px solid #a9ada8; }
.game-steps h2 { margin: 0 0 15px; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-size: clamp(27px, 3vw, 36px); font-weight: 500; line-height: 1.15; }
.game-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding-left: 24px; list-style-type: decimal-leading-zero; }
.game-steps li { padding-right: 8px; font-size: 15px; line-height: 1.45; }
.game-steps li::marker { color: #626866; font-size: 13px; }
.detail-facts--compact { padding-top: clamp(38px, 4vw, 56px); padding-bottom: clamp(38px, 4vw, 56px); }
.detail-facts--compact h2 { margin-bottom: 22px; }
.studio-vision { color: #fff; background: var(--charcoal); }
.studio-vision-inner { width: min(100%, var(--content)); margin: 0 auto; padding: 92px var(--gutter) 90px; }
.studio-vision .back-link { border-color: #babbb6; }
.studio-eyebrow { margin: 60px 0 14px; color: #d4d7d3; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; }
.studio-vision h1 { max-width: 920px; margin: 0; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-size: clamp(55px, 7vw, 100px); font-weight: 500; font-synthesis: none; line-height: 1.02; }
.studio-vision-inner > p:not(.studio-eyebrow) { max-width: 770px; margin: 27px 0 30px; color: #e3e4e0; font-size: clamp(19px, 2vw, 25px); line-height: 1.45; }
.studio-vision .outline-button { min-width: 0; max-width: 100%; }
.coming-work-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); padding-top: 28px; padding-bottom: 34px; border-top: 1px solid #d7d3cb; }
.coming-work { padding: 0; scroll-margin-top: 24px; }
.coming-work-status { display: inline-block; padding: 7px 10px; border: 1px solid #8b8f8b; color: #444a48; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.coming-work h2 { margin: 12px 0; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-size: clamp(28px, 3vw, 38px); font-weight: 500; font-synthesis: none; line-height: 1.08; }
.coming-work p { max-width: 520px; margin: 0; color: #424847; font-size: 16px; line-height: 1.5; }
.site-header nav .nav-note { display: block; margin-top: 4px; font-size: 10px; line-height: 1.1; opacity: .85; }
.development-updates { padding: 48px 0; border-top: 1px solid #d7d3cb; scroll-margin-top: 24px; }
.updates-heading { display: flex; align-items: start; gap: 30px; justify-content: space-between; margin-bottom: 28px; }
.updates-heading h2 { margin: 0; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-size: clamp(34px, 4vw, 50px); font-weight: 500; line-height: 1.1; }
.updates-heading > p { max-width: 380px; margin: 0; color: #424847; font-size: 16px; line-height: 1.5; }
.updates-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.updates-grid article { border-top: 1px solid #a9ada8; padding-top: 18px; }
.updates-grid h3 { margin: 0; font-size: 20px; font-weight: 500; }
.updates-grid .working-title { display: block; margin-top: 5px; }
.updates-grid p { margin: 12px 0; color: #424847; font-size: 16px; line-height: 1.5; }
.updates-grid a, .detail-follow a { text-underline-offset: 4px; font-size: 15px; }
.detail-follow { padding-top: 26px; padding-bottom: 32px; border-top: 1px solid #d7d3cb; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.detail-follow p { margin: 0; font-size: 17px; }
.studio-contact .contact-note { max-width: 390px; margin: 0 0 12px; color: #d7d7d4; font-size: 14px; line-height: 1.5; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 3px 18px; }
.studio-contact .contact-actions a { margin: 4px 0; font-size: 14px; text-decoration-color: currentColor; }
.faq { background: #eeede7; }
.faq-inner { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(28px, 6vw, 80px); padding-top: clamp(43px, 5vw, 70px); padding-bottom: clamp(43px, 5vw, 70px); }
.faq h2 { margin: 0; font-family: "ONC Refuge Display", "Helvetica Neue", Arial, sans-serif; font-size: clamp(40px, 4.6vw, 60px); font-weight: 500; line-height: 1.1; }
.faq-items details { border-top: 1px solid #9fa49e; }
.faq-items details:last-child { border-bottom: 1px solid #9fa49e; }
.faq-items summary { padding: 19px 6px; cursor: pointer; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.35; }
.faq-items details p { max-width: 690px; margin: 0; padding: 0 6px 22px 21px; color: #505654; font-size: 16px; line-height: 1.55; }
.site-footer--home { flex-wrap: wrap; }
.site-footer--home a { color: #e2e2df; text-underline-offset: 4px; }
.studio-work-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 38px); margin-top: 34px; }
.studio-work-links a { display: flex; justify-content: space-between; gap: 15px; padding: 18px 0; border-top: 1px solid #9ea19e; font-size: 18px; text-decoration: none; }
.studio-work-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 128px; padding-bottom: 54px; }
  .hero-copy { padding-bottom: 0; }
  .hero-copy h1 { max-width: 730px; }
  .hero-gameplay { max-width: 740px; }
}

@media (max-width: 650px) {
  .site-header { height: auto; min-height: 108px; padding-top: 9px; padding-bottom: 13px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-header nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; white-space: nowrap; }
  .site-header nav a { font-size: 11px; }
  .detail-page .site-header { height: auto; min-height: 108px; }
  .detail-header-shell { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero { min-height: 0; }
  .hero-inner { min-height: 0; gap: 36px; padding-top: 140px; padding-bottom: 43px; }
  .hero-copy h1 { font-size: clamp(46px, 12vw, 65px); }
  .hero-copy p { max-width: 440px; }
  .hero-gameplay figcaption { font-size: 12px; }
  .detail-intro { min-height: 0; padding-bottom: 34px; }
  .detail-intro-copy { min-height: 0; }
  .detail-intro-media { margin-bottom: 4px; scroll-margin-top: 80px; }
  .detail-intro-media figcaption { font-size: 12px; }
  .game-steps { margin-top: 27px; }
  .game-steps ol { grid-template-columns: 1fr; gap: 9px; }
  .faq-inner { grid-template-columns: 1fr; gap: 24px; }
  .site-footer--home > div { flex-basis: 100%; }
  .studio-vision-inner { padding-top: 45px; padding-bottom: 60px; }
  .studio-eyebrow { margin-top: 58px; }
  .studio-vision h1 { font-size: clamp(50px, 12vw, 68px); }
  .coming-work-group { grid-template-columns: 1fr; gap: 24px; }
  .updates-heading { display: block; }
  .updates-heading > p { margin-top: 16px; }
  .updates-grid { grid-template-columns: 1fr; gap: 24px; }
  .detail-follow { align-items: flex-start; flex-direction: column; }
  .coming-work h2 { margin-top: 10px; }
  .studio-work-links { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Game policy and support pages: long readable text, three languages on one page. */
.policy-main { max-width: 760px; padding-block: 40px 72px; }
.policy-main h1 { margin: 28px 0 18px; font-size: clamp(28px, 5vw, 40px); line-height: 1.15; font-weight: 500; }
.policy-languages { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 36px; font-size: 15px; }
.policy-languages a { text-underline-offset: 5px; }
.policy-language { padding-top: 28px; border-top: 1px solid #dfdcd5; margin-bottom: 40px; }
.policy-language h2 { font-size: 26px; font-weight: 500; margin: 0 0 4px; }
.policy-language-name { margin-left: 8px; font-size: 14px; color: #62655e; font-weight: 400; }
.policy-language h3 { font-size: 17px; margin: 26px 0 6px; font-weight: 600; }
.policy-language p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.policy-language[lang="ko"] p { word-break: keep-all; }
.policy-updated { color: #62655e; font-size: 14px !important; }
.policy-contact { font-size: 14px; color: #555954; }
.policy-page .site-footer { border-top: 1px solid #dfdcd5; }
.policy-page .site-footer span { color: #5c5f5a; }
.game-policy-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 15px; }

/* Screenshots ship as WebP with the PNG as fallback; the picture wrapper must not change layout. */
picture { display: contents; }

@media (max-width: 650px) {
  /* Keep the compact mobile menu visually unchanged while giving each link a larger tap area. */
  .site-header nav a { padding-block: 10px; margin-block: -10px; }
}

.not-found h1 { margin-top: 48px; }
.not-found > p { max-width: 560px; color: #424847; font-size: 17px; line-height: 1.55; }
.not-found-links { display: grid; gap: 0; margin-top: 34px; max-width: 560px; }
.not-found-links a { display: flex; justify-content: space-between; gap: 15px; padding: 18px 0; border-top: 1px solid #9ea19e; font-size: 18px; text-decoration: none; }
.not-found-links a:last-child { border-bottom: 1px solid #9ea19e; }
.not-found-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.project-image--ten { background: #e9f2fb; }

/* Store links appear only after scripts/apply_just_fits_launch.mjs runs on launch day. */
.store-links { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 14px; }
.store-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 2px; font-size: 15px; text-decoration: none; }
.store-links a:hover { background: var(--ink); color: white; }
.hero .store-links a:hover, .detail-intro .store-links a:hover { background: var(--ink); color: white; }

/* Korean pages: never break inside a word; the Latin display font falls back to the system Korean face. */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ko"] .hero-copy h1 { font-size: clamp(44px, 7.2vw, 88px); letter-spacing: -.03em; }
html[lang="ko"] .site-header nav a { letter-spacing: 0; }
