:root {
  --ink: #18201d;
  --ink-soft: #48524e;
  --paper: #f2efe7;
  --paper-deep: #e6e1d5;
  --white: #fffdf8;
  --forest: #113f36;
  --forest-deep: #0a2d27;
  --mint: #83c9af;
  --yellow: #f1b93c;
  --orange: #dd6541;
  --line: rgba(24, 32, 29, 0.18);
  --line-light: rgba(255, 255, 255, 0.2);
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Manrope", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(21, 42, 35, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }

.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  clip: auto;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 8px;
}

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-index,
.mono-label,
.kicker {
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-index { margin-bottom: 18px; color: var(--forest); }
.section-index.light { color: var(--mint); }
.section-intro { max-width: 760px; }
.section-intro h2,
.gallery-heading h2,
.contact-card h2 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.site-header.is-scrolled {
  background: rgba(242, 239, 231, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.nav-row { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: flex; align-items: baseline; gap: 12px; font-family: var(--display); }
.wordmark > span { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.05em; }
.wordmark small { color: var(--ink-soft); font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { position: relative; font-size: 0.84rem; font-weight: 700; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--orange);
  transition: right 180ms ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 138px 0 80px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 22%, rgba(241, 185, 60, 0.28), transparent 26%),
    radial-gradient(circle at 10% 85%, rgba(131, 201, 175, 0.28), transparent 28%),
    var(--paper);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
}
.hero-layout { position: relative; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.availability {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 32px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.58);
  font-size: 0.74rem;
  font-weight: 700;
}
.availability > span { width: 8px; height: 8px; border-radius: 50%; background: #2a9d63; box-shadow: 0 0 0 5px rgba(42, 157, 99, 0.12); }
.kicker { margin-bottom: 14px; color: var(--orange); }
.hero-copy h1 {
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(3.1rem, 6.7vw, 6.8rem);
  line-height: 0.89;
  letter-spacing: -0.07em;
}
.hero-copy h1 em { color: var(--forest); font-style: normal; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 0.08em; text-underline-offset: 0.08em; }
.hero-lead { max-width: 670px; margin-top: 32px; color: var(--ink-soft); font-size: 1.03rem; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 var(--ink); }
.button-primary { color: var(--white); background: var(--forest); border-color: var(--forest); }
.button-secondary { background: rgba(255, 253, 248, 0.6); }
.hero-meta { display: flex; gap: 18px; margin-top: 38px; flex-wrap: wrap; color: var(--ink-soft); font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; }
.hero-meta span + span::before { content: "/"; margin-right: 18px; color: var(--orange); }
.hero-media { position: relative; transform: rotate(1.5deg); }
.game-window { overflow: hidden; border: 2px solid var(--ink); border-radius: 12px; background: var(--ink); box-shadow: 16px 18px 0 var(--forest), var(--shadow); }
.window-bar { height: 38px; padding: 0 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--white); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.06em; }
.window-bar > span:last-child { justify-self: end; color: var(--yellow); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border: 1px solid var(--white); border-radius: 50%; }
.game-window > img { width: 100%; aspect-ratio: 1.28; object-fit: cover; }
.media-stamp { position: absolute; right: -18px; bottom: 32px; padding: 10px 14px; background: var(--yellow); border: 2px solid var(--ink); font-family: var(--mono); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; transform: rotate(-5deg); }
.floating-note { position: absolute; top: -32px; right: 30px; padding: 14px 18px; border: 2px solid var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-4deg); }
.floating-note span { display: block; color: var(--ink-soft); font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; }
.floating-note strong { font-family: var(--display); }

.profile { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(56px, 10vw, 140px); }
.large-copy { font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.035em; }
.profile-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 58px; border-top: 1px solid var(--line); }
.profile-facts article { padding: 24px 22px 0 0; }
.profile-facts article + article { padding-left: 22px; border-left: 1px solid var(--line); }
.profile-facts span, .tool-groups span { color: var(--orange); font-family: var(--mono); font-size: 0.65rem; font-weight: 600; text-transform: uppercase; }
.profile-facts h3 { margin-top: 8px; font-family: var(--display); font-size: 1.08rem; }
.profile-facts p { margin-top: 4px; color: var(--ink-soft); font-size: 0.8rem; line-height: 1.5; }

.project { color: var(--white); background: var(--forest); }
.project-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.project-heading h2 { font-family: var(--display); font-size: clamp(4.5rem, 11vw, 10rem); line-height: 0.75; letter-spacing: -0.08em; }
.project-summary > p { color: rgba(255, 255, 255, 0.72); font-size: 1.04rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tag-row span { padding: 6px 10px; border: 1px solid var(--line-light); border-radius: 999px; font-family: var(--mono); font-size: 0.6rem; text-transform: uppercase; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-light); }
.metric-grid article { padding: 38px 24px 34px 0; }
.metric-grid article + article { padding-left: 24px; border-left: 1px solid var(--line-light); }
.metric-grid strong { display: block; color: var(--yellow); font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.06em; }
.metric-grid span { font-family: var(--mono); font-size: 0.64rem; text-transform: uppercase; }
.case-layout { display: grid; grid-template-columns: 0.38fr 0.62fr; gap: clamp(60px, 10vw, 140px); padding-top: 88px; }
.case-sticky { position: sticky; top: 110px; align-self: start; }
.mono-label { color: var(--mint); }
.case-sticky h3 { margin: 10px 0 12px; font-family: var(--display); font-size: 2.2rem; letter-spacing: -0.04em; }
.case-sticky > p:not(.mono-label) { color: rgba(255, 255, 255, 0.65); }
.case-sticky dl { margin-top: 36px; border-top: 1px solid var(--line-light); }
.case-sticky dl > div { padding: 13px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line-light); font-size: 0.78rem; }
.case-sticky dt { color: rgba(255, 255, 255, 0.54); }
.case-sticky dd { font-family: var(--mono); font-size: 0.68rem; }
.stacked-actions { display: grid; gap: 10px; margin-top: 30px; }
.text-link { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--mint); font-size: 0.82rem; font-weight: 700; }
.text-link:hover { color: var(--yellow); }
.case-content { display: grid; gap: 70px; }
.case-block { padding-bottom: 70px; border-bottom: 1px solid var(--line-light); }
.case-block h3 { max-width: 720px; margin: 14px 0 22px; font-family: var(--display); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -0.05em; }
.case-block > p:last-child { max-width: 670px; color: rgba(255, 255, 255, 0.68); }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.decision-grid article { min-height: 260px; padding: 26px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.decision-no { color: var(--yellow); font-family: var(--mono); font-size: 0.67rem; }
.decision-grid h4 { margin: 42px 0 12px; font-family: var(--display); font-size: 1.35rem; }
.decision-grid p { color: rgba(255, 255, 255, 0.63); font-size: 0.82rem; }

.gallery { background: var(--paper-deep); }
.gallery-heading { display: grid; grid-template-columns: 1fr 0.65fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.gallery-heading > p { color: var(--ink-soft); }
.gallery-stage { position: relative; outline: none; }
.gallery-stage:focus-visible { box-shadow: 0 0 0 4px var(--yellow); }
.gallery-item { display: none; grid-template-columns: 1.45fr 0.55fr; min-height: 540px; margin: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--ink); box-shadow: 12px 12px 0 var(--forest); }
.gallery-item.is-active { display: grid; animation: gallery-in 360ms ease both; }
@keyframes gallery-in { from { opacity: 0; transform: translateY(10px); } }
.handheld { width: min(90%, 680px); margin: auto; padding: 20px 22px 16px; align-self: center; border: 2px solid #171b1a; border-radius: 32px 32px 58px 32px; background: linear-gradient(145deg, #d9d6c8, #aaa99f); box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.45), inset -5px -6px 0 rgba(25, 32, 29, 0.16), 0 18px 30px rgba(0, 0, 0, 0.28); }
.handheld-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 12px solid #26312f; border-radius: 15px 15px 28px 15px; background: #0a100e; box-shadow: inset 0 0 0 2px #070b0a; }
.handheld-screen::before { content: ""; position: absolute; z-index: 1; top: 10px; left: 12px; width: 7px; height: 7px; border-radius: 50%; background: #ef684d; box-shadow: 0 0 8px #ef684d; pointer-events: none; }
.handheld-screen > img { width: 100%; height: 100%; object-fit: contain; background: #0a100e; image-rendering: pixelated; }
.handheld-controls { min-height: 54px; padding: 11px 12px 0; display: grid; grid-template-columns: 48px 1fr 70px; align-items: center; color: #39423f; }
.handheld-controls strong { text-align: center; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; }
.d-pad { position: relative; width: 16px; height: 46px; margin-left: 15px; border-radius: 4px; background: #252b29; }
.d-pad::after { content: ""; position: absolute; top: 15px; left: -15px; width: 46px; height: 16px; border-radius: 4px; background: #252b29; }
.action-buttons { display: flex; justify-content: flex-end; gap: 8px; transform: rotate(-18deg); }
.action-buttons i { width: 24px; height: 24px; border: 2px solid #71343b; border-radius: 50%; background: #bd5663; box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.2); }
.gallery-item figcaption { padding: 40px 32px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); }
.gallery-item figcaption span { margin-bottom: auto; color: var(--mint); font-family: var(--mono); font-size: 0.72rem; }
.gallery-item figcaption strong { font-family: var(--display); font-size: 2rem; line-height: 1.05; }
.gallery-item figcaption p { margin-top: 14px; color: rgba(255, 255, 255, 0.64); font-size: 0.82rem; }
.gallery-controls { margin-top: 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.gallery-controls > button { width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; transition: background 150ms ease, color 150ms ease; }
.gallery-controls > button:hover { color: var(--white); background: var(--forest); }
.gallery-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.gallery-tabs button { padding: 7px 12px; border: 1px solid transparent; background: transparent; color: var(--ink-soft); font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; cursor: pointer; }
.gallery-tabs button.is-active { border-color: var(--ink); color: var(--ink); background: var(--yellow); }

.engineering { background: var(--white); }
.architecture { margin-top: 64px; display: grid; grid-template-columns: 0.36fr 1fr; gap: 10px; }
.architecture-label { grid-row: span 4; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.architecture-label span { font-family: var(--mono); font-size: 0.67rem; text-transform: uppercase; }
.architecture-label strong { font-family: var(--display); font-size: 4.2rem; line-height: 0.85; letter-spacing: -0.07em; }
.layer { min-height: 105px; padding: 22px 28px; display: grid; grid-template-columns: 54px 1fr; align-items: center; border-radius: 14px; }
.layer > span { font-family: var(--mono); font-size: 0.67rem; }
.layer h3 { font-family: var(--display); font-size: 1.25rem; }
.layer p { font-size: 0.78rem; }
.layer-presentation { color: var(--white); background: var(--forest-deep); }
.layer-gameplay { color: var(--white); background: var(--forest); }
.layer-systems { background: var(--mint); }
.layer-common { background: var(--yellow); }
.engineering-grid { margin-top: 92px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.engineering-card { min-height: 310px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.engineering-card .mono-label { color: var(--orange); }
.engineering-card h3 { max-width: 480px; margin: 44px 0 16px; font-family: var(--display); font-size: 1.8rem; line-height: 1.12; letter-spacing: -0.04em; }
.engineering-card > p:last-child { color: var(--ink-soft); font-size: 0.88rem; }
.learning-strip { margin-top: 90px; padding: 42px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; color: var(--white); background: var(--orange); border-radius: var(--radius); }
.learning-strip span { font-family: var(--mono); font-size: 0.67rem; text-transform: uppercase; }
.learning-strip h3 { margin-top: 12px; font-family: var(--display); font-size: 2.1rem; line-height: 1.05; }
.learning-strip > p { color: rgba(255, 255, 255, 0.85); }

.toolkit { background: var(--paper); border-top: 1px solid var(--line); }
.toolkit-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 100px; }
.tool-groups { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool-groups article { min-height: 210px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool-groups p { margin-top: 45px; font-size: 0.86rem; }

.contact { padding-top: 0; background: var(--paper); }
.contact-card { padding: clamp(38px, 6vw, 74px); color: var(--white); background: var(--forest-deep); border-radius: 30px; }
.contact-grid { display: grid; grid-template-columns: 1fr 0.75fr; gap: 90px; align-items: end; }
.contact-grid > div:first-child > p { max-width: 650px; margin-top: 24px; color: rgba(255, 255, 255, 0.65); }
.contact-links { border-top: 1px solid var(--line-light); }
.contact-links a { padding: 17px 0; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; border-bottom: 1px solid var(--line-light); }
.contact-links span { color: var(--mint); font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; }
.contact-links strong { font-size: 0.82rem; }
.contact-links i { font-style: normal; transition: transform 150ms ease; }
.contact-links a:hover i { transform: translate(4px, -4px); }

.site-footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-row { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; color: var(--ink-soft); font-size: 0.66rem; }
.footer-row p:nth-child(2) { text-align: center; }
.footer-row a { font-weight: 700; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1); }
.js .reveal[data-delay="1"] { transition-delay: 100ms; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .hero { min-height: auto; }
  .hero-layout, .profile-layout, .project-heading, .case-layout, .gallery-heading, .toolkit-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { width: min(720px, 94%); margin: 30px auto 0; }
  .profile-facts { margin-top: 38px; }
  .project-heading, .gallery-heading { gap: 30px; }
  .project-heading h2 { line-height: 0.9; }
  .case-sticky { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .case-sticky > .mono-label, .case-sticky > h3, .case-sticky > p { grid-column: 1 / -1; }
  .case-sticky dl, .stacked-actions { margin-top: 30px; }
  .gallery-item { grid-template-columns: 1fr; }
  .handheld { margin: 40px auto; }
  .gallery-item figcaption { min-height: 230px; }
  .architecture { grid-template-columns: 1fr; }
  .architecture-label { grid-row: auto; min-height: 160px; }
  .learning-strip { gap: 40px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 30px, 1180px); }
  .section { padding: 72px 0; }
  .site-header { background: rgba(242, 239, 231, 0.94); border-bottom-color: var(--line); }
  .wordmark small { display: none; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .main-nav {
    position: fixed;
    inset: 0;
    padding: 120px 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    visibility: hidden;
    opacity: 0;
    background: var(--paper);
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; }
  .no-js .main-nav { position: static; padding: 0; visibility: visible; opacity: 1; background: transparent; flex-direction: row; }
  .no-js .main-nav a { font-family: var(--body); font-size: 0.75rem; }
  .no-js .menu-toggle { display: none; }
  .main-nav a { font-family: var(--display); font-size: 2.4rem; }
  .hero { padding-top: 116px; }
  .hero-layout { gap: 42px; }
  .hero-copy h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .availability { margin-bottom: 24px; }
  .hero-meta { gap: 9px 14px; }
  .hero-meta span + span::before { margin-right: 14px; }
  .game-window { box-shadow: 8px 9px 0 var(--forest), var(--shadow); }
  .floating-note { top: -22px; right: -4px; }
  .profile-facts, .metric-grid, .decision-grid, .engineering-grid, .tool-groups { grid-template-columns: 1fr; }
  .profile-facts article + article, .metric-grid article + article { padding-left: 0; border-left: 0; }
  .profile-facts article, .profile-facts article + article { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .metric-grid article, .metric-grid article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .metric-grid { border-bottom: 0; }
  .case-layout { padding-top: 62px; }
  .case-sticky { display: block; }
  .case-block { padding-bottom: 52px; }
  .decision-grid article { min-height: 220px; }
  .gallery-item { min-height: 0; box-shadow: 7px 7px 0 var(--forest); }
  .handheld { width: calc(100% - 28px); margin: 20px auto; padding: 12px 13px 10px; border-radius: 22px 22px 38px 22px; }
  .handheld-screen { border-width: 8px; border-radius: 10px 10px 20px 10px; }
  .handheld-controls { min-height: 42px; padding-top: 8px; grid-template-columns: 38px 1fr 58px; }
  .d-pad { width: 12px; height: 34px; margin-left: 11px; }
  .d-pad::after { top: 11px; left: -11px; width: 34px; height: 12px; }
  .action-buttons i { width: 19px; height: 19px; }
  .gallery-item figcaption { padding: 28px 24px; }
  .gallery-controls { grid-template-columns: auto auto; justify-content: space-between; }
  .gallery-tabs { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }
  .layer { grid-template-columns: 38px 1fr; padding: 18px; }
  .layer p { line-height: 1.5; }
  .engineering-card { min-height: 260px; padding: 28px; }
  .learning-strip { padding: 30px 24px; grid-template-columns: 1fr; }
  .tool-groups article { min-height: 180px; }
  .contact-card { border-radius: 20px; }
  .contact-grid { gap: 50px; }
  .contact-links a { grid-template-columns: 58px 1fr auto; }
  .contact-links strong { overflow-wrap: anywhere; }
  .footer-row { grid-template-columns: 1fr; text-align: left; }
  .footer-row p:nth-child(2) { text-align: left; }
}

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