/* Frame, stage and catalogue share a grid; every room has its own light. */
:root {
  color-scheme: dark;
  --font: Geist, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --gutter: clamp(18px, 4vw, 72px);
  --round: 9px;
  --head: clamp(36px, 5.4vw, 82px);
  --body: clamp(16px, 1.2vw, 18px);
  --small: 13px;
  --nav-height: 70px;
  --ease: cubic-bezier(.21, 1, .34, 1);
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { min-width: 280px; }
body {
  --ground: #10191f; --top: #121c23; --surface: #192730; --raised: #20333c;
  --ink: #f2f4ef; --muted: #b9c7c9; --accent: #bde9e7; --accent-ink: #10282c;
  --line: #394b52; --glow: 123 215 225; --nav: #111b22ed; --field: #172a33;
  --stage-ink: #f6f8f5; --stage-muted: #e5ebea; --stage-edge: #e2f7f067;
  margin: 0; min-width: 0; min-height: 100svh;
  background: var(--ground); color: var(--ink); font: 400 var(--body)/1.62 var(--font);
  isolation: isolate; transition: background-color .55s ease, color .35s ease;
}
body[data-theme="game"] {
  --ground: #12151f; --top: #171b29; --surface: #202637; --raised: #2c344b;
  --ink: #f5f3ec; --muted: #c0c5d4; --accent: #f5d48b; --accent-ink: #2b2112;
  --line: #495168; --glow: 244 194 92; --nav: #161923ed; --field: #222639;
  --stage-ink: #f8f2e3; --stage-muted: #f0e7d5; --stage-edge: #f6d28f82;
}
body[data-theme="toy"] {
  color-scheme: light;
  --ground: #f2eae2; --top: #f4eae4; --surface: #faf2e9; --raised: #f0dfd9;
  --ink: #2d232d; --muted: #624f5d; --accent: #5d405e; --accent-ink: #fff6ef;
  --line: #cfb9bd; --glow: 174 110 159; --nav: #f3eae3ed; --field: #eadbd9;
  --stage-ink: #36283a; --stage-muted: #493647; --stage-edge: #74587363;
}
body[data-theme="asset"] {
  --ground: #1a181b; --top: #201c21; --surface: #2a2227; --raised: #382b30;
  --ink: #f4ede9; --muted: #d4c1bc; --accent: #e9bdb0; --accent-ink: #3a2222;
  --line: #534249; --glow: 221 141 122; --nav: #1e191fed; --field: #2d2228;
}
body[data-theme="print"] {
  --ground: #24221f; --top: #272421; --surface: #322e28; --raised: #3f3831;
  --ink: #f9efe2; --muted: #d5c5b0; --accent: #eccfa7; --accent-ink: #2e2318;
  --line: #5c5145; --glow: 221 181 122; --nav: #26221eed; --field: #332a26;
}
[hidden] { display: none !important; }
img, svg, video { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, video:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 5px;
}
button:disabled { opacity: .45; cursor: default; }
p, h1, h2, h3, figure { margin: 0; }
h1,h2,h3 { line-height: 1.13; }
p { text-wrap: pretty; }
::selection { color: var(--accent-ink); background: var(--accent); }
.sr-only, .skip:not(:focus) {
  position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { z-index: 50; position: fixed; top: 10px; left: 14px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; }
.shell { width: min(100% - 2 * var(--gutter), 1600px); margin-inline: auto; }
.atmosphere {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
}
[data-protected], [data-protected] img, [data-protected] video {
  -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none;
}
[data-protected] img { pointer-events: none; }

.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--nav);
  backdrop-filter: blur(20px); transition: background-color .48s ease;
}
.nav-shell {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: var(--nav-height); gap: clamp(14px, 3vw, 40px);
}
.brand { display: inline-flex; align-items: center; width: fit-content; gap: 9px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.mark { width: 29px; height: 29px; color: var(--accent); }
.navigation { display: flex; align-items: center; gap: clamp(20px, 3.8vw, 62px); }
.navigation a, .nav-resume { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-size: 14px; font-weight: 560; white-space: nowrap; }
.navigation a:hover, .nav-resume:hover, .text-link:hover { color: var(--accent); }
.nav-resume { justify-self: end; }
.nav-resume svg,.navigation svg,.text-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: fit-content; min-height: 47px; padding: 0 17px;
  border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 680; white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .22s var(--ease);
}
.button svg { width: 18px; height: 18px; flex-shrink: 0; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.button.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.button.secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.button.secondary:hover { border-color: var(--accent); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; width: fit-content; gap: 10px; min-height: 38px; font-weight: 620; font-size: 14px; }

.hero { padding-top: clamp(3px, .45vw, 8px); }
.cover {
  position: relative; isolation: isolate; display: flex; align-items: end; overflow: hidden;
  height: clamp(500px, 69svh, 790px); background: var(--field); border-radius: var(--round);
}
.cover-pictures,.cover-art,.cover-shade,.scene-air { position: absolute; inset: 0; pointer-events: none; }
.cover-pictures { z-index: 0; isolation: isolate; }
.cover-art { overflow: hidden; background: var(--field); }
.cover-art > picture,.cover-art > img,.cover-art > picture > img { width: 100%; height: 100%; object-fit: cover; }
.cover-art--film img { object-position: 50% 49%; }
.cover-art--game img { object-position: 50% 51%; }
.cover-art--game::after {
  content: ""; position: absolute; inset: 17% 6% 20%; pointer-events: none;
  border: 1px solid #fad58645; border-radius: 1px; clip-path: polygon(0 0, 19% 0, 19% 2%, 2% 2%, 2% 32%, 0 32%, 0 0, 100% 0, 100% 31%, 98% 31%, 98% 2%, 81% 2%, 81% 0, 100% 0, 100% 100%, 81% 100%, 81% 98%, 98% 98%, 98% 69%, 100% 69%, 100% 100%, 0 100%, 0 69%, 2% 69%, 2% 98%, 19% 98%, 19% 100%, 0 100%);
}
.scene-air { width: 100%; height: 100%; }
.cover-shade {
  background: linear-gradient(180deg, #1010106b, transparent 26%, transparent 36%, #11151660 61%, #101619ea 97%),
              linear-gradient(90deg, #151b1e25, transparent 48%);
}
[data-theme="game"] .cover-shade { background: linear-gradient(180deg,#0c1017a6,transparent 28%,transparent 43%,#15182285 65%,#10121af5 98%); }
[data-theme="toy"] .cover-shade {
  background: linear-gradient(180deg, #f6e8e500, #f3e3e200 46%, #f1e2e255 69%, #f3e6e1f5 98%);
}
.cover-caption,.case-stage-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  position: absolute; top: clamp(15px,2vw,30px); left: clamp(16px,2.8vw,44px); right: clamp(16px,2.8vw,44px);
  color: var(--stage-muted); font-size: 13px; z-index: 2;
}
.cover-caption a,.case-stage-top a,.motion-button {
  min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.cover-caption a,.case-stage-top a {
  width: fit-content; padding-inline: 10px; border-radius: 4px; background: #0c151bb8;
  line-height: 1.3;
}
[data-theme="toy"] .cover-caption a,[data-theme="toy"] .case-stage-top a { background: #fff9efc2; }
.cover-caption svg,.case-stage-top svg,.motion-button svg { width: 15px; height: 15px; flex-shrink: 0; }
.motion-button {
  border: 1px solid var(--stage-edge); border-radius: 4px; padding-inline: 9px;
  font-size: 13px; background: #0d151ba8; color: var(--stage-ink); white-space: nowrap;
}
[data-theme="toy"] .motion-button { background: #fff5e9c7; }
.motion-button:hover { border-color: currentColor; }
.cover-copy { position: relative; z-index: 1; width: 100%; padding: 0 clamp(16px, 2.8vw, 44px) clamp(20px, 2.5vw, 36px); color: var(--stage-ink); }
.name-mask { overflow: hidden; margin-left: -.021em; }
.name-wordmark {
  font-size: clamp(50px, 12.7vw, 220px); line-height: .93;
  font-weight: 850; letter-spacing: -.051em; white-space: nowrap;
}
.name-wordmark span { display: inline-block; }
[data-theme="toy"] .name-wordmark { font-size: clamp(55px,9.2vw,166px); line-height: .87; }
[data-theme="toy"] .name-wordmark span { display: block; }
.cover-baseline {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-top: clamp(13px,2vw,29px);
}
.cover-baseline p { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 13px; color: var(--stage-muted); }
.cover-baseline strong { color: var(--stage-ink); font-size: clamp(17px,1.85vw,27px); letter-spacing: -.035em; }
.cover-baseline p span { font-size: clamp(16px, 1.34vw, 20px); }
.hero-actions,.case-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.hero-actions .secondary,.case-actions .secondary { color: var(--stage-ink); background: #101922ce; border-color: var(--stage-edge); }
[data-theme="toy"] :is(.hero-actions,.case-actions) .secondary { background: #fff9efbb; }
.world-controls { display: flex; align-items: stretch; gap: clamp(14px, 3vw, 42px); margin-top: 15px; }
.world-buttons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; flex: 1; }
.world-button {
  --spot: .0;
  position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center;
  gap: 12px; padding: 9px; text-align: left; min-width: 0; border: 1px solid var(--line); border-radius: 6px;
  background: var(--surface); overflow: hidden;
  transition: background-color .35s ease, border-color .25s ease, color .25s ease;
}
.world-button > * { position: relative; z-index: 1; }
.world-button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.world-button:not([aria-pressed="true"]):hover { border-color: var(--accent); }
.world-thumb { width: clamp(52px,6.8vw,106px); aspect-ratio: 1.7; overflow: hidden; border-radius: 3px; background: var(--field); }
.world-thumb img { width: 100%; height: 100%; object-fit: cover; }
.world-button[data-world="toy"] .world-thumb img { object-position: 50% 42%; }
.world-label { display: grid; line-height: 1.35; gap: 3px; }
.world-label strong { font-size: clamp(14px,1.15vw,17px); }
.world-label > span { font-size: 13px; color: var(--muted); }
.world-button[aria-pressed="true"] .world-label > span { color: var(--accent-ink); opacity: .82; }
.world-button > svg { width: 17px; height: 17px; margin-right: 5px; }
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: var(--spot,0); background: radial-gradient(165px circle at var(--spot-x,50%) var(--spot-y,50%), rgb(var(--glow) / .24), transparent 84%);
  transition: opacity .3s ease;
}
[data-spotlight]:hover::before { opacity: 1; }

.toy-composite { position: absolute; inset: 0; overflow: hidden; background: #f3e7df; }
.toy-composite::before { content: ""; position: absolute; width: 55%; height: 140%; border: 1px solid #c894ac55; border-radius: 50%; transform: rotate(-23deg); left: 7%; top: -72%; }
.toy-arch {
  position: absolute; width: 58%; height: 94%; top: 7%; left: 33%; border-radius: 47% 47% 0 0 / 64% 64% 0 0;
  background: radial-gradient(ellipse at 63% 44%, #f3effa 6%, #e4d3ea 78%);
  border: 1px solid #d6bfdc;
}
.toy-composite > i {
  --base: #b2d4dc; --rim: #d6e8e9; --edge: #92b6c5;
  position: absolute; display: block; border-radius: 0 0 50% 50% / 0 0 24% 24%;
  background: linear-gradient(90deg,var(--base),var(--base) 28%,var(--edge));
  box-shadow: 8px 16px 22px #64336a20;
}
.toy-composite > i::before {
  content: ""; position: absolute; inset: -17% 0 auto; height: 43%;
  background: linear-gradient(133deg,var(--rim),var(--base)); border-radius: 50%;
}
.toy-composite > i:nth-of-type(1) { left: 34%; top: 66%; width: 20%; height: 14%; }
.toy-composite > i:nth-of-type(2) { --base:#c7b0d8; --rim:#e0cfe9; --edge:#b499ca; left: 49%; top: 69%; width: 23%; height: 14%; }
.toy-composite > i:nth-of-type(3) { --base:#c5cfac; --rim:#e1e6cf; --edge:#a9b58e; left: 69%; top: 66%; width: 19%; height: 13%; }
.toy-composite img { position: absolute; width: auto; max-width: 34%; object-fit: contain; object-position: bottom; filter: drop-shadow(9px 14px 10px #54335b36); }
.toy-left { height: 43%; bottom: 33%; left: 32%; }
.toy-mid { height: 57%; bottom: 30%; left: 50.5%; }
.toy-right { height: 46%; bottom: 33%; left: 70%; }
.cover-art--toy .toy-arch { left: 40%; width: 56%; }
.cover-art--toy .toy-composite > i,.cover-art--toy .toy-composite img { margin-left: 9%; }
.cover-art--toy .toy-composite > i:nth-of-type(3),.cover-art--toy .toy-right { margin-left: 8%; }

.world,.archive {
  --section-space: clamp(70px, 9vw, 144px);
  padding-block: var(--section-space) 0;
  scroll-margin-top: calc(0px - var(--section-space));
}
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(22px, 3.2vw, 50px);
}
.section-head h2,.about h2,.contact h2,.case-brief h2,.figure-copy h2 {
  font-size: var(--head); font-weight: 745; letter-spacing: -.065em; line-height: 1.04;
}
.section-head p { color: var(--muted); max-width: 30em; }
.world-feature {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 0; align-items: stretch; background: var(--surface); border-radius: var(--round); overflow: hidden;
}
.world-visual { position: relative; display: block; min-height: clamp(330px, 36vw, 565px); overflow: hidden; background: var(--field); }
.world-visual > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease); }
.world-visual:hover > img:first-child { transform: scale(1.035); }
.world-visual--film > img:first-child { width: 94%; object-position: 44% center; }
.film-inset,.game-inset {
  position: absolute; display: block; overflow: hidden; right: 5%; bottom: 8%; width: 25%;
  border-radius: 4px; border: 3px solid #e2eee9;
}
.film-inset img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.game-inset { width: 43%; right: 4%; bottom: 7%; border-color: #d5b475; transform: rotate(-2.5deg); }
.game-inset img { width: 100%; }
.world-visual--toy { display: flex; justify-content: center; align-items: center; gap: 2%; padding: 8% 5%; background: #e8d6e3; }
.world-visual--toy > img,.world-visual--toy > img:first-child {
  position: static; width: 28%; height: auto; object-fit: contain; border-radius: 5px;
}
.world-visual--toy > img:first-child { transform: translateY(5%) rotate(-8deg); }
.world-visual--toy > img:nth-child(2) { width: 34%; z-index: 1; transform: translateY(-3%); }
.world-visual--toy > img:nth-child(3) { transform: translateY(5%) rotate(8deg); }
.world-visual--toy:hover > img:first-child { transform: translateY(4%) rotate(-10deg); }
.world-copy { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: clamp(22px, 4.7vw, 70px); }
.project-domain { font-size: 13px; color: var(--muted); font-weight: 650; margin-bottom: 15px; }
.world-copy h3 { font-size: clamp(27px, 3.1vw, 51px); letter-spacing: -.05em; margin-bottom: 9px; }
.world-copy > p:not(.project-domain) { color: var(--muted); margin-bottom: 27px; }
.world-links { display: grid; margin-top: 17px; gap: 2px; }
.archive-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 8px; border-radius: 5px; background: var(--surface); margin-bottom: clamp(22px,3vw,40px);
}
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button {
  min-height: 43px; min-width: 53px; border: 1px solid transparent; border-radius: 4px;
  padding: 0 12px; background: transparent; color: var(--muted); font-size: 14px; white-space: nowrap;
}
.filters button span { margin-left: 3px; font-size: 13px; font-variant-numeric: tabular-nums; }
.filters button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); }
.filters button:not([aria-pressed="true"]):hover { border-color: var(--line); color: var(--ink); }
.archive-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.archive-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: clamp(13px,2.1vw,32px); row-gap: clamp(29px,4.5vw,70px);
}
.project { min-width: 0; }
.project-link { display: block; height: 100%; }
.project-visual { position: relative; overflow: hidden; aspect-ratio: 1.72; border-radius: 6px; background: var(--surface); }
.project-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .68s var(--ease); }
.project-visual--print img { object-fit: contain; background: #73272a; }
.project-visual--toy img { object-fit: contain; background: #ede4ea; }
.project-link:hover .project-visual img,.project-link:focus-visible .project-visual img { transform: scale(1.045); }
.project-launch {
  position: absolute; display: grid; place-items: center; bottom: 8px; right: 8px; width: 35px; height: 35px;
  border-radius: 4px; color: #f9f8f1; background: #101820da; transition: color .25s, background-color .25s;
}
.project-launch svg { width: 18px; height: 18px; }
.project-link:hover .project-launch { color: var(--accent-ink); background: var(--accent); }
.project-meta { display: flex; gap: 9px; align-items: center; margin-block: 7px 3px; font-size: 13px; color: var(--muted); }
.project-meta span + span::before { content: "/"; opacity: .65; margin-right: 8px; }
.project h3 { margin-top: 13px; font-size: clamp(18px,2vw,32px); font-weight: 700; letter-spacing: -.04em; line-height: 1.22; }
.project p { margin-top: 4px; color: var(--muted); font-size: clamp(14px,1.08vw,16px); }

.about {
  --section-space: clamp(80px,12vw,190px);
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: stretch;
  gap: clamp(26px,5.6vw,90px); padding-block: var(--section-space); scroll-margin-top: calc(0px - var(--section-space));
}
.about-visual { position: relative; grid-area: 1 / 1; min-height: 460px; overflow: hidden; border-radius: var(--round); background: #dbd8d5; }
.about-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 16% 50%; }
.about-caption {
  position: absolute; left: 13px; bottom: 13px; display: inline-flex; gap: 8px; align-items: center;
  min-height: 38px; padding: 0 10px; border-radius: 4px; font-size: 13px; font-weight: 650; color: #fbf7ef; background: #10191edc;
}
.about-caption svg { width: 16px; height: 16px; }
.about-copy { grid-area: 1 / 2; align-self: center; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy > p { color: var(--muted); max-width: 34em; }
.about-copy .about-lead { font-size: clamp(19px, 1.95vw, 31px); line-height: 1.45; color: var(--ink); margin-bottom: 13px; }
.experience { display: grid; gap: 15px; list-style: none; margin: 25px 0 28px; padding: 0; }
.experience li {
  display: grid; grid-template-columns: minmax(120px,.42fr) minmax(0,1fr); gap: 15px; align-items: start;
}
.experience h3 { font-size: 16px; line-height: 1.45; }
.experience time,.experience p { font-size: 13px; color: var(--muted); }
.experience time { color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 2px; }
.contact { background: color-mix(in srgb,var(--field) 72%, transparent); }
.contact-inner { padding-top: clamp(52px, 8vw, 129px); }
.contact-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.contact-top p { color: var(--muted); text-align: right; }
.contact-email {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  width: fit-content; max-width: 100%; color: var(--accent); margin-block: clamp(26px, 4vw, 62px) 20px;
  font-size: clamp(34px, 7.45vw, 120px); line-height: 1.06; letter-spacing: -.073em; font-weight: 650;
}
.contact-email:hover { color: var(--ink); }
.contact-email svg { width: .55em; height: .55em; flex-shrink: 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-end {
  margin-top: clamp(42px, 6vw, 100px); min-height: 68px; display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 13px; gap: 15px;
}

.case-opening { padding-top: 6px; }
.case-stage {
  position: relative; display: flex; align-items: end; isolation: isolate; min-height: clamp(420px, 61svh, 720px);
  border-radius: var(--round); overflow: hidden; background: var(--field);
}
.case-stage-art,.case-shade { position: absolute; inset: 0; }
.case-stage-art > img,.case-stage-art > picture,.case-stage-art > picture img { width: 100%; height: 100%; object-fit: cover; }
.case-shade { background: linear-gradient(90deg, #0c131dba, #0b131c44 55%, transparent 90%), linear-gradient(0deg,#091117eb 3%,#0c172863 47%,transparent 79%); }
.case--toy .case-shade { background: linear-gradient(90deg,#f5eae2f7 1%,#f3e6e3d6 27%,#f4e7e52b 61%,transparent 93%); }
.case--toy .toy-arch { left: 42%; width: 53%; }
.case--toy .toy-composite > i { margin-left: 10%; }
.case--toy .toy-composite img { margin-left: 9%; }
.case--toy .toy-composite .toy-right { margin-left: 7%; }
.case--toy .case-heading h1 { font-size: clamp(35px,5.18vw,87px); }
.case--game .case-stage { border: 1px solid #a787484b; }
.case--game-characters .case-stage-art > img { object-position: 50% 34%; }
.case--game-characters .case-shade { background: linear-gradient(90deg,#131723ce,#171b2a44 51%,transparent 92%),linear-gradient(0deg,#111422f6 1%,#15192922 58%,transparent 75%); }
.case--snake .case-stage-art > img { object-position: 50% 39%; }
.case--posters .case-stage-art { background: #682827; }
.case--posters .case-stage-art > img { width: 50%; margin-left: 50%; object-fit: contain; }
.case--character-library .case-stage-art > img { object-position: 50% 36%; }
.case-heading { position: relative; z-index: 1; padding: clamp(72px, 9vw, 140px) clamp(20px,4vw,65px) clamp(28px,4.6vw,72px); width: 100%; color: var(--stage-ink); }
.case-english { color: var(--stage-muted); font-size: clamp(14px, 1.5vw, 19px); margin-bottom: 10px; }
.case-title-mask { overflow: hidden; }
.case-heading h1 { max-width: 16em; font-size: clamp(36px, 6.1vw, 96px); font-weight: 800; letter-spacing: -.065em; line-height: 1.13; }
.case-full-title,.case-desc { max-width: 31em; color: var(--stage-muted); margin-top: 10px; }
.case-full-title { font-size: 14px; }
.case-actions { margin-top: 23px; }
.case-brief {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(22px, 5vw, 100px);
  padding-block: clamp(53px, 8vw, 124px) clamp(30px, 5vw, 74px);
}
.case-brief h2 { font-size: clamp(26px,3vw,45px); margin-bottom: 18px; }
.case-brief p { color: var(--muted); max-width: 36em; }
.case-brief .case-lead { font-size: clamp(20px,2vw,30px); color: var(--ink); line-height: 1.46; margin-bottom: 12px; }
.case-jump { display: flex; align-content: start; justify-content: end; flex-wrap: wrap; gap: 8px; }
.case-jump a {
  display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 4px; font-size: 14px; min-height: 42px; color: var(--muted);
}
.case-jump a:hover { color: var(--ink); border-color: var(--accent); }
.case-clips,.gallery-section,.figure-showcase {
  --section-space: clamp(45px, 7.3vw, 112px);
  padding-block: var(--section-space) 0;
  scroll-margin-top: calc(0px - var(--section-space));
}
.case :is(.case-clips,.gallery-section) h2 { font-size: clamp(33px,4.1vw,65px); }
.clip-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(270px,100%),1fr)); align-items: start; gap: clamp(13px,2vw,28px); }
.clip { min-width: 0; }
.clip-visual { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 7px; background: var(--surface); }
.clip--portrait .clip-visual { aspect-ratio: 4/5; background: var(--surface); max-height: min(64svh,600px); }
.clip-visual img { height: 100%; width: 100%; object-fit: contain; }
.clip-play {
  position: absolute; display: grid; place-items: center; top: 50%; left: 50%; translate: -50% -50%;
  border: 1px solid #fff8; background: #0b141ad9; color: #f6f6ee;
  width: 60px; height: 60px; border-radius: 50%; transition: background-color .24s, color .24s, scale .24s var(--ease);
}
.clip-play:hover { background: var(--accent); color: var(--accent-ink); scale: 1.08; }
.clip-play svg { width: 28px; height: 28px; margin-left: 2px; }
.clip-play > span { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.clip-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.clip-caption h3 { font-size: clamp(15px,1.35vw,21px); }
.clip-caption span { font-size: 13px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(13px,2vw,27px); align-items: start; }
.case--print .gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.gallery-piece { min-width: 0; }
.gallery-piece figcaption { font-size: 14px; line-height: 1.46; margin-block: 9px 8px; color: var(--muted); }
.image-button {
  display: block; position: relative; overflow: hidden; padding: 0; border: 0;
  width: 100%; min-height: 45px; border-radius: 5px; background: var(--surface);
}
.image-button img { width: 100%; height: auto; max-height: 470px; object-fit: contain; transition: transform .56s var(--ease); }
.image-button:hover img { transform: scale(1.025); }
.zoom-icon {
  position: absolute; display: grid; place-items: center; width: 32px; height: 32px; right: 7px; bottom: 7px;
  background: #10171ddb; color: #fff; border-radius: 4px;
}
.zoom-icon svg { width: 17px; height: 17px; }
.figure-showcase { display: grid; grid-template-columns: 1.25fr .9fr; align-items: center; gap: clamp(20px, 6vw, 98px); }
.figure-stage {
  --tint-bg: #f1e1c4; --tint-arch: #f7ebd5; --tint-plinth: #e3be88;
  position: relative; isolation: isolate; overflow: hidden; min-height: 360px; aspect-ratio: 1.28;
  border-radius: var(--round); background: var(--tint-bg); transition: background-color .38s ease;
}
.figure-stage[data-tint="leaf"] { --tint-bg:#dce4d1; --tint-arch:#edf0de; --tint-plinth:#bdc6a7; }
.figure-stage[data-tint="sky"] { --tint-bg:#d4e3ed; --tint-arch:#e6f0f6; --tint-plinth:#adc7db; }
.figure-stage[data-tint="iris"] { --tint-bg:#e2d6e9; --tint-arch:#efe6f3; --tint-plinth:#c8b1d7; }
.figure-ring {
  position: absolute; left: 19%; top: 8%; width: 62%; height: 94%; border-radius: 49% 49% 0 0 / 61% 61% 0 0;
  background: var(--tint-arch); transition: background-color .38s ease;
}
.figure-plinth {
  position: absolute; width: 61%; height: 12%; left: 19.5%; bottom: 8%; border-radius: 0 0 50% 50% / 0 0 28% 28%;
  background: linear-gradient(90deg,var(--tint-plinth),color-mix(in srgb,var(--tint-plinth) 83%,#594360));
  box-shadow: 8px 17px 18px #56335828;
}
.figure-plinth::before {
  content: ""; position: absolute; inset: -21% 0 auto; height: 47%; border-radius: 50%;
  background: linear-gradient(150deg,var(--tint-arch),var(--tint-plinth));
}
.figure-model {
  position: absolute; height: 75%; max-width: 75%; bottom: 19%; left: 50%; translate: -50% 0;
  object-fit: contain; filter: drop-shadow(10px 15px 13px #5032512a);
}
.figure-showcase--game .figure-stage { --tint-bg:#362d31; --tint-arch:#8d5b47; border: 1px solid var(--line); }
.figure-showcase--game .figure-stage[data-tint="magenta"] { --tint-bg:#3c2a40; --tint-arch:#98637f; }
.figure-showcase--game .figure-stage[data-tint="blue"] { --tint-bg:#253447; --tint-arch:#4b6a96; }
.figure-showcase--game .figure-ring { left: 6%; top: 8%; width: 88%; height: 84%; border: 1px solid #ffffff45; border-radius: 0; opacity: .54; }
.figure-showcase--game .figure-model { bottom: 9%; height: 82%; border-radius: 3px; }
.figure-copy h2 { font-size: clamp(32px, 4.3vw, 67px); margin-bottom: 17px; }
.figure-copy > p:not(.project-domain) { color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 21px 12px; }
.swatch {
  min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-weight: 650; font-size: 14px;
}
.swatch[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.swatch:hover { border-color: var(--accent); }
.figure-label { font-size: 14px; }
.package-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(11px,2vw,31px); }
.package-piece .image-button img { aspect-ratio: 3/4; object-fit: contain; }
.package-piece figcaption { font-size: 15px; font-weight: 650; color: var(--ink); }
.case-pagination {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  margin-top: clamp(51px, 8vw, 124px); padding-block: clamp(18px,3vw,45px); border-block: 1px solid var(--line);
}
.case-pagination a { display: grid; gap: 5px; min-width: 0; padding: 5px 0; }
.case-pagination a:hover { color: var(--accent); }
.case-pagination a:last-child { text-align: right; justify-items: end; }
.case-pagination a > span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.case-pagination strong { font-size: clamp(16px,2.35vw,35px); line-height: 1.2; letter-spacing: -.04em; }
.case-pagination svg { width: 15px; height: 15px; }
.pagination-index { font-size: 14px; color: var(--muted); }
.case-footer { display: flex; min-height: 80px; justify-content: space-between; align-items: center; }

.viewer {
  position: fixed; width: min(100% - 24px, 1170px); max-width: none; max-height: calc(100dvh - 20px);
  padding: 0; overflow: auto; background: #101920; color: #edf4f0; border: 1px solid #556870; border-radius: 8px;
}
.viewer::backdrop { background: #070d12e8; backdrop-filter: blur(12px); }
.viewer-shell { padding: 12px; }
.viewer-head,.viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.viewer-head { margin-bottom: 8px; }
.viewer-head p { font-size: 16px; font-weight: 650; padding-left: 5px; }
.viewer-foot { margin-top: 8px; }
.viewer-media { min-height: 110px; display: grid; place-items: center; border-radius: 4px; overflow: hidden; background: #080e12; }
.viewer-media img,.viewer-media video { display: block; max-width: 100%; max-height: 75dvh; width: auto; height: auto; object-fit: contain; }
.viewer-media video { aspect-ratio: var(--player-ratio,16/9); height: min(71dvh, 740px); }
.viewer-note { padding-left: 5px; font-size: 13px; color: #b7c8c8; }
.viewer-controls { display: flex; align-items: center; gap: 7px; }
.viewer-index { text-align: center; min-width: 55px; font-size: 14px; font-variant-numeric: tabular-nums; }
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #51626b; border-radius: 5px; background: #19242d; color: #f3f5f1;
}
.icon-button:hover:not(:disabled) { background: #354650; }
.icon-button svg { width: 20px; height: 20px; }
.media-error { color: #e8dcd3; padding: 24px; }

.resume { max-width: 960px; padding-block: 27px 70px; }
.resume-actions { display: flex; justify-content: space-between; gap: 9px; margin-bottom: 17px; }
.resume-paper { color-scheme: light; border-radius: var(--round); padding: clamp(21px,6vw,82px); background: #f8f9f7; color: #1e272b; }
.resume-paper h1 { font-size: clamp(42px, 7vw, 82px); font-weight: 780; letter-spacing: -.07em; }
.resume-title { color: #284f50; font-size: clamp(19px,2.2vw,28px); font-weight: 700; margin-top: 5px; }
.resume-contact { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-block: 10px 19px; }
.resume-paper a:hover { text-decoration: underline; text-underline-offset: 3px; }
.resume-paper a:focus-visible { outline-color: #284f50; }
.resume-paper p,.resume-paper li { font-size: 16px; }
.resume-paper section { border-top: 1px solid #b7c7c5; padding-top: 15px; margin-top: 24px; }
.resume-paper h2 { font-size: 24px; margin-bottom: 14px; }
.resume-paper section p + p { margin-top: 9px; }
.resume-entry > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; }
.resume-entry h3 { font-size: 17px; }
.resume-entry time { font-size: 14px; color: #43565a; }
.resume-entry ul { margin-block: 6px 15px; padding-left: 1.05em; }
.resume-entry li + li { margin-top: 5px; }

@media (max-width: 1020px) {
  .name-wordmark { font-size: 12.7vw; }
  .world-copy { padding: clamp(20px,3.1vw,40px); }
  .world-visual { min-height: 315px; }
  .case-brief { gap: 25px; }
  .case-jump { justify-content: start; }
  .about-visual { min-height: 390px; }
}
@media (max-width: 760px) {
  :root { --nav-height: 57px; }
  .nav-shell { gap: 10px; }
  .navigation { gap: clamp(12px,3vw,25px); }
  .navigation a,.nav-resume,.brand { font-size: 13px; }
  .brand { gap: 5px; }
  .mark { width: 25px; height: 25px; }
  .nav-resume svg { width: 14px; height: 14px; }
  .cover { height: clamp(450px, 65svh, 660px); }
  .cover-baseline p { display: grid; gap: 3px; }
  .cover-baseline { align-items: start; }
  .world-controls { gap: 8px; margin-top: 9px; }
  .world-button { gap: 7px; padding: 7px; }
  .world-button > svg { display: none; }
  .world-label strong { font-size: 13px; }
  .world-label > span { font-size: 13px; }
  .world-visual { min-height: 290px; }
  .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .archive-bar { align-items: start; flex-direction: column; gap: 5px; }
  .archive-count { padding-left: 1px; }
  .section-head { align-items: start; flex-direction: column; gap: 9px; }
  .about { grid-template-columns: .78fr 1fr; gap: 21px; }
  .about-visual { min-height: 350px; }
  .experience li { grid-template-columns: 1fr; gap: 1px; }
  .case-brief { grid-template-columns: 1fr; }
  .case--print .gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .figure-stage { min-height: 265px; }
  .figure-showcase { grid-template-columns: 1.12fr 1fr; }
}
@media (max-width: 565px) {
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .navigation { justify-content: center; }
  .navigation a,.nav-resume { min-height: 42px; }
  .navigation .nav-back svg { display: none; }
  .cover { height: clamp(460px, 65svh, 635px); }
  .cover-copy { padding-bottom: 18px; }
  .name-wordmark,[data-theme="toy"] .name-wordmark { font-size: clamp(51px, 16.5vw, 84px); letter-spacing: -.053em; line-height: .91; }
  .name-wordmark span { display: block; }
  .cover-baseline { display: grid; gap: 13px; margin-top: 14px; }
  .cover-baseline p { display: flex; gap: 6px 9px; }
  .cover-baseline p span { font-size: 14px; }
  .cover-caption { top: 12px; left: 12px; right: 12px; gap: 6px; }
  .cover-caption a,.case-stage-top a { font-size: 13px; min-height: 36px; padding-inline: 7px; }
  .cover-caption a svg { display: none; }
  .motion-button { min-height: 36px; min-width: 40px; }
  .motion-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hero-actions .button { min-height: 44px; padding-inline: 11px; }
  .world-buttons { gap: 6px; }
  .world-button { grid-template-columns: 1fr; align-content: start; gap: 5px; padding: 6px; }
  .world-thumb { width: 100%; aspect-ratio: 2.4; }
  .world-label { padding: 0 2px 2px; }
  .world-label > span { display: none; }
  .toy-arch { width: 94%; left: 3%; top: 14%; height: 78%; }
  .toy-composite img { max-width: 38%; }
  .toy-left { height: 33%; left: 4%; bottom: 47%; }
  .toy-mid { height: 40%; left: 31%; bottom: 43%; }
  .toy-right { height: 33%; left: 62%; bottom: 47%; }
  .toy-composite > i:nth-of-type(1) { left: 5%; top: 52%; width: 30%; height: 12%; }
  .toy-composite > i:nth-of-type(2) { left: 33%; top: 56%; width: 34%; height: 12%; }
  .toy-composite > i:nth-of-type(3) { left: 64%; top: 52%; width: 30%; height: 12%; }
  .cover-art--toy .toy-arch { width: 94%; left: 3%; }
  .cover-art--toy .toy-composite > i,.cover-art--toy .toy-composite img,
  .cover-art--toy .toy-composite > i:nth-of-type(3),.cover-art--toy .toy-right { margin-left: 0; }
  [data-theme="toy"] .cover-shade { background: linear-gradient(180deg, transparent 43%, #f4e8e224 55%, #f4e8e2f3 92%); }
  .world-feature { grid-template-columns: 1fr; }
  .world-visual { min-height: 0; aspect-ratio: 1.36; }
  .world-copy { padding: 22px; }
  .world-copy h3 { margin-bottom: 9px; }
  .world-copy > p:not(.project-domain) { margin-bottom: 18px; }
  .world-links { margin-top: 12px; }
  .project-visual { aspect-ratio: 1.5; }
  .project-meta { margin-block: 5px 3px; font-size: 13px; }
  .project h3 { margin-top: 10px; }
  .project-launch { width: 29px; height: 29px; bottom: 5px; right: 5px; }
  .project-launch svg { width: 15px; height: 15px; }
  .project p { margin-top: 5px; font-size: 13px; line-height: 1.5; }
  .filters { gap: 5px; }
  .filters button { min-height: 42px; padding-inline: 7px; font-size: 13px; }
  .about { grid-template-columns: 1fr; }
  .about-copy { grid-area: 1 / 1; }
  .about-visual { grid-area: 2 / 1; min-height: 0; aspect-ratio: 1.57; }
  .about-visual img { object-position: 9% center; }
  .experience li { grid-template-columns: minmax(115px,.45fr) minmax(0,1fr); gap: 9px; }
  .contact-top p { font-size: 13px; }
  .contact-email { font-size: clamp(24px, 8.1vw, 46px); letter-spacing: -.055em; }
  .contact-actions .button { padding-inline: 10px; }
  .case-stage { min-height: 444px; }
  .case-stage-top { top: 12px; left: 12px; right: 12px; }
  .case-stage-art > img,.case-stage-art > picture img { object-position: center; }
  .case-heading { padding-inline: 17px; }
  .case-heading h1,.case--toy .case-heading h1 { font-size: clamp(35px,9.1vw,53px); }
  .case-english { margin-bottom: 6px; }
  .case-desc { font-size: 15px; }
  .case--toy .toy-arch { left: 3%; width: 94%; }
  .case--toy .toy-composite > i,.case--toy .toy-composite img,.case--toy .toy-composite .toy-right { margin-left: 0; }
  .case--toy .case-shade { background: linear-gradient(180deg,transparent 37%,#f4e8e285 58%,#f4e8e2 98%); }
  .case--posters .case-stage-art > img { width: 81%; margin-left: 19%; }
  .case--game-characters .case-stage-art > img { object-position: 50% center; }
  .clip-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .clip-play { width: 48px; height: 48px; }
  .clip-play svg { width: 23px; height: 23px; }
  .case--print .gallery-grid,.package-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-piece figcaption { font-size: 13px; }
  .figure-showcase { grid-template-columns: 1fr; }
  .figure-stage { min-height: 0; }
  .case-pagination { grid-template-columns: 1fr 1fr; }
  .case-pagination .pagination-index { grid-row: 2; grid-column: 1/-1; justify-self: center; min-height: 44px; align-content: center; }
  .case-pagination a:last-child { grid-column: 2; grid-row: 1; }
  .viewer-shell { padding: 8px; }
  .viewer-media img,.viewer-media video { max-height: 70dvh; }
}
@media (max-width: 355px) {
  :root { --gutter: 13px; }
  .nav-resume svg,.navigation a:nth-child(2) { display: none; }
  .contact-email { font-size: clamp(23px,8vw,29px); }
  .case-stage { min-height: 418px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .001s !important; scroll-behavior: auto !important; transition-duration: .001s !important; }
}
body[data-paused="true"],body[data-paused="true"] * { transition-duration: .001s !important; }
@media print {
  body[data-page="resume"] { background: white; color: #111; }
  .site-header,.skip,.atmosphere,.resume-actions,.viewer { display: none !important; }
  .resume { width: 100%; padding: 0; }
  .resume-paper { background: white; padding: 0; }
  .resume-paper h1 { font-size: 38px; }
  .resume-paper h2 { font-size: 20px; }
  .resume-paper p,.resume-paper li { font-size: 12px; }
  .resume-paper section { break-inside: avoid; }
}
