:root {
  --paper: #f1efe9;
  --ink: #1a1917;
  --muted: #6a6861;
  --line: #c9c5bb;
  --accent: #d43b2c;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body.menu-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }

.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  z-index: 100;
  top: .75rem;
  left: .75rem;
  width: auto;
  height: auto;
  padding: .7rem 1rem;
  clip: auto;
  background: var(--ink);
  color: white;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; }
.brand span { font-size: .95rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.brand small { color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); }
.main-nav a { position: relative; font-size: .75rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.main-nav a::after { position: absolute; right: 100%; bottom: -.35rem; left: 0; height: 1px; background: var(--ink); content: ""; transition: right .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(20rem, .85fr) minmax(25rem, 1.15fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  min-height: 100svh;
  padding: 7rem var(--pad) 4rem;
  overflow: hidden;
}
.hero::before {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: -7vw;
  width: 30vw;
  height: 30vw;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}
.eyebrow { margin: 0 0 1.2rem; color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: .91; }
h1 { max-width: 8ch; font-size: clamp(4rem, 8.2vw, 8.5rem); }
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.hero-intro { max-width: 28rem; margin: 2.3rem 0; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.text-link { display: inline-flex; gap: 2rem; align-items: center; padding-bottom: .3rem; border-bottom: 1px solid; font-size: .72rem; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--accent); font-size: 1rem; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; max-height: 72vh; object-fit: cover; box-shadow: 0 1.5rem 4rem rgba(25, 20, 18, .16); }
.hero-art figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .75rem; color: var(--muted); font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }
.hero-index { position: absolute; bottom: 1.2rem; left: var(--pad); margin: 0; color: var(--muted); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }

.section-pad { padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.works { background: #171715; color: #f2f0ea; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading h2, .statement h2, .vita h2, .contact h2 { font-size: clamp(3.8rem, 7.5vw, 8rem); }
.section-heading > p { max-width: 26rem; margin: 0 0 .6rem auto; color: #aaa79f; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.filters { display: flex; gap: .65rem; margin-bottom: 3rem; }
.filter { padding: .55rem 1rem; border: 1px solid #4a4944; border-radius: 3rem; background: none; color: #aaa79f; cursor: pointer; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.filter:hover, .filter.is-active { border-color: var(--accent); background: var(--accent); color: white; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem) clamp(1rem, 2vw, 2rem); }
.art-card { grid-column: span 4; margin: 0; opacity: 0; transform: translateY(20px); animation: reveal .55s forwards; }
.art-card:nth-child(5n + 1), .art-card:nth-child(5n + 4) { grid-column: span 5; }
.art-card:nth-child(5n + 2), .art-card:nth-child(5n + 5) { grid-column: span 3; }
.art-card:nth-child(5n + 3) { grid-column: span 4; }
.art-button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.art-image-wrap { overflow: hidden; background: #252522; }
.art-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); transition: filter .45s, transform .6s; }
.art-card:nth-child(3n) img { aspect-ratio: 1 / 1; }
.art-card:nth-child(4n) img { aspect-ratio: 5 / 4; }
.art-button:hover img, .art-button:focus-visible img { filter: saturate(1.08); transform: scale(1.025); }
.art-card figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.art-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-weight: 400; }
.art-card span { color: #8e8b83; font-size: .6rem; letter-spacing: .1em; text-align: right; text-transform: uppercase; }
.gallery-status { position: absolute; overflow: hidden; width: 1px; height: 1px; }
.gallery-more-wrap { margin-top: 4rem; text-align: center; }
.button { padding: .85rem 1.5rem; border: 1px solid #6a6861; border-radius: 3rem; background: transparent; color: white; cursor: pointer; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.button:hover { border-color: white; }
@keyframes reveal { to { opacity: 1; transform: none; } }

.statement { position: relative; display: grid; grid-template-columns: .3fr .9fr 1fr; gap: clamp(2rem, 6vw, 7rem); overflow: hidden; }
.statement-number { color: var(--accent); font-family: Georgia, serif; font-size: 1rem; }
.statement-copy { padding-top: clamp(5rem, 9vw, 10rem); }
.statement-copy p { max-width: 35rem; color: var(--muted); }
.statement-copy .lead { color: var(--ink); font-family: Georgia, serif; font-size: clamp(1.5rem, 2.3vw, 2.3rem); line-height: 1.25; }

.vita { display: grid; grid-template-columns: minmax(18rem, .8fr) 1.2fr; gap: clamp(3rem, 9vw, 10rem); align-items: center; background: #d9d5cc; }
.vita-image { margin: 0; }
.vita-image img { width: 100%; max-height: 75vh; object-fit: cover; }
.vita-image figcaption { margin-top: .6rem; color: var(--muted); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.vita-lead { max-width: 33rem; margin: 2rem 0 3rem; font-family: Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid #aaa69c; }
.timeline time { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.timeline span { color: #504e48; font-size: .88rem; }

.contact { min-height: 75vh; background: var(--accent); color: #fff8ef; }
.contact .eyebrow { color: #351512; }
.contact h2 { max-width: 12ch; }
.contact h2 em { color: #351512; }
.contact-mail { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 8vw, 7rem); padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.5); font-family: Georgia, serif; font-size: clamp(1.5rem, 4vw, 4rem); text-decoration: none; }
.contact-mail span { color: #351512; }
.contact-meta { display: flex; justify-content: space-between; align-items: end; margin-top: 2rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-meta p { margin: 0; }
.site-footer { display: flex; justify-content: space-between; padding: 1.2rem var(--pad); background: #171715; color: #8e8b83; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer p { margin: 0; }

.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; padding: 4rem clamp(1rem, 5vw, 5rem) 2rem; border: 0; background: rgba(16, 16, 14, .96); color: white; }
.lightbox[open] { display: grid; grid-template-columns: 3rem 1fr 3rem; align-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox figure { display: grid; justify-items: center; min-width: 0; height: 100%; margin: 0; }
.lightbox img { width: auto; height: calc(100% - 3rem); max-height: 78vh; object-fit: contain; }
.lightbox figcaption { display: flex; gap: 1rem; justify-content: space-between; width: min(100%, 60rem); margin-top: 1rem; }
.lightbox figcaption strong { font-family: Georgia, serif; font-weight: 400; }
.lightbox figcaption span { color: #9e9b93; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.lightbox-close { position: absolute; top: 1.2rem; right: var(--pad); border: 0; background: none; cursor: pointer; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.lightbox-arrow { padding: 1rem; border: 0; background: none; cursor: pointer; font-size: 1.5rem; }

@media (max-width: 820px) {
  .brand small { display: none; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 6px; width: 2rem; padding: .4rem 0; border: 0; background: none; }
  .menu-toggle span:not(.sr-only) { display: block; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: var(--pad); background: var(--accent); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .main-nav a { font-family: Georgia, serif; font-size: clamp(2.8rem, 13vw, 5rem); letter-spacing: -.04em; text-transform: none; }
  .menu-open .main-nav { opacity: 1; pointer-events: auto; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 8rem; }
  .hero-copy { z-index: 1; }
  .hero-art { margin-left: 10vw; }
  .hero-art img { max-height: 58vh; }
  .hero-index { display: none; }
  .section-heading, .vita { grid-template-columns: 1fr; }
  .section-heading > p { margin-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .art-card, .art-card:nth-child(n) { grid-column: span 1; }
  .statement { grid-template-columns: 1fr; }
  .statement-number { display: none; }
  .statement-copy { padding-top: 0; }
  .vita-image { width: 80%; }
}

@media (max-width: 520px) {
  .hero { align-content: center; min-height: auto; padding-bottom: 6rem; }
  h1 { font-size: clamp(3.7rem, 18vw, 5.5rem); }
  .hero-art { margin-left: 8vw; }
  .hero-art figcaption span:last-child { display: none; }
  .section-heading h2, .statement h2, .vita h2, .contact h2 { font-size: clamp(3.3rem, 16vw, 5rem); }
  .gallery { gap: 2rem .8rem; }
  .art-card figcaption { display: block; }
  .art-card span { display: block; margin-top: .2rem; text-align: left; }
  .filters { overflow-x: auto; padding-bottom: .5rem; }
  .filter { white-space: nowrap; }
  .vita-image { width: 100%; }
  .timeline li { grid-template-columns: 5.5rem 1fr; }
  .contact-mail { font-size: 1.25rem; }
  .contact-meta { align-items: start; }
  .lightbox[open] { grid-template-columns: 2rem 1fr 2rem; padding-right: .5rem; padding-left: .5rem; }
  .lightbox-arrow { padding: .2rem; }
  .lightbox figcaption { display: block; padding: 0 .5rem; }
  .lightbox figcaption span { display: block; margin-top: .3rem; }
}

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