:root {
  --paper: #f7f2ea;
  --paper-strong: #efe5d7;
  --ink: #161515;
  --ink-soft: #514943;
  --line: rgba(22, 21, 21, 0.12);
  --rose: #8f4857;
  --rose-soft: #d9b5bf;
  --ochre: #c88c38;
  --olive: #62746a;
  --slate: #3d4856;
  --white: #fffdf9;
  --shadow: 0 20px 60px rgba(25, 18, 14, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Albert Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(143, 72, 87, 0.12), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(200, 140, 56, 0.14), transparent 24%),
    linear-gradient(180deg, #fcfaf5 0%, var(--paper) 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 46px,
      rgba(22, 21, 21, 0.012) 47px,
      transparent 48px
    );
  mix-blend-mode: multiply;
  opacity: 0.7;
}

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

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

p {
  margin: 0;
  line-height: 1.7;
  color: var(--ink-soft);
}

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 242, 234, 0.76);
  border-bottom: 1px solid rgba(22, 21, 21, 0.08);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 4px;
  flex: 0 0 auto;
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.brand-note {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(22, 21, 21, 0.12);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}

.lang-button:hover {
  border-color: rgba(22, 21, 21, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.lang-button.is-active {
  border-color: rgba(22, 21, 21, 0.22);
  background: rgba(22, 21, 21, 0.08);
  color: var(--ink);
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.lang-code {
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav a {
  font-size: 0.84rem;
  padding: 8px 7px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: 0.25s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(22, 21, 21, 0.08);
  color: var(--ink);
}

.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  padding-top: 32px;
}

.hero-copy,
.hero-media,
.panel,
.quote-block,
.gallery-frame,
.bio-grid,
.cta-band,
.timeline-card,
.contact-card,
.theme-card,
.stat-card,
.empty-state {
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(22, 21, 21, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -80px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 72, 87, 0.14), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.92;
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.95;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.hero-lead {
  margin-top: 22px;
  font-size: 1.12rem;
  max-width: 50ch;
}

.cta-row,
.link-row,
.stats-grid,
.theme-grid,
.contact-grid,
.timeline-grid,
.feature-grid,
.bio-grid,
.footer-links {
  display: grid;
  gap: 18px;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
}

.social-links,
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links--hero {
  margin-top: 14px;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

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

.button:hover {
  background: var(--rose);
  transform: translateY(-1px);
}

.ghost-button {
  border: 1px solid rgba(22, 21, 21, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
}

.ghost-button:hover {
  border-color: rgba(22, 21, 21, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.social-link,
.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 1px 18px 0;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid rgba(22, 21, 21, 0.12);
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink-soft);
  transition: 0.25s ease;
}

.social-link:hover,
.profile-link:hover {
  border-color: rgba(22, 21, 21, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.social-link--icon {
  width: 40px;
  justify-content: center;
  padding: 0;
}

.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero-media {
  overflow: hidden;
  min-height: 100%;
  position: relative;
  display: grid;
}

.hero-media img,
.panel-image img,
.gallery-item img,
.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  background: rgba(20, 18, 17, 0.58);
  color: rgba(255, 253, 249, 0.92);
}

.hero-media .caption strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero-carousel {
  position: relative;
  min-height: 100%;
  height: 100%;
  isolation: isolate;
}

.hero-carousel-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 0.45s ease,
    transform 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-carousel-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  text-align: center;
  color: var(--white);
  pointer-events: none;
}

.hero-carousel-kicker {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.hero-carousel-kicker a {
  color: var(--white);
  text-decoration: none;
}

.hero-carousel-kicker a:hover {
  opacity: 0.9;
}

.hero-carousel-text {
  display: none;
}

.hero-carousel-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 0 14px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 249, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 253, 249, 0.96);
  font-weight: 700;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.hero-carousel-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.hero-arrow {
  display: none;
}
.hero-page-button {
  border: 1px solid rgba(255, 253, 249, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 253, 249, 0.94);
  font: inherit;
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-arrow:hover,
.hero-page-button:hover {
  border-color: rgba(255, 253, 249, 0.32);
  background: rgba(255, 255, 255, 0.16);
}

.hero-arrow {
  display: none;
}

.hero-page-button {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 249, 0.6);
  background: transparent;
}

.hero-page-button.is-active {
  background: rgba(255, 253, 249, 0.95);
  border-color: rgba(255, 253, 249, 0.95);
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  max-width: 72ch;
}

.section-head p {
  font-size: 1.02rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 28px;
}

.stat-card {
  padding: 22px;
  min-width: 0;
}

.stat-value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3vw, 2.2rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  margin-bottom: 4px;
}

.theme-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.theme-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  min-width: 0;
}

.theme-grid > :nth-child(n + 6) {
  display: none;
}

.theme-card a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.theme-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.theme-card-copy {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: flex-start;
}

.theme-card-copy span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose);
}

.theme-card-copy p {
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.feature-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.panel {
  padding: 30px;
}

.panel-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 100%;
  box-shadow: var(--shadow);
}

.bio-grid {
  grid-template-columns: 0.92fr 1.08fr;
  overflow: hidden;
}

.profile-card {
  min-height: 100%;
}

.profile-card img {
  aspect-ratio: 1 / 1.15;
}

.bio-copy {
  padding: 34px;
  display: grid;
  gap: 16px;
}

.quote-block {
  padding: 34px;
  margin-top: 26px;
}

.quote-block p {
  font-size: 1.18rem;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
}

.gallery-frame {
  padding: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(22, 21, 21, 0.08);
}

.gallery-item img {
  aspect-ratio: 4 / 5;
}

.gallery-item.wide img {
  aspect-ratio: 16 / 9;
}

.gallery-item figcaption {
  padding: 14px 16px 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.wall-frame {
  padding: 18px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(22, 21, 21, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.wall-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(22, 21, 21, 0.08);
  background: rgba(255, 255, 255, 0.68);
  aspect-ratio: 1 / 1.18;
}

.wall-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wall-item:hover img {
  transform: scale(1.03);
}

.page-hero {
  padding-top: 30px;
}

.split-hero {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 26px;
}

.split-hero--about {
  grid-template-columns: 1.08fr 0.72fr;
  align-items: start;
}

.split-hero--about h1 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.05;
  max-width: 15ch;
}

.split-hero--about .hero-lead {
  max-width: 40ch;
  font-size: 1.04rem;
}

.about-page h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.about-page .quote-block p {
  font-size: 1.08rem;
}

.expositions-page h1 {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 0.98;
}

.expositions-page h2 {
  font-size: clamp(1.95rem, 3.1vw, 2.85rem);
  line-height: 1.02;
}

.expositions-page .event-card-copy h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.expositions-page .section-head {
  max-width: 62ch;
}

.split-hero .panel {
  padding: 40px;
}

.split-hero .panel-image img {
  aspect-ratio: 5 / 4;
}

.split-hero--about .panel-image {
  max-width: 430px;
  justify-self: end;
  min-height: auto;
}

.split-hero--about .panel-image img {
  aspect-ratio: 4 / 5;
  object-position: center 16%;
}

.timeline-grid {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(161, 95, 106, 0.45) transparent;
}

.timeline-grid::-webkit-scrollbar {
  height: 8px;
}

.timeline-grid::-webkit-scrollbar-thumb {
  background: rgba(161, 95, 106, 0.32);
  border-radius: 999px;
}

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

.event-card {
  overflow: hidden;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(22, 21, 21, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.event-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-card--document img {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
}

.event-card-copy {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.event-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose);
}

.press-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.press-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(22, 21, 21, 0.12);
  background: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  transition: 0.25s ease;
}

.press-links a:hover {
  border-color: rgba(22, 21, 21, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.timeline-card,
.contact-card,
.empty-state {
  padding: 26px;
}

.timeline-card--with-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 min(84vw, 320px);
  min-width: min(84vw, 320px);
  scroll-snap-align: start;
}

.timeline-card--with-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline-card-copy {
  padding: 24px;
  display: grid;
  gap: 14px;
  flex: 1;
}

.timeline-card-copy h3,
.timeline-card-copy p {
  margin: 0;
}

.timeline-card span,
.contact-card span,
.meta-line {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose);
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.cta-band {
  margin-top: 30px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background:
    linear-gradient(135deg, rgba(22, 21, 21, 0.96), rgba(61, 72, 86, 0.92)),
    var(--ink);
  color: rgba(255, 253, 249, 0.94);
}

@media (min-width: 1180px) {
  .timeline-grid {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .timeline-card--with-image {
    flex: 1 1 0;
    min-width: 0;
  }
}

.cta-band p,
.cta-band h3 {
  color: rgba(255, 253, 249, 0.94);
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 44px;
}

.footer-shell {
  border-top: 1px solid rgba(22, 21, 21, 0.08);
  padding-top: 24px;
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.subtle {
  color: #726a63;
  font-size: 0.94rem;
}

.list {
  display: grid;
  gap: 10px;
}

.list div {
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
}

.list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--ochre));
  transform: translateY(-50%);
}

.empty-state {
  text-align: left;
  border-style: dashed;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.page-tag {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(143, 72, 87, 0.1);
  color: var(--rose);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

@media (max-width: 1240px) {
  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    padding: 10px 0 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav.is-open {
    display: flex;
    background: rgba(255, 253, 249, 0.94);
    border: 1px solid rgba(22, 21, 21, 0.08);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .header-tools {
    order: 2;
    margin-left: auto;
  }

  .theme-grid,
  .timeline-grid,
  .event-grid,
  .stats-grid,
  .feature-grid,
  .contact-grid,
  .bio-grid,
  .hero-grid,
  .split-hero,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    padding: 10px 0 0;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav.is-open {
    display: flex;
    background: rgba(255, 253, 249, 0.94);
    border: 1px solid rgba(22, 21, 21, 0.08);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    width: 100%;
    padding: 12px 14px;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .header-tools {
    order: 2;
    margin-left: auto;
  }

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

  .hero-media img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .hero-carousel {
    min-height: auto;
  }

  .hero-carousel-slides {
    position: relative;
    min-height: 0;
  }

  .hero-carousel-slides::before {
    content: "";
    display: block;
    padding-bottom: 125%;
  }

  .hero-carousel-panel {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: rgba(20, 18, 17, 0.9);
  }

  .hero-carousel-controls {
    flex-wrap: wrap;
  }

  .hero-carousel-pager {
    justify-content: flex-start;
  }

  .hero-media .caption {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: rgba(20, 18, 17, 0.9);
  }

  .split-hero .panel-image img {
    aspect-ratio: 4 / 4.7;
  }

  .split-hero--about .panel-image {
    max-width: 320px;
    justify-self: center;
  }

  .gallery-frame {
    padding: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
  }

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

  .hero-copy,
  .panel,
  .bio-copy,
  .quote-block,
  .timeline-card,
  .contact-card,
  .empty-state {
    padding: 24px;
  }
}

@media (max-width: 580px) {
  .page-section {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 56px;
  }

  .nav-wrap,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-mark {
    font-size: 1.72rem;
  }

  .lang-button {
    min-height: 34px;
    width: 34px;
    justify-content: center;
    padding: 0;
  }

  .lang-code {
    display: none;
  }

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

  .stats-grid,
  .contact-grid,
  .timeline-grid,
  .event-grid,
  .feature-grid,
  .bio-grid,
  .hero-grid,
  .split-hero,
  .footer-links {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.7rem;
    line-height: 0.96;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-copy {
    padding: 22px 20px;
  }

  .hero-lead,
  .section-head p,
  .gallery-item figcaption,
  .contact-card p,
  .timeline-card p,
  .bio-copy p {
    font-size: 0.98rem;
  }

  .eyebrow,
  .page-tag {
    letter-spacing: 0.12em;
  }

  .hero-media img,
  .split-hero .panel-image img,
  .profile-card img {
    aspect-ratio: 4 / 5;
  }

  .hero-carousel-panel {
    padding: 16px;
    gap: 12px;
  }

  .hero-carousel-link {
    width: 100%;
    justify-content: center;
  }

  .hero-carousel-controls {
    gap: 10px;
  }

  .hero-carousel-pager {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .wall-frame {
    padding: 12px;
  }

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

  .split-hero--about .panel-image {
    max-width: 260px;
  }

  .quote-block p {
    font-size: 1.06rem;
  }

  .stat-card {
    padding: 18px;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .theme-card-copy,
  .gallery-item figcaption {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cta-row {
    flex-direction: column;
  }

  .button,
  .ghost-button {
    width: 100%;
  }
}
/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  cursor: zoom-out;
}

.lightbox-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
}

.lightbox-overlay.is-active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 1;
}

.gallery-grid .gallery-item img,
.wall-grid .wall-item img {
  cursor: zoom-in;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}

.gallery-grid .gallery-item img:hover,
.wall-grid .wall-item img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}
