:root {
  --black: #070809;
  --ink: #111214;
  --white: #f4f3ef;
  --muted: #a4a7a8;
  --line: rgba(255,255,255,.22);
  --acid: #b9ff4b;
  --cyan: #8feaff;
  --red: #e23a26;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--white); font-family: "Manrope", sans-serif; font-size: 1rem; line-height: 1.55; overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
figure, blockquote, dl, dd, p, h1, h2, h3 { margin: 0; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem var(--pad); mix-blend-mode: difference; }
.site-header nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); font-size: .82rem; text-transform: uppercase; letter-spacing: .11em; }
.site-header nav a { border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible { border-color: currentColor; }
.monogram { display: grid; place-items: center; width: 2.65rem; aspect-ratio: 1; border: 1px solid currentColor; font-size: .78rem; letter-spacing: .08em; }

.hero { min-height: 100svh; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem var(--pad) 2rem; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-image { object-position: center 42%; animation: hero-in 1.6s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.02) 35%, rgba(0,0,0,.76) 92%), linear-gradient(90deg, rgba(0,0,0,.38), transparent 65%); }
.hero-kicker { position: absolute; top: 8rem; left: var(--pad); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; }
.hero h1 { font-family: "Prata", serif; font-size: clamp(4.2rem, 11.5vw, 11.5rem); font-weight: 400; line-height: .82; letter-spacing: -.055em; text-shadow: 0 2px 35px rgba(0,0,0,.25); }
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-left: clamp(1.5rem, 11vw, 12rem); }
.hero-footer { margin-top: 3rem; display: flex; justify-content: space-between; align-items: end; border-top: 1px solid rgba(255,255,255,.5); padding-top: 1rem; font-size: .85rem; }
.scroll-link { display: flex; gap: 1.5rem; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.scroll-link span { color: var(--acid); font-size: 1rem; }
.hero-index { position: absolute; right: 1.2rem; top: 50%; writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .18em; }

.statement { padding: clamp(7rem, 14vw, 14rem) var(--pad); display: grid; grid-template-columns: 1fr 4fr; gap: 2rem; }
.eyebrow { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); padding-top: .55rem; }
.statement-text { max-width: 16ch; font-family: "Prata", serif; font-size: clamp(2rem, 4.6vw, 5rem); line-height: 1.15; letter-spacing: -.025em; }

.project { position: relative; padding-top: clamp(5rem, 10vw, 10rem); }
.project-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; padding: 0 var(--pad) clamp(4rem, 8vw, 8rem); align-items: end; }
.project-number { color: var(--acid); font-size: .7rem; letter-spacing: .18em; margin-bottom: 1rem; }
.project h2 { font-family: "Prata", serif; font-weight: 400; font-size: clamp(3.2rem, 8vw, 8rem); line-height: .92; letter-spacing: -.04em; }
.project h2 em { font-size: .42em; line-height: 1.15; font-style: normal; letter-spacing: -.01em; }
.credits { border-top: 1px solid var(--line); }
.credits div { display: grid; grid-template-columns: minmax(6rem, .8fr) 2fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.credits dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.credits dd { font-size: .88rem; }

.full-bleed { margin: 0 var(--pad); height: min(78vw, 52rem); position: relative; overflow: hidden; }
.full-bleed img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.full-bleed:hover img { transform: scale(1.015); }
figcaption { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.full-bleed figcaption { position: absolute; inset: auto 1rem 1rem; color: white; text-shadow: 0 1px 10px black; }

.project-copy { padding: clamp(5rem, 10vw, 10rem) var(--pad); display: grid; grid-template-columns: 1fr 4fr; gap: 2rem; }
.project-copy > div { max-width: 58rem; }
.lead { font-family: "Prata", serif; font-size: clamp(1.7rem, 3.25vw, 3.3rem); line-height: 1.22; letter-spacing: -.02em; }
.project-copy .lead + p { max-width: 45rem; margin: 2.5rem 0 0 auto; color: #c5c7c7; }

.editorial-grid { display: grid; grid-template-columns: 1.1fr 1.35fr; grid-template-rows: auto auto; gap: clamp(1rem, 2.5vw, 2.5rem); padding: 0 var(--pad); align-items: start; }
.editorial-grid .tall { grid-row: 1 / 3; height: min(112vw, 60rem); }
.editorial-grid .wide { height: min(63vw, 38rem); margin-top: 8vw; }
.editorial-grid blockquote { font-family: "Prata", serif; font-size: clamp(1.45rem, 2.5vw, 2.6rem); line-height: 1.3; max-width: 22ch; padding: 2rem 0 4rem 8%; }

.process { margin-top: clamp(7rem, 13vw, 13rem); padding: 2rem var(--pad) clamp(7rem, 13vw, 13rem); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 1rem; }
.process-title { display: flex; flex-direction: column; justify-content: space-between; min-height: 22rem; }
.process-title span { color: var(--acid); font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; }
.process-title p { font-family: "Prata", serif; font-size: clamp(1.5rem, 2vw, 2.3rem); line-height: 1.25; }
.process figure { height: 29rem; }
.process figure:nth-of-type(2) { margin-top: 5rem; }
.process img { height: calc(100% - 2rem); filter: saturate(.8); }
.process figcaption { padding-top: .65rem; }

.project-buratino { background: #e9e5db; color: var(--ink); overflow: hidden; }
.project-buratino .color-field { position: absolute; width: 22rem; height: 22rem; background: var(--red); border-radius: 50%; top: 2rem; right: -9rem; filter: blur(1px); opacity: .95; }
.project-buratino .project-heading { position: relative; z-index: 1; }
.project-buratino .project-number { color: #1249d3; }
.project-buratino .credits { border-color: rgba(0,0,0,.2); }
.project-buratino .credits div { border-color: rgba(0,0,0,.2); }
.project-buratino .credits dt, .project-buratino .eyebrow, .project-buratino figcaption { color: #5e5d59; }
.project-buratino .project-copy .lead + p { color: #454541; }
.buratino-gallery { display: grid; grid-template-columns: 1.4fr .8fr; grid-template-rows: clamp(30rem, 55vw, 60rem) clamp(24rem, 40vw, 44rem); gap: clamp(1rem, 2.5vw, 2.5rem); padding: 0 var(--pad) clamp(8rem, 14vw, 14rem); align-items: stretch; }
.gallery-main { grid-column: 1 / 3; grid-row: 1; }
.gallery-dark { grid-column: 1; grid-row: 2; height: auto; margin: 0; }
.gallery-portrait { grid-column: 2; grid-row: 2; margin: 0; }

.project-feature { padding-bottom: clamp(8rem, 14vw, 14rem); border-top: 1px solid var(--line); }
.project-feature .project-number { color: var(--cyan); }
.feature-gallery { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(1rem, 2.5vw, 2.5rem); padding: 0 var(--pad); align-items: start; }
.feature-gallery figure { height: min(52vw, 42rem); overflow: hidden; }
.feature-gallery figure:nth-child(2) { height: min(42vw, 34rem); margin-top: clamp(3rem, 8vw, 8rem); }
.feature-gallery img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.feature-gallery figure:hover img { transform: scale(1.015); }
.feature-gallery-portraits { grid-template-columns: 1fr 1fr; }
.feature-gallery-portraits figure,
.feature-gallery-portraits figure:nth-child(2) { height: min(78vw, 60rem); }
.project-snow { background: #e9e5db; color: var(--ink); }
.project-snow h2 { font-size: clamp(2.7rem, 6.5vw, 7rem); }
.project-snow .project-number { color: var(--red); }
.project-snow .credits,
.project-snow .credits div { border-color: rgba(0,0,0,.2); }
.project-snow .credits dt,
.project-snow .eyebrow,
.project-snow figcaption { color: #5e5d59; }
.project-snow .project-copy .lead + p { color: #454541; }
.project-heading-minimal { grid-template-columns: 1.5fr 1fr; }
.project-photo-label { align-self: end; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; }
.project-prince .full-bleed img { object-position: center 42%; }

.selected-works { padding: clamp(8rem, 14vw, 14rem) var(--pad); background: #102ec0; color: var(--white); }
.selected-intro { display: grid; grid-template-columns: 1fr 4fr; gap: 2rem; margin-bottom: clamp(5rem, 9vw, 9rem); }
.selected-intro .eyebrow { color: #a9b7ff; }
.selected-intro h2 { font-family: "Prata", serif; font-weight: 400; font-size: clamp(3.6rem, 8vw, 8rem); line-height: .9; letter-spacing: -.045em; }
.works-list { border-top: 1px solid rgba(255,255,255,.45); }
.work-row { display: grid; grid-template-columns: .35fr 1.75fr 1fr 1.15fr; gap: 2rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.35); transition: background .25s ease, padding .25s ease; }
.work-row:hover { background: var(--acid); color: #07130a; padding-left: 1rem; padding-right: 1rem; }
.work-index { font-size: .72rem; letter-spacing: .18em; }
.work-title h3 { font-family: "Prata", serif; font-size: clamp(1.6rem, 2.6vw, 2.75rem); font-weight: 400; line-height: 1.1; }
.work-title p, .work-role, .work-meta { margin-top: .35rem; font-size: .78rem; line-height: 1.55; }
.work-title p { opacity: .7; }
.work-role, .work-meta { text-transform: uppercase; letter-spacing: .06em; }
.compact-chronology { margin: clamp(6rem, 10vw, 10rem) 0 0 20%; display: grid; grid-template-columns: 1.35fr 1fr; max-width: 54rem; border-top: 1px solid rgba(255,255,255,.35); }
.compact-chronology p, .compact-chronology span { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: .78rem; }
.compact-chronology span { color: #bdc6ff; text-transform: uppercase; letter-spacing: .08em; }

.about { padding: clamp(8rem, 14vw, 14rem) var(--pad); }
.about-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; margin-top: 4rem; align-items: end; }
.about h2 { font-family: "Prata", serif; font-size: clamp(4rem, 9vw, 9rem); line-height: .84; font-weight: 400; letter-spacing: -.055em; }
.about-content .bio { max-width: 38rem; }
.about .lead { font-size: clamp(1.6rem, 2.5vw, 2.5rem); }
.about .lead + p { color: #c5c7c7; margin-top: 1.5rem; max-width: 33rem; }
.bio-facts { margin-top: 3rem; border-top: 1px solid var(--line); }
.bio-facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.bio-facts dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.bio-facts dd { font-size: .85rem; }

.contact { padding: clamp(7rem, 12vw, 12rem) var(--pad) 3rem; background: var(--acid); color: #07130a; }
.contact .eyebrow { color: #31540d; }
.contact-line { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; margin-top: 3rem; align-items: end; }
.contact h2 { font-family: "Prata", serif; font-weight: 400; font-size: clamp(4rem, 9vw, 9rem); line-height: .86; letter-spacing: -.055em; }
.contact a { padding: 1rem 0; border-top: 1px solid #07130a; border-bottom: 1px solid #07130a; display: flex; justify-content: space-between; gap: 1rem; font-size: clamp(1rem, 1.7vw, 1.5rem); }
.contact a span { transition: transform .2s ease; }
.contact a:hover span { transform: translate(.2rem,-.2rem); }

footer { padding: 2rem var(--pad); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-in { from { transform: scale(1.06); filter: brightness(.7); } to { transform: scale(1); filter: brightness(1); } }

@media (max-width: 800px) {
  .site-header nav { gap: 1rem; }
  .hero { padding-bottom: 1.25rem; }
  .hero-kicker { top: 6.5rem; }
  .hero h1 { font-size: clamp(4rem, 20vw, 7rem); line-height: .85; }
  .hero h1 span:last-child { margin-left: 0; }
  .hero-footer { align-items: start; }
  .hero-footer p { display: none; }
  .hero-index { display: none; }
  .statement, .project-copy { grid-template-columns: 1fr; }
  .statement-text { max-width: none; }
  .project-heading { grid-template-columns: 1fr; gap: 3rem; }
  .full-bleed { margin: 0; height: 75svh; }
  .editorial-grid { grid-template-columns: 1fr 1fr; }
  .editorial-grid .tall { height: 42rem; }
  .editorial-grid .wide { height: 25rem; margin-top: 4rem; }
  .editorial-grid blockquote { grid-column: 1 / 3; padding-left: 0; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process-title { grid-column: 1 / 4; min-height: auto; flex-direction: row; margin-bottom: 2rem; }
  .process figure { height: 18rem; }
  .buratino-gallery { grid-template-columns: 1.2fr .8fr; grid-template-rows: 25rem 22rem; }
  .gallery-main { grid-column: 1 / 3; grid-row: 1; }
  .gallery-dark { grid-column: 1; grid-row: 2; height: auto; margin: 0; }
  .gallery-portrait { grid-column: 2; grid-row: 2; margin-top: 0; }
  .feature-gallery figure { height: 32rem; }
  .feature-gallery figure:nth-child(2) { height: 26rem; margin-top: 4rem; }
  .feature-gallery-portraits figure,
  .feature-gallery-portraits figure:nth-child(2) { height: 44rem; }
  .project-heading-minimal { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .selected-intro { grid-template-columns: 1fr; }
  .work-row { grid-template-columns: .2fr 1.6fr 1fr; }
  .work-meta { grid-column: 2 / 4; }
  .compact-chronology { margin-left: 0; }
  .contact-line { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header { padding-top: 1rem; }
  .site-header nav a:first-child { display: none; }
  .hero-image { object-position: 60% center; }
  .hero-kicker { top: 5.5rem; }
  .hero h1 { font-size: clamp(3.7rem, 19vw, 6rem); }
  .scroll-link { margin-left: auto; }
  .statement { padding-top: 6rem; padding-bottom: 6rem; }
  .project { padding-top: 5rem; }
  .project-heading { padding-bottom: 4rem; }
  .credits div { grid-template-columns: 5.5rem 1fr; }
  .full-bleed { height: 64svh; }
  .project-copy { padding-top: 5rem; padding-bottom: 5rem; }
  .project-copy .lead + p { margin-top: 1.5rem; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid .tall { grid-row: auto; height: 75svh; }
  .editorial-grid .wide { height: 60svh; margin-top: 0; }
  .editorial-grid blockquote { grid-column: auto; }
  .process { grid-template-columns: 1fr; overflow: hidden; }
  .process-title { grid-column: auto; }
  .process figure, .process figure:nth-of-type(2) { height: 68svh; margin-top: 0; }
  .process figure:nth-of-type(3) { display: none; }
  .buratino-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 22rem 20rem; }
  .feature-gallery,
  .feature-gallery-portraits { grid-template-columns: 1fr; }
  .feature-gallery figure,
  .feature-gallery figure:nth-child(2),
  .feature-gallery-portraits figure,
  .feature-gallery-portraits figure:nth-child(2) { height: 68svh; margin-top: 0; }
  .project-snow h2 { font-size: 12vw; }
  .about h2 { font-size: 19vw; }
  .work-row { grid-template-columns: 2rem 1fr; gap: .7rem; }
  .work-role, .work-meta { grid-column: 2; }
  .compact-chronology { grid-template-columns: 1fr; }
  .compact-chronology p { padding-bottom: .2rem; border-bottom: 0; }
  .compact-chronology span { padding-top: 0; }
  .bio-facts div { grid-template-columns: 1fr; gap: .35rem; }
  .contact h2 { font-size: 18vw; }
  footer p { display: none; }
}

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