:root {
  --bg: #f4f1ec;
  --surface: #ebe6de;
  --ink: #161514;
  --muted: #6b665f;
  --line: #d8d1c6;
  --dark: #141312;
  --dark-ink: #ede8e0;
  --accent: #b5452f;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }

.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 {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.brand { font-family: var(--serif); font-size: 26px; text-decoration: none; line-height: 1; }
.site-header ul { display: flex; gap: clamp(14px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.site-header nav a {
  text-decoration: none; font-size: 14px; color: var(--muted);
  transition: color .2s;
}
.site-header nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 48px; align-items: center;
  padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(64px, 10vw, 128px);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.lede { font-size: clamp(18px, 2vw, 21px); max-width: 30ch; color: var(--muted); margin-bottom: 32px; }
.button {
  display: inline-block; padding: 14px 26px;
  border: 1px solid var(--ink); border-radius: 999px;
  text-decoration: none; font-size: 14px; letter-spacing: 0.02em;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--ink); color: var(--bg); }
.hero-art { margin: 0; }
.hero-art img { width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; gap: 64px; min-height: calc(100vh - 64px); }
  .hero-art { justify-self: end; max-width: 460px; }
}

/* Section heads */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2,
.about h2,
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section-head p:last-child { color: var(--muted); font-size: 18px; }

/* Series gallery */
.series {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) var(--gutter);
  border-top: 1px solid var(--line);
}
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(32px, 4vw, 56px) clamp(16px, 3vw, 40px);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } }

.work {
  display: block; width: 100%; padding: 0; border: 0; background: var(--surface);
  cursor: zoom-in; overflow: hidden;
}
.work img {
  width: 100%; aspect-ratio: 14 / 20; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.work:hover img { transform: scale(1.025); }
.gallery h3 { font-family: var(--serif); font-size: 26px; margin-top: 16px; line-height: 1.2; }
.gallery li p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* Statement */
.statement { background: var(--dark); color: var(--dark-ink); }
.statement-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 12vw, 160px) var(--gutter);
  display: grid; gap: 40px;
}
.statement .eyebrow { color: #9a948a; }
.statement blockquote { margin: 0; }
.pull {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 16ch;
}
.statement-body { max-width: 62ch; color: #c9c3b9; }
@media (min-width: 900px) {
  .statement-inner { grid-template-columns: 1fr 1fr; column-gap: 80px; }
  .statement .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
}

/* About */
.about {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) var(--gutter);
  display: grid; gap: 48px; align-items: start;
}
.about-photo { margin: 0; max-width: 420px; }
.about-text > p { max-width: 62ch; }
@media (min-width: 900px) {
  .about { grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
  .about-photo { position: sticky; top: 100px; }
}
.cv {
  display: grid; gap: 32px; margin-top: 48px; padding-top: 40px;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .cv { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.cv h3 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cv ul { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 1.5; }
.cv li { margin-bottom: 12px; }
.cv li span { display: block; font-size: 12px; color: var(--muted); }

/* Contact */
.contact {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) var(--gutter);
  border-top: 1px solid var(--line);
}
.contact-text > p { color: var(--muted); max-width: 52ch; }
.ig-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--ink); white-space: nowrap;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line);
}
.ig-link:hover { text-decoration-color: var(--ink); }
.ig-icon { flex: none; }
@media (max-width: 520px) {
  .site-header ul { gap: 14px; }
  .site-header nav a { font-size: 13px; white-space: nowrap; }
}
.contact-links { margin-top: 40px; }
.contact-big {
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s;
  overflow-wrap: anywhere;
}
.contact-big:hover { border-bottom-color: var(--ink); }
.contact-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.contact-ig { display: inline-block; margin-top: 16px; font-size: 15px; }

/* Footer */
.site-footer {
  max-width: var(--max); margin: 0 auto;
  padding: 32px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 13px; color: var(--muted);
}
.site-footer p { margin: 0; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0;
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  background: #0e0d0c; color: var(--dark-ink);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; padding: 56px 16px 24px; }
.lightbox img { max-height: calc(100vh - 150px); max-width: min(90vw, 900px); width: auto; object-fit: contain; }
.lightbox figcaption { color: #b6afa4; text-align: center; margin-top: 16px; }
.lightbox figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--dark-ink); }
.lb-close, .lb-nav {
  position: absolute; background: none; border: 0; color: var(--dark-ink);
  font-size: 28px; cursor: pointer; padding: 12px 16px; line-height: 1;
  opacity: .7; transition: opacity .2s;
}
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; font-size: 36px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
