@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --ink: #091a39;
  --paper: #f5ecd9;
  --gold: #b67a1d;
  --gold-light: #d4a044;
  --red: #3a0507;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #d5c4a3;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
}
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }

.poster {
  position: relative;
  width: min(100%, 480px);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 50px rgba(38, 20, 8, .22);
}
.home-screen { position: relative; min-height: 100svh; }
.ornate-border { position: absolute; inset: 14px 13px 9px; border: 1.5px solid rgba(169, 113, 28, .86); border-radius: 16px 16px 6px 6px; pointer-events: none; z-index: 10; }
.ornate-border::before, .ornate-border::after { content: ''; position: absolute; left: -1px; right: -1px; height: 17px; background: var(--paper); border-left: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }
.ornate-border::before { top: -2px; border-radius: 18px 18px 0 0; transform: translateY(-7px); }
.ornate-border::after { bottom: -2px; border-radius: 0 0 9px 9px; transform: translateY(7px); }

.topbar { position: relative; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 34px 38px 22px; }
.wordmark { min-width: 0; font-size: clamp(1.35rem, 6.5vw, 2.25rem); font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.top-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.tickets { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--gold); border-radius: 8px; padding: 12px 14px; background: var(--ink); color: #e4a735; font-family: 'DM Mono', monospace; font-size: .73rem; letter-spacing: .08em; box-shadow: 0 3px 0 rgba(75, 41, 8, .22); }
.tickets svg { width: 22px; }
.menu-toggle { display: grid; place-items: center; border: 0; background: transparent; padding: 5px; }
.menu-toggle svg { width: 38px; height: 38px; stroke-width: 1.8; }

.hero { position: relative; z-index: 1; padding: 0 28px; }
.gallery-frame { position: relative; overflow: hidden; border-radius: 28px 28px 22px 22px; box-shadow: 0 9px 0 rgba(111, 66, 12, .22); background: var(--red); }
.board-art { display: block; width: 100%; height: auto; }
.gallery-lights { position: absolute; top: 15px; left: 0; right: 0; display: flex; justify-content: space-evenly; z-index: 2; }
.gallery-lights span { width: 36px; height: 7px; background: #e7a52c; border-radius: 50%; box-shadow: 0 0 9px #f2ba43, 0 3px 0 #5a2605; }
.portraits { position: absolute; inset: 27px 13px 15px; z-index: 3; }
.portrait { position: absolute; object-fit: contain; filter: drop-shadow(3px 5px 3px rgba(0,0,0,.7)); }
.portrait-sax { width: 27%; left: 1%; top: 9%; }
.portrait-singer { width: 26%; left: 37%; top: 0; }
.portrait-afro { width: 25%; right: 1%; top: 12%; }
.portrait-guitar { width: 31%; left: 27%; bottom: 0; }
.portrait-billie { width: 22%; left: 68%; bottom: 14%; }
.portrait-jim { width: 23%; right: 25%; bottom: 2%; }
.portrait-poet { width: 22%; left: 2%; bottom: 0; }
.portrait-piano { width: 23%; right: 0; bottom: 0; }
.botanical { position: absolute; z-index: 5; width: 32%; max-width: 150px; opacity: .72; mix-blend-mode: multiply; pointer-events: none; }
.botanical-left { left: -25px; bottom: 43px; transform: rotate(-12deg); }
.botanical-right { right: -25px; bottom: 43px; transform: scaleX(-1) rotate(-12deg); }

.intro { position: relative; text-align: center; padding: 34px 15px 22px; z-index: 6; }
.eyebrow { margin: 0 0 9px; color: #9c6716; font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(3.7rem, 15vw, 6rem); line-height: .8; font-weight: 600; letter-spacing: -.045em; }
.rule { display: flex; align-items: center; gap: 9px; margin: 22px auto 15px; width: min(88%, 370px); color: var(--gold); }
.rule::before, .rule::after { content: ''; height: 1px; flex: 1; background: var(--gold-light); }
.rule span { font-size: 1rem; }
.subhead { margin: 0; font-family: 'DM Mono', monospace; font-size: .7rem; letter-spacing: .13em; }
.primary-cta, .modal-cta { display: inline-flex; align-items: center; justify-content: center; gap: 13px; margin-top: 25px; border: 1px solid #a36c15; border-radius: 8px; padding: 16px 24px; background: #dda43c; color: var(--ink); font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .09em; box-shadow: inset 0 0 0 2px rgba(246, 206, 119, .48), 0 3px 0 rgba(111,66,12,.15); }
.primary-cta svg { width: 20px; }

.collection { position: relative; z-index: 7; display: grid; gap: 10px; padding: 6px 25px 82px; }
.collection a { display: grid; grid-template-columns: 61px 1fr 20px; align-items: center; min-height: 70px; border: 1px solid rgba(164, 111, 35, .58); border-radius: 17px; padding: 0 17px 0 10px; background: rgba(255, 250, 237, .26); font-size: clamp(1.55rem, 6vw, 2rem); line-height: 1; }
.collection a:focus-visible, .primary-cta:focus-visible, .tickets:focus-visible, .menu-toggle:focus-visible { outline: 3px solid #1c5d82; outline-offset: 3px; }
.sprig { display: grid; place-items: center; height: 48px; border-right: 1px solid var(--gold); color: #6a83a4; font-size: 2.35rem; transform: rotate(-24deg); }
.collection svg { width: 22px; }
.bottom-nav { position: absolute; z-index: 12; right: 15px; bottom: 9px; left: 15px; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 10px; border-top: 1px solid var(--gold); background: rgba(245, 236, 217, .93); }
.bottom-nav a { display: grid; justify-items: center; gap: 5px; padding: 5px 1px 1px; font-family: 'DM Mono', monospace; font-size: .52rem; letter-spacing: .04em; }
.bottom-nav svg { width: 25px; height: 25px; stroke-width: 1.7; }
.bottom-nav .active { color: #986315; }
.bottom-nav .active::after { content: ''; width: 58%; height: 5px; margin-top: 3px; border-radius: 4px; background: #a66c15; }

.ticket-modal { width: min(calc(100% - 42px), 390px); border: 1px solid var(--gold); border-radius: 17px; padding: 34px 28px 28px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(33, 17, 5, .38); text-align: center; }
.ticket-modal::backdrop { background: rgba(20, 7, 4, .65); backdrop-filter: blur(3px); }
.ticket-modal h2 { margin: 0 0 9px; font-size: 2.6rem; line-height: .95; }
.ticket-modal p:not(.eyebrow) { font-size: 1.15rem; }
.modal-close { position: absolute; top: 13px; right: 13px; border: 0; background: transparent; }
.modal-close svg { width: 20px; }
.modal-cta { margin-top: 10px; border: 0; font-size: .65rem; }

.exhibition { position: relative; min-height: 100svh; overflow: hidden; border-top: 1px solid var(--gold); background: var(--paper); }
.exhibition::before { content: ''; position: absolute; inset: 12px 12px 12px; border: 1px solid rgba(169, 113, 28, .86); border-radius: 16px; pointer-events: none; }
.exhibition-header { position: relative; z-index: 2; display: grid; grid-template-columns: 58px 1fr 58px; align-items: center; height: 88px; padding: 0 26px; border-bottom: 1px solid var(--gold); }
.back-link, .ticket-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; }
.back-link svg { width: 38px; height: 38px; stroke-width: 1.7; }
.ticket-icon { justify-self: end; border: 2px solid var(--gold); color: var(--gold); }
.ticket-icon svg { width: 24px; }
.exhibition-wordmark { text-align: center; font-size: clamp(1.7rem, 8vw, 2.45rem); font-weight: 700; letter-spacing: .05em; }
.exhibition-hero { position: relative; z-index: 1; height: 490px; overflow: hidden; background: var(--red); }
.exhibition-hero::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 -30px 40px rgba(44, 6, 6, .42); pointer-events: none; }
.exhibition-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.exhibition-copy { position: relative; z-index: 2; margin: -32px 17px 0; padding: 41px 16px 28px; border: 1px solid rgba(169, 113, 28, .86); border-radius: 36px 36px 15px 15px; background: var(--paper); text-align: center; }
.exhibition-copy::before { content: ''; position: absolute; top: -1px; left: 25px; right: 25px; height: 14px; border-top: 1px solid var(--gold); border-radius: 50%; }
.exhibition-copy h2 { margin: 0; font-size: clamp(2.8rem, 12vw, 4.65rem); line-height: .85; font-weight: 600; letter-spacing: -.04em; }
.ornament-rule { display: flex; align-items: center; gap: 9px; width: 72%; margin: 17px auto 16px; color: var(--gold); }
.ornament-rule::before, .ornament-rule::after { content: ''; height: 1px; flex: 1; background: var(--gold-light); }
.exhibition-lede { margin: 0 0 23px; font-size: 1.35rem; line-height: 1.12; }
.about-exhibition { display: grid; grid-template-columns: 78px 1fr 21px; align-items: center; gap: 12px; padding: 14px 12px 14px 4px; border: 1px solid rgba(169, 113, 28, .48); border-radius: 18px; text-align: left; }
.round-icon { display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--gold); border-radius: 50%; background: var(--ink); color: #f0b24b; }
.round-icon svg { width: 33px; height: 33px; }
.about-exhibition strong, .about-exhibition small { display: block; }
.about-exhibition strong { font-family: 'DM Mono', monospace; font-size: .82rem; letter-spacing: .08em; }
.about-exhibition small { margin-top: 8px; font-size: 1.1rem; line-height: 1.08; }
.about-exhibition > svg { width: 20px; color: var(--gold); }
.exhibition-meta { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0; padding: 0 4px; }
.exhibition-meta span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; font-size: .85rem; }
.exhibition-meta span + span { border-left: 1px solid var(--gold-light); }
.exhibition-meta svg { flex: 0 0 auto; width: 25px; height: 25px; color: var(--ink); }
.exhibition-meta strong { font-family: 'DM Mono', monospace; font-size: .65rem; letter-spacing: .03em; }
.audio-card { display: grid; grid-template-columns: 77px 1fr 40px 37px; align-items: center; gap: 9px; padding: 10px; border: 1px solid rgba(169, 113, 28, .48); border-radius: 15px; text-align: left; }
.audio-card img { width: 77px; height: 77px; object-fit: cover; border-radius: 10px; }
.audio-info { min-width: 0; }
.audio-info strong, .audio-info small { display: block; }
.audio-info strong { font-size: 1.14rem; line-height: 1; }
.audio-info small { margin-top: 7px; color: var(--gold); font-family: 'DM Mono', monospace; font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; }
.waveform { height: 17px; margin-top: 7px; border-bottom: 2px solid var(--ink); opacity: .8; }
.audio-play { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--gold); border-radius: 50%; background: var(--ink); color: #f0b24b; }
.audio-play svg { width: 16px; fill: currentColor; }
.audio-duration { align-self: end; padding-bottom: 6px; font-family: 'DM Mono', monospace; font-size: .6rem; }
.book-tickets { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 17px; padding: 16px 28px; border: 2px solid var(--gold); border-radius: 12px; background: var(--ink); color: #e5a73c; font-family: 'DM Mono', monospace; font-size: 1.08rem; letter-spacing: .11em; }
.book-tickets svg { width: 26px; }
.exhibition-nav { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 13px; padding: 12px 7px 14px; border-top: 1px solid var(--gold); background: var(--paper); }
.exhibition-nav a { display: grid; justify-items: center; gap: 5px; font-family: 'DM Mono', monospace; font-size: .52rem; letter-spacing: .04em; }
.exhibition-nav svg { width: 25px; height: 25px; stroke-width: 1.7; }
.exhibition-nav .active { color: var(--ink); }
.exhibition-nav .active:last-child { color: var(--ink); }

@media (max-width: 430px) {
  .exhibition-header { grid-template-columns: 42px 1fr 42px; height: 76px; padding-inline: 20px; }
  .exhibition-wordmark { font-size: 1.58rem; }
  .back-link svg { width: 33px; }
  .ticket-icon { width: 34px; height: 34px; }
  .ticket-icon svg { width: 19px; }
  .exhibition-hero { height: 385px; }
  .exhibition-copy { margin-inline: 12px; padding-inline: 12px; }
  .exhibition-copy h2 { font-size: 3.3rem; }
  .exhibition-lede { font-size: 1.15rem; }
  .about-exhibition { grid-template-columns: 63px 1fr 18px; gap: 9px; }
  .round-icon { width: 60px; height: 60px; }
  .round-icon svg { width: 28px; }
  .about-exhibition strong { font-size: .68rem; }
  .about-exhibition small { font-size: .98rem; }
  .exhibition-meta strong { font-size: .53rem; }
  .audio-card { grid-template-columns: 62px 1fr 36px 31px; gap: 6px; }
  .audio-card img { width: 62px; height: 62px; }
  .audio-info strong { font-size: .95rem; }
  .audio-duration { font-size: .5rem; }
  .book-tickets { padding-inline: 18px; font-size: .82rem; }
}

@media (max-width: 430px) {
  .topbar { padding: 29px 25px 18px; }
  .tickets { padding: 10px 9px; font-size: .61rem; }
  .tickets svg { display: none; }
  .menu-toggle svg { width: 31px; height: 31px; }
  .wordmark { font-size: 1.16rem; }
  .top-actions { gap: 9px; }
  .gallery-frame { border-radius: 24px 24px 19px 19px; }
  h1 { font-size: 3.5rem; }
  .collection { padding-inline: 21px; }
  .collection a { grid-template-columns: 52px 1fr 18px; font-size: 1.45rem; }
}
