@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --paper: #ecece8;
  --ink: #161713;
  --muted: #656862;
  --line: #c9cbc5;
  --accent: #315646;
  --max: 1440px;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
}

* { box-sizing: border-box; }
.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; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button { color: inherit; font: inherit; }

.site-header, .site-footer, main { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 108px; border-bottom: 1px solid var(--line); }
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand span { font-family: var(--serif); font-size: 1.42rem; font-weight: 700; line-height: 1.1; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; }
nav { display: flex; gap: clamp(20px, 3vw, 48px); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
nav a { position: relative; text-decoration: none; }
nav a::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; background: var(--ink); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
nav a:hover::after, nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { margin-bottom: 24px; font-size: clamp(4rem, 9vw, 9.5rem); line-height: .82; letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4vw, 4.7rem); line-height: .95; }
.eyebrow { margin-bottom: 22px; color: var(--accent); font-size: .69rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.text-link { font-size: .77rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); gap: clamp(40px, 7vw, 120px); align-items: center; min-height: calc(100vh - 108px); padding: clamp(56px, 8vw, 120px) 0; }
.hero-copy { padding-left: clamp(0px, 3vw, 48px); }
.hero h1 { max-width: 620px; }
.hero-portrait { width: min(100%, 440px); margin: 0 0 28px; }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 56% center; }
.work-details { margin: 0 0 40px; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.image-button { width: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.hero-image { justify-self: end; width: min(100%, 760px); }
.hero-image img { width: 100%; max-height: 78vh; object-fit: contain; object-position: right center; }

.selected-section { padding: 150px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.section-heading h2 { margin-bottom: 0; }
.selected-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.selected-card { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.selected-card:nth-child(3) { margin-top: 80px; }
.selected-card img { width: 100%; margin-bottom: 14px; transition: opacity .25s ease; }
.selected-card:hover img { opacity: .86; }
.selected-card--wide { grid-row: span 2; }
.statement-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: end; padding: 120px 0; border-top: 1px solid var(--line); }
.statement-strip p { max-width: 1000px; margin-bottom: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 4.8rem); line-height: 1.14; letter-spacing: -.025em; }

.page-intro { max-width: 1000px; padding: 100px 0 120px; }
.page-intro h1 { margin-bottom: 40px; }
.page-intro > p:last-child { max-width: 540px; color: var(--muted); }
.work-intro { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: end; max-width: none; padding: 130px 0 110px; border-bottom: 1px solid var(--ink); }
.work-intro h1 { margin: 0; font-size: clamp(5rem, 11vw, 11rem); line-height: .78; }
.work-intro > p { margin-bottom: 4px; padding-left: 24px; border-left: 1px solid var(--line); font-size: .78rem; line-height: 1.8; }
.art-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 150px clamp(20px, 3.2vw, 52px); align-items: start; padding: 130px 0 180px; counter-reset: artwork; }
.artwork { margin: 0; scroll-margin-top: 40px; }
.artwork { grid-column: span 6; counter-increment: artwork; }
.artwork:nth-child(6n + 1) { grid-column: 1 / span 7; }
.artwork:nth-child(6n + 2) { grid-column: 9 / span 4; margin-top: 180px; }
.artwork:nth-child(6n + 3) { grid-column: 2 / span 4; }
.artwork:nth-child(6n + 4) { grid-column: 7 / span 6; margin-top: 80px; }
.artwork:nth-child(6n + 5) { grid-column: 1 / span 5; margin-top: 120px; }
.artwork:nth-child(6n) { grid-column: 7 / span 6; }
.artwork img { width: 100%; max-height: 76vh; object-fit: contain; object-position: left bottom; transition: opacity .25s ease; }
.artwork button:hover img { opacity: .86; }
.artwork figcaption { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: baseline; gap: 14px; margin-top: 16px; padding-top: 11px; border-top: 1px solid var(--ink); }
.artwork figcaption::before { color: var(--accent); content: counter(artwork, decimal-leading-zero); font-size: .62rem; letter-spacing: .06em; }
.artwork h2 { display: none; }
.artwork p { margin: 0; color: var(--muted); font-size: .72rem; text-align: right; }

.about-layout { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: clamp(50px, 10vw, 170px); padding: 110px 0 150px; }
.about-layout h1 { font-size: clamp(4rem, 8vw, 8rem); }
.about-portrait { margin: 0; }
.about-portrait img { width: 100%; max-height: 820px; object-fit: cover; object-position: center top; }
.about-portrait figcaption { margin-top: 12px; color: var(--muted); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.about-image-column { display: grid; gap: 70px; align-self: start; }
.about-studio-photo { justify-self: stretch; width: 100%; margin: 0; }
.about-studio-photo img { width: 100%; height: auto; object-fit: contain; }
.about-studio-photo figcaption { margin-top: 12px; color: var(--muted); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.about-copy { max-width: 760px; color: #34332f; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.65; }
.about-copy .lead { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 4rem); line-height: 1.12; }
.about-copy h2 { margin: 70px 0 18px; font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: .9rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(70px, 11vw, 180px); padding: 120px 0 160px; }
.contact-intro { position: sticky; top: 50px; align-self: start; }
.contact-intro h1 { max-width: 680px; font-size: clamp(4rem, 7vw, 7.7rem); line-height: .9; }
.contact-photo { margin: 0 0 38px; }
.contact-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.contact-intro > p:not(.eyebrow) { max-width: 430px; margin: 36px 0 22px; color: var(--muted); }
.contact-intro > a { font-size: .8rem; letter-spacing: .04em; }
.inquiry-form { display: grid; gap: 34px; padding-top: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inquiry-form label { display: grid; gap: 10px; color: var(--muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: none; background: transparent; color: var(--ink); font: 1rem var(--sans); letter-spacing: normal; text-transform: none; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.submit-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 12px; padding: 18px 0; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; transition: padding .2s ease, color .2s ease; }
.submit-button:hover { padding-inline: 12px; color: var(--accent); }
.form-note { margin: -18px 0 0; color: var(--muted); font-size: .68rem; }

.exhibition-section > h2 { margin-bottom: 24px; font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.exhibitions-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 280px); gap: clamp(50px, 10vw, 150px); align-items: center; }
.archive-poster { width: 100%; margin: 70px 0; transform: rotate(1.2deg); }
.archive-poster img { width: 100%; box-shadow: 0 18px 45px rgb(22 23 19 / .14); }
.archive-poster figcaption { margin-top: 12px; color: var(--muted); font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; }
.exhibition-list { margin-bottom: 100px; border-top: 1px solid var(--line); }
.exhibition-item { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.exhibition-item h3 { margin-bottom: 5px; font-size: 1.35rem; }
.exhibition-item p { margin-bottom: 0; color: var(--muted); font-size: .82rem; }
.exhibition-date { color: var(--accent) !important; }

.site-footer { display: flex; justify-content: space-between; gap: 32px; padding: 48px 0; border-top: 1px solid var(--ink); color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 28px; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; padding: 56px; border: 0; background: rgba(20, 20, 18, .96); }
.lightbox::backdrop { background: rgba(20, 20, 18, .96); }
.lightbox img { width: 100%; height: 100%; cursor: zoom-in; object-fit: contain; transform-origin: center; transition: transform .2s ease; }
.lightbox img.is-zoomed { cursor: zoom-out; }
.lightbox button { padding: 8px; border: 0; background: none; color: white; cursor: pointer; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.lightbox-close { position: fixed; top: 20px; right: 28px; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); }
.lightbox-previous { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-counter { position: fixed; right: 0; bottom: 16px; left: 0; margin: 0; color: rgb(255 255 255 / .65); font-size: .64rem; letter-spacing: .12em; text-align: center; }
.lightbox-zoom-controls { position: fixed; top: 18px; left: 22px; display: flex; align-items: center; gap: 5px; color: white; }
.lightbox-zoom-controls button { position: static; min-width: 34px; font-size: 1rem; }
.lightbox-zoom-controls span { min-width: 46px; color: rgb(255 255 255 / .65); font-size: .62rem; text-align: center; }

@media (max-width: 760px) {
  .site-header, .site-footer, main { width: min(100% - 32px, var(--max)); }
  .site-header { display: block; min-height: 0; padding: 22px 0 18px; }
  .brand span { font-size: 1.25rem; }
  .brand small { display: none; }
  nav { justify-content: space-between; gap: 10px; margin-top: 18px; font-size: .6rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 48px 0 80px; }
  .hero-copy { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; order: 2; }
  .hero-copy .eyebrow, .hero-copy h1 { grid-column: 1 / -1; }
  .hero-portrait { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(3.5rem, 19vw, 6rem); }
  .hero-image { order: 1; }
  .selected-section { padding: 90px 0; }
  .section-heading { align-items: flex-start; }
  .selected-grid, .statement-strip, .about-layout { grid-template-columns: 1fr; }
  .selected-card:nth-child(3) { margin-top: 24px; }
  .statement-strip { gap: 36px; padding: 80px 0; }
  .page-intro { padding: 70px 0 90px; }
  .page-intro h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .work-intro { grid-template-columns: 1fr; gap: 50px; padding: 80px 0; }
  .work-intro > p { padding-left: 0; border-left: 0; }
  .art-grid { grid-template-columns: 1fr; gap: 88px; padding: 90px 0 110px; }
  .artwork:nth-child(n) { grid-column: 1; width: 100%; margin-top: 0; }
  .artwork figcaption { grid-template-columns: 28px 1fr; }
  .artwork p { margin-top: 4px; text-align: left; }
  .about-layout { padding: 70px 0 100px; }
  .about-studio-photo { width: 100%; }
  .contact-layout { grid-template-columns: 1fr; gap: 80px; padding: 80px 0 110px; }
  .contact-intro { position: static; }
  .form-row { grid-template-columns: 1fr; gap: 34px; }
  .lightbox { padding: 42px 12px 12px; }
  .lightbox-nav { top: auto; bottom: 12px; transform: none; }
  .lightbox-counter { bottom: 20px; }
  .lightbox-zoom-controls { top: 12px; left: 8px; }
  .exhibition-item { grid-template-columns: 66px minmax(0, 1fr); gap: 15px; }
  .exhibitions-intro-grid { grid-template-columns: 1fr; gap: 0; align-items: start; }
  .archive-poster { justify-self: end; width: min(48%, 190px); margin: 0 0 70px; }
  .archive-poster figcaption { display: none; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
