:root {
  --ink: #11110f;
  --paper: #f3f0e8;
  --acid: #ff6336;
  --lime: #c7ff4f;
  --muted: #9d9b94;
  --line: rgba(243, 240, 232, .17);
  --pad: clamp(1.25rem, 3vw, 3.5rem);
  --ease: cubic-bezier(.2,.75,.18,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: Arial, Helvetica, sans-serif; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .045; background: url('/assets/grain.svg'); z-index: 99; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--acid); color: var(--ink); }
.skip { position: fixed; top: -4rem; left: 1rem; z-index: 200; background: var(--paper); color: var(--ink); padding: .8rem 1rem; }
.skip:focus { top: 1rem; }
.progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 0; background: var(--acid); z-index: 120; }
.nav { position: fixed; z-index: 110; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem var(--pad); mix-blend-mode: difference; }
.brand { display: flex; align-items: center; gap: .7rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.brand img { width: 2rem; filter: invert(1); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.nav-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.sound-toggle { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .35rem .75rem; color: inherit; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .25s ease; user-select: none; }
.sound-toggle:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); }
.sound-toggle.active { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 16px rgba(199, 255, 79, .22); }
.sound-bars { display: flex; align-items: flex-end; gap: 2px; height: .75rem; width: .75rem; }
.sound-bars i { flex: 1; background: currentColor; border-radius: 1px; height: 25%; transition: height .2s ease; font-style: normal; }
.sound-toggle.active .sound-bars i:nth-child(1) { animation: soundWave .6s infinite alternate ease-in-out; }
.sound-toggle.active .sound-bars i:nth-child(2) { animation: soundWave .8s infinite alternate ease-in-out .15s; }
.sound-toggle.active .sound-bars i:nth-child(3) { animation: soundWave .7s infinite alternate ease-in-out .3s; }
.sound-toggle.active .sound-bars i:nth-child(4) { animation: soundWave .9s infinite alternate ease-in-out .45s; }
@keyframes soundWave { 0% { height: 25%; } 100% { height: 100%; } }
.cursor { position: fixed; width: 1.2rem; height: 1.2rem; border: 1px solid var(--paper); border-radius: 50%; pointer-events: none; z-index: 200; transform: translate(-50%, -50%); transition: width .25s, height .25s, background .25s; mix-blend-mode: difference; }
.cursor.active { width: 3.8rem; height: 3.8rem; background: #fff; }
.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.display { margin: 0; font-size: clamp(3.7rem, 10.3vw, 10.8rem); line-height: .82; letter-spacing: -.075em; font-weight: 650; }
.serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; }
.hero { position: relative; min-height: 100svh; padding: 8rem var(--pad) 2rem; display: grid; align-items: end; isolation: isolate; overflow: clip; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 115%; object-fit: cover; filter: saturate(.82) brightness(.62); transform: scale(1.04); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,15,.2), rgba(17,17,15,.18) 45%, rgba(17,17,15,.92)); }
.hero-copy { display: grid; gap: 2rem; }
.hero-topline { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.hero-intro { max-width: 25rem; line-height: 1.45; font-size: clamp(.95rem, 1.5vw, 1.2rem); }
.hero-meta { font-size: .7rem; text-transform: uppercase; letter-spacing: .13em; text-align: right; }
.title-line { display: block; overflow: hidden; }
.title-line > span { display: block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.title-line:nth-child(2) > span { animation-delay: .13s; }
@keyframes rise { to { transform: translateY(0); } }
.scroll-cue { display: flex; justify-content: space-between; align-items: center; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue i { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; animation: bob 1.8s infinite; }
@keyframes bob { 50% { transform: translateY(.35rem); } }
.statement { min-height: 100svh; display: grid; align-items: center; padding: 8rem var(--pad); }
.statement p { max-width: 14ch; margin: 0; font-size: clamp(2.7rem, 6vw, 7rem); line-height: .98; letter-spacing: -.045em; }
.statement .muted { color: #5b5a55; }
.work { position: relative; height: 220vh; background: var(--paper); color: var(--ink); }
.work-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-content: center; }
.section-head { position: absolute; z-index: 4; top: 5rem; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: start; }
.counter { font-family: Georgia, serif; font-size: 1.2rem; }
.work-track { display: flex; width: max-content; gap: clamp(1.5rem, 4vw, 4rem); padding: 4rem var(--pad) 0; will-change: transform; }
.project { position: relative; width: min(74vw, 960px); height: min(64vh, 700px); flex: none; overflow: hidden; background: #1a1916; color: var(--paper); border-radius: 1.4rem; box-shadow: 0 35px 100px rgba(0,0,0,.35); will-change: transform, filter, opacity; transform-origin: center center; transition: box-shadow .4s ease; }
.project img, .project video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; transition: transform 1.2s var(--ease); }
.project:hover img, .project:hover video { transform: scale(1.12); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 30%, rgba(0,0,0,.85) 90%); }
.project-copy { position: absolute; z-index: 2; inset: auto 0 0; padding: clamp(1.4rem, 3vw, 2.8rem); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; }
.project h3 { margin: 0; font-size: clamp(2rem, 4vw, 4.5rem); line-height: .9; letter-spacing: -.05em; }
.project p { max-width: 26rem; margin: .8rem 0 0; color: #dad7cf; line-height: 1.5; }
.project-no { align-self: start; font-family: Georgia, serif; font-style: italic; }
.project-tag { position: absolute; z-index: 3; top: 1.3rem; left: 1.3rem; padding: .6rem .85rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; backdrop-filter: blur(12px); background: rgba(0,0,0,.3); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.capabilities { padding: 9rem var(--pad); }
.capabilities-head { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-bottom: 5rem; }
.capabilities h2 { margin: 0; max-width: 13ch; font-size: clamp(2.5rem, 5vw, 5.6rem); line-height: .95; letter-spacing: -.05em; }
.cap-list { border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: minmax(8rem, .8fr) 1.3fr auto; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.cap h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.03em; }
.cap p { margin: 0; color: var(--muted); line-height: 1.55; max-width: 37rem; }
.cap b { color: var(--acid); font-family: Georgia, serif; font-weight: 400; }
.lab { padding: 8rem var(--pad); background: #d9d5ca; color: var(--ink); }
.lab-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 4rem; }
.lab h2 { margin: 0; font-size: clamp(3rem, 8vw, 8rem); line-height: .8; letter-spacing: -.065em; }
.lab-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.lab-card { min-height: 35rem; position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.lab-card:nth-child(1) { grid-column: span 5; }
.lab-card:nth-child(2) { grid-column: span 3; }
.lab-card:nth-child(3) { grid-column: span 4; }
.lab-card:nth-child(4) { grid-column: span 12; min-height: 28rem; }
.lab-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform 1s var(--ease), opacity .5s; }
.lab-card:hover img { transform: scale(1.06); opacity: .9; }
.lab-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.86)); }
.lab-card > *:not(img) { position: relative; z-index: 2; }
.lab-card span { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }
.lab-card h3 { margin: 0 0 .8rem; font-size: clamp(2rem, 3vw, 3.5rem); line-height: .9; letter-spacing: -.045em; }
.lab-card p { margin: 0; max-width: 24rem; color: #d4d1c9; line-height: 1.45; }
.lab-arrow { width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.2rem; }
.contact { min-height: 95svh; padding: 8rem var(--pad) 2rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--acid); color: var(--ink); }
.contact h2 { margin: 0; max-width: 10ch; font-size: clamp(4rem, 11vw, 11rem); line-height: .78; letter-spacing: -.075em; }
.contact-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; border-top: 1px solid rgba(17,17,15,.3); padding-top: 1.4rem; }
.contact-row p { max-width: 36rem; font-size: 1.15rem; line-height: 1.5; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: 0 1.4rem; border: 1px solid currentColor; border-radius: 999px; background: transparent; cursor: pointer; transition: background .25s, color .25s; }
.pill:hover { background: var(--ink); color: var(--paper); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 4rem; }
.reveal { opacity: 0; transform: translateY(2.5rem); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .cursor { display: none; }
  .nav-links a:not(:last-child) { display: none; }
  .hero { padding-top: 7rem; }
  .hero-topline { display: block; }
  .hero-meta { display: none; }
  .display { font-size: clamp(3.55rem, 17vw, 6.8rem); }
  .work { height: auto; }
  .work-sticky { position: relative; height: auto; padding: 8rem 0 3rem; }
  .section-head { top: 3rem; }
  .work-track { width: 100%; display: grid; padding: 0 var(--pad); transform: none !important; }
  .project { width: 100%; height: 65svh; }
  .project-copy { grid-template-columns: 1fr; }
  .project-no { display: none; }
  .capabilities-head { grid-template-columns: 1fr; }
  .cap { grid-template-columns: 1fr auto; gap: 1rem; }
  .cap p { grid-column: 1 / -1; }
  .lab-head { align-items: start; flex-direction: column; }
  .lab-grid { display: grid; grid-template-columns: 1fr; }
  .lab-card:nth-child(n) { grid-column: auto; min-height: 70svh; }
  .contact-row { display: grid; }
  .footer { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .title-line > span, .reveal { opacity: 1; transform: none; }
}
