:root { --ink: #080807; --paper: #fffefa; --orange: #cf3102; --hot: #f07812; --line: #d8d4cd; --ease: cubic-bezier(.16,1,.3,1); }
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 200; padding: 12px; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.work-topbar { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr); align-items: center; padding: 22px 4%; color: var(--paper); background: var(--ink); border-bottom: 1px solid #ffffff18; }
.logo-dock { width: 56px; height: 44px; justify-self: center; }
.work-menu-toggle { justify-self: end; }
.work-brand { display: flex; align-items: center; min-height: 44px; width: max-content; justify-self: start; font-size: 25px; font-weight: 600; white-space: nowrap; }
.work-brand span { margin-left: 8px; font-size: 12px; vertical-align: top; }
.work-menu-toggle { border: 0; background: none; width: 48px; height: 44px; display: grid; align-content: center; gap: 8px; padding: 10px; }
.work-menu-toggle span { width: 28px; height: 2px; background: var(--paper); transition: transform 200ms; }
.work-menu-toggle:hover span:first-child { transform: translateX(-4px); }
.work-menu-toggle:hover span:last-child { transform: translateX(4px); }
.work-menu { inset: 0; margin: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; padding: 24px 4%; border: 0; background: var(--orange); color: var(--paper); }
.work-menu[open] { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.work-menu::backdrop { background: var(--ink); }
.work-menu header { display: flex; justify-content: space-between; align-items: center; font-size: 25px; font-weight: 600; }
.work-menu header button { background: none; color: inherit; border: 1px solid #ffffff70; width: 44px; height: 44px; font-size: 30px; }
.work-menu nav { display: flex; flex-direction: column; align-items: start; }
.work-menu nav a { font-size: 64px; line-height: 1.3; font-weight: 600; transition: transform 250ms; }
.work-menu nav a:hover { transform: translateX(18px); }
.menu-email { font-size: 13px; overflow-wrap: anywhere; }
.work-hero { position: relative; isolation: isolate; height: 100svh; min-height: 640px; overflow: clip; background: #78300d; color: var(--paper); }
.work-hero::before {
  content: ''; position: absolute; inset: -24%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 65% 82% at 18% 14%, #2b1a0d 0%, #4a230deb 20%, #8b370b80 45%, transparent 72%), radial-gradient(ellipse 120% 75% at 8% 95%, #ffc16b 0%, #ff9c3b 28%, #f0781299 48%, transparent 72%), linear-gradient(128deg, #9a3d13 0%, #d55917 30%, #ff6100 54%, #ea5c15 78%, #e55d1b 100%);
  animation: hero-flow 18s ease-in-out infinite alternate; animation-play-state: paused;
}
.work-hero::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url('../hero-grain.png') repeat; background-size: 192px 192px; mix-blend-mode: soft-light; opacity: .34; }
.work-hero[data-active="true"]::before { animation-play-state: running; }
@keyframes hero-flow { from { transform: translate(-6%, -3%) rotate(-8deg) scale(1); } to { transform: translate(6%, 4%) rotate(8deg) scale(1.08); } }
.logo-stage { position: fixed; top: 0; left: 0; width: 320px; height: 320px; z-index: 60; transform-origin: 0 0; pointer-events: none; }
.work-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; touch-action: none; }
.logo-stage[data-renderer="webgl"] .work-canvas { pointer-events: auto; cursor: grab; }
.work-canvas[data-dragging="true"] { cursor: grabbing !important; }
.work-canvas:focus-visible { outline-offset: -8px; }
.hero-fallback { position: absolute; inset: 0; width: 100%; z-index: 2; }
.hero-fallback img { object-fit: contain; }
.logo-stage[data-renderer="webgl"] .hero-fallback { display: none; }
.hero-bottom { position: absolute; z-index: 3; bottom: 54px; left: 4%; right: 4%; display: flex; align-items: end; justify-content: space-between; gap: 32px; color: var(--ink); }
.hero-bottom p { font-size: 20px; line-height: 1.5; }
.scroll-cue { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.scroll-cue span { font-size: 32px; animation: cue 1800ms ease-in-out infinite; }
.hero-edition { position: absolute; top: 110px; left: 4%; z-index: 3; font-size: 10px; color: var(--paper); }
@keyframes cue { 50% { transform: translateY(7px); } }
.project-scene { height: 145svh; position: relative; isolation: isolate; }
.project-sticky { position: sticky; top: 0; height: 100svh; min-height: 620px; padding: 106px 4% 32px; display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 24px; overflow: clip; }
.scene-paper { background: var(--paper); color: var(--ink); }
.scene-ink { background: var(--ink); color: var(--paper); }
.scene-orange { background: var(--orange); color: var(--paper); }
.scene-heading { display: grid; grid-template-columns: 50px minmax(0,1fr) 240px; align-items: end; gap: 30px; }
.scene-index { font-size: 11px; padding-bottom: 10px; white-space: nowrap; }
.scene-heading h2 { font-family: var(--font-display); font-size: 72px; font-weight: 600; line-height: 1.12; }
.scene-heading h2 { clip-path: inset(0 0 calc((1 - var(--scene-progress,1))*100%) 0); transform: translateY(calc((1 - var(--scene-progress,1))*16px)); }
.scene-services { font-size: 11px; line-height: 1.8; text-align: right; padding-bottom: 10px; }
.scene-artwork { position: relative; display: block; width: min(1100px,88%); height: 100%; min-height: 0; justify-self: center; transform: translateY(calc((1 - var(--scene-progress,1))*55px - var(--scene-exit,0)*14px)) rotate(calc((1 - var(--scene-progress,1))*-3deg)) scale(calc(.9 + var(--scene-progress,1)*.1 - var(--scene-exit,0)*.04)); transform-origin: center; }
.scene-artwork img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(18px 24px 22px #00000024); transition: filter 250ms; }
.scene-artwork:hover img { filter: drop-shadow(18px 28px 28px #00000040); }
.scene-caption { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 36px; padding-top: 20px; border-top: 1px solid currentColor; }
.scene-caption::before { content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 3px; background: currentColor; transform: scaleX(var(--scene-hold,0)); transform-origin: left; }
.scene-caption p { font-size: 13px; line-height: 1.7; }
.work-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 44px; font-size: 12px; white-space: nowrap; }
.work-link span { font-size: 25px; transition: transform 250ms; }
.work-link:hover span { transform: translate(4px,-4px); }
.work-archive { padding: 100px 4% 120px; background: var(--paper); color: var(--ink); }
.archive-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: end; }
.eyebrow { font-size: 11px; text-transform: uppercase; }
.archive-heading .eyebrow { grid-column: 1 / -1; }
.archive-heading h2 { font-size: 80px; line-height: 1.15; }
.archive-count { font-size: 12px; padding-bottom: 16px; }
.work-filters { display: flex; flex-wrap: wrap; gap: 32px; margin: 32px 0 56px; }
.work-filters button { padding: 12px 0; min-height: 44px; background: none; border: 0; border-bottom: 2px solid transparent; color: #655f5b; font-size: 12px; }
.work-filters button[aria-pressed="true"] { color: var(--orange); border-color: var(--orange); }
.archive-wall { columns: 3; column-gap: 40px; }
.archive-work { break-inside: avoid; margin-bottom: 40px; }
.archive-work figure { position: relative; }
.archive-work img { width: 100%; height: auto; transition: transform 400ms var(--ease); }
.archive-work figure:hover img { transform: translateY(-6px); }
.archive-work figcaption { display: flex; align-items: baseline; gap: 16px; padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 20px; }
.archive-work h3 { font-size: 11px; font-weight: 500; line-height: 1.65; }
.archive-work figcaption > span { font-size: 10px; color: #655f5b; }
.archive-work .gallery-open { bottom: auto; top: 12px; font-family: inherit; font-size: 10px; opacity: 0; transition: opacity 200ms; }
.archive-work:hover .gallery-open, .archive-work:focus-within .gallery-open { opacity: 1; }
.work-contact { padding: 100px 4%; background: var(--hot); color: var(--ink); display: grid; gap: 32px; }
.work-contact h2 { font-size: 90px; line-height: 1.15; font-weight: 600; }
.work-contact h2 span { font-family: var(--font-display); font-weight: 600; }
.work-contact .work-link { width: fit-content; font-size: 16px; }
.work-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 32px 4%; font-size: 10px; line-height: 1.8; }
.work-footer a { overflow-wrap: anywhere; }
@media (max-width: 1200px) { .scene-heading h2 { font-size: 68px; } .scene-heading { grid-template-columns: 50px minmax(0,1fr) 170px; gap: 20px; } }
@media (max-width: 900px) { .archive-wall { columns: 2; column-gap: 28px; } .scene-heading { grid-template-columns: 1fr auto; gap: 14px; } .scene-index { grid-column: 1 / -1; } .scene-heading h2 { font-size: 58px; } .scene-services { width: 140px; } }
@media (max-width: 600px) {
  html { scroll-padding-top: 72px; }
  .work-topbar { padding: 12px 20px; }
  .work-brand { font-size: 18px; }
  .work-menu { padding: 20px; }
  .work-menu nav a { font-size: 40px; line-height: 1.5; }
  .work-menu header { font-size: 21px; }
  .work-hero { min-height: 620px; height: 96svh; }
  .hero-edition { top: 100px; left: 20px; }
  .hero-bottom { bottom: 46px; left: 20px; right: 20px; gap: 20px; }
  .hero-bottom p { font-size: 14px; }
  .scroll-cue { font-size: 10px; gap: 10px; }
  .scroll-cue span { font-size: 25px; }
  .project-scene { height: 120svh; }
  .project-sticky { padding: 95px 20px 24px; gap: 20px; }
  .scene-heading { grid-template-columns: 1fr; gap: 8px; }
  .scene-heading h2 { font-size: 45px; overflow-wrap: anywhere; }
  .scene-index { padding: 0; }
  .scene-services { text-align: left; width: 100%; padding: 0; font-size: 10px; }
  .scene-artwork { width: 100%; }
  .scene-caption { flex-direction: column; align-items: start; gap: 10px; padding-top: 14px; }
  .scene-caption p { font-size: 11px; }
  .work-archive { padding: 70px 20px; }
  .archive-heading h2 { font-size: 48px; }
  .archive-count { padding-bottom: 8px; }
  .work-filters { gap: 24px; margin: 20px 0 36px; }
  .archive-wall { column-gap: 20px; }
  .archive-work { margin-bottom: 26px; }
  .archive-work .gallery-open { opacity: 1; font-size: 9px; padding: 8px; top: 6px; right: 6px; }
  .archive-work figcaption { gap: 8px; margin-top: 12px; padding-top: 12px; }
  .archive-work h3 { font-size: 10px; }
  .work-contact { padding: 70px 20px; }
  .work-contact h2 { font-size: 52px; }
  .work-footer { padding: 28px 20px; flex-direction: column; gap: 12px; }
}
@media (max-width: 370px) { .work-topbar { padding-inline: 16px; } .work-brand { font-size: 15px; } .scene-heading h2 { font-size: 36px; } .archive-heading h2 { font-size: 40px; } .work-contact h2 { font-size: 44px; } }
@media (max-height: 650px) { .project-scene { height: auto; } .project-sticky { position: relative; min-height: 680px; height: auto; grid-template-rows: auto 360px auto; } .work-menu nav a { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .scene-artwork, .scene-heading h2 { transform: none; clip-path: none; } .scene-caption::before { display: none; } }
