/* SIMIRIALS — direction C ("Night Launcher") */

:root {
  --amber: #FEB500;
  --navy: #0E1728;
  --navy-deep: #0A111F;
  --panel: #16213A;
  --panel-2: #1D2A47;
  --cream: #F2EDE3;
  --muted: #A9B1C3;
  --text-2: #D9D6CE;
  --text-3: #E6E2D8;
  --line: rgba(242, 237, 227, 0.1);
  --soft: rgba(242, 237, 227, 0.12);
  --soft-2: rgba(242, 237, 227, 0.14);
  --dash: rgba(242, 237, 227, 0.25);
  --ink-muted: rgba(14, 23, 40, 0.74);
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
  --gutter: 56px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
button { font: inherit; color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--navy); }
section[id] { scroll-margin-top: var(--header-h); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; padding: 10px 16px; background: var(--amber); color: var(--navy); font-weight: 700; }
.skip:focus { left: 16px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.amber { color: var(--amber); }

/* Chamfered corners, echoing the 45° cuts in the logo */
.c8, .c9, .c10, .c12, .c14, .c22 {
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.c8 { --c: 8px; } .c9 { --c: 9px; } .c10 { --c: 10px; } .c12 { --c: 12px; } .c14 { --c: 14px; } .c22 { --c: 22px; }

/* ---------- Framing hands ---------- */
@keyframes simTL { from { transform: translate(-40px, -40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes simBR { from { transform: translate(40px, 40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes simTLb { from { transform: translate(-40px, -40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes simBRb { from { transform: translate(40px, 40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.sim-hand {
  position: absolute;
  pointer-events: none;
  left: calc(-1 * var(--g));
  top: calc(-1 * var(--g));
  width: calc(100% + 2 * var(--g));
  height: calc(100% + 2 * var(--g));
  z-index: 3;
}
.sim-hand span { position: absolute; background: var(--amber); }
.sim-hand .band {
  left: calc(-1 * var(--t));
  width: calc(100% + 2 * var(--t));
  height: var(--t);
  clip-path: polygon(var(--t) 0, 100% 0, calc(100% - var(--t)) 100%, 0 100%);
}
.sim-tl .band { top: calc(-1 * var(--t)); }
.sim-br .band { top: 100%; }
.sim-hand .wedge { top: 0; width: var(--t); height: 100%; }
.sim-tl .wedge { left: calc(-1 * var(--t)); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.sim-br .wedge { left: 100%; clip-path: polygon(0 0, 0 100%, 100% 100%); }

.sim-in .sim-tl { animation: simTL .9s var(--ease) both; }
.sim-in .sim-br { animation: simBR .9s var(--ease) .08s both; }
.sim-in.sim-alt .sim-tl { animation-name: simTLb; }
.sim-in.sim-alt .sim-br { animation-name: simBRb; }

.sim-hover .sim-hand { opacity: 0; transition: transform .35s var(--ease), opacity .25s; }
.sim-hover .sim-tl { transform: translate(-16px, -16px); }
.sim-hover .sim-br { transform: translate(16px, 16px); }
.sim-hover:hover .sim-hand,
.sim-hover:focus-within .sim-hand,
.sim-hover.sim-on .sim-hand { opacity: 1; transform: none; }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-soft { background: var(--soft); color: var(--cream); padding: 0 22px; font-size: 15px; font-weight: 600; }
.btn-navy { background: var(--navy); color: var(--amber); height: 48px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 54px; }
.btn-md { height: 46px; padding: 0 20px; font-size: 15px; }
.btn-sm { height: 40px; padding: 0 14px; font-size: 13px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-soft.btn-sm { background: var(--soft-2); }

.arrow {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 0;
  background: var(--soft-2);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.arrow-amber { background: var(--amber); color: var(--navy); }
.arrow:hover { opacity: .85; }

.mono-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.h2 { margin: 0; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.sub { font-size: 18px; line-height: 1.55; color: var(--muted); }
.link-line { font-size: 16px; font-weight: 600; color: var(--amber); border-bottom: 2px solid var(--amber); padding-bottom: 3px; }
.link-ink { color: var(--navy); border-color: var(--navy); font-weight: 700; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 23, 40, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--amber); border-bottom: 2px solid var(--amber); padding-bottom: 4px; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; font-family: var(--mono); font-size: 12px; font-weight: 700; }
.lang a { height: 40px; min-width: 44px; display: flex; align-items: center; justify-content: center; background: var(--panel-2); color: var(--cream); }
.lang a[aria-current] { background: var(--amber); color: var(--navy); }
.lang a[aria-current]:hover { opacity: 1; }
.steam-btn { display: flex; align-items: center; height: 40px; padding: 0 18px; background: var(--panel-2); font-size: 14px; font-weight: 600; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: var(--panel-2); color: var(--cream); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 28px;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
  animation: fadeIn .2s ease;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.mobile-menu nav a[aria-current="page"] { color: var(--amber); }
.mobile-menu-tools { display: flex; align-items: center; gap: 12px; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-in { min-height: 700px; padding-top: 76px; padding-bottom: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 44px; }
.hero-row { display: flex; gap: 72px; align-items: stretch; }
.hero-frame { --t: 28px; --g: 8px; position: relative; flex: 0 1 750px; min-width: 0; margin-left: 28px; align-self: center; }
.hero-screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; touch-action: pan-y; }
.slide-media { position: absolute; inset: 0; animation: fadeIn .45s ease; }
.slide-media img, .slide-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-media img { object-position: 62% center; }
.sound-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  height: 40px;
  padding: 0 14px;
  border: 0;
  background: rgba(14, 23, 40, .8);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.hero-panel { flex: 1 1 0; min-width: 440px; padding: 26px; background: var(--panel); display: flex; container-type: inline-size; }
.slide-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; animation: fadeUp .45s var(--ease); }
.slide-head { display: flex; gap: 20px; }
.capsule-frame { width: 170px; height: 255px; flex-shrink: 0; padding: 3px; background: var(--amber); }
.capsule-frame img { width: 100%; height: 100%; object-fit: cover; }
.slide-meta { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.chip { padding: 6px 10px; background: rgba(242, 237, 227, .1); line-height: 1.4; white-space: nowrap; }
.chip-status { font-weight: 700; }
.chip-on { background: var(--amber); color: var(--navy); }
.hero-title { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.hero-tagline { font-size: 17px; line-height: 1.5; color: var(--text-2); }
.slide-info .btn-row { flex-wrap: nowrap; }
.slide-info .btn { flex: 0 1 auto; min-width: 0; }
@media (min-width: 768px) {
  @container (max-width: 380px) { .slide-info .btn { padding-inline: 16px; font-size: 15px; } }
}

.hero-strip { display: flex; align-items: stretch; gap: 24px; }
.strip-list {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.strip-list::-webkit-scrollbar { display: none; }
.strip-item {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: .55;
  scroll-snap-align: start;
  transition: opacity .2s;
}
.strip-item:hover, .strip-item[aria-pressed="true"] { opacity: 1; }
.strip-bar { display: block; width: 100%; height: 3px; background: rgba(242, 237, 227, .2); }
.strip-item[aria-pressed="true"] .strip-bar { background: var(--amber); }
.strip-body { display: flex; gap: 12px; align-items: center; }
.strip-body img { width: 44px; height: 66px; flex-shrink: 0; object-fit: cover; }
.strip-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.strip-title { font-size: 15px; font-weight: 600; line-height: 1.25; }
.strip-status { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.strip-side { flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 15px; }
.strip-counter { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.swipe-hint { display: none; }
.arrows { display: flex; gap: 8px; }

/* ---------- Studio (amber band) ---------- */
.band { background: var(--amber); color: var(--navy); }
.studio { padding: 88px 0; }
.studio-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.studio-symbol { grid-column: span 2; width: 150px; height: auto; aspect-ratio: 133.16 / 131.27; }
.studio-text { grid-column: 3 / span 6; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.studio-line { font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.studio-mission { max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--ink-muted); }
.studio-facts { grid-column: 10 / span 3; display: flex; flex-direction: column; }
.fact-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 2px solid var(--navy); font-size: 16px; }
.fact-last { border-bottom: 2px solid var(--navy); }
.fact-row .k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-muted); padding-top: 3px; }
.fact-row .v { font-weight: 600; text-align: right; }
.studio-facts .btn { align-self: flex-start; margin-top: 22px; }

/* ---------- Studio symbol: two hands frame the shot, then the eye opens ---------- */
.sym { display: block; overflow: visible; color: var(--navy); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sym path { fill: currentColor; }
.sym .sym-pupil { fill: var(--amber); }
.sym-a, .sym-b, .sym-eye, .sym-lid, .sym-pupil { transform-box: fill-box; transform-origin: center; }
.js .sym:not(.sym-in):not(.sym-idle) .sym-a { transform: translate(-34px, -34px); opacity: 0; }
.js .sym:not(.sym-in):not(.sym-idle) .sym-b { transform: translate(34px, 34px); opacity: 0; }
.js .sym:not(.sym-in):not(.sym-idle) .sym-eye { transform: scaleY(.06); }
.sym-in .sym-a { animation: symA 1s var(--ease) .1s both; }
.sym-in .sym-b { animation: symB 1s var(--ease) .18s both; }
.sym-in .sym-eye { animation: symOpen .45s var(--ease) 1s both; }
.sym-idle .sym-lid { animation: symBlink 6.5s ease-in-out 1.2s infinite; }
.sym-idle .sym-pupil { animation: symLook 9s ease-in-out .4s infinite; }
.sym-idle.sym-reframe .sym-a { animation: symReA .9s var(--ease); }
.sym-idle.sym-reframe .sym-b { animation: symReB .9s var(--ease) .05s; }
.sym-idle.sym-reframe .sym-eye { animation: symFocus .9s var(--ease); }
@keyframes symA { from { transform: translate(-34px, -34px); opacity: 0; } 45% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes symB { from { transform: translate(34px, 34px); opacity: 0; } 45% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes symOpen { 0% { transform: scaleY(.06); } 70% { transform: scaleY(1.08); } 100% { transform: none; } }
@keyframes symBlink { 0%, 90%, 100% { transform: none; } 93% { transform: scaleY(.08); } 96% { transform: none; } }
@keyframes symLook { 0%, 18%, 100% { transform: none; } 26%, 40% { transform: translateX(-6px); } 50%, 64% { transform: translateX(6px); } 72% { transform: none; } }
@keyframes symReA { 0%, 100% { transform: none; } 35% { transform: translate(-12px, -12px); } }
@keyframes symReB { 0%, 100% { transform: none; } 35% { transform: translate(12px, 12px); } }
@keyframes symFocus { 0%, 100% { transform: none; } 35% { transform: scale(.82); } }

/* ---------- Games ---------- */
.games { padding: 104px 0; }
.shelf { display: flex; gap: 22px; align-items: stretch; margin-bottom: 40px; }
.shelf-item { --t: 16px; --g: 6px; position: relative; width: 220px; height: 330px; flex-shrink: 0; }
.shelf-btn { width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .2s; clip-path: none; }
.shelf-item:hover .shelf-btn, .shelf-item.sim-on .shelf-btn { opacity: 1; }
.shelf-btn img { width: 100%; height: 100%; object-fit: cover; }
.shelf-slot {
  width: 220px;
  height: 330px;
  flex-shrink: 0;
  border: 1.5px dashed var(--dash);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}
.shelf-slot span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-align: center; padding: 0 12px; }
.shelf-note { flex: 1 1 auto; min-width: 240px; padding: 28px; background: var(--panel); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.shelf-note img { width: 52px; height: auto; }
.shelf-note-text { display: flex; flex-direction: column; gap: 10px; }
.shelf-note p { font-size: 20px; font-weight: 600; line-height: 1.3; }
.shelf-note a { font-size: 15px; font-weight: 600; color: var(--amber); }

.game-card { position: relative; background: var(--panel); display: flex; flex-direction: column; animation: fadeIn .35s ease; }
.game-hero { position: relative; height: 430px; overflow: hidden; }
.game-art { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.game-logo { position: absolute; left: 40px; bottom: 40px; width: 500px; max-width: calc(100% - 80px); height: auto; }
.game-body { padding: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 40px; row-gap: 32px; }
.game-main { grid-column: span 7; display: flex; flex-direction: column; gap: 20px; }
.game-desc { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.shot { --t: 10px; --g: 4px; position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.game-side { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; }
.facts { margin: 0; display: flex; flex-direction: column; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.fact dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.fact dd { margin: 0; font-weight: 600; text-align: right; }
.store { display: flex; flex-direction: column; gap: 10px; }
.store-slot { display: flex; align-items: center; height: 54px; padding: 0 20px; border: 1.5px dashed var(--dash); color: var(--muted); font-size: 14px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 17, 31, .97); display: flex; align-items: center; justify-content: center; animation: fadeIn .2s ease; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.lb-frame { --t: 24px; --g: 8px; position: relative; width: min(1100px, calc(100vw - 160px), calc((100vh - 200px) * 16 / 9)); touch-action: pan-y; }
.lb-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.lb-controls { display: flex; align-items: center; gap: 16px; }
.lb-counter { min-width: 64px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; }
.lb-close { position: absolute; right: 28px; top: 24px; }

/* ---------- News (home) ---------- */
.news { padding: 104px 0; background: var(--navy-deep); }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.news-title { display: flex; flex-direction: column; gap: 14px; }
.news-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.news-actions .btn { height: 48px; padding: 0 22px; }
.tiles { display: flex; gap: 8px; flex-wrap: wrap; }
.tile { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--panel); color: var(--amber); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-media { --t: 12px; --g: 5px; position: relative; margin-bottom: 8px; }
.post-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.play { position: absolute; left: 14px; bottom: 14px; width: 48px; height: 48px; background: var(--amber); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.play-lg { left: 16px; bottom: 16px; width: 56px; height: 56px; }
.post-meta { display: flex; align-items: center; gap: 10px; }
.post-meta img { width: 28px; height: 28px; }
.post-author { font-size: 14px; font-weight: 700; }
.post-date { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.post-tag { margin-left: auto; padding: 3px 8px; background: rgba(242, 237, 227, .08); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--text-2); }
.post-text { font-size: 17px; line-height: 1.55; color: var(--text-3); }
.post-link { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--amber); }

/* ---------- Team (amber band) ---------- */
.team { padding: 104px 0; }
.team .section-head { margin-bottom: 48px; }
/* Flex, not grid, so an incomplete last row sits centred. --cols is the number of cards per row. */
.team-grid { --cols: 6; --gx: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 36px var(--gx); }
.member { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols) - .01px); min-width: 0; display: flex; flex-direction: column; gap: 12px; }
/* The card is 5:6. The image is a bit taller than the card: its top strip is headroom
   for the ears that stick out above the frame, so it overflows the card upwards. */
.portrait { position: relative; aspect-ratio: 5 / 6; }
.portrait img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.member-meta { display: flex; flex-direction: column; gap: 5px; }
.member-name { font-size: 17px; line-height: 1.2; font-weight: 700; overflow-wrap: break-word; }
.member-role { font-family: var(--mono); font-size: 11px; line-height: 1.45; letter-spacing: .06em; color: var(--ink-muted); }
@media (max-width: 1279px) {
  .team-grid { --gx: 16px; row-gap: 32px; }
  .member-name { font-size: 16px; }
  .member-role { font-size: 10.5px; letter-spacing: .04em; }
}
@media (max-width: 999px) {
  .team-grid { --gx: 12px; row-gap: 28px; }
  .member { gap: 10px; }
  .member-name { font-size: 14px; }
  .member-role { font-size: 10px; letter-spacing: .02em; }
}

/* ---------- Contact ---------- */
.contact { padding: 104px 0; }
.contact .h2 { margin-bottom: 48px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-col { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 2px solid var(--amber); min-width: 0; }
.contact-mail { font-size: 24px; font-weight: 600; color: var(--amber); overflow-wrap: anywhere; }
.muted { font-size: 16px; color: var(--muted); }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.social-btn { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; background: var(--panel); color: var(--cream); font-size: 15px; font-weight: 600; }
.social-btn svg { color: var(--amber); flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--amber); color: var(--navy); }
.footer-in { min-height: 140px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-in img { height: 36px; width: auto; }
.footer-copy { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.footer-top { font-size: 15px; font-weight: 700; }

/* ---------- News page ---------- */
.news-top { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.news-top-in { display: flex; flex-direction: column; gap: 24px; }
.back-link { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.news-top-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.news-top .news-title { gap: 16px; }
.h1 { margin: 0; font-size: 72px; line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.news-top .sub { font-size: 19px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { height: 44px; padding: 0 18px; border: 0; background: rgba(242, 237, 227, .08); color: var(--cream); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.tab[aria-pressed="true"] { background: var(--amber); color: var(--navy); }
.feed-section { padding: 16px 0 96px; }
.feed-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.feed { grid-column: span 7; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.feed-post { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding: 36px 0; border-top: 1px solid var(--line); animation: fadeIn .3s ease; }
.feed-avatar { width: 48px; height: 48px; }
.feed-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.feed-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.feed-meta .post-author { font-size: 16px; }
.feed-meta .post-date { font-size: 12px; }
.feed-meta .post-tag { margin-left: 0; font-size: 11px; }
.feed-text { font-size: 19px; line-height: 1.55; color: var(--text-3); }
.feed-media { --t: 14px; --g: 6px; position: relative; margin: 8px 12px 12px 0; }
.feed-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feed-placeholder { aspect-ratio: 16 / 9; border: 1.5px dashed var(--dash); display: flex; align-items: center; justify-content: center; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.feed-body .btn { align-self: flex-start; }
.feed-aside { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 40px; padding-top: 36px; position: sticky; top: calc(var(--header-h) + 16px); }
.aside-block { display: flex; flex-direction: column; gap: 14px; }
.aside-games { gap: 0; }
.aside-games .mono-label { padding-bottom: 12px; }
.aside-game { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.aside-game img { width: 48px; height: 72px; object-fit: cover; flex-shrink: 0; }
.aside-game-text { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aside-title { font-size: 15px; font-weight: 600; line-height: 1.25; }
.aside-status { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.aside-press { gap: 10px; padding-top: 18px; border-top: 2px solid var(--amber); }
.aside-press a { font-size: 20px; font-weight: 600; color: var(--amber); overflow-wrap: anywhere; }

/* ================= Responsive ================= */

@media (max-width: 1279px) {
  :root { --gutter: 40px; }
  .hero-row { gap: 56px; }
  .shelf-slot-2 { display: none; }
  .studio-text { grid-column: 3 / span 7; }
}

@media (max-width: 1099px) {
  .hero-in { min-height: 0; padding-top: 56px; gap: 40px; }
  .hero-row { flex-direction: column; gap: 56px; }
  .strip-list { grid-auto-columns: 220px; }
  .hero-frame { flex: none; width: calc(100% - 72px); margin: 0 36px; }
  .hero-panel { min-width: 0; }
  .shelf { overflow-x: auto; scrollbar-width: none; margin: -24px calc(-1 * var(--gutter)) 16px; padding: 24px var(--gutter); scroll-padding-inline: var(--gutter); }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf-note { display: none; }
  .game-body { grid-template-columns: minmax(0, 1fr); }
  .game-main, .game-side { grid-column: auto; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .contact-social { grid-column: 1 / -1; }
  .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feed-grid { grid-template-columns: minmax(0, 1fr); }
  .feed { grid-column: auto; }
  .feed-aside { grid-column: auto; position: static; padding-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .aside-press { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .nav, .header-tools { display: none; }
  .menu-btn { display: flex; }
  .studio-symbol { width: 110px; }
  .studio-text { grid-column: 3 / -1; }
  .studio-facts { grid-column: 3 / -1; margin-top: 40px; max-width: 460px; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 640px; }
  .news-top-row { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .news-grid { max-width: none; gap: 40px; }
  .post-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; row-gap: 12px; align-content: start; }
  .post-card > * { grid-column: 2; }
  .post-card > .post-media { grid-column: 1; grid-row: 1 / span 4; margin: 0; align-self: start; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 64px; }
  .brand img { height: 24px; }
  .h2 { font-size: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .link-line { font-size: 15px; padding-bottom: 2px; }

  /* hero */
  .hero-in { padding-top: 20px; gap: 22px; }
  .hero-row { gap: 18px; }
  .hero-frame { --t: 12px; --g: 4px; width: calc(100% - 28px); margin: 14px 14px 12px; }
  .sound-btn { right: 10px; bottom: 10px; height: 34px; padding: 0 10px; font-size: 11px; }
  .hero-panel { padding: 0; background: none; clip-path: none; }
  .slide-info { gap: 18px; }
  .slide-head { gap: 16px; }
  .capsule-frame { --c: 10px; width: 110px; height: 165px; }
  .capsule-frame img { --c: 8px; }
  .slide-meta { gap: 10px; }
  .chips { gap: 6px; font-size: 10px; letter-spacing: .06em; }
  .chip { padding: 5px 8px; }
  .hero-title { font-size: 26px; }
  .hero-tagline { font-size: 16px; }
  .slide-info .btn-row .btn-amber { flex: 1; }
  .about-btn { display: none; }
  .hero-strip { flex-direction: column-reverse; gap: 10px; }
  .strip-side { padding-top: 0; flex-direction: row; align-items: center; }
  .arrows { display: none; }
  .swipe-hint { display: inline; }
  .strip-counter { font-size: 11px; }
  .strip-list { grid-auto-columns: 200px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .strip-item { gap: 10px; }
  .strip-body { gap: 10px; }
  .strip-body img { width: 36px; height: 54px; }
  .strip-title { font-size: 14px; }
  .strip-status { font-size: 10px; }

  /* studio */
  .studio { padding: 56px 0; }
  .studio-in { display: flex; flex-direction: column; gap: 16px; position: relative; }
  .studio-symbol { position: absolute; right: var(--gutter); top: -8px; width: 56px; }
  .studio-text { gap: 16px; }
  .eyebrow { font-size: 11px; }
  .studio-line { font-size: 28px; line-height: 1.18; }
  .studio-mission { font-size: 16px; }
  .studio-facts { margin-top: 4px; max-width: none; }
  .fact-row { padding: 10px 0; font-size: 15px; }
  .fact-row .k { font-size: 11px; padding-top: 2px; }
  .studio-facts .btn { display: none; }

  /* games */
  .games { padding: 56px 0; }
  .shelf { gap: 12px; margin: 0 calc(-1 * var(--gutter)) 24px; padding: 0 var(--gutter); }
  .shelf-item, .shelf-slot { width: 140px; height: 210px; }
  .shelf-item .sim-hand { display: none; }
  .shelf-btn { padding: 3px; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
  .shelf-item.sim-on .shelf-btn { background: var(--amber); }
  .shelf-btn img { clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px); }
  .shelf-slot span { font-size: 10px; letter-spacing: .1em; }
  .shelf-slot svg { width: 24px; height: 24px; }
  .game-hero { height: 200px; }
  .game-logo { left: 16px; bottom: 16px; width: 250px; max-width: calc(100% - 32px); }
  .game-body { padding: 20px; row-gap: 14px; }
  .game-main { gap: 14px; }
  .game-desc { font-size: 16px; line-height: 1.55; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
  .shot { --t: 8px; --g: 3px; }
  .game-side { gap: 14px; }
  .fact { padding: 10px 0; font-size: 14px; }
  .fact dt { font-size: 11px; padding-top: 1px; }
  .store-label, .store-slot { display: none; }
  .store .btn { flex: 1; height: 52px; }

  /* lightbox */
  .lb-frame { --t: 12px; --g: 4px; width: calc(100vw - 56px); }
  .lb-stage { gap: 28px; }
  .lb-close { right: 16px; top: 16px; }

  /* news */
  .news { padding: 56px 0; }
  .news-head { margin-bottom: 32px; gap: 20px; }
  .news-title { gap: 10px; }
  .sub { font-size: 16px; }
  .news-actions { gap: 12px; }
  .tiles { gap: 6px; }
  .tile { width: 44px; height: 44px; }
  .news-actions .btn { height: 44px; padding: 0 18px; }
  .news-grid { gap: 40px; }
  .post-text { font-size: 16px; }

  /* team */
  .team { padding: 56px 0; }
  .team .section-head { margin-bottom: 32px; }
  .team-grid { --cols: 4; row-gap: 26px; }

  /* contact */
  .contact { padding: 56px 0; }
  .contact .h2 { margin-bottom: 24px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contact-col { padding-top: 16px; gap: 10px; }
  .contact-mail { font-size: 20px; }
  .muted { font-size: 15px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }

  /* footer */
  .footer-in { min-height: 130px; padding-block: 24px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
  .footer-in img { height: 28px; }
  .footer-copy { font-size: 11px; }
  .footer-top { display: none; }

  /* news page */
  .news-top { padding: 36px 0 28px; }
  .news-top-in { gap: 20px; }
  .h1 { font-size: 48px; }
  .news-top .sub { font-size: 16px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + var(--gutter)); padding-right: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { height: 40px; padding: 0 14px; font-size: 13px; flex-shrink: 0; }
  .feed-section { padding: 0 0 56px; }
  .feed-post { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding: 28px 0; }
  .feed-avatar { width: 36px; height: 36px; }
  .feed-body { gap: 14px; }
  .feed-meta { gap: 8px; }
  .feed-meta .post-author { font-size: 15px; }
  .feed-meta .post-date { font-size: 11px; }
  .feed-meta .post-tag { font-size: 10px; }
  .feed-text { font-size: 17px; }
  .feed-media { --t: 10px; --g: 4px; margin: 4px 10px 10px 0; }
  .feed-aside { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 40px; }
}

@media (max-width: 519px) {
  .team-grid { --cols: 3; --gx: 10px; row-gap: 24px; }
  .member-name { font-size: 13.5px; }
  .member-role { font-size: 9.5px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sim-in .sim-tl, .sim-in .sim-br, .slide-info, .slide-media, .game-card, .feed-post, .lightbox, .mobile-menu { animation: none; }
  .sim-hover .sim-hand { transition: none; }
  .sym-a, .sym-b, .sym-eye, .sym-lid, .sym-pupil { animation: none !important; transform: none !important; opacity: 1 !important; }
}
