@font-face { font-family: "Newsreader"; src: url("assets/fonts/newsreader.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Noto Serif SC Portfolio"; src: url("assets/fonts/noto-serif-sc-portfolio.ttf") format("truetype"); font-display: swap; font-weight: 400; }
:root { --ink: #141614; --paper: #ecefed; --serif: "Newsreader", "Noto Serif SC Portfolio", serif; --zh-serif: "Noto Serif SC Portfolio", serif; --sans: "Helvetica Neue", "PingFang SC", sans-serif; --header-height: 5.5rem; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); text-rendering: optimizeLegibility; }
body.index-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #f4f2ed; background: #272a27; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .7rem 1rem; color: #fff; background: #111; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; z-index: 40; inset: 0 0 auto; height: var(--header-height); padding: 0 clamp(1.25rem, 3vw, 3.5rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--ink); transition: color .35s ease; }
.site-header::after { content: ""; position: absolute; inset: auto clamp(1.25rem, 3vw, 3.5rem) 0; height: 1px; background: currentColor; opacity: .28; }
.name { width: max-content; font-family: var(--zh-serif); font-size: .98rem; letter-spacing: .08em; }
.discipline { margin: 0; font-size: .72rem; letter-spacing: .08em; }
.index-toggle { justify-self: end; padding: .5rem 0; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; font-size: .78rem; }
.work-index { position: fixed; z-index: 60; inset: 0 0 0 auto; width: min(38rem, 100vw); padding: clamp(1.5rem, 4vw, 3.5rem); color: #ecebe6; background: #171817; transform: translateX(102%); visibility: hidden; transition: transform .55s cubic-bezier(.22,1,.36,1), visibility 0s .55s; }
.work-index.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.index-heading { height: 3.5rem; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.28); font-size: .78rem; }
.index-close { padding: 0 0 .4rem; border: 0; border-bottom: 1px solid; background: none; cursor: pointer; }
.work-index nav { margin-top: 3rem; }
.work-index nav a { min-height: 3.65rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,.16); }
.work-index nav span { font: 400 clamp(1.6rem, 4vw, 2.5rem)/1 var(--serif); transition: transform .25s ease; }
.work-index nav small { color: #a7aaa5; font-size: .72rem; }
.work-index nav a:hover span, .work-index nav a:focus-visible span { transform: translateX(.5rem); }
.opening { position: relative; min-height: 100svh; padding: calc(var(--header-height) + 3.2rem) clamp(1.25rem, 3vw, 3.5rem) clamp(2rem, 3vw, 3rem); display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(1.5rem, 2.5vw, 2.75rem); overflow: hidden; }
.opening-image { grid-row: 2; align-self: center; justify-self: center; width: 100%; height: min(72svh, 52vw); overflow: hidden; background: #15213c; }
.opening-image img { width: 100%; height: 100%; object-fit: contain; animation: settle 1.8s cubic-bezier(.22,1,.36,1) both; }
@keyframes settle { from { transform: scale(1.06); filter: blur(10px); } to { transform: scale(1); filter: blur(0); } }
.opening-copy { grid-row: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: end; }
.opening h1 { margin: 0; font: 400 clamp(2.7rem, 4.4vw, 4.8rem)/.98 var(--zh-serif); letter-spacing: -.035em; }
.opening h1 br { display: none; }
.opening-copy p { max-width: 29rem; margin: 0 0 .35rem; color: #525651; font-size: .95rem; line-height: 1.9; }
.enter { grid-row: 3; width: max-content; padding-bottom: .45rem; border-bottom: 1px solid; font-size: .8rem; }
.works { scroll-snap-type: y proximity; }
.work { --surface: #1c2232; --text: #f2f0eb; min-height: 100svh; padding: calc(var(--header-height) + 2.5rem) clamp(1.25rem, 3vw, 3.5rem) clamp(2.5rem, 5vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); color: var(--text); background: var(--surface); scroll-snap-align: start; }
.work-pear { --surface: #a9c5d8; --text: #17212a; }
.work-paper { --surface: #111211; --text: #efeee8; }
.work-laounge { --surface: #a99b86; --text: #181817; }
.work-gsap { --surface: #821f28; --text: #f4eee7; }
.work-velocity { --surface: #6794b9; --text: #101820; }
.work-vitra { --surface: #314030; --text: #eff0e7; }
.work-floren { --surface: #496778; --text: #f2f0e9; }
.work-sylva { --surface: #a9ab98; --text: #161915; }
.work-visual { position: relative; width: 100%; height: min(73svh, 51vw); min-height: 23rem; display: grid; place-items: center; overflow: hidden; }
.work-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .8s cubic-bezier(.22,1,.36,1), filter .5s ease; }
.work-visual:hover img, .work-visual:focus-visible img { transform: scale(.985); filter: brightness(.82); }
.open-work { position: absolute; inset: 50% auto auto 50%; padding: .8rem 1rem; border-bottom: 1px solid; color: #fff; font-size: .82rem; opacity: 0; transform: translate(-50%, calc(-50% + .6rem)); transition: opacity .3s ease, transform .3s ease; }
.work-visual:hover .open-work, .work-visual:focus-visible .open-work { opacity: 1; transform: translate(-50%, -50%); }
.work-caption { display: grid; grid-template-columns: minmax(12rem, .65fr) minmax(18rem, 1fr) auto; gap: 2rem; align-items: start; }
.work-caption h2 { margin: 0; font: 400 clamp(2rem, 3.3vw, 3.8rem)/.9 var(--serif); letter-spacing: -.025em; }
.work-caption p { max-width: 38rem; margin: .1rem 0 0; font-size: .84rem; line-height: 1.75; opacity: .76; }
.work-kind { padding-top: .2rem; font-size: .72rem; opacity: .7; white-space: nowrap; }
.closing { min-height: 78svh; padding: clamp(6rem, 12vw, 12rem) clamp(1.25rem, 8vw, 9rem); display: grid; align-content: center; grid-template-columns: .48fr 1fr; gap: 2rem 5rem; }
.closing p { margin: .65rem 0 0; color: #5b5e59; font-size: .82rem; }
.closing h2 { max-width: 11ch; margin: 0; font: 400 clamp(3.5rem, 7vw, 6rem)/.97 var(--zh-serif); letter-spacing: -.035em; }
.closing-links { grid-column: 2; margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.closing-links a { width: max-content; padding-bottom: .45rem; border-bottom: 1px solid; font-size: .8rem; }
.progress { position: fixed; z-index: 45; right: 0; bottom: 0; left: 0; height: 2px; pointer-events: none; }
.progress span { display: block; width: 100%; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
* { scrollbar-color: #777b77 var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #777b77; border: 3px solid var(--paper); }
@media (max-width: 900px) {
  :root { --header-height: 4.7rem; }
  .site-header { grid-template-columns: 1fr auto; }
  .discipline { display: none; }
  .opening { min-height: auto; padding-top: calc(var(--header-height) + 3rem); grid-template-rows: auto auto auto; }
  .opening-image { grid-row: 2; width: 100%; height: auto; aspect-ratio: 1728 / 992; }
  .opening-copy { grid-row: 1; grid-template-columns: 1fr; gap: 1.5rem; }
  .opening h1 { max-width: none; font-size: clamp(3.2rem, 13vw, 4.3rem); }
  .opening h1 br { display: initial; }
  .opening-copy p { margin: 0; }
  .enter { grid-row: 3; margin-top: 1rem; }
  .work { min-height: auto; padding-top: calc(var(--header-height) + 2rem); }
  .work-visual { height: auto; min-height: 0; aspect-ratio: 1728 / 936; }
  .work-caption { grid-template-columns: 1fr auto; }
  .work-caption p { grid-column: 1 / -1; grid-row: 2; }
  .closing { grid-template-columns: 1fr; }
  .closing-links { grid-column: 1; }
}
@media (max-width: 560px) {
  .site-header::after { inset-inline: 1.25rem; }
  .opening { padding-bottom: 4rem; }
  .opening-copy p { margin-top: 1.5rem; }
  .work { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 3.5rem; gap: 1.3rem; }
  .work-caption { grid-template-columns: 1fr; gap: .85rem; }
  .work-caption p, .work-kind { grid-column: 1; grid-row: auto; }
  .work-caption h2 { font-size: 2.6rem; }
  .work-kind { border-top: 1px solid currentColor; padding-top: .85rem; opacity: .55; }
  .open-work { display: none; }
  .closing { min-height: 68svh; }
  .work-index nav a { grid-template-columns: 1fr; gap: .25rem; padding: .55rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
