:root {
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --scene-bg: #101514;
  --scene-fg: #f3f0e6;
  --scene-accent: #c9ff53;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.76, 0, .24, 1);
  --page-pad: clamp(24px, 6.25vw, 112px);
  --header-h: 86px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: var(--scene-bg);
  color: var(--scene-fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .8s var(--ease-inout), color .55s ease;
}
body.panel-open { overflow: hidden; }
::selection { color: #101311; background: var(--scene-accent); }
button, a { color: inherit; font: inherit; }
button { margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, h4, ul { margin: 0; }
ul { padding: 0; }
svg { width: 1.1em; height: 1.1em; stroke-width: 1.8; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 10px 14px; color: #111; background: #fff;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

/* Opening sequence */
.preloader {
  position: fixed; inset: 0; z-index: 260; display: grid; place-items: center;
  color: #f4f1e8; background: #0d0e0e; overflow: hidden;
  clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-inout) .2s, visibility 0s linear 1.25s;
}
.preloader::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(201,255,83,.09), transparent 32%);
}
.preloader-mark { display: flex; position: relative; line-height: .72; overflow: hidden; }
.preloader-mark span {
  display: block; font-family: Georgia, serif; font-size: clamp(88px, 15vw, 210px); font-weight: 700;
  transform: translateY(120%); animation: loaderLetters 1s var(--ease-out) forwards;
}
.preloader-mark span:nth-child(2) { animation-delay: .08s; }
.preloader-mark span:nth-child(3) { animation-delay: .16s; }
.preloader-line { position: absolute; left: 8vw; right: 8vw; bottom: 8vh; height: 1px; background: #303333; overflow: hidden; }
.preloader-line span { display: block; width: 100%; height: 100%; background: #c9ff53; transform-origin: left; animation: loaderLine 1.15s var(--ease-inout) forwards; }
.preloader p { position: absolute; right: 8vw; bottom: calc(8vh + 14px); font: 700 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
body.is-ready .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes loaderLetters { to { transform: translateY(0); } }
@keyframes loaderLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.page-transition {
  position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; pointer-events: none;
  color: #f4f1e8; background: #111313; transform: scaleY(0); transform-origin: bottom;
}
.page-transition span { font: 700 11px/1 var(--mono); letter-spacing: .18em; opacity: 0; }
.page-transition.is-active { animation: pageCurtain .95s var(--ease-inout) both; }
.page-transition.is-active span { animation: curtainLabel .95s ease both; }
@keyframes pageCurtain { 0% { transform: scaleY(0); transform-origin: bottom; } 45% { transform: scaleY(1); transform-origin: bottom; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: top; } }
@keyframes curtainLabel { 0%,25%,75%,100% { opacity: 0; } 42%,58% { opacity: 1; } }

/* Header */
.site-header {
  position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-pad);
  color: var(--scene-fg); mix-blend-mode: normal; transition: color .55s ease, opacity .3s ease;
}
.brand { display: inline-flex; align-items: baseline; gap: 9px; text-align: left; letter-spacing: .04em; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.brand-alias { font: 700 9px/1 var(--mono); letter-spacing: .18em; opacity: .65; }
.top-nav { display: flex; align-items: center; gap: clamp(17px, 2.2vw, 38px); }
.nav-link { position: relative; padding: 9px 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; padding: 11px 16px; border: 1px solid currentColor; border-radius: 999px; }
.nav-contact::after { display: none; }
.nav-contact:hover { color: var(--scene-bg); background: var(--scene-fg); }

/* Custom pointer */
.cursor { position: fixed; z-index: 250; left: 0; top: 0; pointer-events: none; border-radius: 50%; opacity: 0; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: currentColor; }
.cursor-ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center;
  border: 1px solid currentColor; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .35s ease, color .35s ease, border-color .35s ease;
}
.cursor-ring span { font: 700 8px/1 var(--mono); letter-spacing: .12em; opacity: 0; transition: opacity .2s ease; }
body.has-pointer .cursor { opacity: 1; }
body.cursor-view .cursor-ring { width: 82px; height: 82px; margin: -41px 0 0 -41px; color: #111; border-color: var(--scene-accent); background: var(--scene-accent); }
body.cursor-view .cursor-ring span { opacity: 1; }
body.cursor-hover .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; }

/* Home project deck */
.work-deck { position: relative; width: 100%; height: 100svh; min-height: 620px; overflow: hidden; background: var(--scene-bg); }
.scene {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(350px, 42%) 1fr; align-items: center;
  gap: 2vw; padding: clamp(104px, 12vh, 150px) var(--page-pad) clamp(74px, 9vh, 105px);
  color: var(--scene-fg); background: var(--scene-bg); visibility: hidden; opacity: 0; pointer-events: none;
  transform: scale(.985); transition: opacity .75s ease, transform .9s var(--ease-out), visibility 0s linear .9s;
}
.scene.is-active { z-index: 2; visibility: visible; opacity: 1; pointer-events: auto; transform: scale(1); transition-delay: 0s; }
.scene.is-leaving { z-index: 1; visibility: visible; opacity: 0; transform: scale(1.025); transition-delay: 0s; }
.scene-copy { position: relative; z-index: 4; max-width: 650px; align-self: center; }
.scene-kicker, .eyebrow { margin-bottom: clamp(18px, 2.2vh, 30px); font: 700 clamp(10px, .78vw, 13px)/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.scene-kicker::before, .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 12px 3px 0; vertical-align: middle; background: var(--scene-accent); }
.scene-title { max-width: 8ch; font-family: var(--serif); font-size: clamp(74px, 8.5vw, 145px); font-weight: 700; line-height: .88; letter-spacing: -.065em; }
.scene-title-name { max-width: none; display: flex; flex-direction: column; }
.scene-title-name span { font-family: Georgia, var(--serif); font-size: clamp(104px, 12vw, 205px); font-style: normal; }
.scene-title-name em { margin: 5px 0 0 .09em; font-family: var(--serif); font-size: clamp(34px, 3.5vw, 58px); font-style: normal; letter-spacing: .08em; }
.scene-title-role { max-width: 12ch; display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 18px); font-size: clamp(54px, 6.2vw, 104px); line-height: .92; }
.scene-title-role span { display: block; }
.scene-title-role em { display: block; max-width: 15em; font-family: var(--sans); font-size: .43em; font-style: normal; font-weight: 600; line-height: 1.2; letter-spacing: .08em; }
.scene-title-tight { font-size: clamp(48px, 5.25vw, 88px); }
.scene-title-tight > span { white-space: nowrap; }
.scene-summary { margin-top: clamp(22px, 3.5vh, 42px); max-width: 36em; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.62; letter-spacing: .01em; }
.intro-summary { max-width: 40em; margin-top: clamp(14px, 2.1vh, 26px); font-size: clamp(15px, 1.1vw, 18px); }
.intro-facts { display: flex; gap: 0; width: min(100%, 560px); margin-top: clamp(20px, 2.8vh, 32px); list-style: none; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.intro-facts li { min-width: 0; flex: 1; display: flex; align-items: baseline; gap: 7px; padding: 13px 14px 13px 0; }
.intro-facts li + li { padding-left: 14px; border-left: 1px solid currentColor; }
.intro-facts strong { font-family: var(--serif); font-size: clamp(23px, 2vw, 32px); line-height: 1; color: var(--scene-accent); }
.intro-facts span { font-size: 10px; letter-spacing: .08em; opacity: .74; }
.intro-direction { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; font-size: 11px; line-height: 1.6; letter-spacing: .08em; }
.intro-direction span { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--scene-accent); }
.scene-actions { display: flex; flex-wrap: wrap; gap: 26px; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(24px, 4vh, 46px); padding: 10px 0 9px;
  border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.text-link svg { transition: transform .35s var(--ease-out); }
.text-link:hover svg { transform: translateX(5px); }
.scene-metrics { display: flex; flex-wrap: wrap; gap: 12px clamp(18px, 2vw, 34px); margin-top: clamp(24px, 3.5vh, 40px); }
.scene-metrics span { display: flex; flex-direction: column; gap: 5px; min-width: 82px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.scene-metrics strong { font-family: var(--serif); font-size: clamp(22px, 2vw, 34px); line-height: 1; letter-spacing: -.03em; color: var(--scene-accent); opacity: 1; text-transform: none; }
.scene-metrics-words { gap: 10px; }
.scene-metrics-words span { padding: 10px 12px; border: 1px solid currentColor; border-radius: 999px; flex-direction: row; align-items: center; }
.scene-metrics-words strong { font-family: var(--mono); font-size: 10px; }
.scene-footnote { position: absolute; z-index: 5; left: var(--page-pad); bottom: 28px; font: 600 9px/1.4 var(--mono); letter-spacing: .11em; text-transform: uppercase; opacity: .62; }

.scene-visual { position: relative; z-index: 3; width: 100%; height: 100%; min-height: 470px; perspective: 1200px; --px: 0px; --py: 0px; }
.intro-portrait { min-height: 540px; }
.portrait-frame {
  position: absolute; z-index: 2; width: min(53%, 500px); height: 88%; left: 29%; top: 2%; overflow: hidden;
  border: 7px solid rgba(255,255,255,.75); box-shadow: 0 35px 85px rgba(0,0,0,.25);
  clip-path: polygon(4% 0, 100% 4%, 94% 100%, 0 95%); transform: translate3d(calc(var(--px) * .55), calc(var(--py) * .55), 0) rotate(2deg);
  transition: transform .25s ease-out;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.9) contrast(1.03); }
.portrait-word { position: absolute; z-index: 0; left: 2%; top: 32%; font-family: Georgia, serif; font-size: clamp(130px, 16vw, 260px); font-weight: 700; line-height: .7; color: var(--scene-accent); opacity: .12; transform: rotate(-90deg) translate3d(calc(var(--py) * .16), calc(var(--px) * .16), 0); }

.image-stack { min-height: 540px; }
.stack-image { position: absolute; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.23); transition: transform .32s ease-out, filter .65s ease, opacity .65s ease; }
.stack-image img { width: 100%; height: 100%; object-fit: cover; }
.stack-image-main { z-index: 3; left: 18%; top: 14%; width: 68%; height: 57%; clip-path: polygon(8% 0, 100% 5%, 91% 100%, 0 94%); transform: translate3d(calc(var(--px) * .55), calc(var(--py) * .55), 0) rotateY(-4deg) rotateZ(1deg); cursor: pointer; }
.stack-image-top { z-index: 1; left: 40%; top: -17%; width: 56%; height: 36%; clip-path: polygon(4% 6%, 100% 0, 94% 90%, 0 100%); transform: translate3d(calc(var(--px) * .28), calc(var(--py) * .28), 0) rotate(4deg); filter: grayscale(1); opacity: .42; }
.stack-image-mini { z-index: 4; left: 2%; bottom: 5%; width: 31%; height: 22%; border: 4px solid var(--scene-accent); transform: translate3d(calc(var(--px) * -.32), calc(var(--py) * -.32), 0) rotate(-2deg); }
.scene.is-active .stack-image-main:hover { transform: translate3d(calc(var(--px) * .55), calc(var(--py) * .55 - 8px), 0) rotateY(-1deg) rotateZ(0); }
.stack-ip .stack-image-main { left: 42%; top: 10%; width: 34%; height: 68%; clip-path: polygon(7% 0,100% 3%,94% 100%,0 96%); }
.stack-ip .stack-image-top { left: 17%; top: 1%; width: 52%; height: 32%; }
.stack-ip .stack-image-mini { left: 11%; bottom: 6%; width: 28%; height: 48%; border-width: 5px; }
.stack-product .stack-image-main { left: 12%; top: 19%; width: 79%; height: 49%; }
.stack-product .stack-image-top { left: 39%; top: -9%; width: 57%; height: 34%; }
.stack-product .stack-image-mini { left: 2%; bottom: 1%; width: 24%; height: 48%; }
.stack-aigc .stack-image-main { left: 42%; top: 8%; width: 36%; height: 69%; }
.stack-aigc .stack-image-top { left: 25%; top: 0; width: 67%; height: 30%; }
.stack-aigc .stack-image-mini { left: 4%; bottom: 5%; width: 43%; height: 34%; }
.stack-visual .stack-image-main { left: 40%; top: 7%; width: 39%; height: 72%; }
.stack-visual .stack-image-top { left: 17%; top: -1%; width: 50%; height: 45%; }
.stack-visual .stack-image-mini { left: 5%; bottom: 3%; width: 35%; height: 27%; }

.experience-visual { display: grid; place-items: center; }
.experience-board {
  position: relative; width: min(88%, 760px); min-height: min(68vh, 620px); display: flex; flex-direction: column;
  padding: clamp(28px, 3.6vw, 56px); text-align: left; color: inherit; background: color-mix(in srgb, var(--scene-fg) 7%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent); box-shadow: 24px 28px 0 color-mix(in srgb, var(--scene-accent) 72%, transparent);
  transform: translate3d(calc(var(--px) * .4), calc(var(--py) * .4), 0) rotate(1deg); transition: transform .35s var(--ease-out), background-color .35s ease;
}
.experience-board:hover { background: color-mix(in srgb, var(--scene-fg) 12%, transparent); transform: translate3d(calc(var(--px) * .4), calc(var(--py) * .4 - 8px), 0) rotate(0); }
.board-number { position: absolute; right: clamp(18px, 3vw, 42px); top: 8px; font-family: Georgia, serif; font-size: clamp(100px, 13vw, 210px); font-weight: 700; line-height: 1; color: var(--scene-accent); opacity: .16; }
.board-label { position: relative; z-index: 1; font: 700 10px/1 var(--mono); letter-spacing: .18em; }
.experience-board > strong { position: relative; z-index: 1; display: block; max-width: 11em; margin: clamp(75px, 11vh, 120px) 0 auto; font-family: var(--serif); font-size: clamp(34px, 4vw, 62px); line-height: 1.08; letter-spacing: -.04em; }
.board-line { position: relative; z-index: 1; display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid currentColor; font-size: clamp(11px, 1vw, 14px); line-height: 1.55; }
.board-line b { font: 700 9px/1.7 var(--mono); letter-spacing: .12em; color: var(--scene-accent); }
.board-open { display: flex; align-items: center; justify-content: space-between; padding-top: 17px; border-top: 1px solid currentColor; font: 700 9px/1 var(--mono); letter-spacing: .14em; }
.stack-copy-card { position: absolute; z-index: 2; left: 9%; top: 5%; width: min(48%, 360px); min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #151515; background: var(--scene-accent); border: 2px solid #151515; transform: translate3d(calc(var(--px) * .2), calc(var(--py) * .2), 0) rotate(-3deg); }
.stack-copy-card span { font: 700 9px/1 var(--mono); letter-spacing: .15em; }
.stack-copy-card strong { margin-top: auto; font-family: var(--serif); font-size: clamp(24px, 2.5vw, 40px); line-height: 1.05; }
.stack-copy-card small { margin-top: 10px; font: 700 9px/1.5 var(--mono); letter-spacing: .04em; }
.stack-copy-card-light { color: #f7f3eb; background: #111311; border-color: #111311; }
.stack-aigc .stack-image-main { left: 10%; top: 23%; width: 82%; height: 42%; }
.stack-aigc .stack-image-top { left: 43%; top: -2%; width: 53%; height: 33%; }
.stack-aigc .stack-image-mini { left: 4%; bottom: 1%; width: 25%; height: 45%; }

.deck-controls { position: absolute; z-index: 8; right: clamp(18px, 3vw, 48px); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateY(-50%); }
.deck-arrow { display: grid; place-items: center; width: 34px; height: 34px; opacity: .5; transition: opacity .25s ease, transform .25s ease; }
.deck-arrow:hover { opacity: 1; transform: scale(1.08); }
.deck-counter { display: flex; gap: 3px; font: 700 8px/1 var(--mono); letter-spacing: .08em; opacity: .62; }
.deck-dots { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 2px 0; }
.deck-dot { position: relative; width: 24px; height: 22px; display: grid; place-items: center; background: transparent; opacity: 1; }
.deck-dot::after { content: ""; width: 5px; height: 11px; border-radius: 999px; background: currentColor; opacity: .28; transition: height .35s var(--ease-out), opacity .35s ease, background-color .35s ease; }
.deck-dot.is-active::after { height: 19px; opacity: 1; background: var(--scene-accent); }
.swipe-hint { position: absolute; z-index: 8; right: var(--page-pad); bottom: 25px; display: none; align-items: center; gap: 8px; font: 700 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }

/* Detail panels */
.page-panel {
  position: fixed; inset: 0; z-index: 100; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  color: var(--panel-ink, #f3f0e6); background: var(--panel-bg, #171918); visibility: hidden; transform: translateY(104%);
  transition: transform .95s var(--ease-inout), visibility 0s linear 1s; scrollbar-width: thin; scrollbar-color: currentColor transparent;
}
.page-panel.is-open { visibility: visible; transform: translateY(0); transition-delay: 0s; }
.page-panel::-webkit-scrollbar { width: 6px; }
.page-panel::-webkit-scrollbar-thumb { background: currentColor; border-radius: 20px; }
.panel-bar {
  position: sticky; z-index: 30; top: 0; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--page-pad);
  color: inherit; background: color-mix(in srgb, var(--panel-bg, #171918) 82%, transparent); border-bottom: 1px solid color-mix(in srgb, currentColor 16%, transparent); backdrop-filter: blur(16px);
}
.panel-back, .panel-next, .panel-mail { display: inline-flex; align-items: center; gap: 9px; width: max-content; font: 700 10px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.panel-back svg { transition: transform .3s ease; }
.panel-back:hover svg { transform: translateX(-5px); }
.panel-label { font: 700 9px/1 var(--mono); letter-spacing: .17em; text-transform: uppercase; opacity: .7; }
.panel-next, .panel-mail { justify-self: end; }
.panel-next svg { transition: transform .3s ease; }
.panel-next:hover svg { transform: translateX(5px); }
.panel-section { width: min(calc(100% - 48px), 1280px); margin-inline: auto; }

.about-panel-page { --panel-bg: #171918; --panel-ink: #f3f0e7; --panel-accent: #c9ff53; }
.about-hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(320px, .82fr) 1fr; align-items: center; gap: clamp(52px, 8vw, 128px); padding-block: clamp(70px, 11vh, 130px); }
.about-photo { position: relative; height: min(70vh, 760px); overflow: hidden; clip-path: polygon(0 4%, 94% 0, 100% 94%, 7% 100%); }
.about-photo::after { content: "ZOE"; position: absolute; right: -1px; bottom: -10px; font-family: Georgia, serif; font-size: clamp(80px, 10vw, 170px); font-weight: 700; line-height: .75; color: #c9ff53; mix-blend-mode: hard-light; opacity: .8; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.9) contrast(1.03); }
.about-intro h2, .about-statement h2, .contact-section h2, .case-hero-copy h2, .case-end h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.055em; line-height: .98; }
.about-intro h2 { max-width: 12ch; font-size: clamp(50px, 6.3vw, 100px); }
.about-lead { max-width: 660px; margin-top: 34px; font-size: clamp(17px, 1.45vw, 23px); line-height: 1.7; color: #c7c8c1; }
.about-links { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 38px; }
.pill-link { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 15px; border: 1px solid #4c4f4d; border-radius: 999px; font-size: 11px; letter-spacing: .04em; transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
.pill-link:hover { color: #111; background: #c9ff53; border-color: #c9ff53; }
.about-statement { padding-block: clamp(130px, 22vh, 250px); border-top: 1px solid #353837; }
.about-statement h2 { max-width: 13ch; font-size: clamp(60px, 9.2vw, 150px); }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid currentColor; }
.section-heading .eyebrow { grid-column: 1; margin: 0; }
.section-heading h2 { grid-column: 1; font-family: var(--serif); font-size: clamp(48px, 6vw, 90px); line-height: .95; letter-spacing: -.05em; }
.section-heading > p:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: end; max-width: 560px; font-size: 17px; line-height: 1.7; opacity: .72; }
.career-section { padding-block: 80px 150px; }
.career-item { display: grid; grid-template-columns: .65fr .8fr 1.55fr; gap: clamp(24px, 4vw, 64px); padding-block: clamp(55px, 7vw, 90px); border-bottom: 1px solid #353837; }
.career-period { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; font: 700 11px/1.3 var(--mono); letter-spacing: .1em; }
.career-period strong { font-family: Georgia, serif; font-size: 72px; color: #c9ff53; opacity: .18; }
.career-role h3 { font-family: var(--serif); font-size: clamp(32px, 3vw, 48px); }
.career-role p { margin-top: 12px; color: #9fa29d; font-size: 14px; line-height: 1.6; }
.career-body > p { font-size: 18px; line-height: 1.72; }
.career-body ul { margin-top: 24px; list-style: none; }
.career-body li { position: relative; padding-left: 22px; color: #b7bab4; font-size: 14px; line-height: 1.75; }
.career-body li + li { margin-top: 10px; }
.career-body li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 2px; background: #c9ff53; }
.project-facts { padding-block: 120px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.fact-card { min-height: 300px; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 42px); color: #151715; background: #f2f0e7; border-radius: 2px; }
.fact-card:nth-child(2) { background: #c9ff53; }
.fact-card:nth-child(3) { color: #fff4e9; background: #ed5c45; }
.fact-card span { font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.fact-card h3 { margin-top: auto; font-family: var(--serif); font-size: clamp(34px, 3.5vw, 54px); line-height: 1; }
.fact-card p { margin-top: 20px; font-size: 14px; line-height: 1.7; opacity: .75; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #353837; border-bottom: 1px solid #353837; }
.profile-block { min-height: 470px; padding: 58px clamp(22px, 3vw, 48px); }
.profile-block + .profile-block { border-left: 1px solid #353837; }
.profile-block h3 { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(34px, 3.2vw, 50px); }
.profile-block > p:not(.eyebrow), .profile-block li { color: #b9bcb6; font-size: 15px; line-height: 1.8; }
.profile-block ul { margin-top: 26px; padding-left: 17px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud span { padding: 10px 13px; border: 1px solid #4b4e4c; border-radius: 999px; font-size: 11px; }
.contact-section { padding-block: clamp(130px, 20vh, 230px) 40px; }
.contact-section h2 { max-width: 13ch; font-size: clamp(58px, 8vw, 128px); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 70px; }
.contact-big { display: inline-flex; align-items: center; gap: 16px; width: max-content; padding-bottom: 12px; border-bottom: 2px solid currentColor; font-family: var(--serif); font-size: clamp(28px, 3vw, 46px); }
.contact-big svg { transition: transform .35s var(--ease-out); }
.contact-big:hover svg { transform: translate(5px,-5px); }
.contact-section footer { display: flex; justify-content: space-between; margin-top: 130px; padding-top: 26px; border-top: 1px solid #353837; font: 700 9px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .65; }

/* Case-study pages */
.case-panel { color: var(--panel-ink); background: var(--panel-bg); }
.case-hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: .9fr 1.1fr; grid-template-rows: 1fr auto; gap: 40px 6vw; align-items: center; padding-block: clamp(70px, 10vh, 120px) 42px; }
.case-hero-copy { position: relative; z-index: 2; }
.case-hero-copy .eyebrow::before, .case-panel .eyebrow::before { background: var(--panel-accent); }
.case-hero-copy h2 { max-width: 10ch; font-size: clamp(60px, 7.2vw, 116px); }
.case-hero-copy > p:not(.eyebrow) { max-width: 620px; margin-top: 28px; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.72; opacity: .78; }
.case-hero-copy small { display: block; max-width: 580px; margin-top: 18px; font: 700 10px/1.6 var(--mono); letter-spacing: .06em; opacity: .65; }
.case-hero-image { position: relative; height: min(68vh, 700px); overflow: hidden; clip-path: polygon(7% 0, 100% 5%, 93% 100%, 0 94%); box-shadow: 0 35px 90px color-mix(in srgb, #000 22%, transparent); transform: rotate(1deg); }
.case-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.case-hero-image.image-contain img { object-fit: contain; background: color-mix(in srgb, var(--panel-bg) 70%, #fff); }
.case-hero-image.image-wide { height: min(56vh, 580px); }
.case-hero-image.image-wide img { object-fit: contain; background: color-mix(in srgb, var(--panel-bg) 70%, #fff); }
.case-role-board { position: relative; min-height: min(65vh, 640px); display: flex; flex-direction: column; padding: clamp(28px, 4vw, 58px); color: var(--panel-bg); background: var(--panel-ink); border: 1px solid currentColor; box-shadow: 24px 28px 0 var(--panel-accent); transform: rotate(1deg); }
.case-role-board > span { font: 700 10px/1 var(--mono); letter-spacing: .18em; color: var(--panel-accent); }
.case-role-board > strong { max-width: 9em; margin-top: clamp(70px, 11vh, 120px); font-family: var(--serif); font-size: clamp(46px, 5.5vw, 84px); line-height: 1; letter-spacing: -.05em; }
.case-role-board ol { margin-top: auto; list-style: none; }
.case-role-board li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent); font-size: 14px; line-height: 1.4; }
.case-role-board li b { font: 700 9px/1.6 var(--mono); color: var(--panel-accent); }
.case-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 30px; border-top: 1px solid currentColor; font-size: 12px; line-height: 1.6; }
.case-meta span { display: flex; gap: 14px; }
.case-meta b { font: 700 9px/1.8 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--panel-accent); }
.case-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); padding-block: clamp(90px, 14vh, 160px); }
.case-stats > div { min-height: 180px; display: flex; flex-direction: column; justify-content: center; padding: 28px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.case-stats > div + div { border-left: 1px solid currentColor; }
.case-stats strong { font-family: var(--serif); font-size: clamp(42px, 5.2vw, 80px); line-height: 1; letter-spacing: -.05em; color: var(--panel-accent); }
.case-stats span { margin-top: 18px; font-size: 12px; line-height: 1.5; opacity: .72; }
.case-stats-steps strong { font-family: var(--mono); font-size: 16px; }
.case-narrative { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px, 9vw, 140px); align-items: end; padding-block: clamp(90px, 14vh, 180px); }
.case-narrative h3 { max-width: 15ch; font-family: var(--serif); font-size: clamp(48px, 6.3vw, 96px); line-height: 1; letter-spacing: -.05em; }
.case-narrative > p { max-width: 560px; padding-bottom: 8px; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.75; opacity: .76; }
.media-grid { display: grid; gap: clamp(18px, 2.6vw, 40px); padding-block: 40px clamp(100px, 16vh, 190px); }
.media-grid figure { position: relative; overflow: hidden; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.media-grid figure:hover img { transform: scale(1.025); }
.media-grid figcaption { padding-top: 13px; font: 600 11px/1.5 var(--mono); letter-spacing: .03em; opacity: .66; }
.media-grid-campus { grid-template-columns: 1.45fr .55fr; align-items: start; }
.media-grid-campus figure:first-child { height: min(80vh, 800px); }
.media-grid-campus figure:last-child { height: min(86vh, 850px); margin-top: 15vh; }
.media-grid-ip { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 7vw; }
.media-grid-ip figure { height: min(92vh, 900px); }
.media-grid-product { grid-template-columns: 1.35fr .45fr; align-items: center; }
.media-grid-product figure:first-child { height: min(55vh, 600px); }
.media-grid-product figure:last-child { height: min(86vh, 850px); }
.media-grid-aigc { grid-template-columns: 1.3fr .9fr .45fr; align-items: start; }
.media-grid-aigc figure:first-child { height: min(55vh, 560px); }
.media-grid-aigc figure:nth-child(2) { height: min(65vh, 650px); margin-top: 12vh; }
.media-grid-aigc figure:last-child { height: min(88vh, 850px); margin-top: 4vh; }
.media-grid-visual { grid-template-columns: 1fr .8fr; align-items: center; }
.media-grid-visual figure:first-child { height: min(86vh, 850px); }
.media-grid-visual figure:last-child { height: min(54vh, 540px); }
.method-section { padding-block: clamp(80px, 13vh, 160px); }
.method-section .section-heading { border-color: currentColor; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.method-grid article { min-height: 330px; padding: 32px; }
.method-grid article + article { border-left: 1px solid currentColor; }
.method-grid span { font: 700 11px/1 var(--mono); color: var(--panel-accent); }
.method-grid h3 { margin-top: 100px; font-family: var(--serif); font-size: clamp(30px, 3vw, 48px); }
.method-grid p { margin-top: 18px; font-size: 14px; line-height: 1.7; opacity: .72; }
.tool-marquee { overflow: hidden; padding-block: 38px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.tool-marquee > div { display: flex; width: max-content; gap: 50px; animation: marquee 30s linear infinite; }
.tool-marquee span { padding-right: 50px; border-right: 1px solid currentColor; font-family: var(--serif); font-size: clamp(42px, 5vw, 78px); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.case-end { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; padding-block: 130px; border-top: 1px solid currentColor; }
.case-end h2 { max-width: 12ch; font-size: clamp(58px, 8vw, 128px); }
.case-end .contact-big { margin-top: 60px; }

.reveal-on-scroll { opacity: 0; transform: translateY(55px); transition: opacity .85s ease, transform 1s var(--ease-out); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.image-reveal { clip-path: inset(0 0 0 100%); transition: clip-path 1.15s var(--ease-inout); }
.scene.is-active .image-reveal, .page-panel.is-open .image-reveal { clip-path: inset(0 0 0 0); transition-delay: .28s; }

@media (max-width: 1100px) {
  :root { --page-pad: clamp(24px, 4.2vw, 48px); }
  .scene { grid-template-columns: minmax(310px, 44%) 1fr; gap: 0; }
  .scene-title { font-size: clamp(66px, 8.4vw, 96px); }
  .scene-title-role { font-size: clamp(48px, 6.4vw, 78px); }
  .scene-title-role.scene-title-tight { font-size: clamp(44px, 5vw, 58px); }
  .portrait-frame { width: 56%; left: 25%; }
  .experience-board { width: 90%; min-height: min(62vh, 580px); }
  .experience-board > strong { font-size: clamp(31px, 4vw, 48px); }
  .case-hero { grid-template-columns: .95fr 1.05fr; }
  .career-item { grid-template-columns: .5fr .8fr 1.5fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --page-pad: 18px; }
  body { min-height: 100svh; }
  .site-header { height: var(--header-h); padding-inline: 18px; }
  .brand-name { font-size: 14px; }
  .brand-alias { font-size: 7px; }
  .top-nav { gap: 14px; }
  .nav-link { font-size: 9px; letter-spacing: .1em; }
  .nav-contact { display: none; }
  .cursor { display: none; }
  .work-deck { height: 100dvh; min-height: 0; }
  .scene {
    grid-template-columns: 1fr; grid-template-rows: minmax(238px, 39dvh) auto; align-content: start; gap: 4px;
    padding: calc(var(--header-h) + 3px) 18px 48px; overflow: hidden;
  }
  .scene-copy { grid-row: 2; width: 100%; align-self: start; padding-top: 4px; }
  .scene-visual { grid-row: 1; min-height: 0; height: 100%; }
  .scene-kicker { margin-bottom: 10px; font-size: 8px; }
  .scene-kicker::before { width: 18px; margin-right: 8px; }
  .scene-title { max-width: 11ch; font-size: clamp(46px, 13vw, 68px); line-height: .9; }
  .scene-title-name span { font-size: clamp(66px, 21vw, 98px); }
  .scene-title-name em { margin-top: 0; font-size: 25px; }
  .scene-title-role { gap: 5px; font-size: clamp(39px, 11.5vw, 56px); line-height: .92; }
  .scene-title-tight { font-size: clamp(36px, 10.5vw, 50px); }
  .scene-title-role em { font-size: .47em; line-height: 1.25; }
  .scene-summary { margin-top: 10px; font-size: 13px; line-height: 1.52; }
  .intro-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
  .scene-summary br { display: none; }
  .scene-actions { gap: 18px; }
  .text-link { margin-top: 16px; padding-block: 6px; font-size: 10px; }
  .scene-metrics { gap: 7px 12px; margin-top: 11px; }
  .scene-metrics span { min-width: 55px; gap: 2px; font-size: 8px; }
  .scene-metrics strong { font-size: 19px; }
  .scene-metrics-words span { padding: 6px 8px; }
  .intro-facts { width: 100%; margin-top: 11px; }
  .intro-facts li { gap: 4px; padding: 8px 5px 8px 0; }
  .intro-facts li + li { padding-left: 7px; }
  .intro-facts strong { font-size: 18px; }
  .intro-facts span { font-size: 8px; letter-spacing: .02em; }
  .intro-direction { gap: 5px 8px; margin-top: 7px; font-size: 9px; }
  .intro-direction span { font-size: 8px; }
  .scene-footnote { display: none; }
  .intro-portrait { min-height: 0; }
  .portrait-frame { width: 53%; height: 94%; left: 24%; top: 0; border-width: 4px; }
  .portrait-word { left: 3%; top: 42%; font-size: 96px; }
  .experience-board { width: 89%; min-height: 92%; padding: 18px; box-shadow: 10px 12px 0 color-mix(in srgb, var(--scene-accent) 72%, transparent); }
  .board-number { right: 12px; top: 1px; font-size: 78px; }
  .board-label { font-size: 7px; }
  .experience-board > strong { max-width: 11em; margin: 38px 0 auto; font-size: 23px; line-height: 1.08; }
  .board-line { grid-template-columns: 38px 1fr; gap: 6px; padding: 7px 0; font-size: 8px; line-height: 1.35; }
  .board-line b { font-size: 6px; }
  .board-open { padding-top: 8px; font-size: 6px; }
  .image-stack { min-height: 0; }
  .stack-image { box-shadow: 0 18px 45px rgba(0,0,0,.22); }
  .stack-image-main { left: 18%; top: 10%; width: 68%; height: 68%; }
  .stack-image-top { left: 44%; top: -14%; width: 52%; height: 32%; }
  .stack-image-mini { left: 2%; bottom: 0; width: 31%; height: 27%; border-width: 2px; }
  .stack-ip .stack-image-main { left: 42%; top: 4%; width: 34%; height: 76%; }
  .stack-ip .stack-image-top { left: 10%; top: 0; width: 54%; height: 31%; }
  .stack-ip .stack-image-mini { left: 8%; bottom: 0; width: 29%; height: 50%; border-width: 2px; }
  .stack-product .stack-image-main { left: 7%; top: 14%; width: 88%; height: 56%; }
  .stack-product .stack-image-top { left: 41%; top: -4%; width: 55%; height: 31%; }
  .stack-product .stack-image-mini { left: 1%; bottom: 0; width: 24%; height: 48%; }
  .stack-aigc .stack-image-main { left: 5%; top: 26%; width: 91%; height: 40%; }
  .stack-aigc .stack-image-top { left: 42%; top: -3%; width: 54%; height: 35%; }
  .stack-aigc .stack-image-mini { left: 2%; bottom: 0; width: 25%; height: 48%; }
  .stack-visual .stack-image-main { left: 45%; top: 1%; width: 37%; height: 78%; }
  .stack-visual .stack-image-top { left: 10%; top: -3%; width: 55%; height: 44%; }
  .stack-copy-card { left: 4%; top: 4%; width: 42%; min-height: 110px; padding: 12px; }
  .stack-copy-card span, .stack-copy-card small { font-size: 6px; }
  .stack-copy-card strong { font-size: 18px; }
  .deck-controls { right: 4px; top: 43%; gap: 2px; }
  .deck-arrow { display: none; }
  .deck-counter { display: none; }
  .deck-dots { gap: 0; }
  .deck-dot { width: 18px; height: 17px; }
  .deck-dot::after { width: 4px; height: 8px; }
  .deck-dot.is-active::after { height: 15px; }
  .swipe-hint { display: flex; right: 18px; bottom: 16px; font-size: 7px; }

  .panel-bar { height: 60px; padding-inline: 16px; grid-template-columns: 1fr auto; }
  .panel-label { display: none; }
  .panel-back, .panel-next, .panel-mail { font-size: 8px; }
  .panel-next, .panel-mail { grid-column: 2; }
  .panel-section { width: calc(100% - 32px); }
  .about-hero { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding-block: 36px 92px; }
  .about-photo { height: 56svh; }
  .about-photo::after { font-size: 88px; }
  .about-intro h2 { font-size: 50px; }
  .about-lead { margin-top: 24px; font-size: 15px; }
  .about-links { margin-top: 27px; }
  .pill-link { font-size: 9px; }
  .about-statement { padding-block: 110px; }
  .about-statement h2 { font-size: 55px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .section-heading .eyebrow, .section-heading h2, .section-heading > p:last-child { grid-column: 1; grid-row: auto; }
  .section-heading h2 { font-size: 50px; }
  .section-heading > p:last-child { font-size: 14px; }
  .career-section { padding-block: 70px 100px; }
  .career-item { grid-template-columns: 1fr; gap: 20px; padding-block: 50px; }
  .career-period { flex-direction: row; align-items: center; }
  .career-period strong { font-size: 42px; }
  .career-role h3 { font-size: 36px; }
  .career-body > p { font-size: 16px; }
  .project-facts { padding-block: 90px; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-card { min-height: 260px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-block { min-height: 0; padding-block: 48px; }
  .profile-block + .profile-block { border-left: 0; border-top: 1px solid #353837; }
  .contact-section { padding-block: 110px 28px; }
  .contact-section h2 { font-size: 54px; }
  .contact-actions { margin-top: 50px; }
  .contact-big { font-size: 28px; }
  .contact-section footer { margin-top: 90px; gap: 20px; font-size: 7px; }

  .case-hero { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; gap: 32px; padding-block: 44px 28px; }
  .case-hero-copy h2 { font-size: 54px; }
  .case-hero-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 15px; }
  .case-hero-image { grid-row: 1; height: 52svh; }
  .case-hero-image.image-wide { grid-row: 1; height: auto; aspect-ratio: 16 / 9; }
  .case-role-board { grid-row: 1; min-height: 52svh; padding: 24px; box-shadow: 12px 14px 0 var(--panel-accent); }
  .case-role-board > strong { margin-top: 52px; font-size: 46px; }
  .case-role-board li { grid-template-columns: 38px 1fr; padding: 11px 0; font-size: 12px; }
  .case-hero-copy { grid-row: 2; }
  .case-meta { grid-column: 1; grid-template-columns: 1fr; gap: 10px; }
  .case-stats { grid-template-columns: repeat(2, 1fr); padding-block: 72px; }
  .case-stats > div { min-height: 140px; padding: 18px; border: 1px solid currentColor; }
  .case-stats > div + div { border-left: 1px solid currentColor; }
  .case-stats strong { font-size: 44px; }
  .case-narrative { grid-template-columns: 1fr; gap: 35px; padding-block: 90px; }
  .case-narrative h3 { font-size: 52px; }
  .case-narrative > p { font-size: 16px; }
  .media-grid, .media-grid-campus, .media-grid-ip, .media-grid-product, .media-grid-aigc, .media-grid-visual { grid-template-columns: 1fr; gap: 46px; }
  .media-grid-campus figure:first-child, .media-grid-campus figure:last-child, .media-grid-ip figure, .media-grid-product figure:first-child, .media-grid-product figure:last-child, .media-grid-aigc figure:first-child, .media-grid-aigc figure:nth-child(2), .media-grid-aigc figure:last-child, .media-grid-visual figure:first-child, .media-grid-visual figure:last-child { height: auto; max-height: none; margin-top: 0; }
  .media-grid img { height: auto; object-fit: contain; }
  .method-section { padding-block: 80px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 250px; }
  .method-grid article + article { border-left: 0; border-top: 1px solid currentColor; }
  .method-grid h3 { margin-top: 70px; }
  .tool-marquee span { font-size: 42px; }
  .case-end { min-height: 74svh; }
  .case-end h2 { font-size: 55px; }
}

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

.no-js body { overflow: auto; }
.no-js .preloader, .no-js .cursor, .no-js .page-transition, .no-js .deck-controls, .no-js .swipe-hint { display: none; }
.no-js .scene { position: relative; min-height: 100vh; visibility: visible; opacity: 1; pointer-events: auto; }
.no-js .page-panel { position: relative; visibility: visible; transform: none; }
