@font-face {
  font-family: Gilda;
  src: url("/assets/gilda-display.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --night: #15232e;
  --deep: #0d1720;
  --paper: #f4f6f6;
  --ink: #233746;
  --muted: #51636e;
  --line: #cbd4d8;
  --pale: #b6c8d3;
  --serif: Gilda, Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(22px, 5.25vw, 86px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 16px; }
body { margin: 0; color: var(--ink); background: var(--paper) url("/assets/courtyard-paper.svg"); font: 16px/1.64 var(--sans); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font: 400 1em/1.06 var(--serif); }
h2 { font-size: clamp(1.72rem, 3.5vw, 3rem); letter-spacing: -.035em; }
p + p { margin-top: .75em; }
.wrap { width: 100%; max-width: 1460px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 8; left: 10px; top: 10px; transform: translateY(-150%); color: var(--ink); background: white; padding: 9px 13px; }
.skip-link:focus { transform: none; }
.site-header { background: radial-gradient(ellipse at center top, #304451, #13232f 73%); color: #f2f3ee; border-bottom: 1px solid #465561; }
.site-bar { padding-block: clamp(10px, 1.3vw, 18px) 3px; }
.brand { display: grid; justify-items: center; gap: 5px; border: 1px solid #839ba76d; padding: 9px 8px 12px; text-align: center; text-decoration: none; }
.brand img { width: clamp(37px, 4.6vw, 53px); }
.brand-name { font: 400 clamp(1.18rem, 4.8vw, 2.8rem)/1.04 var(--serif); letter-spacing: .095em; text-transform: uppercase; }
.brand-role { display: flex; align-items: center; gap: 12px; color: #ccdae0; font-size: .62rem; font-weight: 700; letter-spacing: .29em; text-transform: uppercase; }
.brand-role::before, .brand-role::after { content: ""; width: 23px; border-top: 1px solid #8ea7b5; }
.site-bar nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(11px, 3vw, 40px); }
.site-bar nav a { font-size: .78rem; text-decoration: none; padding-block: 12px; }
.site-bar nav a:hover, .site-bar nav [aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.site-bar nav [aria-current] { color: #c2d8e7; }

.eyebrow { color: var(--muted); font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-links, .archive-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.hero-links a { color: #eef1f0; font-size: .84rem; font-weight: 600; text-underline-offset: 5px; }
.hero-links a span { margin-left: 5px; }
.hero-links .outline-link { padding: 10px 15px; border: 1px solid #b8c6cf; text-decoration: none; }
.hero-links .outline-link:hover { background: #e4ebef; color: var(--deep); }
.next-performance { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 13px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.next-performance p { margin: 0; }
.next-performance p:not(.eyebrow), .text-link, .inline-link { font-size: .86rem; }
.subtle { color: var(--muted); }
.text-link, .inline-link { font-weight: 600; text-underline-offset: 4px; }
.text-link:hover, .inline-link:hover { color: var(--muted); }
.text-link span, .inline-link span { margin-left: 4px; }
.out-arrow { display: inline-block; width: .95em; height: .95em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-archive { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.12fr); align-items: center; gap: clamp(25px, 6vw, 92px); padding-block: clamp(51px, 8vw, 113px); }
.archive-copy h2 { font-size: clamp(3rem, 6.7vw, 7rem); margin: 7px 0 16px; }
.archive-copy p:not(.eyebrow) { max-width: 41ch; }
.archive-links { margin-top: 19px; }
.home-archive img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.page { padding-block: clamp(34px, 6vw, 86px) clamp(56px, 8vw, 110px); min-height: calc(100svh - 150px); }
.page-title { border-bottom: 1px solid var(--line); padding-bottom: 21px; margin-bottom: 25px; }
.page-title h1 { font-size: clamp(3.4rem, 7.4vw, 7.8rem); line-height: .97; letter-spacing: -.063em; margin-top: 6px; }
.page-description { color: var(--muted); margin-top: 12px; max-width: 54ch; }
.events, .credits-list, .media-list, .photo-grid { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: minmax(75px,.65fr) minmax(150px,1.5fr) minmax(145px,1.35fr) auto; align-items: center; gap: 15px; padding-block: 21px; border-bottom: 1px solid var(--line); }
.event-date { display: grid; gap: 2px; }
.event-date b { font: 400 clamp(1.4rem, 3vw, 2rem)/1.05 var(--serif); }
.event-date span { font-size: .67rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.event-detail p, .event-venue span { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.event-venue { font-size: .89rem; font-weight: 600; }
.event-venue span { font-weight: 400; }
.event .text-link { justify-self: end; white-space: nowrap; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.15fr); align-items: start; gap: clamp(23px, 5vw, 70px); }
.role-section { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 24px; }
.credits-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 13px; }
.credits-list li { padding: 10px 13px; border-left: 1px solid var(--line); }
.credits-list b, .credits-list span { display: block; }
.credits-list span { font-size: .84rem; color: var(--muted); }

.media-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.media-section { margin-bottom: clamp(30px, 5vw, 64px); }
.media-section-credit { color: var(--muted); margin-block: 6px 18px; }
.messiah-recordings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.messiah-recordings li { display: flex; flex-direction: column; gap: 10px; }
.messiah-recordings h3 { font-size: clamp(1.05rem, 1.7vw, 1.45rem); line-height: 1.2; }
.messiah-recordings video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-top: auto;
  background: var(--night);
}
@media (min-width: 651px) and (max-width: 920px) {
  .messiah-recordings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.media-link { display: block; text-decoration: none; }
.media-link:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.media-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--night); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; background: var(--paper); color: var(--ink); border-radius: 50%; }
.play svg { width: 20px; height: 20px; }
.media-link h2 { margin-top: 13px; }
.media-meta { color: var(--muted); font-size: .85rem; margin-top: 5px; }
.media-more { display: inline-block; margin-top: 23px; }

.album-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 26px; }
.album + .album { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--line); }
.album h2 { margin-bottom: 14px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 17px; }
.photo-grid a[data-photo] { position: relative; display: block; background: #e1e7eb; }
.photo-grid a[data-photo]::after { content: "+"; position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 31px; height: 31px; background: var(--night); color: white; }
.photo-grid a[data-photo]:hover::after { background: var(--paper); color: var(--ink); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.recent-performance-grid img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--night); }
.portrait-grid img { object-position: center 24%; }
figcaption { color: var(--muted); font-size: .79rem; margin-top: 7px; }
figcaption b, figcaption span { display: block; }
figcaption b { color: var(--ink); font: 400 1.35rem/1.15 var(--serif); }
.photo-credit { font-weight: 600; }
.photo-credit a { text-underline-offset: 3px; }
.photography-credits dl { margin: 0 0 18px; }
.photography-credits dl div {
  display: grid;
  grid-template-columns: minmax(9.5rem, .32fr) minmax(0, 1fr);
  gap: 4px 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.photography-credits dt { font-weight: 600; }
.photography-credits dd { margin: 0; }
.photography-credits a { text-underline-offset: 3px; }
@media (max-width: 480px) {
  .photography-credits dl div { grid-template-columns: 1fr; }
}
.photo-viewer { padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: min(92vw, 1160px); max-height: 94svh; overflow: auto; }
.photo-viewer::backdrop { background: #0e1820e8; }
.viewer-bar, .viewer-controls { display: flex; align-items: center; justify-content: space-between; padding: 5px 14px; }
.viewer-bar { border-bottom: 1px solid var(--line); }
.viewer-controls { border-top: 1px solid var(--line); }
.viewer-count { font-size: .82rem; color: var(--muted); }
.photo-viewer button { border: 0; background: transparent; color: inherit; font: 600 .85rem var(--sans); padding: 10px 8px; cursor: pointer; }
.photo-viewer button:hover { text-decoration: underline; text-underline-offset: 4px; }
.photo-viewer img { width: 100%; height: min(65svh, 760px); object-fit: contain; background: var(--night); }
.photo-viewer figcaption { margin: 0; padding: 9px 15px 14px; }
body:has(.photo-viewer[open]) { overflow: hidden; }

.review-tools { display: flex; align-items: end; flex-wrap: wrap; gap: 12px 19px; margin-bottom: 15px; }
.review-tools label { display: grid; gap: 4px; font-size: .81rem; font-weight: 600; }
.review-tools label:first-child { flex: 0 1 330px; }
.review-tools input, .review-tools select { padding: 8px 10px; color: var(--ink); border: 1px solid #a0afb8; border-radius: 0; background: #fbfcfc; font: .91rem var(--sans); min-height: 41px; }
.review-count { font-size: .83rem; color: var(--muted); margin-bottom: 8px; }
.review-entry { display: grid; grid-template-columns: minmax(75px,.26fr) minmax(0,1.6fr) minmax(0,1.65fr); align-items: start; gap: clamp(15px,3vw,45px); border-top: 1px solid var(--line); padding: clamp(17px,2.2vw,31px) 0; }
.review-entry:last-child { border-bottom: 1px solid var(--line); }
.review-year { font-size: .8rem; font-weight: 700; color: var(--muted); }
.review-meta h2 { font-size: clamp(1.5rem,3.1vw,2.5rem); }
.review-attribution { color: var(--muted); font-size: .84rem; margin-top: 7px; }
.review-excerpt { margin: 0; font: 400 clamp(1.21rem, 2.2vw, 1.62rem)/1.35 var(--serif); }
.review-excerpt a { text-decoration-color: #8197a5; text-underline-offset: .2em; }
.review-excerpt a:hover { text-decoration-color: currentColor; }
.review-detail small { display: block; margin-top: 6px; color: var(--muted); }

.contact-layout h2 { margin-bottom: 12px; }
address { font-style: normal; }
address a { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); text-decoration: none; padding: 11px 0; }
address a:hover { text-decoration: underline; text-underline-offset: 4px; }
address b, address small { display: block; }
address small { color: var(--muted); }
.site-footer { background: var(--night); color: #d6e2e9; }
.site-footer .wrap { min-height: 69px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: .79rem; }

@media (max-width: 880px) {
  .event { grid-template-columns: minmax(74px,.65fr) minmax(118px,1.35fr) minmax(120px,1.3fr); gap: 8px 13px; }
  .event .text-link { grid-column: 3; justify-self: start; }
}
@media (max-width: 650px) {
  .site-bar { padding-inline: clamp(12px, 4vw, 22px); }
  .site-bar nav { gap: 0 clamp(8px, 2.55vw, 17px); }
  .site-bar nav a { font-size: .74rem; }
  .hero-links { gap: 10px 17px; }
  .hero-links a { font-size: .77rem; }
  .next-performance { display: grid; grid-template-columns: 1fr auto; }
  .next-performance .eyebrow, .next-performance p:nth-child(2) { grid-column: 1 / -1; }
  .home-archive, .contact-layout, .media-list { grid-template-columns: 1fr; }
  .event { grid-template-columns: minmax(67px,.3fr) 1fr; }
  .event-date { grid-row: span 3; }
  .event-venue, .event .text-link { grid-column: 2; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 19px 11px; }
  .review-entry { grid-template-columns: 42px minmax(0,1fr); gap: 7px 11px; }
  .review-detail { grid-column: 2; }
  .review-year { margin-top: 4px; }
}
@media (max-width: 345px) {
  .site-bar nav { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
}
