/*
Theme Name: Stiftung Medienmuseum Hamburg
Theme URI: https://medienmuseum.hamburg/
Author: Stiftung Medienmuseum Hamburg
Description: Custom WordPress theme for Stiftung Medienmuseum Hamburg.
Version: 0.1.3
Text Domain: medienmuseum
*/

@import url("css/global.css");

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px var(--header-x);
  background: rgba(235, 235, 223, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
}

.logo img {
  display: block;
  width: clamp(180px, 21vw, 260px);
  height: auto;
}

.main-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: var(--header-x);
  display: none;
  min-width: min(360px, calc(100vw - 36px));
  padding: 16px;
  color: #22344a;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  display: block;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
}

.main-nav ul,
.site-footer ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li,
.site-footer li {
  display: contents;
}

.main-nav a:last-child {
  border-bottom: 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.header-cta {
  order: 2;
}

.muted-button {
  cursor: default;
  opacity: 0.72;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
}

.button:hover,
.header-cta:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.burger {
  position: relative;
  order: 3;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(4, 75, 153, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 26px rgba(4, 33, 65, 0.08);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition:
    opacity 160ms ease,
    transform 180ms ease,
    width 180ms ease;
}

.burger span:first-child {
  transform: translate(-50%, -50%) translateY(-6px);
}

.burger span:last-child {
  transform: translate(-50%, -50%) translateY(6px);
}

.burger:hover {
  background: var(--white);
  border-color: rgba(4, 75, 153, 0.34);
  box-shadow: 0 14px 32px rgba(4, 33, 65, 0.13);
  transform: translateY(-1px);
}

.nav-toggle:focus-visible + .burger {
  outline: 3px solid rgba(4, 75, 153, 0.24);
  outline-offset: 3px;
}

.nav-toggle:checked + .burger {
  background: var(--blue);
  border-color: var(--blue);
}

.nav-toggle:checked + .burger span {
  background: var(--white);
}

.nav-toggle:checked + .burger span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle:checked + .burger span:nth-child(2) {
  width: 4px;
  opacity: 0;
}

.nav-toggle:checked + .burger span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-toggle:checked ~ .main-nav {
  display: block;
}

.hero {
  position: relative;
  min-height: calc(100svh - 132px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.page-hero {
  padding: var(--hero-padding);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.95), rgba(4, 75, 153, 0.72)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.foundation-hero {
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.96), rgba(4, 75, 153, 0.64)),
    url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.projects-hero {
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.95), rgba(4, 75, 153, 0.58)),
    url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.museum-hero {
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.95), rgba(4, 75, 153, 0.52)),
    url("https://images.unsplash.com/photo-1554907984-15263bfd63bd?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.rohde-hero {
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.96), rgba(4, 75, 153, 0.58)),
    url("https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.tennigkeit-hero {
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.96), rgba(4, 75, 153, 0.58)),
    url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.participation-hero {
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.96), rgba(4, 75, 153, 0.58)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.page-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: var(--type-hero);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 24px);
}

.page-hero .eyebrow {
  color: var(--beige);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.9), rgba(4, 75, 153, 0.32) 55%, rgba(16, 32, 51, 0.18)),
    url("https://images.unsplash.com/photo-1566054757965-8c4085344c96?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.exhibition-hero .hero-media {
  background:
    linear-gradient(90deg, rgba(4, 75, 153, 0.92), rgba(4, 75, 153, 0.36) 58%, rgba(16, 32, 51, 0.2)),
    url("https://images.unsplash.com/photo-1572947650440-e8a97ef053b2?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.exhibition-hero-content h1 {
  max-width: 1040px;
}

.hero-content {
  position: relative;
  max-width: 980px;
  padding: var(--hero-content-padding);
  color: var(--white);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: var(--line-tight);
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 86px);
}

.title-line {
  display: block;
  white-space: nowrap;
}

.nowrap-heading {
  white-space: nowrap;
}

.hero p {
  max-width: 520px;
  font-size: clamp(18px, 2vw, 23px);
}

.hero .eyebrow {
  color: var(--beige);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.intro-grid,
.founders,
.contact-section,
.form-section {
  display: grid;
  grid-template-columns: var(--grid-editorial-soft);
  gap: var(--grid-gap-wide);
  align-items: start;
}

.lead {
  margin-top: 0;
  font-size: var(--type-lead);
  line-height: var(--line-copy);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--grid-gap-medium);
  align-items: center;
  background: var(--white);
}

.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.image-panel,
.card-image,
.insta-post {
  min-height: 420px;
  border-radius: var(--radius);
  background-color: #d7d9cf;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.exhibition-image {
  background-image: url("https://images.unsplash.com/photo-1572947650440-e8a97ef053b2?auto=format&fit=crop&w=1200&q=80");
}

.museum-image {
  background-image: url("https://images.unsplash.com/photo-1554907984-15263bfd63bd?auto=format&fit=crop&w=1200&q=80");
}

.copy-panel {
  max-width: 680px;
}

.copy-panel p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.content-grid p:not(.eyebrow),
.detail-grid p:not(.eyebrow),
.founders p:not(.eyebrow),
.contact-section p:not(.eyebrow),
address {
  color: var(--muted);
  font-size: var(--type-body);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 36px;
}

.card-grid,
.action-grid,
.content-grid,
.detail-grid,
.insta-grid,
.metric-row {
  display: grid;
  gap: 22px;
}

.card-grid,
.action-grid,
.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.action-card,
.content-grid article,
.detail-grid article,
.metric-row div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-image {
  min-height: 250px;
  margin: -22px -22px 22px;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: none;
}

.project-culture {
  background-image: url("https://images.unsplash.com/photo-1518998053901-5348d3961a04?auto=format&fit=crop&w=900&q=80");
}

.project-education {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80");
}

.project-nature {
  background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=900&q=80");
}

.card h3,
.action-card h3,
.content-grid h3,
.detail-grid h3,
.site-footer h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.2;
}

.section-action {
  margin-top: 30px;
}

.band {
  color: var(--white);
  background: var(--blue);
}

.band .eyebrow,
.band h2,
.band h3 {
  color: var(--white);
}

.band .section-heading p:not(.eyebrow),
.band p {
  color: rgba(255, 255, 255, 0.8);
}

.action-card {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.action-card span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--beige);
  font-weight: 900;
}

.network-section {
  display: grid;
  grid-template-columns: var(--grid-editorial);
  gap: var(--grid-gap);
  align-items: center;
  background: var(--white);
}

.foundation-statement,
.foundation-pathways,
.founder-feature,
.foundation-history,
.governance-section {
  display: grid;
  grid-template-columns: var(--grid-editorial);
  gap: var(--grid-gap);
  align-items: start;
}

.board-section {
  background: var(--white);
}

.board-section .section-heading {
  display: grid;
  grid-template-columns: var(--grid-editorial);
  column-gap: var(--grid-gap);
  row-gap: 0;
  max-width: none;
  align-items: start;
}

.board-section .section-heading .eyebrow,
.board-section .section-heading h2 {
  grid-column: 1;
}

.board-section .section-heading p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: var(--type-lead);
  line-height: var(--line-copy);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.board-grid article {
  min-width: 0;
}

.board-portrait {
  min-height: 260px;
  border-radius: var(--radius);
  background-color: #d7d9cf;
  background-position: center;
  background-size: cover;
}

.board-woman-one {
  background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=700&q=80");
}

.board-man-one {
  background-image: url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=700&q=80");
}

.board-man-two {
  background-image: url("https://images.unsplash.com/photo-1562788869-4ed32648eb72?auto=format&fit=crop&w=700&q=80");
}

.board-person-one {
  background-image: url("https://images.unsplash.com/photo-1544723795-3fb6469f5b39?auto=format&fit=crop&w=700&q=80");
}

.board-person-two {
  background-image: url("https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=700&q=80");
}

.board-grid h3 {
  margin: 12px 0 2px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.15;
}

.board-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.foundation-statement h2,
.foundation-pathways h2,
.founder-feature h2,
.foundation-history h2,
.governance-section h2 {
  font-size: var(--type-section-heading);
}

.statement-text {
  display: grid;
  gap: 22px;
}

.statement-text p,
.foundation-pathways .network-intro p:not(.eyebrow),
.founder-feature-copy p:not(.eyebrow),
.governance-actions p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-lead);
  line-height: var(--line-copy);
}

.foundation-pathways,
.governance-section {
  background: var(--white);
}

.foundation-pathways .pathway-item {
  pointer-events: none;
}

.founder-feature {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.founder-feature-copy {
  max-width: 680px;
}

.founder-feature .founder-portraits figcaption {
  display: grid;
  gap: 2px;
}

.founder-feature .founder-portraits figcaption span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.foundation-history {
  align-items: start;
  background: rgba(255, 255, 255, 0.34);
}

.history-list {
  display: grid;
  gap: 16px;
}

.history-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.history-list article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.history-list h3 {
  grid-column: 2;
  margin: 0 0 6px;
  color: var(--blue);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
}

.history-list p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.governance-actions {
  max-width: 680px;
}

.project-journal-intro,
.featured-project {
  display: grid;
  grid-template-columns: var(--grid-editorial);
  gap: var(--grid-gap);
  align-items: start;
}

.project-journal-intro h2,
.featured-project h2,
.project-feed h2 {
  font-size: var(--type-section-heading);
}

.journal-meta p {
  margin-top: 0;
  color: var(--muted);
  font-size: var(--type-lead);
  line-height: var(--line-copy);
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.category-row span {
  padding: 9px 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--type-small);
  font-weight: 900;
}

.featured-project {
  background: var(--white);
}

.featured-project-image,
.post-image {
  min-height: 390px;
  border-radius: var(--radius);
  background-color: #d7d9cf;
  background-position: center;
  background-size: cover;
}

.featured-project article {
  align-self: center;
}

.featured-project p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.project-feed {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.project-filter {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  gap: 10px;
  margin: 0 0 28px;
}

.project-filter a,
.project-pagination a,
.project-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--type-small);
  font-weight: 900;
}

.project-filter a.is-active,
.project-pagination .current {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.feed-heading {
  position: sticky;
  top: 110px;
}

.post-list {
  display: grid;
  grid-column: 2;
  gap: 0;
  border-top: 1px solid var(--line);
}

.project-post {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.post-image {
  min-height: 210px;
  display: block;
  box-shadow: none;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: var(--type-small);
  font-weight: 900;
  text-transform: uppercase;
}

.post-meta span {
  color: var(--blue);
}

.project-post h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 40px);
  line-height: var(--line-heading);
}

.project-post p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.project-pagination {
  grid-column: 2;
  margin-top: 34px;
}

.project-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.museum-statement,
.artist-platform {
  display: grid;
  grid-template-columns: var(--grid-editorial);
  gap: var(--grid-gap);
  align-items: start;
}

.museum-statement h2,
.artist-platform h2 {
  font-size: var(--type-section-heading);
}

.artist-platform {
  background: var(--white);
}

.artist-platform-image {
  min-height: 460px;
  border-radius: var(--radius);
  background-color: #d7d9cf;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.artist-platform article {
  align-self: center;
}

.artist-platform p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--type-lead);
  line-height: var(--line-copy);
}

.museum-principles {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--grid-gap);
  align-items: start;
  background: rgba(255, 255, 255, 0.34);
}

.museum-principles-copy {
  max-width: 680px;
}

.museum-principles-copy h2 {
  font-size: var(--type-section-heading);
}

.museum-principles-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--type-body);
}

.museum-principles .pathway-list {
  width: 100%;
}

.museum-principles .pathway-item {
  pointer-events: none;
}

.exhibition-thesis,
.exhibition-content,
.artist-profile,
.visit-section {
  display: grid;
  grid-template-columns: var(--grid-editorial);
  gap: var(--grid-gap);
  align-items: start;
}

.exhibition-gallery-section {
  background: var(--white);
}

.carousel-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: var(--grid-gap);
  align-items: center;
}

.gallery-intro {
  max-width: 820px;
}

.gallery-intro h2 {
  font-size: var(--type-section-heading);
}

.gallery-intro p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: var(--type-lead);
}

.click-carousel {
  display: grid;
  gap: 16px;
}

.click-carousel input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.click-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.click-carousel-track {
  display: flex;
  width: 400%;
  transition: transform 320ms ease;
}

.click-slide {
  width: 25%;
  min-height: clamp(360px, 44vw, 620px);
  background-color: #d7d9cf;
  background-position: center;
  background-size: cover;
}

#slide-1:checked ~ .click-carousel-viewport .click-carousel-track {
  transform: translateX(0);
}

#slide-2:checked ~ .click-carousel-viewport .click-carousel-track {
  transform: translateX(-25%);
}

#slide-3:checked ~ .click-carousel-viewport .click-carousel-track {
  transform: translateX(-50%);
}

#slide-4:checked ~ .click-carousel-viewport .click-carousel-track {
  transform: translateX(-75%);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots label {
  width: 12px;
  height: 12px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

#slide-1:checked ~ .carousel-dots label[for="slide-1"],
#slide-2:checked ~ .carousel-dots label[for="slide-2"],
#slide-3:checked ~ .carousel-dots label[for="slide-3"],
#slide-4:checked ~ .carousel-dots label[for="slide-4"] {
  background: var(--blue);
}

.gallery-photo-one {
  background-image: url("https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&w=1200&q=80");
}

.gallery-photo-two {
  background-image: url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=900&q=80");
}

.gallery-photo-three {
  background-image: url("https://images.unsplash.com/photo-1495707902641-75cac588d2e9?auto=format&fit=crop&w=900&q=80");
}

.gallery-photo-four {
  background-image: url("https://images.unsplash.com/photo-1480365501497-199581be0e66?auto=format&fit=crop&w=900&q=80");
}

.exhibition-thesis h2,
.exhibition-content h2,
.artist-profile h2,
.visit-section h2,
.exhibition-glimpses h2 {
  font-size: var(--type-section-heading);
}

.exhibition-content {
  background: var(--white);
}

.exhibition-content .pathway-item {
  pointer-events: none;
}

.artist-profile {
  align-items: center;
}

.artist-profile .portrait {
  min-height: 460px;
}

.artist-profile article p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--type-lead);
  line-height: var(--line-copy);
}

.artist-profile article .button {
  margin-top: 22px;
}

.exhibition-glimpses {
  background: rgba(255, 255, 255, 0.34);
}

.glimpse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.glimpse-image,
.glimpse-quote {
  min-height: 330px;
  border-radius: var(--radius);
}

.glimpse-image {
  background-color: #d7d9cf;
  background-position: center;
  background-size: cover;
}

.glimpse-quote {
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
  background: var(--blue);
}

.glimpse-quote p {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.visit-details {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.visit-details article {
  display: grid;
  grid-template-columns: minmax(110px, 0.22fr) minmax(0, 0.34fr) minmax(0, 0.44fr);
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.visit-details span,
.visit-details strong {
  display: block;
}

.visit-details span {
  color: var(--blue);
  font-size: var(--type-small);
  font-weight: 900;
  text-transform: uppercase;
}

.visit-details strong {
  color: var(--blue);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
}

.visit-details p {
  margin: 0;
  color: var(--muted);
}

.visit-details .button-row {
  margin-top: 24px;
}

.exhibition-imprint,
.biography-intro,
.bio-timeline-section,
.awards-section {
  display: grid;
  grid-template-columns: var(--grid-editorial);
  gap: var(--grid-gap);
  align-items: start;
}

.exhibition-imprint {
  background: rgba(255, 255, 255, 0.34);
}

.exhibition-imprint h2,
.biography-intro h2,
.bio-timeline-section h2,
.awards-section h2 {
  font-size: var(--type-section-heading);
}

.imprint-list {
  display: grid;
  gap: 14px;
}

.imprint-list article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.imprint-list h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 20px;
}

.imprint-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.biography-intro {
  align-items: center;
}

.biography-intro > div:not(.portrait) {
  display: grid;
  justify-items: start;
  row-gap: 14px;
}

.biography-intro .eyebrow,
.biography-intro .lead {
  margin: 0;
}

.biography-intro .button {
  margin-top: 4px;
}

.bio-timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.vita-section {
  background: var(--white);
}

.editorial-timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.editorial-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 112px;
  width: 1px;
  background: var(--line);
}

.editorial-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 36px;
  padding: 0 0 34px;
}

.editorial-timeline article::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 107px;
  width: 11px;
  height: 11px;
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.editorial-timeline time {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.editorial-timeline h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: clamp(24px, 3vw, 38px);
  line-height: var(--line-heading);
}

.editorial-timeline p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.editorial-timeline .timeline-highlight {
  padding: 24px 0 34px;
}

.editorial-timeline .timeline-highlight div {
  padding: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
}

.editorial-timeline .timeline-highlight h3 {
  color: var(--white);
}

.editorial-timeline .timeline-highlight p {
  color: rgba(255, 255, 255, 0.8);
}

.bio-timeline article {
  display: grid;
  grid-template-columns: minmax(90px, 0.22fr) minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.bio-timeline time {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.bio-timeline h3 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.12;
}

.bio-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.awards-section {
  background: var(--blue);
}

.awards-editorial {
  color: var(--ink);
  background: var(--beige);
  border-top: 1px solid var(--line);
}

.awards-editorial > div:first-child {
  max-width: 680px;
}

.awards-editorial h2 {
  color: var(--blue);
}

.awards-editorial .eyebrow {
  color: var(--blue);
}

.awards-editorial > div:first-child p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.award-list {
  display: grid;
  align-content: center;
  gap: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.award-list p {
  margin: 0;
  padding: 22px 0;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--grid-gap);
  align-items: start;
}

.legal-section h2 {
  font-size: var(--type-section-heading);
}

.artist-content {
  background: var(--white);
}

.artist-content > * {
  max-width: 920px;
}

.legal-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.legal-list article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.legal-list h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
}

.legal-list p,
.legal-section address {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-list a {
  color: var(--blue);
  font-weight: 900;
}

.privacy-page {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: var(--grid-gap-medium);
  align-items: start;
}

.privacy-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 8px;
}

.privacy-nav a {
  padding: 10px 0;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.privacy-content {
  display: grid;
  gap: 42px;
}

.privacy-content section {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.privacy-content h2 {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.privacy-content h3 {
  margin: 28px 0 10px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.15;
}

.privacy-content h4 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: var(--type-body);
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
  font-size: 16px;
}

.privacy-content a {
  color: var(--blue);
  font-weight: 900;
}

.privacy-callout {
  padding: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
}

.privacy-callout p {
  color: rgba(255, 255, 255, 0.86);
}

.source-note {
  margin-top: 28px;
  font-size: 14px;
}

.participation-routes,
.grant-criteria,
.support-section {
  display: grid;
  grid-template-columns: var(--grid-editorial);
  gap: var(--grid-gap);
  align-items: start;
}

.participation-routes h2,
.grant-criteria h2,
.support-section h2 {
  font-size: var(--type-section-heading);
}

.route-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.route-list article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.route-list article > span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: var(--type-small);
  font-weight: 900;
  text-transform: uppercase;
}

.route-list h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 42px);
  line-height: var(--line-heading);
}

.route-list p,
.criteria-content p,
.support-copy p,
.support-card p,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
}

.donate-button {
  margin-top: 18px;
}

.grant-criteria {
  background: var(--white);
}

.support-section {
  color: var(--white);
  background: var(--blue);
}

.support-section h2,
.support-section .eyebrow {
  color: var(--white);
}

.support-copy p,
.support-card p {
  color: rgba(255, 255, 255, 0.78);
}

.support-card {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}

.support-card h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(26px, 3vw, 42px);
  line-height: var(--line-heading);
}

.support-card .button.secondary {
  margin-top: 24px;
  color: var(--blue);
  background: var(--white);
}

.form-note {
  margin-top: 18px;
}

.participation-option {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.option-kicker {
  width: max-content;
  padding: 8px 10px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.option-copy,
.option-split,
.option-tabs,
.option-flow,
.option-feature {
  grid-template-columns: var(--grid-editorial-soft);
}

.option-copy h2,
.split-main h2,
.option-tabs h2,
.flow-intro h2,
.feature-support h2 {
  font-size: var(--type-section-heading);
}

.option-copy p:not(.eyebrow),
.feature-support p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.option-editorial {
  grid-template-columns: var(--grid-editorial-soft);
  align-items: start;
}

.option-links {
  border-top: 1px solid var(--line);
}

.option-links div {
  display: grid;
  gap: 5px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.option-links strong {
  color: var(--blue);
  font-size: clamp(22px, 2.4vw, 32px);
}

.option-links span {
  color: var(--muted);
}

.option-split {
  display: grid;
  background: rgba(255, 255, 255, 0.34);
}

.split-actions {
  display: grid;
  gap: 14px;
}

.split-actions article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.split-actions h3,
.role-grid h3,
.feature-side h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
}

.split-actions p,
.role-grid p,
.flow-list p,
.feature-side p {
  color: var(--muted);
}

.option-tabs {
  display: grid;
  background: var(--blue);
  color: var(--white);
}

.option-tabs h2,
.option-tabs .eyebrow {
  color: var(--white);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}

.role-grid article {
  min-height: 300px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.role-grid span {
  display: block;
  margin-bottom: 64px;
  color: var(--beige);
  font-size: var(--type-small);
  font-weight: 900;
  text-transform: uppercase;
}

.role-grid h3 {
  color: var(--white);
}

.role-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.option-flow {
  display: grid;
}

.flow-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.flow-list article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.flow-list span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.flow-list strong {
  display: block;
  margin: 4px 0 6px;
  color: var(--blue);
  font-size: clamp(24px, 3vw, 42px);
  line-height: var(--line-heading);
}

.option-feature {
  display: grid;
  color: var(--white);
  background: var(--blue);
}

.option-feature h2,
.option-feature .eyebrow {
  color: var(--white);
}

.option-feature .option-kicker {
  color: var(--blue);
  background: var(--beige);
}

.feature-support p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-side {
  display: grid;
  gap: 14px;
}

.feature-side article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.feature-side h3 {
  color: var(--white);
}

.feature-side p {
  color: rgba(255, 255, 255, 0.78);
}

.network-intro {
  max-width: 660px;
}

.network-intro h2 {
  font-size: var(--type-section-heading);
}

.network-intro p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 19px;
}

.pathway-list {
  border-top: 1px solid var(--line);
}

.pathway-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.pathway-index {
  color: var(--blue);
  font-size: var(--type-small);
  font-weight: 900;
}

.pathway-item strong,
.pathway-item small {
  display: block;
}

.pathway-item strong {
  color: var(--blue);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
}

.pathway-item small {
  max-width: 520px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: var(--line-copy);
}

.founders {
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.founders-copy {
  max-width: 760px;
}

.founder-portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.founder-portraits figure {
  margin: 0;
}

.portrait {
  min-height: 330px;
  border-radius: var(--radius);
  background-color: #d7d9cf;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.portrait-man {
  background-image: url("https://images.unsplash.com/photo-1750853764006-ea07a889f823?auto=format&fit=crop&w=700&q=80");
}

.portrait-woman {
  background-image: url("https://images.unsplash.com/photo-1740801498492-1364e11a849d?auto=format&fit=crop&w=700&q=80");
}

.founder-portraits figcaption {
  margin-top: 10px;
  color: var(--blue);
  font-weight: 900;
}

.portrait-link {
  display: block;
}

.portrait-link .portrait {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portrait-link:hover .portrait {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(16, 32, 51, 0.16);
}

.portrait-link:hover figcaption {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.insta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.instagram {
  background: var(--white);
}

.insta-post {
  min-height: 280px;
}

.post-one {
  background-image: url("https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?auto=format&fit=crop&w=700&q=80");
}

.post-two {
  background-image: url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=700&q=80");
}

.post-three {
  background-image: url("https://images.unsplash.com/photo-1492538368677-f6e0afe31dcc?auto=format&fit=crop&w=700&q=80");
}

.post-four {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=700&q=80");
}

.page-section {
  background: rgba(255, 255, 255, 0.34);
}

.contact-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  color: var(--white);
  background: var(--blue);
}

.contact-teaser-copy h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 66px);
}

.contact-teaser-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.contact-teaser .eyebrow {
  color: var(--beige);
}

.contact-options {
  display: grid;
  gap: 12px;
}

.contact-options a {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.contact-options a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-options span {
  color: var(--beige);
  font-size: var(--type-small);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-options strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.content-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 26px;
}

.content-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.metric-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  color: var(--blue);
  font-size: 26px;
}

.metric-row span {
  color: var(--muted);
}

.exhibition-detail {
  background: var(--white);
}

.form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 800;
}

.form-guard {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.consent-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent-field a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

textarea {
  resize: vertical;
}

address {
  margin-top: 24px;
  font-style: normal;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 52px var(--page-x);
  color: var(--white);
  background: #102033;
}

.site-footer a {
  display: table;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-logo {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 16px;
}

.site-footer .footer-logo img {
  width: 260px;
  max-width: calc(100vw - 88px);
  height: auto;
}

@media (max-width: 1040px) {
  .header-cta {
    display: none;
  }

  .card-grid,
  .card-grid.two,
  .action-grid,
  .content-grid,
  .detail-grid,
  .insta-grid,
  .metric-row,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nowrap-heading {
    white-space: normal;
  }

  .network-section {
    grid-template-columns: 1fr;
  }

  .board-section .section-heading,
  .foundation-statement,
  .foundation-pathways,
  .founder-feature,
  .foundation-history,
  .governance-section,
  .project-journal-intro,
  .featured-project,
  .project-feed,
  .museum-statement,
  .artist-platform,
  .museum-principles,
  .exhibition-thesis,
  .exhibition-content,
  .carousel-feature,
  .artist-profile,
  .visit-section,
  .exhibition-imprint,
  .biography-intro,
  .bio-timeline-section,
  .awards-section,
  .participation-routes,
  .grant-criteria,
  .support-section,
  .option-editorial,
  .option-split,
  .option-tabs,
  .option-flow,
  .option-feature,
  .role-grid,
  .legal-section,
  .privacy-page {
    grid-template-columns: 1fr;
  }

  .privacy-nav {
    position: static;
  }

  .project-filter,
  .post-list,
  .project-pagination {
    grid-column: 1;
  }

  .contact-teaser {
    grid-template-columns: 1fr;
  }

  .pathway-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .board-section .section-heading > * {
    grid-column: 1;
    grid-row: auto;
  }

  .visit-details article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .history-list article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .feed-heading {
    position: static;
  }

  .editorial-timeline::before {
    left: 84px;
  }

  .editorial-timeline article {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 28px;
  }

  .editorial-timeline article::before {
    left: 79px;
  }

}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .main-nav {
    right: 16px;
    left: 16px;
    min-width: 0;
  }

  .hero {
    min-height: calc(100svh - 116px);
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 150px;
  }

  .intro-grid,
  .split,
  .reverse,
  .founders,
  .founder-portraits,
  .visit-details,
  .contact-section,
  .form-section,
  .project-post,
  .glimpse-grid,
  .card-grid,
  .action-grid,
  .content-grid,
  .content-grid.compact,
  .detail-grid,
  .insta-grid,
  .metric-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 310px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    padding-right: 14px;
    padding-left: 14px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
