:root {
  --page: #fdfdfb;
  --ink: #111111;
  --muted: #5c5a57;
  --line: #d8d6d2;
  --focus: #111111;
  --measure: 48rem;
  --content-width: 60rem;
  --header-font: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Arial, sans-serif;
  --serif-font: "Times New Roman", Times, serif;
}

/* Keep all horizontal dividers on the shared --line color unless a future page needs a deliberate exception. */
* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
  font-family: var(--header-font);
  font-size: 16px;
  line-height: 1.35;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 4rem auto 1.35rem;
}

.wordmark {
  flex: 0 0 auto;
  font-family: var(--header-font);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.31em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
  padding-top: 0.08rem;
  font-size: 0.72rem;
  line-height: 1.1;
}

.site-nav a {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.home-hero,
.home-introduction,
.type-sampler,
.page-header,
.split-page,
.gallery-section,
.site-footer {
  width: min(var(--content-width), calc(100% - 2rem));
  margin-inline: auto;
}

.carousel {
  position: relative;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  background: #f1f0ed;
  aspect-ratio: 1.93 / 1;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide.is-contained img {
  object-fit: contain;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgb(253 253 251 / 72%);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif-font);
  font-size: 2rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
}

.carousel:hover .carousel-button,
.carousel:focus-within .carousel-button {
  opacity: 1;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: rgb(253 253 251 / 92%);
}

.carousel-button-prev {
  left: 0.75rem;
}

.carousel-button-next {
  right: 0.75rem;
}

.carousel-button span {
  margin-top: -0.12em;
}

.carousel-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.85rem;
}

.carousel-dot {
  width: 0.36rem;
  height: 0.36rem;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--ink);
}

.home-introduction {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10rem, 17rem) minmax(0, 1fr);
  gap: 4rem;
  margin-top: 2.7rem;
  margin-bottom: 4.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.intro-heading .eyebrow {
  position: absolute;
  left: 0;
  top: -1.15rem;
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  line-height: 1.2;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--header-font);
  font-weight: 400;
}

h1 {
  max-width: 17rem;
  font-size: 1.42rem;
  line-height: 1.18;
}

h2 {
  font-size: 1.22rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.intro-copy {
  max-width: var(--measure);
  font-family: var(--serif-font);
  font-size: 0.96rem;
  line-height: 1.34;
}

.intro-copy p {
  margin: 0;
}

.intro-copy p + p {
  margin-top: 0.75rem;
}

.type-sampler {
  display: grid;
  grid-template-columns: minmax(10rem, 17rem) minmax(0, 1fr);
  gap: 4rem;
  margin-bottom: 4.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.type-sampler-heading h2 {
  max-width: 15rem;
  font-size: 1.42rem;
  line-height: 1.18;
}

.type-sampler-content {
  max-width: var(--measure);
}

.type-example {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10rem) minmax(0, 1fr);
  gap: 2rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line);
}

.type-example:first-child {
  padding-top: 0;
  border-top: 0;
}

.type-example p {
  margin: 0;
}

.type-example > p:not(.style-label):not(.exhibition-date):not(.caption),
.type-example > p .text-link {
  font-family: var(--serif-font);
  font-size: 0.96rem;
  line-height: 1.42;
}

.style-label {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.2;
}

.sample-h1 {
  max-width: none;
}

.exhibition-date {
  font-family: var(--header-font);
  font-size: 0.84rem;
  line-height: 1.2;
}

.caption {
  color: var(--muted);
  font-family: var(--serif-font);
  font-size: 0.78rem;
  line-height: 1.3;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-header {
  position: relative;
  margin-bottom: 1.45rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.page-header .eyebrow {
  position: absolute;
  left: 0;
  top: -1.15rem;
  margin: 0;
}

.page-header h1 {
  max-width: 34rem;
}

.split-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-copy {
  display: block;
}

.about-copy .page-copy {
  max-width: none;
}

.page-copy {
  max-width: var(--measure);
  font-family: var(--serif-font);
  font-size: 0.96rem;
  line-height: 1.34;
}

.page-copy p {
  margin: 0;
}

.page-copy p + p,
.page-copy .detail-list,
.detail-list div + div {
  margin-top: 0.75rem;
}

.contact-email {
  font-family: var(--header-font);
  font-size: 1.05rem;
  line-height: 1.25;
}

.staff-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.staff-list h2 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.staff-list p + p {
  margin-top: 0.45rem;
}

.detail-list {
  display: grid;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-list h2 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.map-embed {
  margin: 1.2rem 0 0;
}

.map-frame {
  overflow: hidden;
  background: #f1f0ed;
  aspect-ratio: 4 / 3;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1);
}

.map-embed figcaption {
  margin-top: 0.55rem;
  font-family: var(--header-font);
  font-size: 0.84rem;
  line-height: 1.25;
}

.image-pair {
  display: grid;
  gap: 1rem;
}

.image-pair img,
.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-image {
  margin: 0;
}

.feature-image figcaption {
  margin-top: 0.65rem;
}

.page-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.page-image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.floor-plan-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10rem, 19rem) minmax(0, 1fr);
  gap: 2rem;
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto 3.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.floor-plan-heading .eyebrow {
  position: absolute;
  left: 0;
  top: -1.15rem;
  margin: 0;
}

.floor-plan-heading h2 {
  max-width: 18rem;
  font-size: 1.42rem;
  line-height: 1.18;
}

.floor-plan-content {
  display: grid;
  gap: 1rem;
}

.floor-plan-image {
  margin: 0;
}

.floor-plan-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.floor-plan-image img {
  width: 100%;
  background: #f1f0ed;
  transition: opacity 160ms ease;
}

.floor-plan-trigger:hover img,
.floor-plan-trigger:focus-visible img {
  opacity: 0.72;
}

.gallery-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10rem, 19rem) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 3.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.gallery-section-heading .eyebrow {
  position: absolute;
  left: 0;
  top: -1.15rem;
  margin: 0;
}

.gallery-section-heading h2 {
  max-width: 18rem;
  font-size: 1.42rem;
  line-height: 1.18;
}

.exhibition-header,
.exhibition-hero,
.statement-section,
.exhibition-details {
  width: min(var(--content-width), calc(100% - 2rem));
  margin-inline: auto;
}

.exhibition-page {
  width: 100%;
}

.exhibition-header {
  margin-bottom: 1.25rem;
}

.exhibition-header h1 {
  max-width: 34rem;
  margin-bottom: 0.45rem;
}

.exhibition-hero {
  margin: 0 auto 2.4rem;
}

.exhibition-hero img {
  width: 100%;
  aspect-ratio: 1.93 / 1;
  object-fit: cover;
  background: #f1f0ed;
}

.exhibition-hero-align-top img {
  object-position: center top;
}

.exhibition-hero-contain img {
  object-fit: contain;
}

.statement-section {
  display: grid;
  grid-template-columns: minmax(10rem, 19rem) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.statement-section h2 {
  font-size: 1.05rem;
}

.statement-copy {
  max-width: var(--measure);
  font-family: var(--serif-font);
  font-size: 0.96rem;
  line-height: 1.34;
}

.statement-copy p {
  margin: 0;
}

.statement-copy p + p,
.statement-copy .readmore-extra + p,
.readmore-extra {
  margin-top: 0.75rem;
}

.readmore-toggle {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif-font);
  font-size: 0.84rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.exhibition-gallery-section {
  margin-bottom: 3rem;
}

.exhibition-image-grid-section,
.exhibition-bottom-nav {
  width: min(var(--content-width), calc(100% - 2rem));
  margin-inline: auto;
}

.exhibition-image-grid-section {
  margin-bottom: 3rem;
}

.thumbnail-gallery.exhibition-thumbnail-gallery {
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}

.thumbnail-gallery .caption {
  display: block;
  margin-top: 0.45rem;
  text-align: left;
}

.exhibition-details {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10rem, 19rem) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.exhibition-details .eyebrow {
  position: absolute;
  left: 0;
  top: -1.15rem;
  margin: 0;
}

.exhibition-details h2 {
  max-width: 18rem;
  font-size: 1.42rem;
  line-height: 1.18;
}

.exhibition-details dl {
  display: grid;
  gap: 1rem;
  margin: 0;
  font-family: var(--serif-font);
  font-size: 0.96rem;
  line-height: 1.34;
}

.exhibition-details dl div {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  gap: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.exhibition-details dl div:first-child {
  padding-top: 0;
  border-top: 0;
}

.exhibition-details dt {
  color: var(--ink);
  font-family: var(--header-font);
  font-size: 0.96rem;
  line-height: 1.24;
}

.exhibition-details dd {
  margin: 0;
}

.exhibition-details dd a + a::before {
  content: ", ";
}

.archive-list {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto 4rem;
}

.archive-year-group {
  position: relative;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.archive-year-group + .archive-year-group {
  margin-top: 2.6rem;
}

.archive-year {
  position: absolute;
  left: 0;
  top: -1.15rem;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.2;
}

.archive-item a {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.archive-item img {
  width: 100%;
  aspect-ratio: 1.93 / 1;
  object-fit: cover;
}

.archive-item strong,
.archive-item small {
  display: block;
  font-weight: 400;
}

.archive-item strong {
  max-width: 36rem;
  font-size: 1.2rem;
  line-height: 1.18;
}

.archive-item small {
  margin-top: 0.42rem;
  color: var(--muted);
  font-family: var(--serif-font);
  font-size: 0.96rem;
  line-height: 1.28;
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.thumbnail-gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.thumbnail-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 160ms ease;
}

.thumbnail-gallery button:hover img,
.thumbnail-gallery button:focus-visible img {
  opacity: 0.72;
}

.exhibition-bottom-nav {
  margin-bottom: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.exhibition-bottom-nav a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.has-lightbox {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 2.5rem;
  background: rgb(253 253 251 / 93%);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, auto) 2.5rem;
  gap: 0.75rem;
  align-items: center;
  max-width: min(88vw, 84rem);
}

.lightbox.is-single .lightbox-stage {
  grid-template-columns: minmax(0, auto);
}

.lightbox-figure {
  display: grid;
  grid-column: 2;
  gap: 0.7rem;
  justify-items: stretch;
  min-width: 0;
  margin: 0;
}

.lightbox.is-single .lightbox-figure {
  grid-column: 1;
}

.lightbox img {
  max-width: min(76rem, calc(88vw - 6.5rem));
  max-height: 78vh;
  object-fit: contain;
}

.lightbox.is-single img,
.lightbox.is-single .lightbox-caption {
  max-width: min(76rem, 88vw);
}

.lightbox-caption {
  max-width: min(76rem, calc(88vw - 6.5rem));
  margin: 0;
  color: var(--muted);
  font-family: var(--serif-font);
  font-size: 0.84rem;
  line-height: 1.3;
}

.lightbox-caption[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  z-index: 3;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--header-font);
  font-size: 1.35rem;
  line-height: 1;
}

.lightbox-button {
  z-index: 2;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgb(253 253 251 / 78%);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif-font);
  font-size: 2.35rem;
  line-height: 1;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-next {
  grid-column: 3;
}

.lightbox-button span {
  margin-top: -0.12em;
}

.lightbox.is-single .lightbox-button {
  display: none;
}

.site-footer {
  margin-bottom: 4.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-address {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-links a {
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  color: #5a5a58;
}

.social-links svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 1rem;
    margin-top: 1.1rem;
    margin-bottom: 0.9rem;
  }

  .wordmark {
    display: inline-block;
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.35;
    white-space: normal;
  }

  .menu-toggle {
    display: grid;
    width: 1.75rem;
    height: 1.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    gap: 0.28rem;
  }

  .menu-toggle span[aria-hidden="true"] {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--ink);
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 0.25rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    font-size: 0.8rem;
    gap: 0.55rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .carousel-track {
    aspect-ratio: 4 / 3;
  }

  .carousel-button {
    opacity: 1;
  }

  .home-introduction,
  .type-sampler,
  .split-page,
  .gallery-section,
  .floor-plan-section,
  .statement-section,
  .exhibition-details {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin-top: 1.35rem;
  }

  .page-header {
    margin-top: 1.85rem;
  }

  h1 {
    max-width: 26rem;
  }

  .type-example {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.1rem;
  }

  .footer-address {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-image-grid {
    grid-template-columns: 1fr;
  }

  .exhibition-hero img {
    aspect-ratio: 4 / 3;
  }

  .thumbnail-gallery.exhibition-thumbnail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exhibition-details dl div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .archive-item a {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-stage {
    grid-template-columns: 2rem minmax(0, auto) 2rem;
    gap: 0.45rem;
    max-width: 96vw;
  }

  .lightbox img,
  .lightbox-caption {
    max-width: calc(96vw - 4.9rem);
  }

  .lightbox-button {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transition: none;
  }
}
