/* ---------- Resets ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: "EB Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f8f5ee;
  --paper-soft: #f1ece1;
  --ink: #1a1a1a;
  --ink-soft: #4a4641;
  --muted: #8a857a;
  --gold: #a98744;
  --gold-soft: #c9aa6a;
  --line: rgba(26, 26, 26, 0.14);

  --container: 1080px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --serif-display: "Cormorant Garamond", "Times New Roman", serif;
  --serif-body: "EB Garamond", Georgia, serif;
}

/* ---------- Section primitives ---------- */
section, footer.footer {
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.section__title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 1rem auto 0;
}

.section__lede {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero__ornament {
  color: var(--gold);
  width: 200px;
  max-width: 60%;
  margin-bottom: 2rem;
}
.hero__ornament svg { width: 100%; height: auto; display: block; }

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-family: var(--serif-body);
}

.hero__title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: 1;
  margin: 0 0 0.75rem;
  letter-spacing: 0.005em;
}

.hero__subtitle {
  font-family: var(--serif-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--ink-soft);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
}
.hero__subtitle em { font-style: italic; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-bottom: 3rem;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 7rem;
}

.hero__meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.hero__meta-value {
  font-family: var(--serif-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.hero__meta-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
}

@media (max-width: 640px) {
  .hero__meta-divider { display: none; }
}

.hero__cta {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: transparent;
  font-family: var(--serif-body);
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.35s ease, color 0.35s ease, letter-spacing 0.35s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: var(--gold);
  color: var(--paper);
  letter-spacing: 0.32em;
}

/* ---------- Prelude ---------- */
.prelude {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.prelude__text {
  font-family: var(--serif-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.7;
}
.prelude__text strong {
  color: var(--ink);
  font-weight: 600;
  font-style: normal;
}

/* ---------- Artists ---------- */
.artists__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 800px) {
  .artists__grid { grid-template-columns: 1fr; max-width: 22rem; margin: 0 auto; }
}

.artist-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.artist-card__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  padding: 6px;
  position: relative;
  margin-bottom: 1.5rem;
  background: var(--paper-soft);
}

.artist-card__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

.artist-card__monogram {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--serif-display);
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--gold);
  background: var(--paper-soft);
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
}

.artist-card__name {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}

.artist-card__meta {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.artist-card__link {
  color: var(--gold);
  text-decoration: none;
  font-style: italic;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.artist-card__link:hover,
.artist-card__link:focus-visible {
  border-bottom-color: var(--gold);
}

/* ---------- Program ---------- */
.program {
  background: var(--paper-soft);
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.program > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.program__block {
  border-top: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem) 0;
  scroll-margin-top: 2rem;
}
.program__block:last-of-type { border-bottom: 1px solid var(--line); }

.program__header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.program__number {
  font-family: var(--serif-display);
  font-size: 1.6rem;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.1em;
}

.program__name {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0;
  letter-spacing: 0.02em;
}

.program__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: program-piece;
}

.program__list li {
  counter-increment: program-piece;
  display: grid;
  grid-template-columns: 2.2rem minmax(10rem, 1fr) 2fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1.08rem;
}

.program__list li::before {
  content: counter(program-piece, lower-roman) ".";
  color: var(--gold);
  font-style: italic;
  font-family: var(--serif-display);
  letter-spacing: 0.05em;
}

.program__list li:last-child { border-bottom: 0; }

.program__composer {
  font-family: var(--serif-display);
  font-weight: 600;
  color: var(--ink);
}

.program__piece {
  font-family: var(--serif-body);
  font-style: italic;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .program__list li {
    grid-template-columns: 2rem 1fr;
  }
  .program__piece {
    grid-column: 2 / -1;
  }
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
}

.footer__ornament {
  color: var(--gold);
  width: 60px;
  margin: 0 auto 1.5rem;
}
.footer__ornament svg { width: 100%; height: auto; display: block; }

.footer__title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 2.5rem;
}

.footer__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

@media (max-width: 720px) {
  .footer__details { grid-template-columns: 1fr; }
}

.footer__details > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__details dt {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.footer__details dd {
  margin: 0;
  font-family: var(--serif-display);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.45;
}

.footer__thanks {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.footer__top {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.footer__top:hover,
.footer__top:focus-visible { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
