@font-face {
  font-family: "Cormorant Garamond";
  src: url("./fonts/cormorant-garamond.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Urbanist;
  src: url("./fonts/urbanist.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --title-font: "Cormorant Garamond", Georgia, serif;
  --ink: #171713;
  --paper: #faf9f4;
  --lime: #dcf752;
  --line: #c2c0b5;
  --muted: #515148;
  --image-mat: #eeede8;
  --gutter: 18px;
  color: var(--ink);
  background: var(--paper);
  font-family: Urbanist, Arial, sans-serif;
  font-weight: 500;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; color: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #3a4f00; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--title-font); font-weight: 700; letter-spacing: -.025em; }
.wrap { width: 100%; padding-inline: var(--gutter); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 12px;
  background: var(--lime);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--ink); }
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 5vw, 24px);
  min-height: 65px;
  padding-inline: var(--gutter);
}
.brand { display: grid; place-items: center; min-width: 62px; min-height: 48px; margin-right: auto; }
.brand img { width: 62px; height: 43px; object-fit: contain; }
.primary-nav { display: none; align-items: center; gap: clamp(24px, 4vw, 54px); }
.primary-nav a { display: flex; min-height: 44px; align-items: center; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current], .menu nav a:hover { text-decoration: underline; }
.primary-nav a[aria-current] { font-weight: bold; }

.menu-toggle {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { width: 24px; height: 1px; background: var(--ink); }
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  overscroll-behavior: contain;
}
html:has(.menu[open]) { overflow: hidden; }
.menu-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  min-height: 65px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.menu-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.menu-close span { font-size: 1.8rem; font-weight: 400; line-height: 1; }
.menu-content { padding: 24px var(--gutter) 32px; }
.menu nav { border-top: 1px solid var(--line); }
.menu nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 700 clamp(2.3rem, 9vw, 4rem)/1 var(--title-font);
  text-decoration: none;
}
.menu nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; }
.menu-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 25px; }
.menu-contact a { display: inline-flex; min-height: 44px; align-items: center; }
.menu address { margin-top: 12px; color: var(--muted); font-style: normal; line-height: 1.5; }

main { min-height: 60vh; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  font-size: .875rem;
  font-weight: bold;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #33332a; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: white; }

.hero { width: 100%; }
.hero-photo { width: 100%; height: clamp(240px, 75vw, 350px); object-fit: cover; object-position: 50% 8%; }
.hero-copy { background: var(--lime); padding: 18px var(--gutter); }
.hero-copy h1, .page-heading h1 { font-size: clamp(2.5rem, 12vw, 4.4rem); line-height: .98; }
.hero-copy h1 { max-width: 8em; }
.hero-label { margin-bottom: 10px; font-size: .82rem; font-weight: bold; }
.hero-meta, .section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 10px 14px;
}
.hero-meta { margin-top: 12px; align-items: center; }
.hero-meta p { font-size: .98rem; }
.home-archive { padding-block: 22px 34px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 16px; }
.section-heading h2 {
  max-width: 8em;
  font-size: clamp(1.8rem, 8.3vw, 2.85rem);
  line-height: 1.01;
}
.home-grid, .art-grid {
  display: grid;
  gap: 20px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.show-card { display: block; text-decoration: none; }
.show-card:hover strong { text-decoration: underline; }
.show-card img { width: 100%; aspect-ratio: 1.32; object-fit: cover; background: var(--image-mat); }
.show-card strong { display: block; margin-top: 9px; font-size: .98rem; }
.show-card span, .archive-entry .entry-label > span { display: block; margin-top: 5px; color: var(--muted); font-size: .875rem; }

.page-heading { padding-top: 25px; }
.page-heading h1 { max-width: 10em; }
.page-heading p { margin-top: 13px; font-size: 1.1rem; line-height: 1.4; }
.archive-page, .info-page { padding-bottom: 34px; }
.archive-search { margin: 22px 0 25px; }
.archive-search label { display: block; }
.archive-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #828074;
  border-radius: 0;
  padding: 10px 12px;
  background: transparent;
}
.archive-search input::placeholder { color: var(--muted); opacity: 1; }
.archive-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.archive-list li { border-bottom: 1px solid var(--line); }
.archive-entry {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding-block: 10px;
  text-decoration: none;
}
.archive-entry:hover strong { text-decoration: underline; }
.archive-entry img { width: 84px; aspect-ratio: 1.3; object-fit: cover; background: var(--image-mat); }
.archive-entry strong { font-size: 1.08rem; }
.empty-state { display: flex; gap: 12px; padding-block: 12px; align-items: center; flex-wrap: wrap; }
.empty-state[hidden] { display: none; }

.breadcrumbs { margin-bottom: 15px; font-size: .875rem; line-height: 1.5; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 3px 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
.crumb-separator { margin-right: 8px; color: var(--muted); }
.breadcrumbs a { text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--muted); }
.exhibition-photo {
  width: 100%;
  height: auto;
  max-height: 610px;
  margin: 22px auto 0;
  object-fit: cover;
  aspect-ratio: 1.58;
  object-position: 50% 40%;
  background: var(--image-mat);
}
.art-section { padding-block: 24px 15px; }
.art-section h2, .room-section h2, .info-page h2 { margin-bottom: 14px; font-size: clamp(2rem, 7vw, 2.65rem); line-height: 1.05; }
.art-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 9px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.art-card img { width: 100%; height: auto; aspect-ratio: .9; object-fit: contain; background: var(--image-mat); }
.art-card:hover .button { background: var(--ink); color: white; }
.art-copy { display: grid; align-content: start; gap: 5px; }
.art-copy strong {
  font-family: var(--title-font);
  font-size: clamp(1.22rem, 4.5vw, 1.55rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.art-copy span { font-size: .85rem; line-height: 1.3; }
.art-copy .art-meta { color: var(--muted); }
.exhibition-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.room-section { padding-block: 24px 34px; }
.room-copy { max-width: 650px; border-top: 1px solid var(--ink); padding-top: 14px; }
.room-copy p { margin-bottom: 10px; line-height: 1.55; }
.room-copy .room-credit { margin-top: 15px; color: var(--muted); font-size: .85rem; }
.room-copy .button { margin-top: 5px; }
.info-content { display: grid; gap: 20px; padding-top: 22px; max-width: 36rem; }
.info-content address { font-style: normal; line-height: 1.5; }
.info-content p { line-height: 1.5; }
.info-content .button { justify-self: start; }

.about-section {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-block: 26px 38px;
}
.about-section h2 { font-size: clamp(2.35rem, 7vw, 3.65rem); line-height: 1; }
.about-copy { display: grid; gap: 10px; max-width: 58ch; line-height: 1.55; }

.visit-layout { display: grid; gap: 24px; margin-top: 24px; }
.visit-info { align-content: start; padding-top: 0; }
.visit-info h2 { margin-bottom: 6px; font-size: 2rem; }
.visit-hours { font-weight: 700; }
.visit-note { color: var(--muted); margin-top: 5px; font-size: .93rem; }
.visit-map {
  display: block;
  width: 100%;
  height: clamp(295px, 54vw, 460px);
  border: 1px solid var(--line);
  background: var(--image-mat);
}

.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner { padding-block: 28px 17px; line-height: 1.5; }
.footer-columns { display: grid; gap: 21px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-identity { grid-column: 1 / -1; }
.footer-brand { display: inline-block; margin-bottom: 8px; }
.footer-brand img { height: auto; max-height: 62px; width: 92px; object-fit: contain; object-position: left; filter: invert(1); }
.footer-identity address { margin-top: 7px; font-size: .9rem; font-style: normal; color: #cbc9bd; }
.footer-group h2 { margin-bottom: 7px; font-family: inherit; font-size: .85rem; letter-spacing: .035em; }
.footer-group ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-group a { font-size: .95rem; text-decoration: none; }
.footer-group a:hover { text-decoration: underline; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 13px;
  border-top: 1px solid #57564f;
  font-size: .8rem;
  color: #cbc9bd;
}
.footer-meta p { margin: 0; }
.footer-credit,
.footer-credit a { display: inline-flex; align-items: center; gap: 8px; }
.footer-credit a { min-height: 24px; gap: 4px; }
.footer-credit img { height: 19px; width: auto; filter: brightness(0) invert(1); }
.footer-meta details { flex-basis: 100%; }
.footer-meta summary { cursor: pointer; }
.footer-meta ul { margin: 7px 0 0; padding-left: 18px; }
.site-footer :focus-visible { outline-color: var(--lime); }

.artwork-page { padding-block: 24px 36px; }
.artwork-layout { display: grid; gap: 22px; }
.artwork-photo {
  width: 100%;
  height: clamp(250px, 43svh, 560px);
  object-fit: contain;
  background: var(--image-mat);
}
.artwork-info { min-width: 0; padding-top: 0; }
.artwork-info h1 { margin-block: 7px 12px; overflow-wrap: anywhere; }
.artwork-info p { margin: 0; }
.artwork-info .artwork-specs { color: var(--muted); }
.artwork-contact { display: grid; gap: 7px; margin-top: 20px; }
.contact-cta { background: var(--lime); color: var(--ink); }
.contact-cta:hover { background: var(--ink); color: white; }
.artwork-contact .contact-caption { color: var(--muted); font-size: .85rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 620px) {
  :root { --gutter: 24px; }
  .hero { display: grid; grid-template-columns: 1.12fr 1fr; }
  .hero-photo { height: clamp(380px, 50vw, 600px); object-position: center 28%; }
  .hero-copy { display: flex; flex-direction: column; justify-content: end; padding: clamp(24px, 5vw, 65px); }
  .hero-meta { justify-content: start; gap: 18px; margin-top: 20px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 7.5vw, 6.6rem); }
  .home-archive { padding-block: 32px 40px; }
  .section-heading h2 { max-width: none; }
  .home-grid { gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .archive-search { max-width: 32rem; }
  .archive-entry { min-height: 80px; }
  .archive-entry img { width: 100px; }
  .art-grid { gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .art-card img { aspect-ratio: 1.05; }
  .artwork-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 68px); }
  .artwork-photo { height: clamp(380px, 62vh, 680px); }
  .artwork-contact { justify-items: start; }
  .about-section { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 40px; padding-block: 34px 48px; }
  .visit-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(24px, 5vw, 58px); }
  .footer-columns { grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr)); }
  .footer-identity { grid-column: auto; }
  .footer-inner { padding-block: 36px 19px; }
}
@media (min-width: 768px) {
  .primary-nav { display: flex; }
  .menu-toggle { display: none; }
  .header-inner { min-height: 80px; }
  .brand img { width: 78px; height: 52px; }
}
@media (min-width: 1024px) {
  :root { --gutter: clamp(30px, 3.5vw, 82px); }
  .hero-photo { height: clamp(490px, calc(100svh - 80px), 850px); }
  .hero-copy { padding: clamp(38px, 5vw, 105px); }
  .hero-copy h1 { max-width: 5.5em; font-size: clamp(4.6rem, 7.4vw, 9.25rem); }
  .page-heading, .artwork-page { padding-top: clamp(38px, 4vw, 82px); }
  .page-heading h1 { font-size: clamp(4.2rem, 6.3vw, 7.5rem); }
  .home-archive, .about-section, .room-section, .art-section, .footer-inner {
    padding-block: clamp(40px, 4vw, 85px);
  }
  .home-grid, .art-grid, .archive-list { gap: clamp(24px, 2.3vw, 48px); }
  .archive-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 19vw, 360px), 1fr));
    padding-top: 24px;
  }
  .archive-entry { flex-direction: column; align-items: stretch; padding-block: 0 12px; }
  .archive-entry img { width: 100%; aspect-ratio: 1.45; }
  .exhibition-photo { max-height: min(74svh, 950px); }
  .room-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
  .artwork-info { padding-top: 0; }
  .artwork-photo { height: clamp(500px, 75svh, 860px); }
  .visit-map { height: clamp(460px, 62svh, 720px); }
  .archive-page, .info-page, .artwork-page { padding-bottom: clamp(38px, 4vw, 82px); }
}
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .header-inner { gap: 10px; }
  .hero-copy h1, .page-heading h1 { font-size: 2.55rem; }
  .section-heading { row-gap: 8px; }
}


.site-intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: var(--lime);
  animation: gallery-intro 1.15s ease-out both;
}
.site-intro img { width: clamp(140px, 19vw, 185px); height: auto; }
@keyframes gallery-intro {
  0%, 56% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none; }
}

