:root {
  --bg: #101015;
  --bg-2: #15161d;
  --panel: #1d1e27;
  --panel-2: #23242e;
  --text: #f4f4ef;
  --muted: #9a9ba8;
  --line: rgba(244,244,239,.14);
  --accent: #ffdb21;
  --green: #18cf9b;
  --violet: #8b78ff;
  --rail: 238px;
  --max: 1240px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; opacity: .17; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.page-main { padding-right: var(--rail); }
.container { width: min(calc(100% - 76px), var(--max)); margin: 0 auto; }
.mono, .kicker, .meta, .tag, .rail-nav, .rail-index, .button, .footer-note { font-family: 'Courier New', Consolas, monospace; letter-spacing: .07em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.kicker::before { content: ''; width: 36px; height: 3px; background: currentColor; }
.section { padding: 112px 0; position: relative; }
.section-dark, .section-blue, .section-yellow, .section-ink { background: var(--bg); color: var(--text); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 48px; }
.section-head h2 { max-width: 740px; margin: 14px 0 0; font-size: clamp(36px, 5vw, 68px); line-height: .95; letter-spacing: -.07em; }
.section-head p { max-width: 360px; margin: 0; color: var(--muted); font-size: 15px; }
.display { margin: 0; font-size: clamp(52px, 7.8vw, 108px); line-height: .88; letter-spacing: -.095em; font-weight: 800; }
.lead { font-size: clamp(19px, 2.1vw, 25px); line-height: 1.3; }
.muted { color: var(--muted); }

/* Right navigation */
.site-rail { position: fixed; z-index: 30; inset: 0 0 0 auto; width: var(--rail); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 24px; padding: 24px 15px; background: rgba(13,13,18,.94); border-left: 1px solid var(--line); backdrop-filter: blur(16px); }
.rail-brand { display: grid; place-items: center; width: 43px; height: 43px; color: var(--bg); background: var(--accent); border-radius: 8px 3px 8px 3px; font-size: 12px; font-weight: 900; transform: rotate(-6deg); }
.rail-brand:hover { background: var(--text); }
.rail-nav { width: 208px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 16px; row-gap: 13px; text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.rail-nav a { position: relative; white-space: nowrap; color: var(--muted); transition: color .2s; }
.rail-nav a:hover, .rail-nav a.active { color: var(--accent); }
.rail-nav a.active::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 18px; height: 2px; background: var(--accent); transform: translateX(-50%); }
.rail-cta { display: grid; place-items: center; width: 44px; height: 44px; margin-top: auto; color: var(--text); border: 1px solid var(--line); font-size: 21px; transition: background .2s, color .2s; }
.rail-cta:hover { color: var(--bg); background: var(--accent); }
.menu-toggle { display: none; width: 39px; height: 39px; color: var(--text); border: 1px solid var(--line); background: transparent; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 19px; color: var(--text); border: 1px solid var(--line); border-radius: 10px; background: transparent; font-size: 11px; font-weight: 700; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-3px); border-color: var(--accent); }
.button-orange, .button-primary { color: var(--bg); background: var(--accent); border-color: var(--accent); box-shadow: 0 9px 28px rgba(255,219,33,.15); }
.button-orange:hover, .button-primary:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.button-blue { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.button-inverse { color: var(--text); border-color: var(--line); }
.button-inverse:hover { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.arrow { font-size: 18px; line-height: .5; }

/* Company homepage */
.hero { min-height: min(760px, 100vh); display: flex; align-items: center; padding: 85px 0 70px; }
.hero-layout { display: grid; grid-template-columns: 1.18fr .82fr; gap: 75px; align-items: center; }
.hero h1 { max-width: 850px; margin: 25px 0 25px; }
.hero h1 .line { display: block; }
.hero h1 .line:nth-child(2) { color: var(--accent); }
.hero-copy { max-width: 600px; margin: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; gap: 28px; margin-top: 55px; }
.hero-stats div { min-width: 90px; padding-top: 10px; border-top: 1px solid var(--accent); }
.hero-stats b { display: block; font-size: 24px; line-height: 1; }
.hero-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.hero-board { position: relative; min-height: 470px; }
.hero-board::before { content: 'KTB / COMPANY PROFILE'; position: absolute; right: 0; top: 4%; color: var(--muted); font: 700 10px 'Courier New', monospace; letter-spacing: .16em; writing-mode: vertical-rl; }
.hero-visual-window { position: absolute; inset: 7% 5% 6% 0; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(circle at 72% 20%, rgba(255,219,33,.18), transparent 31%), linear-gradient(145deg, #20212a, #14151c); box-shadow: 0 24px 75px rgba(0,0,0,.28); }
.window-bar { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font: 700 10px 'Courier New', monospace; text-transform: uppercase; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.window-dots i:nth-child(2) { background: var(--green); }
.window-dots i:nth-child(3) { background: var(--violet); }
.visual-copy { position: absolute; inset: 31% 25px auto; }
.visual-copy strong { display: block; max-width: 300px; color: var(--text); font-size: clamp(31px, 4vw, 55px); line-height: .92; letter-spacing: -.08em; }
.visual-copy em { display: block; margin-top: 8px; color: var(--accent); font-style: normal; }
.visual-rule { position: absolute; left: 25px; right: 25px; bottom: 28px; height: 1px; background: var(--line); }
.visual-rule::after { content: 'PEOPLE / PROCESS / PURPOSE'; position: absolute; right: 0; bottom: 9px; color: var(--muted); font: 700 10px 'Courier New', monospace; }
.company-statement { border-block: 1px solid var(--line); }
.company-statement .container { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); }
.statement-cell { min-height: 138px; padding: 23px 19px 20px 0; border-right: 1px solid var(--line); }
.statement-cell + .statement-cell { padding-left: 19px; }
.statement-cell:last-child { border: 0; }
.statement-cell:first-child { background: var(--accent); color: var(--bg); padding-left: 19px; }
.statement-cell strong { display: block; margin-bottom: 13px; font-size: clamp(28px, 3vw, 46px); line-height: .88; letter-spacing: -.08em; }
.statement-cell p { margin: 0; color: var(--muted); font-size: 12px; }
.statement-cell:first-child p { color: var(--bg); }
.editorial-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: start; }
.editorial-intro h2 { max-width: 470px; margin: 0; font-size: clamp(38px, 5vw, 70px); line-height: .92; letter-spacing: -.075em; }
.editorial-copy { max-width: 680px; }
.editorial-copy p { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.index-list { margin: 33px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.index-list li { display: grid; grid-template-columns: 1fr 20px; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14px; }
.index-list i { color: var(--accent); font-style: normal; }

/* Image 2-style journey windows */
.journey-section { border-top: 1px solid var(--line); }
.journey-heading { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.journey-heading h2 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 62px); line-height: .95; letter-spacing: -.07em; }
.journey-heading p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 15px; }
.journey-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.journey-cards::before { content: ''; position: absolute; z-index: 0; top: 50%; left: 14%; right: 14%; height: 2px; background: var(--accent); }
.journey-card { position: relative; z-index: 1; min-height: 360px; padding: 28px 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: linear-gradient(145deg, #24252e, #1a1b23); box-shadow: 0 20px 45px rgba(0,0,0,.18); }
.journey-card:nth-child(2) { border-color: rgba(255,219,33,.42); }
.journey-card:nth-child(3) { border-color: rgba(24,207,155,.38); }
.journey-card .card-no { position: absolute; top: 17px; right: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--text); font: 700 12px 'Courier New', monospace; }
.journey-card:nth-child(2) .card-no { color: var(--accent); background: rgba(255,219,33,.14); }
.journey-card:nth-child(3) .card-no { color: var(--green); background: rgba(24,207,155,.13); }
.card-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 4px 0 37px; border-radius: 16px; color: var(--accent); background: rgba(255,219,33,.13); font-size: 27px; }
.journey-card:nth-child(1) .card-icon { color: #b7b8c2; background: rgba(255,255,255,.08); }
.journey-card:nth-child(3) .card-icon { color: var(--green); background: rgba(24,207,155,.12); }
.journey-card small { display: block; color: var(--muted); font-size: 11px; }
.journey-card h3 { margin: 7px 0 12px; font-size: 27px; line-height: .95; letter-spacing: -.055em; }
.journey-card p { min-height: 45px; margin: 0; color: var(--muted); font-size: 13px; }
.journey-card ul { margin: 20px 0 0; padding: 0; list-style: none; color: #c0c1c9; font-size: 12px; }
.journey-card li { margin-top: 9px; }
.journey-card li::before { content: '•'; margin-right: 10px; color: var(--accent); }
.journey-card:nth-child(3) li::before { color: var(--green); }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.culture-card { min-height: 235px; padding: 27px; background: var(--bg-2); }
.culture-card h3 { margin: 42px 0 10px; font-size: 24px; line-height: .95; letter-spacing: -.05em; }
.culture-card p { margin: 0; color: var(--muted); font-size: 13px; }
.cta-band { padding: 90px 0; border-block: 1px solid var(--line); background: radial-gradient(circle at 75% 35%, rgba(255,219,33,.17), transparent 34%), var(--bg-2); }
.cta-band .inner { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.cta-band h2 { max-width: 700px; margin: 0; font-size: clamp(44px, 6vw, 78px); line-height: .9; letter-spacing: -.08em; }
.cta-band p { max-width: 340px; margin: 0; color: var(--muted); }

/* Inner pages */
.inner-hero { padding: 92px 0 76px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 18%, rgba(255,219,33,.12), transparent 32%); }
.inner-hero h1 { max-width: 940px; margin: 20px 0 23px; font-size: clamp(55px, 7vw, 105px); line-height: .86; letter-spacing: -.09em; }
.inner-hero h1 em { color: var(--accent); font-style: normal; }
.inner-hero p { max-width: 600px; margin: 0; color: var(--muted); font-size: 17px; }
.crumb { margin-top: 39px; color: var(--accent); font: 700 11px 'Courier New', monospace; text-transform: uppercase; }
.studio-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.studio-stat { min-height: 190px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.studio-stat strong { display: block; font-size: clamp(45px, 6vw, 82px); line-height: .8; letter-spacing: -.1em; }
.studio-stat span { display: block; margin-top: 30px; color: var(--accent); font: 700 10px 'Courier New', monospace; text-transform: uppercase; }
.studio-stat p { max-width: 250px; margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { min-height: 190px; padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.value h3 { margin: 50px 0 8px; font-size: 22px; line-height: .95; letter-spacing: -.05em; }
.value p { margin: 0; color: var(--muted); font-size: 12px; }
.studio-quote { max-width: 850px; margin: auto; text-align: center; }
.studio-quote blockquote { margin: 0; font-size: clamp(30px, 4.5vw, 58px); line-height: .95; letter-spacing: -.07em; }
.studio-quote cite { display: block; margin-top: 22px; color: var(--accent); font: 700 10px 'Courier New', monospace; }

/* Games catalog */
.game-index-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; }
.game-index-intro h2 { margin: 0; font-size: clamp(44px, 5.8vw, 75px); line-height: .9; letter-spacing: -.08em; }
.game-index-intro p { margin: 0; color: var(--muted); font-size: 17px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 46px 0 22px; }
.filter-button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: transparent; font: 700 11px 'Courier New', monospace; }
.filter-button:hover, .filter-button.active { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.catalog-list { border-top: 1px solid var(--line); }
.catalog-item { display: grid; grid-template-columns: 72px 1.1fr 1fr 130px 30px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.catalog-item:hover { padding-inline: 17px; background: var(--panel); }
.catalog-item .no { color: var(--accent); font: 700 13px 'Courier New', monospace; }
.catalog-item img { width: 100%; aspect-ratio: 1.95/1; object-fit: cover; border-radius: 10px; }
.catalog-item h3 { margin: 0 0 6px; font-size: 25px; line-height: .92; letter-spacing: -.06em; }
.catalog-item p { margin: 0; color: var(--muted); font-size: 12px; }
.catalog-item .kind { color: var(--accent); font: 700 10px 'Courier New', monospace; }
.catalog-item .arrow-link { justify-self: end; color: var(--accent); font-size: 25px; }
.catalog-item.is-hidden { display: none; }

/* Product pages */
.product-hero { padding: 72px 0 0; }
.product-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.product-number { color: var(--accent); font: 900 clamp(75px, 10vw, 145px)/.7 Arial, sans-serif; letter-spacing: -.13em; }
.product-heading { display: grid; grid-template-columns: .82fr 1.18fr; gap: 65px; align-items: end; padding-bottom: 58px; }
.product-heading h1 { margin: 0; font-size: clamp(52px, 7vw, 100px); line-height: .86; letter-spacing: -.09em; }
.product-heading h1 em { display: block; color: var(--accent); font-style: normal; }
.product-heading-copy { max-width: 560px; }
.product-heading-copy p { margin: 0 0 23px; color: var(--muted); font-size: 17px; }
.product-meta-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-meta-strip div { padding: 17px 15px 18px 0; border-right: 1px solid var(--line); }
.product-meta-strip div + div { padding-left: 15px; }
.product-meta-strip div:last-child { border: 0; }
.product-meta-strip span { display: block; color: var(--muted); font: 700 10px 'Courier New', monospace; }
.product-meta-strip b { display: block; margin-top: 6px; font-size: 14px; }
.product-cover { position: relative; overflow: hidden; margin: 38px 0 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.product-cover img { width: 100%; aspect-ratio: 2.25/1; object-fit: cover; }
.product-cover::after { content: 'PLAY TEST / 001'; position: absolute; right: 15px; bottom: 13px; padding: 6px 8px; color: var(--bg); background: var(--accent); font: 700 9px 'Courier New', monospace; }
.product-content { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; }
.product-content h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: .9; letter-spacing: -.075em; }
.product-copy p { max-width: 650px; margin: 0 0 21px; color: var(--muted); font-size: 16px; }
.play-loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.play-loop article { min-height: 185px; padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.play-loop b { color: var(--accent); font: 700 10px 'Courier New', monospace; }
.play-loop h3 { margin: 42px 0 8px; font-size: 20px; line-height: .95; letter-spacing: -.05em; }
.play-loop p { margin: 0; color: var(--muted); font-size: 12px; }
.screenshot-ribbon { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scrollbar-color: var(--accent) transparent; }
.screenshot-ribbon figure { flex: 0 0 218px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.screenshot-ribbon img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.screenshot-ribbon figcaption { padding: 10px; color: var(--accent); font: 700 10px 'Courier New', monospace; }
.product-close { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-top: 50px; border-top: 1px solid var(--line); }
.product-close h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: .9; letter-spacing: -.075em; }
.product-close p { max-width: 340px; color: var(--muted); }

/* News/contact */
.news-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.news-story { min-height: 285px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .2s, border-color .2s; }
.news-story:hover { transform: translateY(-5px); border-color: var(--accent); }
.news-story .date { color: var(--accent); font: 700 10px 'Courier New', monospace; }
.news-story h3 { max-width: 480px; margin: 55px 0 10px; font-size: clamp(25px, 3vw, 42px); line-height: .93; letter-spacing: -.065em; }
.news-story p { max-width: 440px; margin: 0; color: var(--muted); font-size: 13px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.contact-layout h2 { margin: 17px 0 22px; font-size: clamp(48px, 7vw, 88px); line-height: .86; letter-spacing: -.09em; }
.contact-layout .lead { max-width: 400px; color: var(--muted); }
.contact-info { margin-top: 50px; border-top: 1px solid var(--line); }
.contact-info div { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-info span { color: var(--accent); font: 700 10px 'Courier New', monospace; }
.contact-info b { font-size: 14px; }
.contact-form { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #24252e, #181920); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--accent); font: 700 10px 'Courier New', monospace; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 12px; color: var(--text); background: rgba(16,16,21,.72); border: 1px solid var(--line); border-radius: 8px; outline: 0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,219,33,.1); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { min-height: 22px; margin: 15px 0 0; color: var(--green); font-size: 13px; }

/* Legal and footer */
.legal-shell { max-width: 900px; padding: 75px 0 105px; }
.legal-shell h1 { margin: 0 0 40px; font-size: clamp(52px, 7vw, 100px); line-height: .86; letter-spacing: -.09em; }
.content-text { color: var(--text); font-size: 15px; }
.content-text strong { color: var(--text); font-size: 20px; }
.content-text p { color: var(--muted); }
.content-text a { color: var(--accent); }
.site-footer { padding: 52px 0 21px; background: #0b0b0f; border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 50px; }
.footer-brand { color: var(--text); font-size: 19px; font-weight: 900; letter-spacing: -.06em; }
.footer-brand small { display: block; margin-top: 8px; color: var(--muted); font: 700 10px 'Courier New', monospace; letter-spacing: .08em; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 10px 42px; }
.footer-links a { color: var(--muted); font: 700 10px 'Courier New', monospace; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; color: #686975; border-top: 1px solid var(--line); font-size: 10px; }
.footer-bottom a { color: var(--accent); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s, transform .65s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-layout, .product-heading, .contact-layout, .product-content { grid-template-columns: 1fr; gap: 45px; }
  .hero-board { min-height: 420px; max-width: 620px; width: 100%; margin: auto; }
  .company-statement .container { grid-template-columns: 1fr 1fr; }
  .statement-cell:first-child { grid-column: 1 / -1; }
  .statement-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .statement-cell:nth-child(3) { border-bottom: 1px solid var(--line); border-right: 0; }
  .journey-cards { grid-template-columns: 1fr; max-width: 560px; margin: auto; }
  .journey-cards::before { top: 13%; bottom: 13%; left: 50%; right: auto; width: 2px; height: auto; }
  .culture-grid { grid-template-columns: 1fr; }
  .culture-card { min-height: auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-item { grid-template-columns: 55px 1fr 1fr 35px; }
  .catalog-item img { grid-column: 2; grid-row: 1; }
  .catalog-item .catalog-copy { grid-column: 3; }
  .catalog-item .kind { grid-column: 3; }
  .catalog-item .arrow-link { grid-column: 4; grid-row: 1 / span 2; }
}

@media (max-width: 680px) {
  :root { --rail: 0px; }
  .page-main { padding-right: 0; }
  .container { width: min(calc(100% - 34px), var(--max)); }
  .site-rail { position: sticky; inset: auto; width: 100%; height: 68px; flex-direction: row; justify-content: space-between; gap: 0; padding: 12px 16px; border-left: 0; border-bottom: 1px solid var(--line); }
  .rail-nav { position: absolute; display: none; top: 68px; left: 0; right: 0; width: auto; padding: 13px 17px; align-items: flex-start; gap: 0; text-align: left; background: #0e0e13; border-bottom: 1px solid var(--line); }
  .rail-nav.open { display: grid; }
  .rail-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .rail-nav a:last-child { border: 0; }
  .rail-nav a.active::after { left: -17px; top: 13px; width: 3px; height: 20px; border-radius: 0; transform: none; }
  .menu-toggle { display: block; }
  .rail-cta { margin-top: 0; }
  .section { padding: 78px 0; }
  .section-head, .cta-band .inner, .footer-main, .footer-bottom { display: block; }
  .section-head p { margin-top: 20px; }
  .hero { min-height: auto; padding: 74px 0 58px; }
  .hero-board { min-height: 330px; }
  .hero-visual-window { inset: 5% 0 5% 0; }
  .hero-stats { gap: 14px; margin-top: 42px; }
  .hero-stats b { font-size: 20px; }
  .company-statement .container { grid-template-columns: 1fr 1fr; }
  .statement-cell { min-height: 120px; padding: 20px 12px; }
  .statement-cell + .statement-cell { padding-left: 12px; }
  .statement-cell:first-child { padding-left: 12px; }
  .statement-cell strong { font-size: 32px; }
  .editorial-intro { grid-template-columns: 1fr; gap: 32px; }
  .journey-heading { text-align: left; }
  .journey-heading p { margin-left: 0; }
  .journey-card { min-height: 305px; padding: 23px; }
  .journey-cards::before { top: 12%; bottom: 12%; }
  .cta-band { padding: 70px 0; }
  .cta-band p { margin-top: 25px; }
  .studio-stats { grid-template-columns: 1fr; }
  .studio-stat { min-height: 145px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .value { min-height: 180px; padding: 17px; }
  .value h3 { margin-top: 42px; font-size: 19px; }
  .game-index-intro { grid-template-columns: 1fr; gap: 22px; }
  .catalog-item { grid-template-columns: 37px 1fr 31px; gap: 11px; }
  .catalog-item img { grid-column: 2; grid-row: 1; }
  .catalog-item .catalog-copy { grid-column: 2; grid-row: 2; }
  .catalog-item .kind { grid-column: 2; grid-row: 3; }
  .catalog-item .arrow-link { grid-column: 3; grid-row: 1 / span 3; }
  .catalog-item h3 { font-size: 21px; }
  .product-heading { gap: 30px; }
  .product-meta-strip { grid-template-columns: 1fr 1fr; }
  .product-meta-strip div:nth-child(2) { border-right: 0; }
  .product-meta-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-meta-strip div:nth-child(3) { padding-left: 0; }
  .product-cover img { aspect-ratio: 1.45/1; }
  .play-loop { grid-template-columns: 1fr; }
  .play-loop article { min-height: auto; }
  .play-loop h3 { margin-top: 28px; }
  .screenshot-ribbon figure { flex-basis: 185px; }
  .product-close { display: block; }
  .product-close .button { margin-top: 15px; }
  .news-layout { grid-template-columns: 1fr; }
  .news-story { min-height: auto; }
  .news-story h3 { margin-top: 39px; }
  .contact-form { margin-top: 15px; padding: 19px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field.full { grid-column: auto; }
  .footer-links { margin-top: 32px; }
  .footer-bottom { line-height: 2; }
}

