:root {
  --ink: #17201d;
  --paper: #f7f0d6;
  --yellow: #edc53e;
  --pink: #f27ca0;
  --blue: #235ca9;
  --green: #637b52;
  --red: #c84732;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); transition: opacity .28s ease, transform .28s ease; }
body.is-leaving { opacity: 0; transform: translateY(-10px); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
@view-transition { navigation: auto; }

.site-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(18px, 4vw, 58px); border-bottom: 2px solid var(--ink); background: color-mix(in srgb, var(--paper) 93%, transparent); backdrop-filter: blur(12px); font: 800 10px/1 var(--mono); letter-spacing: .04em; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; width: 21px; height: 21px; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--pink); font-size: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px 8px; border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.back-link:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.back-link:focus-visible, .button:focus-visible, .next-case a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

.case { max-width: 1370px; margin: 0 auto; padding: clamp(32px, 5vw, 74px) clamp(18px, 4vw, 64px) 96px; }
.case-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; align-items: end; margin-bottom: 34px; }
.case-kicker { margin: 0; color: var(--accent, var(--red)); font: 900 10px/1.3 var(--mono); letter-spacing: .07em; }
.case-title { max-width: none; margin: 0; font-size: clamp(54px, 9vw, 128px); line-height: .98; letter-spacing: -.075em; }
.case-deck { max-width: 41ch; margin: 0 0 3px; font-size: clamp(19px, 2.25vw, 32px); font-weight: 800; line-height: 1.22; letter-spacing: -.075em; }

.hero-media { position: relative; overflow: hidden; min-height: min(69vw, 760px); border: 2px solid var(--ink); background: var(--ink); box-shadow: 9px 9px 0 var(--ink); }
.hero-media img, .hero-media video { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(transparent, rgba(23,32,29,.35)); pointer-events: none; }
.hero-tag { position: absolute; z-index: 1; right: 13px; bottom: 13px; padding: 8px 10px 7px; border: 1.5px solid var(--ink); background: var(--accent, var(--yellow)); color: var(--ink); font: 900 9px/1 var(--mono); letter-spacing: .04em; }

.case-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 14px 11px; border: 1.5px solid var(--ink); background: var(--accent, var(--yellow)); box-shadow: 4px 4px 0 var(--ink); font: 900 10px/1 var(--mono); letter-spacing: .04em; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.button--quiet { background: var(--paper); }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 108px); margin-top: clamp(68px, 10vw, 150px); padding-top: 16px; border-top: 2px solid var(--ink); }
.section-label { margin: 0 0 11px; color: var(--accent, var(--red)); font: 900 10px/1.4 var(--mono); letter-spacing: .07em; }
.section-title { max-width: 12ch; margin: 0; font-size: clamp(34px, 5.1vw, 71px); line-height: 1.04; letter-spacing: -.075em; }
.body-copy { max-width: 55ch; margin: 0; font-size: clamp(18px, 2vw, 26px); font-weight: 700; line-height: 1.4; letter-spacing: -.06em; }
.body-copy + .body-copy { margin-top: 18px; font-size: 16px; font-weight: 600; line-height: 1.65; letter-spacing: -.035em; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 29px; }
.fact { min-height: 130px; padding: 13px; border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.fact:nth-child(2) { background: var(--accent-soft, var(--pink)); }.fact:nth-child(3) { background: var(--yellow); }
.fact b, .fact span { display: block; }.fact b { font: 900 9px/1.3 var(--mono); letter-spacing: .04em; }.fact span { margin-top: 20px; font-size: clamp(17px, 1.55vw, 23px); font-weight: 800; line-height: .98; letter-spacing: -.065em; }

.section-block { margin-top: clamp(70px, 10vw, 144px); }
.section-block--line { padding-top: 16px; border-top: 2px solid var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }.section-heading h2 { max-width: 14ch; margin: 0; font-size: clamp(32px, 4.4vw, 61px); line-height: 1.04; letter-spacing: -.07em; }.section-heading p { max-width: 30ch; margin: 0; text-align: right; font: 800 10px/1.5 var(--mono); letter-spacing: .035em; }

.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }.role-card { min-height: 260px; padding: clamp(17px, 2.5vw, 29px); border: 2px solid var(--ink); background: var(--accent-soft, var(--pink)); box-shadow: 6px 6px 0 var(--ink); }.role-card:nth-child(2) { background: var(--yellow); }.role-card b { display: block; font: 900 10px/1.35 var(--mono); letter-spacing: .05em; }.role-card h3 { max-width: 12ch; margin: 38px 0 16px; font-size: clamp(28px, 3.6vw, 49px); line-height: 1.06; letter-spacing: -.065em; }.role-card p { max-width: 34ch; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: -.04em; }

.image-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 11px; }.shot { position: relative; min-height: 0; margin: 0; overflow: hidden; border: 1.5px solid var(--ink); background: var(--ink); }.shot img, .shot video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .35s ease; }.shot:hover img, .shot:hover video { transform: scale(1.04); filter: saturate(1.1); }.shot figcaption { position: absolute; right: 8px; bottom: 8px; left: 8px; display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px 6px; border: 1px solid var(--ink); background: rgba(247,240,214,.94); color: var(--ink); font: 900 8px/1.25 var(--mono); letter-spacing: .025em; }.shot--wide { grid-column: span 7; aspect-ratio: 1.55; }.shot--tall { grid-column: span 5; aspect-ratio: .82; }.shot--left { grid-column: span 5; aspect-ratio: 1.06; }.shot--right { grid-column: span 7; aspect-ratio: 1.55; }.shot--full { grid-column: span 12; aspect-ratio: 2.15; }
.journal-note { max-width: 56ch; margin: 0 0 24px; font-size: clamp(16px, 1.7vw, 22px); font-weight: 700; line-height: 1.45; letter-spacing: -.04em; }.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }.journal-grid .shot { aspect-ratio: 1.414; background: #fffdf5; }.journal-grid .shot img { object-fit: contain; }

.four-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }.character-card { position: relative; min-height: 330px; margin: 0; overflow: hidden; border: 1.5px solid var(--ink); background: var(--ink); }.character-card img { display: block; width: 100%; height: 100%; min-height: 330px; object-fit: cover; object-position: center 18%; }.character-card figcaption { position: absolute; right: 8px; bottom: 8px; left: 8px; display: flex; justify-content: space-between; padding: 7px 8px 6px; border: 1px solid var(--ink); background: rgba(247,240,214,.94); font: 900 9px/1 var(--mono); letter-spacing: .04em; }
.process-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr; grid-auto-rows: clamp(132px, 14vw, 190px); gap: 10px; }.process-grid .shot--system { grid-column: span 2; grid-row: span 2; }.process-grid .shot--motion { grid-row: span 2; background: #1d302d; }.process-grid .shot--motion video { object-fit: contain; }.process-grid .shot--keyframe { grid-row: span 2; }.process-grid .shot--world { grid-column: span 2; grid-row: span 2; }

.next-case { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(82px, 12vw, 160px); padding-top: 18px; border-top: 2px solid var(--ink); }.next-case p { margin: 0; font: 900 10px/1.4 var(--mono); letter-spacing: .05em; }.next-case a { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(32px, 5vw, 72px); font-weight: 900; line-height: .85; letter-spacing: -.1em; }.next-case a:hover { color: var(--accent, var(--red)); }
.personal-note { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); align-items: start; gap: clamp(28px, 4vw, 56px); margin-top: clamp(80px, 11vw, 158px); padding: clamp(20px, 3.2vw, 38px); border: 2px solid var(--ink); background: var(--accent-soft, var(--pink)); box-shadow: 8px 8px 0 var(--ink); }
.personal-note__photo { margin: 0; padding: 8px; border: 1.5px solid var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-2deg); }
.personal-note__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 65%; }
.personal-note__photo figcaption { padding: 13px 3px 5px; font: 800 9px/1.5 var(--mono); letter-spacing: .035em; }
.personal-note__body { min-width: 0; }
.personal-note .section-label { margin: 0 0 14px; color: var(--ink); }
.personal-note h2 { margin: 0; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.2; letter-spacing: -.04em; }
.personal-note__education { margin: 14px 0 20px; font-size: 15px; font-weight: 700; line-height: 1.8; }
.personal-note__intro { max-width: 36em; margin: 0; font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; line-height: 1.8; }
.personal-note__details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 25px 0; padding-top: 20px; border-top: 1px solid var(--ink); }
.personal-note__details dt { margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.personal-note__details dd { margin: 0; font-size: 13px; line-height: 1.9; }
.personal-note__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.personal-note__tags span { padding: 8px 10px; border: 1.5px solid var(--ink); background: var(--paper); font-size: 12px; font-weight: 700; line-height: 1.4; }
.personal-note__tags span:first-child { padding-left: 0; border: 0; background: none; }
.site-footer { padding: 22px clamp(18px, 4vw, 58px) 30px; background: var(--ink); color: var(--paper); font: 800 9px/1.5 var(--mono); letter-spacing: .04em; }

.theme-dongpo { --accent: #edc53e; --accent-soft: #e7d8a5; }.theme-goodcreative { --accent: #f27ca0; --accent-soft: #d1e8e3; }.theme-goodcreative .hero-media { min-height: min(72vw, 840px); background: #c5ddd5; }.theme-goodcreative .hero-media img { object-fit: contain; }.theme-uneasy { --accent: #edc53e; --accent-soft: #a5c3d8; background: #d6e5de; }.theme-uneasy .hero-media { min-height: min(56vw, 660px); }.theme-uneasy .hero-media img { object-position: center; }

@media (max-width: 900px) {
  .site-header { padding: 12px 18px; font-size: 8px; }.brand-mark { width: 18px; height: 18px; font-size: 10px; }.back-link { padding: 8px 9px 7px; box-shadow: 2px 2px 0 var(--ink); }
  .case { padding: 35px 18px 64px; }.case-heading, .intro-grid, .personal-note { grid-template-columns: 1fr; gap: 26px; }.case-title { font-size: clamp(52px, 16vw, 88px); line-height: 1.02; }.case-deck { font-size: 21px; }.hero-media { min-height: 62vw; box-shadow: 6px 6px 0 var(--ink); }.hero-tag { right: 8px; bottom: 8px; font-size: 8px; }.intro-grid { margin-top: 72px; }.section-heading { align-items: flex-start; flex-direction: column; }.section-heading p { text-align: left; }.facts, .role-grid, .journal-grid { grid-template-columns: 1fr; }.fact { min-height: 94px; }.fact span { margin-top: 12px; }.role-card { min-height: 210px; }.role-card h3 { margin-top: 25px; }.image-grid { grid-template-columns: 1fr; }.shot, .shot--wide, .shot--tall, .shot--left, .shot--right, .shot--full { grid-column: auto; min-height: 260px; aspect-ratio: 1.35; }.journal-grid .shot { min-height: 0; aspect-ratio: 1.414; }.four-cards { grid-template-columns: repeat(2, 1fr); }.character-card, .character-card img { min-height: 250px; }.process-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }.process-grid .shot, .process-grid .shot--system, .process-grid .shot--motion, .process-grid .shot--keyframe, .process-grid .shot--world { grid-column: auto; grid-row: auto; min-height: 230px; aspect-ratio: 1.45; }.process-grid .shot--motion { min-height: 390px; aspect-ratio: .72; }.personal-note { box-shadow: 6px 6px 0 var(--ink); }.next-case { align-items: flex-start; flex-direction: column; gap: 17px; }.next-case a { font-size: 45px; }
}

.film-stills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.film-stills .shot { grid-column: auto; min-height: 0; aspect-ratio: 16 / 9; }
.film-stills .shot--full { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .personal-note { grid-template-columns: minmax(140px, .65fr) minmax(0, 1.35fr); }
  .personal-note__details { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .personal-note { grid-template-columns: 1fr; gap: 32px; }
  .personal-note__photo { width: min(100%, 280px); }
  .film-stills { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
