:root {
  --bg: #fbf7ed;
  --ink: #132317;
  --muted: #61635a;
  --green: #608d35;
  --line: #d4d3c7;
  --header: 80px;
  --gap: 24px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
::selection { background: #d6e9ba; color: var(--ink); }
.wrap { width: min(1440px, 90%); margin-inline: auto; }
.icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; vertical-align: middle; }
.accent, h2 em { color: var(--green); font-style: normal; }
.eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .18em; line-height: 1.5; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 14px 20px; border-radius: 4px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.header { position: fixed; inset: 0 0 auto; height: var(--header); z-index: 20; transition: background .25s ease, box-shadow .25s ease; }
.header.scrolled { background: #fbf7ed; box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 24px/1 'Space Grotesk', sans-serif; letter-spacing: -.055em; }
.brand > img { flex-shrink: 0; transition: transform .25s ease; }
.brand:hover > img { transform: rotate(-8deg); }
.header nav { display: flex; align-items: center; gap: 44px; font-size: 15px; }
.header nav a { position: relative; padding: 10px 0; }
.header nav a::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.header nav a:hover::after, .header nav a[aria-current]::after { transform: scaleX(1); }
.hero { position: relative; min-height: 570px; height: min(44.86vw, 780px); overflow: hidden; isolation: isolate; background: #f7efdf; }
.hero-illustration { position: absolute; inset: -3px; z-index: -1; transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0); transition: transform 1s cubic-bezier(.2,.65,.3,1); }
.hero-illustration picture { display: block; width: 100%; height: 100%; }
.hero-scene { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; animation: scene-breathe 12s ease-in-out infinite; transform-origin: 60% 65%; }
.hero-content { position: relative; padding-top: clamp(110px, 8vw, 142px); display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.hero-copy { min-width: 0; }
.hero .eyebrow { display: flex; align-items: center; gap: 14px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(68px, 7.15vw, 114px); line-height: 1.08; font-weight: 400; letter-spacing: -.035em; margin: 18px 0 0; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--green); }
.title-spark { width: .6em; height: .6em; margin-left: .2em; vertical-align: -.035em; filter: invert(53%) sepia(96%) saturate(1064%) hue-rotate(348deg) brightness(105%); animation: spark-sway 8s ease-in-out infinite; }
.hero-intro { width: 288px; flex-shrink: 0; padding-top: 28px; }
.hero-intro p { margin: 0 0 17px; font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 49px; padding: 12px 26px; border-radius: 28px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.primary-link .icon { filter: invert(87%) sepia(40%) saturate(472%) hue-rotate(32deg) brightness(90%); }
.primary-link:hover { background: #31532b; transform: translateY(-2px); }
.motion-toggle { position: absolute; right: 5%; bottom: 17px; display: none; align-items: center; gap: 5px; border: 1px solid #ddd4bd; border-radius: 24px; background: #fff9ebdf; padding: 7px 10px; font-size: 10px; font-weight: 500; opacity: .75; transition: opacity .2s; }
.motion-toggle .icon { width: 13px; height: 13px; }
.enhanced .motion-toggle { display: inline-flex; }
.motion-toggle:hover, .motion-toggle:focus-visible { opacity: 1; }
.collection { padding: 30px 0 72px; border-top: 1px solid var(--line); }
.collection-head, .collection-label, .collection-controls { display: flex; align-items: center; }
.collection-head { justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.collection-label { gap: 30px; align-items: baseline; }
.collection-head h2 { margin: 0; font-size: clamp(38px, 3.55vw, 58px); line-height: 1.15; letter-spacing: -.065em; font-weight: 800; }
.project-total { font-size: 14px; white-space: nowrap; }
.collection-controls { gap: 12px; flex-shrink: 0; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; border-radius: 50%; transition: background .2s ease, opacity .2s ease; }
.icon-button .icon { width: 24px; height: 24px; }
.icon-button:hover:not(:disabled) { background: #e8eddf; }
.icon-button:disabled { opacity: .28; }
.control-rule { height: 16px; width: 1px; background: var(--line); }
.games-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap)) / 2); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding: 1px 1px 10px; margin: -1px; overscroll-behavior-x: contain; }
.games-track::-webkit-scrollbar { display: none; }
.game { min-width: 0; scroll-snap-align: start; }
.game-media { position: relative; border-radius: 10px; overflow: hidden; background: #eee8d9; }
.game-link { display: block; aspect-ratio: 2.5; overflow: hidden; }
.game-banner { height: 100%; width: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.65,.3,1); }
.game-media:hover .game-banner { transform: scale(1.025); }
.cover-gallery { display: flex; align-items: center; justify-content: center; height: 100%; gap: 12px; padding: 12px; }
.cover-gallery img { height: 100%; width: auto; max-width: 24%; object-fit: contain; border-radius: 6px; box-shadow: 0 5px 15px #382c1715; transition: transform .5s ease; }
.game-media:hover .cover-gallery img:nth-child(odd) { transform: translateY(-3px); }
.game-media:hover .cover-gallery img:nth-child(even) { transform: translateY(3px); }
.preview-button { position: absolute; right: 12px; bottom: 12px; display: none; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #fff8; border-radius: 24px; color: var(--ink); background: #fffdf2ed; font-size: 11px; font-weight: 600; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.preview-button .icon { width: 16px; height: 16px; }
.enhanced .preview-button { display: inline-flex; }
.game-media:hover .preview-button, .game-media:focus-within .preview-button { opacity: 1; transform: none; }
.game-info { padding-top: 11px; }
.game-info h3 { margin: 0; font-size: clamp(19px, 1.65vw, 26px); line-height: 1.25; letter-spacing: -.045em; font-weight: 700; }
.game-info h3 a:hover { color: var(--green); }
.game-info p { margin: 5px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.game-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 16px; font-size: 14px; font-weight: 500; }
.downloads, .store-link { display: inline-flex; align-items: center; gap: 10px; }
.downloads { border-right: 1px solid #babdb1; padding-right: 22px; }
.game-meta .icon { width: 18px; height: 18px; }
.store-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b5b8aa; transition: color .2s; }
.store-link:hover { color: var(--green); }
.collection-bottom { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; }
.collection-count { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .1em; margin: 0; }
.text-button { padding: 8px 0; display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; font-size: 12px; border-bottom: 1px solid #b5b8aa; }
.text-button .icon { width: 16px; height: 16px; }
.text-button:hover { color: var(--green); }
.collection-controls, .collection-bottom { visibility: hidden; }
.enhanced .collection-controls, .enhanced .collection-bottom { visibility: visible; }
.collection.expanded .games-track { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; gap: 42px var(--gap); }
.collection.expanded .collection-controls { visibility: hidden; }
.development { border-top: 1px solid var(--line); padding: 72px 0 82px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(40px, 4.2vw, 65px); line-height: 1.05; letter-spacing: -.065em; font-weight: 700; margin: 16px 0 0; }
.section-heading > p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.development-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.development-art { overflow: hidden; border-radius: 10px; margin-bottom: 24px; }
.development-art img { width: 100%; height: auto; aspect-ratio: 1.95; object-fit: cover; transition: transform .7s ease; }
.development-card:hover .development-art img { transform: scale(1.025); }
.development-card .eyebrow { font-size: 9px; color: #63754e; }
.development-card h3 { margin: 8px 0; font-size: 28px; letter-spacing: -.045em; }
.development-card > p:last-child { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 430px; margin: 0; }
.about { border-top: 1px solid var(--line); padding: 80px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.about h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 4vw, 60px); font-weight: 400; letter-spacing: -.035em; line-height: 1.2; margin: 20px 0; }
.about-intro { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 410px; }
.skills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.skills span { border: 1px solid var(--line); border-radius: 20px; padding: 8px 12px; font-size: 11px; }
.experience article { padding: 5px 0 27px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.experience article:last-child { margin-bottom: 0; }
.experience-date { font-size: 10px; letter-spacing: .12em; color: #69735e; }
.experience h3 { font: 600 23px 'Space Grotesk', sans-serif; margin: 12px 0; letter-spacing: -.04em; }
.experience p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0 36px; border-top: 1px solid var(--line); }
.footer > span, .back-top { font-size: 12px; color: var(--muted); }
.footer .brand { font-size: 21px; }
.footer .brand > img { width: 23px; height: 23px; }
.back-top { display: inline-flex; align-items: center; gap: 12px; }
.screenshot-dialog { width: min(1040px, calc(100% - 40px)); max-height: calc(100dvh - 36px); border: 1px solid #e7dfcb; border-radius: 16px; padding: 25px; color: var(--ink); background: var(--bg); box-shadow: 0 20px 100px #18211730; }
.screenshot-dialog::backdrop { background: #142016e6; }
.screenshot-dialog[open] { animation: appear .25s ease; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dialog-header .eyebrow { font-size: 9px; color: var(--muted); }
.dialog-header h2 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.04em; }
.dialog-stage { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: min(63dvh, 650px); padding: 20px 0; }
.dialog-stage .icon-button { flex-shrink: 0; border: 1px solid var(--line); }
.dialog-image { height: 100%; width: calc(100% - 120px); object-fit: contain; min-width: 0; touch-action: pan-y; }
.dialog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-count { font-size: 12px; color: var(--muted); min-width: 40px; font-variant-numeric: tabular-nums; }
.dialog-thumbs { display: flex; gap: 8px; justify-content: center; }
.dialog-thumbs button { width: 32px; height: 56px; border: 1px solid var(--line); background: #eee8da; padding: 0; border-radius: 4px; overflow: hidden; opacity: .55; }
.dialog-thumbs button[aria-current] { opacity: 1; outline: 2px solid var(--green); outline-offset: 2px; }
.dialog-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dialog-store { font-size: 12px; white-space: nowrap; }
.reveal { transition: opacity .65s ease, transform .65s ease; }
.reveal.pending { opacity: 0; transform: translateY(16px); }
.motion-paused .hero-scene, .motion-paused .title-spark, .page-hidden * { animation-play-state: paused !important; }
.hero-outside .hero-scene { animation-play-state: paused; }
.motion-paused .hero-illustration { transform: none; }
@keyframes scene-breathe { 0%, 100% { transform: scale(1.003); } 50% { transform: scale(1.016); } }
@keyframes spark-sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(9deg); } }
@keyframes appear { from { opacity: 0; transform: translateY(10px); } }
@media (min-width: 1750px) { .hero-content { padding-top: 140px; } .hero-intro { padding-top: 32px; width: 320px; } }
@media (max-width: 1200px) { .hero-intro { width: 240px; padding-top: 28px; } .hero-intro p { font-size: 17px; } .hero h1 { font-size: 6.7vw; } .hero .eyebrow { font-size: 10px; } .project-total { font-size: 12px; } .collection-label { gap: 20px; } .game-info p { font-size: 13px; } }
@media (max-width: 900px) { .hero { height: 700px; } .hero-content { display: block; padding-top: 110px; } .hero h1 { font-size: clamp(48px, 8.2vw, 70px); } .hero-intro { padding-top: 20px; width: auto; display: flex; align-items: center; gap: 35px; } .hero-intro p { margin: 0; font-size: 16px; } .hero-illustration { inset: -3px; height: auto; } .hero-scene { object-position: center bottom; } .hero { background: #fbf7ed; } .collection-label { align-items: flex-start; flex-direction: column; gap: 6px; } .project-total { font-size: 12px; } .collection-head h2 { font-size: 40px; } .game-meta { gap: 12px; font-size: 11px; } .downloads { padding-right: 12px; } .about { gap: 35px; } }
@media (max-width: 600px) {
  :root { --header: 70px; --gap: 16px; }
  .wrap { width: calc(100% - 40px); }
  html { scroll-padding-top: 85px; }
  .header nav { gap: 20px; font-size: 12px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand > img { width: 23px; height: 23px; }
  .hero { min-height: 0; height: 660px; }
  .hero-content { padding-top: 103px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .16em; gap: 10px; }
  .status-dot { width: 7px; height: 7px; }
  .hero h1 { font-size: clamp(37px, 9.7vw, 58px); line-height: 1.08; margin-top: 17px; }
  .title-spark { margin-left: .16em; width: .5em; height: .5em; }
  .hero-intro { display: block; padding-top: 18px; }
  .hero-intro p { font-size: 15px; line-height: 1.45; margin-bottom: 14px; }
  .primary-link { min-height: 44px; padding: 10px 21px; font-size: 13px; gap: 24px; }
  .primary-link .icon { width: 18px; height: 18px; }
  .hero-illustration { height: auto; inset: -3px; }
  .hero-scene { object-position: center bottom; }
  .motion-toggle { bottom: 10px; right: 20px; font-size: 9px; }
  .collection { padding: 28px 0 47px; }
  .collection-head { gap: 14px; margin-bottom: 19px; }
  .collection-label { gap: 7px; }
  .collection-head h2 { font-size: 31px; white-space: nowrap; }
  .project-total { font-size: 11px; }
  .collection-controls { gap: 0; }
  .collection-controls .icon-button { width: 36px; height: 44px; padding: 7px; }
  .control-rule { height: 13px; }
  .games-track { grid-auto-columns: 100%; }
  .game-link { aspect-ratio: 2.2; }
  .game-media { border-radius: 8px; }
  .game-info h3 { font-size: 22px; }
  .game-info p { font-size: 13px; line-height: 1.5; }
  .game-meta { font-size: 12px; gap: 18px; margin-top: 14px; }
  .downloads { padding-right: 18px; }
  .game-meta .icon { width: 17px; height: 17px; }
  .preview-button { opacity: 1; transform: none; padding: 7px 9px; font-size: 10px; right: 8px; bottom: 8px; }
  .cover-gallery { gap: 6px; padding: 8px; }
  .collection-bottom { margin-top: 22px; }
  .collection.expanded .games-track { grid-template-columns: 1fr; gap: 32px; }
  .development { padding: 48px 0 55px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 44px; }
  .section-heading > p { font-size: 14px; }
  .development-grid { grid-template-columns: 1fr; gap: 34px; }
  .development-art { margin-bottom: 18px; }
  .development-card h3 { font-size: 27px; }
  .development-card > p:last-child { font-size: 14px; }
  .about { padding: 55px 0; grid-template-columns: 1fr; gap: 35px; }
  .about h2 { font-size: 45px; }
  .about-intro { font-size: 15px; }
  .eyebrow { font-size: 10px; }
  .footer { flex-wrap: wrap; gap: 22px; padding: 28px 0; }
  .footer > span { order: 3; width: 100%; font-size: 11px; }
  .back-top { font-size: 11px; gap: 8px; }
  .screenshot-dialog { padding: 16px; width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .dialog-header { gap: 10px; }
  .dialog-header h2 { font-size: 19px; }
  .dialog-header .eyebrow { font-size: 8px; }
  .dialog-header .icon-button { flex-shrink: 0; width: 40px; }
  .dialog-stage { height: 58dvh; gap: 6px; padding: 16px 0; }
  .dialog-stage .icon-button { width: 36px; height: 44px; padding: 6px; border: 0; }
  .dialog-image { width: calc(100% - 84px); }
  .dialog-bottom { flex-wrap: wrap; gap: 17px; }
  .dialog-count { min-width: 25px; font-size: 11px; }
  .dialog-thumbs { gap: 7px; }
  .dialog-thumbs button { width: 27px; height: 45px; }
  .dialog-store { margin-left: auto; font-size: 11px; }
}
@media (max-width: 360px) { .wrap { width: calc(100% - 32px); } .header nav { gap: 13px; font-size: 11px; } .brand { font-size: 18px; } .hero h1 { font-size: 34px; } .collection-head h2 { font-size: 27px; } .collection-head { gap: 8px; } .game-meta { gap: 12px; font-size: 11px; } .downloads { padding-right: 12px; } }
@media (hover: none) { .preview-button { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html, .games-track { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .hero-illustration { transform: none; } .reveal.pending { opacity: 1; transform: none; } }
/* Featured project and contact */
.case-study,.contact { border-top: 1px solid var(--line); padding: 72px 0 82px; }
.case-intro { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:36px; }
.case-intro h2,.contact h2 { font-size:clamp(42px,5vw,72px); letter-spacing:-.065em; line-height:1; margin:16px 0; }
.case-lead { font-size:18px; color:var(--muted); margin:0; }
.case-facts { display:flex; flex-direction:column; align-items:flex-start; gap:10px; font-size:14px; }
.case-body { display:grid; grid-template-columns: 1fr 1.25fr; gap:50px; align-items:center; }
.case-copy h3 { font-size:clamp(26px,2.5vw,36px); letter-spacing:-.045em; line-height:1.15; margin:16px 0; }
.case-copy > p:not(.eyebrow),.contact p:not(.eyebrow) { max-width:470px; color:var(--muted); line-height:1.7; font-size:15px; }
.case-note { border-left:2px solid var(--green); padding-left:14px; }
.case-shots { display:flex; justify-content:center; gap:14px; padding:28px; border-radius:12px; background:#eee7d8; }
.case-shots img { width:calc((100% - 28px)/3); height:auto; object-fit:contain; border-radius:8px; box-shadow:0 5px 20px #382c1720; }
.case-link { font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.contact h2 { max-width:720px; }
.contact em { color:var(--green); font-style:normal; }
@media(max-width:900px) { .case-body { grid-template-columns:1fr; gap:26px; } .case-study,.contact { padding:55px 0; } }
@media(max-width:600px) { .header nav { gap:12px; font-size:11px; } .brand { font-size:18px; } .hero .eyebrow { font-size:10px; } .case-intro { display:block; } .case-facts { margin-top:22px; } .case-shots { padding:15px; gap:8px; } .case-shots img { width:calc((100% - 16px)/3); } .case-study,.contact { padding:48px 0; } }
@media(max-width:360px) { .header nav { gap:8px; font-size:10px; } .brand { font-size:16px; } }

/* Project context and contact */
.case-details { display:grid; gap:16px; margin-top:28px; }
.case-details > div { border-top:1px solid var(--line); padding-top:14px; }
.case-details span, .contact-links span:first-child { display:block; color:var(--muted); font-size:10px; letter-spacing:.13em; font-weight:700; margin-bottom:6px; }
.case-details strong { font-size:15px; }
.case-details p { margin:5px 0 0; color:var(--muted); line-height:1.55; font-size:13px; }
.contact { display:grid; grid-template-columns:1.2fr 1fr; gap:70px; align-items:end; }
.contact-links { border-top:1px solid var(--line); }
.contact-links > a, .contact-links > div { display:grid; grid-template-columns:1fr auto; align-items:center; gap:4px 16px; padding:18px 0; border-bottom:1px solid var(--line); text-decoration:none; }
.contact-links span:first-child { grid-column:1; margin:0; }
.contact-links strong { grid-column:1; font-size:clamp(15px,1.5vw,19px); overflow-wrap:anywhere; }
.contact-links a > span:last-child { grid-column:2; grid-row:1 / 3; font-size:24px; color:var(--green); }
.contact-links a:hover strong { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:700px) { .contact { grid-template-columns:1fr; gap:25px; } }

.release-date {font-size:12px;color:var(--muted);margin:8px 0 12px;}

.project-context { margin-top:18px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.project-context summary { cursor:pointer; padding:15px 0; font-size:14px; font-weight:700; }
.project-context summary span { display:inline-block; margin-left:8px; font-size:11px; color:var(--green); font-weight:600; }
.project-context-body { padding:0 4px 16px; font-size:13px; line-height:1.65; color:var(--muted); }
.project-context-body h4 { margin:16px 0 6px; font-size:14px; color:var(--ink); }
.project-context-body ul { padding-left:18px; margin:0; }
.project-context-body .estimate-label { font-size:10px; letter-spacing:.08em; font-weight:700; color:var(--ink); }
.project-context-body .scope-note { font-size:12px; border-left:2px solid var(--green); padding-left:10px; margin-bottom:0; }

.language-switch { display:flex; align-items:center; padding:3px; border:1px solid var(--line); border-radius:20px; gap:2px; margin-left:24px; }
.language-switch a { padding:7px 10px; border-radius:16px; font-size:12px; font-weight:700; text-decoration:none; }
.language-switch a[aria-current] { background:var(--ink); color:var(--cream, #fbf7ed); }
.header nav { margin-left:auto; }
html[lang="vi"] .hero h1 { font-size:clamp(46px,6vw,92px); }
html[lang="vi"] .hero-intro { width:310px; }
@media(max-width:700px) { .header-inner { flex-wrap:wrap; gap:8px; padding-top:10px; padding-bottom:10px; } .header nav { order:3; width:100%; justify-content:space-between; margin:0; } .language-switch { margin-left:auto; } html[lang="vi"] .hero-intro { width:auto; } html[lang="vi"] .hero h1 { font-size:clamp(38px,8.5vw,58px); } }
/* Mobile copy and layout review */
@media(max-width:700px) {
  :root { --header:96px; }
  html { scroll-padding-top:112px; }
  .header-inner { padding-top:8px; padding-bottom:8px; gap:4px 12px; }
  .header nav a { min-height:32px; display:inline-flex; align-items:center; }
  .language-switch a { min-height:34px; min-width:34px; display:inline-flex; align-items:center; justify-content:center; }
  .hero-content { padding-top:122px; }
  html[lang="vi"] .hero h1 { font-size:clamp(30px,8.4vw,58px); line-height:1.08; }
  .collection-head h2 { white-space:normal; }
  .collection-label { min-width:0; }
  .collection-bottom { flex-wrap:wrap; gap:12px; }
  .project-context summary { line-height:1.6; }
  .game-info h3, .experience h3, .dialog-header h2 { overflow-wrap:anywhere; }
  .contact-links, .contact-intro, .case-copy { min-width:0; }
}
@media(max-width:380px) {
  .collection-head { flex-wrap:wrap; align-items:flex-start; gap:12px; }
  .collection-controls { margin-left:auto; }
  .collection-head h2 { font-size:28px; }
  .hero .eyebrow { letter-spacing:.1em; font-size:7px; }
  .project-context summary span { display:block; margin-left:0; }
  .contact h2 { font-size:38px; }
}

.project-context.compact { padding:12px 0; border-bottom:0; }
.project-duration { margin:0 0 8px; font-size:12px; font-weight:700; color:var(--green); }
.project-context.compact ul,.case-highlights { margin:0; padding-left:18px; color:var(--muted); font-size:14px; line-height:1.65; }
.collection-note { font-size:12px; color:var(--muted); line-height:1.6; margin:0 0 20px; max-width:650px; }
.case-highlights { font-size:16px; }

.games-track.featured-grid { grid-auto-flow:row; grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-columns:auto; overflow:visible; gap:36px var(--gap); }
.project-category { margin:18px 0 6px; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--green); font-weight:700; }
.project-description { font-size:14px; line-height:1.65; color:var(--muted); margin:8px 0 14px; }
.featured-detail { border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.featured-detail summary,.other-projects summary { cursor:pointer; font-weight:700; padding:15px 0; font-size:14px; }
.featured-detail ul { margin:0 0 18px; padding-left:18px; color:var(--muted); font-size:14px; line-height:1.65; }
.featured-detail li+li { margin-top:7px; }
.other-projects { margin-top:35px; border-top:1px solid var(--line); }
.other-projects ul { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 30px; }
.other-projects a { display:flex; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); font-size:14px; }
.skill-section { padding:55px 0; border-top:1px solid var(--line); }
.skill-section h2 { font-size:clamp(30px,4vw,52px); letter-spacing:-.045em; margin:16px 0 25px; }
.skill-table { width:100%; border-collapse:collapse; font-size:15px; line-height:1.6; }
.skill-table caption { text-align:left; color:var(--muted); font-size:13px; padding-bottom:14px; }
.skill-table th,.skill-table td { text-align:left; padding:16px; border-bottom:1px solid var(--line); vertical-align:top; }
.skill-table thead { background:#ecefdf; }
.skill-table tbody th { width:30%; }
.skill-table td { color:var(--muted); }
@media(max-width:600px) { .games-track.featured-grid,.other-projects ul { grid-template-columns:1fr; } .skill-table { font-size:13px; } .skill-table th,.skill-table td { padding:12px 8px; overflow-wrap:anywhere; } .skill-table tbody th { width:36%; } }

.other-carousel { margin-top:48px; padding-top:28px; border-top:1px solid var(--line); min-width:0; }
.other-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:20px; }
.other-heading h3 { margin:0; font-size:26px; letter-spacing:-.04em; }
.other-heading p { margin:7px 0 0; color:var(--muted); font-size:13px; }
.other-controls { display:flex; flex-shrink:0; gap:4px; }
.other-controls button { font-size:26px; }
.other-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 40px)/3); gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:2px 1px 16px; scrollbar-width:thin; scrollbar-color:#91a573 transparent; }
.other-game { min-width:0; scroll-snap-align:start; }
.other-game .game-info h3 { font-size:18px; }
.other-game .game-meta { gap:10px; font-size:11px; }
.other-game .downloads { padding-right:10px; }
.other-game .game-link { aspect-ratio:2.2; }
.other-position { color:var(--muted); font-size:12px; margin:12px 0 0; }
@media(max-width:900px) { .other-track { grid-auto-columns:calc((100% - 20px)/2); } }
@media(max-width:600px) { .other-track { grid-auto-columns:88%; gap:16px; } .other-heading { align-items:flex-start; } .other-heading h3 { font-size:23px; } .other-heading p { font-size:12px; } .other-controls { gap:0; } .other-controls button { width:36px; } }

.dimension-badge { display:inline-block; padding:3px 7px; margin-right:6px; background:#e4ebd9; border-radius:5px; color:var(--ink); font-size:11px; letter-spacing:0; }
@media(min-width:1100px) { .games-track.featured-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .featured-grid .game-info h3 { font-size:22px; } .featured-grid .game-meta { gap:12px; font-size:12px; } .featured-grid .downloads { padding-right:12px; } }
.project-total { white-space:normal; line-height:1.5; }
