:root {
  color-scheme: dark;
  --bg: #211f1d;
  --bg-soft: #2a2825;
  --panel: #2f2c29;
  --ink: #f2efe9;
  --muted: #b1aaa2;
  --line: #423d39;
  --accent: #d7ff45;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --page: min(1440px, calc(100% - 64px));
}

html.theme-warm {
  --bg: #4b4742;
  --bg-soft: #544f49;
  --panel: #5b554f;
  --ink: #f4f0e8;
  --muted: #d0c9c0;
  --line: #766f67;
}

html.theme-warm .section-index { color: #c2bbb2; }
html.theme-warm .filter:not(.is-active) sup { color: #c2bbb2; }
html.theme-warm .filter:hover,
html.theme-warm .filter:focus-visible { border-color: #d0c9c0; }
html.theme-warm .lightbox { background: rgba(31,29,27,.98); }
html.theme-warm .lightbox-tools button:disabled { color: #8b847c; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
}
.skip-link:focus { top: 16px; }

.site-header {
  align-items: center;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid transparent;
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 max(32px, calc((100vw - 1440px) / 2));
  position: fixed;
  right: 0;
  top: 0;
  transition: background .25s ease, border-color .25s ease;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.wordmark { font-size: 20px; font-weight: 500; letter-spacing: .08em; }
.site-nav { display: flex; gap: 34px; }
.site-nav a { color: #d7d5cf; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a::after {
  background: var(--accent);
  content: "";
  display: block;
  height: 1px;
  margin-top: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}
.hero-art { inset: 0; position: absolute; }
.hero-art img { height: 100%; object-fit: cover; object-position: center 42%; width: 100%; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10,10,10,.86) 0%, rgba(10,10,10,.48) 48%, rgba(10,10,10,.12) 78%),
    linear-gradient(0deg, rgba(10,10,10,.68) 0%, transparent 42%);
  inset: 0;
  position: absolute;
}
.hero-copy {
  bottom: 9vh;
  left: max(32px, calc((100vw - 1440px) / 2));
  position: absolute;
  z-index: 2;
}
.kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(74px, 11vw, 170px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .78;
  margin: 0;
  max-width: 1100px;
}
.hero-link {
  border-bottom: 1px solid rgba(240,238,232,.55);
  display: inline-flex;
  font-size: 13px;
  gap: 56px;
  letter-spacing: .08em;
  margin-top: 64px;
  padding-bottom: 8px;
  text-transform: uppercase;
}
.hero-link:hover { border-color: var(--accent); color: var(--accent); }

.section { margin: 0 auto; width: var(--page); }
.position, .about {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 36px;
  grid-template-columns: 80px minmax(300px, .9fr) minmax(380px, 1fr);
  padding: 140px 0 160px;
}
.section-index { color: #8b847c; font-size: 12px; letter-spacing: .12em; padding-top: 8px; }
.section-heading h2, .works h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .95;
  margin: 0;
}
.section-heading .position-title { font-size: clamp(42px, 5vw, 76px); }
.statement { max-width: 700px; padding-top: 38px; }
.statement p { color: #cfcdc7; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.58; margin: 0 0 1.35em; }
.statement p:first-child { color: var(--ink); font-family: var(--serif); font-size: inherit; font-style: italic; }
.statement em { font-family: var(--serif); font-size: 1.06em; }

.works { border-top: 1px solid var(--line); padding: 120px 0 150px; }
.works-topline { align-items: end; display: flex; gap: 40px; justify-content: space-between; }
.works-topline h2 {
  font-family: var(--sans);
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filter {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .05em;
  padding: 10px 16px;
  transition: .2s ease;
}
.filter sup { color: #a09890; margin-left: 4px; }
.filter:hover, .filter:focus-visible { border-color: #8b837b; color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter.is-active sup { color: #5a5854; }
.series-group {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 28px;
  transition: opacity .2s ease, transform .35s ease;
}
.series-group-beyond { margin-top: 180px; }
.series-group.is-hidden + .series-group-beyond { margin-top: 64px; }
.series-group.is-hidden { display: none; }
.series-group.is-entering { opacity: 0; transform: translateY(18px); }
.series-header {
  display: block;
  margin-bottom: 86px;
}
.series-header .kicker { margin-bottom: 14px; }
.series-header h3 {
  font-family: var(--serif);
  font-size: clamp(48px, 5.6vw, 82px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .95;
  margin: 0;
}
.series-statement { color: #cfcdc7; margin-top: 38px; max-width: 700px; }
.series-statement p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.58; margin: 0; }
.series-statement em { font-family: var(--serif); font-size: 1.04em; }
.gallery { align-items: start; display: grid; gap: 82px 24px; grid-template-columns: repeat(12, 1fr); }
.work {
  --art-height: 66vh;
  --caption-width: 620px;
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  transition: opacity .2s ease, transform .35s ease;
}
.work-small { --art-height: 58vh; --caption-width: 500px; grid-column: span 4; }
.work-medium { grid-column: span 5; }
.work-featured { --art-height: 74vh; --caption-width: 700px; grid-column: span 6; }
.work-large { --art-height: 78vh; --caption-width: 760px; grid-column: span 7; }
.gallery-white .work:nth-child(1) { grid-column: 3 / span 7; }
.gallery-white .work:nth-child(2) { grid-column: 1 / span 10; }
.gallery-white .work:nth-child(3) { grid-column: 2 / span 9; }
.gallery-white .work:nth-child(4) { --art-height: 70vh; grid-column: 3 / span 7; }
.gallery-white .work:nth-child(5) { grid-column: 1 / span 10; }
.gallery-white .work:nth-child(6) { grid-column: 2 / span 7; }
.gallery-white .work:nth-child(7) { grid-column: 6 / span 7; }
.gallery-white .work:nth-child(8) { grid-column: 8 / span 5; }
.gallery-beyond .work:nth-child(1) { grid-column: 1 / span 5; }
.gallery-beyond .work:nth-child(2) { grid-column: 7 / span 5; margin-top: 110px; }
.gallery-beyond .work:nth-child(3) { grid-column: 1 / span 5; }
.gallery-beyond .work:nth-child(4) { grid-column: 7 / span 5; margin-top: 110px; }
.work-open {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: fit-content;
}
.work-open img {
  height: auto;
  margin: 0 auto;
  max-height: min(var(--art-height), 780px);
  max-width: 100%;
  transform: scale(1.001);
  transition: transform .6s cubic-bezier(.2,.75,.25,1), filter .4s ease;
  width: auto;
}
.work-open:hover img { filter: brightness(.82); transform: scale(1.025); }
.zoom-hint {
  background: var(--accent);
  border-radius: 999px;
  bottom: 16px;
  color: #111;
  font-size: 11px;
  letter-spacing: .08em;
  opacity: 0;
  padding: 8px 12px;
  position: absolute;
  right: 16px;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: .25s ease;
}
.work-open:hover .zoom-hint, .work-open:focus-visible .zoom-hint { opacity: 1; transform: translateY(0); }
.work figcaption {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  max-width: min(100%, var(--caption-width));
  padding-top: 13px;
  width: 100%;
}
.work figcaption span { font-family: var(--serif); font-size: 21px; font-style: italic; }
.work figcaption small { color: var(--muted); font-size: 11px; padding-top: 5px; text-align: right; }

.about { padding-bottom: 120px; }
.about-copy { max-width: 660px; padding-top: 38px; }
.about-copy > p { color: #d0cec8; font-size: clamp(18px, 1.65vw, 24px); margin: 0 0 1.2em; }
.contact-card { border-top: 1px solid var(--line); margin-top: 70px; padding-top: 28px; }
.contact-card .kicker { margin-bottom: 14px; }
.contact-card > p:not(.kicker) { margin: 0 0 22px; }
.contact-placeholder { color: var(--muted); display: block; font-size: 13px; margin: 7px 0; }
.contact-placeholder:hover,
.contact-placeholder:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 30px 0 40px;
  text-transform: uppercase;
  width: var(--page);
}
.site-footer a:hover { color: var(--accent); }

.lightbox {
  background: rgba(16,15,14,.98);
  border: 0;
  color: var(--ink);
  height: 100dvh;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 0;
  width: 100vw;
}
.lightbox::backdrop { background: rgba(0,0,0,.96); }
.lightbox-shell { display: grid; grid-template-columns: 80px 1fr 80px; grid-template-rows: 62px 1fr 72px; height: 100%; }
.lightbox-topbar {
  align-items: center;
  display: flex;
  grid-column: 2;
  grid-row: 1;
  justify-content: space-between;
}
.lightbox-tools { align-items: center; display: flex; gap: 5px; }
.lightbox-tools button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  height: 34px;
  line-height: 1;
  min-width: 34px;
  padding: 0 9px;
}
.lightbox-tools button:hover, .lightbox-tools button:focus-visible { border-color: var(--ink); }
.lightbox-tools button:disabled { color: #625d58; cursor: default; }
.lightbox-tools output { color: var(--muted); font-size: 11px; min-width: 46px; text-align: center; }
.lightbox-tools .zoom-reset { font-size: 11px; letter-spacing: .05em; margin-left: 5px; text-transform: uppercase; }
.lightbox-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lightbox-close:hover { color: var(--ink); }
.lightbox-stage {
  align-items: center;
  display: flex;
  grid-column: 2;
  grid-row: 2;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
}
.lightbox-stage img {
  cursor: zoom-in;
  max-height: calc(100dvh - 134px);
  max-width: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform .18s ease;
  user-select: none;
  will-change: transform;
}
.lightbox-stage.is-zoomed img { cursor: grab; }
.lightbox-stage.is-dragging img { cursor: grabbing; transition: none; }
.lightbox-nav {
  align-self: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
  grid-row: 2;
}
.lightbox-nav:hover { color: var(--accent); }
.lightbox-prev { grid-column: 1; }
.lightbox-next { grid-column: 3; }
.lightbox-caption { align-items: center; display: flex; gap: 28px; grid-column: 2; grid-row: 3; justify-content: space-between; }
.lightbox-caption-copy { align-items: baseline; display: flex; gap: 24px; min-width: 0; }
.lightbox-caption span { font-family: var(--serif); font-size: 18px; white-space: nowrap; }
.lightbox-caption small { color: var(--muted); }
.lightbox-help { font-size: 10px; letter-spacing: .04em; text-align: right; text-transform: uppercase; }
.lightbox-help-touch { display: none; }

@media (max-width: 900px) {
  :root { --page: calc(100% - 36px); }
  .site-header { height: 66px; padding: 0 18px; }
  .menu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font-size: 11px;
    gap: 10px;
    letter-spacing: .1em;
    padding: 10px 0;
    text-transform: uppercase;
    z-index: 2;
  }
  .menu-toggle i, .menu-toggle i::after { background: currentColor; content: ""; display: block; height: 1px; transition: .2s ease; width: 20px; }
  .menu-toggle i::after { transform: translateY(5px); }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { transform: rotate(-90deg); }
  .site-nav {
    align-items: flex-start;
    background: var(--bg);
    flex-direction: column;
    gap: 28px;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 80px 28px;
    pointer-events: none;
    position: fixed;
    transition: opacity .2s ease;
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; }
  .site-nav a { font-family: var(--serif); font-size: 46px; letter-spacing: -.02em; text-transform: none; }
  .hero-copy { bottom: 8vh; left: 18px; right: 18px; }
  .hero h1 { font-size: clamp(60px, 21vw, 120px); }
  .hero-overlay { background: linear-gradient(0deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.08) 72%); }
  .position, .about { grid-template-columns: 36px 1fr; padding: 100px 0; }
  .statement, .about-copy { grid-column: 2; padding-top: 24px; }
  .works { padding: 90px 0 110px; }
  .works-topline { align-items: flex-start; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .series-header { gap: 22px; grid-template-columns: 1fr; margin-bottom: 56px; }
  .series-group-beyond { margin-top: 120px; }
  .gallery { gap: 52px 18px; grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(12, 1fr); }
  .gallery .work-small { grid-column: auto / span 5 !important; margin-top: 0 !important; }
  .gallery .work-medium { grid-column: auto / span 6 !important; margin-top: 0 !important; }
  .gallery .work-featured { grid-column: auto / span 7 !important; margin-top: 0 !important; }
  .gallery .work-large { grid-column: auto / span 8 !important; margin-top: 0 !important; }
  .gallery .work:nth-child(even) { margin-top: 70px !important; }
  .work figcaption { flex-direction: column; }
  .work figcaption small { padding: 0; text-align: left; }
  .lightbox-shell { grid-template-columns: 48px 1fr 48px; grid-template-rows: 58px 1fr 94px; }
  .lightbox-caption { align-items: flex-start; flex-direction: column; gap: 5px; justify-content: center; }
  .lightbox-caption-copy { align-items: flex-start; flex-direction: column; gap: 1px; }
}

@media (max-width: 580px) {
  .hero-art img { object-position: 57% center; }
  .hero-link { gap: 36px; margin-top: 42px; }
  .position, .about { gap: 14px; grid-template-columns: 28px 1fr; }
  .section-heading h2, .works h2 { font-size: 52px; }
  .works-topline h2 { font-size: 28px; }
  .statement p, .statement p:first-child, .about-copy > p { font-size: 18px; }
  .filters { flex-wrap: nowrap; margin: 0 -18px; overflow-x: auto; padding: 0 18px 8px; width: calc(100% + 36px); }
  .filter { flex: 0 0 auto; }
  .series-header h3 { font-size: 46px; }
  .series-statement { margin-top: 28px; }
  .series-statement p { font-size: 18px; }
  .gallery { display: flex; flex-direction: column; gap: 0; }
  .gallery .work, .gallery .work:nth-child(even) { grid-column: auto !important; margin: 0 0 60px !important; }
  .gallery .work-small { width: 78%; }
  .gallery .work-medium { width: 90%; }
  .gallery .work-featured, .gallery .work-large { width: 100%; }
  .gallery .work:nth-child(even) { align-self: flex-end; }
  .work-open { width: 100%; }
  .work-open img { max-height: none; width: 100%; }
  .lightbox-shell { grid-template-columns: 22px 1fr 22px; grid-template-rows: 60px 1fr 106px; }
  .lightbox-tools .zoom-reset { display: none; }
  .lightbox-nav { font-size: 20px; }
  .lightbox-caption small { font-size: 10px; }
}

@media (pointer: coarse) {
  .lightbox-help-mouse { display: none; }
  .lightbox-help-touch { display: block; }
}

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