/* Orquesta Sinfónica de Tegucigalpa */

/* Self-hosted fonts (SIL OFL, latin subset) — no third-party request before first paint */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/instrument-serif.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/instrument-serif-italic.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/hanken-grotesk.woff2) format('woff2'); }
:root {
  --ink: #0d0c0a;
  --ink-2: #14120f;
  --ink-3: #1d1a15;
  --line: rgba(201, 177, 125, .2);
  --line-soft: rgba(244, 239, 229, .1);
  --gold: #c9b17d;
  --gold-hi: #e3cc98;
  --amber: #d8a464;
  --ivory: #f4efe5;
  --ivory-dim: rgba(244, 239, 229, .68);
  --ivory-faint: rgba(244, 239, 229, .45);
  --paper: #f3ede2;
  --paper-2: #e9e1d2;
  --paper-ink: #1b1813;
  --paper-dim: #5d554a;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display, .display-2, .display-3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.display { font-size: clamp(3rem, 7.6vw, 7.4rem); line-height: .94; }
.display-2 { font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: .98; margin-bottom: .45em; }
.display-3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.04; margin-bottom: .5em; }
.display em, .display-2 em, .display-3 em { font-style: italic; color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.6em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.hero .eyebrow::before { display: none; }
.spark { font-size: 11px; letter-spacing: 0; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ivory-dim); max-width: 34em; }
.small { font-size: 14px; color: var(--ivory-faint); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 28px; border-radius: 999px;
  font: 600 14px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: rgba(244, 239, 229, .35); color: var(--ivory); backdrop-filter: blur(6px); background: rgba(13, 12, 10, .2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { padding: 11px 20px; font-size: 12.5px; }

.link-arrow {
  display: inline-flex; gap: .5em; align-items: center;
  color: var(--gold); text-decoration: none; font-weight: 500; letter-spacing: .02em;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--gold-hi); border-color: var(--gold); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Brand (masked SVGs so they take any color) ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark, .badge-mark {
  display: block; background: var(--gold);
  -webkit-mask: url(assets/mark.svg) center / contain no-repeat; mask: url(assets/mark.svg) center / contain no-repeat;
}
.brand-mark { width: 38px; height: 44px; }
.brand-word {
  display: block; width: 152px; height: 39px; background: var(--ivory);
  -webkit-mask: url(assets/wordmark.svg) left center / contain no-repeat; mask: url(assets/wordmark.svg) left center / contain no-repeat;
}
.brand-lg .brand-mark { width: 64px; height: 72px; }
.brand-lg .brand-word { width: 220px; height: 55px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 28px; transition: padding .4s var(--ease); }
.nav.scrolled { background: rgba(13, 12, 10, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-soft); }
.nav.scrolled .nav-inner { padding-top: 12px; padding-bottom: 12px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ivory); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { padding: 8px var(--gutter) 28px; display: grid; gap: 4px; background: rgba(13, 12, 10, .96); border-bottom: 1px solid var(--line-soft); }
.menu[hidden] { display: none; }
.menu a { font-family: var(--serif); font-size: 32px; line-height: 1.35; text-decoration: none; color: var(--ivory); }
.menu a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 140px 0 clamp(52px, 6vh, 84px); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 20%; animation: kenburns 24s var(--ease) both; filter: saturate(.85) contrast(1.05); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,12,10,.7) 0%, rgba(13,12,10,.05) 14%, rgba(13,12,10,.08) 38%, rgba(13,12,10,.82) 58%, rgba(13,12,10,.97) 100%),
    linear-gradient(90deg, rgba(13,12,10,.55) 0%, rgba(13,12,10,.15) 50%, rgba(13,12,10,0) 100%);
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-content { position: relative; }
.hero h1 { margin-bottom: 28px; max-width: 11em; }
.hero-lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--ivory-dim); max-width: 33em; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-bloom { position: absolute; z-index: -1; right: max(-6vw, -120px); top: 50%; width: min(46vw, 640px); transform: translateY(-58%); pointer-events: none; }
.bloom { color: var(--gold-hi); aspect-ratio: 1244 / 1436; }
.bloom svg { width: 100%; height: 100%; overflow: visible; animation: spin 180s linear infinite; }
.bloom path {
  fill: currentColor; fill-opacity: 0;
  stroke: currentColor; stroke-width: 1.1; stroke-opacity: .8; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.4s var(--ease) forwards, fillin 2.4s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms), calc(var(--d, 0) * 1ms + 1400ms);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: .1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; border: 1px solid rgba(244,239,229,.35); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--ivory); white-space: nowrap; line-height: 1; }
.marquee i { font-style: normal; color: var(--gold); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row .display-2 { margin-bottom: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.about-text > p:not(.eyebrow) { color: var(--ivory-dim); max-width: 33em; }
.about-text strong { color: var(--ivory); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 26px 18px 0 0; }
.stats div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats dt { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 64px); line-height: 1; color: var(--gold); }
.stats dt sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; }
.stats dd { margin: 10px 0 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-faint); }
.about-media { position: relative; min-height: 620px; }
.frame { margin: 0; position: absolute; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-a { inset: 0 18% 18% 0; }
.frame-b { width: 44%; height: 58%; right: 0; bottom: 0; outline: 10px solid var(--ink); }
.frame-a::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(227, 204, 152, .45); pointer-events: none; }
.about-badge { position: absolute; left: -38px; bottom: 6%; width: 116px; height: 116px; border-radius: 50%; background: var(--ink); border: 1px solid var(--line); display: grid; place-items: center; }
.badge-mark { width: 62px; height: 70px; animation: spin 60s linear infinite; }

/* Guest artists */
.guests { padding: clamp(40px, 6vw, 96px) 0 clamp(88px, 12vw, 168px); background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.guests-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.guests-media { margin: 0; position: relative; aspect-ratio: 960 / 1108; overflow: hidden; }
.guests-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.92); transition: filter 1.2s var(--ease); }
.guests-media:hover img { filter: grayscale(.2) contrast(1.04); }
.guests-media::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(227, 204, 152, .4); pointer-events: none; }
.guests-content > p:not(.eyebrow) { color: var(--ivory-dim); max-width: 30em; }

/* Season */
.next { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink-2); border: 1px solid var(--line); margin-bottom: 28px; overflow: hidden; }
.next-media { position: relative; min-height: 380px; }
.next-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,15,0) 60%, var(--ink-2)); }
.next-body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.next-body p:not(.tag) { color: var(--ivory-dim); margin-bottom: 28px; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(216,164,100,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(216,164,100,0); } 100% { box-shadow: 0 0 0 0 rgba(216,164,100,0); } }

.past-head { margin-top: clamp(24px, 4vw, 48px); }
.past-list { border-bottom: 1px solid var(--line); margin-bottom: clamp(64px, 8vw, 110px); }
.past { display: grid; grid-template-columns: 150px 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.past-text { color: var(--ivory-dim); max-width: 40em; }
.past-date { display: flex; align-items: flex-start; gap: 14px; }
.past-day { font-family: var(--serif); font-size: clamp(80px, 9vw, 128px); line-height: .8; color: var(--gold); }
.past-month { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-dim); line-height: 1.5; padding-top: 6px; }
.past .tag { color: var(--ivory-faint); }
.meta { list-style: none; padding: 0; margin: 4px 0 20px; display: grid; gap: 10px; }
.meta li { color: var(--ivory-dim); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.meta li span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }

.program { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
.program-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.program-list li { counter-increment: p; display: grid; grid-template-columns: 44px 1fr 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-soft); transition: background .3s var(--ease); }
.program-list li::before { content: counter(p, decimal-leading-zero); font-size: 12px; letter-spacing: .1em; color: var(--gold); }
.program-list li:hover { background: linear-gradient(90deg, rgba(201,177,125,.06), transparent); }
.work { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.composer { color: var(--ivory-dim); font-size: 15px; }

/* Paper section (light) */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .eyebrow { color: #8a6d3b; }
.paper .display-2 em { color: #9a7a40; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(27,24,19,.15); }
.tip { padding: 36px 28px 8px 0; position: relative; }
.tip + .tip { padding-left: 28px; border-left: 1px solid rgba(27,24,19,.12); }
.tip-n { font-family: var(--serif); font-style: italic; font-size: 52px; line-height: 1; color: #9a7a40; display: block; margin-bottom: 28px; }
.tip h3 { font-family: var(--serif); font-size: 28px; line-height: 1.08; margin-bottom: 14px; }
.tip p { color: var(--paper-dim); font-size: 16px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 20vw, 280px); gap: 14px; }
.g { padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in; overflow: hidden; position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); filter: saturate(.85); }
.g::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(227,204,152,0); transition: border-color .4s var(--ease), inset .4s var(--ease); }
.g:hover img { transform: scale(1.05); filter: saturate(1); }
.g:hover::after { inset: 12px; border-color: rgba(227,204,152,.6); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.gallery .g:nth-child(1) { grid-row: span 2; }

/* Support */
.support { overflow: hidden; background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(201,177,125,.08), transparent 70%), var(--ink); border-top: 1px solid var(--line-soft); }
.support-bloom { position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1244/1436; transform: translate(-50%, -50%); background: var(--gold); opacity: .045; -webkit-mask: url(assets/mark.svg) center / contain no-repeat; mask: url(assets/mark.svg) center / contain no-repeat; animation: spin-c 240s linear infinite; pointer-events: none; }
@keyframes spin-c { to { transform: translate(-50%, -50%) rotate(360deg); } }
.support .wrap { position: relative; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { display: flex; flex-direction: column; padding: 40px 34px 34px; text-decoration: none; border: 1px solid var(--line); background: rgba(20,18,15,.7); backdrop-filter: blur(4px); transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease); }
.way:hover { border-color: var(--gold); transform: translateY(-4px); background: rgba(29,26,21,.85); }
.way-n { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); margin-bottom: 40px; }
.way h3 { font-family: var(--serif); font-size: 40px; line-height: 1; margin-bottom: 14px; }
.way p { color: var(--ivory-dim); font-size: 16px; flex: 1; }
.way-cta { margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.way-cta span { display: inline-block; transition: transform .3s var(--ease); }
.way:hover .way-cta span { transform: translateX(5px); }

/* Contact */
.contact { border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.contact .display { font-size: clamp(2.8rem, 6vw, 6rem); }
.contact-list { display: grid; }
.contact-item { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease); }
.contact-item:first-child { border-top: 1px solid var(--line); }
a.contact-item:hover { padding-left: 10px; }
a.contact-item:hover .ci-value { color: var(--gold-hi); }
.ci-label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.ci-value { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; overflow-wrap: anywhere; transition: color .3s var(--ease); }

/* Footer */
.footer { background: #090807; border-top: 1px solid var(--line-soft); padding: 72px 0 36px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line-soft); }
.footer-tag { color: var(--ivory-faint); margin: 0; max-width: 30em; font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; }
.f-credit { margin: 0; font-size: 15px; color: var(--ivory-dim); line-height: 1.9; }
.f-credit-tail { white-space: nowrap; }
.f-credit strong { color: var(--ivory); font-weight: 600; }
.f-credit a { display: inline-flex; gap: 6px; margin-left: 6px; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--gold); transition: background .3s var(--ease), color .3s var(--ease); }
.f-credit a span { display: inline-block; transition: transform .25s var(--ease); }
.f-credit a:hover { background: var(--gold); color: var(--ink); }
.f-credit a:hover span { transform: translateX(3px); }
.f-copy { margin: 0; font-size: 13px; color: var(--ivory-faint); }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .3s var(--ease), background .3s var(--ease); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); background: var(--gold-hi); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(9, 8, 7, .92); backdrop-filter: blur(6px); }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lb-close { position: fixed; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(13,12,10,.6); color: var(--ivory); font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close:hover { border-color: var(--gold); color: var(--gold); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {

  .tips { grid-template-columns: repeat(2, 1fr); }
  .tip:nth-child(3) { padding-left: 0; border-left: 0; }
  .tip:nth-child(n+3) { border-top: 1px solid rgba(27,24,19,.12); }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-bloom { width: 62vw; right: -18vw; top: 30%; opacity: .55; }
  .about-grid, .contact-grid, .program { grid-template-columns: 1fr; }
  .about-media { min-height: 520px; }
  .about-badge { left: auto; right: 8%; bottom: auto; top: -40px; }
  .guests-grid { grid-template-columns: 1fr; }
  .guests-media { aspect-ratio: 4 / 3.4; }
  .guests-media img { object-position: 50% 30%; }
  .next { grid-template-columns: 1fr; }
  .next-media { min-height: 260px; }
  .next-media::after { background: linear-gradient(180deg, rgba(20,18,15,0) 55%, var(--ink-2)); }
  .ways { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .gallery .g:nth-child(1) { grid-row: span 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-word { width: 128px; height: 33px; }
  .hero { padding-bottom: 88px; }
  .hero-bloom { width: 86vw; right: -30vw; top: 22%; opacity: .4; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .stats div { padding-right: 8px; }
  .stats div + div { padding-left: 12px; }
  .stats dd { font-size: 11px; letter-spacing: .06em; }
  .about-media { min-height: 420px; }
  .frame-a { inset: 0 10% 22% 0; }
  .frame-b { width: 52%; height: 50%; }
  .about-badge { width: 88px; height: 88px; top: -30px; }
  .badge-mark { width: 46px; height: 52px; }
  .past { grid-template-columns: 1fr; gap: 12px; }
  .meta li { grid-template-columns: 1fr; gap: 2px; }
  .program-list li { grid-template-columns: 34px 1fr; gap: 4px 12px; }
  .program-list .composer { grid-column: 2; }
  .tips { grid-template-columns: 1fr; }
  .tip, .tip + .tip { padding: 30px 0 4px; border-left: 0; }
  .tip + .tip { border-top: 1px solid rgba(27,24,19,.12); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 8px; }
  .g-wide { grid-column: span 2; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Footer social */
.footer-side { display: grid; gap: 20px; justify-items: end; text-align: right; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .footer-side { justify-items: start; text-align: left; } }

/* Season: compact list */
.more { margin: -40px 0 clamp(64px, 8vw, 110px); }
.more-list { list-style: none; margin: 0; padding: 0; }
.more-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(16px, 4vw, 48px); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.more-list time { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.more-title { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.more-note { color: var(--ivory-dim); font-size: 15px; }
@media (max-width: 760px) {
  .more { margin-top: -24px; }
  .more-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* Conductors */
.conductors { border-top: 1px solid var(--line-soft); padding-bottom: clamp(56px, 7vw, 96px); }
.conductor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.conductor-photo { margin: 0 0 28px; position: relative; aspect-ratio: 543 / 574; overflow: hidden; background: var(--ink-3); }
.conductor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: grayscale(1) contrast(1.06); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.conductor:hover .conductor-photo img { filter: grayscale(0) contrast(1.02); transform: scale(1.02); }
.conductor-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(227, 204, 152, .4); pointer-events: none; }
.conductor .display-3 { margin-bottom: .45em; }
.conductor > p:not(.tag) { color: var(--ivory-dim); max-width: 34em; }
.conductor > p em { color: var(--ivory); }
.conductor .link-arrow { margin-top: 6px; }
@media (max-width: 760px) { .conductor-grid { grid-template-columns: 1fr; gap: 64px; } }
.guests-content strong { color: var(--ivory); font-weight: 500; }

/* Header nav — classic links with a rolling label and a gliding gold indicator */
.btn-line { border-color: rgba(201, 177, 125, .55); color: var(--gold); background: transparent; }
.btn-line:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.nav-links { position: relative; display: flex; align-items: center; gap: clamp(22px, 2.3vw, 36px); margin-left: auto; padding: 10px 0; }
.nav-links a {
  position: relative; display: block; overflow: hidden; height: 1.7em; line-height: 1.7em;
  font-size: 13.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ivory-dim); text-decoration: none; transition: opacity .45s var(--ease), color .45s var(--ease);
}
.nav-links a > span { display: block; transition: transform .6s cubic-bezier(.76, 0, .24, 1); }
.nav-links a > span::after {
  content: attr(data-label); position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: .01em; text-transform: none;
  color: var(--gold-hi); white-space: nowrap;
}
.nav-links a:hover > span, .nav-links a:focus-visible > span { transform: translateY(-100%); }
.nav-links:hover a:not(:hover) { opacity: .38; }
.nav-links a.active { color: var(--ivory); }
.nav-indicator {
  position: absolute; left: 0; bottom: 2px; height: 1px; width: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-hi) 50%, var(--gold) 80%, transparent);
  transition: transform .55s cubic-bezier(.76, 0, .24, 1), width .55s cubic-bezier(.76, 0, .24, 1), opacity .4s var(--ease);
}
.nav-indicator::after {
  content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%);
  font-size: 8px; line-height: 1; color: var(--gold-hi); text-shadow: 0 0 10px rgba(227, 204, 152, .8);
}
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; margin-left: 8px; }
  .nav-cta { margin-left: auto; }
}

/* BorderGlow port (React Bits) — gold edge light that follows the cursor */
.border-glow {
  --edge-proximity: 0; --cursor-angle: 45deg;
  --color-sensitivity: calc(var(--edge-sensitivity, 30) + 20);
  position: relative; isolation: isolate;
}
.border-glow > .bg-glow-border, .border-glow > .bg-glow-fill, .border-glow > .bg-glow-edge {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  transition: opacity .25s ease-out;
}
.border-glow:not(:hover) > .bg-glow-border, .border-glow:not(:hover) > .bg-glow-fill, .border-glow:not(:hover) > .bg-glow-edge {
  opacity: 0 !important; transition: opacity .75s ease-in-out;
}
/* mesh-gradient border ring: a 1px ring, limited to a cone around the cursor */
.border-glow > .bg-glow-border {
  --cone: conic-gradient(from var(--cursor-angle) at center,
    #000 calc(var(--cone-spread, 25) * 1%), transparent calc((var(--cone-spread, 25) + 15) * 1%),
    transparent calc((100 - var(--cone-spread, 25) - 15) * 1%), #000 calc((100 - var(--cone-spread, 25)) * 1%));
  z-index: 2; inset: -1px; border: 1px solid transparent;
  background: var(--glow-mesh);
  background-origin: border-box;
  -webkit-mask: var(--cone), linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0) border-box;
  -webkit-mask-composite: source-in, xor;
  mask: var(--cone), linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0) border-box;
  mask-composite: intersect, exclude;
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
}
/* soft tint of the surface near the edge */
.border-glow > .bg-glow-fill {
  z-index: -1;
  background: var(--glow-mesh);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 55%, #000 100%);
  mask-image: radial-gradient(ellipse at 50% 50%, transparent 55%, #000 100%);
  mix-blend-mode: soft-light;
  opacity: calc(var(--fill-opacity, .35) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
}
/* outer glow, masked to a cone around the cursor angle */
.border-glow > .bg-glow-edge {
  z-index: 3; inset: calc(var(--glow-padding, 36px) * -1);
  -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center, #000 2.5%, transparent 10%, transparent 90%, #000 97.5%);
  mask-image: conic-gradient(from var(--cursor-angle) at center, #000 2.5%, transparent 10%, transparent 90%, #000 97.5%);
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity, 30)) / (100 - var(--edge-sensitivity, 30)));
  mix-blend-mode: plus-lighter;
}
.border-glow > .bg-glow-edge::before {
  content: ""; position: absolute; inset: var(--glow-padding, 36px); border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color), inset 0 0 1px 0 var(--glow-color-60), inset 0 0 3px 0 var(--glow-color-50),
    inset 0 0 6px 0 var(--glow-color-40), inset 0 0 15px 0 var(--glow-color-30), inset 0 0 25px 2px var(--glow-color-20),
    inset 0 0 50px 2px var(--glow-color-10),
    0 0 1px 0 var(--glow-color-60), 0 0 3px 0 var(--glow-color-50), 0 0 6px 0 var(--glow-color-40),
    0 0 15px 0 var(--glow-color-30), 0 0 25px 2px var(--glow-color-20), 0 0 50px 2px var(--glow-color-10);
}
/* Glow hosts must let the outer glow spill past their box */
.next[data-glow], .conductor-photo[data-glow] { overflow: visible; }
.next-media { overflow: hidden; }
.conductor:hover .conductor-photo img { transform: none; }

/* StrokeText port (React Bits) — hero headline */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stroke-text { line-height: 0; }
.stroke-text__svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.stroke-text__line { font-family: var(--serif); white-space: pre; user-select: none; }
.js .hero .eyebrow, .js .hero-lead, .js .hero-ctas { animation: heroIn 1.1s var(--ease) both; }
.js .hero .eyebrow { animation-delay: .2s; }
.js .hero-lead { animation-delay: 1.6s; }
.js .hero-ctas { animation-delay: 1.9s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* GhostFibers port (React Bits) — faint gold strings behind dark sections */
.fibers { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 35%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 35%, transparent 85%); }
.ghost-fibers-container { overflow: hidden; }
.ghost-fibers-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.support .wrap, .contact .wrap { position: relative; z-index: 1; }
.contact { position: relative; overflow: hidden; }
.contact .fibers { opacity: .4; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent); }
.about, .season { overflow: hidden; }
.about .wrap, .season .wrap { position: relative; z-index: 1; }
.about .fibers { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, #000 30%, transparent 85%); }
.season .fibers { bottom: auto; height: min(100%, 1100px); }
.section-head.center .lead { text-wrap: balance; }
.hero .eyebrow { font-size: clamp(13px, 1.05vw, 15px); letter-spacing: .24em; margin-bottom: 1.1em; }
.hero .eyebrow .spark { font-size: 12px; }

/* Hero: the association line now sits under the headline, on the dark part of the photo */
.hero h1 { margin-bottom: 22px; }
.hero .hero-sign { margin-bottom: 26px; }
.js .hero .hero-sign { animation-delay: 1.3s; }

/* Mobile performance + header */
.hero-bloom svg, .marquee-track, .badge-mark { will-change: transform; }
@media (max-width: 960px) {
  .nav-toggle { margin-right: -11px; }       /* align the icon's lines with the page gutter */
}
@media (max-width: 760px), (pointer: coarse) {
  /* Blur on a fixed header is repainted every scroll frame on phones: use a solid tint instead */
  .nav.scrolled, .menu { background: rgba(13, 12, 10, .95); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn-ghost { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(13, 12, 10, .45); }
  .way { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 960px) { .nav-toggle { margin-left: auto; } }
@media (max-width: 640px) { .hero .hero-sign { font-size: 11.5px; letter-spacing: .17em; white-space: nowrap; } }
.season .more { margin-bottom: 0; }

/* Phones: the photo crop puts the bright stage and flowers behind the headline — darken that band */
@media (max-width: 760px) {
  .hero-media::after {
    background: linear-gradient(180deg,
      rgba(13,12,10,.72) 0%, rgba(13,12,10,.08) 12%, rgba(13,12,10,.12) 22%,
      rgba(13,12,10,.62) 32%, rgba(13,12,10,.86) 46%, rgba(13,12,10,.97) 62%);
  }
  .hero-bloom { top: 8%; transform: none; opacity: .28; }
  .stroke-text__svg { filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .65)); }
}
