:root {
  --ink: #090909;
  --ink-2: #141414;
  --ink-3: #1b1b1b;
  --paper: #f2f1ec;
  --white: #fff;
  --acid: #dafe45;
  --mint: #7cf8c8;
  --muted-dark: #999994;
  --muted-light: #5a5a55;
  --line-dark: rgba(255, 255, 255, .16);
  --line-light: rgba(9, 9, 9, .16);
  --max: 1480px;
  --pad: clamp(1.25rem, 4vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.reading-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 2px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--acid); }
.section-shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--pad); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1.4rem var(--pad);
  border-bottom: 1px solid var(--line-dark);
}
.site-header.is-fixed { position: fixed; width: 100%; max-width: none; padding-top: .8rem; padding-bottom: .8rem; background: rgba(9,9,9,.88); backdrop-filter: blur(14px); animation: header-in .25s ease; }
@keyframes header-in { from { transform: translateY(-100%); } }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-weight: 750; letter-spacing: -.02em; }
.brand img { border: 1px solid rgba(255, 255, 255, .18); }
.site-nav { margin-left: auto; font-size: .9rem; }
.site-nav-list { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.8rem); margin: 0; padding: 0; list-style: none; }
.site-nav-list > li > a { color: #c7c7c2; transition: color .2s ease; }
.site-nav-list > li > a:hover { color: var(--white); }
.site-nav-list > li.nav-cta > a { display: inline-block; padding: .62rem 1rem; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--white); transition: background .2s ease, color .2s ease; }
.site-nav-list > li.nav-cta > a:hover { background: var(--white); color: var(--ink); }
.menu-toggle { display: none; border: 0; padding: .5rem; background: transparent; color: var(--white); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  min-height: min(980px, 100vh);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(9rem, 15vh, 12rem) var(--pad) clamp(9rem, 14vh, 12rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000, transparent 76%);
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 2rem; color: #b8b8b3; font-size: .76rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { width: 1.8rem; height: 1px; background: currentColor; }
.eyebrow.dark { color: #555550; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 990px;
  margin-bottom: 2rem;
  font-size: clamp(4.1rem, 8.6vw, 9.2rem);
  font-weight: 660;
  line-height: .86;
  letter-spacing: -.075em;
}
h1 em { color: transparent; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -.055em; -webkit-text-stroke: 1.35px rgba(255,255,255,.75); }
.hero-lede { max-width: 680px; margin-bottom: 2.5rem; color: #bdbdb7; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-width: 215px; padding: .92rem 1.1rem; border: 1px solid var(--line-dark); border-radius: 2px; font-size: .91rem; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--acid); }
.button-ghost:hover { background: rgba(255,255,255,.08); }

.hero-mark { position: relative; z-index: 1; justify-self: end; width: min(100%, 500px); }
.mark-frame { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-dark); background: #050505; }
.mark-frame > img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.mark-frame::before, .mark-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.mark-frame::before { background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.025) 3px 4px); }
.mark-frame::after { box-shadow: inset 0 0 80px rgba(0,0,0,.75); }
.mark-frame p, .mark-frame > span { position: absolute; z-index: 4; bottom: .8rem; margin: 0; color: #888; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; letter-spacing: .12em; }
.mark-frame p { left: .9rem; }
.mark-frame > span { right: .9rem; }
.scan-line { position: absolute; z-index: 3; left: 0; right: 0; top: -8%; height: 1px; background: var(--acid); box-shadow: 0 0 12px var(--acid); opacity: .65; animation: scan 6s linear infinite; }
.corner { position: absolute; z-index: 4; width: 1.3rem; height: 1.3rem; }
.corner-a { top: .7rem; left: .7rem; border-top: 1px solid var(--acid); border-left: 1px solid var(--acid); }
.corner-b { right: .7rem; bottom: .7rem; border-right: 1px solid var(--acid); border-bottom: 1px solid var(--acid); }
@keyframes scan { 0% { top: -8%; } 70%, 100% { top: 108%; } }

.hero-facts { position: absolute; z-index: 2; right: var(--pad); bottom: 2.2rem; left: var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line-dark); }
.hero-facts div { padding: 1rem 1rem 0; border-left: 1px solid var(--line-dark); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { color: #777772; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-facts dd { margin: .2rem 0 0; font-size: .9rem; }

.signal-strip { overflow: hidden; border-block: 1px solid var(--line-dark); padding: .82rem 0; color: #8d8d88; font-size: .67rem; font-weight: 750; letter-spacing: .18em; white-space: nowrap; }
.signal-track { display: flex; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.signal-track span { padding-inline: 2rem; }
.signal-track i { width: 4px; height: 4px; background: var(--acid); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-index { padding-top: .55rem; }
.section-index span { color: var(--acid); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .73rem; }
.section-index p { margin-top: .4rem; color: var(--muted-dark); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.dossier { display: grid; grid-template-columns: .32fr 1.1fr .78fr; gap: clamp(2rem, 6vw, 7rem); padding-top: clamp(6rem, 10vw, 10rem); padding-bottom: clamp(6rem, 10vw, 10rem); }
.dossier h2, .work-heading h2, .studio-intro h2, .founder-name h2, .contact-main h2 { margin: 0; font-size: clamp(3.4rem, 6.5vw, 7rem); font-weight: 640; line-height: .94; letter-spacing: -.065em; }
.large-copy { max-width: 860px; margin: 2.2rem 0 0; color: #aaa9a4; font-size: clamp(1.15rem, 2vw, 1.55rem); }
.company-ledger { margin: 0; border-top: 1px solid var(--line-dark); }
.company-ledger div { display: grid; grid-template-columns: .68fr 1.32fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.company-ledger dt { color: #777772; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.company-ledger dd { margin: 0; font-size: .9rem; }
.company-ledger a { border-bottom: 1px solid #6a6a66; }

.work-section { padding-block: clamp(6rem, 10vw, 10rem); background: var(--paper); color: var(--ink); }
.work-intro { display: grid; grid-template-columns: .32fr 1.68fr; gap: clamp(2rem, 6vw, 7rem); }
.work-intro .section-index span { color: #596e00; }
.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 4rem; }
.work-heading > p { max-width: 470px; margin: 0 0 .8rem; color: var(--muted-light); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); margin-bottom: 1.25rem; }
.filter-buttons { display: flex; gap: .45rem; }
.filter-button { cursor: pointer; padding: .58rem .9rem; border: 1px solid var(--line-light); border-radius: 999px; background: transparent; color: var(--ink); font-size: .82rem; }
.filter-button:hover, .filter-button.active { background: var(--ink); color: var(--white); }
.filter-button:focus-visible, .copy-email:focus-visible, summary:focus-visible, a:focus-visible, .menu-toggle:focus-visible { outline: 2px solid #6d8b00; outline-offset: 3px; }
.filter-count { margin: 0; color: var(--muted-light); font-size: .78rem; }
.projects { display: grid; gap: 1.25rem; }
.project { overflow: hidden; border: 1px solid var(--line-light); background: var(--white); transition: opacity .24s ease, transform .24s ease; }
.project-featured { display: grid; grid-template-columns: .9fr 1.1fr; }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(2rem, 4.5vw, 5rem); }
.project-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.7rem; color: #686863; font-size: .72rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.status { padding: .35rem .56rem; border-radius: 999px; background: #ebebe6; color: #383833; }
.status.live { background: #ddf7e3; color: #185b2b; }
.status.demo { background: #e4e2ff; color: #302b83; }
.status.upcoming { background: #ffe9d3; color: #7b3f09; }
.project h3 { margin-bottom: 1.3rem; font-size: clamp(2.6rem, 5vw, 5.7rem); font-weight: 650; line-height: .92; letter-spacing: -.06em; }
.project-lede { max-width: 590px; margin-bottom: 1.1rem; font-size: clamp(1.2rem, 2vw, 1.62rem); line-height: 1.38; }
.project-copy > p:not(.project-lede) { max-width: 600px; color: var(--muted-light); }
.project-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: auto; padding-top: 2rem; }
.text-link { display: inline-block; padding-bottom: .2rem; border-bottom: 1px solid currentColor; font-size: .91rem; font-weight: 730; }
.text-link.secondary { color: #666660; }
.text-link span { display: inline-block; margin-left: .3rem; transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px, -2px); }

.cloud-console { display: flex; flex-direction: column; min-height: 620px; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--ink-2); color: var(--white); }
.console-head { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); color: #888; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .65rem; letter-spacing: .1em; }
.console-live { display: inline-flex; align-items: center; gap: .4rem; color: var(--mint); }
.console-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.console-orbit { position: relative; display: grid; place-items: center; flex: 1; min-height: 400px; overflow: hidden; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.orbit-one { width: 48%; aspect-ratio: 1; }
.orbit-two { width: 78%; aspect-ratio: 1; border-style: dashed; animation: rotate 35s linear infinite; }
.core { display: grid; place-items: center; width: 110px; aspect-ratio: 1; border: 1px solid rgba(218,254,69,.8); border-radius: 50%; background: rgba(218,254,69,.06); color: var(--acid); font-family: Georgia, serif; font-size: 3.2rem; box-shadow: 0 0 60px rgba(218,254,69,.08); }
.node { position: absolute; width: 8px; height: 8px; border: 1px solid var(--acid); background: var(--ink); transform: rotate(45deg); }
.node-one { top: 21%; left: 29%; }
.node-two { top: 38%; right: 11%; }
.node-three { bottom: 17%; left: 42%; }
@keyframes rotate { to { transform: rotate(360deg); } }
.console-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.console-stats div { padding: 1.2rem 1rem 0; border-left: 1px solid var(--line-dark); }
.console-stats div:first-child { padding-left: 0; border-left: 0; }
.console-stats strong, .console-stats span { display: block; }
.console-stats strong { font-size: clamp(.9rem, 1.3vw, 1.15rem); }
.console-stats span { margin-top: .22rem; color: #858580; font-size: .65rem; text-transform: uppercase; }
.project-details { grid-column: 1 / -1; border-top: 1px solid var(--line-light); }
.project-details summary, .card-details summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.4rem; font-size: .82rem; font-weight: 720; list-style: none; }
.project-details summary::-webkit-details-marker, .card-details summary::-webkit-details-marker { display: none; }
details[open] summary span { transform: rotate(45deg); }
summary span { transition: transform .2s ease; }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.detail-grid > div { padding: 1.5rem; border-left: 1px solid var(--line-light); }
.detail-grid > div:first-child { border-left: 0; }
.detail-grid small { color: #686863; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.detail-grid p { margin: .5rem 0 0; color: #42423e; font-size: .88rem; }

.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.game-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.game-art { position: relative; overflow: hidden; display: block; background: #111; }
.game-art img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 60%, rgba(0,0,0,.58)); }
.game-art:hover img { transform: scale(1.035); opacity: .9; }
.art-link { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(0,0,0,.25); color: var(--white); backdrop-filter: blur(8px); }
.game-copy { display: flex; flex-direction: column; min-height: 510px; padding: clamp(1.6rem, 3vw, 2.8rem); }
.game-copy .project-meta { margin-bottom: .8rem; }
.project-number { margin: 0 0 1.8rem; color: #8c8c87 !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; }
.game-copy h3 { margin-bottom: 1rem; font-size: clamp(2.3rem, 3.8vw, 4.2rem); }
.game-copy > p:not(.project-number) { max-width: 600px; color: var(--muted-light); }
.mini-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.3rem 0; padding: 1rem 0; border-block: 1px solid var(--line-light); }
.mini-specs dt { color: #777772; font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.mini-specs dd { margin: .2rem 0 0; font-size: .84rem; }
.card-details { margin: 0 0 1.8rem; border-bottom: 1px solid var(--line-light); }
.card-details summary { padding-inline: 0; }
.card-details p { padding: 0 0 1.2rem; color: var(--muted-light); font-size: .9rem; }
.game-copy > .text-link { align-self: flex-start; margin-top: auto; }
.next-release { position: relative; overflow: hidden; min-height: 360px; padding: clamp(2rem, 4.5vw, 5rem); border: 1px dashed rgba(9,9,9,.32); background: transparent; }
.next-release h3 { max-width: 780px; margin-bottom: 1.3rem; font-size: clamp(2.8rem, 5.5vw, 6rem); font-weight: 640; line-height: .96; letter-spacing: -.06em; }
.next-release > p:not(.eyebrow) { max-width: 560px; color: var(--muted-light); }
.next-index { position: absolute; right: 2rem; bottom: -2.4rem; color: rgba(9,9,9,.08); font-size: clamp(8rem, 20vw, 18rem); font-weight: 700; line-height: 1; letter-spacing: -.08em; }

.studio-section { padding-block: clamp(7rem, 12vw, 12rem); }
.studio-layout { display: grid; grid-template-columns: .32fr 1.68fr; gap: clamp(2rem, 6vw, 7rem); }
.studio-intro { max-width: 1120px; }
.studio-intro > p { max-width: 760px; margin: 2rem 0 0 auto; color: var(--muted-dark); font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: clamp(4rem, 8vw, 7rem); }
.track { display: flex; flex-direction: column; min-height: 520px; padding: clamp(2rem, 4vw, 4rem); border: 1px solid var(--line-dark); }
.track:first-child { background: #111; }
.track:last-child { background: var(--acid); color: var(--ink); }
.track-top { display: flex; justify-content: space-between; color: var(--muted-dark); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.track:last-child .track-top { color: #566124; }
.track h3 { max-width: 600px; margin: auto 0 1rem; font-size: clamp(2.5rem, 4.5vw, 5rem); font-weight: 640; line-height: .95; letter-spacing: -.055em; }
.track p { max-width: 600px; color: var(--muted-dark); }
.track:last-child p { color: #475018; }
.track ul { display: grid; gap: .55rem; margin: 1.5rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid currentColor; list-style: none; font-size: .86rem; }
.track li::before { content: "—"; margin-right: .7rem; }
.principles { margin-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.principle { display: grid; grid-template-columns: .3fr .8fr 1.1fr; gap: 2rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line-dark); }
.principle > span { color: var(--acid); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; }
.principle h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 2rem); letter-spacing: -.03em; }
.principle p { max-width: 580px; margin: 0; color: var(--muted-dark); }

.founder-section { padding-block: clamp(7rem, 12vw, 12rem); background: #e1e0da; color: var(--ink); }
.founder-layout { display: grid; grid-template-columns: .25fr 1.05fr .7fr; gap: clamp(2rem, 6vw, 7rem); }
.founder-layout .section-index span { color: #596e00; }
.founder-layout .section-index p { color: var(--muted-light); }
.founder-name > p { margin: 0 0 1.2rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; letter-spacing: .13em; }
.founder-name h2 { font-size: clamp(4rem, 8vw, 8.5rem); }
.founder-copy { align-self: end; }
.founder-role { margin-bottom: 1.5rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line-light); font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.founder-copy > p:not(.founder-role) { color: #4c4c47; font-size: 1.08rem; }
.founder-copy dl { margin: 2.5rem 0 0; border-top: 1px solid var(--line-light); }
.founder-copy dl div { display: grid; grid-template-columns: .5fr 1.5fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line-light); }
.founder-copy dt { color: #686863; font-size: .68rem; text-transform: uppercase; }
.founder-copy dd { margin: 0; font-size: .86rem; }

.contact-section { padding-block: clamp(7rem, 12vw, 12rem); background: var(--acid); color: var(--ink); }
.contact-layout { display: grid; grid-template-columns: .25fr 1.75fr; gap: clamp(2rem, 6vw, 7rem); }
.contact-layout .section-index span { color: #4f5e00; }
.contact-layout .section-index p { color: #596122; }
.contact-main { max-width: 1100px; }
.contact-main > p:not(.eyebrow):not(.copy-status) { max-width: 620px; margin: 1.8rem 0 3rem; color: #485016; font-size: 1.05rem; }
.email-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; border-block: 1px solid rgba(9,9,9,.3); }
.email-row > a { overflow-wrap: anywhere; font-size: clamp(1.6rem, 4vw, 4rem); font-weight: 650; letter-spacing: -.045em; }
.copy-email { cursor: pointer; flex: 0 0 auto; padding: .7rem 1rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-size: .78rem; font-weight: 700; }
.copy-email:hover { background: var(--ink); color: var(--white); }
.copy-status { min-height: 1.5rem; margin: .8rem 0 0; color: #3d4412; font-size: .75rem; }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap: 3rem; align-items: start; padding-top: 2.4rem; padding-bottom: 2.4rem; color: #858580; font-size: .76rem; }
.site-footer p { margin: 0 0 .25rem; }
.footer-brand { color: var(--white); }
.site-footer a:not(.brand) { border-bottom: 1px solid #686864; }
.copyright { white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr .58fr; gap: 3rem; min-height: auto; }
  .dossier { grid-template-columns: .25fr 1.35fr; }
  .company-ledger { grid-column: 2; }
  .project-featured { grid-template-columns: 1fr; }
  .cloud-console { min-height: 560px; }
  .founder-layout { grid-template-columns: .22fr 1fr; }
  .founder-copy { grid-column: 2; max-width: 760px; }
}

@media (max-width: 820px) {
  .site-header { padding-top: 1rem; padding-bottom: 1rem; }
  .menu-toggle { display: block; position: relative; z-index: 22; }
  .site-nav { position: fixed; inset: 0; z-index: 21; display: none; margin-left: 0; padding: 7rem var(--pad) 3rem; background: var(--ink); font-size: 2rem; }
  .site-nav.open { display: block; }
  .site-nav-list { display: flex; height: 100%; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.5rem; }
  .site-nav-list > li.nav-cta { width: 100%; margin-top: 1rem; font-size: 1rem; }
  .site-nav-list > li.nav-cta > a { display: block; width: 100%; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 8.5rem; padding-bottom: 17rem; }
  .hero::before { mask-image: linear-gradient(to bottom, #000, transparent 75%); }
  h1 { font-size: clamp(3.8rem, 17vw, 7rem); }
  .hero-mark { width: min(82vw, 450px); justify-self: center; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .dossier, .work-intro, .studio-layout, .contact-layout { grid-template-columns: 1fr; }
  .company-ledger { grid-column: auto; }
  .work-heading { display: block; }
  .work-heading > p { margin-top: 1.5rem; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-light); }
  .detail-grid > div:nth-child(4) { border-top: 1px solid var(--line-light); }
  .game-grid { grid-template-columns: 1fr; }
  .game-card-wide { grid-column: auto; display: block; }
  .tracks { grid-template-columns: 1fr; }
  .principle { grid-template-columns: .22fr 1fr; gap: 1rem; }
  .principle p { grid-column: 2; }
  .founder-layout { grid-template-columns: 1fr; }
  .founder-copy { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .button { width: 100%; }
  .hero { padding-bottom: 23rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div:first-child, .hero-facts div:nth-child(3) { padding: .7rem 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .filter-bar { align-items: flex-start; flex-direction: column; }
  .filter-buttons { flex-wrap: wrap; }
  .project-copy, .game-copy { padding: 1.45rem; }
  .cloud-console { min-height: 470px; padding: 1.2rem; }
  .console-orbit { min-height: 285px; }
  .console-stats { grid-template-columns: 1fr; }
  .console-stats div, .console-stats div:first-child { padding: .75rem 0; border-top: 1px solid var(--line-dark); border-left: 0; }
  .console-stats div:first-child { border-top: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div, .detail-grid > div:first-child { border-top: 1px solid var(--line-light); border-left: 0; }
  .detail-grid > div:first-child { border-top: 0; }
  .game-copy { min-height: 0; }
  .mini-specs { grid-template-columns: 1fr; }
  .email-row { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Editable standard and policy page layout */
.inner-template .site-header {
  position: relative;
  width: 100%;
  max-width: none;
  background: var(--ink);
}
.inner-template .site-header.is-fixed { position: relative; padding-top: 1.4rem; padding-bottom: 1.4rem; animation: none; backdrop-filter: none; }
.page-main {
  min-height: 70vh;
  padding-block: clamp(5rem, 9vw, 8.5rem);
  background: var(--paper);
  color: var(--ink);
}
.page-shell { display: grid; grid-template-columns: minmax(0, 940px); justify-content: center; }
.page-article h1 {
  max-width: 900px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  font-size: clamp(3.6rem, 8vw, 7.5rem);
  line-height: .9;
  letter-spacing: -.07em;
}
.page-content {
  max-width: 820px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.page-content > p:first-of-type:not(.legal-updated) { font-size: clamp(1.15rem, 2vw, 1.35rem); color: #3e3e39; }
.page-content h2 {
  margin: 3.2rem 0 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.page-content h3 { margin: 2.2rem 0 .8rem; font-size: 1.15rem; }
.page-content p, .page-content li { color: #40403b; }
.page-content ul, .page-content ol { display: grid; gap: .65rem; padding-left: 1.35rem; }
.page-content a:not(.button) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.page-content a:not(.button):hover { text-decoration-thickness: 2px; }
.page-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: .94rem; }
.page-content th, .page-content td { padding: .85rem .7rem; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.page-content th { color: var(--ink); }
.legal-updated {
  display: inline-block;
  margin: 0 0 2rem;
  padding: .45rem .75rem;
  border: 1px solid var(--line-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .74rem;
  letter-spacing: .03em;
}
.button-dark { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-dark:hover { background: #262626; }
.legal-action { margin: .75rem 0 1rem; text-decoration: none !important; }
.footer-legal-list { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.footer-legal-list li { margin: 0; }
.post-list { display: grid; gap: 2.2rem; }
.post-list-item { padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-light); }
.post-list-item h2 { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 820px) {
  .inner-template .site-header { position: relative; }
  .inner-template .site-header.is-fixed { position: relative; padding-top: 1.4rem; padding-bottom: 1.4rem; animation: none; backdrop-filter: none; }
  .page-main { padding-top: 4rem; }
  .page-article h1 { font-size: clamp(3.2rem, 16vw, 5.8rem); }
}
