/* 08 — Strauss Waltz. An ivory concert invitation, antique gold and Danube green. */
.waltz {
  --paper: #f8f4e9;
  --ink: #253d3b;
  --muted: #64685e;
  --accent: #796031;
  --line: #d8cbb0;
  background: radial-gradient(ellipse at 50% 16%, #fffdf5 0, transparent 54%), var(--paper);
  isolation: isolate;
}
/* A layered, gently moving score behind the printed programme. */
.waltz-atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; color: #9a793c; }
.waltz-paper { position: absolute; inset: 0; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%239a793c' opacity='.28' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.waltz-glow { position: absolute; inset: -15%; background: radial-gradient(ellipse at 7% 20%, #c7a55326, transparent 38%), radial-gradient(ellipse at 92% 75%, #a8b7a125, transparent 38%); animation: waltz-light 24s ease-in-out infinite alternate; }
.waltz-score { width: 100%; height: 100%; opacity: .19; mask-image: linear-gradient(90deg, #000, #0006 28%, #0002 50%, #0006 72%, #000); animation: waltz-sway 30s ease-in-out infinite alternate; }
.waltz-score-second { opacity: .7; }
.waltz-dust { position: absolute; inset: 0; }
.waltz-dust i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #b28b41; opacity: .25; box-shadow: 0 0 9px #c9a45666; animation: waltz-drift 18s ease-in-out infinite alternate; }
.waltz-dust i:nth-child(1) { left: 7%; top: 18%; }
.waltz-dust i:nth-child(2) { left: 17%; top: 68%; animation-delay: -7s; }
.waltz-dust i:nth-child(3) { left: 31%; top: 42%; animation-delay: -12s; width: 2px; height: 2px; }
.waltz-dust i:nth-child(4) { left: 47%; top: 84%; animation-delay: -4s; }
.waltz-dust i:nth-child(5) { left: 62%; top: 12%; animation-delay: -15s; width: 2px; height: 2px; }
.waltz-dust i:nth-child(6) { left: 76%; top: 63%; animation-delay: -9s; }
.waltz-dust i:nth-child(7) { left: 89%; top: 28%; animation-delay: -3s; }
.waltz-dust i:nth-child(8) { left: 95%; top: 86%; animation-delay: -11s; }
.waltz-motion-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: transparent; color: var(--accent); font: inherit; letter-spacing: 1px; text-transform: none; }
.waltz-motion-toggle span { width: 12px; font-size: 12px; }
.waltz-motion-toggle:hover { color: var(--ink); }
.waltz-still .waltz-atmosphere * { animation-play-state: paused; }
@keyframes waltz-sway { from { transform: translate3d(-12px, -8px, 0) rotate(-1deg) scale(1.04); } to { transform: translate3d(12px, 14px, 0) rotate(1deg) scale(1.04); } }
@keyframes waltz-light { from { transform: translate3d(-2%, 0, 0); opacity: .6; } to { transform: translate3d(3%, 2%, 0); opacity: 1; } }
@keyframes waltz-drift { from { transform: translate3d(0, 10px, 0); opacity: .12; } to { transform: translate3d(18px, -24px, 0); opacity: .5; } }
.waltz .wrap { width: min(1200px, calc(100% - 96px)); }
.waltz .site-header { min-height: 108px; border-bottom: 1px solid var(--line); }
.waltz .brand-logo { width: 45px; height: 57px; object-fit: contain; }
.waltz .brand-name { font-size: 14px; line-height: 1.4; }
.waltz .nav { gap: 28px; font-size: 12px; }
.waltz .nav .member-link { border: 1px solid var(--line); padding: 9px 16px; }
.waltz .eyebrow { font-size: 10px; letter-spacing: 2.6px; font-weight: 500; }
.waltz .button { background: var(--ink); border-color: var(--ink); font-size: 12px; padding: 14px 26px; }
.waltz .text-link { font-size: 12px; color: var(--ink); }
.waltz-hero { padding-top: 25px; text-align: center; }
.waltz-edition { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--accent); font-size: 9px; letter-spacing: 2.1px; text-transform: uppercase; }
.waltz-heading { position: relative; padding: 28px 0 38px; isolation: isolate; }
.waltz-heading::before, .waltz-heading::after { content: ''; position: absolute; z-index: -1; top: 37px; bottom: 18px; width: 180px; background: url('assets/waltz-botanical.svg') center / contain no-repeat; opacity: .72; pointer-events: none; }
.waltz-heading::before { left: 0; transform: rotate(-8deg); }
.waltz-heading::after { right: 0; transform: scaleX(-1) rotate(-8deg); }
.waltz-flourish { width: 210px; height: 35px; margin: 0 auto 17px; color: #a68b52; display: block; }
.waltz-heading h1 { font-size: clamp(48px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -3.8px; }
.waltz-heading h1 em { display: block; font-weight: 400; color: var(--accent); }
.waltz-heading p { margin: 22px auto 0; max-width: 400px; font-size: 13px; }
.waltz-heading .hero-actions { justify-content: center; margin-top: 23px; gap: 30px; }
.waltz-photo { position: relative; margin: 0; padding: 9px; border: 1px solid #b8a477; background: #f8f4e9; box-shadow: 0 14px 38px #614c2810; }
.waltz-photo::before, .waltz-photo::after { content: ''; position: absolute; width: 36px; height: 36px; border: 1px solid #b8a477; pointer-events: none; }
.waltz-photo::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.waltz-photo::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
.waltz-photo img { width: 100%; height: clamp(240px, 29vw, 390px); object-fit: cover; object-position: center 48%; filter: saturate(.72) sepia(.12); }
.waltz-photo figcaption { position: absolute; bottom: 25px; right: 26px; color: #fff9e8; background: #233a36e8; padding: 8px 13px; font-size: 9px; letter-spacing: 1.8px; text-transform: uppercase; }
.waltz-dedication { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 24px 0 0; font: italic 16px Georgia, serif; color: var(--accent); }
.waltz-dedication::before, .waltz-dedication::after { content: ''; width: 54px; height: 1px; background: var(--line); }
.waltz .concert-section { padding: 67px 0 72px; }
.waltz .section-head { align-items: end; margin-bottom: 28px; }
.waltz h2 { font-size: clamp(31px, 3.2vw, 43px); letter-spacing: -1.4px; }
.waltz .concert-grid { gap: 40px; grid-template-columns: 1.12fr 1fr; }
.waltz .featured-concert { position: relative; background: #253f3c; border: 1px solid #253f3c; color: #fcf6e7; padding: 37px 30px; gap: 24px; }
.waltz .featured-concert::before { content: ''; position: absolute; right: 12px; bottom: 12px; width: 145px; height: 180px; background: url('assets/waltz-lyre.svg') center / contain no-repeat; opacity: .13; pointer-events: none; }
.waltz .concert-copy { position: relative; }
.waltz .featured-concert::after { content: ''; position: absolute; inset: 7px; border: 1px solid #c9b37a66; pointer-events: none; }
.waltz .featured-concert .date, .waltz .concert-copy .eyebrow, .waltz .concert-copy .small-link { color: #e0ca94; }
.waltz .featured-concert p { color: #e2e5d9; }
.waltz .featured-concert .date { padding-right: 18px; border-right: 1px solid #a68b5277; }
.waltz .featured-concert .date strong { font-size: 60px; }
.waltz .concert-copy h3 { font-size: 30px; }
.waltz .concert-row { padding-block: 24px; grid-template-columns: 54px 1fr 36px; }
.waltz .concert-row:first-child { padding-top: 20px; border-top: 1px solid var(--line); }
.waltz .concert-row .date strong { font-size: 40px; }
.waltz .arrow-button { border: 1px solid var(--line); border-radius: 50%; width: 36px; min-height: 36px; font-size: 18px; }
.waltz .about-section { position: relative; padding: 72px 0; gap: 80px; }
.waltz .about-section::before, .waltz .footer::before { content: ''; position: absolute; top: -5px; left: calc(50% - 5px); width: 9px; height: 9px; border: 1px solid #ac915c; background: var(--paper); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--paper); }
.waltz .about-section > img { height: 400px; padding: 8px; border: 1px solid var(--line); border-radius: 50% 50% 0 0; filter: saturate(.7); }
.waltz .about-section h2 { margin-top: 14px; }
.waltz .about-section p { font-size: 14px; }
.waltz .history { padding-top: 18px; border-top: 1px solid var(--line); }
.waltz .join { border-block: 1px solid var(--line); background: linear-gradient(90deg, transparent, #d8cbb025, transparent); padding: 34px 0; gap: 40px; }
.waltz .join h3 { font-size: 31px; }
.waltz .join .button { color: var(--ink); background: transparent; border-color: var(--line); }
.waltz .gallery-grid { gap: 26px; }
.waltz .gallery-item img { height: 230px; filter: saturate(.7); padding: 6px; border: 1px solid var(--line); }
.waltz .gallery-item span { font: italic 15px Georgia, serif; color: var(--accent); margin-top: 15px; }
.waltz .footer { position: relative; padding-top: 40px; }
.waltz .design-label { background: #ede7d8; color: #67604f; }
.waltz dialog { border: 1px solid #a68b52; }
.waltz dialog::backdrop { background: #172c29b8; }
@media (max-width: 1050px) {
  .waltz-heading::before, .waltz-heading::after { width: 120px; opacity: .45; }
  .waltz .wrap { width: calc(100% - 56px); }
  .waltz .nav { gap: 16px; }
  .waltz .brand-name { font-size: 12px; }
  .waltz .concert-grid { gap: 26px; }
  .waltz .featured-concert { padding: 28px 22px; gap: 16px; }
  .waltz .about-section { gap: 40px; }
}
@media (max-width: 760px) {
  .waltz-score { opacity: .14; }
  .waltz-heading::before, .waltz-heading::after { width: 75px; height: 130px; top: 0; opacity: .35; }
  .waltz-heading::before { left: -16px; transform: none; }
  .waltz-heading::after { right: -16px; transform: scaleX(-1); }
  .waltz-edition { flex-wrap: wrap; row-gap: 9px; }
  .waltz-motion-toggle { flex-basis: 100%; justify-content: center; min-height: 32px; }
  .waltz .wrap { width: calc(100% - 40px); }
  .waltz .site-header { min-height: 86px; padding-block: 14px; }
  .waltz .brand-logo { width: 36px; height: 46px; }
  .waltz .brand { gap: 12px; }
  .waltz .nav { gap: 0; }
  .waltz .nav .member-link { border: 0; padding: 10px 17px 10px 0; }
  .waltz-edition { font-size: 8px; letter-spacing: 1px; gap: 12px; }
  .waltz-heading { padding: 28px 0 30px; }
  .waltz-heading h1 { font-size: clamp(40px, 9vw, 65px); letter-spacing: -2px; }
  .waltz-flourish { width: 160px; height: 28px; margin-bottom: 20px; }
  .waltz-heading p { max-width: 290px; font-size: 12px; }
  .waltz-heading .hero-actions { gap: 20px; }
  .waltz .button { padding-inline: 20px; }
  .waltz-photo { padding: 6px; }
  .waltz-photo img { height: 250px; }
  .waltz-photo figcaption { bottom: 15px; right: 15px; font-size: 7px; letter-spacing: 1px; }
  .waltz-dedication { font-size: 14px; gap: 12px; }
  .waltz-dedication::before, .waltz-dedication::after { width: 26px; }
  .waltz .concert-section { padding-block: 44px; }
  .waltz .section-head { flex-wrap: wrap; gap: 16px; }
  .waltz .concert-grid { grid-template-columns: 1fr; gap: 28px; }
  .waltz .featured-concert { grid-template-columns: 57px 1fr; padding: 30px 22px; }
  .waltz .featured-concert .date strong { font-size: 48px; }
  .waltz .featured-concert .date { padding-right: 12px; }
  .waltz .concert-copy h3 { font-size: 27px; }
  .waltz .concert-row { grid-template-columns: 43px 1fr 36px; gap: 14px; }
  .waltz .about-section { grid-template-columns: 1fr; padding-block: 40px; gap: 32px; }
  .waltz .about-section > img { height: 330px; }
  .waltz .join { gap: 22px; }
  .waltz .join h3 { font-size: 28px; }
  .waltz .gallery-grid { grid-template-columns: 1fr; gap: 26px; }
  .waltz .gallery-item:last-child { display: block; }
  .waltz .gallery-item img { height: 230px; }
  .waltz .contact { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .waltz-atmosphere * { animation: none !important; }
  .waltz-motion-toggle { display: none; }
}
