@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,400..800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --black: #101010;
  --ink: #171717;
  --white: #f5f2eb;
  --paper: #ede9df;
  --yellow: #ffd51e;
  --red: #e5392f;
  --line: rgba(245, 242, 235, .26);
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --shell: min(100% - 48px, 1320px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
main { isolation: isolate; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--black); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 18px; background: var(--yellow); color: var(--black); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; min-height: 84px; padding: 18px max(24px, calc((100vw - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.is-scrolled { background: rgba(16,16,16,.92); border-color: var(--line); backdrop-filter: blur(14px); }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; font: 800 20px/.78 var(--display); letter-spacing: -.06em; }
.wordmark span:last-child { color: var(--yellow); }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.site-nav > a:not(.button) { position: relative; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-nav > a:not(.button)::before { content: ""; position: absolute; top: 50%; left: -12px; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); opacity: 0; transform: translate(-5px,-50%); transition: opacity .25s, transform .25s; }
.site-nav > a[aria-current="location"]::before { opacity: 1; transform: translate(0,-50%); }
.site-nav > a:not(.button)::after, .text-link::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after, .text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; color: var(--white); background: none; border: 0; min-width: 48px; min-height: 48px; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 14px 22px; border: 1px solid var(--yellow); background: var(--yellow); color: var(--black); text-decoration: none; text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: .11em; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); background: var(--white); border-color: var(--white); }
.button--small { min-height: 46px; padding-block: 10px; }
.button--yellow { width: fit-content; }
.text-link { position: relative; display: inline-flex; gap: 12px; align-items: center; padding-block: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }

.chapter { position: relative; }
.hero { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 348px); align-items: center; gap: clamp(44px, 5vw, 82px); padding-inline: max(24px, calc((100vw - 1320px) / 2)); overflow: hidden; background: var(--black); }
.hero__image { position: absolute; inset: 0 0 0 52%; background: url('https://images.unsplash.com/photo-1622287162716-f311baa1a2b8?auto=format&fit=crop&w=1600&q=82') center/cover no-repeat; filter: grayscale(1) contrast(1.08); }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 0 41%, rgba(16,16,16,.92) 53%, rgba(16,16,16,.2) 82%), linear-gradient(0deg, rgba(16,16,16,.85), transparent 45%); }
.hero__veil::after { content: ""; position: absolute; top: 0; right: 9%; width: 1px; height: 100%; background: rgba(255,213,30,.45); }
.headshot { position: relative; z-index: 3; grid-column: 2; grid-row: 1; width: 100%; margin: 0; justify-self: end; }
.headshot__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(245,242,235,.42); background: #242424; box-shadow: 22px 24px 0 rgba(229,57,47,.9), -10px -10px 0 rgba(255,213,30,.95); transform: rotate(1.25deg); transform-origin: center; }
.headshot__media::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(245,242,235,.2); pointer-events: none; }
.headshot__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.05); }
.headshot__media img[hidden] { display: none; }
.headshot__placeholder { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 50% 30%, #343434, #181818 72%); }
.headshot__placeholder[hidden] { display: none; }
.headshot__initials { font: 700 clamp(5rem, 9vw, 9rem)/.8 var(--display); letter-spacing: -.08em; color: rgba(245,242,235,.12); }
.headshot__prompt { position: absolute; left: 26px; right: 26px; bottom: 24px; color: var(--white); font-size: .67rem; font-weight: 700; line-height: 1.35; letter-spacing: .14em; text-align: left; text-transform: uppercase; }
.headshot figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-inline: 1px; color: rgba(245,242,235,.65); font-size: .62rem; font-weight: 700; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.headshot figcaption span:last-child { color: var(--yellow); }
.hero__content { position: relative; z-index: 2; grid-column: 1; grid-row: 1; min-width: 0; width: 100%; margin: 0; padding: 148px 0 120px; }
.eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 32px; text-transform: uppercase; font-size: .72rem; font-weight: 600; letter-spacing: .16em; }
.eyebrow__line { width: 68px; height: 1px; background: var(--red); }
.hero__title { max-width: 100%; margin: 0; font-family: var(--display); font-size: clamp(4rem, 7.25vw, 7.4rem); font-weight: 720; font-stretch: 92%; line-height: .91; letter-spacing: -.045em; text-transform: uppercase; }
.hero__title > span { display: block; overflow: hidden; padding: .05em 0 .12em; }
.hero__title .highlight { display: inline-block; color: var(--yellow); font-style: italic; font-weight: 520; letter-spacing: -.035em; }
.hero__lower { margin: clamp(36px, 6vh, 72px) 0 0; display: grid; grid-template-columns: minmax(280px, 580px) auto; gap: 72px; align-items: end; }
.hero__lower p { margin: 0; max-width: 58ch; color: rgba(245,242,235,.76); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero__actions { display: flex; align-items: center; gap: 28px; }
.hero__index { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1320px) / 2)); bottom: 50%; font: 600 .72rem var(--display); letter-spacing: .12em; writing-mode: vertical-rl; }
.hero__index span { color: var(--red); margin-block: 6px; }
.cut-line { position: absolute; z-index: 3; bottom: -1px; left: -2%; width: 104%; height: 46px; background: var(--paper); clip-path: polygon(0 86%, 100% 0, 100% 100%, 0 100%); }

.reveal { opacity: 0; transform: translateY(22px); animation: reveal .62s cubic-bezier(.2,.75,.2,1) forwards; }
.reveal--1 { animation-delay: .12s; }
.reveal--2 { animation-delay: .23s; }
.reveal--3 { animation-delay: .34s; }
.reveal--4 { animation-delay: .5s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

.section-shell { width: var(--shell); margin-inline: auto; }
.chapter--lift { border-radius: 34px 34px 0 0; box-shadow: 0 -30px 80px rgba(0,0,0,.34); transform-origin: 50% 100%; }
.work { z-index: 2; padding: clamp(130px, 13vw, 190px) 0 clamp(120px, 12vw, 175px); background: var(--paper); color: var(--ink); overflow: clip; }
.contact { z-index: 3; }
.chapter__tab { position: absolute; z-index: 4; top: 36px; right: max(24px, calc((100vw - 1320px) / 2)); margin: 0; display: flex; align-items: center; gap: 12px; color: #6f6b62; font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.chapter__tab::before { content: ""; width: 32px; height: 1px; background: var(--red); }
.chapter__tab span { opacity: .62; }
.chapter__tab--light { color: rgba(245,242,235,.72); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; margin-bottom: clamp(54px, 7vw, 92px); }
.eyebrow--dark { color: #5c594f; }
.section-heading h2, .contact h2 { margin: 0; font-family: var(--display); font-size: clamp(4rem, 8.5vw, 8.6rem); font-weight: 760; font-stretch: 90%; line-height: .86; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading h2 em, .contact h2 em { color: var(--red); font-weight: 500; }
.section-heading__copy { width: 290px; margin: 0 0 8px; font-size: 1.05rem; }

.gallery__stage { position: relative; min-height: 520px; height: min(70vw, 820px); overflow: hidden; background: #252525; isolation: isolate; }
.gallery__backdrop { position: absolute; z-index: 0; inset: -7%; background: center/cover no-repeat; filter: blur(26px) saturate(.65) brightness(.46); transform: scale(1.08); transition: opacity .25s, transform .55s cubic-bezier(.2,.7,.2,1); }
.gallery__backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(12,12,12,.24); }
.gallery__stage::before, .gallery__stage::after { content: ""; position: absolute; z-index: 7; top: 0; bottom: 0; width: 19%; pointer-events: none; transform: translateX(-610%) skewX(-10deg); }
.gallery__stage::before { left: -12%; background: var(--yellow); }
.gallery__stage::after { left: -19%; background: var(--red); }
.gallery__stage.is-changing::before { animation: gallery-blade .58s cubic-bezier(.7,0,.2,1); }
.gallery__stage.is-changing::after { animation: gallery-blade .58s .055s cubic-bezier(.7,0,.2,1); }
@keyframes gallery-blade {
  0% { transform: translateX(-20%) skewX(-10deg); }
  100% { transform: translateX(760%) skewX(-10deg); }
}
.gallery__stage > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.88) contrast(1.04); transition: opacity .2s, transform .45s cubic-bezier(.2,.7,.2,1); }
.gallery__stage.is-changing > img { opacity: .45; transform: scale(1.035); }
.gallery__stage.is-changing .gallery__backdrop { opacity: .55; transform: scale(1.13); }
.gallery__shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 48%); pointer-events: none; }
.gallery__caption { position: absolute; z-index: 3; left: clamp(24px, 5vw, 68px); bottom: clamp(32px, 5vw, 62px); color: var(--white); }
.gallery__caption p { margin: 0 0 6px; color: var(--yellow); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 700; }
.gallery__caption h3 { margin: 0; font: 620 clamp(2.1rem, 4.5vw, 4.8rem)/1.02 var(--display); letter-spacing: -.025em; }
.gallery__stage.is-changing .gallery__caption { animation: caption-change .48s cubic-bezier(.2,.7,.2,1); }
@keyframes caption-change { 0%, 44% { opacity: 0; transform: translateY(22px); } 100% { opacity: 1; transform: none; } }
.gallery__number { position: absolute; z-index: 3; right: 36px; top: 26px; margin: 0; color: rgba(255,255,255,.65); font: 700 clamp(3.5rem, 8vw, 8rem)/1 var(--display); }
.gallery__arrow { position: absolute; z-index: 4; top: 50%; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(16,16,16,.42); color: white; font-size: 1.4rem; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, color .2s, transform .2s; }
.gallery__arrow:hover { background: var(--yellow); color: var(--black); transform: scale(1.06); }
.gallery__arrow--prev { left: 24px; }
.gallery__arrow--next { right: 24px; }
.gallery__rail { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-top: 24px; align-items: center; }
.gallery__count { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 .75rem var(--display); }
.gallery__count strong { font-size: 1.15rem; }
.gallery__progress { position: relative; width: 90px; height: 2px; background: #b8b3a8; }
.gallery__progress i { display: block; height: 100%; width: 16.66%; background: var(--red); transition: width .4s; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery__thumb { position: relative; min-height: 76px; aspect-ratio: 4/3; border: 0; padding: 0; background: #ddd; cursor: pointer; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .58; transition: opacity .2s, filter .2s, transform .35s; }
.gallery__thumb:hover img, .gallery__thumb[aria-current="true"] img { opacity: 1; filter: grayscale(0); transform: scale(1.04); }
.gallery__thumb[aria-current="true"]::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--yellow); }
.gallery__note { margin: 18px 0 0; color: #625e54; font-size: .76rem; }
.gallery__note span { color: var(--red); }

.observe { opacity: 1; transform: none; }
.observe.is-visible { animation: section-in .78s .22s cubic-bezier(.16,.72,.14,1) both; }
@keyframes section-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.contact { position: relative; padding: clamp(140px, 14vw, 205px) 0 34px; background: var(--black); overflow: hidden; }
.contact__blade { position: absolute; top: 7%; right: -7%; width: 38vw; height: 8px; background: var(--red); transform: rotate(-24deg); box-shadow: 0 20px 0 var(--yellow); }
.contact__inner { position: relative; z-index: 1; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .6fr); align-items: end; gap: clamp(50px, 9vw, 130px); }
.contact h2 { color: var(--white); }
.contact h2 em { color: var(--yellow); }
.contact__details { padding-bottom: 12px; }
.contact__details > p { margin: 0 0 32px; color: rgba(245,242,235,.68); font-size: 1.05rem; }
.contact__channels { display: grid; gap: 22px; margin-top: 60px; }
.contact__channel { padding-top: 18px; border-top: 1px solid var(--line); }
.contact__channel > span { display: block; margin-bottom: 10px; color: rgba(245,242,235,.5); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; }
.contact__channel strong { display: block; font-size: .85rem; letter-spacing: .05em; overflow-wrap: anywhere; }
.contact__channel .text-link { margin-top: 10px; }
.footer { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: clamp(100px, 15vw, 200px); padding-top: 28px; border-top: 1px solid var(--line); color: rgba(245,242,235,.56); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.footer p { margin: 0; }
.footer span { color: var(--yellow); }

@media (min-width: 801px) and (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) clamp(205px, 26vw, 280px); gap: clamp(30px, 4vw, 46px); }
  .hero__content { padding-top: 130px; padding-bottom: 96px; }
  .hero__title { max-width: 100%; font-size: clamp(3.7rem, 7.5vw, 5.2rem); line-height: .94; letter-spacing: -.04em; }
  .headshot { width: 100%; }
  .headshot__media { box-shadow: 16px 18px 0 rgba(229,57,47,.9), -8px -8px 0 rgba(255,213,30,.95); }
  .hero__lower { grid-template-columns: minmax(280px, 52vw) auto; gap: 36px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 800px) {
  :root { --shell: min(100% - 36px, 720px); }
  .site-header { min-height: 72px; padding: 12px 18px; }
  .menu-toggle { display: flex; align-items: center; justify-content: flex-end; gap: 10px; cursor: pointer; }
  .menu-toggle__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
  .menu-toggle__icon { width: 20px; display: grid; gap: 5px; }
  .menu-toggle__icon i { display: block; height: 1px; background: currentColor; transition: transform .2s; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 22px 18px 28px; background: var(--black); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 14px 0; font-size: .85rem; }
  .site-nav .button { margin-top: 14px; }
  .hero { min-height: 820px; grid-template-columns: 1fr; grid-template-rows: auto auto; align-items: start; gap: 30px; padding-inline: 18px; }
  .hero__image { inset: 0 0 38% 24%; opacity: .72; }
  .hero__veil { background: linear-gradient(0deg, var(--black) 0 38%, rgba(16,16,16,.84) 61%, rgba(16,16,16,.3)); }
  .headshot { position: relative; grid-column: 1; grid-row: 1; top: auto; right: auto; width: clamp(148px, 43vw, 210px); margin: 112px 10px 0 auto; transform: none; }
  .headshot__media { transform: rotate(1.5deg); }
  .headshot__media { box-shadow: 10px 12px 0 rgba(229,57,47,.9), -5px -5px 0 var(--yellow); }
  .headshot__prompt { left: 16px; bottom: 14px; font-size: .56rem; }
  .headshot figcaption { display: none; }
  .hero__content { grid-column: 1; grid-row: 2; width: 100%; padding: 0 0 82px; }
  .hero__title { max-width: 100%; font-size: clamp(3.2rem, 14.5vw, 6rem); line-height: .95; letter-spacing: -.04em; }
  .hero__lower { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero__actions .button { width: 100%; }
  .hero__index { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .chapter--lift { margin-top: -22px; border-radius: 22px 22px 0 0; }
  .chapter__tab { top: 26px; right: 18px; }
  .chapter__tab span { display: none; }
  .section-heading h2, .contact h2 { font-size: clamp(3.8rem, 17vw, 7rem); line-height: .9; }
  .section-heading__copy { width: min(100%, 390px); }
  .gallery__stage { min-height: 500px; height: 132vw; max-height: 670px; }
  .gallery__arrow { top: auto; bottom: 24px; width: 52px; height: 52px; }
  .gallery__arrow--prev { left: auto; right: 88px; }
  .gallery__arrow--next { right: 24px; }
  .gallery__caption { bottom: 104px; }
  .gallery__rail { grid-template-columns: 1fr; gap: 18px; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 390px) {
  :root { --shell: calc(100% - 28px); }
  .hero__title { font-size: 3.15rem; }
  .hero__lower p { font-size: .95rem; }
  .eyebrow { gap: 10px; font-size: .62rem; }
  .eyebrow__line { width: 36px; }
  .gallery__stage { min-height: 460px; }
  .gallery__number { right: 18px; }
  .headshot { width: 142px; right: auto; margin-right: 6px; }
}

/* Native sticky stacking panels: each chapter remains pinned while the next
   full-screen chapter moves over it in normal scroll order. */
@media (min-width: 901px) and (min-height: 700px) {
  html { scroll-snap-type: y proximity; }
  .chapter { position: sticky; top: 0; min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: normal; }
  .hero { z-index: 1; }
  .work { z-index: 2; height: 100svh; min-height: 700px; padding: 92px 0 28px; }
  .contact { z-index: 3; min-height: 100svh; }
  .work > .section-shell { height: 100%; display: grid; grid-template-columns: minmax(220px, .56fr) minmax(0, 1.52fr); gap: clamp(34px, 4.2vw, 76px); }
  .work .section-heading { min-width: 0; height: 100%; margin: 0; padding: 54px 0 24px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .work .section-heading__copy { width: min(100%, 280px); }
  .work .section-heading h2 { font-size: clamp(4.7rem, 7.2vw, 7.4rem); }
  .work .gallery { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; }
  .work .gallery__stage { height: auto; min-height: 0; }
  .work .gallery__rail { margin-top: 15px; }
  .work .gallery__thumb { min-height: 50px; }
  .work .gallery__note { margin-top: 10px; }
  .chapter--lift::before { content: ""; position: absolute; z-index: 8; inset: 0 0 auto; height: 5px; border-radius: inherit; background: linear-gradient(90deg, var(--yellow) 0 18%, var(--red) 18% 31%, transparent 31%); pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .reveal, .observe { opacity: 1; transform: none; }
  .observe.is-visible { animation: none; }
  .gallery__stage.is-changing::before, .gallery__stage.is-changing::after, .gallery__stage.is-changing .gallery__caption { animation: none; }
}
