/* Explicit language choices stay in the header on every viewport. */
.site-header .header-inner { position: relative; z-index: 1; }
.language-switch {
  position: absolute;
  top: .3rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: .15rem;
  z-index: 3;
  font-size: 1.75rem;
  line-height: 1;
}
.language-switch a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.5rem;
  color: var(--ink, #0d1b3d);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.language-switch a[aria-current="page"] {
  color: #765625;
  border-bottom-color: currentColor;
  font-weight: 700;
}
.language-switch a:hover { text-decoration: underline; text-underline-offset: .2em; }
.language-switch a:focus-visible { outline: 2px solid #765625; outline-offset: 2px; }
.site-header.is-scroll-moving .language-switch { visibility: hidden; pointer-events: none; }
.form-language-note { margin-bottom: 1rem; font-size: 1rem; }
.brand-logo--supplied { mix-blend-mode: multiply; }
.header-nav__links { display: contents; }
.header-nav__side { flex-wrap: nowrap; }
.header-nav__side > * { flex-shrink: 0; }
.header-nav a,
.header-news summary { font-size: var(--header-menu-size, clamp(1rem, 1.35vw, 1.75rem)); }
.header-nav a,
.header-news summary,
.header-news summary::after {
  /* Font fitting must measure settled widths, including with reduced motion. */
  transition-property: color, background-color, border-color, text-decoration-color;
}
.header-nav__side > a,
.header-news summary { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (min-width: 901px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.is-over-concerts {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    isolation: isolate;
  }
  .site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background: #faf7f1;
  }
  .site-header::before {
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    box-shadow: 0 1px 0 rgba(13,27,61,.12);
  }
  .header-nav { align-items: start; min-height: 8rem; }
  .header-nav__side { grid-row: 1; padding-top: 3.2rem; }
  .site-header .header-inner .wordmark--logo { width: 8.5rem; margin-top: 1rem; }
}

/* Hero typography is 130% of the preceding sizes at every breakpoint. */
.hero--photo .hero-center { width: min(46rem, 60vw); }
@media (min-width: 1101px) {
  .hero--photo .hero-center { top: max(35%, calc(var(--site-header-height, 12rem) + 11rem)); }
}
.hero--photo .hero-center h1 {
  font-size: calc(clamp(calc(3.1rem - 5px), calc(4.8vw - 5px), calc(4.5rem - 5px)) * 1.3);
}
.hero--photo .hero-concert-link {
  font-size: calc(max(var(--minimum-copy-size), 1.25rem) * 1.3);
}
.hero--photo .hero-concert-link__date span:first-child { font-size: 1.95rem; }
.hero--photo .hero-concert-link__date span:last-child { font-size: 1.1375rem; }

@media (max-width: 1100px) {
  body .hero.hero--photo { padding-top: calc(var(--site-header-height, 10rem) + 1.5rem); }
  .hero--photo .hero-center { width: min(43rem, calc(100% - 2.5rem)); }
}
/* The desktop navigation gives way to a left drawer on phones and tablets. */
@media (max-width: 900px) {
  .site-header .header-inner {
    min-height: 5rem;
    padding: .6rem 0;
  }
  .header-nav { display: block; min-height: 0; }
  .header-nav__links,
  .site-header .language-switch { display: none; }
  .site-header .header-inner .wordmark--logo {
    display: block;
    width: 4.25rem;
    margin: 0;
  }
  .site-header .header-inner .wordmark-logo { width: 100%; }
  .site-header .header-inner .menu-button,
  .mobile-menu .menu-close {
    position: absolute;
    top: calc(.875rem + env(safe-area-inset-top, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.25rem;
    min-height: 2.75rem;
    padding: .4rem .75rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.125rem;
    line-height: 1;
    text-transform: none;
    cursor: pointer;
  }
  .site-header .header-inner .menu-button { right: 0; }
  .site-header .menu-button__icon { display: none; }
  .site-header.is-scroll-moving {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .menu-open .site-header { opacity: 0; pointer-events: none; }
  .menu-backdrop { display: block; backdrop-filter: blur(3px); }
  .mobile-menu {
    --drawer-width: min(26rem, calc(100vw - 1.25rem));
    inset: 0 auto 0 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: var(--drawer-width);
    height: 100vh;
    height: 100dvh;
    padding: 0;
    border: 0;
    border-right: 1px solid rgba(174, 137, 74, .4);
    background: var(--ivory);
    box-shadow: .75rem 0 3rem rgba(13, 27, 61, .18);
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 320ms cubic-bezier(.22, 1, .36, 1), opacity 200ms ease;
  }
  .mobile-menu.is-open { visibility: visible; transform: translateX(0); }
  .mobile-menu__header {
    min-height: calc(6.5rem + env(safe-area-inset-top, 0px));
    display: flex;
    align-items: center;
    padding: calc(.75rem + env(safe-area-inset-top, 0px)) 1.5rem .75rem;
  }
  .mobile-menu__brand { display: block; width: 5.25rem; }
  .mobile-menu__brand img { display: block; width: 100%; height: auto; }
  .mobile-menu .menu-close {
    right: calc(var(--drawer-width) - 100vw + max(1rem, env(safe-area-inset-right, 0px)));
    font-family: sans-serif;
    font-size: 1.75rem;
    font-weight: 300;
  }
  .mobile-menu .menu-close::after { content: none; }
  .site-header .menu-button:focus-visible,
  .mobile-menu :is(a, button, summary):focus-visible {
    outline: 2px solid #765625;
    outline-offset: 4px;
  }
  .mobile-menu__body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: .5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-menu__nav { display: grid; }
  .mobile-menu__nav > a,
  .mobile-menu__group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(13, 27, 61, .13);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.75rem, 5.6vw, 2.2rem);
    line-height: 1.2;
    list-style: none;
    text-decoration: none;
    cursor: pointer;
  }
  .mobile-menu__group > summary::-webkit-details-marker { display: none; }
  .mobile-menu__group > summary { -webkit-tap-highlight-color: transparent; }
  .mobile-menu__group > summary::after {
    content: "+";
    padding-left: .75rem;
    color: #765625;
    font-size: 1.5rem;
  }
  .mobile-menu__group[open] > summary::after { content: "−"; }
  .mobile-menu__links { display: grid; padding: .4rem 0 .6rem 1rem; }
  .mobile-menu__links a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .4rem 0;
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.25;
    text-decoration: none;
  }
  .mobile-menu__nav a:hover,
  .mobile-menu__group > summary:hover { color: #765625; }
  .mobile-menu__footer {
    display: grid;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
  }
  .mobile-menu__footer > a {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: #765625;
    font-size: 1.125rem;
    text-decoration: none;
  }
  .mobile-menu .language-switch {
    position: static;
    justify-content: flex-start;
    gap: .75rem;
    font-size: 1.125rem;
  }
  .mobile-menu .language-switch a { min-height: 2.75rem; }
  html { scroll-padding-top: calc(var(--site-header-height, 5rem) + .75rem); }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .menu-backdrop { transition: none; }
}
@media (max-width: 600px) {
  .site-header .header-inner {
    min-height: calc(76px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 0 0;
  }
  .site-header .header-nav {
    display: grid;
    place-items: center;
    min-height: 76px;
  }
  .site-header .header-inner .menu-button,
  .mobile-menu .menu-close {
    top: calc(16px + env(safe-area-inset-top, 0px));
  }

  body .hero.hero--photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-top: var(--site-header-height, 76px);
  }
  .hero--photo .hero-media {
    grid-area: 1 / 1;
    align-self: stretch;
    position: relative;
    inset: auto;
    margin: 0;
    aspect-ratio: 5 / 4;
  }
  .hero--photo .hero-photo {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }
  .hero--photo .hero-photo img {
    object-fit: cover;
    object-position: center bottom;
  }
  .hero.hero--photo::after {
    top: var(--site-header-height, 76px);
    background: linear-gradient(to bottom,
      rgba(13, 27, 61, .74) 0%,
      rgba(13, 27, 61, .44) 40%,
      rgba(13, 27, 61, .12) 64%,
      rgba(13, 27, 61, .88) 100%);
  }
  .hero--photo .hero-center {
    grid-area: 1 / 1;
    align-self: stretch;
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: calc(100% - 48px);
    margin: 0 24px;
    padding: 20px 0 0;
    transform: none;
  }
  .hero--photo .hero-center h1 {
    font-size: clamp(44px, 11.5vw, 52px);
    line-height: 1.06;
    text-shadow: 0 2px 12px rgba(13, 27, 61, .65);
  }
  .hero--photo .hero-concert-link {
    flex-shrink: 0;
    align-self: stretch;
    min-height: 48px;
    width: calc(100% + 48px);
    max-width: none;
    margin-inline: -24px;
    padding: 8px 24px;
    gap: 10px;
    border: 1px solid rgba(250, 247, 241, .55);
    background: rgba(13, 27, 61, .82);
    font-size: 16px;
    line-height: 1.2;
    text-shadow: none;
  }
  .hero--photo .hero-concert-link__date { padding-right: 10px; }
  .hero--photo .hero-concert-link__date span:first-child { font-size: 22px; }
  .hero--photo .hero-concert-link__date span:last-child { font-size: 13px; }
  .hero-concert-link__label { overflow-wrap: anywhere; }
}

.legal-page__header .language-switch { position: static; justify-content: center; }
.legal-page__header .language-switch a { font-size: .875rem; }
.legal-page__header .language-switch [aria-current="page"] { color: #765625; }
.legal-page__main h1,
.legal-page__main h2 { overflow-wrap: anywhere; hyphens: auto; }

/* Preserve button geometry and keyboard focus while removing mobile frames. */
@media (max-width: 900px) {
  :root body :is(button, [role="button"], .hero-concert-link, .choir-mosaic__join, .back-to-top) {
    border-color: transparent;
  }
}
