@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&family=Italiana&family=Manrope:wght@300;400;500&display=swap');

:root { --paper: #eeeae1; --ink: #161614; --red: #cb3b2e; --line: rgba(22,22,20,.24); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Manrope', sans-serif; font-weight: 300; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
main { overflow-x: clip; max-width: 100%; }

.nav { min-height: 108px; padding: 26px 3vw; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; border-bottom: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.wordmark { font-size: 18px; font-weight: 500; letter-spacing: -.04em; min-width: 0; }
.wordmark span { color: var(--red); margin: 0 .12em; }
.nav-note { margin: 0; line-height: 1.45; justify-self: center; }
.nav nav { justify-self: end; display: flex; flex-wrap: wrap; gap: 30px; }
.nav nav a { position: relative; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1px; background: currentColor; transition: right .25s; }
.nav nav a:hover::after { right: 0; }

.hero { min-height: calc(100vh - 108px); position: relative; padding: 4.8vh 3vw 3vh; display: flex; flex-direction: column; }
.hero-kicker, .eyebrow, .section-head, .hero-side, .scroll-cue { font-family: 'DM Mono', monospace; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }
.hero-kicker { margin-left: 28%; max-width: 42%; }
.hero h1 { position: relative; z-index: 2; font-family: 'Italiana', serif; font-size: clamp(64px, 12vw, 218px); font-weight: 400; letter-spacing: -.06em; line-height: .82; margin: 7vh 0 0; max-width: 58%; overflow-wrap: anywhere; }
.hero h1 em { font-weight: 400; margin-left: 12vw; display: inline-block; }
.hero-image { position: absolute; width: min(35vw, 480px); height: min(70vh, 720px); right: 8.5vw; top: 9vh; margin: 0; z-index: 1; }
.hero-image img { filter: saturate(.72) sepia(.08); }
.hero-image figcaption { position: absolute; left: calc(100% + 14px); bottom: 0; width: 110px; font-family: 'DM Mono'; font-size: 9px; line-height: 1.5; text-transform: uppercase; }
.hero-side { position: absolute; left: 3vw; bottom: 6vh; display: flex; gap: 34px; z-index: 2; }
.scroll-cue { position: absolute; bottom: 6vh; right: 3vw; border-bottom: 1px solid currentColor; padding-bottom: 5px; z-index: 2; min-height: 44px; display: inline-flex; align-items: center; }
.scroll-cue span { color: var(--red); margin-left: 14px; }

.intro { min-height: 86vh; padding: 11vh 3vw; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2.45fr; position: relative; }
.eyebrow { margin: 0; }
.eyebrow::before { content: '•'; color: var(--red); margin-right: 9px; }
.intro-copy { font-family: 'Italiana', serif; font-size: clamp(36px, 5.2vw, 78px); line-height: 1.08; letter-spacing: -.035em; margin: 0; max-width: 1040px; overflow-wrap: anywhere; }
.intro-copy em { color: var(--red); font-weight: 400; }
.intro-meta { grid-column: 2; align-self: end; display: flex; gap: 17vw; font-family: 'DM Mono'; text-transform: uppercase; font-size: 9px; letter-spacing: .08em; line-height: 1.7; }

.work { padding: 0 3vw 14vh; }
.section-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); }
.section-head p { margin: 0; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.3vw; row-gap: 18vh; align-items: start; }
.project { margin: 0; min-width: 0; }
.project--wide { grid-column: 1 / 10; }
.project--wide .image-wrap { aspect-ratio: 1.65; }
.project--portrait { grid-column: 8 / 13; }
.project--portrait .image-wrap { aspect-ratio: .72; }
.project--square { grid-column: 1 / 7; }
.project--square .image-wrap { aspect-ratio: 1; }
.project--landscape { grid-column: 4 / 13; }
.project--landscape .image-wrap { aspect-ratio: 1.55; }
.image-wrap { display: block; overflow: hidden; position: relative; background: #d4cfc4; }
.image-wrap img { transition: transform .8s cubic-bezier(.2,.75,.25,1), filter .5s; filter: saturate(.76); }
.project:hover img { transform: scale(1.025); filter: saturate(.95); }
.view-label { position: absolute; right: 12px; top: 12px; background: var(--paper); padding: 10px 12px; font: 10px 'DM Mono'; text-transform: uppercase; opacity: 0; transform: translateY(-5px); transition: .25s; }
.project:hover .view-label { opacity: 1; transform: none; }
/* Title + meta only. Never reserve an empty index column. */
.project-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px 24px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  margin-top: 8px;
  min-width: 0;
}
.project-caption span, .project-caption p { font: 10px/1.4 'DM Mono'; text-transform: uppercase; letter-spacing: .06em; margin: 0; text-align: right; }
.project-caption h2 { font: 400 clamp(25px, 2.5vw, 40px)/1.15 'Italiana'; letter-spacing: -.025em; margin: 0; min-width: 0; overflow-wrap: anywhere; }

.quote { min-height: 85vh; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10vh 3vw; }
.quote p { font: 400 clamp(36px, 6vw, 90px)/1.1 'Italiana'; letter-spacing: -.04em; margin: 0 0 40px; overflow-wrap: anywhere; }
.quote span { color: #918c82; font: 9px 'DM Mono'; text-transform: uppercase; letter-spacing: .1em; }

.contact { min-height: 94vh; background: var(--red); color: var(--paper); padding: 8vh 3vw 3vh; display: flex; flex-direction: column; }
.contact .eyebrow::before { color: var(--ink); }
.contact h2 { font: 400 clamp(56px, 11vw, 190px)/.84 'Italiana'; letter-spacing: -.055em; margin: auto 0 7vh; overflow-wrap: anywhere; max-width: 100%; }
.contact > a { width: 100%; border-top: 1px solid rgba(238,234,225,.6); border-bottom: 1px solid rgba(238,234,225,.6); padding: 16px 0; min-height: 52px; font: 11px 'DM Mono'; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding-top: 26px; font: 9px/1.65 'DM Mono'; text-transform: uppercase; letter-spacing: .06em; }
.contact-footer p { margin: 0; min-width: 0; }
.contact-footer p:nth-child(2) { justify-self: center; }
.contact-footer p:nth-child(3) { justify-self: end; text-align: right; }

@media (max-width: 1100px) {
  .hero-kicker { margin-left: 0; max-width: none; }
  .hero h1 { max-width: 100%; font-size: clamp(56px, 11vw, 140px); }
  .hero h1 em { margin-left: 6vw; }
  .hero-image { position: relative; width: min(72vw, 520px); height: auto; aspect-ratio: .72; right: auto; top: auto; margin: 48px 0 80px auto; }
  .hero-image figcaption { position: static; width: auto; margin-top: 10px; }
  .hero-side, .scroll-cue { position: static; margin-top: 8px; }
  .hero { padding-bottom: 48px; }
}

@media (max-width: 760px) {
  .nav { min-height: 72px; grid-template-columns: 1fr auto; padding: 16px 20px; gap: 12px; align-items: center; }
  .nav-note { display: none; }
  .nav nav { gap: 8px 18px; justify-self: end; }
  .nav nav a { font-size: 12px; padding: 12px 0; }
  .hero { min-height: auto; padding: 28px 20px 40px; }
  .hero h1 { font-size: clamp(52px, 16vw, 88px); margin-top: 36px; line-height: .88; }
  .hero h1 em { margin-left: 0; }
  .hero-image { width: 100%; margin: 36px 0 24px; }
  .hero-side { display: none; }
  .scroll-cue { align-self: flex-start; }
  .intro { min-height: auto; padding: 64px 20px 48px; display: block; }
  .intro-copy { font-size: clamp(32px, 9vw, 42px); margin-top: 28px; }
  .intro-meta { margin-top: 48px; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .work { padding: 0 20px 90px; }
  .section-head > p:last-child { display: none; }
  .project-grid { display: block; }
  .project { margin-bottom: 64px; }
  .project--wide .image-wrap, .project--landscape .image-wrap { aspect-ratio: 1.15; }
  .project--portrait .image-wrap { aspect-ratio: .78; margin-left: 0; width: 85%; margin-left: auto; }
  .project--square .image-wrap { aspect-ratio: 1; margin-right: 0; width: 88%; }
  .project-caption { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .project-caption p { text-align: left; padding-top: 4px; }
  .project-caption h2 { font-size: clamp(26px, 8vw, 34px); line-height: 1.25; padding-bottom: 2px; }
  .quote { min-height: auto; padding: 80px 20px; }
  .quote p { font-size: clamp(32px, 9vw, 48px); }
  .contact { min-height: auto; padding: 56px 20px 28px; }
  .contact h2 { font-size: clamp(48px, 14vw, 88px); margin: 48px 0; }
  .contact-footer { grid-template-columns: 1fr 1fr; }
  .contact-footer p:nth-child(2) { justify-self: end; text-align: right; }
  .contact-footer p:nth-child(3) { display: none; }
}

@media (max-width: 400px) {
  .nav nav { gap: 6px 12px; }
  .nav nav a { font-size: 11px; }
  .hero h1 { font-size: 15.5vw; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .image-wrap img { transition: none; } }
