:root {
  --ink: #090a0a;
  --ink-soft: #101212;
  --paper: #e8e6df;
  --paper-muted: #a8a8a2;
  --line: rgba(232, 230, 223, 0.22);
  --line-strong: rgba(232, 230, 223, 0.42);
  --gutter: clamp(1.35rem, 3.25vw, 4rem);
  --section-space: clamp(8rem, 15vw, 16rem);
  --sans: "Helvetica Neue", "Neue Haas Grotesk Text Pro", "Arial Nova", Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::selection { background: var(--paper); color: var(--ink); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem .9rem; background: var(--paper); color: var(--ink); font-size: .75rem; text-decoration: none; transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 1px solid var(--paper); outline-offset: 5px; }

.site-header { position: absolute; z-index: 30; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1.65rem var(--gutter); color: var(--paper); font-size: clamp(.63rem, .7vw, .72rem); letter-spacing: .13em; text-transform: uppercase; mix-blend-mode: difference; opacity: 0; transform: translateY(-.5rem); transition: opacity 900ms ease 180ms, transform 900ms cubic-bezier(.22,1,.36,1) 180ms; }
.is-ready .site-header { opacity: .76; transform: none; }
.site-header:hover, .site-header:focus-within { opacity: 1; }
.wordmark { font-weight: 500; text-decoration: none; }
.wordmark-short { display: none; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.35rem, 3vw, 3.15rem); }
.site-header nav a { position: relative; overflow: hidden; text-decoration: none; }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; transform: translateX(-105%); transition: transform 350ms cubic-bezier(.22,1,.36,1); }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: none; }

.page-progress { position: fixed; z-index: 31; top: 50%; right: calc(var(--gutter) * .48); width: 1px; height: 4.5rem; background: rgba(232,230,223,.18); mix-blend-mode: difference; transform: translateY(-50%); }
.page-progress span { display: block; width: 100%; height: 100%; background: var(--paper); transform: scaleY(0); transform-origin: top; }

.film-sequence { position: relative; height: 320vh; }
.film-frame { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #091015; isolation: isolate; }
.hero-film { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; filter: saturate(.76) contrast(1.08) brightness(.73); transform: scale(1.015); will-change: transform; }
.film-grade, .film-vignette, .hero-curtain { position: absolute; inset: 0; pointer-events: none; }
.film-grade { z-index: 1; background: linear-gradient(90deg, rgba(3,5,7,.51) 0%, rgba(3,5,7,.12) 52%, rgba(3,5,7,.12) 100%), linear-gradient(0deg, rgba(2,4,5,.34) 0%, transparent 46%); opacity: .82; }
.film-vignette { z-index: 2; box-shadow: inset 0 0 14vw rgba(0,0,0,.38); opacity: .8; }
.hero-copy { position: absolute; z-index: 3; left: var(--gutter); top: 50%; transform: translateY(-44%); will-change: transform, opacity; }
.location { margin: 0 0 clamp(1rem, 2vw, 1.75rem) .45vw; font-size: clamp(.6rem, .68vw, .72rem); letter-spacing: .17em; line-height: 1; text-transform: uppercase; }
h1 { margin: 0; max-width: 90vw; font-size: clamp(4.6rem, 12.4vw, 12.25rem); font-weight: 400; letter-spacing: -.078em; line-height: .76; }
h1 span { display: block; }
.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: 1.75rem; display: flex; align-items: center; gap: 1rem; margin: 0; font-size: .57rem; letter-spacing: .15em; line-height: 1; text-transform: uppercase; }
.scroll-cue i { position: relative; display: block; width: 3.4rem; height: 1px; overflow: hidden; background: rgba(232,230,223,.25); }
.scroll-cue b { position: absolute; inset: 0; background: var(--paper); transform: translateX(-102%); animation: cue-line 2.4s cubic-bezier(.77,0,.18,1) infinite; }
@keyframes cue-line { 0% { transform: translateX(-102%); } 50%, 100% { transform: translateX(102%); } }

.hero-curtain { z-index: 4; inset: -28vh 0 0; background: linear-gradient(to bottom, rgba(9,10,10,0) 0, rgba(9,10,10,.24) 7vh, rgba(9,10,10,.86) 19vh, var(--ink) 28vh, var(--ink) 100%); transform: scaleY(0); transform-origin: bottom; will-change: transform; }
.transition-copy { position: absolute; z-index: 5; inset: auto var(--gutter) 8vh; opacity: 0; transform: translateY(2.5rem); will-change: transform, opacity; }
.transition-copy p { margin: 0 0 1.2rem; color: var(--paper-muted); font-size: .63rem; letter-spacing: .15em; text-transform: uppercase; }
.transition-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.8rem, 9vw, 9rem); font-weight: 400; letter-spacing: -.055em; line-height: .88; }

.section-shell { position: relative; padding: var(--section-space) var(--gutter); }
.section-index { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--paper-muted); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }

.about { min-height: 100vh; padding-top: clamp(7rem, 10vw, 11rem); }
.about-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(17rem,.5fr); gap: clamp(3rem,10vw,12rem); align-items: end; padding-top: clamp(4rem,8vw,8rem); }
.about-statement { max-width: 12ch; margin: 0; font-size: clamp(3.65rem,7.45vw,8.4rem); font-weight: 400; letter-spacing: -.065em; line-height: .93; }
.about-detail { max-width: 28rem; padding-bottom: .75rem; }
.about-detail > p { margin: 0 0 4rem; color: #c7c6c0; font-size: clamp(1rem,1.2vw,1.2rem); line-height: 1.58; }
.about-detail dl { margin: 0; }
.about-detail dl div { display: grid; grid-template-columns: 5rem 1fr; padding: .8rem 0; border-top: 1px solid var(--line); }
.about-detail dt { color: var(--paper-muted); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.about-detail dd { margin: 0; font-size: .76rem; line-height: 1.35; }

.work { padding-top: clamp(6rem,10vw,10rem); }
.project-list { margin-top: clamp(3.5rem,6vw,6rem); border-top: 1px solid var(--line); }
.selected-project-label { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--paper-muted); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.project { border-bottom: 1px solid var(--line); }
.project-featured > a { display: block; padding: clamp(2.5rem,5vw,5.6rem) 0; text-decoration: none; }
.project-head { display: grid; grid-template-columns: clamp(2.5rem,5vw,5rem) 1fr auto; align-items: start; }
.project-number { padding-top: .7em; color: var(--paper-muted); font-size: .62rem; letter-spacing: .12em; }
.project h3 { margin: 0; font-size: clamp(2.6rem,6.3vw,7.4rem); font-weight: 400; letter-spacing: -.065em; line-height: .84; transition: transform 600ms cubic-bezier(.22,1,.36,1); }
.project-arrow { font-family: var(--serif); font-size: clamp(1.4rem,2.5vw,2.5rem); transition: transform 500ms cubic-bezier(.22,1,.36,1); }
.project-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(17rem,.48fr); gap: clamp(2rem,8vw,10rem); margin: clamp(2.5rem,4vw,4rem) 0 0 clamp(2.5rem,5vw,5rem); max-height: 0; overflow: hidden; opacity: 0; transform: translateY(1rem); transition: max-height 650ms cubic-bezier(.22,1,.36,1), opacity 450ms ease, transform 650ms cubic-bezier(.22,1,.36,1); }
.project-body p { max-width: 58rem; margin: 0; color: #c2c1bb; font-size: clamp(.92rem,1.08vw,1.08rem); line-height: 1.58; }
.project-body ul { display: flex; flex-wrap: wrap; align-content: start; gap: .55rem 1rem; margin: 0; padding: 0; list-style: none; }
.project-body li { color: var(--paper-muted); font-size: .61rem; letter-spacing: .12em; text-transform: uppercase; }
.project-body small { grid-column: 1 / -1; color: #777974; font-size: .68rem; }
.project-featured .project-body { max-height: none; opacity: 1; overflow: visible; transform: none; }
.project-featured > a:hover h3, .project-featured > a:focus-visible h3 { transform: translateX(clamp(.4rem,1vw,1rem)); }
.project-featured > a:hover .project-arrow, .project-featured > a:focus-visible .project-arrow { transform: translate(.25rem,-.25rem); }

.more-projects { border-bottom: 1px solid var(--line); }
.more-projects > summary { display: grid; grid-template-columns: 1fr auto auto; gap: clamp(1rem,3vw,3rem); align-items: center; padding: 1.6rem 0; color: var(--paper-muted); cursor: pointer; font-size: .64rem; letter-spacing: .15em; list-style: none; text-transform: uppercase; transition: color 300ms ease; }
.more-projects > summary::-webkit-details-marker, .project-disclosure > summary::-webkit-details-marker { display: none; }
.more-projects > summary::marker, .project-disclosure > summary::marker { content: ""; }
.more-projects > summary:hover, .more-projects > summary:focus-visible { color: var(--paper); }
.more-projects-count { min-width: 2ch; }
.more-projects-icon, .project-toggle { font-size: 1rem; font-weight: 300; line-height: 1; transition: transform 450ms cubic-bezier(.22,1,.36,1); }
.more-projects[open] > summary .more-projects-icon, .project-disclosure[open] > summary .project-toggle { transform: rotate(45deg); }
.more-projects-list { border-top: 1px solid var(--line); }
.more-projects[open] .more-projects-list { animation: projects-reveal 650ms cubic-bezier(.22,1,.36,1) both; }
@keyframes projects-reveal { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }

.project-disclosure > summary { padding: clamp(2.2rem,4vw,4rem) 0; cursor: pointer; list-style: none; }
.more-projects-list .project h3 { font-size: clamp(2.45rem,4.9vw,5.5rem); }
.project-disclosure > summary:hover h3, .project-disclosure > summary:focus-visible h3 { transform: translateX(clamp(.4rem,1vw,1rem)); }
.project-disclosure[open] .project-body { max-height: 32rem; margin-bottom: clamp(2.5rem,4vw,4rem); opacity: 1; transform: none; }
.project-link { grid-column: 2; justify-self: start; color: var(--paper); font-size: .65rem; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.project-link::after { content: ""; display: block; width: 100%; height: 1px; margin-top: .35rem; background: currentColor; transform-origin: right; transition: transform 350ms ease; }
.project-link:hover::after, .project-link:focus-visible::after { transform: scaleX(.35); }
.project-availability { color: var(--paper-muted) !important; letter-spacing: .12em; text-transform: uppercase; }

.contact { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 4rem; }
.contact-inner { padding-top: clamp(6rem,12vw,11rem); }
.contact-inner > p { margin: 0 0 1.5rem; color: var(--paper-muted); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.contact h2 { margin: 0 0 clamp(4rem,7vw,7rem); font-family: var(--serif); font-size: clamp(6rem,17vw,19rem); font-weight: 400; letter-spacing: -.075em; line-height: .75; }
.email-link { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); font-size: clamp(1rem,2vw,2rem); text-decoration: none; transition: padding 450ms cubic-bezier(.22,1,.36,1), background-color 450ms ease, color 450ms ease; }
.email-link:hover, .email-link:focus-visible { padding-inline: 1rem; background: var(--paper); color: var(--ink); }
.email-link i { font-family: var(--serif); font-style: normal; }

footer { display: flex; justify-content: space-between; padding: 1.5rem var(--gutter) 2rem; color: var(--paper-muted); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
footer a { text-decoration: none; }

.js .reveal-item { opacity: 0; transform: translateY(2rem); }
.no-js .hero-film { display: none; }
.no-js .film-sequence { height: 100vh; }
.no-js .hero-curtain, .no-js .transition-copy { display: none; }
.no-js .reveal-item { opacity: 1; transform: none; }

@media (hover: none), (max-width: 900px) {
  .project-body { max-height: none; opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-detail { margin-left: auto; }
  .project-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-link { grid-column: 1; }
}

@media (max-width: 720px) {
  :root { --section-space: 8.5rem; }
  .site-header { padding-top: 1.2rem; }
  .wordmark-full { display: none; }
  .wordmark-short { display: inline; }
  .site-header nav { gap: 1.15rem; }
  .page-progress { display: none; }
  .film-sequence { height: 245vh; }
  .hero-film { object-position: 63% 50%; filter: saturate(.75) contrast(1.07) brightness(.7); }
  .film-grade { background: linear-gradient(90deg, rgba(3,5,7,.56), rgba(3,5,7,.06) 80%), linear-gradient(0deg, rgba(2,4,5,.34), transparent 45%); }
  .film-vignette { box-shadow: inset 0 0 23vw rgba(0,0,0,.42); }
  .hero-copy { top: 54%; transform: translateY(-44%); }
  .location { margin-bottom: 1.15rem; }
  h1 { max-width: 100vw; font-size: clamp(4.15rem,22.5vw,7.8rem); line-height: .77; }
  .scroll-cue { right: var(--gutter); bottom: 1.35rem; }
  .scroll-cue span { display: none; }
  .scroll-cue i { width: 2.5rem; }
  .transition-copy { bottom: 7vh; }
  .transition-copy h2 { font-size: clamp(3.75rem,17vw,6.4rem); }
  .about { padding-top: 7rem; }
  .about-grid { gap: 4rem; padding-top: 4rem; }
  .about-statement { max-width: none; font-size: clamp(3.3rem,15vw,5.8rem); }
  .about-detail { margin-left: 0; }
  .about-detail > p { margin-bottom: 3rem; }
  .project-featured > a, .project-disclosure > summary { padding: 2.8rem 0; }
  .project-head { grid-template-columns: 2.3rem 1fr auto; }
  .project-number { padding-top: .45em; }
  .project h3 { font-size: clamp(2.65rem,14vw,4.7rem); line-height: .88; }
  .project-body { margin: 2.25rem 0 0 2.3rem; }
  .project-body small { line-height: 1.4; }
  .contact { min-height: 80vh; }
  .contact h2 { font-size: clamp(5.4rem,27vw,10rem); line-height: .78; }
  .email-link { font-size: .95rem; overflow-wrap: anywhere; }
  footer { gap: 1.5rem; line-height: 1.5; }
}

@media (max-width: 420px) {
  .site-header nav { gap: .9rem; }
  .site-header { font-size: .58rem; }
  .project-arrow { font-size: 1.2rem; }
  footer { flex-direction: column; }
}

@media (min-width: 1700px) {
  .about-grid { grid-template-columns: minmax(0,1.6fr) minmax(20rem,.4fr); }
  .project-body { grid-template-columns: minmax(0,1.2fr) minmax(20rem,.35fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .film-sequence { height: 100svh; }
  .hero-film { display: none; }
  .hero-curtain, .transition-copy, .page-progress { display: none; }
  .js .reveal-item { opacity: 1; transform: none; }
}
