:root {
  --bg: #f4f0e6;
  --text: #111;
  --muted: #57534a;
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  line-height: 1.35;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .55; }
.site-shell { max-width: var(--max); margin: 0 auto; padding: 38px 46px 60px; min-height: 100vh; }
.topbar { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.brand { letter-spacing: .28em; font-size: 14px; white-space: nowrap; }
.nav { display: flex; gap: 44px; letter-spacing: .18em; font-size: 13px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 90px; margin-top: 92px; align-items: start; }
.portrait-wrap { max-width: 610px; }
.portrait { width: 100%; display: block; filter: saturate(.92) contrast(.96); }
.home-copy { max-width: 520px; padding-top: 6px; }
.intro { font-size: 17px; margin: 0 0 54px; max-width: none; white-space: nowrap; }
.info-block { margin: 0 0 34px; }
.info-block h2 { margin: 0 0 11px; font-size: 13px; letter-spacing: .12em; font-weight: 700; }
.info-block p { margin: 0; }
.year { display: inline-block; width: 52px; }
.bottom-home { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; max-width: 520px; }
.bottom-home h2 { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; }
.bottom-home a { display: block; width: fit-content; margin-bottom: 4px; }

.page-title { margin: 112px 0 70px; font-size: 13px; letter-spacing: .18em; font-weight: 400; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); row-gap: 90px; column-gap: 34px; align-items: start; }
.card { position: relative; display: block; overflow: hidden; background: #ddd8ce; }
.card img { width: 100%; display: block; transition: transform .35s ease, filter .35s ease; }
.card-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,.56), transparent 55%); color: white; opacity: 0; transition: opacity .22s ease; font-size: 13px; letter-spacing: .08em; }
.card:hover .card-overlay { opacity: 1; }
.card:hover img { transform: scale(1.015); }
.card-1 { grid-column: 1 / span 7; }
.card-2 { grid-column: 9 / span 4; margin-top: 130px; }
.card-3 { grid-column: 2 / span 4; }
.card-4 { grid-column: 7 / span 6; margin-top: 55px; }
.card-5 { grid-column: 1 / span 5; margin-top: 25px; }
.card-6 { grid-column: 8 / span 4; margin-top: 145px; }
.card-7 { grid-column: 3 / span 7; margin-top: 20px; }

.project { max-width: 1180px; margin: 104px auto 0; }
.project-head { display: flex; justify-content: space-between; gap: 40px; align-items: baseline; margin-bottom: 46px; }
.project-head h1 { font-size: 18px; font-weight: 400; letter-spacing: .06em; margin: 0; }
.project-head .year-only { color: var(--muted); }
.project-hero img { width: 100%; display: block; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 34px; }
.project-gallery img { width: 100%; display: block; }
.honors { margin-top: 92px; max-width: 820px; }
.honors h2 { font-size: 13px; letter-spacing: .12em; margin: 0 0 26px; }
.honor-year { margin: 28px 0 8px; font-weight: 700; }
.honors p { margin: 0 0 7px; }
.back { margin-top: 78px; display: inline-block; }

.work-meta { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,.66), transparent 62%); color: white; opacity: 0; transition: opacity .22s ease; }
.card:hover .work-meta { opacity: 1; }
.work-meta strong { font-weight: 400; letter-spacing: .08em; }
.work-meta span { font-size: 12px; margin-top: 5px; opacity: .9; }
.note { color: var(--muted); font-size: 12px; margin-top: 7px; }

@media (max-width: 900px) {
  .site-shell { padding: 26px 22px 44px; }
  .brand { white-space: normal; line-height: 1.45; }
  .nav { gap: 22px; }
  .home-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 62px; }
  .portrait-wrap { max-width: 100%; }
  .home-copy { max-width: 100%; }
  .intro { margin-bottom: 38px; white-space: normal; }
  .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .gallery .card { grid-column: auto !important; margin-top: 0 !important; }
  .card-overlay, .work-meta { opacity: 1; }
  .project { margin-top: 62px; }
  .project-gallery { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .topbar { grid-template-columns: 1fr; gap: 18px; }
  .nav { justify-content: flex-start; }
  .home-grid { margin-top: 46px; }
  .bottom-home { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: 1fr; row-gap: 26px; }
  .page-title { margin: 70px 0 34px; }
  .project-head { flex-direction: column; gap: 8px; margin-bottom: 28px; }
}

/* V2 film index: denser editorial composition */
.film-grid { margin-top: 105px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:54px 28px; align-items:start; }
.film-tile { display:block; background:transparent; overflow:visible; }
.film-tile img { display:block; width:100%; aspect-ratio:1.55/1; object-fit:cover; }
.film-tile.film-wide img { aspect-ratio:1.9/1; }
.film-tile span { display:flex; justify-content:space-between; gap:15px; margin-top:11px; font-size:12px; letter-spacing:.04em; }
.film-tile b { font-weight:400; }
.film-tile small { font:inherit; }
.film-tile:hover { opacity:1; }
.film-tile:hover img { opacity:.78; }
.film-tile:nth-child(1) { grid-column:span 2; }
.film-tile:nth-child(5) { grid-column:span 2; }
.film-tile:nth-child(7) { grid-column:2/span 2; }

/* V2 work index */
.work-index { margin-top:110px; display:grid; grid-template-columns:minmax(560px,1.05fr) minmax(360px,.95fr); gap:64px; align-items:start; }
.work-list { border-top:1px solid rgba(17,17,17,.18); }
.work-row { min-height:68px; display:grid; grid-template-columns:36px minmax(190px,1.35fr) minmax(180px,1fr) 48px; gap:14px; align-items:center; border-bottom:1px solid rgba(17,17,17,.18); font-style:normal; transition:opacity .15s ease; }
.work-row span,.work-row em,.work-row time { font-size:11px; font-style:normal; }
.work-row strong { font-size:14px; font-weight:400; }
.work-row time { text-align:right; }
.work-list:hover .work-row { opacity:.36; }
.work-list .work-row:hover,.work-list .work-row.active:hover { opacity:1; }
.work-preview { margin:0; position:sticky; top:38px; }
.work-preview img { width:100%; height:auto; max-height:570px; object-fit:cover; display:block; }

@media(max-width:900px){.film-grid{grid-template-columns:1fr 1fr;margin-top:70px;gap:34px 22px}.film-tile:nth-child(n){grid-column:auto}.work-index{grid-template-columns:1fr;margin-top:70px;gap:38px}.work-preview{position:static;order:-1}.work-row{grid-template-columns:28px 1.2fr 1fr 42px}}
@media(max-width:560px){.film-grid{grid-template-columns:1fr}.work-row{grid-template-columns:24px 1fr 42px;min-height:62px}.work-row em{display:none}.work-preview img{max-height:none}}

.hero-link{display:block;cursor:pointer}.hero-link img{display:block;width:100%}

.unreleased { margin-top: 1.25rem; font-family: inherit; letter-spacing: 0.08em; }
