@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --paper: #f3f1eb;
  --panel: #0b0b0b;
  --ink: #0b0b0b;
  --muted: #65635f;
  --line: rgba(11, 11, 11, .25);
  --pad: clamp(18px, 2.2vw, 38px);
  --header-h: 64px;
}

html[data-theme='dark'] {
  --paper: #0c0c0b;
  --panel: #efede6;
  --ink: #f1efe8;
  --muted: #aaa79f;
  --line: rgba(241, 239, 232, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', 'Noto Sans SC', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 420ms ease, color 420ms ease;
}
body.is-loading,
body.menu-open,
body.search-open,
body.viewer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 24px;
  padding: var(--pad);
  background: var(--ink);
  color: var(--paper);
  transition: transform 900ms cubic-bezier(.76,0,.24,1);
}
.loader.is-done { transform: translateY(-102%); }
.loader__name { align-self: center; grid-column: 1 / -1; font-size: clamp(42px, 10vw, 180px); letter-spacing: -.07em; }
.loader__line { height: 1px; background: #4a4a4a; overflow: hidden; }
.loader__line span { display: block; height: 100%; width: 0; background: var(--paper); transition: width 1200ms ease; }
.loader.is-running .loader__line span { width: 100%; }
.loader__count { font-size: 18px; font-variant-numeric: tabular-nums; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}
.mark { position: relative; z-index: 102; display: inline-flex; align-items: center; width: max-content; font-size: 23px; font-weight: 900; letter-spacing: -.09em; }
.mark__logo { width: 34px; height: 27px; margin-right: 8px; overflow: visible; }
.mark__logo path { fill: none; stroke: currentColor; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.header-actions { position: relative; z-index: 102; display: flex; align-items: center; gap: 10px; }
.header-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 36px); margin-right: 16px; }
.header-nav a,
.search-toggle { position: relative; padding: 0; border: 0; background: none; color: inherit; font-size: 12px; cursor: pointer; }
.header-nav a::after,
.search-toggle::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right 250ms ease; }
.header-nav a:hover::after,
.search-toggle:hover::after { right: 0; }

.theme-toggle {
  min-width: 82px;
  height: 32px;
  margin: 0;
  padding: 0 8px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  background: transparent;
  color: inherit;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}
.theme-toggle:hover { background: var(--ink); color: var(--paper); }
.theme-toggle__icon { position: relative; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; overflow: hidden; }
.theme-toggle__icon i { position: absolute; inset: 2px; border-radius: 50%; background: currentColor; transform: translateX(-4px); transition: transform 350ms ease; }
html[data-theme='dark'] .theme-toggle__icon i { transform: translateX(4px); }

.menu-toggle {
  width: 94px;
  height: 34px;
  padding: 0 11px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: color 350ms ease, background 350ms ease, border-color 350ms ease;
}
.menu-toggle__text { width: 38px; height: 16px; overflow: hidden; font-size: 12px; line-height: 16px; }
.menu-toggle__text i { display: block; font-style: normal; transition: transform 500ms cubic-bezier(.16,1,.3,1); }
.menu-toggle__icon { position: relative; width: 16px; height: 16px; }
.menu-toggle__icon i { position: absolute; left: 1px; top: 7px; width: 14px; height: 1px; background: currentColor; transition: transform 500ms cubic-bezier(.16,1,.3,1); }
.menu-toggle__icon i:first-child { transform: rotate(0deg); }
.menu-toggle__icon i:last-child { transform: rotate(90deg); }
.staggered-menu.is-open ~ * .menu-toggle,
body.menu-open .menu-toggle { background: var(--panel); color: var(--paper); border-color: transparent; }
body.menu-open .menu-toggle__text i { transform: translateY(-16px); }
body.menu-open .menu-toggle__icon i:first-child { transform: rotate(45deg); }
body.menu-open .menu-toggle__icon i:last-child { transform: rotate(-45deg); }

.staggered-menu { position: relative; z-index: 80; }
.staggered-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, .38);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity 400ms ease, visibility 400ms;
}
.staggered-menu__layers i,
.staggered-menu__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 100vw);
  transform: translateX(104%);
}
.staggered-menu__layers i { z-index: 81; background: #3150ff; transition: transform 560ms cubic-bezier(.76,0,.24,1) 120ms; }
.staggered-menu__layers i:last-child { z-index: 82; background: #c8ff22; transition-delay: 60ms; }
.staggered-menu__panel {
  z-index: 83;
  padding: calc(var(--header-h) + 70px) clamp(28px, 4vw, 64px) 42px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  color: var(--paper);
  transition: transform 650ms cubic-bezier(.76,0,.24,1);
}
.staggered-menu__eyebrow { margin: 0 0 42px; color: color-mix(in srgb, var(--paper) 60%, transparent); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.staggered-menu__list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.staggered-menu__list li { overflow: hidden; border-bottom: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.staggered-menu__list a {
  padding: 8px 0 14px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  transform: translateY(115%) rotate(3deg);
  transform-origin: left bottom;
  transition: transform 650ms cubic-bezier(.16,1,.3,1), color 250ms ease;
}
.staggered-menu__list a strong { font-size: clamp(46px, 6vw, 82px); line-height: .98; font-weight: 500; letter-spacing: -.065em; }
.staggered-menu__list a:hover,
.staggered-menu__list a:focus-visible { color: #c8ff22; }
.staggered-menu__footer { margin-top: auto; display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.staggered-menu.is-open .staggered-menu__overlay { opacity: 1; visibility: visible; }
.staggered-menu.is-open .staggered-menu__layers i,
.staggered-menu.is-open .staggered-menu__panel { transform: translateX(0); }
.staggered-menu.is-open .staggered-menu__layers i { transition-delay: 0ms; }
.staggered-menu.is-open .staggered-menu__layers i:last-child { transition-delay: 70ms; }
.staggered-menu.is-open .staggered-menu__panel { transition-delay: 140ms; }
.staggered-menu.is-open .staggered-menu__list a { transform: translateY(0) rotate(0); }
.staggered-menu.is-open .staggered-menu__list li:nth-child(1) a { transition-delay: 330ms; }
.staggered-menu.is-open .staggered-menu__list li:nth-child(2) a { transition-delay: 390ms; }
.staggered-menu.is-open .staggered-menu__list li:nth-child(3) a { transition-delay: 450ms; }
.staggered-menu.is-open .staggered-menu__list li:nth-child(4) a { transition-delay: 510ms; }
.staggered-menu.is-open .staggered-menu__list li:nth-child(5) a { transition-delay: 570ms; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: var(--pad);
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.search-overlay::backdrop { background: rgba(0,0,0,.45); }
.search-overlay__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; border-bottom: 1px solid var(--ink); }
.search-overlay__bar input { width: 100%; padding: 22px 0 30px; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: clamp(42px, 8vw, 130px); line-height: .9; letter-spacing: -.07em; }
.search-overlay__bar button { align-self: start; margin-top: 18px; border: 0; background: none; color: inherit; cursor: pointer; }
.search-results { padding: 40px 0 90px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pad); }
.search-results h2 { margin: 0 0 20px; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }
.search-results section > a { padding: 16px 0; display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--line); }
.search-results section > a span { font-size: 11px; color: var(--muted); }
.search-results section > a strong { font-size: clamp(20px, 2.1vw, 34px); font-weight: 500; letter-spacing: -.035em; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
.hero__eyebrow { position: relative; z-index: 30; display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.hero__center { position: absolute; z-index: 30; left: 50%; top: 50%; width: min(84vw, 1160px); text-align: center; transform: translate(-50%, -50%); }
.hero-random-phrase {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 100px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 500;
  color: var(--ink);
  animation: phrase-reveal 700ms cubic-bezier(.16,1,.3,1) both;
  cursor: pointer;
  user-select: none;
  outline: none;
}
.hero-random-phrase:focus-visible { outline: 1px solid var(--ink); outline-offset: 8px; }
.hero-random-phrase [data-random-phrase] { transition: opacity 120ms ease, letter-spacing 120ms ease; }
.hero-random-phrase [data-random-phrase].is-decrypting { opacity: .78; letter-spacing: .01em; }
@keyframes phrase-reveal { from { opacity: 0; transform: translateY(15px); filter: blur(7px); } to { opacity: 1; transform: none; } }
.hero__foot { position: relative; z-index: 30; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; font-size: 13px; }
.hero__foot p { margin: 0; line-height: 1.35; }
.hero__note { justify-self: start; }
.scroll-link { border-bottom: 1px solid; padding-bottom: 4px; }

.orbit { position: absolute; inset: 4% 0 0; pointer-events: none; }
.orbit__item {
  --orbit-x: 0px;
  --orbit-y: 0px;
  --orbit-scale: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--orbit-image-width, clamp(148px, 18vw, 308px));
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--paper) 45%, transparent);
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(0,0,0,.13);
  pointer-events: auto;
  transform: translate(calc(-50% + var(--orbit-x)), calc(-50% + var(--orbit-y))) scale(var(--orbit-scale));
  will-change: transform, opacity;
  transition: box-shadow 250ms ease;
}
.orbit__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms cubic-bezier(.16,1,.3,1), filter 350ms ease; }
.orbit__item span { position: absolute; right: 5px; bottom: 4px; padding: 3px 5px; background: var(--paper); color: var(--ink); font-size: 9px; }
.orbit__item:hover,
.orbit__item:focus-visible { box-shadow: 0 20px 58px rgba(0,0,0,.23); outline: 2px solid var(--accent); outline-offset: 3px; }
.orbit__item:hover img,
.orbit__item:focus-visible img { transform: scale(1.07); }

.section-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: start; padding: 0 var(--pad) clamp(70px, 9vw, 150px); }
.section-heading--plain { grid-template-columns: 3fr 1fr; }
.section-heading h2 { margin: -.16em 0 0; font-size: clamp(72px, 11vw, 205px); line-height: .88; letter-spacing: -.075em; font-weight: 500; }
.section-heading > :last-child { justify-self: end; }
.index-section { padding-top: clamp(110px, 15vw, 250px); }

.flowing-menu { border-top: 1px solid var(--ink); }
.flowing-menu--home { min-height: clamp(940px, 100vw, 1600px); }
.flowing-menu__item {
  position: relative;
  min-height: clamp(94px, 10vw, 160px);
  padding: 18px var(--pad);
  display: grid;
  grid-template-columns: 7% minmax(0, 1fr) 18% 8% 24px;
  gap: 14px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: color 300ms ease, opacity 520ms ease var(--item-delay, 0ms), transform 650ms cubic-bezier(.16,1,.3,1) var(--item-delay, 0ms), filter 520ms ease var(--item-delay, 0ms);
}
.animated-list__item { opacity: 0; transform: translateY(22px) scale(.96); filter: blur(8px); }
.animated-list__item.is-visible { opacity: 1; transform: none; filter: blur(0); }
.flowing-menu__item > span,
.flowing-menu__item > strong { position: relative; z-index: 3; }
.flowing-menu__item > strong { font-size: clamp(26px, 3.2vw, 58px); line-height: .96; letter-spacing: -.05em; font-weight: 500; transition: opacity 240ms ease; }
.flowing-menu__number,
.flowing-menu__category,
.flowing-menu__year,
.flowing-menu__arrow { font-size: 12px; }
.flowing-menu__arrow { justify-self: end; }
.flowing-menu__thumb { display: none; }
.flowing-menu__marquee {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(.08);
  transition: opacity 250ms ease, transform 500ms cubic-bezier(.16,1,.3,1);
}
.flowing-menu__track { display: flex; align-items: center; gap: 24px; width: max-content; color: #0b0b0b; animation: flowing-marquee 18s linear infinite; animation-play-state: paused; }
.flowing-menu__track > span { flex: none; font-size: clamp(54px, 7vw, 116px); line-height: .8; letter-spacing: -.065em; }
.flowing-menu__track img { flex: none; width: clamp(100px, 12vw, 190px); height: clamp(68px, 7vw, 110px); object-fit: cover; transform: rotate(-4deg); }
.flowing-menu__item:hover .flowing-menu__marquee,
.flowing-menu__item:focus-visible .flowing-menu__marquee { opacity: 1; transform: scaleY(1); }
.flowing-menu__item:hover .flowing-menu__track,
.flowing-menu__item:focus-visible .flowing-menu__track { animation-play-state: running; }
.flowing-menu__item:hover > strong,
.flowing-menu__item:focus-visible > strong { opacity: 0; }
.flowing-menu__item:hover > .flowing-menu__number,
.flowing-menu__item:focus-visible > .flowing-menu__number { color: #0b0b0b; }
.flowing-menu__category,
.flowing-menu__year,
.flowing-menu__arrow { transition: opacity 180ms ease; }
.flowing-menu__item:hover > .flowing-menu__category,
.flowing-menu__item:hover > .flowing-menu__year,
.flowing-menu__item:hover > .flowing-menu__arrow,
.flowing-menu__item:focus-visible > .flowing-menu__category,
.flowing-menu__item:focus-visible > .flowing-menu__year,
.flowing-menu__item:focus-visible > .flowing-menu__arrow { opacity: 0; }
@keyframes flowing-marquee { to { transform: translateX(-50%); } }

.works-pager { min-height: 110px; padding: 26px var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--ink); }
.works-pager > :last-child { justify-self: end; }
.works-pager button { padding: 8px 12px; border: 1px solid transparent; background: none; color: inherit; cursor: pointer; }
.works-pager button[aria-current='page'] { border-color: var(--ink); border-radius: 100%; }
.works-pager button:disabled { opacity: .25; cursor: default; }
[data-home-works-region] { transition: opacity 180ms ease, transform 180ms ease; }
[data-home-works-region].is-changing { opacity: 0; transform: translateY(10px); }

.library-view { min-height: 100svh; padding-bottom: 120px; }
.library-hero,
.experiments-hero { min-height: 56svh; padding: clamp(80px, 10vw, 160px) var(--pad) 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.library-hero__meta { position: relative; z-index: 1; margin-bottom: clamp(54px, 6vw, 110px); }
.library-hero h1,
.experiments-hero h1 { margin: 0; font-size: clamp(100px, 22vw, 390px); line-height: .72; letter-spacing: -.095em; font-weight: 500; }
.work-filters { margin-top: 60px; display: flex; flex-wrap: wrap; gap: 8px; }
.work-filters button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: none; color: inherit; cursor: pointer; }
.work-filters button[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.experiments-entry { padding: clamp(100px, 12vw, 190px) 0; overflow: hidden; background: #0a0a0a; color: #f3f1eb; }
.experiments-entry__title { position: absolute; z-index: 4; inset: 50% auto auto 50%; width: 100%; margin: 0; color: #fff; font-size: clamp(72px, 15vw, 280px); line-height: .75; letter-spacing: -.085em; font-weight: 500; text-align: center; mix-blend-mode: difference; transform: translate(-50%, -50%); pointer-events: none; }
.experiments-entry__visual { position: relative; display: grid; place-items: center; width: calc(100% - 2 * var(--pad)); max-width: 1600px; aspect-ratio: 16 / 9; margin: 0 auto; overflow: hidden; isolation: isolate; background: #080808; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.pixel-swap { position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: #080808; }
.pixel-swap__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 220ms ease; }
.pixel-swap__layer[data-visible='false'] { visibility: hidden; }
.pixel-swap__grid { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.pixel-swap__pixel { position: absolute; overflow: hidden; opacity: 0; contain: paint; }
.pixel-swap__pixel-content { position: absolute; max-width: none; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .pixel-swap__layer { transition-duration: 220ms; }
}

.experiments-view { min-height: 100svh; padding-bottom: 100px; }
.masonry { padding: 0 var(--pad); columns: 4 260px; column-gap: var(--pad); }
.masonry__item { position: relative; width: 100%; margin: 0 0 var(--pad); padding: 0; display: inline-block; overflow: hidden; border: 0; background: #111; color: white; cursor: pointer; opacity: 0; transform: translateY(12px); transition: opacity 320ms ease var(--item-delay), transform 320ms cubic-bezier(.16,1,.3,1) var(--item-delay); }
.masonry__item.is-visible { opacity: 1; transform: none; }
.masonry__item img,
.masonry__item video,
.masonry__item canvas { width: 100%; height: auto; aspect-ratio: var(--ratio); object-fit: cover; transition: transform 550ms cubic-bezier(.16,1,.3,1); }
.masonry__item:hover img,
.masonry__item:hover video { transform: scale(.965); }
.masonry__item > span { position: absolute; inset: auto 0 0; padding: 50px 12px 12px; display: flex; justify-content: space-between; align-items: end; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity 250ms ease; }
.masonry__item:hover > span,
.masonry__item:focus-visible > span { opacity: 1; }
.masonry__item strong { font-size: 15px; font-weight: 500; }
.masonry__item em { font-size: 10px; font-style: normal; text-transform: uppercase; }
.experiment-viewer { width: 100vw; max-width: none; height: 100svh; max-height: none; margin: 0; padding: var(--pad); border: 0; background: rgba(5,5,5,.97); color: white; }
.experiment-viewer::backdrop { background: #000; }
.experiment-viewer[open] { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr auto; gap: 15px; align-items: center; }
.experiment-viewer button { border: 0; background: none; color: inherit; font-size: 26px; cursor: pointer; }
.experiment-viewer [data-viewer-close] { grid-column: 3; justify-self: end; }
.experiment-viewer [data-viewer-media] { min-width: 0; min-height: 0; height: 100%; display: grid; place-items: center; }
.experiment-viewer [data-viewer-media] img,
.experiment-viewer [data-viewer-media] video { width: auto; max-width: 100%; height: auto; max-height: 82svh; }
.experiment-viewer [data-viewer-media] canvas { width: min(100%, 1100px); height: 75svh; }
.experiment-viewer [data-viewer-caption] { grid-column: 1 / -1; margin: 0; text-align: center; }

.about { position: relative; min-height: auto; padding: clamp(48px, 6vw, 96px) 0 clamp(90px, 10vw, 160px); overflow: hidden; isolation: isolate; scroll-margin-top: var(--header-h); }
.about > .section-heading { position: relative; z-index: 6; padding-bottom: clamp(40px, 5vw, 76px); }
.about__composition { position: relative; height: clamp(620px, 60vw, 920px); overflow: hidden; isolation: isolate; }
.about__wordmark { position: absolute; top: 42%; left: 50%; width: max-content; margin: 0; color: color-mix(in srgb, var(--ink) 18%, transparent); font-size: clamp(90px, 15.6vw, 300px); font-weight: 500; line-height: .72; letter-spacing: -.085em; white-space: nowrap; transform: translate(-50%, -50%); pointer-events: none; }
.about__wordmark--back { z-index: 1; }
.about__wordmark--front { z-index: 3; color: #f4f2ec; mix-blend-mode: difference; -webkit-mask-image: linear-gradient(90deg, transparent 0 27%, #000 27% 73%, transparent 73%); mask-image: linear-gradient(90deg, transparent 0 27%, #000 27% 73%, transparent 73%); }
.about__portrait-wrap { position: absolute; z-index: 2; top: 4%; left: 50%; width: clamp(360px, 38vw, 680px); margin: 0; transform: translateX(-50%); }
.about__portrait { aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(.76) contrast(.96); box-shadow: 0 35px 90px rgba(0,0,0,.22); }
.about__portrait-wrap > p { position: absolute; right: clamp(-190px, -11vw, -90px); bottom: clamp(-90px, -5vw, -48px); width: min(390px, 29vw); margin: 0; font-size: clamp(15px, 1.25vw, 21px); line-height: 1.3; }
.sticker-stage { position: absolute; z-index: 4; top: clamp(230px, 23vw, 390px); left: var(--pad); right: var(--pad); height: clamp(520px, 50vw, 760px); margin: 0; pointer-events: none; }
.experience-sticker { --sticker-x: 0px; --sticker-y: 0px; --drag-rotate: 0deg; --peel-hover: 20%; --peel-active: 35%; --peel: 0%; --peel-offset: 0%; --light-x: 50%; --light-y: 50%; position: absolute; width: clamp(150px, 15vw, 230px); color: #0b0b0b; transform: translate(var(--sticker-x), var(--sticker-y)) rotate(calc(var(--sticker-rotate) + var(--drag-rotate))); cursor: grab; pointer-events: auto; touch-action: none; user-select: none; transition: transform 800ms cubic-bezier(.16,1,.3,1); }
.experience-sticker.is-dragging { z-index: 10; cursor: grabbing; transition: none; }
.experience-sticker:hover { --peel: var(--peel-hover); --peel-offset: 40%; z-index: 9; }
.experience-sticker.is-active { --peel: var(--peel-active); --peel-offset: 70%; }
.sticker-peel__container { position: relative; min-height: 132px; }
.sticker-peel__main { position: absolute; inset: 0; clip-path: polygon(-2% var(--peel), 102% var(--peel), 102% 102%, -2% 102%); filter: drop-shadow(0 10px 13px rgba(0,0,0,.16)); transition: clip-path 580ms cubic-bezier(.16,1,.3,1); }
.sticker-peel__face { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; overflow: hidden; background: var(--sticker-color); }
.sticker-peel__face::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--light-x) var(--light-y), rgba(255,255,255,.2), transparent 46%); opacity: .55; }
.sticker-peel__flap { position: absolute; z-index: 2; top: calc(-100% + var(--peel-offset) - 1px); left: 0; width: 100%; height: 100%; overflow: hidden; clip-path: polygon(-2% -2%, 102% -2%, 102% var(--peel), -2% var(--peel)); transform: scaleY(-1); transform-origin: center; filter: drop-shadow(0 -5px 7px rgba(0,0,0,.22)); transition: top 580ms cubic-bezier(.16,1,.3,1), clip-path 580ms cubic-bezier(.16,1,.3,1); }
.sticker-peel__face--back { background: color-mix(in srgb, var(--sticker-color) 28%, #aaa); filter: saturate(.25) brightness(.82); }
.experience-sticker span { position: relative; z-index: 1; font-size: 9px; }
.experience-sticker strong { position: relative; z-index: 1; margin-top: auto; font-size: clamp(23px, 2.2vw, 34px); line-height: .9; letter-spacing: -.06em; }
.experience-sticker p { position: relative; z-index: 1; margin: 7px 0 0; font-size: 11px; }
.experience-sticker--1 { --sticker-color:#c8ff22; --sticker-rotate:-5deg; --sticker-x:18vw; --sticker-y:72px; z-index:2; }
.experience-sticker--2 { --sticker-color:#9d72ff; --sticker-rotate:4deg; --sticker-x:66vw; --sticker-y:38px; z-index:4; }
.experience-sticker--3 { --sticker-color:#ff552f; --sticker-rotate:-2deg; --sticker-x:62vw; --sticker-y:155px; z-index:5; }
.experience-sticker--4 { --sticker-color:#ef8dff; --sticker-rotate:6deg; --sticker-x:23vw; --sticker-y:285px; z-index:3; }

@media (prefers-reduced-motion: reduce) {
  .experience-sticker { --peel: 0% !important; --peel-offset: 0% !important; transition: none; }
  .sticker-peel__main,
  .sticker-peel__flap { transition: none; }
  .sticker-peel__face::after { display: none; }
}

.detail-view { padding-bottom: 0; }
.detail-hero { min-height: 68svh; padding: clamp(70px, 8vw, 130px) var(--pad) 50px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(35px, 5vw, 100px); }
.detail-hero__title > span { display: block; margin-bottom: 35px; }
.detail-hero h1 { max-width: 100%; margin: 0; font-size: clamp(58px, 7.4vw, 132px); line-height: .9; letter-spacing: -.075em; font-weight: 500; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.detail-hero__title--long h1 { font-size: clamp(50px, 6vw, 108px); line-height: .92; letter-spacing: -.065em; }
.detail-hero__title p { margin: 20px 0 0; font-size: clamp(18px, 1.8vw, 30px); }
.detail-hero__intro { max-width: 22ch; margin: 0; padding: 49px 0 0; justify-self: end; font-size: clamp(22px, 2.35vw, 42px); line-height: 1.08; letter-spacing: -.035em; text-align: right; text-wrap: balance; }
.detail-cover { margin: 0 var(--pad); overflow: hidden; background: #ddd; }
.detail-cover img { width: 100%; height: auto; object-fit: contain; background: #111; }
.detail-info { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px var(--pad) 0; gap: 24px; }
.detail-info dl { margin: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.detail-info dt, .detail-info dd { margin: 0; font-size: 12px; }
.detail-info dt { color: var(--muted); }
.detail-info a { border-bottom: 1px solid; }
.detail-statement { padding: clamp(140px, 16vw, 280px) var(--pad); display: grid; grid-template-columns: 1fr 3fr; }
.detail-statement p { width: min(1050px, 100%); margin: 0; font-size: clamp(32px, 4.4vw, 78px); line-height: 1.04; letter-spacing: -.055em; }
.detail-gallery { padding: 0 var(--pad); display: grid; gap: var(--pad); }
.detail-gallery__item { margin: 0; overflow: hidden; background: #ddd; }
.detail-gallery__item img { width: 100%; height: auto; max-height: 110svh; object-fit: contain; background: #111; }
.project-neighbors { margin-top: clamp(120px, 16vw, 260px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.project-neighbor { min-height: 48svh; padding: var(--pad); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: end; overflow: hidden; background-color: var(--paper); background-image: linear-gradient(color-mix(in srgb, var(--paper) 76%, transparent), color-mix(in srgb, var(--paper) 76%, transparent)), var(--neighbor-image); background-position: center; background-size: 105%; border-right: 1px solid var(--ink); transition: background-size 700ms cubic-bezier(.16,1,.3,1), color 300ms ease; }
.project-neighbor:last-child { border-right: 0; }
.project-neighbor strong { grid-column: 1 / -1; align-self: end; max-width: 13ch; font-size: clamp(40px, 5.6vw, 104px); line-height: .86; letter-spacing: -.07em; font-weight: 500; text-wrap: balance; }
.project-neighbor:hover,
.project-neighbor:focus-visible { color: #0b0b0b; background-color: var(--neighbor-accent); background-image: linear-gradient(color-mix(in srgb, var(--neighbor-accent) 78%, transparent), color-mix(in srgb, var(--neighbor-accent) 78%, transparent)), var(--neighbor-image); background-size: 115%; }

.site-footer { min-height: 210px; padding: 40px var(--pad); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; border-top: 1px solid var(--ink); }
.site-footer > div { display: flex; gap: 35px; }
.site-footer a { justify-self: center; border-bottom: 1px solid; }
.site-footer > span { justify-self: end; }

.reveal { opacity: 0; transform: translateY(45px); transition: opacity 800ms ease, transform 900ms cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.about__portrait-wrap.reveal { transform: translate(-50%, 45px); }
.about__portrait-wrap.reveal.is-visible { transform: translateX(-50%); }
.cursor { position: fixed; z-index: 200; pointer-events: none; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transform: translate(-50%, -50%) scale(0); transition: transform 180ms ease; }
.cursor.is-active { transform: translate(-50%, -50%) scale(1); }
.cursor span { font-size: 10px; letter-spacing: .08em; }

@media (max-width: 900px) {
  :root { --header-h: 50px; }
  .mark { font-size: 19px; }
  .mark__logo { width: 29px; height: 23px; margin-right: 6px; }
  .theme-toggle { min-width: 30px; width: 30px; height: 30px; padding: 7px; }
  .theme-toggle > [data-theme-label] { display: none; }
  .header-nav { display: none; }
  .search-toggle { margin-left: auto; }
  .menu-toggle { width: 82px; height: 30px; }
  .staggered-menu__panel { padding-top: calc(var(--header-h) + 65px); }
  .hero__center { width: 88vw; }
  .hero-random-phrase { font-size: clamp(40px, 8vw, 72px); }
  .orbit { top: 0; }
  .section-heading { grid-template-columns: 55px 1fr; }
  .section-heading--plain { grid-template-columns: 1fr auto; }
  .section-heading > :last-child { display: none; }
  .flowing-menu__item { grid-template-columns: 46px minmax(0, 1fr) 110px 48px 18px; }
  .detail-hero { grid-template-columns: 1fr; gap: 65px; }
  .detail-hero__intro { max-width: none; padding: 0; justify-self: start; text-align: left; }
  .detail-info { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .detail-statement { grid-template-columns: 1fr; gap: 60px; }
  .masonry { columns: 3 210px; }
  .about__composition { height: clamp(570px, 86vw, 760px); }
  .about__wordmark { top: 41%; font-size: 16.5vw; }
  .about__wordmark--front { -webkit-mask-image: linear-gradient(90deg, transparent 0 19%, #000 19% 81%, transparent 81%); mask-image: linear-gradient(90deg, transparent 0 19%, #000 19% 81%, transparent 81%); }
  .about__portrait-wrap { top: 5%; width: min(66vw, 560px); }
  .about__portrait-wrap > p { right: -8vw; bottom: -72px; width: min(340px, 43vw); }
  .sticker-stage { top: 220px; height: 560px; }
  .experience-sticker { width: min(27vw, 210px); }
  .experience-sticker--1 { --sticker-x:5vw; --sticker-y:115px; }
  .experience-sticker--2 { --sticker-x:68vw; --sticker-y:50px; }
  .experience-sticker--3 { --sticker-x:64vw; --sticker-y:155px; }
  .experience-sticker--4 { --sticker-x:8vw; --sticker-y:285px; }
}

@media (max-width: 600px) {
  .hero__eyebrow span:last-child { display: none; }
  .hero-random-phrase { font-size: clamp(36px, 10.5vw, 50px); }
  .hero__note { display: none; }
  .orbit { inset: 0 -8%; }
  .section-heading h2 { font-size: 21vw; }
  .works-pager { grid-template-columns: auto 1fr auto; padding-inline: 10px; }
  .library-hero h1,
  .experiments-hero h1 { font-size: 25vw; }
  .experiments-hero { min-height: 42svh; padding-bottom: 48px; }
  .work-filters { gap: 5px; }
  .work-filters button { padding: 7px 11px; font-size: 11px; }
  .experiments-entry { padding-block: 80px; }
  .experiments-entry__title { font-size: clamp(54px, 15vw, 82px); }
  .experiments-entry__visual { width: calc(100% - 20px); }
  .masonry { columns: 2 140px; column-gap: 10px; padding-inline: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .search-results { grid-template-columns: 1fr; }
  .search-results section > a { grid-template-columns: 90px 1fr; }
  .flowing-menu__item { min-height: 116px; padding: 14px var(--pad); grid-template-columns: 30px 1fr 78px; gap: 10px; }
  .flowing-menu--home { min-height: 1160px; }
  .flowing-menu__item > strong { font-size: clamp(22px, 7vw, 34px); }
  .flowing-menu__category,
  .flowing-menu__year,
  .flowing-menu__arrow,
  .flowing-menu__marquee { display: none; }
  .flowing-menu__thumb { display: block; width: 78px; height: 82px; }
  .flowing-menu__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .about { padding-top: 40px; padding-bottom: 70px; }
  .about > .section-heading { padding-bottom: 28px; }
  .about__composition { height: 132vw; min-height: 500px; max-height: 680px; }
  .about__wordmark { top: 38%; font-size: 18.2vw; }
  .about__wordmark--front { -webkit-mask-image: linear-gradient(90deg, transparent 0 7%, #000 7% 93%, transparent 93%); mask-image: linear-gradient(90deg, transparent 0 7%, #000 7% 93%, transparent 93%); }
  .about__portrait-wrap { top: 8%; width: calc(100% - 2 * var(--pad)); }
  .about__portrait-wrap > p { right: 0; bottom: -86px; width: min(78vw, 360px); font-size: 14px; }
  .sticker-stage { position: relative; inset: auto; width: auto; height: auto; min-height: auto; margin: 48px var(--pad) 0; display: grid; gap: 10px; pointer-events: auto; }
  .experience-sticker { position: relative; width: 100%; z-index: auto; transform: none; cursor: default; }
  .sticker-peel__container { min-height: 112px; }
  .sticker-peel__face { padding: 14px; }
  .detail-hero { min-height: 72svh; }
  .detail-hero h1 { font-size: 14vw; }
  .detail-hero__title--long h1 { font-size: 12vw; }
  .detail-info { grid-template-columns: 1fr; }
  .project-neighbors { grid-template-columns: 1fr; }
  .project-neighbor { min-height: 38svh; border-right: 0; border-bottom: 1px solid var(--ink); }
  .project-neighbor:last-child { border-bottom: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 50px; }
  .site-footer > span { display: none; }
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .loader { display: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-random-phrase { animation: none; }
  .flowing-menu__track { animation: none; }
  .animated-list__item,
  .masonry__item { opacity: 1; transform: none; filter: none; }
}
