:root {
  color-scheme: light;
  --ink: #211d24;
  --paper: #fffaf6;
  --wine: #981444;
  --wine-deep: #601734;
  --wine-paper: #f7e7ed;
  --blue: #174e88;
  --blue-deep: #122d4d;
  --teal: #00616e;
  --teal-deep: #104d55;
  --serif: 'Yu Mincho', YuMincho, 'Hiragino Mincho ProN', 'Noto Serif CJK JP', serif;
  --sans: 'Yu Gothic Medium', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-block-end: 5.75rem; }
body { margin: 0; line-height: 1.65; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus, var(--teal)); outline-offset: 4px; }

.hero {
  --stage-height: clamp(21rem, calc(100svh - 15.5rem), 58rem);
  --people-width: min(74.5%, calc(var(--stage-height) * 1.60), 88rem);
  --focus: #ffe8a3;
  display: grid;
  grid-template: "stage" auto "event" auto / minmax(0, 1fr);
  background: linear-gradient(140deg, #882149 40%, #6b193c 63%, #4d1533 100%);
}
.masthead {
  grid-area: stage;
  position: relative;
  isolation: isolate;
  z-index: 3;
  align-self: end;
  justify-self: end;
  width: max(calc(100% - var(--people-width)), 39%);
  margin-block-end: clamp(4.35rem, 8.6vh, 6.5rem);
  container-type: inline-size;
  padding: 1rem clamp(1.5rem, 3.5vw, 4rem) 1rem clamp(.85rem, 2.35vw, 2.7rem);
  color: #351527;
  text-align: right;
}
.masthead::before {
  content: '';
  position: absolute;
  inset: -2.5rem 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to right, transparent, #fffcf6ec 12%, #fffcf6fa 43%, #fffcf6);
  mask-image: linear-gradient(to bottom, transparent, #000 20% 81%, transparent);
}
.producer, .tagline { font-family: var(--serif); font-weight: 700; }
.producer { font-size: clamp(1.05rem, 4.8cqi, 1.45rem); letter-spacing: .065em; }
h1 {
  margin: .44rem 0 .68rem;
  font: 700 clamp(2.25rem, 14.35cqi, 5.25rem)/1.09 var(--serif);
  letter-spacing: -.046em;
}
h1 span { display: block; }
.tagline { color: var(--wine-deep); font-size: clamp(1rem, 4.65cqi, 1.38rem); }

.trio {
  grid-area: stage;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  background: linear-gradient(102deg, #f5e8ee, #fffcfa 49%, #e3f1f0 87%);
  color: var(--ink);
}
.stage-frame {
  --stage-paper: #fffcfa;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: var(--stage-height);
  background: var(--stage-paper);
}
.stage-frame img { position: absolute; display: block; height: auto; max-width: none; }
.stage-frame .stage-art { inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; object-position: 50% 18%; }
.stage-frame .stage-composite { inset: 0; width: var(--people-width); height: 100%; object-fit: contain; object-position: left bottom; }
.stage-people { position: absolute; bottom: 0; left: 0; width: var(--people-width); aspect-ratio: 2480 / 1490; z-index: 2; }
.stage-viola { width: 32.4597%; left: 0; top: 1.6779%; }
.stage-clarinet { width: 33.0645%; left: 66.2097%; top: 7.1141%; }
.stage-piano { width: 51.7742%; left: 17.7823%; top: 13.6242%; }
.trio figcaption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: var(--people-width);
  margin-inline: 0;
  text-align: center;
  gap: .2rem;
  padding: .44rem .5rem .62rem;
}
.trio figcaption span { display: block; }
.trio figcaption b { font: 700 clamp(1.05rem, 2.05vw, 1.65rem)/1.4 var(--serif); }
.trio .instrument { font-size: clamp(.81rem, 1.35vw, 1.01rem); line-height: 1.42; font-weight: 700; }
.trio .viola { color: var(--wine); }
.trio .piano { color: var(--blue); }
.trio .clarinet { color: var(--teal); }

@media (prefers-reduced-motion: no-preference) {
  .stage-pending .trio .stage-art { opacity: .52; }
  .stage-pending .trio :is(.stage-player, .stage-name) { opacity: 0; }
  .stage-pending .masthead > *, .stage-pending .masthead::before { opacity: .26; }
  .stage-playing { --stage-ease: cubic-bezier(.42,.12,.25,1); }
  .stage-playing .stage-art { animation: stage-artwork 1650ms ease-out both; }
  .stage-playing .stage-player { animation: stage-dissolve 1820ms var(--stage-ease) var(--stage-delay) both; }
  .stage-viola { --stage-delay: 400ms; }
  .stage-piano { --stage-delay: 490ms; }
  .stage-clarinet { --stage-delay: 850ms; }
  .stage-playing .stage-name { animation: stage-dissolve 1230ms var(--stage-ease) var(--name-delay) both; }
  .stage-name-viola { --name-delay: 1220ms; }
  .stage-name-piano { --name-delay: 1310ms; }
  .stage-name-clarinet { --name-delay: 1620ms; }
  .stage-playing .masthead > *, .stage-playing .masthead::before {
    animation: stage-headline 1680ms var(--stage-ease) 980ms both;
  }

  @keyframes stage-artwork {
    from { opacity: .52; }
    to { opacity: 1; }
  }
  @keyframes stage-dissolve {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes stage-headline {
    from { opacity: .26; }
    to { opacity: 1; }
  }
}

.event {
  grid-area: event;
  display: grid;
  grid-template: "when venue price" auto "when venue contact" auto / minmax(12rem, .8fr) minmax(13.5rem, 1.05fr) minmax(18rem, 1.32fr);
  column-gap: clamp(1.3rem, 4vw, 4rem);
  width: min(100% - var(--gutter) * 2, 82rem);
  margin-inline: auto;
  padding: .72rem 0 .85rem;
  color: var(--paper);
}
.event-top { grid-area: when; align-self: center; }
.date { font-family: var(--serif); font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .45rem; }
.year, .day { font-size: 1.02rem; }
.month-day { color: #ffe5ee; font: 400 clamp(3.7rem, 4.8vw, 5.15rem)/.97 Georgia, serif; letter-spacing: -.065em; }
.time { margin-top: .24rem; font-size: 1rem; white-space: nowrap; }
.time strong { font-size: 1.12em; }
.venue { grid-area: venue; align-self: center; display: flex; align-items: center; flex-wrap: wrap; gap: .18rem .85rem; margin: .35rem 0; }
.venue strong { font: 700 clamp(1.14rem, 1.8vw, 1.51rem)/1.4 var(--serif); }
.venue a { display: inline-flex; min-height: 44px; align-items: center; font-size: .94rem; }

.prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: .14rem 1.1rem; padding-block: .54rem .66rem; border-top: 1px solid #f9d7e260; }
.prices .seating { font-size: .9rem; }
.prices span { white-space: nowrap; }
.prices strong { color: #ffe5ee; font: 400 1.55rem/1 Georgia, serif; font-variant-numeric: lining-nums; }
.contact-links { list-style: none; padding: 0; }
.event .prices { grid-area: price; border-top: 0; padding: 0 0 .37rem; }
.event .contact-links { grid-area: contact; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; }
.event .contact-links li:first-child { grid-column: 1 / -1; }
.event .contact-links .other-link { padding-inline: 0; }
.event .contact-links li:last-child .other-link { justify-content: end; }

@media (min-width: 881px) {
  .event .contact-links .other-link { gap: 0 .35rem; font-size: .94rem; }
}
.primary {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 3.36rem;
  padding: .52rem 1.15rem;
  background: #fff6ec;
  color: #55132f;
  border: 1px solid transparent;
  border-radius: 2rem;
  box-shadow: 0 3px 0 #27091947;
  text-align: center;
  font-size: clamp(1.06rem, 1.65vw, 1.2rem);
  font-weight: 700;
  text-decoration: none;
}
@media (hover: hover) {
  .primary:hover { background: #f4dbe3; }
}
.primary:active { background: #efc9d8; box-shadow: 0 1px 0 #27091947; }
@media (prefers-reduced-motion: no-preference) {
  .primary { transition: transform 150ms ease-out, background-color 150ms ease-out; }
  .primary:active { transform: translateY(1px); }
}
.other-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 .55rem;
  min-height: 44px;
  padding: .3rem .1rem;
  border-bottom: 1px solid #f9d7e260;
  font-weight: 700;
}
.other-link small { color: #f8dfe7; font-size: .92em; font-weight: 400; }

.content { width: min(100% - var(--gutter) * 2, 72rem); margin-inline: auto; }
.band { padding-block: clamp(2.8rem, 6vw, 6rem); }
.section-heading, .voices h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.28;
}
.section-heading { margin: 0 0 1.3rem; font-size: clamp(1.95rem, 4.35vw, 3.65rem); }

.program-band { --focus: #ffe8a3; background: var(--blue-deep); color: #fffaf9; }
.program-layout { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 3.15fr); gap: clamp(1.5rem, 4vw, 4.4rem); align-items: start; }
.program { list-style: none; padding: 0; border-top: 1px solid #9ebcd888; }
.work { display: grid; grid-template-columns: minmax(9rem, .95fr) minmax(0, 2.6fr); gap: .25rem 1rem; align-items: baseline; border-bottom: 1px solid #9ebcd866; padding: .88rem .86rem; }
.work.featured { background: #1d4065; }
.composer { color: #d5e9ff; font-family: var(--serif); font-weight: 700; }
.work h3 { font: 700 clamp(1.16rem, 2.15vw, 1.61rem)/1.43 var(--serif); }
.work-unit { display: inline-block; max-width: 100%; }
.work p { margin-top: .24rem; color: #e3eff9; font-size: 1rem; }

.artists-band { background: #fffaf7; }
.artists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.45vw, 2.25rem); align-items: start; }
.artist { border-bottom: 1px solid #dbcbd0; min-width: 0; }
.artist summary { list-style: none; cursor: pointer; min-height: 44px; }
.artist summary::-webkit-details-marker { display: none; }
.artist summary img { width: 100%; aspect-ratio: 1 / .94; object-fit: cover; object-position: center 27%; }
.artist-name { display: block; position: relative; padding: .8rem 2.55rem .9rem 1.15rem; color: #fffaf6; }
.artist-name.viola { background: #851942; }
.artist-name.piano { background: #164a7d; }
.artist-name.clarinet { background: #0d626a; }
.artist-name b { display: block; font: 700 clamp(1.24rem, 2.4vw, 1.75rem)/1.4 var(--serif); }
.artist-name small { font-size: .94rem; font-weight: 700; }
.artist p { padding: .8rem .35rem 1.12rem; font-size: 1.05rem; }
.expander { position: absolute; top: 50%; right: .9rem; width: 1.45rem; height: 1.45rem; transform: translateY(-50%); border: 1px solid #fff9; border-radius: 50%; }
.expander::before, .expander::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: .68rem; height: 1px; transform: translate(-50%, -50%); background: currentColor; }
.expander::after { transform: translate(-50%, -50%) rotate(90deg); }
.artist[open] .expander::after { display: none; }

.voices-band { background: var(--wine-paper); }
.voices { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.16fr); gap: clamp(1.7rem, 6vw, 5.9rem); }
.voice-header { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.2rem; color: var(--wine-deep); }
.voice-header img { width: clamp(4.15rem, 8vw, 6.3rem); align-self: flex-start; }
.voices h2 { font-size: clamp(1.35rem, 2.8vw, 2.08rem); }
.voice-header p { margin-top: .35rem; color: var(--ink); font-size: .99rem; }
.voice-body { font-size: 1.06rem; line-height: 1.86; }
.voice-body p + p { margin-top: .65rem; }

.bottom-grid { --focus: #ffe8a3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); color: var(--paper); }
.bottom-grid > section { padding: clamp(2.7rem, 5.5vw, 5rem) clamp(1.5rem, 5.2vw, 5.6rem); min-width: 0; }
.bottom-grid .section-heading { font-size: clamp(1.92rem, 3.5vw, 3.05rem); }
.access { background: var(--teal-deep); }
.access:focus-visible { outline-offset: -6px; }
.access p { margin-top: .25rem; }
.access .hall { font: 700 1.38rem/1.45 var(--serif); }
.train { list-style: none; padding: .5rem 0; margin-block: .78rem .28rem; border-block: 1px solid #c3e8e180; }
.train li { padding-block: .22rem; }
.train span { white-space: nowrap; }
.map-links { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.map-links a, .email { display: inline-flex; min-height: 44px; align-items: center; }
.map-links a:first-child { font-weight: 700; }
.email { overflow-wrap: anywhere; }
.closing { background: var(--wine-deep); }
.closing .prices { border-top: 0; padding-top: 0; }
.imprint { padding: 1.3rem var(--gutter) 1.55rem; background: #27212a; color: #fff5f7; font-size: .94rem; }
.shortcut { display: none; }

@media (max-width: 1020px) {
  .hero { --people-width: 100%; grid-template: "stage" auto "masthead" auto "event" auto / minmax(0, 1fr); }
  .masthead {
    grid-area: masthead;
    width: 100%;
    margin: 0;
    padding: .98rem max(1.15rem, calc((100% - 33rem) / 2)) .85rem;
    background: #fffcfa;
  }
  .masthead::before { display: none; }
  h1 { margin-block: .34rem .47rem; font-size: clamp(2.08rem, 8.8vw, 3.8rem); }
  .tagline { font-size: 1rem; }
  .stage-frame { width: min(100%, 35rem); height: auto; aspect-ratio: 2480 / 1490; margin-inline: auto; }
  .trio figcaption { width: min(100%, 35rem); margin-inline: auto; padding: .38rem .45rem .49rem; }
  .event { display: block; width: min(100% - 2.25rem, 34rem); margin: 0 auto; padding: .66rem 0 1.13rem; }
  .event-top { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .66rem; }
  .month-day { font-size: 3.5rem; }
  .venue { column-gap: .6rem; margin: .18rem 0 .16rem; }
  .venue strong { font-size: 1.23rem; }
  .prices { column-gap: .78rem; }
  .event .prices { padding-block: .54rem .66rem; border-top: 1px solid #f9d7e260; }
  .event .contact-links { display: block; }
  .event .contact-links li:last-child .other-link { justify-content: space-between; }
}

@media (max-width: 880px) {
  .content { width: min(100% - var(--gutter) * 2, 36rem); }
  .section-heading { margin-bottom: .95rem; }
  .program-layout { display: block; }
  .work { grid-template-columns: minmax(0, 1fr); gap: .12rem; padding: .63rem .7rem; }
  .artists { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .artist summary { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); align-items: stretch; }
  .artist summary img { width: 100%; height: 100%; min-height: 5rem; aspect-ratio: auto; }
  .artist-name { display: flex; flex-direction: column; justify-content: center; padding-inline-start: .9rem; }
  .voices, .bottom-grid { grid-template-columns: minmax(0, 1fr); }
  .voices article + article { padding-top: 1.5rem; border-top: 1px solid #aa78836b; }
  .bottom-grid > section { padding-inline: max(var(--gutter), calc((100% - 36rem) / 2)); }
  .shortcut {
    --focus: #ffe8a3;
    display: block;
    position: fixed;
    z-index: 2;
    inset: auto 0 0;
    padding: .48rem max(1.12rem, calc((100% - 32rem) / 2)) max(.57rem, env(safe-area-inset-bottom));
    background: #571531;
    border-top: 1px solid #fff5f76b;
  }
  .shortcut .primary { min-height: 2.9rem; }
}

@media (max-width: 370px) {
  .masthead { padding: .76rem .85rem .65rem; }
  .event { width: calc(100% - 1.7rem); }
  .year, .day { font-size: .93rem; }
  .month-day { font-size: 3.15rem; }
  .time { font-size: .91rem; }
  .venue { column-gap: .48rem; }
  .venue strong { font-size: 1.1rem; }
  .venue a { font-size: .87rem; }
  .prices { column-gap: .46rem; font-size: .88rem; }
  .prices .seating { font-size: inherit; }
  .prices strong { font-size: 1.38rem; }
}
