:root {
  --bg: #ffffff;
  --text: #171717;
  --muted: #737373;
  --line: #dddddd;
  --soft: #f4f4f2;
  --page-pad: clamp(18px, 3vw, 44px);
  --header-h: 86px;
  --max: 1680px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .58; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: #000; color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.site-header { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 20px var(--page-pad); border-bottom: 3px solid #171717; position: relative; z-index: 20; background: rgba(255,255,255,.98); }
.brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name { font-size: 17px; line-height: 1.1; font-weight: 600; letter-spacing: .015em; }
.brand-role { font-size: 12px; color: var(--muted); }
.desktop-nav { display: flex; gap: 26px; align-items: center; font-size: 13px; }
.desktop-nav a[aria-current="page"] { border-bottom: 1px solid currentColor; }
.mobile-menu-button { display: none; border: 0; background: none; padding: 8px 0 8px 12px; cursor: pointer; }
.mobile-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 12px var(--page-pad) 22px; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: grid; gap: 14px; }
.page { width: min(100%, var(--max)); margin: 0 auto; padding: 0 var(--page-pad); }
.home-intro { padding-top: clamp(18px, 2.5vw, 36px); padding-bottom: clamp(22px, 3vw, 46px); max-width: 650px; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.35; }

/* Homepage after hero removal: keep the opening compact. */
body[data-page="home"] .home-intro { margin: 0; padding-top: 22px; padding-bottom: 18px; }
body[data-page="home"] .home-intro:empty { display: none; }
body[data-page="home"] .section-block { padding-top: 22px; }
.home-feature { width: 100%; min-height: min(74vh, 900px); position: relative; display: grid; grid-template-rows: minmax(420px, 1fr) auto; }
.feature-stage { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; background: #fafafa; overflow: hidden; }
.feature-image { width: 100%; height: min(72vh, 850px); object-fit: contain; }
.feature-control { position: absolute; top: 0; bottom: 0; width: 18%; border: 0; background: transparent; cursor: pointer; opacity: 0; }
.feature-control:focus-visible { opacity: 1; outline: 1px solid #000; outline-offset: -4px; }
.feature-prev { left: 0; cursor: w-resize; }
.feature-next { right: 0; cursor: e-resize; }
.feature-meta { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0 0; min-height: 32px; font-size: 12px; color: var(--muted); }
.feature-count { white-space: nowrap; }
.section-block { padding: clamp(64px, 8vw, 120px) 0 30px; }
.section-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading { margin: 0; font-size: 16px; font-weight: 500; }
.section-intro { margin: 0; color: var(--muted); font-size: 13px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 62px) clamp(16px, 2vw, 30px); }
.portfolio-card { display: block; }
.portfolio-cover { background: transparent; overflow: visible; }
.portfolio-cover img { width: 100%; height: auto; object-fit: contain; transition: transform .35s ease; }
.portfolio-card:hover { opacity: 1; }
.portfolio-card:hover .portfolio-cover img { transform: scale(1.012); }
.portfolio-card-title { margin: 10px 0 2px; font-size: 14px; font-weight: 500; }
.portfolio-card-blurb { margin: 0; color: var(--muted); font-size: 12px; max-width: 36em; }
.page-head { padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 5vw, 74px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr); gap: 36px; border-top: 1px solid var(--line); }
.page-title { margin: 0; font-size: clamp(28px, 3.2vw, 54px); line-height: 1.05; font-weight: 400; letter-spacing: -.02em; }
.page-intro { margin: 3px 0 0; max-width: 660px; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.45; }
.gallery-wrap { padding-bottom: 70px; }
.gallery-columns { column-count: 3; column-gap: clamp(10px, 1.4vw, 22px); }
.gallery-item { break-inside: avoid; margin: 0 0 clamp(18px, 2vw, 30px); display: inline-block; width: 100%; }
.gallery-button { width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.gallery-button img { width: 100%; height: auto; }
.figure-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.figure-caption-main { display: grid; gap: 1px; max-width: 82%; }
.figure-title { color: var(--text); }
.figure-meta, .figure-year { color: var(--muted); }
.figure-credit { display: block; color: var(--text); }
.empty-message { color: var(--muted); padding: 30px 0 80px; }
.info-layout { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 100px) 0 clamp(70px, 9vw, 140px); display: grid; grid-template-columns: minmax(180px, .7fr) minmax(320px, 1.3fr); gap: clamp(40px, 8vw, 130px); }
.info-title { margin: 0; font-size: clamp(28px, 3vw, 50px); font-weight: 400; line-height: 1.05; }
.info-main { max-width: 760px; }
.info-role { font-size: 17px; margin: 0 0 46px; }
.info-section { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 38px; }
.info-section:first-of-type { margin-top: 0; }
.info-label { margin: 0 0 16px; font-size: 12px; color: var(--muted); }
.info-copy { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; margin: 0 0 18px; }
.text-link { display: inline-block; border-bottom: 1px solid currentColor; font-size: 13px; margin: 6px 18px 0 0; }
.contact-layout { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 100px) 0 clamp(70px, 9vw, 140px); display: grid; grid-template-columns: minmax(220px, .75fr) minmax(320px, 1.25fr); gap: clamp(40px, 8vw, 130px); }
.contact-copy { max-width: 500px; }
.contact-copy h1 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 50px); font-weight: 400; }
.contact-copy p { font-size: 17px; line-height: 1.55; }
.contact-email { display: inline-block; margin-top: 18px; border-bottom: 1px solid currentColor; }
.contact-form { max-width: 680px; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 12px; margin-bottom: 7px; color: var(--muted); }
.form-row input, .form-row textarea { width: 100%; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; background: transparent; padding: 9px 0; outline: none; }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: #000; }
.submit-button { border: 1px solid #1b1b1b; background: #fff; padding: 11px 22px; cursor: pointer; }
.submit-button:hover { background: #1b1b1b; color: #fff; }
.form-status { margin-top: 15px; font-size: 13px; }
.hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; }
.museum-intro { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 100px) 0 50px; display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 7vw, 120px); }
.eyebrow { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.museum-title { margin: 0; font-size: clamp(32px, 4vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; }
.museum-lead { margin: 3px 0 28px; max-width: 620px; font-size: clamp(17px, 1.35vw, 22px); }
.meta-block { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; max-width: 620px; }
.meta-label { font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.meta-copy { margin: 0; font-size: 13px; }
.museum-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(28px, 4vw, 66px) clamp(16px, 2vw, 30px); padding-bottom: 80px; }
.museum-item button { cursor: zoom-in; width: 100%; border: 0; padding: 0; background: none; }
.museum-item img { width: 100%; height: auto; }
.museum-context { border-top: 1px solid var(--line); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 7vw, 120px); padding: 30px 0 100px; }
.museum-context h2 { margin: 0; font-size: 14px; font-weight: 500; }
.museum-context p { margin: 0; max-width: 650px; font-size: 16px; line-height: 1.6; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(255,255,255,.98); display: none; grid-template-rows: 54px minmax(0,1fr) 50px; }
.lightbox.open { display: grid; }
.lightbox-top { display: flex; justify-content: flex-end; align-items: center; padding: 0 20px; }
.lightbox-close { border: 0; background: none; cursor: pointer; padding: 10px; font-size: 13px; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 50px; }
.lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-nav { position: absolute; top: 0; bottom: 0; width: 20%; border: 0; background: none; opacity: 0; }
.lightbox-prev { left: 0; cursor: w-resize; }
.lightbox-next { right: 0; cursor: e-resize; }
.lightbox-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 10px 20px 14px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.lightbox-text { display: grid; gap: 1px; }
#featureTitle { display: grid; gap: 1px; }
.site-footer { width: min(100%, var(--max)); margin: 0 auto; padding: 24px var(--page-pad) 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 25px; font-size: 11px; color: var(--muted); }
.not-found { min-height: calc(100vh - var(--header-h) - 80px); display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(32px, 4vw, 58px); font-weight: 400; margin: 0 0 16px; }
.not-found p { color: var(--muted); }
.not-found a { display: inline-block; border-bottom: 1px solid currentColor; margin-top: 12px; }
@media (max-width: 980px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-columns { column-count: 2; }
  .page-head, .info-layout, .contact-layout, .museum-intro, .museum-context { grid-template-columns: 1fr; gap: 28px; }
  .info-main, .contact-form { max-width: none; }
}
@media (max-width: 700px) {
  :root { --header-h: 72px; }
  .site-header { min-height: var(--header-h); padding-top: 16px; padding-bottom: 16px; }
  .brand-role { display: none; }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: block; }
  .home-feature { min-height: auto; grid-template-rows: auto auto; }
  .feature-stage { min-height: 0; height: 62vh; }
  .feature-image { height: 62vh; }
  .portfolio-grid { grid-template-columns: 1fr; row-gap: 42px; }
  .gallery-columns { column-count: 1; }
  .museum-grid { grid-template-columns: 1fr; }
  .section-heading-row { display: block; }
  .section-intro { margin-top: 5px; }
  .page-head { padding-top: 34px; }
  .feature-control { width: 26%; }
  .lightbox-stage { padding: 0 12px; }
  .site-footer { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portfolio-cover img { transition: none; }
}

.page-back-wrap { width: min(100%, var(--max)); margin: 0 auto; padding: 14px var(--page-pad) 0; }
.page-back { appearance: none; border: 0; background: transparent; color: #171717; padding: 0; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.page-back:hover, .page-back:focus-visible { text-decoration-thickness: 2px; }

/* Direct email contact page */
.contact-layout-direct { align-items: start; }
.contact-action { padding-top: 4px; }
.contact-action-label { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
.contact-email-large { margin-top: 0; font-size: clamp(20px, 2.4vw, 38px); line-height: 1.2; font-weight: 400; overflow-wrap: anywhere; }
