:root {
  --ink: #111214;
  --ink-soft: #1b1c20;
  --ink-line: #383a40;
  --red: #ed4a5d;
  --red-deep: #a71b2c;
  --paper: #ededec;
  --paper-line: #d5d6d4;
  --light-ink: #1a1b1d;
  --muted: #b6b8bd;
  --width: 1230px;
  --section-space: clamp(80px, 8vw, 120px);
  --row-space: clamp(24px, 3vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #f5f5f3; font: 400 1rem/1.6 Manrope, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
::selection { background: var(--red); color: #111; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(calc(100% - 64px), var(--width)); margin-inline: auto; }
.mono { font: 400 .875rem/1.5 "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { color: var(--red); display: flex; align-items: center; gap: 13px; }
.eyebrow::before { content: ""; width: 27px; height: 2px; background: currentColor; }

.nav { height: 88px; border-bottom: 1px solid #34363b; position: relative; z-index: 10; }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.07rem; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--red); color: var(--red); font: 500 .93rem "DM Mono", monospace; letter-spacing: -.15em; padding-right: 3px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: .9rem; color: #d3d4d5; transition: color .16s ease, border-color .16s ease; }
.nav-links a:hover { color: var(--red); }
.nav-links .nav-cta { padding: 10px 17px; border: 1px solid #7b6266; color: #fff; }
.nav-links .nav-cta:hover { border-color: var(--red); }
.menu-toggle { display: none; border: 1px solid var(--ink-line); background: transparent; color: #fff; padding: 12px; cursor: pointer; }

.hero { position: relative; padding: 70px 0 91px; overflow: hidden; background: linear-gradient(125deg, #111214 30%, #191a1f 100%); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 46%; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #25262a calc(25% - 1px), #25262a 25%); opacity: .26; pointer-events: none; }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(36px, 4.6vw, 72px); }
.hero-copy { max-width: 660px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3.45rem, 5.5vw, 5.9rem); font-weight: 800; letter-spacing: -.082em; line-height: .995; margin: 28px 0 31px; }
.hero h1 span { color: var(--red); }
.hero-intro { color: #c4c5c8; font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.76; max-width: 575px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 39px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 27px; min-height: 54px; padding: 14px 19px; font-size: .9rem; font-weight: 800; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.primary { background: var(--red); color: #111214; }
.button.primary:hover { background: #ff6474; }
.button.secondary { border: 1px solid #77787d; color: #f8f8f8; }
.button.secondary:hover { border-color: var(--red); }
.button svg { width: 16px; height: 16px; }
.hero-disciplines { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 52px; padding-top: 18px; border-top: 1px solid #414248; color: #aeb0b4; }
.hero-disciplines span + span::before { content: "/"; color: var(--red); margin-right: 16px; }
.hero-visual { min-width: 0; margin: 0; }
.scene-frame { position: relative; overflow: hidden; aspect-ratio: 1 / 1; min-height: 450px; isolation: isolate; border: 1px solid #45474d; background: #1b1d22; }
.scene-frame::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, #111215bd, transparent 21%); pointer-events: none; }
.scene-frame::after { content: ""; position: absolute; z-index: 2; top: -1px; left: -1px; width: 66px; height: 3px; background: var(--red); pointer-events: none; transition: width .24s ease; }
.hero-visual[data-active-layer="1"] .scene-frame::after { width: 130px; }
.hero-visual[data-active-layer="2"] .scene-frame::after { width: 194px; }
.scene-fallback, .scene-mount { position: absolute; inset: 0; }
.scene-fallback { transition: opacity .35s ease; }
.scene-fallback img { display: block; width: 100%; height: 100%; object-fit: contain; }
.scene-mount { opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.scene-mount canvas { display: block; width: 100%; height: 100%; }
.hero-visual.is-live .scene-fallback { opacity: 0; }
.hero-visual.is-live .scene-mount { opacity: 1; }
.scene-rail { position: absolute; z-index: 3; bottom: 22px; left: 26px; right: 26px; display: flex; justify-content: space-between; gap: 14px; color: #e3e4e5; font-size: .7rem; }
.scene-rail span:first-child { color: #ff7888; }
.hero-visual figcaption { display: flex; justify-content: space-between; gap: 18px; padding: 16px 2px 0; color: #aeb0b4; font-size: .72rem; }
.hero-visual figcaption span:first-child { color: #e7e8e8; }
.maze-open { display: none; position: absolute; z-index: 4; inset: 0; width: 100%; padding: 0; border: 0; background: transparent; color: #fff; cursor: zoom-in; }
.has-js .maze-open { display: block; }
.maze-open span { position: absolute; top: 18px; right: 18px; padding: 10px 14px; border: 1px solid var(--red); background: #17181de8; font: 500 .75rem/1.4 "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; transition: background .16s ease, color .16s ease, transform .16s ease; }
.maze-open:hover span, .maze-open:focus-visible span { background: var(--red); color: #111214; transform: translateY(-2px); }
.maze-open:focus-visible { outline: 2px solid var(--red); outline-offset: -7px; }
.scene-explorer { display: none; margin-top: 26px; border-top: 1px solid #4c4e54; }
.has-js .scene-explorer { display: block; }
.scene-explorer-heading { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0 12px; color: #b9bbc0; font-size: .72rem; }
.scene-explorer-heading .layer-position { color: var(--red); }
.layer-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #4c4e54; }
.layer-tab { display: flex; align-items: baseline; gap: 8px; min-width: 0; min-height: 46px; padding: 10px 8px 12px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #aeb0b4; font: 700 .87rem/1.35 Manrope, Arial, sans-serif; text-align: left; cursor: pointer; transition: color .16s ease, border-color .16s ease; }
.layer-tab .mono { font-size: .66rem; color: #8f9197; }
.layer-tab:hover, .layer-tab[aria-selected="true"] { color: #fff; }
.layer-tab[aria-selected="true"] { border-bottom-color: var(--red); }
.layer-tab[aria-selected="true"] .mono { color: var(--red); }
.layer-detail { min-height: 130px; padding: 18px 0 0; }
.layer-title { display: block; color: #f2f2f0; font-size: 1.05rem; letter-spacing: -.035em; }
.layer-copy { max-width: 550px; margin: 7px 0 0; color: #bfc1c4; font-size: .88rem; line-height: 1.62; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: hero-enter .55s both cubic-bezier(.2,.75,.25,1); }
  .hero-copy h1 { animation-delay: .08s; }
  .hero-intro { animation-delay: .16s; }
  .hero-copy .actions { animation-delay: .24s; }
  .hero-disciplines { animation-delay: .32s; }
  .hero-visual { animation: hero-enter .7s .16s both cubic-bezier(.2,.75,.25,1); }
}
@keyframes hero-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

section { scroll-margin-top: 35px; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.section-header h2 { font-size: clamp(2.5rem, 4.8vw, 4.6rem); letter-spacing: -.075em; line-height: 1.05; margin: 14px 0 0; }
.section-header p { max-width: 365px; margin: 0 0 5px; color: var(--muted); }
.work { padding: var(--section-space) 0; background: var(--paper); color: var(--light-ink); }
.work .eyebrow { color: var(--red-deep); }
.work .section-header p { color: #5d6063; }
.work-list { border-top: 1px solid #aeb0ae; }
.work-item { display: grid; grid-template-columns: 54px minmax(235px, 1.1fr) minmax(250px, 1.1fr) 130px; align-items: start; gap: clamp(18px, 3vw, 38px); padding: var(--row-space) 0; border-bottom: 1px solid #bfc1bf; transition: padding-left .2s, background .2s; }
.work-item-link:hover { padding-left: 10px; background: #f7f7f6; }
.work-item-link:focus-visible { background: #f7f7f6; }
.work-number { color: var(--red-deep); padding-top: 4px; }
.work-type { color: #5d6062; }
.work-identity h3 { font-size: clamp(1.45rem, 2.35vw, 2.2rem); line-height: 1.15; letter-spacing: -.055em; margin: 9px 0 0; }
.work-item p { color: #4c5053; line-height: 1.72; margin: 0; max-width: 480px; }
.work-action, .work-status { justify-self: end; text-align: right; color: #5d6062; padding-top: 4px; }
.work-action { color: var(--red-deep); border-bottom: 1px solid currentColor; }
.work-item-link:hover .work-identity h3, .work-item-link:hover .work-action { color: var(--red-deep); }

.focus { padding: var(--section-space) 0; }
.focus .section-header { margin-bottom: 58px; }
.focus-grid { border-top: 1px solid #44454a; }
.focus-row { display: grid; grid-template-columns: 90px minmax(210px, .8fr) 1.2fr; gap: 30px; align-items: start; padding: 32px 0; border-bottom: 1px solid #44454a; }
.focus-row .count { color: var(--red); }
.focus-row h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -.05em; line-height: 1.25; }
.focus-row p { max-width: 600px; margin: 0; color: #bec0c3; }
.focus-row { transition: border-color .18s ease; }
.focus-row:hover { border-color: #797b80; }

.maze-dialog { width: min(1280px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid #64666c; background: #191b20; color: #f5f5f3; box-shadow: 0 30px 90px #0009; }
.maze-dialog[open] { animation: maze-enter .32s cubic-bezier(.2,.75,.25,1) both; transform-origin: var(--maze-origin, 70% 20%); }
.maze-dialog::backdrop { background: #050608dc; backdrop-filter: blur(5px); animation: maze-backdrop .25s both; }
@keyframes maze-enter { from { opacity: 0; transform: scale(.76); } to { opacity: 1; transform: scale(1); } }
@keyframes maze-backdrop { from { opacity: 0; } to { opacity: 1; } }
.maze-close { position: sticky; z-index: 10; top: 15px; display: block; margin: 15px 16px -49px auto; min-width: 76px; min-height: 44px; padding: 9px 13px; border: 1px solid #7c7e84; background: #292b30; color: #fff; font: 700 .86rem Manrope, Arial, sans-serif; cursor: pointer; }
.maze-close:hover { border-color: var(--red); color: var(--red); }
.maze { padding: 34px; background: none; border: 0; }
.maze .wrap { width: 100%; max-width: none; }
.maze-header { padding-right: 96px; }
.maze-header h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.maze-header p { max-width: 440px; }
.maze-header { margin-bottom: 42px; }
.maze-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(285px, .72fr); gap: clamp(30px, 4vw, 58px); align-items: start; }
.maze-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.4 / 1; overflow: hidden; border: 1px solid #565960; background: radial-gradient(circle at 50% 43%, #30323b, #121317 72%); outline-offset: 5px; touch-action: manipulation; }
.maze-stage::before { content: ""; position: absolute; z-index: 2; top: -1px; left: -1px; width: 64px; height: 3px; background: var(--red); pointer-events: none; }
.maze-map { position: absolute; inset: 0; width: min(82%, 520px); height: auto; aspect-ratio: 1; margin: auto; display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(9, 1fr); gap: 2px; transform: rotateX(14deg) rotateZ(-5deg); transition: opacity .25s ease; }
.maze-tile { min-width: 0; min-height: 0; background: #292c33; border: 1px solid #4c5058; }
.maze-tile.wall { background: #4a4d55; border-color: #555860; }
.maze-tile.trail { background: #5d343c; }
.maze-tile.connector { box-shadow: inset 0 0 0 3px #c4c8cd; }
.maze-tile.goal { box-shadow: inset 0 0 0 3px var(--red); }
.maze-tile.player { position: relative; background: #953040; }
.maze-tile.player::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #ff6c7c; }
.maze-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.maze-canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.maze-stage.is-3d .maze-canvas { opacity: 1; }
.maze-stage.is-3d .maze-map { opacity: 0; pointer-events: none; }
.maze-stage-label { position: absolute; z-index: 3; top: 19px; left: 22px; color: #f0f0ee; font-size: .73rem; pointer-events: none; }
.maze-mode { display: none; position: absolute; z-index: 3; bottom: 18px; left: 22px; color: #d4d5d7; font-size: .64rem; pointer-events: none; }
.maze-stage.is-loading .maze-mode, .maze-stage.is-3d .maze-mode, .maze-stage.is-fallback .maze-mode { display: block; }
.maze-stage.is-3d .maze-mode::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 1px; box-shadow: 0 0 9px var(--red); }
.maze-noscript { position: absolute; bottom: 15px; left: 20px; color: #fff; }
.maze-win { position: absolute; z-index: 5; inset: auto 22px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 19px; border: 1px solid #bf4658; background: #17181bf2; box-shadow: 0 12px 32px #0007; }
.maze-win[hidden] { display: none; }
.maze-win strong { font-size: 1.25rem; letter-spacing: -.045em; }
.maze-win-detail { color: #c4c6ca; font-size: .88rem; }
.maze-again { margin-left: auto; padding: 11px 15px; min-height: 44px; border: 0; background: var(--red); color: #111214; font-weight: 800; cursor: pointer; }
.maze-console { border-top: 2px solid var(--red); }
.maze-console-top { display: flex; justify-content: space-between; gap: 15px; padding: 17px 0 26px; color: #b8babf; font-size: .69rem; }
.maze-progress { border-bottom: 1px solid #51535a; padding-bottom: 25px; }
.maze-progress-row { display: flex; justify-content: space-between; gap: 12px; color: #aeb0b4; font-size: .74rem; }
.maze-floor-number { color: var(--red); font-size: .8rem; }
.maze-floor-name { font-size: clamp(1.65rem, 2.8vw, 2.5rem); letter-spacing: -.065em; line-height: 1.1; margin: 7px 0 10px; }
.maze-floor-hint { color: #c3c5c8; margin: 0; }
.maze-instructions { color: #c4c6c9; font-size: .92rem; line-height: 1.7; margin: 22px 0; }
.maze-control-layout { display: flex; align-items: end; gap: 22px; }
.maze-pad { width: 176px; flex: none; display: grid; grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(2, 52px); gap: 10px; }
.maze-pad button, .maze-floor-controls button { border: 1px solid #74767c; background: #24262c; color: #f7f7f6; font: 700 1.25rem/1 Manrope, Arial, sans-serif; cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.maze-pad button:hover:not(:disabled), .maze-floor-controls button:hover:not(:disabled) { border-color: var(--red); background: #343038; }
.maze-pad button:active:not(:disabled), .maze-floor-controls button:active:not(:disabled) { transform: scale(.96); }
.maze-pad button[data-move="north"] { grid-column: 2; grid-row: 1; }
.maze-pad button[data-move="west"] { grid-column: 1; grid-row: 2; }
.maze-pad button[data-move="south"] { grid-column: 2; grid-row: 2; }
.maze-pad button[data-move="east"] { grid-column: 3; grid-row: 2; }
.maze-floor-controls { flex: 1; display: grid; gap: 10px; }
.maze-floor-controls button { min-height: 52px; padding: 9px 13px; font-size: .86rem; text-align: left; }
.maze-floor-controls button:disabled { opacity: .42; cursor: not-allowed; }
.maze-view-controls { display: none; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 19px; }
.maze-dialog.has-3d .maze-view-controls { display: flex; }
.maze-rotate { min-height: 44px; padding: 9px 13px; border: 1px solid #74767c; background: #24262c; color: #f7f7f6; font-weight: 700; font-size: .82rem; cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.maze-rotate:hover { border-color: var(--red); background: #343038; }
.maze-view-hint { flex: 1 1 170px; color: #bfc1c5; font-size: .75rem; line-height: 1.5; }
.maze-status { min-height: 3em; color: #ff8896; font-size: .88rem; line-height: 1.5; margin: 22px 0 14px; }
.maze-reset { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--red); background: none; color: #f5f5f3; font: 700 .87rem Manrope, Arial, sans-serif; cursor: pointer; }
.maze-reset:hover { color: var(--red); }

.about { background: #222328; border-block: 1px solid #414249; padding: 95px 0; }
.about-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 9vw; align-items: start; }
.about h2 { font-size: clamp(2.5rem, 4.4vw, 4.3rem); letter-spacing: -.075em; line-height: 1.08; margin: 15px 0 0; }
.about-portrait { width: min(100%, 270px); margin: 48px 0 0; border-left: 2px solid var(--red); padding-left: 12px; }
.about-portrait img { display: block; width: 100%; aspect-ratio: 1 / 1.04; height: auto; object-fit: cover; object-position: 50% 22%; filter: saturate(.85); }
.about-portrait figcaption { margin-top: 12px; color: #afb1b5; font-size: .68rem; }
.about-copy p { font-size: 1.08rem; color: #d0d1d3; line-height: 1.78; margin: 0 0 20px; }
.about-copy .platforms { font-size: .875rem; color: #b2b3b7; line-height: 1.9; margin-top: 27px; border-top: 1px solid #575960; padding-top: 18px; }

.about-link { display: inline-block; margin-top: 8px; padding-bottom: 4px; color: #fff; border-bottom: 1px solid var(--red); font-weight: 700; transition: color .2s; }
.about-link:hover { color: var(--red); }
.contact { padding: var(--section-space) 0; }
.contact .eyebrow { margin-bottom: 25px; }
.contact h2 { font-size: clamp(2.7rem, 5vw, 5.1rem); line-height: 1.07; letter-spacing: -.078em; max-width: 870px; margin: 0 0 25px; }
.contact p { color: #c0c1c4; font-size: 1.06rem; max-width: 565px; margin: 0 0 35px; }
.email { display: inline-flex; align-items: center; gap: 19px; color: var(--red); font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -.055em; border-bottom: 1px solid currentColor; padding-bottom: 8px; overflow-wrap: anywhere; }
.email:hover { color: #ff7180; }
.email svg { width: 21px; height: 21px; flex: none; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.copy-email { display: none; align-items: center; justify-content: center; min-height: 44px; padding: 9px 15px; border: 1px solid #77787d; background: transparent; color: #f5f5f3; font-size: .85rem; font-weight: 700; cursor: pointer; transition: border-color .16s ease, color .16s ease; }
.has-js .copy-email { display: inline-flex; }
.copy-email:hover { border-color: var(--red); color: var(--red); }
.copy-status { min-height: 1.5em; color: #c9cace; font-size: .85rem; }
.footer { border-top: 1px solid #3d3e44; padding: 26px 0; color: #afb1b4; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer a:hover { color: var(--red); }

.has-js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.has-js [data-reveal].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 1000px) {
  .hero-layout { gap: 28px; }
  .hero h1 { font-size: clamp(3.3rem, 6.5vw, 5.6rem); }
  .scene-frame { min-height: 390px; }
}
@media (max-width: 880px) {
  .wrap { width: min(calc(100% - 36px), var(--width)); }
  .nav { height: 72px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; z-index: 8; top: 72px; left: 0; right: 0; padding: 18px; background: var(--ink-soft); border-bottom: 1px solid #55565a; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 6px; }
  .nav-links .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding: 58px 0 82px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.3rem, 11vw, 5rem); }
  .hero-intro { font-size: 1.05rem; }
  .hero-visual { max-width: 600px; width: 100%; margin: 16px auto 0; }
  .scene-frame { min-height: 0; aspect-ratio: 1.18 / 1; }
  .section-header { display: block; }
  .section-header p { margin-top: 23px; }
  .work { padding: 80px 0; }
  .work-item { grid-template-columns: 42px minmax(0, 1fr) minmax(185px, .8fr); }
  .work-action, .work-status { grid-column: 3; justify-self: start; text-align: left; padding-top: 0; }
  .focus { padding: 83px 0 90px; }
  .focus .section-header { margin-bottom: 37px; }
  .focus-row { grid-template-columns: 44px 1fr; gap: 12px 18px; }
  .focus-row p { grid-column: 2; }
  .maze-layout { grid-template-columns: 1fr; gap: 35px; }
  .maze-stage { max-width: 700px; }
  .maze-console { max-width: 700px; }
  .maze-header { padding-right: 90px; }
  .about { padding: 80px 0; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait { margin-top: 30px; }
  .contact { padding: 85px 0; }
  .footer-inner { flex-direction: column; gap: 6px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 3.1rem; }
  .scene-frame { aspect-ratio: .94 / 1; }
  .scene-rail { left: 16px; right: 16px; bottom: 15px; font-size: .63rem; flex-wrap: wrap; }
  .hero-visual figcaption { gap: 5px; flex-wrap: wrap; }
  .layer-tab { display: block; font-size: .78rem; padding-right: 4px; }
  .layer-tab .mono { display: block; margin-bottom: 2px; }
  .layer-detail { min-height: 146px; }
  .hero-disciplines { gap: 8px; }
  .hero-disciplines span + span::before { margin-right: 8px; }
  .work-item { grid-template-columns: 35px minmax(0, 1fr); gap: 10px 13px; }
  .work-identity, .work-item p, .work-action, .work-status { grid-column: 2; }
  .work-identity h3 { margin-top: 5px; }
  .maze-stage { aspect-ratio: 1 / 1.05; }
  .maze-dialog { width: 100vw; height: 100dvh; max-height: none; border: 0; }
  .maze { padding: 22px 18px 42px; }
  .maze-header { padding-right: 0; margin-bottom: 28px; }
  .maze-header h2 { font-size: 2.35rem; }
  .maze-header p { margin-top: 16px; }
  .maze-close { top: 10px; margin: 10px 10px -48px auto; min-width: 68px; }
  .maze-header .eyebrow { padding-right: 70px; }
  .maze-open span { top: 12px; right: 12px; font-size: .68rem; }
  .maze-map { width: 88%; }
  .maze-control-layout { gap: 12px; }
  .maze-pad { width: 162px; grid-template-columns: repeat(3, 48px); grid-template-rows: repeat(2, 48px); gap: 9px; }
  .maze-floor-controls button { min-height: 48px; }
  .maze-win { inset: auto 12px 12px; padding: 14px; }
  .footer { font-size: .75rem; }
}

@media (min-width: 421px) and (max-width: 660px) {
  .work-item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px 18px; }
  .work-identity, .work-item p, .work-action, .work-status { grid-column: 2; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 2.78rem; }
  .hero-disciplines span { width: 100%; }
  .hero-disciplines span + span::before { display: none; }
}
