:root {
  --yellow: #f4e32e;
  --blue: #3157ff;
  --pink: #ff76b6;
  --mint: #95d9c2;
  --cream: #fff9e8;
  --black: #101010;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--cream); color: var(--black); font-family: "Arial Rounded MT Bold", "Microsoft YaHei UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1100; padding: 12px 15px; background: var(--black); color: var(--cream); font: 800 12px/1 "Microsoft YaHei UI", sans-serif; transform: translateY(-160%); transition: transform .18s; }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 4px solid var(--pink); outline-offset: 4px; }

.cursor-dot { position: fixed; top: -9px; left: -9px; z-index: 1000; width: 18px; height: 18px; border: 2px solid var(--black); border-radius: 50%; background: var(--yellow); pointer-events: none; transition: width .16s, height .16s, margin .16s, background .16s; will-change: transform; }
.cursor-dot.is-hovering { width: 42px; height: 42px; margin: -12px 0 0 -12px; background: rgb(255 118 182 / 58%); backdrop-filter: invert(1); }

.site-header { position: relative; z-index: 50; display: grid; grid-template-columns: 150px 1fr auto; min-height: 94px; border-bottom: 3px solid var(--black); background: var(--cream); }
.site-logo { display: grid; align-content: center; border-right: 3px solid var(--black); padding-left: 21px; font: 900 27px/.75 "Arial Black", "Microsoft YaHei UI", sans-serif; letter-spacing: -.06em; }
.header-marquee { display: flex; align-items: center; overflow: hidden; border-right: 3px solid var(--black); }
.header-marquee span { display: block; min-width: max-content; font: 900 18px/1 "Arial Black", sans-serif; animation: marquee 24s linear infinite; }
.site-header nav { display: flex; }
.site-header nav a { display: grid; min-width: 78px; place-items: center; border-left: 2px solid var(--black); font-size: 10px; font-weight: 900; transition: background .18s, color .18s, transform .18s; }
.site-header nav a:first-child { border-left: 0; }
.site-header nav a:hover { background: var(--pink); }
.site-header nav a:last-child:hover { background: var(--blue); color: white; }
.site-header nav a:active { transform: translateY(2px); }

.hero { display: grid; grid-template-columns: minmax(520px, .88fr) minmax(650px, 1.12fr); min-height: 820px; border-bottom: 3px solid var(--black); }
.hero-copy { position: relative; display: grid; align-content: center; border-right: 3px solid var(--black); padding: 72px clamp(30px, 5vw, 80px); background: var(--yellow); }
.hero-kicker { margin: 0 0 24px; font: 800 9px/1 "Cascadia Mono", Consolas, monospace; letter-spacing: .13em; }
.hero-copy h1 { display: grid; margin: 0; font-family: "Arial Black", "Microsoft YaHei UI", sans-serif; font-weight: 900; letter-spacing: -.075em; }
.hero-copy h1 small { margin-bottom: 7px; font: 900 clamp(28px, 2.7vw, 46px)/.9 "Arial Black", sans-serif; letter-spacing: -.055em; }
.hero-copy h1 span, .hero-copy h1 i { font-size: clamp(57px, 5.4vw, 91px); line-height: .82; }
.hero-copy h1 i { display: inline-block; color: var(--blue); font-style: normal; -webkit-text-stroke: 2px var(--black); text-shadow: 6px 6px 0 var(--black); }
.hero-cn { max-width: 520px; margin: 36px 0 30px; font-size: 15px; font-weight: 750; line-height: 1.75; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; max-width: 560px; }
.hero-action { display: inline-flex; min-height: 44px; align-items: center; gap: 18px; justify-content: center; border: 2px solid var(--black); border-radius: 999px; padding: 11px 15px; background: var(--cream); font: 900 9px/1 "Cascadia Mono", Consolas, monospace; transition: transform .16s, box-shadow .16s, background .16s, color .16s; }
.hero-action:hover { background: var(--pink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--black); }
.hero-action:active { transform: translate(1px, 1px); box-shadow: none; }
.hero-action-primary { border-width: 3px; background: var(--black); color: var(--cream); box-shadow: 5px 5px 0 var(--blue); }
.hero-action-primary:hover { background: var(--blue); color: white; box-shadow: 5px 5px 0 var(--black); }
.hero-action-work { background: var(--pink); }
.round-sticker { position: absolute; z-index: 12; display: grid; place-items: center; border: 3px solid var(--black); border-radius: 50%; box-shadow: 5px 5px 0 var(--black); font: 900 12px/1 "Arial Black", sans-serif; text-align: center; }
.hello-sticker { top: 42px; right: 32px; width: 92px; height: 92px; background: var(--pink); transform: rotate(-8deg); }

.hero-workbench { position: relative; overflow: hidden; background-color: var(--mint); background-image: radial-gradient(var(--black) 1px, transparent 1px); background-size: 18px 18px; perspective: 1200px; }
.hero-workbench::before { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0 58%, rgb(255 249 232 / 38%) 58% 70%, transparent 70%); content: ""; pointer-events: none; }
.hero-workbench::after { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 42%), transparent 70%); content: ""; transform: translate(calc(var(--pointer-x) - 58vw), calc(var(--pointer-y) - 30vh)); pointer-events: none; }
.os-window { position: absolute; overflow: hidden; border: 3px solid var(--black); background: white; box-shadow: 11px 12px 0 rgb(16 16 16 / 24%); transform: rotate(var(--rotation)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-style: preserve-3d; transition: transform .2s, box-shadow .2s; }
.os-window:hover { z-index: 20; box-shadow: 16px 18px 0 rgb(16 16 16 / 18%); }
.os-window > header { display: flex; align-items: center; gap: 5px; height: 35px; border-bottom: 3px solid var(--black); padding: 0 9px; background: var(--cream); }
.os-window > header i { width: 8px; height: 8px; border: 1px solid var(--black); border-radius: 50%; background: var(--pink); }
.os-window > header i:nth-child(2) { background: var(--yellow); }
.os-window > header i:nth-child(3) { background: #65d49c; }
.os-window > header span { margin-left: auto; font: 700 8px/1 "Cascadia Mono", Consolas, monospace; }
.profile-window { --rotation: -3deg; top: 105px; left: 6%; z-index: 4; width: 48%; height: 545px; background: var(--cream); }
.profile-window-body { position: relative; height: calc(100% - 35px); background: var(--cream); }
.profile-window-body img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-window-body > div { position: absolute; right: 14px; bottom: 14px; left: 14px; display: grid; gap: 5px; border: 2px solid var(--black); padding: 12px; background: rgb(255 249 232 / 92%); box-shadow: 5px 5px 0 var(--blue); }
.profile-window-body small { font: 800 8px/1 "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; }
.profile-window-body b { font: 900 clamp(20px, 2vw, 32px)/.84 "Arial Black", sans-serif; letter-spacing: -.05em; }
.process-window { --rotation: 3deg; top: 54px; right: 5%; z-index: 7; width: 43%; height: 305px; background: var(--cream); }
.process-window ol { display: grid; height: calc(100% - 35px); margin: 0; padding: 0; list-style: none; }
.process-window li { display: grid; grid-template-columns: 44px 1fr; align-items: center; border-bottom: 2px solid var(--black); padding: 0 17px; }
.process-window li:last-child { border-bottom: 0; background: var(--yellow); }
.process-window li span { font: 800 8px/1 "Cascadia Mono", monospace; }
.process-window li b { font: 900 clamp(22px, 2.4vw, 38px)/1 "Arial Black", sans-serif; letter-spacing: -.045em; }
.making-window { --rotation: 4deg; right: 5%; bottom: 72px; z-index: 8; width: 47%; height: 330px; background: var(--pink); }
.making-window p { margin: 20px; font: 900 clamp(31px, 3.1vw, 48px)/.8 "Arial Black", sans-serif; letter-spacing: -.055em; }
.making-window mark { padding: 0 5px; background: var(--yellow); }
.making-window > span { position: absolute; right: 18px; bottom: 16px; font: 800 8px/1 "Cascadia Mono", monospace; letter-spacing: .1em; }
.wow-sticker { right: 44%; bottom: 38px; width: 88px; height: 88px; background: var(--cream); transform: rotate(11deg); }
.fake-cursor { position: absolute; right: 31%; bottom: 147px; z-index: 22; color: white; font-size: 58px; -webkit-text-stroke: 3px var(--black); filter: drop-shadow(4px 5px 0 var(--black)); transform: rotate(-20deg); }
.fake-cursor small { position: absolute; top: 49px; left: 34px; border: 2px solid var(--black); border-radius: 99px; padding: 4px 7px; background: var(--blue); color: white; font: 800 8px/1 "Cascadia Mono", monospace; white-space: nowrap; -webkit-text-stroke: 0; }

.about-face i { position: absolute; border-radius: 50%; background: var(--black); }

.mode-bridge { display: flex; align-items: center; min-height: 72px; overflow: hidden; border-bottom: 3px solid var(--black); background: var(--blue); color: white; }
.mode-bridge span { display: block; min-width: max-content; font: 900 26px/1 "Arial Black", sans-serif; letter-spacing: -.035em; animation: marquee 22s linear infinite; }
.serious-work { position: relative; display: grid; grid-template-columns: minmax(350px, .58fr) minmax(690px, 1.42fr); min-height: 850px; overflow: hidden; border-bottom: 3px solid var(--black); background: var(--cream); color: var(--black); }
.serious-work::before { position: absolute; top: 28px; left: 30px; width: 76px; height: 76px; border: 3px solid var(--black); border-radius: 50%; background: var(--pink); box-shadow: 6px 6px 0 var(--black); content: "01"; display: grid; place-items: center; font: 900 14px/1 "Arial Black", sans-serif; transform: rotate(-8deg); }
.section-intro { position: relative; z-index: 1; align-self: stretch; padding: 112px clamp(28px, 5vw, 72px) 76px; border-right: 3px solid var(--black); background: var(--cream); }
.section-intro > span, .toy-heading > span, .about-title > span { font: 750 9px/1 "Cascadia Mono", monospace; letter-spacing: .14em; }
.section-intro > span { color: var(--blue); }
.section-intro h2 { margin: 56px 0 34px; font: 900 clamp(64px, 6vw, 102px)/.77 "Arial Black", sans-serif; letter-spacing: -.075em; }
.section-intro h2 i { display: inline-block; color: var(--blue); font-style: normal; -webkit-text-stroke: 2px var(--black); text-shadow: 5px 5px 0 var(--pink); }
.section-intro p { max-width: 420px; color: #56534c; font-size: 14px; font-weight: 650; line-height: 1.8; }
.work-directory { position: relative; z-index: 2; align-self: center; overflow: hidden; margin: 60px 38px; border: 3px solid var(--black); background: #151515; color: var(--cream); box-shadow: 12px 13px 0 var(--pink); }
.directory-window-bar { display: flex; align-items: center; gap: 6px; min-height: 43px; border-bottom: 3px solid var(--black); padding: 0 12px; background: var(--cream); color: var(--black); }
.directory-window-bar i { width: 9px; height: 9px; border: 1px solid var(--black); border-radius: 50%; background: var(--pink); }
.directory-window-bar i:nth-child(2) { background: var(--yellow); }
.directory-window-bar i:nth-child(3) { background: var(--mint); }
.directory-window-bar b { margin-left: 6px; font: 750 8px/1 "Cascadia Mono", monospace; letter-spacing: .08em; }
.directory-window-bar span { margin-left: auto; font: 900 10px/1 "Cascadia Mono", monospace; letter-spacing: .16em; }
.directory-title { display: flex; justify-content: space-between; min-height: 50px; align-items: center; border-bottom: 2px solid var(--cream); padding: 0 18px; font: 700 8px/1 "Cascadia Mono", monospace; letter-spacing: .12em; }
.work-row { display: grid; grid-template-columns: 44px 1fr 120px 130px 70px; align-items: center; min-height: 155px; border-bottom: 1px solid rgb(255 249 232 / 42%); padding: 16px 20px; transition: background .2s, color .2s, padding .2s; }
.work-row:last-child { border-bottom: 0; }
.work-row > b, .work-row > span, .work-row > i, .work-row > em { font: 650 8px/1.4 "Cascadia Mono", monospace; letter-spacing: .08em; }
.work-row > span { border: 1px solid currentColor; justify-self: start; padding: 5px 7px; }
.work-row > i { color: #9b9892; font-style: normal; }
.work-row > em { justify-self: end; font-style: normal; }
.work-row div { display: grid; gap: 9px; }
.work-row strong { font: 900 clamp(29px, 3vw, 48px)/1 "Arial Black", sans-serif; letter-spacing: -.055em; }
.work-row small { max-width: 500px; color: #aaa7a1; font-size: 11px; font-weight: 500; }
.work-row:hover { padding-inline: 32px 10px; background: var(--cream); color: var(--black); }
.work-row:nth-child(3):hover { background: var(--blue); color: white; }
.work-row:nth-child(4):hover { background: var(--yellow); color: var(--black); }
.work-row:nth-child(5):hover { background: var(--pink); color: var(--black); }
.work-row:nth-child(6):hover { background: var(--mint); color: var(--black); }
.work-row:hover small, .work-row:hover > i { color: inherit; }

.toy-shelf { display: grid; grid-template-columns: 330px 1fr; border-bottom: 3px solid var(--black); background: var(--pink); }
.toy-heading { padding: 66px 34px; border-right: 3px solid var(--black); }
.toy-heading h2 { margin: 44px 0 38px; font: 900 clamp(54px, 5vw, 80px)/.8 "Arial Black", sans-serif; letter-spacing: -.07em; }
.toy-heading h2 i { color: var(--yellow); font-style: normal; -webkit-text-stroke: 2px var(--black); text-shadow: 5px 5px 0 var(--black); }
.toy-heading p { font-size: 13px; font-weight: 750; line-height: 1.8; }
.toy-grid { display: grid; grid-template-columns: repeat(2, minmax(300px, 1fr)); padding: 42px; gap: 28px; background-color: var(--mint); background-image: radial-gradient(var(--black) 1px, transparent 1px); background-size: 20px 20px; }
.toy-card { position: relative; display: grid; align-content: end; min-height: 390px; overflow: hidden; border: 3px solid var(--black); padding: 25px; box-shadow: 8px 9px 0 var(--black); transition: transform .2s, box-shadow .2s; }
.toy-card:nth-child(odd) { transform: rotate(-1.4deg); }
.toy-card:nth-child(even) { transform: rotate(1.6deg); }
.toy-card:hover { z-index: 10; transform: rotate(0) translate(-3px, -5px); box-shadow: 12px 14px 0 var(--black); }
.toy-card > header { position: absolute; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; min-height: 45px; border-bottom: 3px solid var(--black); padding: 0 14px; background: var(--cream); font: 800 8px/1 "Cascadia Mono", monospace; letter-spacing: .1em; }
.toy-card h3 { position: relative; z-index: 2; margin: 0 0 8px; font: 900 clamp(30px, 3vw, 48px)/1 "Arial Black", "Microsoft YaHei UI", sans-serif; letter-spacing: -.055em; }
.toy-card p { position: relative; z-index: 2; max-width: 430px; margin: 0 0 20px; font-size: 12px; font-weight: 750; line-height: 1.65; }
.toy-card > a, .local-only { position: relative; z-index: 2; justify-self: start; border: 2px solid var(--black); border-radius: 999px; padding: 7px 10px; background: var(--cream); font: 800 8px/1 "Cascadia Mono", monospace; }
.toy-momentum { grid-column: 1 / -1; min-height: 430px; background: #171717; color: var(--cream); transform: rotate(-.6deg); }
.toy-momentum h3, .toy-momentum p { max-width: 46%; }
.toy-momentum > a { color: var(--black); }
.momentum-system { position: absolute; top: 62px; right: 4%; width: 48%; height: 320px; }
.momentum-system::before { position: absolute; inset: 0; opacity: .42; background-image: radial-gradient(var(--cream) 1.5px, transparent 1.5px); background-size: 34px 34px; content: ""; }
.planet-orbit { position: absolute; top: 50%; left: 50%; z-index: 0; width: 82%; height: 34%; border: 5px solid var(--cream); border-radius: 50%; box-shadow: 8px 8px 0 var(--blue); transform: translate(-50%, -50%) rotate(-14deg); }
.planet-core { position: absolute; top: 50%; left: 50%; z-index: 1; width: 200px; height: 200px; border: 4px solid var(--cream); border-radius: 50%; background: linear-gradient(155deg, var(--yellow) 0 34%, var(--pink) 34% 65%, var(--blue) 65%); box-shadow: 12px 13px 0 rgb(0 0 0 / 48%); transform: translate(-50%, -50%) rotate(-8deg); }
.planet-core::before, .planet-core::after { position: absolute; border: 3px solid var(--black); border-radius: 50%; background: rgb(255 249 232 / 46%); content: ""; }
.planet-core::before { top: 31px; left: 42px; width: 34px; height: 22px; }
.planet-core::after { right: 33px; bottom: 38px; width: 45px; height: 31px; }
.planet-moon { position: absolute; top: 40px; right: 8%; z-index: 2; width: 58px; height: 58px; border: 3px solid var(--cream); border-radius: 50%; background: var(--mint); box-shadow: 6px 6px 0 var(--pink); }
.planet-star { position: absolute; z-index: 3; color: var(--yellow); font: 900 48px/1 "Arial Black", sans-serif; -webkit-text-stroke: 2px var(--cream); }
.planet-star-a { top: 20px; left: 4%; transform: rotate(12deg); }
.planet-star-b { right: 2%; bottom: 18px; color: var(--pink); font-size: 34px; transform: rotate(-8deg); }
.toy-zhiyin { background: var(--yellow); }
.spark { position: absolute; top: 62px; right: 24px; color: var(--blue); font-size: 148px; line-height: 1; -webkit-text-stroke: 3px var(--black); filter: drop-shadow(6px 7px 0 var(--black)); animation: spin 12s linear infinite; }
.toy-body { background: var(--blue); color: white; }
.body-icon { position: absolute; top: 77px; right: 35px; width: 150px; height: 150px; border: 3px solid var(--black); border-radius: 50%; background: var(--pink); }
.body-icon i { position: absolute; top: 46px; width: 18px; height: 26px; border-radius: 50%; background: var(--black); }
.body-icon i:first-child { left: 38px; }
.body-icon i:nth-child(2) { right: 38px; }
.body-icon b { position: absolute; right: 53px; bottom: 22px; color: var(--black); font: 900 38px/1 "Arial Black", sans-serif; }
.toy-sound { background: #171717; color: var(--cream); }
.sound-wave { position: absolute; top: 82px; right: 24px; left: 24px; display: flex; align-items: center; justify-content: center; gap: 10px; height: 130px; }
.sound-wave i { width: 13px; border: 2px solid var(--cream); background: var(--pink); animation: sound 1.2s ease-in-out infinite alternate; }
.sound-wave i:nth-child(1), .sound-wave i:nth-child(6) { height: 28px; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(5) { height: 76px; animation-delay: -.4s; }
.sound-wave i:nth-child(3), .sound-wave i:nth-child(4) { height: 118px; animation-delay: -.8s; }
.toy-sound .local-only { border-color: var(--cream); background: transparent; color: var(--cream); }
.toy-lego { background: var(--cream); }
.lego-blocks { position: absolute; top: 78px; right: 22px; left: 22px; display: flex; align-items: end; gap: 8px; height: 140px; }
.lego-blocks i { position: relative; flex: 1; height: 65px; border: 3px solid var(--black); background: var(--blue); box-shadow: inset 0 -10px 0 rgb(0 0 0 / 20%); }
.lego-blocks i:nth-child(2) { height: 105px; background: var(--pink); }
.lego-blocks i:nth-child(3) { height: 82px; background: var(--yellow); }
.lego-blocks i::before { position: absolute; top: -13px; left: 14%; width: 27%; height: 13px; border: 3px solid var(--black); border-bottom: 0; background: inherit; content: ""; }
.lego-blocks i::after { position: absolute; top: -13px; right: 14%; width: 27%; height: 13px; border: 3px solid var(--black); border-bottom: 0; background: inherit; content: ""; }

.about { display: grid; grid-template-columns: .8fr 1fr .9fr; min-height: 720px; border-bottom: 3px solid var(--black); background: var(--cream); }
.about-title { align-self: center; padding: 50px; }
.about-title h2 { margin: 40px 0 0; font: 900 clamp(74px, 8vw, 128px)/.75 "Arial Black", sans-serif; letter-spacing: -.08em; }
.about-title h2 i { color: var(--blue); font-style: normal; }
.about-copy { display: grid; align-content: center; gap: 24px; border-inline: 2px solid var(--black); padding: 60px; }
.about-copy > p { max-width: 520px; margin: 0; font-size: 17px; font-weight: 750; line-height: 1.85; }
.about-copy > p + p { color: #555; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-links a { border: 2px solid var(--black); border-radius: 999px; padding: 10px 13px; font: 800 9px/1 "Cascadia Mono", monospace; transition: background .18s, color .18s; }
.about-links a:hover { background: var(--blue); color: white; }
.about-collage { position: relative; overflow: hidden; background: var(--yellow); }
.about-collage::before { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(var(--black) 1px, transparent 1px), linear-gradient(90deg, var(--black) 1px, transparent 1px); background-size: 28px 28px; content: ""; }
.me-label { position: absolute; top: 34px; left: 28px; z-index: 2; font: 900 38px/.8 "Arial Black", sans-serif; }
.about-face { position: absolute; top: 50%; left: 50%; width: 260px; height: 260px; border: 4px solid var(--black); border-radius: 50%; background: var(--pink); box-shadow: 14px 15px 0 var(--black); transform: translate(-50%, -50%) rotate(-5deg); }
.about-face i { top: 78px; width: 28px; height: 42px; }
.about-face i:first-child { left: 62px; }
.about-face i:nth-child(2) { right: 62px; }
.about-face b { position: absolute; right: 100px; bottom: 45px; font: 900 52px/1 "Arial Black", sans-serif; }
.why-sticker { right: 30px; bottom: 36px; width: 95px; height: 95px; background: var(--blue); color: white; transform: rotate(9deg); }

.site-footer { background: var(--yellow); }
.footer-marquee { overflow: hidden; border-bottom: 3px solid var(--black); }
.footer-marquee span { display: block; min-width: max-content; padding: 25px 0; font: 900 clamp(42px, 6vw, 90px)/.8 "Arial Black", sans-serif; letter-spacing: -.06em; animation: marquee 20s linear infinite reverse; }
.site-footer > div:last-child { display: flex; align-items: center; justify-content: space-between; min-height: 86px; padding: 0 24px; font: 800 9px/1 "Cascadia Mono", monospace; letter-spacing: .1em; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

.project-dialog { width: min(1020px, calc(100% - 36px)); max-height: calc(100dvh - 40px); padding: 0; border: 3px solid var(--black); background: var(--cream); color: var(--black); box-shadow: 10px 10px 0 var(--pink); overflow: auto; overscroll-behavior: contain; }
.project-dialog::backdrop { background: rgb(16 16 16 / 68%); backdrop-filter: blur(5px); }
.project-dialog [hidden] { display: none; }
.project-dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 10px 0 22px; border-bottom: 3px solid var(--black); background: var(--cream); font: 700 12px/1 Consolas, monospace; }
.project-close { width: 44px; height: 44px; border: 2px solid var(--black); background: var(--pink); font-size: 28px; cursor: pointer; }
.project-close:hover { background: var(--yellow); }
.project-dialog-grid { display: grid; grid-template-columns: 1fr 1fr; }
.project-preview { margin: 0; min-width: 0; background: var(--mint); border-right: 3px solid var(--black); display: flex; flex-direction: column; }
.project-preview-content { min-height: 370px; flex: 1; padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; overflow: hidden; }
.project-preview-content img { display: block; width: 100%; max-height: 430px; object-fit: contain; }
.preview-character img { width: min(100%, 260px); image-rendering: auto; }
.preview-phone img { max-height: 450px; }
.preview-screenshot { padding: 15px; background: #eaf2fa; }
.project-preview figcaption { border-top: 2px solid var(--black); padding: 14px 18px; background: var(--cream); font-size: 12px; line-height: 1.5; }
.project-preview-content > span { font: 900 clamp(24px, 4vw, 48px)/1 "Arial Black", sans-serif; letter-spacing: -.04em; }
.preview-job { background: var(--blue); color: white; }
.preview-job > span { border: 2px solid currentColor; padding: 12px 20px; }
.preview-research { background: var(--yellow); }
.preview-planet { background: var(--black); color: var(--pink); }
.preview-planet > span:first-child { color: var(--yellow); font-size: 140px; }
.preview-body { background: var(--pink); }
.preview-body > span:nth-child(2) { font-size: 100px; }
.project-details { min-width: 0; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.project-status { margin: 0 0 18px; font: 700 11px/1.4 Consolas, monospace; letter-spacing: .08em; }
.project-details h2 { margin: 0 0 18px; font: 900 clamp(28px, 3vw, 42px)/1.1 "Arial Black", "Microsoft YaHei UI", sans-serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
#project-summary { margin: 0 0 20px; font-size: 17px; line-height: 1.75; }
.project-highlights { margin: 0 0 22px; padding-left: 20px; font-size: 14px; line-height: 1.9; }
.project-boundary { font-size: 13px; line-height: 1.75; color: #56534c; margin: 0 0 26px; }
.project-destinations { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.project-destinations a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 16px; border: 2px solid var(--black); box-shadow: 3px 3px 0 var(--black); font-size: 14px; font-weight: 700; }
.project-demo { background: var(--blue); color: white; }
.project-github { background: var(--cream); }
.project-destinations a:hover { transform: translateY(-2px); }
@media (max-width: 720px) {
  .project-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 28px); box-shadow: 5px 5px 0 var(--pink); }
  .project-dialog-grid { grid-template-columns: minmax(0, 1fr); }
  .project-preview { border-right: 0; border-bottom: 3px solid var(--black); }
  .project-preview-content { min-height: 180px; padding: 16px; }
  .project-preview-content img { max-height: 210px; }
  .project-preview-content > span { font-size: 28px; }
  .preview-planet > span:first-child { font-size: 72px; }
  .preview-body > span:nth-child(2) { font-size: 66px; }
  .project-details { padding: 24px 20px; }
}

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sound { to { height: 42px; } }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 670px; border-right: 0; border-bottom: 3px solid var(--black); }
  .hero-workbench { min-height: 720px; }
  .serious-work { grid-template-columns: 1fr; }
  .section-intro { border-right: 0; border-bottom: 3px solid var(--black); }
  .work-directory { margin: 38px; }
  .toy-shelf { grid-template-columns: 1fr; }
  .toy-heading { border-right: 0; border-bottom: 3px solid var(--black); }
  .about { grid-template-columns: 1fr 1fr; }
  .about-collage { grid-column: 1 / -1; min-height: 520px; border-top: 3px solid var(--black); }
  .about-copy { border-right: 0; }
}

@media (max-width: 720px) {
  .cursor-dot { display: none; }
  .site-header { grid-template-columns: 96px 1fr; min-height: 112px; }
  .site-logo { padding-left: 12px; font-size: 22px; }
  .header-marquee span { font-size: 16px; }
  .site-header nav { grid-column: 1 / -1; height: 54px; border-top: 3px solid var(--black); }
  .site-header nav a { flex: 1; min-width: 0; font-size: 9px; }
  .hero-copy { min-height: 700px; padding: 88px 24px 60px; }
  .hero-kicker { max-width: 230px; line-height: 1.5; }
  .hero-copy h1 { gap: 4px; }
  .hero-copy h1 small { font-size: clamp(25px, 8vw, 38px); }
  .hero-copy h1 span, .hero-copy h1 i { max-width: 100%; font-size: clamp(38px, 12vw, 52px); line-height: .9; letter-spacing: -.085em; }
  .hero-cn { margin-block: 32px 26px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hero-action { padding-inline: 10px; }
  .hello-sticker { top: 25px; right: 18px; width: 76px; height: 76px; }
  .hero-workbench { min-height: 690px; }
  .profile-window { top: 96px; left: 3%; width: 64%; height: 470px; }
  .profile-window-body > div { right: 9px; bottom: 9px; left: 9px; padding: 9px; }
  .profile-window-body b { font-size: 21px; }
  .process-window { top: 28px; right: 2%; width: 47%; height: 270px; }
  .process-window li { grid-template-columns: 29px 1fr; padding-inline: 10px; }
  .process-window li b { font-size: 20px; }
  .making-window { right: 2%; bottom: 42px; width: 59%; height: 260px; }
  .making-window p { margin: 16px; font-size: 31px; }
  .making-window > span { right: 12px; bottom: 12px; }
  .wow-sticker { right: auto; bottom: 38px; left: 5%; width: 76px; height: 76px; font-size: 10px; }
  .fake-cursor { right: 27%; bottom: 140px; font-size: 50px; }
  .section-intro { padding: 58px 24px; }
  .section-intro h2 { font-size: 18vw; }
  .work-directory { margin: 20px 12px 42px; }
  .directory-title span:last-child { display: none; }
  .work-row { grid-template-columns: 28px 1fr auto; min-height: 145px; padding: 15px; }
  .work-row div { grid-column: 2 / 4; }
  .work-row > span { grid-column: 2; margin-top: 10px; }
  .work-row > i { display: none; }
  .work-row > em { grid-column: 3; grid-row: 2; }
  .work-row strong { font-size: 34px; }
  .work-row small { font-size: 10px; line-height: 1.5; }
  .toy-heading { padding: 56px 24px; }
  .toy-heading h2 { font-size: 17vw; }
  .toy-grid { grid-template-columns: 1fr; padding: 22px 16px 56px; }
  .toy-card { min-height: 380px; }
  .toy-momentum { grid-column: auto; min-height: 500px; }
  .toy-momentum h3, .toy-momentum p { max-width: 100%; }
  .momentum-system { top: 54px; right: 0; width: 100%; height: 280px; }
  .planet-core { width: 170px; height: 170px; }
  .planet-moon { top: 30px; right: 10%; width: 50px; height: 50px; }
  .about { grid-template-columns: 1fr; }
  .about > * { min-width: 0; }
  .about-title { padding: 56px 24px; }
  .about-title h2 { font-size: 16vw; }
  .about-copy { border: 0; border-top: 3px solid var(--black); padding: 54px 24px; }
  .about-copy > p { font-size: 15px; }
  .about-collage { min-height: 520px; }
  .about-face { width: 220px; height: 220px; }
  .about-face i { top: 64px; }
  .about-face i:first-child { left: 52px; }
  .about-face i:nth-child(2) { right: 52px; }
  .about-face b { right: 82px; }
  .footer-marquee span { font-size: 56px; }
  .site-footer > div:last-child { display: grid; gap: 13px; align-content: center; }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot { display: none; }
  .os-window { transform: rotate(var(--rotation)); }
}

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