@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/display-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-024F,U+1E00-1EFF,U+20BA;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/display-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --paper: #f7f0df;
  --ink: #181918;
  --muted: #59564c;
  --line: #d6cbb6;
  --accent: #b42c21;
  --button: #b72c20;
  --btn-ink: #fff6df;
  --face: "Barlow Condensed", "Arial Narrow", sans-serif;
  color-scheme: light;
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body.shardlatch {
  color-scheme: dark;
  --paper: #0b1117; --ink: #eaf4f3; --muted: #a7b9c0; --line: #2b3c46;
  --accent: #70e9e1; --button: #78ece4; --btn-ink: #09222a;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font: 700 3rem/.98 var(--face); letter-spacing: -.022em; }
h2 { font-size: clamp(2.5rem, 4.7vw, 4.6rem); }
.wrap { max-width: 1280px; width: calc(100% - clamp(36px, 10vw, 160px)); margin-inline: auto; }
.skip { position: fixed; inset: 8px auto auto 8px; z-index: 5; transform: translateY(-160%); padding: .6rem .9rem; background: var(--paper); }
.skip:focus { transform: none; }
.mast { background: #171919; color: #fff3d7; border-bottom: 1px solid #303232; }
.shardlatch .mast { background: #0a1117; color: var(--ink); border-bottom-color: #2a3940; }
.nav-row, .foot { display: flex; align-items: center; gap: clamp(12px, 3.5vw, 55px); }
.nav-row { min-height: 72px; }
.mast-brand, .footer-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.mast-brand img { width: 122px; height: 34px; object-fit: contain; }
.shardlatch .mast-brand img { width: 151px; height: 36px; }
.mast nav, .foot nav, .languages { display: flex; align-items: center; flex-wrap: wrap; }
.mast nav { margin-left: auto; justify-content: flex-end; gap: clamp(12px, 2.7vw, 38px); }
.mast nav a, .languages a, .foot a { text-decoration: none; }
.mast nav a, .languages a { display: inline-flex; align-items: center; min-height: 44px; }
.mast nav a { font-size: .92rem; font-weight: 600; }
.mast nav a:hover, .foot a:hover { text-decoration: underline; }
.languages { flex-wrap: nowrap; gap: 6px; font-size: .78rem; letter-spacing: .04em; }
.languages span { opacity: .45; }
.languages a { color: #aaa9a3; }
.languages a[aria-current] { color: #fff5db; text-decoration: underline; text-decoration-color: #ff735b; text-decoration-thickness: 2px; }
.shardlatch .languages a[aria-current] { color: var(--accent); text-decoration-color: currentColor; }
.eyeline, .caption, figcaption small { font-size: .78rem; line-height: 1.35; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.eyeline { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.eyeline i { width: 27px; height: 3px; background: var(--accent); }
.eyeline span { color: #9ba9b2; }
.lede { max-width: 43ch; font-size: clamp(1.03rem,1.45vw,1.28rem); line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.8rem; min-height: 48px; padding: .8rem 1.15rem; background: var(--button); color: var(--btn-ink); font-weight: 700; text-decoration: none; border-radius: 3px; }
.button span { font-size: 1.28rem; line-height: 1; }
.button:hover { filter: brightness(1.09); }
.studio-hero { background: #f6edd9; border-bottom: 2px solid #262522; overflow: hidden; }
.studio-intro { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(20px,5vw,70px); padding-block: clamp(36px,5.8vw,90px); }
.studio-copy h1 { font-size: clamp(5rem,9.3vw,9rem); line-height: .83; margin: .19em 0 .23em; }
.studio-copy h1 em { font-style: normal; color: #ad2a20; }
.studio-copy .lede { color: #4e493e; }
.studio-copy .button { margin-top: 25px; }
.arcade-art { min-height: 320px; aspect-ratio: 1.26; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; border: 2px solid #231d1c; border-radius: 7px; box-shadow: 6px 6px 0 #241d1a; background: linear-gradient(140deg,#f54630 0%,#e13929 55%,#ce2e22 100%); }
.arcade-art::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle,#792521 1.2px,transparent 1.5px) 0 0/7px 7px; mask-image: linear-gradient(120deg,#000,transparent 44%,transparent 68%,#000); }
.arcade-art::after { content:""; position:absolute; z-index:-1; width:74%; aspect-ratio:1; border:1px solid #ffb578; border-radius:50%; box-shadow:0 0 0 16px #f65c3e,0 0 0 17px #fe996e; }
.arcade-logo { width: 84%; height: auto; transform: rotate(-3deg); filter: drop-shadow(0 9px 0 #75272380); }
.section { padding-block: clamp(43px,6vw,86px); }
.section-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(22px,3vw,38px); }
.caption, figcaption small { color: var(--muted); }
.game-feature { display: grid; grid-template-columns: 1.55fr 1fr; overflow: hidden; border: 1px solid #baaf9e; border-radius: 5px; background: #fffaee; }
.feature-shot { display: block; overflow: hidden; background: #171720; }
.feature-shot img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: clamp(24px,4vw,60px); align-self: center; }
.feature-copy h3 { margin: 12px 0 16px; font-size: clamp(3rem,5.2vw,5.4rem); }
.feature-copy p, .support p, .note-grid p, .section-intro, .unit p, .policy p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 1.2rem; font-weight: 650; min-height: 42px; }
.feature-copy .text-link { margin-top: 17px; color: var(--accent); }
.studio-note { background: #ebdfc8; border-block: 1px solid var(--line); }
.note-grid { display: grid; grid-template-columns: minmax(90px,190px) minmax(0,650px); align-items: center; justify-content: center; gap: clamp(22px,5vw,80px); padding-block: 44px; }
.studio-mark { height: 140px; width: 100%; object-fit: contain; }
.note-grid p { margin-top: 13px; max-width: 58ch; }
.support { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-block: clamp(40px,5vw,75px); }
.support p { max-width: 48ch; margin-top: 12px; }
.support .text-link { overflow-wrap: anywhere; }
footer { background: #181918; color: #f9edda; }
.shardlatch footer { background: #080e14; color: var(--ink); border-top: 1px solid var(--line); }
.foot { min-height: 86px; justify-content: space-between; padding-block: 20px; }
.footer-brand img { width: 105px; }
.foot nav { gap: 10px 22px; font-size: .9rem; }
.game-hero { min-height: clamp(490px,45vw,700px); position: relative; display: grid; align-items: end; isolation: isolate; background: #111923; overflow: hidden; }
.world, .game-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.world { object-fit: cover; object-position: 60% 48%; }
.game-hero::after { content: ""; background: linear-gradient(90deg,rgba(5,12,18,.93) 0%,rgba(6,13,18,.68) 35%,rgba(7,12,18,.08) 69%),linear-gradient(0deg,rgba(9,17,22,.82),transparent 45%); }
.hero-layer { padding-block: clamp(60px,6vw,90px); }
.hero-layer .eyeline { color: #b9dbd9; }
.hero-layer h1 { margin: 20px 0 22px; }
.hero-layer h1 img { width: min(570px,52vw); height: auto; }
.hero-layer .lede { color: #e2eded; max-width: 44ch; }
.actions { display: flex; gap: 15px 25px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.hero-link { font-weight: 650; }
.facts { border-block: 1px solid #354750; background: #142027; }
.facts-grid { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 22px; }
.facts-grid div { display: flex; gap: clamp(8px,1.4vw,22px); align-items: baseline; justify-content: center; border-right: 1px solid #40535c; }
.facts-grid div:last-child { border-right: 0; }
.facts b { color: var(--accent); font: 700 clamp(2rem,3.8vw,3.8rem)/1 var(--face); }
.facts span { color: #c3cecf; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px,2.6vw,40px) clamp(14px,2vw,28px); }
.shot { display: block; position: relative; border: 1px solid #35434e; border-radius: 3px; overflow: hidden; }
.shot img { width: 100%; height: auto; }
.shot span { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; height: 27px; width: 28px; background: #0b151ddb; color: #e2fffd; border: 1px solid #709292; font-size: 1.2rem; }
.shot:hover { border-color: var(--accent); }
figcaption { padding-top: 10px; display: flex; flex-direction: column; gap: 3px; }
figcaption small, .unit .caption { color: var(--accent); font-size: .7rem; }
figcaption strong { font-size: 1.09rem; font-weight: 600; }
.cast { background: #111c23; border-block: 1px solid var(--line); }
.cast .section-top { margin-bottom: 12px; }
.section-intro { max-width: 60ch; margin-bottom: 30px; }
.cast-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.unit { background: #101820; border: 1px solid #2a3d46; border-radius: 4px; overflow: hidden; }
.portrait { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 76%,#25414b 0%,#16272e 46%,#101b23 79%); border-bottom: 1px solid #2b3a40; }
.portrait img { width: 87%; height: auto; }
.unit-text { padding: 16px 18px 20px; }
.unit h3 { margin-block: 7px 12px; font-size: 2.35rem; }
.unit p { font-size: .94rem; }
.policy-link { display: block; font-size: .92rem; color: var(--muted); }
.policy { max-width: 780px; padding-block: 53px 80px; }
.policy h1 { margin: 20px 0; font-size: clamp(3rem,7vw,5rem); }
.policy-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 20px; }
.policy-nav a, .other-language { color: var(--accent); }
.policy-nav a { padding: 8px 14px; border: 1px solid var(--line); }
.policy section { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 30px; }
.policy h3 { font-size: 1.65rem; margin-block: 27px 8px; }
.policy p { margin-top: 12px; overflow-wrap: anywhere; }
dialog { padding: 0; width: min(1140px,94vw); max-height: 95dvh; color: #edf8f8; border: 1px solid #63828a; border-radius: 5px; background: #0b151c; }
dialog::backdrop { background: #01070be8; }
dialog > img { width: 100%; max-height: 72dvh; object-fit: contain; }
.viewer-bar, .viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 14px; }
.viewer-bar button, .viewer-foot button { border: 0; color: var(--accent); background: transparent; min-height: 43px; padding: 5px 10px; }
.viewer-bar button { font-size: 1.8rem; line-height: 1; }
@media (max-width:860px) {
  .gallery, .cast-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .arcade-art { min-height: 230px; }
  .feature-copy { padding: 24px; }
}
@media (max-width:650px) {
  .wrap { width: calc(100% - 36px); }
  .nav-row { gap: 9px 16px; min-height: 0; padding-top: 8px; flex-wrap: wrap; }
  .mast-brand { order: 0; }.languages { order: 1; margin-left: auto; }
  .mast nav { order: 2; width: 100%; justify-content: flex-start; gap: 21px; margin: -8px 0 0; }
  .mast nav a { min-height: 40px; font-size: .86rem; }
  .mast-brand img { width: 103px; height: 30px; }
  .shardlatch .mast-brand img { width: 133px; height: 30px; }
  .studio-intro, .game-feature { grid-template-columns: 1fr; }
  .studio-intro { gap: 28px; }
  .studio-copy h1 { font-size: clamp(4.7rem,17vw,7rem); }
  .arcade-art { min-height: 0; width: min(100%,410px); aspect-ratio: 1.55; margin-inline: auto; }
  .arcade-logo { width: 71%; }
  .feature-shot img { height: auto; }
  .note-grid { grid-template-columns: minmax(60px,90px) 1fr; gap: 15px; }
  .studio-mark { height: 100px; }
  .foot { align-items: flex-start; flex-direction: column; gap: 13px; }
  .game-hero { min-height: 465px; }
  .world { object-position: 59% 30%; }
  .game-hero::after { background: linear-gradient(0deg,#071017 1%,#071017dc 30%,#08101836 88%); }
  .hero-layer { padding: 125px 0 31px; }
  .hero-layer h1 img { width: min(430px,100%); }
  .facts-grid { padding-block: 16px; }
  .facts-grid div { flex-direction: column; gap: 4px; align-items: center; text-align: center; }
  .facts span { font-size: .76rem; }
  .gallery { gap: 21px 12px; }
  .cast-grid { gap: 12px; }
  .unit-text { padding: 11px 12px 16px; }
  .unit h3 { font-size: 2rem; }.unit p { font-size: .88rem; }
}
@media (max-width:420px) {
  .gallery { grid-template-columns: 1fr; }
  .note-grid { grid-template-columns: 1fr; }.studio-mark { height: 75px; width: auto; }
  .hero-link { font-size: .9rem; }
  .support .text-link { font-size: .96rem; }
}
