@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #858585;
  --paper: #fff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 1px solid #e3451e; outline-offset: 7px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: -60px; left: 20px; z-index: 100; padding: 12px; background: #fff; font-size: 13px; }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: flex-start; padding: 25px 32px; pointer-events: none; }
.site-header a, .site-header button { pointer-events: auto; }
.wordmark { display: inline-flex; align-items: flex-start; line-height: .8; font-size: 45px; font-weight: 700; letter-spacing: -3.8px; }
.studio-description { margin: 0 0 0 28px; font-size: 10px; line-height: 1.35; letter-spacing: -.1px; }
.index-toggle { margin-left: auto; display: flex; align-items: center; gap: 18px; padding: 0; border: 0; background: transparent; font-size: 12px; }
.index-icon { font-size: 21px; line-height: .9; transition: transform .3s; }
.index-toggle[aria-expanded="true"] .index-icon { transform: rotate(45deg); }

.tunnel { position: relative; height: 800vh; height: 800svh; }
.scene { position: sticky; top: 0; width: 100%; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.scene-figures, .scene-labels { position: absolute; inset: 0; pointer-events: none; }
.scene-labels { z-index: 20; }
.figure { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.figure-crop { position: relative; width: 100%; height: 100%; overflow: hidden; }
.figure img { display: block; position: absolute; max-width: none; user-select: none; -webkit-user-drag: none; }
.project-label { position: absolute; top: 0; left: 0; width: 164px; padding: 9px 0 9px 12px; border-left: 1px solid #d8d8d8; line-height: 1.2; pointer-events: auto; will-change: transform; transition: opacity .25s, border-color .2s; }
.project-label .project-number { display: block; font: 9px var(--mono); margin-bottom: 8px; color: #787878; }
.project-label.is-active { background: #fff; }
.project-label .project-title { display: block; font-size: 22px; font-weight: 700; letter-spacing: -1px; }
.project-label .project-action { display: inline-flex; align-items: center; gap: 22px; margin-top: 15px; font-size: 10px; }
.project-label .project-action span { display: inline-block; transition: transform .2s; }
.project-label:hover { border-color: var(--ink); }
.project-label:hover .project-action span { transform: translate(3px, -3px); }
.project-label:not(.is-active) { width: 90px; padding-left: 7px; }
.project-label:not(.is-active) .project-number { margin-bottom: 5px; font-size: 8px; }
.project-label:not(.is-active) .project-title { font-size: 12px; letter-spacing: -.3px; }
.project-label:not(.is-active) .project-action { display: none; }
.scene-footer { position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 23px 32px; pointer-events: none; }
.scene-footer > * { pointer-events: auto; }
.scroll-prompt { display: inline-flex; align-items: center; gap: 25px; padding: 8px 0; background: transparent; border: 0; font-size: 11px; }
.work-navigation { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; }
.work-navigation button { background: transparent; border: 0; padding: 12px 6px; }
.work-navigation button::after { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; background: #c8c8c8; transition: background .2s, transform .2s; }
.work-navigation button[aria-current="step"]::after { background: var(--ink); transform: scale(1.5); }
.scene-counter { font: 10px var(--mono); }
.counter-divider { color: #999; margin: 0 14px; }
.image-error { position: absolute; z-index: 40; top: 25%; left: 50%; transform: translateX(-50%); width: min(330px, 80vw); padding: 20px; background: #fff; font-size: 14px; line-height: 1.5; }
.image-error button { border: 0; border-bottom: 1px solid; padding: 0; background: transparent; }

.project-index { position: fixed; inset: 0; z-index: 25; padding: 120px max(32px, calc((100vw - 650px) / 2)) 35px; background: rgba(255,255,255,.98); overflow: auto; }
.index-heading { display: flex; justify-content: space-between; padding-bottom: 21px; font: 9px var(--mono); color: #888; }
.project-index ol { margin: 0; padding: 0; list-style: none; }
.project-index li { border-top: 1px solid #ddd; }
.project-index li:last-child { border-bottom: 1px solid #ddd; }
.project-index li button { display: flex; width: 100%; align-items: center; border: 0; background: transparent; text-align: left; padding: 17px 0; }
.index-num { flex: 0 0 45px; font: 10px var(--mono); color: #888; }
.index-title { font-size: 31px; font-weight: 500; letter-spacing: -1px; }
.index-note { margin-top: 32px; font-size: 11px; color: #888; }

.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; overflow: hidden; color: #fff9ec; background: #aa390d; transition: clip-path .8s cubic-bezier(.75,0,.2,1), visibility .8s; clip-path: inset(0 0 0 0); }
.loader.is-ready { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader-grain { position: absolute; inset: -15%; background: repeating-linear-gradient(90deg, #4a1607 0px, #ba4519 1px, #d37743 2px, #e7b18b 3px, #9c2c0b 4px, #b44719 7px, #efd2ae 8px, #e2aa7a 9px, #a33915 10px, #d7834d 12px); background-size: 119px 100%; filter: blur(.4px); opacity: .9; animation: curtain 1.5s steps(6) infinite; }
.loader-grain::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 2px, #ffffff22 2px 3px, #00000019 3px 4px); mix-blend-mode: soft-light; }
.loader-center { position: relative; width: 194px; text-align: center; }
.loader-word { font-size: 44px; font-weight: 700; letter-spacing: -3px; line-height: 1; }
.loader-track { margin-top: 13px; width: 100%; height: 11px; padding: 1px; border: 1px solid currentColor; border-radius: 20px; }
.loader-track i { display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transform: translateX(0); transition: transform .3s; }
.loader-caption { display: flex; justify-content: space-between; margin-top: 10px; font: 8px var(--mono); letter-spacing: .5px; }
.loader-corner { position: absolute; bottom: 26px; left: 32px; font: 8px var(--mono); letter-spacing: .3px; }
.no-script { position: fixed; inset: 0; z-index: 100; background: #fff; display: grid; place-items: center; }
@keyframes curtain { 0% { transform: translateX(-5px) scaleY(1.05); } 50% { transform: translateX(7px) scaleY(1.1); } 100% { transform: translateX(-5px) scaleY(1.05); } }

.case-page { min-height: 100svh; }
.case-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; align-items: center; gap: 9vw; padding: 130px 10vw 80px; }
.case-copy .eyebrow { margin: 0 0 25px; font: 9px var(--mono); color: #777; }
.case-copy h1 { font-size: clamp(48px, 7vw, 100px); line-height: .95; font-weight: 500; letter-spacing: -.065em; margin: 0 0 30px; }
.case-copy p { font-size: 14px; line-height: 1.6; max-width: 240px; }
.case-back { display: inline-flex; gap: 32px; margin-top: 40px; font-size: 12px; border-bottom: 1px solid #aaa; padding-bottom: 10px; }
.case-figure { height: 70svh; display: flex; align-items: center; justify-content: center; }
.case-figure img { max-width: 100%; max-height: 100%; object-fit: contain; }
.case-ordinal { position: fixed; bottom: 28px; right: 32px; font: 10px var(--mono); color: #777; }

@media (min-width: 1800px) { .site-header { padding: 32px 44px; } .scene-footer { padding: 27px 44px; } }
@media (max-width: 700px) {
  .site-header { padding: 23px 20px; }
  .wordmark { font-size: 37px; letter-spacing: -3.2px; }
  .studio-description { margin-left: 19px; font-size: 8px; }
  .index-toggle { gap: 11px; font-size: 10px; }
  .index-icon { font-size: 19px; }
  .scene-footer { padding: 15px 20px; background: linear-gradient(0deg, #fff 15%, #ffffffdc 65%, #ffffff00); }
  .scroll-prompt { font-size: 9px; gap: 12px; }
  .scene-counter { font-size: 9px; }
  .counter-divider { margin: 0 8px; }
  .work-navigation { gap: 0; }
  .work-navigation button { padding: 12px 5px; }
  .project-label { width: 140px; padding: 4px 0 4px 10px; }
  .project-label.is-active { background: #fff; }
  .project-label .project-title { font-size: 20px; line-height: 1.1; }
  .project-label .project-number { font-size: 7px; margin-bottom: 4px; }
  .project-label .project-action { margin-top: 5px; font-size: 9px; }
  .project-label:not(.is-active) { display: none; }
  .project-index { padding: 110px 24px 30px; }
  .index-title { font-size: 29px; }
  .loader-corner { left: 20px; bottom: 25px; }
  .case-layout { grid-template-columns: 1fr; gap: 20px; padding: 130px 24px 70px; }
  .case-copy h1 { font-size: 62px; }
  .case-copy p { max-width: none; }
  .case-back { margin-top: 20px; }
  .case-figure { height: 55svh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
