/*
Theme Name: MASA Museum
Theme URI: https://migrationasartmuseum.au/
Author: MASA
Description: Original museum theme for Migration as Art Museum, drawing on quiet editorial pacing, large artwork-led grids, and restrained navigation.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: masa-museum
*/

@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap");

:root {
  --page: #fbfbf8;
  --ink: #181818;
  --muted: #66645f;
  --line: #d8d7d0;
  --soft: #eeeee8;
  --teal: #315f5a;
  --brick: #9b4a32;
  --gold: #b58d3f;
  --max: 1440px;
  --content: 920px;
  --side: 32px;
  --radius: 4px;
  --font-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --header-offset: 112px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

img,
iframe,
video {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus {
  color: var(--brick);
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 248, 0.96);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--side) 15px;
}

.site-brand {
  display: inline-grid;
  gap: 2px;
  min-width: 0;
  max-width: 440px;
  color: var(--ink);
  text-decoration: none;
}

.site-brand__name {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  overflow-wrap: break-word;
}

.site-brand__meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-brand:hover,
.site-brand:focus {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.nav-toggle__lines {
  position: relative;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle__lines::before {
  top: -6px;
}

.nav-toggle__lines::after {
  top: 6px;
}

.primary-nav {
  align-self: center;
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: block;
  padding: 5px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a {
  color: var(--brick);
}

.site-main {
  min-height: 70vh;
}

.site-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-right: var(--side);
  padding-left: var(--side);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 46px;
  align-items: center;
  min-height: calc(86vh - 80px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px var(--side) 42px;
}

.hero__copy {
  display: grid;
  gap: 26px;
  min-width: 0;
  align-content: center;
}

.hero__eyebrow,
.section-kicker,
.card__kicker,
.meta-line {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1,
.page-title,
.archive-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 0.98;
}

.hero h1 {
  max-width: 700px;
  font-size: 76px;
}

.hero__mission {
  width: 100%;
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 9px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  border-color: var(--brick);
  background: var(--brick);
  color: #fff;
}

.hero__media {
  min-width: 0;
  align-self: stretch;
}

.hero__media img {
  width: 100%;
  min-height: 520px;
  max-height: 76vh;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero__media figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.section--soft {
  background: var(--soft);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--side);
}

.section__header {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 0.66fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

.section__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.08;
}

.section__summary {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.path-grid,
.content-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.path-link {
  display: grid;
  min-height: 180px;
  align-content: space-between;
  border-top: 1px solid var(--ink);
  padding: 18px 0 0;
  color: var(--ink);
  text-decoration: none;
}

.path-link strong {
  max-width: 320px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.path-link span {
  color: var(--muted);
  font-size: 14px;
}

.path-link:hover,
.path-link:focus {
  color: var(--brick);
}

.card {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #e3e0d8;
}

.card__media img,
.card__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__media iframe {
  border: 0;
}

.card__placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 46px;
}

.card__body {
  display: grid;
  gap: 8px;
}

.card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.card__title a {
  text-decoration: none;
}

.card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.page-header,
.archive-header,
.single-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px var(--side) 44px;
}

.page-title,
.archive-title {
  max-width: 1040px;
  font-size: 68px;
}

.archive-description {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.entry-shell {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--side) 90px;
}

.entry-content {
  font-size: 18px;
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.3em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2em;
  margin-bottom: 0.7em;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

.entry-content h2 {
  font-size: 40px;
}

.entry-content h3 {
  font-size: 30px;
}

.entry-content h4 {
  font-size: 22px;
}

.entry-content p {
  max-width: 820px;
}

.entry-content img {
  border-radius: var(--radius);
}

.entry-content figure {
  margin-right: 0;
  margin-left: 0;
}

.entry-content figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.entry-content .wp-block-gallery,
.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.entry-content .wp-block-gallery figure,
.entry-content .wp-block-gallery img {
  width: 100%;
}

.entry-content blockquote {
  margin: 2em 0;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.35;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 42px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--side) 90px;
}

.single-media img,
.single-media iframe {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.single-media iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--content);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px var(--side) 84px;
}

.post-nav a {
  max-width: 48%;
  color: var(--muted);
  font-size: 14px;
}

.term-list {
  display: grid;
  gap: 20px;
}

.term-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.26fr) minmax(0, 0.74fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.term-row__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.term-row__description {
  margin: 0 0 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(220px, 0.2fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px var(--side);
}

.site-footer a {
  color: #fff;
}

.site-footer__title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
}

.site-footer__address {
  margin: 0;
  color: #d7d5cc;
  font-style: normal;
}

.footer-menu {
  display: grid;
  gap: 7px;
  justify-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.no-results {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--side) 80px;
  color: var(--muted);
}

@media (max-width: 980px) {
  :root {
    --side: 22px;
  }

  .site-header__inner {
    align-items: center;
    gap: 12px;
  }

  .nav-toggle {
    display: grid;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    justify-content: stretch;
    gap: 0;
  }

  .primary-menu a {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 18px;
  }

  .hero,
  .section__header,
  .single-layout,
  .term-row,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    gap: 34px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero__mission {
    font-size: 22px;
  }

  .hero__media img {
    min-height: 360px;
    max-height: none;
  }

  .path-grid,
  .content-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-brand__name {
    font-size: 23px;
  }

  .hero h1,
  .page-title,
  .archive-title {
    font-size: 42px;
  }

  .hero__mission,
  .archive-description {
    font-size: 19px;
  }

  .section {
    padding: 54px 0;
  }

  .section__title {
    font-size: 34px;
  }

  .path-grid,
  .content-grid,
  .card-grid,
  .entry-content .wp-block-gallery,
  .wp-block-gallery {
    grid-template-columns: 1fr;
  }

  .post-nav {
    display: grid;
  }

  .post-nav a {
    max-width: none;
  }
}

/* Noguchi-inspired home treatment. */
.site-header {
  background: #fff;
  backdrop-filter: none;
}

.site-utility {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 36px 0;
  color: #111;
  font-size: 16px;
  line-height: 1.25;
}

.site-utility__links {
  display: flex;
  gap: 28px;
}

.site-utility a {
  color: inherit;
  text-decoration: none;
}

.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: none;
  min-height: 88px;
  padding: 0 36px 22px;
}

.site-brand {
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  justify-items: center;
  max-width: none;
  text-align: center;
}

.site-brand__name {
  font-family: var(--font-sans);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.site-brand__meta {
  display: none;
}

.primary-nav {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.primary-menu {
  gap: 42px;
}

.primary-menu--left {
  justify-content: flex-start;
  padding-right: 110px;
}

.primary-menu--right {
  justify-content: flex-end;
  padding-left: 110px;
}

.primary-menu a {
  font-size: 28px;
  line-height: 1.1;
}

.museum-home {
  overflow: hidden;
  background: #f1f1ef;
}

.museum-home a {
  text-decoration: none;
}

.museum-home__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.museum-home__split--lead {
  min-height: calc(100vh - 136px);
}

.museum-panel {
  display: grid;
  min-height: 650px;
  align-content: center;
  gap: 34px;
  padding: 72px 6vw;
  color: var(--ink);
}

.museum-panel:hover,
.museum-panel:focus {
  color: inherit;
}

.museum-panel--black {
  background: #000;
  color: #fff;
}

.museum-panel--pale {
  background: #ededeb;
}

.museum-panel--white {
  background: #fff;
}

.museum-panel__media {
  margin: 0;
}

.museum-panel__media img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.museum-panel--feature {
  justify-items: center;
  text-align: center;
}

.museum-panel--feature .museum-panel__media {
  width: min(56%, 440px);
}

.museum-panel--feature .museum-panel__media img {
  aspect-ratio: 4 / 5.25;
}

.museum-panel--feature h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.04;
}

.museum-panel--feature p {
  max-width: 610px;
  margin: 22px auto 0;
  color: #d8d8d3;
  font-size: 18px;
  line-height: 1.55;
}

.museum-panel--profile {
  grid-template-columns: minmax(260px, 0.62fr) minmax(220px, 0.38fr);
  align-items: center;
}

.museum-panel--profile .museum-panel__media img {
  aspect-ratio: 4 / 5.9;
}

.museum-panel__body {
  min-width: 0;
}

.museum-panel__body--center {
  text-align: center;
}

.museum-kicker {
  margin-bottom: 18px;
  color: #606973;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.museum-panel--black .museum-kicker {
  color: #9da1a5;
}

.museum-panel h2,
.museum-programs h2,
.museum-column-link h2,
.museum-home__promo h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.18;
}

.museum-panel--profile h2 {
  font-size: 30px;
}

.museum-panel--profile p,
.museum-panel--text p,
.museum-home__promo p {
  margin: 20px 0 0;
  color: #62645f;
  font-size: 17px;
  line-height: 1.55;
}

.museum-panel--large {
  justify-items: center;
  min-height: 770px;
  text-align: center;
}

.museum-panel--large .museum-panel__media {
  width: min(68%, 520px);
}

.museum-panel--large .museum-panel__media img {
  aspect-ratio: 4 / 5.45;
}

.museum-panel--large h2 {
  max-width: 720px;
  font-size: 48px;
}

.museum-panel--stack {
  align-content: stretch;
  gap: 0;
  padding: 0;
}

.museum-mini-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  gap: 36px;
  align-items: center;
  min-height: 385px;
  padding: 58px 36px;
  color: var(--ink);
}

.museum-mini-feature + .museum-mini-feature {
  border-top: 1px solid var(--line);
}

.museum-mini-feature--reversed {
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
}

.museum-mini-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
}

.museum-mini-feature h2 {
  max-width: 380px;
}

.museum-programs {
  padding: 56px 2vw 72px;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.museum-programs > h2 {
  margin-bottom: 72px;
  font-size: 26px;
  font-weight: 700;
}

.museum-programs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px;
  align-items: center;
  text-align: left;
}

.program-card {
  display: grid;
  grid-template-columns: minmax(150px, 242px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  color: var(--ink);
}

.program-card img,
.program-card__embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.program-card__embed {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.program-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
}

.museum-text-link {
  display: inline-block;
  margin-top: 46px;
  color: #65717a;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.museum-home__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: #fff;
}

.museum-column-link {
  display: grid;
  gap: 52px;
  justify-items: center;
  min-height: 520px;
  padding: 52px 6vw 0;
  overflow: hidden;
  color: var(--ink);
}

.museum-column-link h2 {
  font-weight: 700;
}

.museum-column-link img {
  display: block;
  width: min(100%, 560px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.museum-home__promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: #000;
  color: #fff;
}

.museum-home__promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: grayscale(1);
}

.museum-home__promo-body {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 70px 6vw;
  text-align: center;
}

.museum-home__promo h2 {
  max-width: 640px;
  color: #fff;
  font-size: 54px;
}

.museum-home__promo p {
  max-width: 560px;
  color: #dcdcd8;
}

.museum-button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border: 1px solid currentColor;
  padding: 14px 34px;
  color: inherit;
}

.museum-button--light:hover,
.museum-button--light:focus {
  background: #fff;
  color: #000;
}

.museum-home__split--closing .museum-panel {
  min-height: 360px;
}

.museum-panel--text {
  align-content: center;
}

.museum-panel--text h2 {
  max-width: 720px;
  font-size: 38px;
}

@media (max-width: 1160px) {
  .primary-menu {
    gap: 22px;
  }

  .primary-menu--left {
    padding-right: 80px;
  }

  .primary-menu--right {
    padding-left: 80px;
  }

  .primary-menu a {
    font-size: 22px;
  }

  .site-brand__name {
    font-size: 46px;
  }

  .museum-panel {
    padding: 58px 4vw;
  }

  .museum-panel--profile,
  .museum-mini-feature,
  .museum-mini-feature--reversed {
    grid-template-columns: 1fr;
  }

  .museum-programs__grid {
    gap: 32px;
  }

  .program-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-utility {
    padding: 16px 22px 0;
    font-size: 13px;
  }

  .site-utility__links {
    gap: 14px;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 72px;
    padding: 0 22px 16px;
  }

  .site-brand {
    grid-column: 1;
    justify-items: start;
    text-align: left;
  }

  .site-brand__name {
    font-size: 34px;
  }

  .site-brand__meta {
    display: block;
    font-size: 11px;
  }

  .nav-toggle {
    z-index: 3;
    display: grid;
    grid-column: 2;
    grid-row: 1;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-menu,
  .primary-menu--left,
  .primary-menu--right {
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 0;
  }

  .primary-menu a {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 20px;
  }

  .museum-home__split,
  .museum-home__duo,
  .museum-home__promo {
    grid-template-columns: 1fr;
  }

  .museum-home__split--lead {
    min-height: auto;
  }

  .museum-panel,
  .museum-panel--large {
    min-height: auto;
    padding: 52px 22px;
  }

  .museum-panel--feature .museum-panel__media,
  .museum-panel--large .museum-panel__media {
    width: min(100%, 480px);
  }

  .museum-panel--feature h1,
  .museum-home__promo h2 {
    font-size: 42px;
  }

  .museum-panel--large h2,
  .museum-panel--text h2 {
    font-size: 34px;
  }

  .museum-mini-feature,
  .museum-mini-feature--reversed {
    min-height: auto;
    padding: 42px 22px;
  }

  .museum-programs {
    padding: 44px 22px 56px;
  }

  .museum-programs > h2 {
    margin-bottom: 38px;
  }

  .museum-programs__grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    grid-template-columns: 130px 1fr;
  }

  .museum-column-link {
    min-height: auto;
    padding: 42px 22px 0;
  }

  .museum-home__promo-media img {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .site-utility {
    display: none;
  }

  .site-brand__name {
    font-size: 30px;
  }

  .museum-kicker {
    font-size: 13px;
  }

  .museum-panel--feature h1,
  .museum-home__promo h2 {
    font-size: 36px;
  }

  .museum-panel--feature p,
  .museum-panel--profile p,
  .museum-panel--text p,
  .museum-home__promo p {
    font-size: 16px;
  }

  .program-card {
    grid-template-columns: 1fr;
  }
}

/* Polished sticky-scroll home page. */
body {
  font-feature-settings: "kern" 1, "liga" 1;
}

.site-header {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-utility {
  padding: 14px 38px 0;
  color: #333330;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.site-utility__links {
  gap: 22px;
  font-size: 12px;
}

.site-header__inner {
  min-height: 78px;
  padding: 0 38px 18px;
}

.site-brand__name {
  font-size: 50px;
  font-weight: 800;
}

.primary-menu a {
  color: #1c1c1a;
  font-size: 22px;
  font-weight: 500;
}

.primary-menu a,
.site-utility a,
.museum-home a {
  transition: color 160ms ease, opacity 160ms ease, transform 180ms ease;
}

.museum-kicker,
.museum-text-link {
  letter-spacing: 0;
}

.museum-home--polished {
  overflow: visible;
  background: #f3f3f1;
}

.museum-scroll-stage {
  display: grid;
  grid-template-columns: minmax(0, 50vw) minmax(0, 50vw);
  align-items: start;
  border-top: 1px solid var(--line);
}

.museum-scroll-stage__left {
  position: sticky;
  top: var(--header-offset);
  min-height: calc(100vh - var(--header-offset));
  background: #000;
}

.sticky-feature {
  display: grid;
  min-height: calc(100vh - var(--header-offset));
  align-content: safe center;
  justify-items: center;
  padding: clamp(44px, 6vh, 72px) clamp(34px, 6vw, 118px) clamp(76px, 10vh, 104px);
  color: #fff;
  text-align: center;
  row-gap: clamp(10px, 1.4vh, 18px);
}

.sticky-feature:hover,
.sticky-feature:focus {
  color: #fff;
}

.sticky-feature__media {
  width: min(46%, 350px);
  margin: 0 0 clamp(16px, 2.4vh, 24px);
}

.sticky-feature__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
}

.sticky-feature__body {
  max-width: 680px;
}

.sticky-feature h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(30px, 2.1vw, 44px);
  font-weight: 500;
  line-height: 1.04;
}

.sticky-feature p {
  max-width: 540px;
  margin: 14px auto 0;
  color: #d8d8d3;
  font-size: 14px;
  line-height: 1.48;
}

.museum-inline-link {
  display: inline-flex;
  margin-top: 16px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  color: #f4f4ef;
  font-size: 13px;
}

.museum-scroll-stage__right {
  display: grid;
  background: #eeeeeb;
}

.scroll-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(230px, 0.42fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  min-height: calc(100vh - var(--header-offset));
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vh, 110px) clamp(38px, 5.8vw, 112px);
  color: var(--ink);
}

.scroll-feature:hover,
.scroll-feature:focus {
  color: var(--ink);
}

.scroll-feature:hover img,
.scroll-feature:focus img {
  transform: scale(1.012);
}

.scroll-feature__media {
  min-width: 0;
  overflow: hidden;
  background: #dedbd5;
}

.scroll-feature__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.45;
  object-fit: cover;
  transition: transform 420ms ease;
}

.scroll-feature__body {
  min-width: 0;
}

.scroll-feature h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(31px, 2.4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}

.scroll-feature p {
  max-width: 420px;
  margin: 22px 0 0;
  color: #5f625f;
  font-size: 17px;
  line-height: 1.62;
}

.scroll-feature--wide {
  grid-template-columns: minmax(260px, 0.47fr) minmax(300px, 0.53fr);
  background: #fff;
}

.scroll-feature--wide .scroll-feature__media img {
  aspect-ratio: 4 / 3.2;
}

.scroll-feature--compact {
  min-height: 58vh;
  grid-template-columns: minmax(220px, 0.42fr) minmax(260px, 0.58fr);
  background: #eeeeeb;
}

.scroll-feature--compact .scroll-feature__media img {
  aspect-ratio: 4 / 3;
}

.scroll-feature--reversed {
  grid-template-columns: minmax(260px, 0.56fr) minmax(220px, 0.44fr);
  background: #f7f7f4;
}

.scroll-feature--final {
  grid-template-columns: minmax(300px, 0.52fr) minmax(260px, 0.48fr);
  min-height: 70vh;
  background: #e8e7e2;
}

.museum-section-heading {
  max-width: 780px;
  margin: 0 auto 70px;
  text-align: center;
}

.museum-section-heading h2 {
  margin: 0;
  font-size: clamp(31px, 2.35vw, 46px);
  font-weight: 400;
  line-height: 1.12;
}

.museum-programs {
  padding: 84px clamp(28px, 4vw, 72px) 92px;
}

.museum-programs__grid {
  max-width: 1760px;
  margin: 0 auto;
  gap: clamp(34px, 5vw, 96px);
}

.program-card {
  gap: 28px;
}

.program-card img,
.program-card__embed iframe {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.program-card h3 {
  font-size: 20px;
  line-height: 1.28;
}

.museum-home__duo {
  background: #fff;
}

.museum-column-link {
  gap: 18px;
  min-height: 610px;
  padding: 74px clamp(38px, 7vw, 140px) 0;
}

.museum-column-link h2 {
  margin-bottom: 44px;
  font-size: 28px;
  font-weight: 700;
}

.museum-column-link img {
  width: min(100%, 620px);
  aspect-ratio: 4 / 3.15;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

.museum-home__promo {
  min-height: 620px;
}

.museum-home__promo-media img {
  min-height: 620px;
}

.museum-home__promo-body {
  padding: 86px clamp(48px, 7vw, 150px);
}

.museum-home__promo h2 {
  font-size: clamp(44px, 4vw, 72px);
  line-height: 1.03;
}

.museum-home__promo p {
  font-size: 16px;
  line-height: 1.64;
}

.museum-panel--text {
  min-height: 460px;
  padding: 86px clamp(48px, 7vw, 150px);
}

.museum-panel--text h2 {
  font-size: clamp(32px, 2.8vw, 52px);
  line-height: 1.1;
}

@media (max-width: 1160px) {
  :root {
    --header-offset: 118px;
  }

  .museum-scroll-stage {
    grid-template-columns: 48vw 52vw;
  }

  .sticky-feature {
    padding-right: 38px;
    padding-left: 38px;
  }

  .sticky-feature__media {
    width: min(80%, 340px, 32vh);
  }

  .scroll-feature,
  .scroll-feature--wide,
  .scroll-feature--compact,
  .scroll-feature--reversed,
  .scroll-feature--final {
    grid-template-columns: 1fr;
    min-height: 78vh;
  }

  .scroll-feature__media img,
  .scroll-feature--wide .scroll-feature__media img,
  .scroll-feature--compact .scroll-feature__media img {
    aspect-ratio: 4 / 3.35;
  }
}

@media (max-width: 980px) {
  :root {
    --header-offset: 88px;
  }

  .museum-scroll-stage {
    display: block;
  }

  .museum-scroll-stage__left {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .sticky-feature {
    min-height: auto;
    padding: 52px 22px 58px;
  }

  .sticky-feature__media {
    width: min(100%, 520px);
  }

  .sticky-feature h1 {
    font-size: 39px;
  }

  .sticky-feature p {
    font-size: 16px;
  }

  .scroll-feature,
  .scroll-feature--wide,
  .scroll-feature--compact,
  .scroll-feature--reversed,
  .scroll-feature--final {
    min-height: auto;
    padding: 50px 22px;
  }

  .scroll-feature h2 {
    font-size: 32px;
  }

  .scroll-feature p {
    max-width: none;
    font-size: 16px;
  }

  .museum-section-heading {
    margin-bottom: 42px;
  }

  .museum-programs {
    padding: 58px 22px 64px;
  }

  .museum-column-link {
    min-height: auto;
    padding: 52px 22px 0;
  }

  .museum-home__promo,
  .museum-home__promo-media img {
    min-height: auto;
  }

  .museum-home__promo-body {
    padding: 58px 22px;
  }

  .museum-panel--text {
    min-height: auto;
    padding: 58px 22px;
  }
}

/* Exhibition-grade polish for inner pages and records. */
:root {
  --paper: #f8f7f1;
  --paper-deep: #ece9df;
  --charcoal: #11110f;
  --smoke: #d9d6ca;
  --green: #2e564f;
  --clay: #9c4932;
}

body {
  background: var(--paper);
  color: #11110f;
}

.site-header {
  background: #fffefa;
  box-shadow: 0 1px 0 rgba(17, 17, 15, 0.12);
}

.site-utility {
  padding: 12px clamp(22px, 3vw, 46px) 0;
  color: #56554e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.site-header__inner {
  min-height: 82px;
  padding: 0 clamp(22px, 3vw, 46px) 18px;
}

.site-brand__name {
  font-family: var(--font-sans);
  font-size: clamp(36px, 3.05vw, 58px);
  font-weight: 800;
  letter-spacing: 0;
}

.primary-menu {
  gap: clamp(18px, 3vw, 56px);
}

.primary-menu--left {
  padding-right: clamp(78px, 8vw, 160px);
}

.primary-menu--right {
  padding-left: clamp(78px, 8vw, 160px);
}

.primary-menu a {
  position: relative;
  font-size: clamp(18px, 1.28vw, 25px);
  font-weight: 500;
}

.primary-menu a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-menu a:hover::after,
.primary-menu a:focus::after,
.primary-menu .current-menu-item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.museum-kicker,
.card__kicker,
.hero__eyebrow,
.section-kicker,
.meta-line {
  color: #63615a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.museum-page {
  background: var(--paper);
}

.museum-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  min-height: calc(84vh - var(--header-offset));
  border-bottom: 1px solid rgba(17, 17, 15, 0.16);
  background: var(--charcoal);
  color: #fff;
}

.museum-page-hero:not(:has(.museum-page-hero__media)) {
  grid-template-columns: 1fr;
  min-height: 58vh;
}

.museum-page-hero__text {
  display: grid;
  align-content: center;
  padding: clamp(58px, 8vw, 150px) clamp(28px, 6vw, 118px);
}

.museum-page-hero__text .museum-kicker {
  color: #b8b5a9;
}

.museum-page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(56px, 8.2vw, 144px);
  font-weight: 500;
  line-height: 0.86;
}

.museum-page-hero p {
  max-width: 640px;
  margin: 30px 0 0;
  color: #ddd8cb;
  font-size: clamp(20px, 1.45vw, 28px);
  line-height: 1.28;
}

.museum-page-hero__media {
  min-height: calc(84vh - var(--header-offset));
  margin: 0;
  overflow: hidden;
  background: #000;
}

.museum-page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(84vh - var(--header-offset));
  object-fit: cover;
}

.museum-reading {
  display: grid;
  grid-template-columns: minmax(170px, 0.24fr) minmax(0, 0.76fr);
  gap: clamp(34px, 6vw, 112px);
  max-width: 1420px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 142px) var(--side);
}

.museum-reading__rail {
  position: sticky;
  top: calc(var(--header-offset) + 34px);
  display: grid;
  gap: 18px;
  align-self: start;
  border-top: 2px solid var(--charcoal);
  padding-top: 18px;
  color: #5f5d56;
  font-size: 15px;
}

.museum-reading__rail span {
  color: var(--charcoal);
  font-weight: 700;
}

.museum-reading__rail a,
.museum-text-link {
  justify-self: start;
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.museum-reading__content {
  max-width: 940px;
  color: #22211e;
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.68;
}

.museum-reading__content > p:first-of-type {
  color: #2f2e2a;
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.7vw, 48px);
  line-height: 1.12;
}

.museum-reading__content h2,
.museum-reading__content h3,
.museum-reading__content h4,
.museum-object-body__content h2,
.museum-object-body__content h3,
.museum-object-body__content h4 {
  font-family: var(--font-serif);
  font-weight: 500;
}

.museum-reading__content img,
.museum-object-body__content img {
  display: block;
  width: 100%;
  border-radius: 0;
}

.collection-catalogue {
  border-top: 1px solid #34332f;
  background: var(--charcoal);
  color: #fff;
  padding: clamp(82px, 10vw, 150px) var(--side);
}

.collection-catalogue .museum-section-heading {
  max-width: 960px;
  margin-bottom: clamp(48px, 6vw, 96px);
}

.collection-catalogue .museum-kicker {
  color: #b9b5a9;
}

.collection-catalogue h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.8vw, 96px);
  font-weight: 500;
  line-height: 0.94;
}

.collection-catalogue__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 42px);
  max-width: 1540px;
  margin: 0 auto;
}

.collection-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #171714;
  color: #fff;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.collection-tile:hover,
.collection-tile:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: #20201c;
  color: #fff;
  transform: translateY(-4px);
}

.collection-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
}

.collection-tile div {
  display: grid;
  align-content: start;
  padding: clamp(24px, 3vw, 42px);
}

.collection-tile h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.2vw, 58px);
  font-weight: 500;
  line-height: 0.98;
}

.collection-tile p {
  margin: 22px 0 0;
  color: #d9d5c9;
  font-size: 16px;
  line-height: 1.55;
}

.museum-archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  align-items: end;
  min-height: calc(78vh - var(--header-offset));
  border-bottom: 1px solid rgba(17, 17, 15, 0.15);
  background: var(--paper-deep);
}

.museum-archive-hero > div {
  display: grid;
  align-content: end;
  min-height: calc(78vh - var(--header-offset));
  padding: clamp(58px, 7vw, 132px) clamp(28px, 5.2vw, 100px);
}

.museum-archive-hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 128px);
  font-weight: 500;
  line-height: 0.9;
}

.museum-archive-hero p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #5b5952;
  font-size: clamp(19px, 1.35vw, 25px);
  line-height: 1.32;
}

.museum-archive-hero img {
  display: block;
  width: 100%;
  height: calc(78vh - var(--header-offset));
  min-height: 520px;
  object-fit: cover;
}

.museum-archive-hero--collection {
  background: #161614;
  color: #fff;
}

.museum-archive-hero--collection .museum-kicker,
.museum-archive-hero--collection p {
  color: #c8c3b6;
}

.exhibition-wall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 86px) clamp(18px, 2.6vw, 42px);
  max-width: 1640px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 150px) var(--side);
}

.exhibition-card {
  display: grid;
  grid-column: span 4;
  gap: 18px;
  align-content: start;
  color: var(--charcoal);
  text-decoration: none;
}

.exhibition-card:nth-child(6n + 2),
.exhibition-card:nth-child(6n + 5) {
  grid-column: span 5;
  margin-top: clamp(46px, 8vw, 132px);
}

.exhibition-card:nth-child(6n + 3) {
  grid-column: span 3;
}

.exhibition-card:nth-child(6n + 4) {
  grid-column: 2 / span 4;
}

.exhibition-card img,
.exhibition-card__media iframe,
.exhibition-card__media img {
  display: block;
  width: 100%;
  border: 0;
  background: #d9d5ca;
}

.exhibition-card img,
.exhibition-card__media img {
  aspect-ratio: 4 / 4.85;
  object-fit: cover;
}

.exhibition-card__media iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.exhibition-card div:last-child {
  border-top: 1px solid rgba(17, 17, 15, 0.3);
  padding-top: 16px;
}

.exhibition-card h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.6vw, 50px);
  font-weight: 500;
  line-height: 0.98;
}

.exhibition-card p {
  max-width: 460px;
  margin: 16px 0 0;
  color: #66635b;
  font-size: 16px;
  line-height: 1.5;
}

.exhibition-wall--artworks .exhibition-card:nth-child(6n + 1) {
  grid-column: span 5;
}

.exhibition-wall--artworks .exhibition-card:nth-child(6n + 4) {
  grid-column: span 4;
}

.museum-object {
  background: var(--paper);
}

.museum-object-hero {
  display: grid;
  min-height: calc(82vh - var(--header-offset));
  background: #151513;
  color: #fff;
}

.museum-object-hero--has-media {
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
}

.museum-object-hero__media {
  display: grid;
  min-height: calc(82vh - var(--header-offset));
  margin: 0;
  place-items: center;
  overflow: hidden;
  background: #050504;
  padding: clamp(24px, 4vw, 72px);
}

.museum-object-hero__media img,
.museum-object-hero__media iframe {
  display: block;
  width: 100%;
  max-height: calc(82vh - var(--header-offset) - 80px);
  border: 0;
  object-fit: contain;
}

.museum-object-hero__media iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.museum-object-hero__details {
  display: grid;
  align-content: center;
  padding: clamp(54px, 6.5vw, 118px) clamp(28px, 4.6vw, 86px);
}

.museum-object-hero__details .museum-kicker {
  color: #b9b4a8;
}

.museum-object-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(52px, 6.8vw, 116px);
  font-weight: 500;
  line-height: 0.9;
}

.museum-object-hero__details > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #d7d1c2;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.35;
}

.museum-object-facts {
  display: grid;
  gap: 0;
  max-width: 640px;
  margin: clamp(34px, 4vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.museum-object-facts li {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 0.64fr);
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 17px 0;
}

.museum-object-facts span {
  color: #aaa59a;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.museum-object-facts strong {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.museum-object-facts a {
  color: #fff;
}

.museum-object-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(34px, 6vw, 112px);
  max-width: 1420px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 148px) var(--side);
}

.museum-object-body__rail {
  position: sticky;
  top: calc(var(--header-offset) + 34px);
  display: grid;
  gap: 28px;
  align-self: start;
  border-top: 2px solid var(--charcoal);
  padding-top: 20px;
}

.museum-object-body__rail p {
  margin: 0;
  color: #5f5d56;
  font-size: 15px;
  line-height: 1.55;
}

.museum-object-body__content {
  max-width: 920px;
  color: #22211f;
  font-size: clamp(18px, 1.16vw, 21px);
  line-height: 1.68;
}

.museum-object-body__content > p:first-of-type {
  color: #33312d;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.5vw, 44px);
  line-height: 1.14;
}

.post-nav--museum {
  max-width: 1420px;
  margin: 0 auto;
  border-top: 1px solid rgba(17, 17, 15, 0.18);
  padding: 28px var(--side) clamp(78px, 9vw, 140px);
}

.post-nav--museum a {
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  scroll-margin-top: var(--header-offset);
  overflow: hidden;
  border-top: 0;
  background: #090908;
  color: #f5f1e7;
}

.site-footer__wordmark {
  margin: 0 -0.04em -0.2em;
  color: #f5f1e7;
  font-family: var(--font-sans);
  font-size: clamp(92px, 22vw, 430px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.72;
  text-align: center;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(220px, 1fr) minmax(170px, 0.65fr) minmax(230px, 0.8fr);
  gap: clamp(28px, 5vw, 84px);
  max-width: 1640px;
  padding: clamp(56px, 7vw, 110px) var(--side) 44px;
}

.site-footer__intro p,
.site-footer__cta p,
.site-footer__address {
  color: #c9c3b5;
  font-size: 16px;
  line-height: 1.55;
}

.site-footer__title {
  display: block;
  max-width: 420px;
  margin: 0 0 22px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.5vw, 66px);
  font-weight: 500;
  line-height: 0.96;
  text-decoration: none;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer a {
  color: #fff;
}

.footer-menu {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: #d8d2c5;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: #fff;
}

.site-footer__cta a {
  display: inline-flex;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 12px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__cta a:hover,
.site-footer__cta a:focus {
  border-color: #fff;
  background: #fff;
  color: #090908;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1640px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  padding: 20px var(--side) 28px;
  color: #958f83;
  font-size: 13px;
}

@media (max-width: 1200px) {
  .museum-page-hero,
  .museum-archive-hero,
  .museum-object-hero--has-media {
    grid-template-columns: 1fr 1fr;
  }

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

  .exhibition-card,
  .exhibition-card:nth-child(6n + 2),
  .exhibition-card:nth-child(6n + 3),
  .exhibition-card:nth-child(6n + 4),
  .exhibition-card:nth-child(6n + 5),
  .exhibition-wall--artworks .exhibition-card:nth-child(6n + 1),
  .exhibition-wall--artworks .exhibition-card:nth-child(6n + 4) {
    grid-column: span 6;
    margin-top: 0;
  }

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

@media (max-width: 980px) {
  .site-utility {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr;
    min-height: 70px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-brand {
    grid-column: 2;
    justify-self: end;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .primary-menu,
  .primary-menu--left,
  .primary-menu--right {
    gap: 0;
    padding: 0;
  }

  .primary-menu a {
    font-size: 18px;
  }

  .museum-page-hero,
  .museum-archive-hero,
  .museum-object-hero,
  .museum-object-hero--has-media {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .museum-page-hero__text,
  .museum-archive-hero > div,
  .museum-object-hero__details {
    min-height: auto;
    padding: 58px var(--side);
  }

  .museum-page-hero__media,
  .museum-page-hero__media img,
  .museum-archive-hero img,
  .museum-object-hero__media {
    min-height: 360px;
    height: auto;
  }

  .museum-object-hero__media img,
  .museum-object-hero__media iframe {
    max-height: 560px;
  }

  .museum-reading,
  .museum-object-body {
    grid-template-columns: 1fr;
    padding-top: 58px;
    padding-bottom: 70px;
  }

  .museum-reading__rail,
  .museum-object-body__rail {
    position: static;
  }

  .collection-catalogue__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .collection-tile {
    min-height: auto;
  }

  .exhibition-wall {
    grid-template-columns: 1fr;
  }

  .exhibition-card,
  .exhibition-card:nth-child(6n + 2),
  .exhibition-card:nth-child(6n + 3),
  .exhibition-card:nth-child(6n + 4),
  .exhibition-card:nth-child(6n + 5),
  .exhibition-wall--artworks .exhibition-card:nth-child(6n + 1),
  .exhibition-wall--artworks .exhibition-card:nth-child(6n + 4) {
    grid-column: auto;
  }

  .site-footer__wordmark {
    margin-bottom: -0.1em;
  }
}

@media (max-width: 560px) {
  .museum-page-hero h1,
  .museum-archive-hero h1,
  .museum-object-hero h1 {
    font-size: 50px;
  }

  .museum-page-hero p,
  .museum-archive-hero p,
  .museum-object-hero__details > p {
    font-size: 18px;
  }

  .museum-object-facts li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer__bottom {
    display: grid;
  }
}

/* Header visit guide, sticky carousel, and redesigned lower homepage. */
:root {
  --header-offset: 124px;
}

.site-visit-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.site-visit-link:hover,
.site-visit-link:focus {
  color: var(--green);
}

.site-brand-cluster {
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 18px;
}

.site-brand-cluster .site-brand {
  grid-column: auto;
  grid-row: auto;
  justify-items: center;
  max-width: none;
  text-align: center;
}

.site-brand-cluster .site-brand__meta {
  display: block;
  margin-top: 4px;
  color: #5d5b54;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.site-tour-qr {
  display: grid;
  justify-items: center;
  width: 74px;
  color: #2a2925;
  text-align: center;
  text-decoration: none;
}

.site-tour-qr img {
  display: block;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
}

.site-tour-qr span {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.primary-menu--left {
  padding-right: clamp(150px, 13vw, 280px);
}

.primary-menu--right {
  padding-left: clamp(150px, 13vw, 280px);
}

.sticky-feature-slider,
.sticky-feature-slider__slides {
  position: relative;
  min-height: calc(100vh - var(--header-offset));
  background: #000;
}

.sticky-feature-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 520ms ease;
}

.sticky-feature-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-feature__media {
  width: min(44%, 320px, 30vh);
  margin: 0;
}

.sticky-feature__video,
.sticky-feature__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.sticky-feature h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.02;
}

.sticky-feature-slider__controls {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
}

.sticky-feature-slider__controls button {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.sticky-feature-slider__controls button[aria-current="true"] {
  background: #fff;
}

.museum-projects {
  scroll-margin-top: var(--header-offset);
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(44px, 6vw, 110px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #10100e;
  color: #f7f1e4;
  padding: 108px clamp(28px, 5vw, 96px);
}

#projects-title,
#visit-panel-title {
  scroll-margin-top: calc(var(--header-offset) + 28px);
}

.museum-projects__intro {
  position: sticky;
  top: calc(var(--header-offset) + 34px);
  align-self: start;
  max-width: 520px;
}

.museum-projects .museum-kicker {
  color: #bdb5a5;
}

.museum-projects__intro h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 68px;
  font-weight: 500;
  line-height: 0.94;
}

.museum-projects__intro p {
  margin: 26px 0 26px;
  color: #cbc3b3;
  font-size: 18px;
  line-height: 1.55;
}

.museum-projects__intro .museum-text-link {
  color: #fff;
}

.museum-projects__grid {
  display: grid;
  gap: 0;
}

.museum-project-card {
  display: grid;
  grid-template-columns: 70px minmax(190px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  min-height: 230px;
  padding: 26px 0;
  text-decoration: none;
}

.museum-project-card:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.museum-project-card__number {
  color: #8d877d;
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1;
}

.museum-project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}

.museum-project-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.02;
}

.museum-project-card:hover h3,
.museum-project-card:focus h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.museum-bottom-edit {
  background: #f6f3eb;
  color: #11110f;
  padding: 0 clamp(22px, 4vw, 72px) 96px;
}

.museum-visit-panel {
  scroll-margin-top: var(--header-offset);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
  max-width: 1580px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(17, 17, 15, 0.22);
  padding: 74px 0;
}

.museum-visit-panel__brand {
  display: grid;
  grid-template-columns: minmax(160px, 250px) minmax(0, 700px);
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}

.museum-visit-panel__brand img {
  display: block;
  width: 100%;
  background: #fff;
}

.museum-visit-panel h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 0.98;
}

.museum-visit-panel p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #5d5a52;
  font-size: 18px;
  line-height: 1.5;
}

.museum-visit-panel__qr {
  display: grid;
  justify-items: center;
  color: #11110f;
  text-align: center;
  text-decoration: none;
}

.museum-visit-panel__qr img {
  width: 118px;
  height: 118px;
  border: 1px solid rgba(17, 17, 15, 0.22);
  background: #fff;
}

.museum-visit-panel__qr span {
  max-width: 140px;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.museum-button--dark {
  display: inline-flex;
  justify-content: center;
  border: 1px solid #11110f;
  background: #11110f;
  color: #fff;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.museum-button--dark:hover,
.museum-button--dark:focus {
  background: transparent;
  color: #11110f;
}

.museum-pathways {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 46px);
  max-width: 1580px;
  margin: 0 auto;
  padding: 84px 0;
}

.museum-pathway {
  display: grid;
  align-content: space-between;
  min-height: 360px;
  grid-column: span 4;
  border-top: 2px solid #11110f;
  background: #fff;
  color: #11110f;
  padding: 28px;
  text-decoration: none;
}

.museum-pathway--large {
  grid-column: span 6;
  min-height: 560px;
  background: #141411;
  color: #fff;
  padding: 34px;
}

.museum-pathway--large .museum-kicker {
  color: #c7c0b1;
}

.museum-pathway h2,
.museum-pathway h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.98;
}

.museum-pathway h2 {
  max-width: 620px;
  font-size: 58px;
}

.museum-pathway h3 {
  font-size: 42px;
}

.museum-pathway p {
  margin: 22px 0 0;
  color: #5e5a51;
  font-size: 17px;
  line-height: 1.5;
}

.museum-pathway img {
  display: block;
  width: min(100%, 620px);
  margin-top: 42px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.museum-home__promo--refined {
  max-width: 1580px;
  min-height: 620px;
  margin: 0 auto;
  background: #0f0f0d;
}

.museum-home__promo--refined .museum-home__promo-body {
  background: #0f0f0d;
  color: #fff;
}

.museum-home__promo--refined .museum-kicker {
  color: #c7c0b1;
}

.museum-home__promo--refined h2 {
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.96;
}

.museum-home__promo--refined p {
  color: #cfc6b6;
}

.museum-closing-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1580px;
  margin: 46px auto 0;
  border-top: 1px solid rgba(17, 17, 15, 0.2);
}

.museum-note {
  display: grid;
  align-content: end;
  min-height: 420px;
  border-right: 1px solid rgba(17, 17, 15, 0.2);
  background: #fff;
  color: #11110f;
  padding: 38px;
  text-decoration: none;
}

.museum-note--dark {
  border-right: 0;
  background: #1a1a17;
  color: #fff;
}

.museum-note--dark .museum-kicker {
  color: #c7c0b1;
}

.museum-note h2 {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.museum-note p {
  max-width: 540px;
  margin: 20px 0 0;
  color: #625e55;
  font-size: 17px;
  line-height: 1.52;
}

.museum-note--dark p {
  color: #c8c0b1;
}

@media (max-width: 1280px) {
  .site-tour-qr {
    display: none;
  }

  .primary-menu--left {
    padding-right: 120px;
  }

  .primary-menu--right {
    padding-left: 120px;
  }

  .museum-projects,
  .museum-visit-panel,
  .museum-visit-panel__brand {
    grid-template-columns: 1fr;
  }

  .museum-visit-panel__qr {
    justify-self: start;
  }

  .museum-pathway--large,
  .museum-pathway {
    grid-column: span 6;
  }
}

@media (max-width: 980px) {
  :root {
    --header-offset: 74px;
  }

  .site-brand-cluster {
    grid-column: 2;
    justify-self: end;
  }

  .site-brand-cluster .site-brand {
    justify-items: end;
    text-align: right;
  }

  .site-brand-cluster .site-brand__meta {
    display: block;
    font-size: 10px;
  }

  .sticky-feature-slider,
  .sticky-feature-slider__slides {
    min-height: auto;
  }

  .sticky-feature-slide {
    position: relative;
    display: none;
    min-height: auto;
    opacity: 1;
    transform: none;
  }

  .sticky-feature-slide.is-active {
    display: grid;
  }

  .sticky-feature h2 {
    font-size: 38px;
  }

  .sticky-feature-slider__controls {
    bottom: 18px;
  }

  .museum-projects {
    padding: 64px 22px;
  }

  .museum-projects__intro {
    position: static;
  }

  .museum-projects__intro h2,
  .museum-home__promo--refined h2 {
    font-size: 46px;
  }

  .museum-project-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .museum-project-card__number {
    font-size: 30px;
  }

  .museum-bottom-edit {
    padding-right: 22px;
    padding-bottom: 64px;
    padding-left: 22px;
  }

  .museum-visit-panel {
    padding: 56px 0;
  }

  .museum-visit-panel h2 {
    font-size: 42px;
  }

  .museum-pathways {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }

  .museum-pathway,
  .museum-pathway--large {
    grid-column: auto;
    min-height: 360px;
  }

  .museum-pathway h2,
  .museum-pathway h3 {
    font-size: 38px;
  }

  .museum-closing-notes {
    grid-template-columns: 1fr;
  }

  .museum-note {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 15, 0.2);
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .site-brand-cluster .site-brand__name {
    font-size: 32px;
  }

  .site-brand-cluster .site-brand__meta {
    font-size: 9px;
  }

  .sticky-feature__media {
    width: min(100%, 320px);
  }

  .museum-projects__intro h2,
  .museum-visit-panel h2,
  .museum-home__promo--refined h2,
  .museum-note h2 {
    font-size: 36px;
  }

  .museum-visit-panel__brand {
    gap: 22px;
  }

  .museum-visit-panel__brand img {
    max-width: 260px;
  }
}

/* ============================================================== *
 *  "COME ALIVE" LAYER
 *  Steps 1–7: breathing artwork, real type, embeds, one type
 *  voice, restrained motion, a true visit block, and social proof.
 * ============================================================== */

:root {
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Step 5: restrained motion (guarded by .js-motion) -------- */
.js-motion .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.js-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Step 4: one typographic voice, bigger scale contrast ----- */
.museum-page-hero__text h1,
.museum-archive-hero h1,
.museum-object-hero__details h1,
.masa-two-up h2,
.masa-exhibition__head h2,
.masa-visit h2,
.masa-instagram h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.museum-page-hero__text h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}
.museum-archive-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

/* ---- Step 1: flatten boxes, let images breathe --------------- */
.collection-tile,
.collection-work,
.exhibition-card,
.card,
.museum-project-card {
  box-shadow: none !important;
  border-radius: 0;
  background: transparent;
}
.collection-tile img,
.exhibition-card img,
.card__media img,
.museum-project-card img {
  border-radius: 0;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.collection-tile:hover img,
.exhibition-card:hover img,
.card:hover .card__media img,
.museum-project-card:hover img {
  transform: scale(1.03);
}

/* Full archive wall */
.collection-wall {
  margin: clamp(56px, 8vw, 120px) 0 0;
  padding: 0 var(--side);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.collection-wall__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(248, 247, 241, 0.16);
  padding-top: 34px;
  margin-bottom: 40px;
}
.collection-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.collection-filter__chip {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 247, 241, 0.7);
  background: transparent;
  border: 1px solid rgba(248, 247, 241, 0.28);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: color 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.collection-filter__chip:hover {
  color: #fff;
  border-color: #fff;
}
.collection-filter__chip.is-active {
  color: var(--charcoal, #11110f);
  background: var(--paper, #f8f7f1);
  border-color: var(--paper, #f8f7f1);
}
.collection-wall__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 46px);
}
.collection-work {
  display: block;
  text-decoration: none;
  color: inherit;
}
.collection-work.is-hidden {
  display: none;
}
.collection-work__media {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 4 / 5;
}
.collection-work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease);
}
.collection-work:hover .collection-work__media img {
  transform: scale(1.04);
}
.collection-work__caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 2px 0;
}
.collection-work__title {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.2;
  color: #f4f2ec;
}
.collection-work__series {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(248, 247, 241, 0.55);
}

/* ---- Step 2: two-up (text one side, two images) -------------- */
.masa-two-up {
  max-width: var(--max);
  margin: clamp(56px, 8vw, 120px) auto;
  padding: 0 var(--side);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}
.masa-two-up__text h2 {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  margin: 14px 0 18px;
}
.masa-two-up__text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42ch;
}
.masa-two-up__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 26px);
}
.masa-two-up__media figure {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 3 / 4;
}
.masa-two-up__media figure:first-child {
  margin-top: 36px;
}
.masa-two-up__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Step 2: Patrimonio exhibition, real type ---------------- */
.masa-exhibition {
  max-width: var(--max);
  margin: clamp(56px, 8vw, 120px) auto;
  padding: clamp(40px, 5vw, 80px) var(--side);
  background: var(--charcoal, #11110f);
  color: var(--paper, #f8f7f1);
}
.masa-exhibition .museum-kicker {
  color: var(--gold);
}
.masa-exhibition__head {
  max-width: 820px;
}
.masa-exhibition__head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin: 12px 0 20px;
}
.masa-exhibition__meta {
  color: rgba(248, 247, 241, 0.66);
  font-size: 0.98rem;
  margin: 2px 0;
}
.masa-exhibition__intro {
  color: rgba(248, 247, 241, 0.9);
  font-size: 1.14rem;
  line-height: 1.7;
  margin: 24px 0 0;
}
.masa-exhibition__quote {
  margin: 30px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}
.masa-exhibition__quote p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--paper, #f8f7f1);
  margin: 0 0 8px;
}
.masa-exhibition__quote cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(248, 247, 241, 0.6);
}
.masa-exhibition__roster {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(28px, 4vw, 70px);
  margin: clamp(40px, 5vw, 72px) 0;
  padding-top: 40px;
  border-top: 1px solid rgba(248, 247, 241, 0.16);
}
.masa-roster h3 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.masa-roster ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
.masa-roster:last-child ul {
  columns: 1;
}
.masa-roster li {
  break-inside: avoid;
  padding: 10px 0;
  border-bottom: 1px solid rgba(248, 247, 241, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.masa-roster__name {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  color: var(--paper, #f8f7f1);
}
.masa-roster__origin {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: rgba(248, 247, 241, 0.55);
}
.masa-exhibition__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.masa-exhibition__film {
  margin: 0;
}
.masa-exhibition__film figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(248, 247, 241, 0.6);
}

/* ---- Step 3: responsive video embeds ------------------------- */
.masa-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.masa-embed--facebook {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin-inline: auto;
}
.masa-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.entry-content .masa-embed {
  margin: 28px 0;
}

/* Facebook reel play-card (reliable fallback for share/reel URLs) */
.masa-play-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  background: linear-gradient(160deg, #1b1b18 0%, #2a2a26 100%);
  color: var(--paper, #f8f7f1);
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin-inline: auto;
  border: 1px solid rgba(248, 247, 241, 0.14);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.masa-play-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.masa-play-card__play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  position: relative;
  transition: background 0.4s var(--ease);
}
.masa-play-card__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--gold);
}
.masa-play-card:hover .masa-play-card__play {
  background: rgba(181, 141, 63, 0.14);
}
.masa-play-card__label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 247, 241, 0.8);
}

/* ---- Step 6: the Visit block --------------------------------- */
.masa-visit {
  max-width: var(--max);
  margin: clamp(56px, 8vw, 120px) auto;
  padding: clamp(40px, 5vw, 72px) var(--side);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  background: var(--soft);
}
.masa-visit h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 12px 0 16px;
}
.masa-visit__intro p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 40ch;
}
.masa-visit__qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.masa-visit__qr img {
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 8px;
  border: 1px solid var(--line);
}
.masa-visit__qr span {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 16ch;
}
.masa-visit__locations {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-self: center;
}
.masa-visit__location {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.masa-visit__location:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.masa-visit__location h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0 0 8px;
}
.masa-visit__location address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.6;
}
.masa-visit__note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 6px 0 10px;
}

/* ---- Step 7: supporters + Instagram + social ----------------- */
.masa-supporters {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) var(--side);
  text-align: center;
  border-top: 1px solid var(--line);
}
.masa-supporters__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 10px 0 34px;
}
.masa-supporters__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}
.masa-supporter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 84px;
  color: var(--muted);
  text-decoration: none;
}
.masa-supporter img {
  max-height: 60px;
  max-width: 170px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.masa-supporter:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.masa-supporter--placeholder {
  border: 1px dashed var(--line);
  border-radius: 4px;
}
.masa-supporter--placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bdbcb4;
}
.masa-supporters__hint {
  margin: 26px auto 0;
  max-width: 46ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.masa-instagram {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) var(--side) 0;
}
.masa-instagram__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.masa-instagram__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 8px 0 0;
}
.masa-instagram__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
}
.masa-instagram__tile {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--soft);
}
.masa-instagram__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), opacity 0.4s var(--ease);
}
.masa-instagram__tile:hover img {
  transform: scale(1.06);
  opacity: 0.9;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
}
.site-footer__social-link {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: inherit;
  opacity: 0.75;
  border-bottom: 1px solid transparent;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-footer__social-link:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}

/* ---- Responsive ---------------------------------------------- */
@media (max-width: 1024px) {
  .collection-wall__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .masa-instagram__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .masa-two-up,
  .masa-exhibition__roster,
  .masa-exhibition__media,
  .masa-visit {
    grid-template-columns: 1fr;
  }
  .masa-two-up__media figure:first-child {
    margin-top: 0;
  }
  .masa-roster ul,
  .masa-roster:last-child ul {
    columns: 1;
  }
}
@media (max-width: 640px) {
  .collection-wall__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .masa-instagram__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .masa-embed--facebook {
    max-width: 100%;
  }
}
