:root {
  --ink: #17151c;
  --ink-2: #221f2b;
  --ivory: #faf6ee;
  --paper: #ffffff;
  --text: #2b2833;
  --muted: #6b6674;
  --gold: #d9a84e;
  --gold-deep: #8a5f1a;
  --line: #e7dfd0;
  --radius: 16px;
  --font-head: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
}
img { max-width: 100%; height: auto; display: block; }
.gallery img { height: 100%; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(23, 21, 28, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: var(--font-head); font-size: 24px; font-weight: 600; color: #fff; text-decoration: none; letter-spacing: .01em; }
.brand span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #e9e4f0; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--gold); }
.nav .btn { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e6b960; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #3a2d4d 0%, var(--ink) 60%); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 18px; }
.hero h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.08; margin: 0 0 22px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p.lead { font-size: 18px; color: #d9d3e3; max-width: 540px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; }
.slides { position: relative; aspect-ratio: 4 / 4.4; border-radius: 22px; overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.slides .slide.is-active { opacity: 1; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s ease, width .2s ease; }
.dots button[aria-current="true"] { background: var(--gold); width: 26px; border-radius: 999px; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 1.5px solid var(--gold); border-radius: 22px; z-index: -1; opacity: .7; }

/* Stats */
.stats { background: var(--ink-2); color: #fff; }
.stats ul { list-style: none; margin: 0; padding: 30px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats li { text-align: center; padding: 0 8px; border-left: 1px solid rgba(255,255,255,.12); }
.stats li:first-child { border-left: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: 44px; line-height: 1; color: var(--gold); font-weight: 600; }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: #cfc8da; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--gold-deep); }
h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; margin: 0 0 14px; color: var(--ink); }
.section-head p { color: var(--muted); margin: 0; }

.about .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 22px; box-shadow: 0 20px 50px rgba(23,21,28,.18); }
.about p { margin: 0 0 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.card .num { font-family: var(--font-head); font-size: 42px; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.card h3 { font-family: var(--font-head); font-size: 26px; margin: 0 0 8px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.results { background: var(--ink); color: #fff; }
.results h2 { color: #fff; }
.results .section-head .eyebrow { color: var(--gold); }
.results .section-head p { color: #cfc8da; }
.award-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.award { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.04); }
.award .medal { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.award h3 { font-family: var(--font-head); font-size: 28px; line-height: 1.2; margin: 0; font-weight: 600; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 36px; padding-bottom: 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 80px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ivory); }
.timeline .year { font-family: var(--font-head); font-size: 28px; font-weight: 600; color: var(--gold-deep); line-height: 1.2; }
.timeline p { margin: 0; }
.timeline small { display: block; color: var(--muted); font-size: 14px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.gallery { grid-auto-rows: 210px; }
.g-a { grid-column: span 4; grid-row: span 2; }
.g-b { grid-column: span 2; grid-row: span 2; }
.g-c, .g-d, .g-e { grid-column: span 2; grid-row: span 1; }
.g-f { grid-column: span 6; grid-row: span 2; }

/* Video */
.video-frame { max-width: 880px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 60px rgba(23,21,28,.25); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-link { text-align: center; margin: 18px 0 0; font-size: 15px; }
.video-link a { color: var(--gold-deep); font-weight: 600; }

/* Contact */
.contact { background: radial-gradient(900px 500px at 15% 0%, #3a2d4d 0%, var(--ink) 65%); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact p { color: #d9d3e3; max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact-info { margin-top: 28px; font-size: 15px; color: #cfc8da; }
.contact-info a { color: var(--gold); }

.site-footer { background: #0f0d13; color: #a39cb0; padding: 26px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Multi-page */
@view-transition { navigation: auto; }
.nav a[aria-current="page"]:not(.btn) { color: var(--gold); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .2s ease, top .2s ease, opacity .2s ease; }
.menu-btn span { top: 21px; }
.menu-btn span::before { top: -7px; left: 0; right: 0; }
.menu-btn span::after { top: 7px; left: 0; right: 0; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: #fff; }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); background: #fff; }

.page-hero { background: radial-gradient(900px 420px at 85% -20%, #3a2d4d 0%, var(--ink) 65%); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(36px, 5vw, 58px); line-height: 1.1; margin: 0 0 12px; }
.page-hero p { margin: 0; max-width: 620px; color: #d9d3e3; font-size: 18px; }

.page-hero.has-photo .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero.has-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 28% 28%; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }

.link-more { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--gold-deep); text-decoration: none; }
.link-more:hover { text-decoration: underline; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23,21,28,.12); border-color: var(--gold); }
a.card .more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--gold-deep); font-size: 15px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 860px; }
.contact-cards .card h3 { font-size: 24px; }
.contact-cards .card a { color: var(--gold-deep); font-weight: 600; word-break: break-word; }
.sub-block { margin-top: 64px; }
.album-note { margin: 22px 0 6px; padding: 16px 20px; border-left: 4px solid var(--gold); background: rgba(217,168,78,.12); border-radius: 0 14px 14px 0; font-size: 15.5px; }
.album-note strong { color: var(--ink); }
.album-note a { color: var(--gold-deep); font-weight: 600; white-space: nowrap; }
.contact-cards .card.address { grid-column: 1 / -1; }
.map-frame { margin-top: 18px; height: clamp(260px, 38vw, 380px); border-radius: 14px; overflow: hidden; background: var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { margin: 14px 0 0; }

/* Music decorations: staff lines, drifting notes, piano keys */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.staff-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; --gap: 24px; }
.page-hero .staff-deco { --gap: 17px; }
.staff { position: absolute; left: 0; right: 0; bottom: 52px; height: calc(var(--gap) * 4); }
.page-hero .staff { bottom: 22px; }
.staff-deco { --amp: 10px; }
.page-hero .staff-deco { --amp: 7px; }
.staff { animation: sway 9s ease-in-out infinite alternate; }
.staff-svg { position: absolute; left: 0; width: 100%; top: calc(var(--amp) * -1); overflow: visible; opacity: .24; }
.staff-svg path { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: strokeIn 2.8s cubic-bezier(.22,.7,.2,1) forwards; animation-delay: calc(var(--k) * 180ms); }
@keyframes strokeIn { to { stroke-dashoffset: 0; } }
@keyframes sway { from { translate: 0 -3px; } to { translate: 0 3px; } }
.note { position: absolute; left: 0; top: calc(var(--gap) * var(--r) - 29px); color: var(--gold); opacity: .5; animation: drift var(--dur) linear infinite; animation-delay: var(--del); will-change: transform; }
.note i { display: block; animation: bob 3.2s ease-in-out infinite alternate; }
.note svg { display: block; }
.staff { overflow: visible; }
.hero { padding-bottom: 150px; }
.hero .staff { bottom: 26px; }
.page-hero { padding-bottom: 104px; }
.page-hero .staff { bottom: 18px; }
@media (max-width: 900px) { .hero { padding-bottom: 140px; } .page-hero { padding-bottom: 96px; } }
@keyframes bob { from { transform: translateY(-5px) rotate(-3deg); } to { transform: translateY(6px) rotate(3deg); } }

.keys { position: relative; display: flex; width: min(560px, 92%); height: 78px; margin: 0 auto 34px; }
.keys .wk { flex: 1; background: #f4efe6; border: 1px solid #c9c0af; border-top: 0; border-radius: 0 0 7px 7px; margin: 0 1px; transition: background .15s ease, transform .15s ease; }
.keys .wk:hover { background: var(--gold); transform: translateY(3px); }
.keys .bk { position: absolute; top: 0; width: 4.2%; height: 58%; left: calc(var(--p) * 1% - 2.1%); background: var(--ink-2); border-radius: 0 0 5px 5px; z-index: 2; box-shadow: 0 3px 6px rgba(0,0,0,.5); pointer-events: none; }
.reveal.in .keys .wk { animation: press .8s ease both; animation-delay: calc(var(--i) * 110ms + 300ms); }
@keyframes press { 0%, 100% { background: #f4efe6; transform: translateY(0); } 30% { background: var(--gold); transform: translateY(4px); } }

.js .stats li { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .stats.in li { opacity: 1; transform: none; }
.js .stats.in li:nth-child(2) { transition-delay: .12s; }
.js .stats.in li:nth-child(3) { transition-delay: .24s; }
.js .stats.in li:nth-child(4) { transition-delay: .36s; }

.js .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 1.8s ease; }
.js .timeline.drawn::before { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  .note { animation: none; left: calc(var(--x) * 1%); }
  .note i { animation: none; }
  .staff { animation: none; }
  .staff-svg path { animation: none; stroke-dashoffset: 0; }
  .reveal.in .keys .wk { animation: none; }
  .js .stats li, .js .timeline::before { opacity: 1; transform: none; transition: none; }
  .js .timeline::before { transform: none; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery img, .btn { transition: none; }
}

a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Responsive */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 20px 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 16px; padding: 12px 22px; font-size: 15px; }
  .cards.four, .contact-cards { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0 96px; }
  .page-hero.has-photo .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 48px 0 140px; }
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: -1; }
  .slides { aspect-ratio: 4 / 3.2; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .cards, .award-list { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 1 / 1; }
  .gallery .g-a, .gallery .g-f { grid-column: span 2 !important; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
  .timeline li::before { left: 0; }
  .stats strong { font-size: 36px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
}
