:root {
  --bg: #d8d6ce;
  --ink: #191919;
  --muted: #575650;
  --line: #b8b6ae;
  --surface: #e2e0d9;
  --side: clamp(18px, 4vw, 72px);
  --gap: clamp(12px, 1.4vw, 24px);
  --body: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 var(--body); }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.skip { position: fixed; top: 8px; left: var(--side); z-index: 10; padding: 10px 12px; background: var(--surface); transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header { position: sticky; z-index: 9; top: 0; background: var(--bg); }
[data-portfolio="home"] :is(#main, #archive, [data-section]) { scroll-margin-top: 36px; }
.header-inner { margin: 0 var(--side); min-height: 64px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-size: 15px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; gap: clamp(13px, 2vw, 32px); align-items: center; }
.site-nav a { position: relative; display: block; overflow: hidden; padding: 8px 4px; text-decoration: none; font-size: 14px; }
.site-nav a span { position: relative; }
.site-nav a::before { content: ""; position: absolute; inset: 4px 0; background: var(--surface); transform: translateX(-103%); transition: transform .4s cubic-bezier(.76,0,.24,1); }
.site-nav a:hover::before, .site-nav a:focus-visible::before, .site-nav a[aria-current]::before { transform: none; }
.frame { margin-inline: auto; padding-inline: var(--side); max-width: 1860px; }
.home-hero { display: grid; align-items: center; min-height: clamp(300px, 28vw, 440px); padding-block: clamp(36px, 4vw, 64px); }
.home-hero h1 { font-size: clamp(72px, 10.6vw, 176px); font-weight: 600; line-height: .86; letter-spacing: -.084em; white-space: nowrap; }
.hero-glyph { display: inline-block; transform-origin: 47% 78%; }
.home-hero h1 sup { font-size: .26em; letter-spacing: -.02em; vertical-align: top; margin-left: .12em; }
.hero-name { margin-top: 20px; font-size: clamp(17px, 1.7vw, 25px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; }
.hero-practice { margin-top: 8px; max-width: 32ch; color: var(--muted); }
.hero-practice span { display: block; }
.home-hero[data-wordmark-pending] .hero-lockup { opacity: 0; }
.home-hero[data-wordmark-motion] .hero-name { animation: hero-reveal .66s .68s cubic-bezier(.2,.7,.2,1) both paused; }
.home-hero[data-wordmark-motion] .hero-practice { animation: hero-reveal .72s .83s cubic-bezier(.2,.7,.2,1) both paused; }

@property --ink-spread {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
.hero-glyph:nth-child(1) { --seed-x: 23%; --seed-ink: #7250b1; --glyph-delay: .06s; }
.hero-glyph:nth-child(2) { --seed-x: 52%; --seed-ink: #bb4b62; --glyph-delay: .19s; }
.hero-glyph:nth-child(3) { --seed-x: 63%; --seed-ink: #577d31; --glyph-delay: .31s; }
.hero-glyph:nth-child(4) { --seed-x: 40%; --seed-ink: #287a89; --glyph-delay: .44s; }
.hero-glyph:nth-child(5) { --seed-x: 63%; --seed-ink: #6844ad; --glyph-delay: .63s; }
.home-hero[data-wordmark-motion] .hero-glyph {
  mask-image:
    radial-gradient(ellipse 75% 92% at var(--seed-x) 76%, #000 calc(var(--ink-spread) - 16%), transparent var(--ink-spread)),
    radial-gradient(ellipse 63% 80% at 73% 29%, #000 calc(var(--ink-spread) - 47%), transparent calc(var(--ink-spread) - 25%));
  animation: glyph-form 1.62s var(--glyph-delay) cubic-bezier(.27,.63,.18,1) both paused;
}
@keyframes glyph-form {
  0% { --ink-spread: 0%; opacity: 0; color: var(--seed-ink); transform: translateY(.13em) scale(.44,.35); filter: blur(.045em); }
  32% { --ink-spread: 52%; opacity: 1; color: var(--seed-ink); filter: blur(.014em); }
  70% { --ink-spread: 108%; color: var(--ink); transform: scale(.96, 1.01); filter: blur(0); }
  100% { --ink-spread: 165%; opacity: 1; color: var(--ink); transform: none; filter: none; }
}
@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(.42em); clip-path: inset(0 0 100%); }
  to { opacity: 1; transform: none; clip-path: inset(-12% 0 -12%); }
}
.anchor-alias { display: block; }
.label, .section-line { font: 13px/1.4 var(--mono); color: var(--muted); }
.section-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-block: 12px 15px; }
.section-line h2 { font: inherit; color: var(--ink); }
.section-line a { text-underline-offset: 3px; }
.works-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(40px, 6vw, 108px) var(--gap); }
.work { grid-column: span 6; display: block; min-width: 0; text-decoration: none; }
.work:nth-child(1), .work:nth-child(6) { grid-column: span 7; }
.work:nth-child(2), .work:nth-child(5) { grid-column: span 5; }
.work:nth-child(3), .work:nth-child(5):last-child { grid-column: span 8; }
.work:nth-child(4) { grid-column: span 4; }
.work-art { display: grid; place-items: center; aspect-ratio: 1.3; overflow: hidden; background: var(--surface); }
.work:nth-child(1) .work-art, .work:nth-child(2) .work-art { aspect-ratio: auto; height: clamp(285px, 32vw, 565px); }
.work:nth-child(1) .work-art { background: #c5c6b6; }
.work:nth-child(2) .work-art { background: #c8c788; }
.work:nth-child(3) .work-art { aspect-ratio: 1.55; background: #b7b7ae; }
.work:nth-child(4) .work-art { aspect-ratio: 1; background: #c8c788; }
.work:nth-child(5) .work-art { aspect-ratio: 1.42; background: #b7b7ae; }
.work:nth-child(6) .work-art { aspect-ratio: 1.57; background: #adcabc; }
.work:nth-child(7) .work-art, .work:nth-child(8) .work-art { aspect-ratio: 1.33; }
.work-art img { width: 100%; height: 100%; object-fit: contain; min-width: 0; min-height: 0; }
.work:hover h3, .work:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; }
.work-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 11px; }
.work-caption h3 { font-size: clamp(17px, 1.6vw, 24px); letter-spacing: -.035em; font-weight: 600; line-height: 1.1; }
.work-caption p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.work-caption time { flex-shrink: 0; }
.research { margin-top: clamp(80px, 13vw, 210px); }
.research-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 6vw, 110px); align-items: center; padding: clamp(24px, 4vw, 70px); background: var(--surface); }
.research-copy h2, .info-title { font-size: clamp(58px, 8vw, 120px); line-height: .9; font-weight: 600; letter-spacing: -.085em; }
.research-copy h2 sup { font-size: .27em; vertical-align: top; letter-spacing: -.03em; }
.research-copy h2 span { display: block; margin-top: .36em; font-size: .45em; letter-spacing: -.05em; line-height: 1; }
.research-copy p { margin: 24px 0 18px; max-width: 33ch; font-size: clamp(18px, 2vw, 26px); line-height: 1.2; letter-spacing: -.035em; }
.text-link { display: inline-flex; align-items: center; min-height: 42px; text-underline-offset: 4px; font-size: 14px; }
.research .slot-bezel { width: min(100%, 610px); justify-self: center; }
.research .slot-window { height: clamp(200px, 28vw, 445px); min-height: 0; }
.slot-bezel button:focus-visible, .machine button:focus-visible { outline-color: white; }
.ticker { display: flex; height: 36px; margin-inline: var(--side); border-bottom: 1px solid var(--line); color: var(--muted); }
.ticker-viewport { display: flex; align-items: center; overflow: hidden; flex: 1; min-width: 0; }
.ticker-track { display: flex; flex: none; align-items: center; font: 13px/1.3 var(--mono); }
.ticker-track span { flex: none; white-space: nowrap; }
.ticker-track[data-running] { animation: ticker var(--ticker-duration) linear 1.5s infinite; }
.ticker-track[data-running] span { padding-right: 2.2em; }
.ticker-track[data-running] span::after { content: '·'; margin-left: 2.2em; color: var(--muted); }
.ticker button { background: transparent; border: 0; border-left: 1px solid var(--line); padding: 0 0 0 12px; min-width: 62px; font: inherit; font-size: 13px; cursor: pointer; }
.ticker button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ticker[data-paused] .ticker-track, .ticker-viewport:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.info { margin-top: clamp(85px, 13vw, 205px); }
.info-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); padding: clamp(26px, 5vw, 72px) 0; }
.info-grid p { max-width: 34ch; font-size: clamp(18px, 2.2vw, 29px); line-height: 1.18; letter-spacing: -.04em; }
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); border-top: 1px solid var(--line); padding-block: 21px clamp(75px, 9vw, 148px); }
.contact-links { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: baseline; }
.site-footer { padding: 0 var(--side); }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 18px; border-top: 1px solid var(--line); }
.footer-inner a { text-underline-offset: 3px; }

.page-intro { padding-top: clamp(48px, 7vw, 110px); padding-bottom: clamp(32px, 5vw, 70px); }
.page-intro h1 { margin: 14px 0 24px; max-width: 19ch; font-size: clamp(46px, 7vw, 110px); font-weight: 600; line-height: .92; letter-spacing: -.075em; overflow-wrap: anywhere; }
.page-intro p { max-width: 57ch; font-size: clamp(17px, 1.6vw, 23px); letter-spacing: -.025em; }
.project-detail { display: grid; grid-template-columns: 7fr 5fr; gap: 20px var(--gap); }
.project-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px var(--gap); align-content: start; }
.project-meta dd { margin-top: 3px; }
.project-detail .project-intro-copy { white-space: pre-line; }
.project-hero { background: var(--surface); display: grid; place-items: center; }
.project-hero img { width: 100%; height: auto; max-height: 75svh; object-fit: contain; }
.project-section { padding-top: clamp(48px, 8vw, 116px); }
.project-notes { display: grid; grid-template-columns: 7fr 5fr; gap: 20px var(--gap); padding: 17px 0 24px; border-top: 1px solid var(--line); }
.project-notes h2 { font-size: clamp(24px, 3vw, 46px); letter-spacing: -.05em; font-weight: 600; line-height: 1; }
.project-notes p { max-width: 64ch; margin-top: 14px; white-space: pre-line; }
.credits { display: grid; gap: 8px; align-content: start; }
.credits div { display: grid; grid-template-columns: minmax(100px, 1fr) 1.5fr; gap: 8px; }
.credits dd { color: var(--muted); }
.source-link { width: fit-content; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.gallery figure { min-width: 0; margin: 0; }
.gallery .wide { grid-column: 1 / -1; }
.gallery img, .gallery video { width: 100%; height: auto; object-fit: contain; background: var(--surface); }
.gallery video { max-height: 80svh; background: var(--ink); }
.gallery figcaption { margin-top: 8px; }
.project-nav { margin-block: clamp(55px, 9vw, 146px) clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-nav a { display: grid; gap: 8px; padding-top: 15px; text-decoration: none; }
.project-nav a:last-child { text-align: right; }
.project-nav strong { font-size: clamp(17px, 2vw, 26px); line-height: 1.05; letter-spacing: -.03em; }
.project-nav a:hover strong { text-decoration: underline; }
.index-list { margin: 0 0 70px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.index-list li { border-bottom: 1px solid var(--line); }
.index-list a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr) minmax(86px, 1fr); align-items: baseline; gap: 16px; padding: 15px 0; text-decoration: none; }
.index-list a:hover, .index-list a:focus-visible { background: var(--surface); }
.index-list strong { font-size: clamp(19px, 2.2vw, 31px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.index-list .index-year { text-align: right; }
.collection-links { margin-bottom: 65px; display: flex; flex-wrap: wrap; gap: 2px 20px; }
.collection-links a { min-height: 42px; display: inline-flex; align-items: center; }
.collection-entry { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: center; margin-block: 20px 42px; }
.collection-entry h2 { font-size: clamp(24px, 4vw, 54px); letter-spacing: -.055em; line-height: 1; }
.collection-entry p { max-width: 42ch; margin-top: 12px; }
.collection-entry img { width: 100%; }
.collection-gallery { margin-bottom: 58px; }

.cursor, .cursor-follower { display: none; position: fixed; pointer-events: none; z-index: 9998; }
.cursor { z-index: 9999; color: #fff; mix-blend-mode: difference; transform: translate(-50%, -50%); font: 12px/1 var(--body); }
.cursor-follower { width: 28px; height: 28px; border-radius: 50%; background: var(--cursor-accent, #eeeae2); mix-blend-mode: difference; transition: background .3s; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .cursor-visible, .cursor-visible a, .cursor-visible button { cursor: none; }
  .cursor-visible .cursor, .cursor-visible .cursor-follower { display: block; }
  .cursor-visible.cursor-hover .cursor { font-size: 14px; }
  .cursor-visible :is(video, input, textarea, select, iframe) { cursor: auto; }
}
#splash, .transition-layer { position: fixed; inset: 0; z-index: 99998; pointer-events: none; overflow: hidden; }
#splash:not(.playing) { display: none; }
.splash-line { position: absolute; top: 50%; left: 50%; height: 2px; background: #fff; transform: scaleX(0); }
.splash-line::after { content: ''; position: absolute; right: -9px; top: -4px; border-block: 5px solid transparent; border-left: 10px solid #fff; }
.splash-fill { position: absolute; inset: 0; background: #fff; transform: scale(0); }
.splash-circle { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.pt-arrow { position: fixed; z-index: 99999; font-size: 22px; pointer-events: none; transition: transform .38s cubic-bezier(.76,0,.24,1); }
#music-btn { position: fixed; z-index: 8; right: var(--side); bottom: 18px; height: 44px; display: inline-flex; align-items: center; gap: 9px; padding-inline: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 12px/1.3 var(--mono); white-space: nowrap; }
#music-btn .music-icon { display: grid; place-items: center; }
#music-btn[data-awaiting] { border-color: var(--muted); }
#music-btn.playing { background: var(--ink); border-color: var(--ink); color: var(--surface); }
#music-ring { position: fixed; z-index: 7; pointer-events: none; opacity: 0; transition: opacity .35s; }
#music-ring.visible { opacity: .9; }
#music-toast { position: fixed; right: var(--side); bottom: 68px; z-index: 8; padding: 9px; background: var(--ink); color: var(--surface); opacity: 0; pointer-events: none; }
#music-toast.visible { opacity: 1; }

@media (max-width: 900px) {
  .work-caption { gap: 8px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 102px; }
  .header-inner { display: block; padding-top: 12px; }
  .site-nav { justify-content: space-between; gap: 7px; margin: 2px -3px 0; }
  .site-nav a { padding: 9px 3px; font-size: 13px; }
  .home-hero { min-height: 0; padding-block: 42px 43px; }
  .home-hero h1 { font-size: clamp(71px, 20vw, 112px); }
  .hero-name { margin-top: 13px; }
  .hero-practice { max-width: none; margin-top: 4px; font-size: 14px; }
  .hero-practice span { display: inline; }
  .works-grid { grid-template-columns: 1fr; gap: 38px; }
  .works-grid .work { grid-column: 1; }
  .works-grid .work .work-art { height: auto; aspect-ratio: 1.23; }
  .works-grid .work:nth-child(2) .work-art { aspect-ratio: .94; }
  .work-caption { padding-top: 8px; }
  .research-grid, .info-grid, .project-detail, .contact, .project-notes, .collection-entry { grid-template-columns: 1fr; }
  .research-grid { padding: 20px; }
  .research .slot-window { height: clamp(165px, 50vw, 300px); }
  .research .slot-bezel { padding: 12px 12px 14px; }
  .research .slot-trigger { width: 62px; height: 62px; }
  .project-meta { gap: 12px; }
  .project-nav { gap: 18px; }
  .index-list a { grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; }
  .index-list strong { grid-column: 1; }
  .index-list .index-discipline { grid-column: 1; grid-row: 2; }
  .index-list .index-year { grid-row: 1 / 3; grid-column: 2; }
  .gallery { grid-template-columns: 1fr; }
  .footer-inner { padding-right: 97px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none !important; }
  .ticker-track span:not(:first-child), .ticker-track span::after { visibility: hidden; }
  .ticker button { display: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
