@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond-Italic.ttf") format("truetype");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --electric: #33577a;
  --electric-soft: rgba(142, 171, 196, 0.16);
  --navy: #0b1d3b;
  --ink: #f3efe6;
  --amber: #c4a574;
  --paper: #141210;
  --paper-2: #1b1814;
  --charcoal: #0c0b0a;
  --white: #ffffff;
  --cream: #f3efe6;
  --line: rgba(243, 239, 230, 0.1);
  --line-strong: rgba(243, 239, 230, 0.2);
  --muted: rgba(243, 239, 230, 0.58);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --radius: 0;
  --header: 72px;
  --max: 1320px;
  --measure: 42rem;
  --font: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(51, 87, 122, 0.18), transparent 55%),
    var(--paper);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

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

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

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

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: var(--electric);
  color: white;
  padding: 10px 14px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
}

.muted {
  color: var(--muted);
}

::selection {
  background: var(--electric);
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(20, 18, 16, 0.78);
  border-bottom: 1px solid var(--line);
}

body.is-dark .site-header,
body.is-dark .brand strong,
body.is-dark .nav a {
  color: rgba(243, 239, 230, 0.92);
}

body.is-dark .brand span {
  color: #8eabc4;
}

body.has-hero .site-header {
  position: fixed;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
  color: white;
}

body.has-hero.is-scrolled .site-header {
  background: rgba(20, 18, 16, 0.88);
  border-bottom-color: var(--line);
  color: var(--cream);
}

body.has-hero .brand span,
body.has-hero .nav a {
  color: rgba(255, 255, 255, 0.78);
}

body.has-hero.is-scrolled .brand span {
  color: var(--amber);
}

body.has-hero.is-scrolled .nav a {
  color: var(--muted);
}

body.has-hero.is-scrolled .nav a:hover,
body.has-hero.is-scrolled .nav a.is-active,
body.has-hero .nav a:hover,
body.has-hero .nav a.is-active {
  color: var(--cream);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 48px);
  max-width: none;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
}

.brand span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover,
.nav a.is-active {
  color: var(--cream);
}

.info-page {
  min-height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  padding: 28px 20px 80px;
  background: #0c0b0a;
}

.info-page .info-flyer {
  display: block;
  line-height: 0;
}

.info-page .info-flyer img,
.info-page img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(720px, 100%);
  max-height: calc(100svh - var(--header) - 68px);
  margin: 0 auto;
}

.event-card {
  position: relative;
  width: min(640px, 100%);
  background: #f4efe6;
  color: #1c1612;
  padding: 58px 52px 46px;
  line-height: 1.45;
  text-align: left;
}

.event-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: #8a683a;
  border-style: solid;
  border-width: 0;
}

.event-corner-tl { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; }
.event-corner-tr { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; }
.event-corner-bl { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; }
.event-corner-br { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; }

.event-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a683a;
}

.event-card h1 {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(52px, 8vw, 76px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: #1c1612;
}

.event-sub {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
  color: #1c1612;
}

.event-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 26px 0 28px;
}

.event-ornament span {
  width: 72px;
  height: 1px;
  background: #8a683a;
}

.event-ornament i {
  width: 7px;
  height: 7px;
  background: #8a683a;
  transform: rotate(45deg);
}

.event-facts { margin: 0; }

.event-facts div {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 8px 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(138, 104, 58, 0.35);
}

.event-facts div:last-child {
  border-bottom: 1px solid rgba(138, 104, 58, 0.35);
}

.event-facts dt {
  margin: 0;
  padding-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a683a;
}

.event-facts dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: #1c1612;
}

.event-note {
  margin: 26px 0 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  font-style: italic;
  font-size: 23px;
  line-height: 1.35;
  color: #1c1612;
}

.event-ig {
  margin: 22px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}

.event-card a,
.event-ig a {
  display: inline;
  line-height: 1.4;
  color: #8a683a;
}

@media (max-width: 560px) {
  .event-card { padding: 48px 28px 36px; }
  .event-facts div { grid-template-columns: 1fr; gap: 2px; }
  .event-note { font-size: 21px; }
}

body.is-dark .nav a:hover,
body.is-dark .nav a.is-active {
  color: white;
}

body.is-dark .site-footer {
  background: #000;
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
}

body.is-dark .site-footer a {
  color: #8eabc4;
}

body.is-dark .room-copy a {
  color: #8eabc4;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--cream);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--electric);
  color: white;
}

.btn-navy {
  background: var(--navy);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-line {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-strong);
}

.btn-line:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.hero {
  position: relative;
  min-height: 100svh;
  color: white;
  overflow: hidden;
  background: #000 url("/images/hero/intro-poster.jpg") center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(20, 18, 16, 0.92) 100%);
}

.hero-top,
.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-top {
  position: absolute;
  top: var(--header);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 28px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

body.has-hero .nav-toggle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

body.has-hero .nav-toggle span,
body.has-hero .nav-toggle span::before,
body.has-hero .nav-toggle span::after {
  background: white;
}

body.has-hero.is-scrolled .nav-toggle {
  border-color: var(--line-strong);
}

body.has-hero.is-scrolled .nav-toggle span,
body.has-hero.is-scrolled .nav-toggle span::before,
body.has-hero.is-scrolled .nav-toggle span::after {
  background: var(--cream);
}

.mute {
  width: auto;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy {
  width: min(760px, calc(100% - 48px));
  margin: 0 24px calc(var(--music-height) + 24px);
}

.hero-copy h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.hero-copy .artist {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8eabc4;
}

.hero-copy .place,
.hero-copy .song {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
}

.hero-copy .song {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.66);
}

.hero-music-actions {
  display: inline-flex;
  gap: 12px;
}

.hero-play {
  padding: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-play.is-activated {
  background: #1a3a12;
  border-color: #1a3a12;
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Share the fixed player's footprint with the page and homepage actions. */
:root { --music-height: calc(56px + env(safe-area-inset-bottom, 0px)); }
body { padding-bottom: var(--music-height); }
.site-music {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  height: var(--music-height);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px));
  background: #141210;
  color: #f6f1e8;
  border-top: 1px solid #59534b;
}
.site-music-copy { display: grid; gap: 0; flex-shrink: 0; }
.site-music-copy strong { font-family: var(--serif); font-size: 17px; line-height: 1.1; font-weight: 500; font-style: italic; }
.site-music-copy span { font-size: 11px; line-height: 1.4; }
.site-music audio { display: block; width: 280px; max-width: 100%; height: 36px; color-scheme: dark; }
@media (max-width: 600px) {
  :root { --music-height: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .site-music { flex-direction: column; gap: 4px; }
  .site-music-copy { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
  .site-music-copy strong { font-size: 15px; }
  .site-music-copy span { font-size: 10px; }
}

.section {
  padding: 96px 0;
}

/* Bring the selected-work introduction closer to the homepage actions. */
.hero + .section {
  padding-top: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.vision {
  display: grid;
  grid-template-columns: 1px 1fr;
  background: transparent;
  border: 0;
  max-width: 46rem;
}

.vision-bar {
  background: var(--amber);
}

.vision-copy {
  padding: 4px 0 4px 28px;
}

.vision-copy p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--cream);
}

.vision-copy p.kicker {
  font-family: var(--font);
  font-style: normal;
  font-size: 11px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.vision-copy p:has(.btn) {
  font-family: var(--font);
  font-style: normal;
  font-size: 16px;
  line-height: 1.55;
}

.vision-copy p + p {
  margin-top: 18px;
}

.grid-works,
.salon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  align-items: start;
}

.salon-lg,
.grid-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 48px;
  align-items: start;
}

.grid-exhibit {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 22px 14px;
  align-items: end;
}

.home-wall {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 32px 22px;
  margin-top: 12px;
}

.card {
  display: block;
}

.card[hidden],
[hidden] {
  display: none !important;
}

.hang {
  position: relative;
  margin: 0;
  background: transparent;
}

.hang::after {
  content: "";
  position: absolute;
  inset: -14% -10% 18%;
  background: radial-gradient(ellipse at 50% 12%, rgba(255, 228, 190, 0.11), transparent 64%);
  pointer-events: none;
  z-index: 0;
}

.hang img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 36px rgba(0, 0, 0, 0.42),
    0 40px 80px rgba(0, 0, 0, 0.38);
  transition: transform 0.55s ease, box-shadow 0.55s ease;
}

.card:hover .hang img,
.exhibit-piece-art:hover img {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 236, 210, 0.16),
    0 24px 50px rgba(0, 0, 0, 0.5),
    0 56px 110px rgba(0, 0, 0, 0.42);
}

.card-frame {
  position: relative;
  background: transparent;
  overflow: visible;
}

.card-frame img,
.hang img {
  display: block;
}

.card-num {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--electric);
  color: white;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 9px;
  min-width: 28px;
  text-align: center;
}

.wall-label {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.card .meta {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-quiet .wall-label {
  display: none;
}

.page-hero {
  padding: 56px 0 20px;
}

figure.portrait {
  width: min(220px, 58%);
  margin: 0 0 28px;
  padding: 0;
  background: var(--charcoal);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

figure.portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.page-hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 8vw, 84px);
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-top: 10px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 36px;
}

.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip.is-on,
.chip:hover {
  background: transparent;
  border-color: var(--amber);
  color: var(--amber);
}

.exhibit-tools {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 56px;
  align-items: start;
}

.keypad-readout {
  background: transparent;
  border: 1px solid var(--line);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.key {
  height: 58px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 18px;
  font-weight: 500;
}

.key:hover {
  border-color: var(--amber);
}

.key.go {
  background: var(--electric);
  border-color: var(--electric);
  color: white;
}

.how {
  max-width: 38rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.exhibit-wall {
  display: grid;
  gap: 120px;
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.exhibit-piece {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  scroll-margin-top: 96px;
  padding: 8px 0;
}

.exhibit-piece.is-on .hang img,
.exhibit-piece.is-on .exhibit-piece-art img {
  box-shadow:
    0 0 0 1px rgba(196, 165, 116, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.exhibit-piece-art {
  display: grid;
  place-items: center;
  background: transparent;
  min-height: 0;
  padding: 24px 8px;
  position: relative;
}

.exhibit-piece-art::after {
  content: "";
  position: absolute;
  inset: -8% 4% 12%;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 228, 190, 0.1), transparent 66%);
  pointer-events: none;
}

.exhibit-piece-art img {
  position: relative;
  z-index: 1;
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.55s ease, box-shadow 0.55s ease;
}

.exhibit-piece-copy h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.exhibit-piece-copy .caption {
  color: var(--cream);
  margin: 18px 0 22px;
}

.exhibit-piece-copy .music-line {
  color: var(--amber);
}

.room {
  min-height: calc(100svh - var(--header));
  background: #000;
  color: white;
  display: grid;
  grid-template-rows: minmax(48vh, 58vh) 1fr;
}

.room-art {
  background: #000;
  display: grid;
  place-items: center;
  padding: 16px 16px 0;
}

.room-art img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.room-copy {
  padding: 24px 24px 40px;
  width: min(820px, 100%);
  margin: 0 auto;
}

.room-copy .num {
  font-size: 42px;
  font-weight: 700;
  color: #8eabc4;
  line-height: 1;
}

.room-copy h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.caption {
  margin-top: 18px;
  font-size: 16px;
  color: rgba(243, 239, 230, 0.88);
}

.music-line {
  margin-top: 14px;
  color: var(--amber);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.room-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.detail {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
  min-height: calc(100svh - var(--header));
  width: 100%;
}

.detail-art {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 228, 190, 0.08), transparent 58%),
    #0c0b0a;
  min-height: calc(100svh - var(--header));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  padding: 48px 40px;
}

.detail-art img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 50px 120px rgba(0, 0, 0, 0.4);
}

.detail-art .hang {
  width: auto;
  max-width: min(100%, 820px);
  display: flex;
  justify-content: center;
}

.detail-art .hang img,
.detail-art .hang-lg img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
}

.detail-copy {
  padding: 64px 48px 80px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}

.detail-copy h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 10px 0 14px;
}

.detail-copy .caption {
  color: var(--cream);
  margin: 22px 0;
}

.detail-copy .blurb {
  color: var(--muted);
}

.detail-copy .price {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

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

.song-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.song-row img {
  width: 88px;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.4);
}

.song-row h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.song-row p {
  font-size: 13px;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 0;
  padding: 12px 0;
  font-size: 16px;
  color: var(--cream);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-bottom-color: var(--amber);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--amber);
  font-weight: 500;
}

.notice {
  background: transparent;
  border: 1px solid var(--line);
  padding: 20px 22px;
  color: var(--muted);
}

.plaque {
  max-width: 36rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #141210;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav { display: flex; }
  body.is-dark .nav { background: #141210; }
  body.nav-open.has-hero .nav {
    background: #141210;
  }
  body.nav-open.has-hero .nav a { color: var(--cream); }
  .exhibit-tools,
  .detail,
  .exhibit-piece,
  .grid-works,
  .salon,
  .salon-lg,
  .grid-featured {
    grid-template-columns: 1fr;
  }
  .section { padding: 72px 0; }
  .detail-art {
    min-height: 62vh;
    padding: 28px 20px 12px;
  }
  .detail-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 36px 24px 64px;
  }
  .wrap,
  .wrap-narrow {
    width: min(var(--max), calc(100% - 32px));
  }
}

@media (min-width: 861px) and (max-width: 1099px) {
  .grid-works,
  .salon {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .room {
    grid-template-rows: none;
    grid-template-columns: 1.4fr 0.8fr;
    min-height: calc(100svh - var(--header));
  }
  .room-art {
    padding: 28px;
    min-height: calc(100svh - var(--header));
  }
  .room-copy {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Compact only the homepage on short, touch-driven landscape viewports.
   Keep portrait, tablets, and desktop layouts on their existing rules. */
@media (orientation: landscape) and (max-width: 1000px) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  body.has-hero { --header: 56px; }

  body.has-hero .hero {
    padding-top: calc(var(--header) + 36px);
  }

  body.has-hero .hero-top {
    padding: 4px 24px;
    font-size: 10px;
  }

  body.has-hero .hero-copy {
    margin-bottom: calc(var(--music-height) + 16px);
  }

  body.has-hero .hero-copy h1 { font-size: 48px; }
  body.has-hero .hero-copy .artist { margin-top: 6px; font-size: 11px; }
  body.has-hero .hero-copy .place {
    max-width: 38rem;
    font-size: 14px;
    line-height: 1.35;
  }
  body.has-hero .hero-actions { margin-top: 12px; }

  body.has-hero .nav {
    max-height: calc(100svh - var(--header) - var(--music-height));
    overflow-y: auto;
  }

  body.has-hero .salon-lg,
  body.has-hero .salon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

.sold-tag {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 50%;
  height: auto;
  translate: -50% -50%;
  rotate: -16deg;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.28));
}

.sold-status,
.detail-copy .price.sold-status {
  color: #c4161c;
}
