:root {
  color-scheme: light;
  --paper: #f3f0e7;
  --ink: #17241e;
  --pine: #142a22;
  --cream: #f7efcf;
  --line: #c9c9bd;
  --gutter: clamp(20px, 4.25vw, 84px);
  --header: 70px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e4774b; outline-offset: 5px; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 12px 16px; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead { height: var(--header); position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); color: var(--cream); background: #12231d; border-bottom: 1px solid #e4e5cf29; }
.brand, .footer-brand { display: inline-flex; align-items: center; font-size: 22px; line-height: 1; font-weight: 800; letter-spacing: -.065em; }
.brand { gap: 12px; }
.brand-mark { position: relative; display: inline-block; width: 37px; height: 28px; color: var(--cream); }
.brand-mark i { position: absolute; top: 0; left: 4px; border: 1.8px solid currentColor; width: 17px; height: 28px; border-radius: 50%; transform: rotate(32deg); }
.brand-mark i + i { left: 15px; }
.masthead nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 52px); font-size: 15px; font-weight: 500; }
.studio-link:hover, footer a:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.index-link { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 17px; border: 1px solid #e4e2c76b; border-radius: 30px; }
.index-link:hover { background: var(--cream); color: var(--pine); }
.grid-icon { width: 11px; height: 11px; display: block; background: linear-gradient(currentColor 0 0) top left/4px 4px, linear-gradient(currentColor 0 0) top right/4px 4px, linear-gradient(currentColor 0 0) bottom left/4px 4px, linear-gradient(currentColor 0 0) bottom right/4px 4px; background-repeat: no-repeat; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .115em; text-transform: uppercase; line-height: 1.35; }
.hero, .projects, .studio, .collection { scroll-margin-top: var(--header); }
.hero { position: relative; background: #101a15; color: var(--cream); }
.hero-frame { min-height: 560px; height: calc(100svh - var(--header)); max-height: 1100px; isolation: isolate; overflow: hidden; position: relative; }
.hero-image, .hero-shade, .cover-wipe, .eye-layer, .deck-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 62% 48%; z-index: -3; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, #07191099 0%,#07191024 47%,transparent 72%), linear-gradient(0deg,#06110ccd, transparent 38%); }
.hero-copy { position: absolute; top: 47%; left: var(--gutter); transform: translateY(-44%); max-width: 72%; }
.hero-copy .light { display: flex; align-items: center; gap: 12px; }
.light-rule { display: inline-block; width: 32px; height: 1px; background: currentColor; }
.hero h1 { margin: 25px 0 40px -.045em; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(90px, 10vw, 190px); font-weight: 400; letter-spacing: -.069em; line-height: .78; }
.hero h1 em { display: block; margin-left: .02em; padding: .04em .08em .09em 0; font-weight: 400; }
.hero-enter, .pill { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; gap: 12px; padding: 12px 20px; border-radius: 100px; line-height: 1.15; font-size: 15px; font-weight: 600; }
.hero-enter { color: var(--ink); background: var(--cream); }
.hero-enter:hover, .pill.accent:hover { background: #fffbed; }
.scroll-icon { display: inline-block; width: 12px; height: 17px; border: 1.3px solid; border-radius: 7px; position: relative; }
.scroll-icon::after { content: ''; position: absolute; background: currentColor; width: 1.4px; height: 5px; top: 3px; left: 4px; border-radius: 1px; }
.hero-counter { display: flex; align-items: center; gap: 10px; position: absolute; bottom: 32px; right: var(--gutter); letter-spacing: .13em; font: 12px/1.3 ui-monospace, Consolas, monospace; }
.hero-counter span { width: 48px; height: 1px; background: currentColor; opacity: .65; }
.cover-wipe { z-index: 3; pointer-events: none; background: linear-gradient(111deg, #640f22f5 48%, #a8434bfc 74%, #d2354b 79%, #e78c8b 80%, #6e1c2c 81%); box-shadow: -5px 0 40px #040a076e; transform: translateX(var(--wipe, 130%)) skewX(-12deg) scale(1.35); }
.collection { height: 175svh; min-height: 850px; background: #14251c; position: relative; }
.collection-screen { --scene: #c74c5e; height: calc(100svh - var(--header)); min-height: 420px; position: sticky; top: var(--header); overflow: hidden; isolation: isolate; color: var(--cream); }
.eye-layer { z-index: -4; background: #1d2c21 url('assets/eye.webp') center/cover no-repeat; transition: transform 1.3s ease, filter .7s ease; transform: scale(1.07) translateX(-1%); }
.collection-screen.looking .eye-layer { transform: scale(1.015); }
.eye-layer::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 45% 50%,#ce233339 0%,transparent 43%); mix-blend-mode: screen; transition: opacity .65s,transform .8s; }
.collection-screen.second .eye-layer::after { transform: translateX(7%); background: radial-gradient(ellipse at 40% 48%,#f5904b38 0%, transparent 46%); }
.eye-layer::before { content: ''; position: absolute; inset: -6%; pointer-events: none; background: linear-gradient(76deg,transparent 31%,#201410aa 32%,#471921d9 37%,transparent 40%); transform: translateX(5%); transition: transform .9s cubic-bezier(.2,.6,.25,1),opacity .9s; }
.collection-screen.looking .eye-layer::before { transform: translateX(-6%); opacity: .45; }
.deck-shade { z-index: -3; background: linear-gradient(180deg,#09120ec9,transparent 27%,transparent 57%,#07110afa),linear-gradient(90deg,#07130ba6,transparent 62%); }
.collection-head { position: absolute; top: 30px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #efebd64d; }
.collection-head h2 { font-size: 17px; font-weight: 500; }
.deck-count, .case-index, .count-tag, .card-numeral { font: 13px/1.3 ui-monospace, Consolas, monospace; letter-spacing: .07em; }
.sleeve-link { display: block; position: absolute; width: min(51vh, 38vw); aspect-ratio: 1; left: 64%; top: 48%; transform: translate(-50%,-50%); perspective: 1000px; }
.sleeve { position: absolute; inset: 0; display: block; border: 1px solid #fbc0b1bd; box-shadow: inset 2px 2px 3px #fff9eaaa, inset -2px -2px 4px #000a, 12px 20px 44px #080c08a3; border-radius: 3px; background: linear-gradient(131deg,#d5d3ab49,#702f3b77 43%,#ebd5c04f); transform: rotate(-7deg) rotateY(-13deg); transition: transform .8s cubic-bezier(.16,1,.3,1); overflow: hidden; }
.sleeve-link:hover .sleeve { transform: rotate(-4deg) rotateY(-8deg) scale(1.025); }
.sleeve.flip { animation: flip .65s cubic-bezier(.25,.7,.3,1); }
@keyframes flip { 0% { transform: rotate(-7deg) rotateY(65deg) translateX(16%); } 100% { transform: rotate(-7deg) rotateY(-13deg); } }
.record-art { position: absolute; inset: 3.5%; display: block; opacity: 0; transition: opacity .28s; }
.record-art.ruby, .collection-screen.second .record-art.spectrum { opacity: 1; }
.collection-screen.second .record-art.ruby { opacity: 0; }
.ruby { background: #501417 url('assets/ruby.webp') center/cover no-repeat; }
.plastic-light { position: absolute; inset: 0; background: linear-gradient(115deg,transparent 15%,#fff9d12a 22%,transparent 29%, transparent 70%,#ffebcd38 84%, transparent 90%); pointer-events: none; }
.sleeve-imprint { position: absolute; bottom: 4%; left: 5%; font-size: clamp(9px,1vw,14px); font-weight: 750; letter-spacing: -.055em; color: white; text-shadow: 0 1px 6px #000; }
.deck-caption { position: absolute; bottom: 40px; left: var(--gutter); }
.deck-text h3 { font: 400 clamp(62px,7.4vw,130px)/.98 Georgia,serif; letter-spacing: -.065em; margin: 9px 0 24px; }
.pill.accent { background: var(--cream); color: var(--ink); }
.deck-pager { position: absolute; right: var(--gutter); bottom: 40px; display: flex; gap: 6px; }
.deck-pager button { width: 45px; height: 45px; font: 14px ui-monospace,Consolas,monospace; border: 1px solid #f2eadb7d; border-radius: 50%; background: #17231c88; }
.deck-pager button[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.content-section { padding-left: var(--gutter); padding-right: var(--gutter); }
.projects { padding-top: clamp(58px,8vw,136px); padding-bottom: clamp(68px,8vw,136px); }
.section-title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: clamp(25px,4vw,60px); }
.section-title h2, .case-notes h2, .case-next a { font: 400 clamp(52px,6.3vw,110px)/.98 Georgia,serif; letter-spacing: -.065em; }
.count-tag { background: #dce1c9; padding: 4px 7px; border-radius: 4px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px,2.4vw,44px); }
.card-art { aspect-ratio: 1.65; position: relative; overflow: hidden; }
.card-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg,transparent 38%,#ffe1bf30,transparent 62%); transform: translateX(-110%); transition: transform .7s; }
.work-card:hover .card-art::after { transform: translateX(110%); }
.card-numeral { position: absolute; top: 14px; left: 14px; padding: 5px 8px; border-radius: 20px; color: #faf5df; background: #17221aba; }
.card-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.card-label h3 { font-size: clamp(24px,2.3vw,38px); letter-spacing: -.06em; }
.card-label span, footer { font-size: 14px; }
.studio { background: #dbe0d0; padding-top: 56px; padding-bottom: 66px; }
.studio h2 { font-weight: 750; font-size: clamp(46px,7vw,100px); letter-spacing: -.09em; line-height: .95; margin: 28px 0 18px; }
.studio p:last-child { font-size: clamp(18px,1.7vw,28px); line-height: 1.4; max-width: 720px; }
footer { display: flex; align-items: center; gap: 30px; padding: 28px var(--gutter); color: var(--cream); background: var(--pine); }
footer a:last-child { margin-left: auto; }
.footer-brand { font-size: 19px; }
.case-header { padding-top: 38px; padding-bottom: 28px; }
.case-reveal::after { content: ''; position: fixed; z-index: 12; inset: var(--header) 0 0; transform-origin: 65% 64%; pointer-events: none; background: linear-gradient(112deg,#472720,#b13a4380 43%,#ffe6bdbd 55%,#963c48d9 65%,#3c2822); animation: sleeve-lift .65s cubic-bezier(.2,.72,.25,1) both; }
@keyframes sleeve-lift { 0% { opacity: .95; transform: scale(1.4) rotate(0deg); } 100% { opacity: 0; transform: translateY(-115%) rotate(-10deg); } }
.back-link { font-size: 15px; }
.case-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin: 35px 0 8px; }
.case-heading h1 { font: italic 400 clamp(74px,10vw,172px)/.94 Georgia,serif; letter-spacing: -.075em; }
.case-index { white-space: nowrap; padding-bottom: 10px; }
.case-category { font-size: clamp(16px,1.4vw,23px); }
.case-stage { aspect-ratio: 2.15; min-height: 310px; max-height: 85svh; position: relative; overflow: hidden; isolation: isolate; }
.case-stage::before { content: ''; position: absolute; inset: -2%; z-index: -2; background: inherit; animation: camera-drift 9s ease-in-out alternate infinite; animation-play-state: paused; }
.case-sheen { position: absolute; z-index: -1; inset: -30%; pointer-events: none; background: linear-gradient(115deg,transparent 40%,#f8d3af0d 44%,#ffedb658 50%,#fff9f242 53%,transparent 63%); mix-blend-mode: screen; transform: translateX(-80%); animation: light-pass 6s ease-in-out infinite; animation-play-state: paused; }
.case-stage.running::before,.case-stage.running .case-sheen { animation-play-state: running; }
.case-stage.film { aspect-ratio: 16 / 9; min-height: 0; background: #0b100d; }
.case-stage.film::before, .case-stage.film .case-sheen { display: none; }
#case-film { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes camera-drift { to { transform: scale(1.06) translateX(-1%); } }
@keyframes light-pass { 0%,12% { transform: translateX(-80%); } 82%,100% { transform: translateX(80%); } }
.play { position: absolute; bottom: 22px; left: var(--gutter); background: #102019e0; color: var(--cream); border: 1px solid #f2eac879; }
.play::before { content: ''; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.play[aria-pressed="true"]::before { width: 4px; height: 10px; border: 0; border-left: 2px solid; border-right: 2px solid; }
.case-notes { display: grid; grid-template-columns: 1fr 2fr; gap: 25px; padding-top: 70px; padding-bottom: 70px; }
.case-notes h2 { font-size: clamp(34px,4.8vw,70px); }
.case-notes div p { margin-top: 20px; font-size: 19px; line-height: 1.5; max-width: 670px; }
.case-next { background: #dbe0d0; padding-top: 40px; padding-bottom: 45px; display: grid; justify-items: start; gap: 20px; }
.case-next a:hover { color: #7d2434; }
.no-js { padding: 12px var(--gutter); }
@media(max-width:760px) {
  :root { --header: 58px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { transform: scale(.84); transform-origin: left center; width: 31px; }
  .masthead nav { gap: 16px; font-size: 14px; }
  .index-link { padding: 0 12px; min-height: 35px; gap: 8px; }
  .hero-frame { min-height: 520px; max-height: 920px; }
  .hero-image { object-position: 52% center; }
  .hero-shade { background: linear-gradient(0deg,#091910f0 0%,#09191096 22%,transparent 63%); }
  .hero-copy { top: auto; bottom: 48px; left: var(--gutter); transform: none; max-width: 92%; }
  .hero h1 { font-size: clamp(83px,15.5vw,116px); margin: 22px 0 24px; }
  .hero h1 em { display: inline; }
  .hero-counter { display: none; }
  .hero-enter,.pill { min-height: 44px; }
  .collection { min-height: 840px; height: 150svh; }
  .collection-head { top: 20px; }
  .sleeve-link { width: min(57vw,35svh); left: 66%; top: 42%; }
  .deck-caption, .deck-pager { bottom: 27px; }
  .card-label { display: block; }
  .card-label span { display: block; margin-top: 5px; }
  .case-stage { aspect-ratio: 1.3; }
  .case-notes { grid-template-columns: 1fr; }
}
@media(max-width:520px) {
  .studio-link { display: none; }
  .hero h1 { font-size: clamp(78px,15vw,90px); }
  .hero h1 em { display: block; }
  .hero-copy { bottom: 34px; }
  .work-grid { grid-template-columns: 1fr; gap: 26px; }
  .card-label { display: flex; }
  .card-label span { text-align: right; }
  .deck-pager { gap: 4px; }
  .deck-pager button { width: 41px; height: 41px; }
  footer { gap: 14px; }
  footer span { display: none; }
}
@media(max-height:550px) and (orientation:landscape) {
  .hero-frame { min-height: 385px; }
  .hero h1 { font-size: 72px; margin: 12px 0 20px; }
  .hero h1 em { display: inline; }
  .collection-screen { min-height: 280px; }
  .deck-caption { bottom: 18px; }
  .deck-text h3 { font-size: 42px; margin: 6px 0 10px; }
}
@media(prefers-reduced-motion:reduce) {
  .cover-wipe { display: none; }
  .eye-layer, .sleeve, .record-art, .card-art::after { transition: none; }
  .eye-layer::after,.eye-layer::before { transition: none; }
  .case-reveal::after { display: none; }
  .sleeve.flip { animation: none; }
}
