:root {
  color-scheme: light;
  --canvas: #f5f5f7;
  --white: #fff;
  --ink: #141d22;
  --muted: #42515a;
  --line: #d7dddf;
  --night: #101a20;
  --blue: #0090e8;
  --yellow: #f8c800;
  --orange: #f17320;
  --red: #f01929;
  --cyan: #009bc4;
  --gutter: clamp(20px, 5vw, 80px);
  --content: 1440px;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 16px; line-height: 1.52; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
main:focus { outline: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: "IBM Plex Sans", Arial, sans-serif; line-height: 1.07; letter-spacing: -.028em; text-wrap: balance; }
h1 { font-size: clamp(3.3rem, 6.8vw, 5.85rem); font-weight: 600; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.55rem); font-weight: 600; }
h3 { font-size: clamp(1.55rem, 2vw, 2.2rem); font-weight: 600; }
p { text-wrap: pretty; }
.wrap { width: min(100%, var(--content)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--yellow); color: var(--night); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* The wordmark carries the full palette; the page uses color only where it clarifies a chapter or action. */
.site-header { position: sticky; top: 0; z-index: 30; min-height: 76px; background: var(--night); color: var(--white); }
.header-inner { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 38px); min-height: 76px; max-width: var(--content); margin: auto; padding-inline: var(--gutter); }
.site-logo { display: block; flex: none; width: clamp(158px, 17vw, 216px); }
.site-logo img { width: 100%; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.primary-nav a, .mobile-nav a { color: #f3f7f8; font-size: .9rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"], .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--yellow); }
.header-access { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 40px; padding: 0 0 0 18px; border-left: 1px solid #41545b; color: #e0e9e7; font-size: .82rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.header-access:hover { color: var(--yellow); }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 52%); min-height: min(760px, calc(100svh - 76px)); background: var(--canvas); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(22px, 3vw, 38px); min-width: 0; padding: clamp(62px, 8vw, 124px) clamp(26px, 5.4vw, 88px); }
.hero-place { font-size: .87rem; font-weight: 650; color: #0e5e7d; }
.hero h1 { max-width: 12ch; font-size: clamp(3.3rem, 5.6vw, 5.5rem); }
.hero-description { max-width: 34ch; color: var(--muted); font-size: clamp(1.08rem, 1.55vw, 1.3rem); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; background: var(--yellow); color: var(--night); font-size: .88rem; font-weight: 750; text-decoration: none; }
.button:hover { background: #ffdc35; }
.text-link { display: inline-block; font-size: .91rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: #a7470d; }
.hero-visual { position: relative; min-height: 100%; overflow: hidden; background: #203532; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual figcaption { position: absolute; right: 0; bottom: 0; max-width: 38ch; padding: 12px 16px; background: var(--night); color: #f3f7f8; font-size: .72rem; line-height: 1.4; }

.chapter { padding-block: clamp(76px, 9vw, 136px); }
.chapter-intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(260px, .72fr); align-items: end; gap: 28px clamp(48px, 7vw, 120px); margin-bottom: clamp(36px, 5vw, 72px); }
.chapter-intro p { max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.architecture { background: var(--white); }
.architecture h2 { max-width: 12ch; }
.architecture-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(245px, .65fr); align-items: end; gap: clamp(26px, 5vw, 78px); }
.architecture-photo img { width: 100%; aspect-ratio: 1.56; object-fit: cover; }
.photo-credit { display: block; margin-top: 9px; color: #526068; font-size: .73rem; line-height: 1.4; }
.architecture-copy { display: grid; gap: 20px; padding-bottom: clamp(0px, 3vw, 54px); font-size: 1.05rem; }
.architecture-copy p:first-child { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.38; font-weight: 590; }
.architecture-copy p:last-child { color: var(--muted); }

.spaces { background: var(--night); color: var(--white); }
.spaces-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(38px, 8vw, 128px); }
.spaces h2 { max-width: 12ch; }
.spaces-intro { max-width: 42ch; margin: 22px 0 clamp(32px, 4vw, 55px); color: #c6d4d8; font-size: 1.08rem; }
.space-list { border-bottom: 1px solid #476068; }
.space-list article { padding: 22px 0 25px; border-top: 1px solid #476068; }
.space-list article:first-child { border-top-color: var(--blue); }
.space-list article:nth-child(2) { border-top-color: var(--orange); }
.space-list article:nth-child(3) { border-top-color: var(--cyan); }
.space-list h3 { margin-bottom: 5px; font-size: clamp(1.45rem, 2vw, 1.95rem); }
.space-list p { max-width: 55ch; color: #c6d4d8; font-size: .94rem; }
.spaces-photo { display: flex; flex-direction: column; min-height: 690px; }
.spaces-photo img { width: 100%; height: 100%; max-height: 740px; flex: 1; object-fit: cover; object-position: 55% center; }
.spaces .photo-credit { color: #c6d4d8; }

.program { background: var(--canvas); }
.program-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); align-items: end; gap: 30px 70px; margin-bottom: clamp(36px, 5vw, 68px); }
.program-heading h2 { max-width: 13ch; }
.program-heading p { max-width: 43ch; color: var(--muted); font-size: 1.1rem; }
.tickets-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(28px, 6vw, 92px); }
.program-column-title { margin-bottom: 14px; font-size: 1.1rem; font-weight: 720; }
.event-card { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.event-card__eyebrow { margin-bottom: 9px; font-size: .86rem; font-weight: 650; }
.event-card h3 { font-size: clamp(1.75rem, 2.4vw, 2.6rem); }
.event-card__description { margin-top: 10px; max-width: 43ch; }
.event-card__date { margin-top: 13px; font-size: .89rem; }
.event-card__link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; background: var(--yellow); color: var(--night); font-size: .86rem; font-weight: 750; text-decoration: none; }
.event-card__link:hover { background: #ffdc35; }
.event-card__pending { color: #8ea7af; font-size: .88rem; }
.event-card--museum { min-height: 340px; padding: clamp(25px, 3vw, 42px); background: var(--night); color: var(--white); }
.event-card--museum .event-card__eyebrow { color: #8fdaed; }
.event-card--museum .event-card__description { color: #d8e3e5; }
.event-card--museum .event-card__date { color: #d8e3e5; }
.events-status { min-height: 124px; padding: 21px 0; border-top: 1px solid #aab5b9; color: var(--muted); font-size: .96rem; }
.events-status:empty { display: none; }
.events-list .event-card { min-height: 0; gap: 18px; padding: 22px 0 26px; border-top: 1px solid #aab5b9; }
.events-list .event-card__eyebrow { color: #a6401a; }
.events-list .event-card__description, .events-list .event-card__date { color: var(--muted); }
.events-list .event-card__pending { color: var(--muted); }
.events-retry { padding: 0; border: 0; background: none; color: #095e8c; font: inherit; text-decoration: underline; cursor: pointer; }
.events-status--filtered { min-height: 0; padding-block: 10px 18px; font-weight: 650; }
.public-calendar { max-width: 900px; margin: 0 0 clamp(47px, 6vw, 78px); padding-top: 23px; border-top: 1px solid #aab5b9; color: var(--night); scroll-margin-top: 100px; }
.public-calendar__heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 29px; }
.public-calendar__eyebrow { margin-bottom: 7px; color: #a6401a; font-size: .76rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.public-calendar__heading h3 { font-size: clamp(1.8rem, 3.3vw, 2.8rem); font-weight: 630; letter-spacing: -.03em; line-height: 1.1; }
.public-calendar__controls { display: flex; align-items: center; gap: 5px; }
.public-calendar__controls button, .public-calendar__footer button { min-width: 42px; min-height: 42px; padding: 8px 12px; border: 1px solid #aab5b9; background: transparent; color: var(--night); font: inherit; font-size: .87rem; font-weight: 700; cursor: pointer; }
.public-calendar__controls button:hover, .public-calendar__footer button:hover { background: #e3eae8; }
.public-calendar__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.public-calendar__weekday { padding: 0 4px 10px; color: var(--muted); font-size: .76rem; font-weight: 750; text-align: center; text-transform: uppercase; }
.public-calendar__blank { min-height: 62px; }
.public-calendar__day { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; min-height: clamp(56px, 6vw, 76px); padding: 11px 10px; border: 1px solid #d8e0de; background: rgba(255,255,255,.62); color: var(--night); font: inherit; font-size: 1.01rem; font-weight: 600; text-align: left; cursor: pointer; }
.public-calendar__number { display: flex; justify-content: space-between; align-items: center; gap: 3px; }
.public-calendar__event-title { overflow-wrap: anywhere; font-size: .76rem; line-height: 1.2; }
.public-calendar__day:hover { border-color: #1e7481; background: #edf5f3; }
.public-calendar__day--event { border-bottom: 3px solid #037f9a; }
.public-calendar__day--today { outline: 2px solid #cf8500; outline-offset: -3px; }
.public-calendar__day--selected, .public-calendar__day--selected:hover { border-color: var(--night); background: var(--night); color: white; }
.public-calendar__event-count { display: grid; flex: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--night); font-size: .72rem; font-weight: 800; }
.public-calendar__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 15px; color: var(--muted); font-size: .9rem; }
.public-calendar__footer button { white-space: nowrap; }
.public-calendar button:focus-visible { outline: 3px solid #075c7b; outline-offset: 2px; }
@media (max-width: 600px) {
  .public-calendar__heading { align-items: start; flex-direction: column; }
  .public-calendar__controls { width: 100%; justify-content: space-between; }
  .public-calendar__controls button { flex: 1; }
  .public-calendar__day { min-height: 54px; padding: 7px 5px; font-size: .92rem; }
  .public-calendar__event-title { display: none; }
  .public-calendar__event-count { width: 17px; height: 17px; font-size: .62rem; }
  .public-calendar__blank { min-height: 54px; }
  .public-calendar__footer { align-items: start; flex-direction: column; }
}

.music { background: var(--white); }
.music-top { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center; gap: clamp(38px, 8vw, 120px); }
.music-copy h2 { max-width: 11ch; }
.music-copy p { max-width: 55ch; margin-top: 22px; color: var(--muted); font-size: 1.06rem; }
.music-photo img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.instrument-heading { margin-top: clamp(54px, 7vw, 100px); padding-bottom: 11px; border-bottom: 1px solid #aab5b9; font-size: 1rem; font-weight: 700; }
.instrument-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 60px); padding: 28px 0 34px; }
.instrument-list article { min-width: 0; }
.instrument-list h3 { margin-bottom: 8px; font-size: clamp(1.6rem, 2.5vw, 2.5rem); }
.instrument-list p { max-width: 28ch; color: var(--muted); font-size: .94rem; }
.aires { display: flex; flex-wrap: wrap; gap: 7px 0; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .89rem; font-weight: 650; }
.aires li:not(:last-child)::after { content: "/"; display: inline-block; margin-inline: 14px; color: #9fabb0; }

.visit { background: var(--yellow); }
.visit-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(38px, 7vw, 110px); }
.visit h2 { max-width: 12ch; }
.visit-copy > p { max-width: 47ch; margin-top: 20px; font-size: 1.08rem; }
.visit address { display: grid; gap: 5px; margin-top: 34px; padding-top: 19px; border-top: 1px solid #826700; font-style: normal; }
.visit address strong { font-size: .9rem; }
.visit address span { max-width: 46ch; font-size: .95rem; }
.visit-near { color: #493e0a; }
.visit .text-link { margin-top: 35px; text-decoration-color: var(--night); }
.visit .text-link:hover { color: #493e0a; }
.visit-photo img { width: 100%; aspect-ratio: 1.18; object-fit: cover; }
.visit .photo-credit { color: #493e0a; }

.site-footer { padding-block: 48px 56px; background: var(--canvas); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px 80px; align-items: end; }
.footer-logo { display: inline-block; width: min(340px, 85vw); }
.footer-logo img { width: 100%; }
.site-footer p { max-width: 62ch; margin-top: 16px; color: var(--muted); font-size: .85rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 25px; }
.site-footer nav a { font-size: .87rem; font-weight: 650; text-decoration: none; }
.site-footer nav a:hover { color: #a7470d; text-decoration: underline; }

@media (max-width: 1160px) {
  .primary-nav { gap: 15px; }
  .primary-nav a { font-size: .82rem; }
  .hero { grid-template-columns: minmax(0, 48%) minmax(0, 52%); }
  .hero-copy { padding-inline: clamp(25px, 4vw, 50px); }
}
@media (min-width: 821px) and (max-width: 1120px) {
  .primary-nav { display: none; }
  .header-access { margin-left: auto; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; color: var(--white); font-size: .85rem; font-weight: 650; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] > nav { position: absolute; top: 76px; left: 0; right: 0; display: grid; padding: 10px var(--gutter) 22px; background: var(--night); border-top: 1px solid #395057; }
  .mobile-nav nav a { display: block; padding: 12px 0; border-bottom: 1px solid #395057; }
}
@media (max-width: 820px) {
  .site-logo { width: 160px; }
  .primary-nav { display: none; }
  .header-access { margin-left: auto; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; color: var(--white); font-size: .85rem; font-weight: 650; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] > nav { position: absolute; top: 76px; left: 0; right: 0; display: grid; gap: 0; padding: 10px var(--gutter) 22px; background: var(--night); border-top: 1px solid #395057; box-shadow: 0 12px 16px #101a2026; }
  .mobile-nav nav a { display: block; padding: 12px 0; border-bottom: 1px solid #395057; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 70px var(--gutter) 60px; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { min-height: clamp(340px, 68vw, 550px); }
  .chapter-intro, .architecture-body, .spaces-layout, .program-heading, .tickets-layout, .music-top, .visit-grid { grid-template-columns: 1fr; }
  .chapter-intro { gap: 20px; }
  .architecture-copy { max-width: 70ch; padding-bottom: 0; }
  .spaces-photo { min-height: 450px; }
  .program-heading { gap: 18px; }
  .music-copy h2 { max-width: 14ch; }
  .visit h2 { max-width: 15ch; }
}
@media (max-width: 600px) {
  .site-header, .header-inner { min-height: 68px; }
  .header-inner { gap: 10px; }
  .site-logo { width: clamp(120px, 37vw, 150px); }
  .header-access { display: none; }
  .mobile-nav { margin-left: auto; }
  .mobile-nav summary { min-height: 36px; font-size: .76rem; }
  .mobile-nav[open] > nav { top: 68px; }
  h1, .hero h1 { font-size: clamp(3rem, 13vw, 4.45rem); }
  h2 { font-size: clamp(2.35rem, 10vw, 3.4rem); }
  .chapter { padding-block: 74px; }
  .hero-copy { gap: 21px; padding-block: 56px 48px; }
  .hero-place { font-size: .82rem; }
  .hero-description { font-size: 1.06rem; }
  .hero-visual { min-height: 320px; }
  .spaces-photo { min-height: 340px; }
  .event-card--museum { min-height: 290px; }
  .instrument-list { grid-template-columns: 1fr; gap: 0; }
  .instrument-list article { padding: 17px 0 21px; border-bottom: 1px solid var(--line); }
  .instrument-list article:first-child { padding-top: 0; }
  .music-photo img { aspect-ratio: 1.15; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
