:root {
  --paper: #fff;
  --ink: #181818;
  --muted: #777;
  --blue: #164cff;
  --line: #d9d9d9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.34; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
::selection { background: #c8d5ff; }

.index-page { min-height: 100svh; padding: clamp(18px, 2.2vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 50px; }
.studio-title { margin: 0 0 clamp(70px, 9vw, 150px); max-width: 950px; font-size: clamp(3.3rem, 7.1vw, 8.5rem); line-height: .86; letter-spacing: -.075em; font-weight: 400; }
.practice { margin-bottom: clamp(80px, 11vw, 170px); }
.practice:last-child { margin-bottom: 32px; }
.practice h2 { margin: 0 0 clamp(60px, 7vw, 110px); font-size: clamp(2.7rem, 6vw, 7rem); line-height: .9; letter-spacing: -.06em; font-weight: 400; }
.work-list { list-style: none; margin: 0; padding: 0; }
.work-list li { margin: 0; }
.work-link, .work-pending { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; width: 100%; font-size: clamp(2.35rem, 5.5vw, 6.3rem); line-height: .96; letter-spacing: -.055em; }
.work-link { transition: transform .18s ease, color .18s ease; }
.title-indent { display: inline-block; margin-left: clamp(32px, 6vw, 110px); }
.work-link:hover, .work-link:focus-visible { transform: translateX(clamp(7px, 1.1vw, 18px)); color: var(--blue); outline: none; }
.work-link .meta, .work-pending .meta { flex: 0 0 auto; opacity: .62; color: var(--muted); font-size: .8rem; line-height: 1.25; letter-spacing: .02em; text-align: right; transition: opacity .18s ease; }
.work-link:hover .meta, .work-link:focus-visible .meta { opacity: 1; }
.work-pending { color: #b6b6b6; cursor: default; }
.work-pending .meta { opacity: 1; }
.experience-entry { color: var(--ink); }
.experience-entry > span:first-child, .writing-entry > span:first-child { display: block; padding-left: clamp(32px, 6vw, 110px); text-indent: clamp(-110px, -6vw, -32px); }
.side-index { position: sticky; top: 24px; align-self: start; display: grid; gap: 28px; font-size: .9rem; }
.side-index nav { display: grid; gap: 3px; }
.side-index a:hover, .side-index a:focus-visible { color: var(--blue); }
.side-note { max-width: 250px; color: var(--muted); }
.side-footer { margin-top: 20vh; color: var(--muted); font-size: .8rem; }

.project-page { padding: 22px 28px 80px; }
.project-nav { position: sticky; z-index: 10; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 0 14px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); font-size: .9rem; }
.project-nav a:hover, .project-nav a:focus-visible { color: var(--blue); }
.project-intro { min-height: 74svh; display: grid; grid-template-columns: minmax(300px, .95fr) minmax(360px, 1.05fr); gap: clamp(34px, 7vw, 130px); align-content: start; padding: clamp(58px, 8vw, 130px) 0 80px; }
.video-only-intro { min-height: auto; grid-template-columns: 1fr; padding-bottom: clamp(48px, 7vw, 90px); }
.project-title { margin: 0; font-size: clamp(4rem, 10vw, 11rem); line-height: .78; letter-spacing: -.085em; font-weight: 400; }
.project-heading { min-width: 0; }
.project-details { width: min(100%, 620px); margin-top: clamp(28px, 4vw, 58px); padding-top: 11px; border-top: 1px solid var(--ink); color: var(--muted); font-size: .85rem; line-height: 1.48; }
.project-info { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-content: start; }
.project-info-text-only { grid-template-columns: 1fr; }
.project-meta { color: var(--muted); font-size: .85rem; }
.project-text { max-width: 690px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.15rem, 1.8vw, 1.65rem); line-height: 1.48; }
.project-text p { margin: 0 0 1.3em; }
.writing-intro { min-height: calc(100svh - 70px); }
.long-writing-title { font-size: clamp(3rem, 6vw, 7rem); line-height: .88; }
.project-gallery { display: grid; gap: clamp(28px, 6vw, 100px); }
.project-gallery figure { margin: 0; }
.project-gallery figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.wide-image { width: 100%; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screening-history { width: min(100%, 760px); margin: clamp(44px, 7vw, 96px) 0 0 auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; line-height: 1.42; }
.screening-history h2 { margin: 0 0 18px; color: var(--ink); font-size: inherit; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.screening-history ol { margin: 0; padding: 0; list-style: none; }
.screening-history li { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr); gap: 22px; padding: 7px 0; border-top: 1px solid #ededed; }
.screening-history li:first-child { border-top: 0; }
.blue-image { width: min(68vw, 820px); margin: 0 auto; }
.blue-image figure { margin: 0; }
.blue-image figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.bilingual-statement { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 8vw, 130px); max-width: 1120px; margin: clamp(70px, 10vw, 150px) auto 0; padding-top: 16px; border-top: 1px solid var(--ink); }
.bilingual-statement p { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.58; }
.bilingual-statement .statement-zh { font-family: Arial, Helvetica, sans-serif; line-height: 1.72; }
.marker-images { display: grid; gap: clamp(18px, 2.4vw, 40px); }
.marker-images figure { margin: 0; }
.marker-images img { width: 100%; }
.grad-talk-intro { min-height: auto; padding-bottom: clamp(80px, 11vw, 160px); }
.grad-talk-documentation { display: grid; gap: clamp(90px, 13vw, 190px); }
.grad-talk-documentation figure { margin: 0 auto; }
.grad-talk-poster { width: min(45.63vw, 571px); }
.paper-stage { position: relative; display: block; width: 100%; aspect-ratio: 1080 / 1476; overflow: hidden; background: #fff; color: var(--muted); }
.paper-trigger { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.paper-trigger:focus-visible { outline: 1px solid var(--blue); outline-offset: -2px; }
.paper-trigger[aria-busy="true"] { cursor: wait; }
.paper-placeholder, .paper-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.paper-canvas { opacity: 0; }
.paper-stage.is-ready .paper-canvas { opacity: 1; }
.paper-stage.is-ready .paper-placeholder { opacity: 0; }
.paper-loading { position: absolute; inset: 50% auto auto 50%; z-index: 2; color: var(--muted); font-size: .75rem; transform: translate(-50%, -50%); transition: opacity .2s ease; }
.paper-stage.is-ready .paper-loading { opacity: 0; pointer-events: none; }
.crumple-instruction { margin-top: 12px; color: var(--muted); font-size: .8rem; text-align: center; }
.credit-line { display: block; margin-top: 8px; }
.project-credit { margin-top: 10px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.grad-talk-video { width: min(38.4vw, 448px); }
.grad-talk-video video { display: block; width: 100%; height: auto; background: #111; }
.grad-talk-video figcaption { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.material-surface-gallery img { display: block; width: 70%; margin: 0 auto; }
.entrance-intro { gap: clamp(36px, 5vw, 76px); padding-bottom: clamp(70px, 9vw, 130px); }
.entrance-selection-note { width: min(100%, 760px); margin: 0 0 0 auto; padding-top: 12px; border-top: 1px solid var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.1rem, 1.65vw, 1.45rem); line-height: 1.45; }
.entrance-reader { border-top-color: var(--ink); }
.brochure-stage.entrance-reader-stage { min-height: 0; padding: 0; background: transparent; perspective: 2200px; }
.brochure-page-shell.entrance-page-shell { width: min(80%, 1280px); background: transparent; box-shadow: none; transition: none; }
.brochure-page-shell.book-flip-shell::after { inset: 0 auto 0 50%; }
.brochure-page-shell.entrance-page-shell::after { display: none; }
.brochure-page-shell.entrance-page-shell img { width: 100%; aspect-ratio: 2216 / 1543; object-fit: contain; }
.brochure-page-shell.book-flip-shell.is-turning-forward, .brochure-page-shell.book-flip-shell.is-turning-back { transform: none; opacity: 1; }
.book-reveal-half, .book-turn-leaf { position: absolute; z-index: 1; top: 0; display: none; width: 50%; height: 100%; }
.book-reveal-half { background-repeat: no-repeat; background-size: 200% 100%; }
.book-turn-leaf { z-index: 2; transform-style: preserve-3d; }
.book-leaf-face { position: absolute; inset: 0; backface-visibility: hidden; background-repeat: no-repeat; background-size: 200% 100%; }
.book-leaf-back { transform: rotateY(180deg); }
.book-flip-shell.is-turning-forward .book-reveal-half { right: 0; display: block; }
.book-flip-shell.is-turning-forward .book-turn-leaf { left: 50%; display: block; transform-origin: left center; animation: entrance-turn-forward .72s cubic-bezier(.42, 0, .2, 1) forwards; }
.book-flip-shell.is-turning-back .book-reveal-half { left: 0; display: block; }
.book-flip-shell.is-turning-back .book-turn-leaf { left: 0; display: block; transform-origin: right center; animation: entrance-turn-back .72s cubic-bezier(.42, 0, .2, 1) forwards; }
@keyframes entrance-turn-forward { from { transform: rotateY(0deg); } to { transform: rotateY(-180deg); } }
@keyframes entrance-turn-back { from { transform: rotateY(0deg); } to { transform: rotateY(180deg); } }
.reciprocity-page { background: #d3d3cf; }
.reciprocity-page .project-nav { background: rgba(211,211,207,.94); }
.reciprocity-intro { min-height: auto; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 70px); padding-bottom: clamp(90px, 12vw, 180px); }
.reciprocity-notice { max-width: none; padding: 14px 0 16px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: clamp(1.15rem, 2vw, 1.8rem); line-height: 1.35; }
.reciprocity-notice p { max-width: 1120px; margin: 0; }
.reciprocity-notice a { text-decoration: underline; text-underline-offset: .14em; }
.reciprocity-notice a:hover, .reciprocity-notice a:focus-visible { color: var(--blue); }
.reciprocity-meta { max-width: 760px; }
.reciprocity-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); max-width: none; font-size: clamp(1.1rem, 1.45vw, 1.4rem); }
.reciprocity-text > div { min-width: 0; }
.reciprocity-documentation { display: grid; gap: clamp(80px, 12vw, 180px); }
.reciprocity-documentation figure { margin: 0; }
.reciprocity-installation { width: 70%; margin: 0 auto !important; }
.reciprocity-installation img { display: block; width: 100%; }
.reciprocity-pairs { display: grid; gap: clamp(90px, 14vw, 210px); width: 76%; margin: 0 auto; }
.reciprocity-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 42px); align-items: start; }
.reciprocity-pair img { display: block; width: 100%; height: auto; }
.experience-projects { margin-top: clamp(24px, 4vw, 64px); }
.experience-projects .work-link > span:first-child { display: block; padding-left: clamp(32px, 6vw, 110px); text-indent: clamp(-110px, -6vw, -32px); }
.poster-intro { padding-bottom: clamp(38px, 5vw, 68px); }
.poster-image { width: min(76vw, 960px); margin: 0 auto; }
.poster-image figure { margin: 0; }
.hook-intro { min-height: auto; padding-bottom: clamp(52px, 8vw, 110px); }
.hook-reader { border-top: 1px solid var(--ink); padding-top: 10px; }
.brochure-toolbar, .brochure-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .82rem; }
.brochure-toolbar { padding-bottom: 12px; }
.brochure-controls { display: flex; align-items: center; gap: 14px; }
.brochure-controls button { border: 0; padding: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.brochure-controls button:hover, .brochure-controls button:focus-visible, .brochure-footer a:hover, .brochure-footer a:focus-visible { color: var(--blue); outline: none; }
.brochure-controls button:disabled { color: #b8b8b8; cursor: default; }
.brochure-count { min-width: 74px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.brochure-stage { position: relative; display: grid; place-items: center; overflow: hidden; min-height: min(74vw, 850px); padding: clamp(18px, 4vw, 58px); background: #f1f1ef; perspective: 1800px; touch-action: pan-y; }
.brochure-stage:focus-visible { outline: 1px solid var(--blue); outline-offset: 4px; }
.brochure-page-shell { position: relative; width: min(100%, 1100px); background: #fff; box-shadow: 0 18px 54px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.08); transform: rotateY(0) translateX(0); transform-style: preserve-3d; transition: transform .28s ease, opacity .2s ease; }
.brochure-page-shell::after { position: absolute; inset: 0 auto 0 0; width: 1px; background: rgba(0,0,0,.13); content: ""; }
.brochure-page-shell.is-turning-forward { transform: rotateY(-9deg) translateX(-2%); transform-origin: left center; opacity: .24; }
.brochure-page-shell.is-turning-back { transform: rotateY(9deg) translateX(2%); transform-origin: right center; opacity: .24; }
.brochure-page-shell img { width: 100%; aspect-ratio: 792 / 612; object-fit: contain; }
.brochure-zone { position: absolute; z-index: 2; top: 0; bottom: 0; width: 17%; border: 0; padding: 0; background: transparent; color: var(--ink); cursor: pointer; opacity: 0; transition: opacity .15s ease; }
.brochure-zone::after { position: absolute; top: 50%; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(24,24,24,.35); border-radius: 50%; background: rgba(255,255,255,.9); font-size: 1.3rem; transform: translateY(-50%); }
.brochure-zone-previous { left: 0; }
.brochure-zone-next { right: 0; }
.brochure-zone-previous::after { left: 18px; content: "‹"; }
.brochure-zone-next::after { right: 18px; content: "›"; }
.brochure-stage:hover .brochure-zone:not(:disabled), .brochure-zone:focus-visible { opacity: 1; outline: none; }
.brochure-zone:disabled { cursor: default; }
.brochure-footer { padding-top: 12px; color: var(--muted); }
.brochure-footer a { color: var(--ink); }
.paired { display: grid; grid-template-columns: 1.5fr .72fr; gap: 18px; align-items: end; }
.river-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 4vw, 70px); }
.river-grid figure:nth-child(3) { grid-column: 1 / -1; }
.operation { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; padding: clamp(50px, 9vw, 140px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.operation h2 { margin: 0; font-size: .9rem; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }
.operation p { margin: 0; max-width: 820px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.3rem, 2.4vw, 2.5rem); line-height: 1.25; }
.project-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 70px; font-size: .85rem; }
.snow-field { min-height: 64svh; display: grid; place-items: center; padding: 40px; background: #f6f8ff; border: 1px solid var(--line); color: var(--blue); font-size: clamp(5rem, 20vw, 22rem); line-height: .7; letter-spacing: -.1em; }
.image-slider { display: grid; gap: 12px; }
.image-slider + .image-slider { margin-top: clamp(70px, 12vw, 180px); }
.slider-header { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-top: 1px solid var(--ink); padding-top: 10px; }
.slider-header h2 { margin: 0; font-size: .85rem; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }
.slider-interface { display: flex; align-items: baseline; gap: 16px; font-size: .8rem; }
.slider-count { min-width: 48px; color: var(--muted); font-variant-numeric: tabular-nums; }
.slider-window { position: relative; }
.slider-track { display: flex; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 1px solid var(--blue); outline-offset: 5px; }
.slider-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 3 / 2; display: grid; place-items: center; overflow: hidden; background: var(--paper); scroll-snap-align: start; scroll-snap-stop: always; }
.works-slider .slider-slide { aspect-ratio: 1000 / 595; }
.slider-slide img { width: 70%; height: 100%; object-fit: contain; }
.slider-arrow { position: absolute; z-index: 2; top: 50%; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(24,24,24,.3); border-radius: 50%; padding: 0; background: rgba(255,255,255,.9); color: var(--ink); font: 1.35rem/1 Arial, Helvetica, sans-serif; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(-50%); transition: opacity .16s ease, color .16s ease, border-color .16s ease; }
.slider-arrow-previous { left: calc(15% + 14px); }
.slider-arrow-next { right: calc(15% + 14px); }
.slider-window:hover .slider-arrow:not(:disabled), .slider-window:focus-within .slider-arrow:not(:disabled) { opacity: 1; pointer-events: auto; }
.slider-arrow:hover, .slider-arrow:focus-visible { color: var(--blue); border-color: var(--blue); outline: none; }
.slider-arrow:disabled { opacity: 0; pointer-events: none; cursor: default; }

@media (max-width: 880px) {
  .index-page { grid-template-columns: 1fr; }
  .side-index { position: static; order: -1; grid-template-columns: 1fr 1fr; }
  .side-index nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .side-note, .side-footer { display: none; }
  .studio-title { margin-top: 40px; }
  .work-link, .work-pending { flex-wrap: wrap; gap: 4px 18px; margin-bottom: 10px; }
  .work-link .meta, .work-pending .meta { display: block; flex: 0 0 100%; width: 100%; margin-bottom: 8px; text-align: left; }
  .project-page { padding: 16px 18px 60px; }
  .project-intro { min-height: auto; grid-template-columns: 1fr; padding-bottom: 70px; }
  .project-info { grid-template-columns: 1fr; }
  .screening-history li { grid-template-columns: 1fr; gap: 2px; }
  .blue-image { width: 100%; }
  .poster-image { width: min(100%, 760px); }
  .bilingual-statement { grid-template-columns: 1fr; gap: 56px; }
  .brochure-stage { min-height: 68vw; padding: 14px; }
  .brochure-zone { display: none; }
  .paired, .operation { grid-template-columns: 1fr; }
  .slider-header { align-items: flex-start; }
  .slider-interface { gap: 12px; }
  .slider-slide img { width: 100%; }
  .material-surface-gallery img { width: 100%; }
  .grad-talk-poster { width: 63.36%; }
  .grad-talk-video { width: 80%; }
  .entrance-selection-note { margin-left: 0; }
  .brochure-page-shell.entrance-page-shell { width: 100%; }
  .reciprocity-installation, .reciprocity-pairs { width: 100%; }
  .reciprocity-pair { gap: 12px; }
  .reciprocity-text { grid-template-columns: 1fr; gap: 0; }
  .slider-arrow-previous { left: 12px; }
  .slider-arrow-next { right: 12px; }
}
@media (max-width: 560px) {
  .index-page { padding: 16px; }
  .studio-title { font-size: 3.55rem; }
  .practice h2 { font-size: 3rem; }
  .work-link, .work-pending { font-size: 2.35rem; }
  .river-grid { grid-template-columns: 1fr; }
  .river-grid figure:nth-child(3) { grid-column: auto; }
  .brochure-toolbar, .brochure-footer { align-items: flex-start; }
  .brochure-footer span { display: none; }
  .project-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .work-link, .brochure-page-shell { transition: none; } }
@media (hover: none) { .slider-arrow:not(:disabled) { opacity: 1; pointer-events: auto; } }
