:root {
  --paper: #f3f1ec;
  --white: #fbfaf7;
  --ink: #171714;
  --muted: #68675f;
  --line: rgba(23, 23, 20, 0.18);
  --accent: #ba3d2f;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --side: clamp(20px, 4.2vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
button, a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
::selection { background: #d6e6dc; color: var(--ink); }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: white; padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.section-pad { padding-left: var(--side); padding-right: var(--side); }
.eyebrow { margin: 0; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: uppercase; }
.eyebrow.light { color: rgba(255, 255, 255, 0.82); }
.prose p { margin: 0 0 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.large-prose { font-family: var(--serif); font-size: clamp(20px, 2.15vw, 32px); line-height: 1.42; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 72px; padding: 0 var(--side); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: white; transition: color 300ms ease, background 300ms ease, border-color 300ms ease; }
.site-header.scrolled { color: var(--ink); background: rgba(243, 241, 236, 0.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.wordmark { font-family: var(--serif); font-size: 21px; line-height: 1; }
.site-nav { display: flex; gap: 28px; font-size: 13px; }
.site-nav a, .contact-link { position: relative; }
.site-nav a::after, .contact-link::after { content: ""; position: absolute; inset: auto 0 -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 250ms ease; }
.site-nav a:hover::after, .contact-link:hover::after { transform: scaleX(1); transform-origin: left; }
.contact-link { justify-self: end; font-size: 13px; }

.hero { position: relative; min-height: min(880px, 94svh); background: #97969b; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 15, 0.18), rgba(7, 9, 15, 0.02) 48%, rgba(7, 9, 15, 0.6)); }
.hero-content { position: absolute; left: var(--side); bottom: clamp(92px, 14vh, 152px); }
.hero h1 { margin: 14px 0 24px; font-family: var(--serif); font-size: clamp(78px, 13.4vw, 208px); font-weight: 400; line-height: 0.74; letter-spacing: 0; }
.hero-intro { margin: 0; max-width: 390px; font-family: var(--serif); font-size: clamp(19px, 2vw, 28px); line-height: 1.2; }
.hero-scroll { position: absolute; bottom: 30px; left: var(--side); right: var(--side); display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.5); font-size: 12px; }

.manifesto { padding-top: clamp(96px, 14vw, 210px); padding-bottom: clamp(110px, 16vw, 240px); }
.manifesto-grid, .about-grid { display: grid; grid-template-columns: minmax(260px, 0.88fr) minmax(420px, 1.12fr); gap: clamp(48px, 10vw, 170px); margin-top: 46px; align-items: start; }
.manifesto h2, .about h2 { margin: 0; max-width: 600px; font-family: var(--serif); font-size: clamp(44px, 5.2vw, 80px); font-weight: 400; line-height: 0.98; }

.works { background: var(--white); }
.section-heading { padding-top: 108px; padding-bottom: 80px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(72px, 10vw, 150px); font-weight: 400; line-height: 0.9; }
.series { padding-top: clamp(74px, 9vw, 132px); border-bottom: 1px solid var(--line); }
.series-header { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(430px, 0.95fr); gap: clamp(48px, 9vw, 150px); margin-bottom: 66px; }
.series-number { margin: 0 0 18px; font-size: 12px; color: var(--muted); }
.series h3 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 90px); font-weight: 400; line-height: 0.95; }
.series-copy { max-width: 690px; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.45; }
.series-copy .materials { margin-top: 30px; font-family: var(--sans); font-size: 12px; line-height: 1.55; color: var(--muted); }
.gallery-shell { overflow: hidden; }
.gallery { overflow: hidden; padding: 0; cursor: grab; }
.gallery:active { cursor: grabbing; }
.gallery-track { display: flex; gap: clamp(12px, 2vw, 32px); padding-left: var(--side); touch-action: pan-y pinch-zoom; backface-visibility: hidden; }
.artwork { flex: 0 0 auto; min-width: 0; width: min(72vw, 900px); height: clamp(380px, 61vw, 760px); padding: 0; border: 0; background: #e8e6e0; overflow: hidden; cursor: zoom-in; }
.artwork.square { width: min(61vw, 760px); }
.artwork.portrait { width: min(49vw, 610px); }
.artwork img { width: 100%; height: 100%; object-fit: contain; transition: transform 700ms cubic-bezier(.2,.8,.2,1); user-select: none; }
.artwork:hover img { transform: scale(1.018); }
.gallery-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 76px; }
.gallery-count { font-size: 12px; font-variant-numeric: tabular-nums; }
.gallery-actions { display: flex; gap: 8px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.icon-button svg, .lightbox-nav svg, .contact-cta svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover { background: var(--ink); color: white; }

.about { padding-top: clamp(110px, 15vw, 220px); padding-bottom: clamp(120px, 18vw, 260px); }
.trajectory { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(70px, 12vw, 190px); padding-top: 120px; padding-bottom: 150px; background: #dfe7e1; }
.trajectory-title h2 { margin: 28px 0 0; font-family: var(--serif); font-size: clamp(48px, 5.8vw, 88px); font-weight: 400; line-height: 0.98; }
.timeline { border-top: 1px solid var(--ink); }
.timeline details { border-bottom: 1px solid rgba(23, 23, 20, 0.45); }
.timeline summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); }
.timeline summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 8px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 1px; background: currentColor; transition: transform 250ms ease; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
details.is-closing .plus::after { transform: rotate(90deg); }
.timeline ul { list-style: none; padding: 0 0 28px; margin: 0; }
.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 11px 0; font-size: 13px; line-height: 1.5; }
.timeline time { color: var(--muted); }
.timeline strong { font-weight: 600; }
.mentorship { margin: 0 0 28px 74px; font-family: var(--serif); font-size: 17px; }

.contact { min-height: 720px; background: var(--ink); color: var(--white); display: flex; align-items: center; }
.contact-inner { width: 100%; padding-top: 110px; padding-bottom: 100px; }
.contact h2 { margin: 28px 0 54px; max-width: 880px; font-family: var(--serif); font-size: clamp(54px, 7.7vw, 116px); font-weight: 400; line-height: 0.91; }
.contact-cta { display: flex; justify-content: space-between; align-items: center; width: min(100%, 580px); padding: 17px 0; border: 0; border-top: 1px solid rgba(255,255,255,.65); border-bottom: 1px solid rgba(255,255,255,.65); background: transparent; color: white; cursor: pointer; text-align: left; }
.contact-cta span { display: grid; place-items: center; transition: transform 200ms ease; }
.contact-cta:hover span { transform: translate(4px, -4px); }
.contact-email { display: inline-block; margin-top: 26px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.45); font-family: var(--serif); font-size: clamp(16px, 1.5vw, 21px); overflow-wrap: anywhere; }
.contact-note { margin: 80px 0 0; font-size: 12px; color: rgba(255,255,255,.62); }
.footer { display: grid; grid-template-columns: 1fr auto auto; gap: 60px; align-items: end; padding-top: 34px; padding-bottom: 34px; background: var(--ink); color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.18); }
.footer p { margin: 0; font-size: 11px; }

dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(15, 15, 13, 0.92); backdrop-filter: blur(8px); }
.pswp { --pswp-bg: #171714; --pswp-placeholder-bg: #252522; }
.pswp__button { touch-action: manipulation; }
.pswp .pswp__button--zoom { display: none !important; }
.pswp__counter { top: 14px; left: 14px; height: 36px; font-family: var(--sans); font-size: 11px; font-weight: 500; line-height: 36px; opacity: 0.78; }
.pswp__button--close { margin: 8px 8px 0 0; }
.pswp__button--arrow { width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.pswp__button--arrow--prev { left: 16px; }
.pswp__button--arrow--next { right: 16px; }
.contact-dialog { width: min(620px, calc(100vw - 32px)); padding: clamp(30px, 6vw, 70px); background: var(--white); color: var(--ink); }
.contact-dialog h2 { margin: 20px 0; font-family: var(--serif); font-size: clamp(44px, 7vw, 72px); font-weight: 400; line-height: 1; }
.contact-dialog > p:not(.eyebrow) { max-width: 390px; }
.contact-dialog .contact-placeholder { margin-top: 38px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.contact-close { position: absolute; right: 20px; top: 20px; }

@media (max-width: 760px) {
  .site-header { height: 62px; grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .wordmark { font-size: 19px; }
  .hero { min-height: 91svh; }
  .hero-image { object-position: 54% 50%; }
  .hero h1 { font-size: clamp(76px, 27vw, 124px); }
  .hero-intro { width: 260px; }
  .manifesto-grid, .about-grid, .series-header, .trajectory { grid-template-columns: 1fr; }
  .manifesto-grid, .about-grid { gap: 48px; margin-top: 30px; }
  .series-header { gap: 38px; margin-bottom: 46px; }
  .section-heading { padding-top: 76px; padding-bottom: 54px; }
  .artwork, .artwork.square, .artwork.portrait { width: calc(100vw - 52px); height: min(118vw, 590px); }
  .gallery-track { gap: 10px; }
  .gallery-footer { padding-top: 15px; padding-bottom: 56px; }
  .series-copy { font-size: 20px; }
  .trajectory { gap: 70px; padding-top: 86px; padding-bottom: 100px; }
  .timeline li { grid-template-columns: 46px 1fr; gap: 12px; }
  .mentorship { margin-left: 58px; }
  .contact { min-height: 650px; }
  .contact h2 { font-size: clamp(44px, 12.3vw, 58px); line-height: 0.98; }
  .contact h2 br { display: none; }
  .footer { grid-template-columns: 1fr auto; gap: 12px 30px; }
  .footer p:nth-of-type(1) { grid-column: 1 / -1; grid-row: 2; }
  .pswp__button--arrow { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
