/* 2026-10-02 — audit fixes, studio page, game page template, socials.
   Loaded after redesign-v1.css; keeps its palette, type and cinematic scale. */

:root { --v2-line: rgba(243, 244, 238, .14); --v2-line-strong: rgba(243, 244, 238, .24); --v2-muted: #b4bfc1; --v2-dim: #8f9a9d; --v2-panel: #10171d; }

/* ── Bug fixes ───────────────────────────────────────────────────────────── */

/* Catalog titles were clipped by overflow:hidden (S&LUMBERJ…). */
.project-panel__copy { overflow: visible; }
.project-panel h2 { max-width: none; font-size: clamp(36px, 3.7vw, 60px); overflow-wrap: normal; white-space: nowrap; }
.project-panel__players { margin-top: 10px; color: var(--v2-dim) !important; font-size: 13px !important; letter-spacing: .02em; }
.project-panel__media { aspect-ratio: 16 / 10; min-height: 0; }
.project-panel__media img { min-height: 0; height: 100%; }

/* Home studio block: the third word no longer runs off the right edge. */
.cinematic-studio__body { min-width: 0; }
.cinematic-studio h2 { font-size: clamp(56px, 5.4vw, 112px); }

/* The scroll-to-top button hides over the footer instead of covering links. */
.scroll-top.is-over-footer { opacity: 0 !important; pointer-events: none !important; }

/* Mobile menu: one language switch (in the header) and a quiet social row. */

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer__grid { grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, .6fr)); gap: 48px; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__social .social-icon { flex: 0 0 auto; color: #8f9a9d; transition: color .2s; }
.site-footer__social a:hover .social-icon { color: #e98748; }

/* ── Shared section pieces ───────────────────────────────────────────────── */
.game-kicker { color: #e9a570; font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.game-section-head { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 28px; margin-bottom: 34px; }
.game-section-head > .game-kicker { flex-basis: 100%; }
.game-section-head h2 { flex: 1 1 auto; font: 900 clamp(40px, 4.4vw, 76px)/.95 Impact, "Arial Narrow", sans-serif; letter-spacing: -.02em; text-transform: uppercase; color: #f2f0e9; }
.game-section-head .project-button { flex: 0 0 auto; }

/* ── Game page ───────────────────────────────────────────────────────────── */
.project-story__hero-copy h1 { font-family: Impact, "Arial Narrow", sans-serif; letter-spacing: -.02em; line-height: .95; }
.project-story__eyebrow { line-height: 1.6; }
.game-overview, .game-features, .game-media, .game-updates, .game-cta, .game-more { width: min(90%, 1250px); margin: 0 auto; padding: clamp(64px, 8vw, 112px) 0; border-bottom: 1px solid var(--v2-line); }
.game-overview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.game-overview__lead { margin-top: 22px; color: #eef0ea; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.45; letter-spacing: -.01em; }
.game-overview__note { margin-top: 18px; padding-left: 14px; border-left: 2px solid #e98748; color: var(--v2-muted); font-size: 15px; }
.game-facts { border-top: 1px solid var(--v2-line-strong); }
.game-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--v2-line); }
.game-facts dt { color: var(--v2-dim); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.game-facts dd { color: #f2f0e9; font-size: 15px; line-height: 1.45; }
.game-features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--v2-line); border: 1px solid var(--v2-line); list-style: none; }
.game-features__grid li { display: flex; flex-direction: column; gap: 12px; min-height: 210px; padding: 28px 26px; background: #0b1015; }
.game-features__grid span { color: #e98748; font: 900 15px/1 Impact, sans-serif; letter-spacing: .04em; }
.game-features__grid h3 { margin-top: auto; color: #f2f0e9; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.game-features__grid p { color: var(--v2-muted); font-size: 15px; line-height: 1.5; }
.game-media .project-story__trailer { margin-bottom: 18px; }
.game-media__shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.game-media__shots a { display: block; overflow: hidden; background: #141c22; }
.game-media__shots img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.game-media__shots a:hover img { transform: scale(1.03); }
.game-updates__list { list-style: none; border-top: 1px solid var(--v2-line-strong); }
.game-updates__list a { display: grid; grid-template-columns: 170px 1fr 20px; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--v2-line); }
.game-updates__list time { grid-row: 1 / span 3; color: #c9cfd0; font-size: 13px; }
.game-updates__list span { color: #e9a570; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.game-updates__list strong { color: #f2f0e9; font-size: 19px; font-weight: 750; line-height: 1.25; }
.game-updates__list p { color: var(--v2-muted); font-size: 14px; line-height: 1.5; }
.game-updates__list i { grid-column: 3; grid-row: 1 / span 3; font-style: normal; color: var(--v2-dim); }
.game-updates__list a:hover strong, .game-updates__list a:hover i { color: #e9a570; }
.game-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.game-cta > p { max-width: 520px; color: #eef0ea; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; }
.game-cta > div { display: flex; flex-wrap: wrap; gap: 10px; }
.game-more { border-bottom: 0; padding-bottom: clamp(90px, 10vw, 150px); }
.game-more__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.game-tile { display: flex; flex-direction: column; gap: 8px; color: #f2f0e9; }
.game-tile__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 8px; background: #141c22; }
.game-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-tile:hover .game-tile__media img { transform: scale(1.04); }
.game-tile__meta { color: #e9a570; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.game-tile strong { font: 900 26px/1 Impact, "Arial Narrow", sans-serif; letter-spacing: -.01em; text-transform: uppercase; }
.game-tile:hover strong { color: #e9a570; }
.game-tile__text { color: var(--v2-muted); font-size: 14px; line-height: 1.45; }

/* CSS game motifs for the two games without key art yet. */
.game-motif { position: absolute; inset: 0; display: block; overflow: hidden; }
.game-motif--grid-royale { background: radial-gradient(circle at 70% 40%, #2a6276, #0f2634 55%, #0a151e); }
.game-motif--grid-royale::before { content: "×  ○"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(163,235,237,.7); font: 900 clamp(70px, 9vw, 180px)/1 Impact, sans-serif; transform: rotate(-12deg); white-space: nowrap; }
.game-motif--grim-cure { background: radial-gradient(circle at 70% 35%, #633a42, #24181d 55%, #100e14); }
.game-motif--grim-cure::before { content: "✚"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(226,164,136,.55); font: 900 clamp(90px, 12vw, 240px)/1 Georgia, serif; }
.project-story__hero > .game-motif { z-index: 0; }
.project-story__hero > .game-motif::before { font-size: clamp(200px, 30vw, 520px); place-items: center end; padding-right: 6vw; opacity: .5; }
.project-story--grid-royale .project-story__hero::before, .project-story--grim-cure .project-story__hero::before { display: none; }
.project-panel__media .game-motif { position: absolute; }
.project-panel[id="grid-royale"] .project-panel__media::before, .project-panel[id="grim-cure"] .project-panel__media::before { content: none; }

/* ── Studio page ─────────────────────────────────────────────────────────── */
body:has(.studio-page) main, body:has(.contact-page) main { padding: 0; }
body:has(.studio-page) main > .container { max-width: none; width: 100%; padding: 0; }
.studio-page { background: #0b1015; color: #f2f0e9; }
.studio-page__hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, .7fr); gap: 40px 64px; align-items: end; min-height: min(86svh, 820px); padding: 170px max(5vw, calc((100vw - 1720px) / 2)) 80px; overflow: hidden; }
.studio-page__hero-media { position: absolute; inset: 0; z-index: -2; }
.studio-page__hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.75); }
.studio-page__hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,13,18,.94) 0%, rgba(8,13,18,.72) 45%, rgba(8,13,18,.35) 100%), linear-gradient(0deg, rgba(8,13,18,.96), transparent 55%), linear-gradient(180deg, rgba(8,13,18,.8), transparent 30%); }
.studio-page__hero h1 { margin: 22px 0 26px; font: 900 clamp(58px, 7.4vw, 132px)/.95 Impact, "Arial Narrow", sans-serif; letter-spacing: -.025em; text-transform: uppercase; }
.studio-page__hero h1 em { font-style: normal; color: #e98748; }
.studio-page__lead { max-width: 620px; color: #e6eae7; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.studio-page__facts { border-top: 1px solid var(--v2-line-strong); }
.studio-page__facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--v2-line); }
.studio-page__facts dt { color: var(--v2-dim); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.studio-page__facts dd { color: #f2f0e9; font-size: 15px; font-weight: 650; text-align: right; }
.studio-principles, .studio-team, .studio-history, .studio-next, .studio-follow { width: min(90%, 1250px); margin: 0 auto; padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--v2-line); }
.studio-follow { border-bottom: 0; padding-bottom: clamp(90px, 10vw, 150px); }
.studio-principles__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--v2-line); border: 1px solid var(--v2-line); list-style: none; }
.studio-principles__list li { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 32px; background: #0b1015; }
.studio-principles__list span { color: #e98748; font: 900 15px/1 Impact, sans-serif; }
.studio-principles__list h3 { margin-top: 26px; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.studio-principles__list p { color: var(--v2-muted); font-size: 15px; line-height: 1.55; }
.studio-team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.team-card { display: flex; flex-direction: column; border: 1px solid var(--v2-line); background: var(--v2-panel); }
.team-card__avatar { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 75% 20%, rgba(233,135,72,.16), transparent 45%), linear-gradient(160deg, #18222a, #0d1318); border-bottom: 1px solid var(--v2-line); }
.team-card__avatar::after { content: ""; position: absolute; left: 22px; bottom: 22px; width: 34px; height: 3px; background: #e98748; }
.team-card__avatar span { color: rgba(242,240,233,.9); font: 900 clamp(84px, 9vw, 140px)/1 Impact, "Arial Narrow", sans-serif; }
.team-card__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; }
.team-card h3 { font: 900 30px/1 Impact, "Arial Narrow", sans-serif; letter-spacing: -.01em; text-transform: uppercase; }
.team-card__role { color: #e9a570; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.team-card__bio { color: var(--v2-muted); font-size: 15px; line-height: 1.55; }
.team-card__credits { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--v2-line); }
.team-card__credits span { color: var(--v2-dim); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.team-card__credits ul { margin-top: 8px; list-style: none; display: grid; gap: 4px; color: var(--v2-muted); font-size: 14px; }
.team-card__credits a { color: #f2f0e9; border-bottom: 1px solid var(--v2-line-strong); }
.team-card__credits a:hover { color: #e9a570; border-color: #e9a570; }
.studio-history__list { position: relative; list-style: none; border-top: 1px solid var(--v2-line-strong); }
.studio-history__list li { display: grid; grid-template-columns: 170px 170px 1fr; gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid var(--v2-line); }
.studio-history__list time { grid-row: 1 / span 2; color: #c9cfd0; font-size: 13px; }
.studio-history__list a { grid-row: 1 / span 2; color: #e9a570; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.studio-history__list a:hover { color: #ffc189; }
.studio-history__list strong { font-size: 19px; font-weight: 750; }
.studio-history__list p { color: var(--v2-muted); font-size: 14px; line-height: 1.5; }
.studio-history__list li.is-release strong::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; vertical-align: middle; background: #e98748; }
.studio-next__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; }
.studio-next__list li { padding: 24px; border-top: 2px solid #e98748; background: var(--v2-panel); }
.studio-next__list strong { font: 900 24px/1.05 Impact, "Arial Narrow", sans-serif; text-transform: uppercase; }
.studio-next__list p { margin-top: 12px; color: var(--v2-muted); font-size: 15px; line-height: 1.55; }
.studio-follow__mail { margin-top: 26px; color: var(--v2-muted); font-size: 15px; }
.studio-follow__mail a, .contact-page__address { color: #f2f0e9; border-bottom: 1px solid #e98748; }
.studio-follow__mail a:hover, .contact-page__address:hover { color: #e9a570; }

/* Social cards (Studio, Contact, Support) */
.social-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; list-style: none; }
.social-cards a { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 4px 14px; align-items: center; min-height: 88px; padding: 18px 44px 18px 18px; border: 1px solid var(--v2-line); background: var(--v2-panel); color: #f2f0e9; transition: border-color .2s, background .2s; }
.social-cards .social-icon { grid-row: 1 / span 2; width: 22px; height: 22px; color: #c9d1d2; }
.social-cards strong { font-size: 16px; font-weight: 800; }
.social-cards span { grid-column: 2; color: var(--v2-muted); font-size: 13px; line-height: 1.4; }
.social-cards i { position: absolute; top: 16px; right: 16px; color: var(--v2-dim); font-style: normal; }
.social-cards a:hover { border-color: #e98748; background: #131c23; }
.social-cards a:hover .social-icon, .social-cards a:hover i { color: #e98748; }

/* ── Contact page ────────────────────────────────────────────────────────── */
.contact-page { width: min(100%, 1120px); margin: 0 auto; padding: 150px 0 120px; }
.contact-page__hero { padding-bottom: 54px; border-bottom: 1px solid var(--v2-line); }
.contact-page__hero h1 { margin: 18px 0 18px; font: 900 clamp(56px, 7vw, 110px)/.95 Impact, "Arial Narrow", sans-serif; letter-spacing: -.02em; text-transform: uppercase; color: #f2f0e9; }
.contact-page__hero > p:last-child { max-width: 560px; color: var(--v2-muted); font-size: 18px; line-height: 1.55; }
.contact-page__mail, .contact-page__channels, .contact-page__note { padding: 46px 0; border-bottom: 1px solid var(--v2-line); }
.contact-page__note { border-bottom: 0; }
.contact-page h2 { margin-bottom: 14px; color: #e9a570; font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.contact-page__address { display: inline-block; font-size: clamp(20px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-page__mail p, .contact-page__channels > p, .contact-page__note p { max-width: 620px; margin-top: 14px; color: var(--v2-muted); font-size: 16px; line-height: 1.55; }
.contact-page__channels > p { margin: 0 0 22px; }

/* Support page social block spacing */
.support-hub .social-cards { margin-top: 22px; }

/* ── Development Pulse ───────────────────────────────────────────────────── */
.activity-page__dot { color: #e98748; }
.pulse-games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 45px 0 34px; border: 1px solid rgba(183,218,223,.23); }
.pulse-games[data-count="1"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.pulse-games[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pulse-games[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pulse-games[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pulse-games a { display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 22px 22px 24px; border-right: 1px solid rgba(183,218,223,.23); transition: background .2s; }
.pulse-games a:last-child { border-right: 0; }
.pulse-games a:hover, .pulse-games a.is-active { background: rgba(233,135,72,.08); }
.pulse-games strong { font: 900 22px/1 Impact, "Arial Narrow", sans-serif; text-transform: uppercase; color: #f0f4f0; }
.pulse-games span { margin-top: auto; color: #e9a570; font-size: 12px; font-weight: 750; }
.pulse-games small { color: #aec2c6; font-size: 13px; line-height: 1.35; }
.activity-page__reset { margin-left: auto; }
.activity-page__entry small { line-height: 1.5; }
.pulse-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 60px; padding-top: 34px; border-top: 1px solid rgba(183,218,223,.23); }
.pulse-follow p { color: #b2c3c8; font-size: 16px; }
.pulse-follow div { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Home ────────────────────────────────────────────────────────────────── */
/* Slightly denser portfolio: same cinematic scenes, less empty scrolling. */
.cinematic-intro { padding: clamp(90px, 10vw, 150px) 0 clamp(54px, 6vw, 90px); }
.cinematic-project, .cinematic-project--cat-clicker, .cinematic-project--sausage-parkour, .cinematic-project--grid-royale, .cinematic-project--grim-cure { min-height: min(760px, 78svh); }
.cinematic-project--s-lumberjack { min-height: min(820px, 84svh); }
.cinematic-project__content, .cinematic-project--sausage-parkour .cinematic-project__content { padding-block: 90px 70px; }
.cinematic-project h3 { font-size: clamp(64px, 8vw, 150px); }
.cinematic-portfolio__end { padding-bottom: 110px; }
.home-news { padding: clamp(100px, 11vw, 170px) max(5vw, calc((100vw - 1720px) / 2)); background: radial-gradient(circle at 91% 5%, rgba(35,91,102,.2), transparent 30%), #0b141a; }
.home-news__heading { display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: end; padding-bottom: 42px; }
.home-news__heading .cinematic-label { grid-column: 1 / -1; }
.home-news h2 { font: 900 clamp(64px, 8vw, 140px)/.93 Impact, "Arial Narrow", sans-serif; letter-spacing: -.04em; text-transform: uppercase; }
.home-news h2 span { color: #e98748; }
.home-news__links { display: flex; gap: 28px; }
.home-news__feed { list-style: none; border-top: 1px solid rgba(243,245,239,.25); }
.home-news__feed a { display: grid; grid-template-columns: 240px 1fr 24px; gap: 8px 30px; padding: 26px 0; border-bottom: 1px solid rgba(243,245,239,.15); }
.home-news__meta { grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 6px; color: #d2b296; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.home-news__meta time { color: #e9edec; letter-spacing: .04em; }
.home-news__feed h3 { font-size: clamp(20px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.home-news__feed .is-featured h3 { font-size: clamp(28px, 3vw, 46px); }
.home-news__feed p { max-width: 720px; color: #aeb9b9; font-size: 15px; line-height: 1.5; }
.home-news__feed b { grid-column: 3; grid-row: 1 / span 2; font-weight: 400; color: #8fa0a3; }
.home-news__feed a:hover h3, .home-news__feed a:hover b { color: #e9a570; }
.home-news__empty { padding: 34px 0; color: #aeb9b9; }
.cinematic-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .game-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-principles__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse-games[data-count] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pulse-games[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse-games[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
  .pulse-games a:nth-child(3) { border-right: 0; }
  .pulse-games[data-count="4"] a:nth-child(-n+3), .pulse-games[data-count="5"] a:nth-child(-n+3) { border-bottom: 1px solid rgba(183,218,223,.23); }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .project-panel h2 { white-space: normal; font-size: clamp(32px, 9.4vw, 46px); overflow-wrap: anywhere; }
  .project-panel__media { aspect-ratio: 16 / 10; }
  .cinematic-studio h2 { font-size: clamp(40px, 11.5vw, 64px); overflow-wrap: anywhere; }
  .cinematic-studio__body { padding: 60px 18px 80px; }
  .project-story__hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: 0; background: linear-gradient(180deg, rgba(5,10,14,.95), transparent); pointer-events: none; }
  .project-story__hero-copy h1 { font-size: clamp(44px, 13vw, 76px); overflow-wrap: anywhere; }
  .project-story--s-lumberjack .project-story__hero-copy h1 { font-size: clamp(36px, 11vw, 58px); white-space: normal; }
  .game-overview, .game-features, .game-media, .game-updates, .game-cta, .game-more { width: calc(100% - 36px); padding: 56px 0; }
  .game-overview { grid-template-columns: 1fr; }
  .game-section-head { margin-bottom: 24px; }
  .game-section-head h2 { flex-basis: 100%; font-size: clamp(36px, 11vw, 52px); }
  .game-features__grid li { min-height: 0; padding: 22px 20px; }
  .game-features__grid h3 { margin-top: 14px; }
  .game-updates__list a { grid-template-columns: 1fr 20px; }
  .game-updates__list time { grid-row: auto; }
  .game-updates__list time, .game-updates__list span, .game-updates__list strong, .game-updates__list p { grid-column: 1; }
  .game-updates__list i { grid-column: 2; grid-row: 1 / span 4; }
  .game-cta > div, .game-cta .project-button { width: 100%; }
  .game-more__grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .game-tile strong { font-size: 20px; }
  .game-tile__text { display: none; }
  .studio-page__hero { grid-template-columns: 1fr; min-height: 0; padding: 130px 18px 56px; }
  .studio-page__hero h1 { font-size: clamp(44px, 12.5vw, 72px); }
  .studio-principles, .studio-team, .studio-history, .studio-next, .studio-follow { width: calc(100% - 36px); padding: 56px 0; }
  .studio-principles__list, .studio-team__grid, .studio-next__list { grid-template-columns: 1fr; }
  .studio-principles__list h3 { margin-top: 10px; }
  .team-card { display: grid; grid-template-columns: 96px 1fr; }
  .team-card__avatar { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--v2-line); }
  .team-card__avatar span { font-size: 56px; }
  .team-card__avatar::after { left: 14px; bottom: 14px; width: 22px; }
  .team-card__body { padding: 18px; }
  .team-card h3 { font-size: 24px; }
  .studio-history__list li { grid-template-columns: 1fr; gap: 4px; }
  .studio-history__list time, .studio-history__list a { grid-row: auto; }
  .contact-page { width: calc(100% - 36px); padding: 120px 0 90px; }
  .contact-page__hero h1 { font-size: clamp(46px, 13vw, 72px); }
  .pulse-games[data-count] { grid-template-columns: 1fr 1fr; }
  .pulse-games[data-count="1"] { grid-template-columns: 1fr; }
  .pulse-games a { min-height: 118px; padding: 16px; border-right: 1px solid rgba(183,218,223,.23); border-bottom: 1px solid rgba(183,218,223,.23); }
  .pulse-games a:nth-child(2n) { border-right: 0; }
  .pulse-games a:nth-child(3) { border-right: 1px solid rgba(183,218,223,.23); }
  .pulse-games a:last-child { border-bottom: 0; }
  .pulse-games a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pulse-games a:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .pulse-games strong { font-size: 18px; }
  .activity-page__reset { margin-left: 0; }
  .cinematic-project, .cinematic-project--cat-clicker, .cinematic-project--sausage-parkour, .cinematic-project--s-lumberjack, .cinematic-project--grid-royale, .cinematic-project--grim-cure { min-height: min(640px, 76svh); }
  .cinematic-project__content, .cinematic-project--sausage-parkour .cinematic-project__content { padding: 70px 0 40px; }
  .cinematic-project h3, .cinematic-project--sausage-parkour h3 { font-size: clamp(52px, 14vw, 90px); }
  .home-news { padding: 90px 18px; }
  .home-news__heading { display: block; padding-bottom: 30px; }
  .home-news h2 { margin: 14px 0 22px; font-size: clamp(54px, 15vw, 90px); }
  .home-news__links { gap: 22px; }
  .home-news__feed a { grid-template-columns: 1fr 20px; gap: 8px 14px; }
  .home-news__meta { grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
  .home-news__meta, .home-news__feed h3, .home-news__feed p { grid-column: 1; }
  .home-news__feed b { grid-column: 2; grid-row: 1 / span 3; }
  .home-news__feed .is-featured h3 { font-size: 28px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__social { grid-column: 1 / -1; display: grid !important; grid-template-columns: 1fr 1fr; }
  .site-footer__social > span { grid-column: 1 / -1; }
  .site-footer__bottom { padding-right: 64px !important; }
}

/* In-game HUD at the top of the hero screenshots must never fight the header. */
.project-story__hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 190px; z-index: 0; background: linear-gradient(180deg, rgba(5,10,14,.92), transparent); pointer-events: none; }

/* Second pass: overflow found by the 375px audit. */
.project-panel h2 { font-size: clamp(30px, 3.2vw, 50px); }
.projects-page__hero h1 { max-width: none; font-size: clamp(72px, 8.4vw, 150px); }
.news-feed h2 { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 761px) { .news-feed h2 { font-size: clamp(34px, 3.4vw, 56px); } }
@media (max-width: 760px) {
  .team-card { grid-template-columns: 96px minmax(0, 1fr); }
  .team-card__body { min-width: 0; }
  .team-card__role { letter-spacing: .08em; overflow-wrap: anywhere; }
  .news-feed__item, .news-feed__item:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .news-feed__item > * { min-width: 0; }
  .cinematic-project h3, .cinematic-project--sausage-parkour h3, .cinematic-project--s-lumberjack h3 { max-width: none; font-size: clamp(44px, 12.5vw, 80px); overflow-wrap: anywhere; }
  .cinematic-end h2 { font-size: clamp(60px, 16vw, 104px); }
}
@media (min-width: 761px) {
  .project-panel { grid-template-columns: minmax(320px, 1.2fr) minmax(300px, .8fr); }
  .project-panel h2 { font-size: clamp(30px, 3vw, 48px); }
}
@media (max-width: 760px) { .news-feed h2 { font-size: clamp(26px, 7.6vw, 40px); overflow-wrap: anywhere; } }
.pulse-note { margin-top: 40px; color: #b2c3c8; font-size: 15px; line-height: 1.55; }
.pulse-note a { color: #f0f4f0; border-bottom: 1px solid #e98748; }
.pulse-note a:hover { color: #e9a570; }
.studio-team .team-card { align-items: stretch; padding: 0; gap: 0; }
.studio-team .team-card__avatar { width: 100%; }
.studio-page__hero::after { background: linear-gradient(90deg, rgba(8,13,18,.94) 0%, rgba(8,13,18,.72) 45%, rgba(8,13,18,.35) 100%), linear-gradient(0deg, rgba(8,13,18,.96), transparent 55%), linear-gradient(180deg, rgba(8,13,18,.92), transparent 34%); }
/* Header: language switch and menu button share one line on phones. */
.cinematic-home .home-news h3 { font-family: "Segoe UI", system-ui, sans-serif; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
main [id] { scroll-margin-top: 92px; }
.site-footer__social .site-footer__social-label { margin: 0; color: inherit; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }

/* Accessibility: visible keyboard focus everywhere, skip link. */
:focus-visible { outline: 2px solid #e98748; outline-offset: 3px; }
main:focus { outline: none; }

/* ── Development Pulse entry ─────────────────────────────────────────────── */
body:has(.log-entry) main { padding: 0; }
.log-entry { width: min(100%, 820px); margin: 0 auto; padding: 150px 0 120px; color: #f2f0e9; }
.log-entry__back { display: inline-block; margin-bottom: 34px; color: #b2c3c8; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.log-entry__back:hover, .log-entry .game-kicker a:hover { color: #e9a570; }
.log-entry .game-kicker a { color: inherit; border-bottom: 1px solid rgba(233,165,112,.5); }
.log-entry h1 { margin: 18px 0 20px; font: 900 clamp(40px, 5vw, 72px)/1 Impact, "Arial Narrow", sans-serif; letter-spacing: -.015em; text-transform: uppercase; }
.log-entry__lead { color: #b8c4c6; font-size: 18px; line-height: 1.55; }
.log-entry__head { padding-bottom: 40px; border-bottom: 1px solid var(--v2-line); }
.log-entry__body { padding-top: 34px; color: #d6dcdc; font-size: 17px; line-height: 1.7; }
.log-entry__body h2 { margin: 44px 0 14px; color: #f2f0e9; font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.log-entry__body h3 { margin: 30px 0 10px; color: #f2f0e9; font-size: 20px; font-weight: 750; }
.log-entry__body p { margin: 0 0 16px; }
.log-entry__body ul { margin: 0 0 18px; padding-left: 22px; }
.log-entry__body li { margin-bottom: 8px; }
.log-entry__body li::marker { color: #e98748; }
.log-entry__body strong { color: #f2f0e9; }
.log-entry__body a { color: #f2f0e9; border-bottom: 1px solid #e98748; }
.log-entry__body code { padding: 1px 6px; background: #17212a; font-size: .9em; }
.log-entry__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--v2-line); }
.log-entry__pager a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--v2-line); background: var(--v2-panel); }
.log-entry__pager a.is-next { text-align: right; grid-column: 2; }
.log-entry__pager span { color: #e9a570; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.log-entry__pager strong { font-size: 16px; line-height: 1.3; }
.log-entry__pager a:hover { border-color: #e98748; }
@media (max-width: 760px) {
  .log-entry { width: calc(100% - 36px); padding: 120px 0 90px; }
  .log-entry h1 { font-size: clamp(32px, 9.5vw, 48px); overflow-wrap: anywhere; }
  .log-entry__body { font-size: 16px; }
  .log-entry__pager { grid-template-columns: 1fr; }
  .log-entry__pager a.is-next { grid-column: 1; text-align: left; }
}
.not-found__links { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 40px; }

/* News story: same headline system as Pulse entries; long Russian words wrap. */
body:has(.news-story) main { padding-top: 90px; }
.news-story h1 { font: 900 clamp(40px, 5.2vw, 76px)/1 Impact, "Arial Narrow", sans-serif; letter-spacing: -.015em; text-transform: uppercase; overflow-wrap: anywhere; }
@media (max-width: 760px) { .news-story { width: calc(100% - 36px); } .news-story h1 { font-size: clamp(30px, 9vw, 46px); } }

/* Legal pages: same headline system, readable column. */
.page-hero { max-width: 820px; margin: 0 auto 10px; padding: 140px 0 40px; border-bottom: 1px solid var(--v2-line); }
.page-hero .eyebrow { color: #e9a570; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.page-hero h1 { margin: 16px 0 16px; font: 900 clamp(40px, 5.4vw, 76px)/1 Impact, "Arial Narrow", sans-serif; letter-spacing: -.015em; text-transform: uppercase; overflow-wrap: anywhere; color: #f2f0e9; }
.page-hero p { color: var(--v2-muted); }
.legal-content { max-width: 820px; margin: 0 auto; padding: 30px 0 110px; color: #d6dcdc; line-height: 1.7; }
.legal-content h2 { margin: 36px 0 10px; color: #f2f0e9; }
.legal-content a { color: #f2f0e9; border-bottom: 1px solid #e98748; }
@media (max-width: 760px) { .page-hero { padding-top: 110px; } .page-hero h1 { font-size: clamp(30px, 9vw, 46px); } }

/* Support: same type system as Studio / Contact. */
body:has(.support-hub) main { padding: 0; }
.support-hub { width: min(100% - 48px, 1120px); padding: 150px 0 120px; }
.support-hub header { padding: 0 0 54px; border-color: var(--v2-line); }
.support-hub header > p { color: #e9a570; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.support-hub h1 { margin: 18px 0 24px; font: 900 clamp(56px, 7vw, 110px)/.95 Impact, "Arial Narrow", sans-serif; letter-spacing: -.02em; text-transform: uppercase; color: #f2f0e9; }
.support-hub header > div { color: var(--v2-muted); }
.support-hub section { border-color: var(--v2-line); }
.support-hub h2 { margin-bottom: 14px; font: 900 clamp(32px, 3.6vw, 56px)/1 Impact, "Arial Narrow", sans-serif; letter-spacing: -.015em; text-transform: uppercase; color: #f2f0e9; }
.support-hub section > p { max-width: 640px; margin-bottom: 22px; color: var(--v2-muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 760px) { .support-hub { width: calc(100% - 36px); padding-top: 120px; } .support-hub h1 { font-size: clamp(46px, 13vw, 72px); } }

/* About -> Team: nicknames only (no names, roles or photos). */
.studio-team__nicks { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.studio-team__nicks li { padding: 8px 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; font-weight: 600; letter-spacing: 0.02em; }
.careers-page a { text-decoration: underline; text-underline-offset: 3px; }

/* News section switch: "News" and the development log are one place. */
.news-switch { display: flex; gap: 6px; margin: 0 0 28px; padding: 4px; width: fit-content; max-width: 100%; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; }
.news-switch a { padding: 8px 18px; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 600; opacity: 0.72; }
.news-switch a:hover { opacity: 1; }
.news-switch a.is-active { background: rgba(255, 255, 255, 0.12); opacity: 1; }
@media (max-width: 560px) { .news-switch { width: 100%; } .news-switch a { flex: 1; text-align: center; padding: 10px 8px; } }
