:root {
  --ink: #161616;
  --paper: #f7f6f2;
  --panel: #ffffff;
  --muted: #68645e;
  --line: rgba(22, 22, 22, 0.16);
  --soft-line: rgba(22, 22, 22, 0.08);
  --content: 1080px;
  --wide: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 54px);
  background: rgba(247, 246, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.site-header.light { color: var(--ink); }
.brand {
  display: grid;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.05;
  text-transform: uppercase;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 12px;
  font-weight: 680;
  text-transform: uppercase;
}
.nav a { color: var(--muted); }
.nav a:hover, .nav .active { color: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}
.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  filter: saturate(0.9);
}
.hero-shade {
  background:
    linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.12) 58%, rgba(0,0,0,.34)),
    linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.1));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content));
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  color: #fff;
}
.eyebrow, .section-kicker {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  text-transform: uppercase;
}
.hero .eyebrow { color: rgba(255,255,255,.72); }
h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6.2vw, 82px);
  line-height: 1;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.02;
}
h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}
.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.55;
}
.hero .lead { color: rgba(255,255,255,.78); }

.hero-actions, .inline-actions, .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.button, .inline-actions a, .socials a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}
.button.primary {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.button.ghost { color: #fff; }
.inline-actions a, .socials a { color: var(--ink); }

.page-hero {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 54px) clamp(38px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero.slim { padding-bottom: 38px; }
.page-hero h1 { max-width: 980px; color: var(--ink); }
.page-hero .lead { color: var(--muted); }

.section {
  padding: clamp(68px, 10vw, 126px) clamp(18px, 4vw, 54px);
}
.section > * {
  width: min(100%, var(--content));
  margin-left: auto;
  margin-right: auto;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}
.copy, .about-copy, .contact-panel {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
}
.copy p, .about-copy p, .contact-panel p { margin-bottom: 18px; }

.image-band {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  width: min(calc(100% - clamp(36px, 8vw, 144px)), var(--wide));
  margin: 0 auto clamp(68px, 10vw, 126px);
}
.image-band img {
  height: clamp(360px, 48vw, 720px);
  object-fit: cover;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  width: min(100%, var(--content));
  margin: 0 auto;
}
.portrait-wrap { background: #e5e2dc; }
.portrait {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
}

.stills-section {
  padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 54px) clamp(82px, 12vw, 150px);
}
.stills-list {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  gap: clamp(72px, 10vw, 132px);
}
.still-project {
  display: grid;
  grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  padding-top: clamp(30px, 5vw, 58px);
  border-top: 1px solid var(--line);
}
.still-meta {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 12px;
}
.still-meta > p:first-child, .still-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  text-transform: uppercase;
}
.still-meta h2 {
  margin: 0;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1.05;
}
.still-summary {
  margin: 0;
  color: var(--muted);
}
.still-count { color: var(--ink); }
.still-gallery {
  display: grid;
  gap: 14px;
}
.still-cover, .still-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
}
.still-cover picture, .still-thumb picture {
  display: block;
  width: 100%;
}
.still-cover img, .still-thumb img {
  display: block;
  width: 100%;
  height: auto;
  background: #e1dfd9;
  transition: transform .55s ease, opacity .55s ease;
}
.still-cover:hover img, .still-thumb:hover img {
  opacity: .88;
  transform: scale(1.015);
}
.still-cover img {
  max-height: 78vh;
  object-fit: contain;
}
.still-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.still-thumb {
  align-self: start;
}
.project-sentinel {
  min-height: 1px;
}
.load-more {
  justify-self: start;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.load-more span {
  margin-left: 8px;
  color: var(--muted);
}
.load-more:hover {
  background: var(--ink);
  color: var(--paper);
}
.load-more:hover span { color: rgba(247,246,242,.72); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(10, 10, 10, .88);
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease;
}
.lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.lightbox figure {
  width: min(100%, 1380px);
  max-height: 90vh;
  margin: 0;
  display: grid;
  gap: 12px;
  transform: scale(.965);
  transition: transform .38s ease;
}
.lightbox.is-visible figure { transform: scale(1); }
.lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}
.lightbox figcaption {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  text-transform: uppercase;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.22);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  cursor: pointer;
}
.lightbox-open {
  overflow: hidden;
}

.cv-hero {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 54px) 38px;
  text-align: center;
}
.cv-hero p {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.5vw, 64px);
  line-height: 1;
}
.cv-hero h1 {
  margin: 0 auto;
  max-width: 860px;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.04;
}
.cv-browser {
  padding: 0 clamp(18px, 4vw, 54px) clamp(70px, 10vw, 126px);
}
.cv-filter {
  display: grid;
  gap: 9px;
  width: min(100%, 460px);
  margin: 0 auto 38px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 640;
}
.cv-filter select {
  width: 100%;
  min-height: 46px;
  padding: 0 40px 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.cv-table {
  display: grid;
  width: min(100%, var(--content));
  margin: 0 auto;
}
.cv-row {
  display: grid;
  grid-template-columns: 74px minmax(190px, .95fr) minmax(0, 2.25fr);
  gap: clamp(16px, 3vw, 38px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cv-year {
  color: var(--muted);
  font-size: 14px;
}
.cv-title {
  font-size: clamp(19px, 2vw, 29px);
  font-weight: 740;
  line-height: 1.16;
}
.cv-title a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.cv-details {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}
.cv-cell {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}
.cv-cell strong {
  font-size: 12px;
  line-height: 1.1;
}
.cv-cell span {
  color: var(--ink);
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: clamp(30px, 6vw, 80px);
  width: min(100%, var(--content));
  margin: 0 auto clamp(60px, 9vw, 110px);
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mail {
  display: block;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 4vw, 54px) clamp(82px, 12vw, 140px);
}
.legal-block {
  padding: 26px 0;
  border-bottom: 1px solid var(--soft-line);
}
.legal-block:first-child {
  padding-top: 0;
}
.legal-block h2 {
  margin-bottom: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 720;
  line-height: 1.2;
}
.legal-block p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.cookie-banner {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  width: min(calc(100% - 28px), 920px);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(247, 246, 242, .96);
  box-shadow: 0 18px 60px rgba(22, 22, 22, .14);
  backdrop-filter: blur(16px);
}
.cookie-banner p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.cookie-banner p:last-child {
  margin-bottom: 0;
}
.cookie-banner a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cookie-title {
  color: var(--ink) !important;
  font-weight: 720;
  text-transform: uppercase;
}
.cookie-actions {
  display: flex;
  gap: 8px;
}
.cookie-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  cursor: pointer;
}
.cookie-primary {
  background: var(--ink);
  color: var(--paper);
}
.cookie-secondary {
  background: transparent;
  color: var(--ink);
}

@media (max-width: 920px) {
  .split, .about-section, .contact, .still-project {
    grid-template-columns: 1fr;
  }
  .still-meta { position: static; }
  .still-grid {
    columns: 2 180px;
  }
  .cv-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cv-details {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    font-size: 11px;
  }
  .hero {
    min-height: 82vh;
  }
  .image-band {
    grid-template-columns: 1fr;
  }
  .image-band img {
    height: auto;
  }
  .still-grid {
    columns: 1;
  }
  .cv-details {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
  }
  .cookie-banner {
    grid-template-columns: 1fr;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions button {
    flex: 1;
  }
}
