:root {
  color-scheme: dark;
  --ink: #f4ece2;
  --muted: #f4ece2;
  --paper: #1b1114;
  --paper-soft: #1b1114;
  --cream: #f4ece2;
  --pink: #4a1220;
  --blue: #150d10;
  --green: #150d10;
  --line: rgba(201, 164, 92, 0.24);
  --gold: #c9a45c;
  --gold-dark: #dcbd7a;
  --gold-deep: #a8843f;
  --claret: #6d1a2b;
  --claret-deep: #3a0d17;
  --black: #0c090a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --max: 1180px;
  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Lato", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(109, 26, 43, 0.42), transparent 60%),
    radial-gradient(ellipse 80% 50% at 95% 55%, rgba(109, 26, 43, 0.3), transparent 62%),
    radial-gradient(ellipse 90% 45% at 20% 100%, rgba(109, 26, 43, 0.36), transparent 60%),
    var(--black);
  background-attachment: fixed;
  font-family: var(--font-body);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 48px);
  color: var(--cream);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(12, 9, 10, 0.86);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible,
.site-header.is-scrolled .site-nav a[aria-current="page"],
.site-header.is-open .site-nav a[aria-current="page"] {
  background: var(--blue);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: rgba(201, 164, 92, 0.12);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 470px 0 84px;
  text-align: center;
}

.eyebrow,
.section-kicker,
.media-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.72);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  text-align: justify;
}

.hero-content p,
.events-cta p {
  text-align: center;
}

h1,
h2,
h3 {
  line-height: 1.04;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(58px, 10vw, 124px);
}

.hero-logo {
  width: min(430px, 82vw);
  margin-inline: auto;
  margin-bottom: 0;
}

.hero-logo img {
  width: 100%;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 66px);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.page-main {
  padding-top: 92px;
}

.page-hero {
  padding-bottom: clamp(38px, 6vw, 72px);
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 92px);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
}

.section-intro {
  padding-top: clamp(84px, 12vw, 150px);
}

/* Bio page: tighter, even rhythm between sections */
.bio-main .section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.bio-main .section-intro {
  padding-top: clamp(32px, 4vw, 52px);
}

.bio-main .section-intro::before {
  inset: 0 -24px 32px;
}

.bio-title {
  max-width: 900px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.bio-flow {
  columns: 2;
  column-gap: clamp(32px, 5vw, 64px);
  orphans: 3;
  widows: 3;
}

.bio-flow .bio-photo {
  margin: 0 0 24px;
  break-inside: avoid;
}

.bio-flow p {
  break-inside: avoid;
}

.bio-flow .bio-photo-second {
  break-before: column;
}

.bio-flow .bio-photo-second img {
  display: block;
  width: 84%;
  margin: 0 auto;
}

.bio-main .musician-profile {
  padding: clamp(40px, 5vw, 64px) 0;
}

.bio-main .section-intro + .musician-profile {
  border-top: 0;
}

.section-intro,
.media-section {
  position: relative;
}

.section-intro::before,
.media-section::before {
  position: absolute;
  z-index: -1;
  inset: 32px -24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  content: "";
}

.intro-grid,
.section-heading,
.events-section,
.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-copy,
.section-heading > p,
.events-copy p,
.booking-section p,
.media-panel p {
  color: var(--muted);
  font-size: 18px;
}

.bio-photo {
  margin: 34px 0 0;
}

.musician-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.musician-portrait {
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  order: 2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.musician-profile h2 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
  overflow-wrap: anywhere;
}

.bio-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-copy p:last-child,
.events-copy p:last-child,
.booking-section p:last-child,
.media-panel p:last-child {
  margin-bottom: 0;
}

.repertoire-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.repertoire-grid.event-types {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.repertoire-card,
.media-panel,
.booking-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}

.repertoire-card {
  min-height: 250px;
  padding: 24px;
}

.repertoire-card span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--gold-dark);
  font-weight: 800;
}

.repertoire-card p,
.event-list p {
  color: var(--muted);
}

.events-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(223, 234, 247, 0.9), rgba(228, 240, 231, 0.92));
}

.event-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.event-list > div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.045);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.media-panel {
  padding: 18px;
}

.media-placeholder {
  display: grid;
  min-height: 310px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--gold-dark);
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.22), rgba(247, 223, 233, 0.58), rgba(223, 234, 247, 0.46)),
    var(--cream);
  font-weight: 800;
}

.media-placeholder-audio {
  min-height: 160px;
}

.booking-section {
  align-items: center;
}

.booking-card {
  padding: clamp(24px, 5vw, 40px);
  background:
    linear-gradient(145deg, rgba(255, 248, 251, 0.92), rgba(228, 240, 231, 0.8));
  box-shadow: var(--shadow);
}

.booking-link {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(223, 234, 247, 0.5);
  font-size: 14px;
  font-weight: 750;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 75px 18px auto 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(18, 12, 14, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .musician-profile,
  .intro-grid,
  .section-heading,
  .events-section,
  .booking-section,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .musician-portrait {
    order: 0;
  }

  .repertoire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 390px;
  }

  .site-footer {
    width: 100%;
  }

  .repertoire-grid,
  .repertoire-grid.event-types {
    grid-template-columns: 1fr;
  }

  .repertoire-card {
    min-height: auto;
  }

  .repertoire-card span {
    margin-bottom: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Music for events page ---------- */
.button {
  display: inline-block;
  padding: 13px 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(201, 164, 92, 0.12);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  color: var(--cream);
  background: var(--gold-dark);
}

.events-main .section {
  padding: clamp(40px, 5vw, 64px) 0;
}

.events-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.events-main .events-hero {
  padding-top: clamp(48px, 6vw, 80px);
}

.events-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 5.6vw, 72px);
}

.events-hero-copy p {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
}

.events-hero-photo,
.gallery-item {
  margin: 0;
}

.events-hero-photo img,
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.events-hero-photo figcaption,
.gallery-item figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.event-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.event-type {
  padding: 22px 22px 6px;
  border-top: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 0 0 8px 8px;
}

.event-type h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.event-type p {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Last photo in each column stretches (cropped) so all columns end level */
.gallery-fill {
  flex: 1 0 auto;
  aspect-ratio: var(--ratio);
}

.gallery-fill img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 12px;
}

.info-card h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.4vw, 44px);
}

.info-card p {
  margin-bottom: 26px;
  font-size: 18px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-repertoire {
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 164, 92, 0.32), transparent 55%),
    var(--ink);
  box-shadow: var(--shadow);
}

.info-repertoire h2 {
  color: var(--cream);
}

.info-repertoire .section-kicker {
  color: var(--gold);
}

.info-repertoire p {
  color: var(--ink);
}

.genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.genre-list li {
  padding: 8px 18px;
  border: 1px solid rgba(201, 164, 92, 0.7);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(201, 164, 92, 0.16);
  font-size: 17px;
  font-weight: 700;
}

.info-pricing {
  border: 1px solid rgba(201, 164, 92, 0.45);
  background: linear-gradient(150deg, var(--pink), var(--paper) 70%);
}

.info-pricing p {
  color: var(--muted);
}

.info-pricing .button {
  margin-top: auto;
}

.events-cta {
  text-align: center;
}

.events-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.4vw, 44px);
}

@media (max-width: 900px) {
  .events-hero,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .event-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .event-type-grid,
  .gallery-grid,
  .edu-facts,
  .people-list {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
}

.photo-credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.28);
  font-size: 10px;
  line-height: 1.4;
}

.photo-credit a {
  color: inherit;
  text-decoration: underline;
}

/* ---------- Education & outreach page ---------- */
.edu-main .edu-hero {
  padding-top: clamp(24px, 3vw, 40px);
}

.edu-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 164, 92, 0.18), transparent 50%),
    linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: var(--shadow);
}

.edu-hero-copy {
  align-self: center;
  padding: clamp(32px, 5vw, 64px);
}

.edu-hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5.6vw, 76px);
}

.edu-hero-copy > p {
  max-width: 520px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 21px);
}

.edu-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.edu-facts li {
  padding: 14px 18px;
  border-radius: 10px;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  line-height: 1.35;
}

.edu-hero-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
}

.edu-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.edu-portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.name-underline {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.edu-heading {
  margin-bottom: 26px;
  font-size: clamp(30px, 3.4vw, 44px);
}

.edu-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.edu-photo {
  margin: 0;
}

.edu-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.edu-lead {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 19px;
}

.people-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 28px;
  max-width: 540px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.people-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(201, 164, 92, 0.45);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .edu-split,
  .edu-hero-panel {
    grid-template-columns: 1fr;
  }

  .edu-hero-photo {
    order: -1;
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .edu-facts,
  .people-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .people-list {
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

/* ---------- New Music page ---------- */
.nm-hero-photo {
  justify-self: end;
}

.nm-hero-photo img {
  width: auto;
  max-width: 100%;
  height: min(560px, calc(100vh - 160px));
  min-height: 420px;
  object-fit: cover;
}

.nm-split {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}

.nm-split > div {
  display: flex;
  flex-direction: column;
}

.nm-split .nm-steps {
  flex: 1;
  grid-auto-rows: 1fr;
  gap: 24px;
}

.nm-split .event-type {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nm-main .events-hero {
  padding-bottom: clamp(16px, 2vw, 24px);
}

.nm-main .events-hero + .nm-split {
  padding-top: clamp(16px, 2vw, 24px);
}

.nm-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.nm-photo {
  margin: 0;
}

.nm-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nm-cont-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 7vw, 110px);
  align-items: stretch;
}

.nm-square {
  width: 100%;
  max-width: 500px;
}

.nm-cont-right > * {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
}

.nm-cont-left,
.nm-cont-right {
  display: flex;
  flex-direction: column;
}

.nm-cont-left .nm-square {
  margin-top: auto;
}

.nm-cont-left .edu-lead:nth-of-type(2) {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.nm-square {
  margin: 0;
}

.nm-square img {
  aspect-ratio: 1;
  object-fit: cover;
}

.nm-cont-left .nm-square img {
  object-position: 36% center;
}

.nm-cont-right .nm-square {
  margin-left: auto;
}

.nm-cont-right .nm-square img {
  object-position: center 30%;
}

.nm-cont-right .nm-instrument-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: clamp(18px, 2.5vw, 28px);
}

.nm-cont-right .nm-instrument-list ul {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, 1fr);
  grid-auto-flow: column;
  column-gap: 24px;
}

.nm-cont-right .nm-instrument-list li {
  display: flex;
  align-items: flex-end;
}

.nm-cont-right .nm-instrument-list li.nm-empty {
  border-bottom: 0;
}

.nm-main .events-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: start;
  padding-top: clamp(28px, 3vw, 40px);
}

.nm-main .events-hero-copy {
  padding-top: clamp(8px, 2vw, 32px);
}

.nm-main .events-hero-copy p {
  max-width: 600px;
}

.nm-main .events-hero-copy .people-list {
  max-width: 600px;
}


.nm-instrument-list {
  margin-top: 28px;
}

.nm-instrument-list h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
}

.nm-instrument-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nm-instrument-list li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(201, 164, 92, 0.45);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .nm-split,
  .nm-cont-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nm-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Recordings page ---------- */
.rec-list {
  max-width: 960px;
  margin: 0 auto;
}

.rec-main .rec-list {
  padding-top: clamp(28px, 3vw, 40px);
}

.rec-list h1 {
  margin-bottom: clamp(24px, 3vw, 36px);
  font-size: clamp(40px, 5.6vw, 72px);
}

.video-item + .video-item {
  margin-top: clamp(40px, 5vw, 64px);
}

.video-item h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
}

.video-frame {
  position: relative;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Contact page ---------- */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact-main .contact-section {
  padding-top: clamp(28px, 3vw, 40px);
}

.contact-intro h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5.6vw, 72px);
}

.contact-intro p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 20px);
  text-align: left;
}

.contact-photo {
  margin: clamp(24px, 3vw, 36px) 0 0;
}

.contact-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.reasons {
  margin: 0;
  padding: 0;
  border: 0;
}

.reasons legend {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 22px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.reason {
  position: relative;
  cursor: pointer;
}

.reason input {
  position: absolute;
  opacity: 0;
}

.reason span {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font-weight: 700;
  line-height: 1.3;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.reason:hover span {
  border-color: var(--gold);
}

.reason input:checked + span {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.14);
  color: var(--gold-dark);
}

.reason input:focus-visible + span {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.field-grid[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  font-weight: 700;
  font-size: 15px;
}

.field-hint {
  margin-top: -2px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.field input[type="file"] {
  padding: 9px 12px;
  background: var(--cream);
  cursor: pointer;
}

.field small {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(201, 164, 92, 0.25);
}

.field textarea {
  resize: vertical;
}

.form-error {
  margin: 0;
  color: #a33a3a;
  text-align: left;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form[hidden],
.contact-thanks[hidden] {
  display: none;
}

.contact-thanks {
  align-self: start;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  outline: none;
}

.contact-thanks h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.4vw, 44px);
}

.contact-thanks p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
  text-align: left;
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

/* ---------- Social icons ---------- */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-label {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover,
.social-icons a:focus-visible {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social-ig svg {
  width: 36px;
  height: 36px;
}

.social-yt svg {
  width: 44px;
  height: 31px;
}

.social-icons--contact {
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}

.social-icons--contact .social-label {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 400;
}

.social-icons--contact .social-ig svg {
  width: 44px;
  height: 44px;
}

.social-icons--contact .social-yt svg {
  width: 54px;
  height: 38px;
}

@media (max-width: 900px) {
  .bio-flow {
    columns: auto;
    column-count: auto;
  }

  .bio-flow .bio-photo-second {
    break-before: auto;
  }

  .bio-flow .bio-photo-second {
    margin-top: 6px;
  }

  .bio-flow .bio-photo-second img {
    width: 100%;
  }
}

/* ---------- Home: video opening ---------- */
.hero--video {
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.hero--video .hero-content {
  padding: 0;
}

.hero-title {
  max-width: none;
  margin: 0;
  font-family: inherit;
  font-size: clamp(46px, 9vw, 118px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

@media (max-width: 620px) {
  .hero--video .hero-content {
    padding: 0;
  }
}

/* ---------- Music for events: five kinds of event ---------- */
.events-types .event-type-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .events-types .event-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .events-types .event-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .events-types .event-type-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Home: a glimpse of every page ---------- */
.home-main .home-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 34px) 0;
}

.home-main .hero + .home-row {
  padding-top: clamp(44px, 5vw, 68px);
}

.home-main .home-row:last-child {
  padding-top: clamp(48px, 6.5vw, 96px);
  padding-bottom: clamp(48px, 6vw, 84px);
}

.home-photo {
  margin: 0;
}

.home-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-photo--tall img {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  margin: 0 auto;
}

.home-row--flip .home-photo {
  order: 2;
}

.home-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.6vw, 48px);
}

.home-copy > p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 20px);
}

@media (max-width: 900px) {
  .home-main .home-row {
    grid-template-columns: 1fr;
  }

  .home-row--flip .home-photo {
    order: 0;
  }
}

.events-types .event-type p {
  text-align: left;
}

.social-icons--home {
  margin-top: 32px;
}

/* =====================================================================
   Dark theme: black, claret and gold
   ===================================================================== */
h1,
h2 {
  font-weight: 400;
  letter-spacing: 0.005em;
}

h3 {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-header.is-scrolled,
.site-header.is-open {
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible,
.site-header.is-scrolled .site-nav a[aria-current="page"],
.site-header.is-open .site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold-dark);
  background: rgba(201, 164, 92, 0.14);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.22), rgba(109, 26, 43, 0.35));
}

.button {
  display: inline-block;
  padding: 11px 26px;
  border: 1px solid rgba(201, 164, 92, 0.38);
  border-radius: 100px;
  color: var(--gold-dark);
  background: rgba(201, 164, 92, 0.1);
  box-shadow:
    rgba(201, 164, 92, 0.16) 0 -22px 16px -14px inset,
    rgba(0, 0, 0, 0.18) 0 4px 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background 250ms ease, box-shadow 250ms ease, border-color 250ms ease, transform 250ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(201, 164, 92, 0.6);
  color: var(--gold-dark);
  background: rgba(201, 164, 92, 0.17);
  box-shadow:
    rgba(201, 164, 92, 0.26) 0 -22px 16px -14px inset,
    rgba(0, 0, 0, 0.22) 0 6px 16px;
  transform: scale(1.02);
}

.contact-form .button {
  font-family: var(--font-body);
  font-size: 16px;
}

/* Menu bar: no solid strip, just a soft dark fade behind it once the page scrolls */
.site-header.is-scrolled,
.site-header.is-open {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 -46px 0;
  background: linear-gradient(180deg, rgba(12, 9, 10, 0.94) 0%, rgba(12, 9, 10, 0.82) 45%, rgba(12, 9, 10, 0.45) 75%, rgba(12, 9, 10, 0) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  content: "";
}

.site-header.is-scrolled::before,
.site-header.is-open::before {
  opacity: 1;
}

.section-intro::before,
.media-section::before {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(109, 26, 43, 0.3), rgba(255, 255, 255, 0.025) 55%, rgba(109, 26, 43, 0.16));
}

.musician-profile {
  border-top-color: var(--line);
}

.event-type {
  padding: 4px 0 4px 22px;
  border: 0;
  border-left: 1px solid rgba(201, 164, 92, 0.5);
  border-radius: 0;
  background: none;
}

.event-type h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.event-type p {
  margin-bottom: 0;
}

.event-type-grid {
  gap: 28px 26px;
}

.info-repertoire {
  color: var(--cream);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 164, 92, 0.2), transparent 55%),
    linear-gradient(140deg, rgba(109, 26, 43, 0.82), rgba(58, 13, 23, 0.9) 70%);
}

.genre-list {
  gap: 4px 0;
  margin-bottom: 22px;
}

.genre-list li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.genre-list li:not(:last-child)::after {
  content: "\00b7";
  margin: 0 8px;
  color: var(--gold);
}

.info-pricing {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 100%, rgba(201, 164, 92, 0.2), transparent 55%),
    linear-gradient(220deg, rgba(109, 26, 43, 0.82), rgba(58, 13, 23, 0.9) 70%);
}

.info-pricing p {
  color: var(--ink);
}

.edu-hero-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 164, 92, 0.2), transparent 50%),
    linear-gradient(135deg, var(--claret), var(--claret-deep) 55%, var(--black));
}

.video-frame {
  background: #000;
  border: 1px solid var(--line);
}

.contact-form,
.contact-thanks {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(109, 26, 43, 0.26), rgba(255, 255, 255, 0.03));
}

.reason span {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.reason input:checked + span {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.2);
  color: var(--gold-dark);
}

.field input,
.field textarea {
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.38);
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(188, 176, 166, 0.6);
}

.field input[type="file"] {
  background: rgba(0, 0, 0, 0.28);
}

.form-error {
  color: #f0a3a3;
}

.name-underline {
  color: var(--ink);
}

.people-list li,
.nm-instrument-list li {
  border-bottom-color: rgba(201, 164, 92, 0.35);
}

.site-footer {
  border-top-color: var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.gallery-item img,
.events-hero-photo img,
.edu-photo img,
.nm-photo img,
.home-photo img,
.bio-photo img,
.contact-photo img,
.musician-portrait {
  border: 1px solid rgba(201, 164, 92, 0.18);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 52%, #f1ddab 88%, #e2c688 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(201, 164, 92, 0.28)) drop-shadow(0 2px 22px rgba(0, 0, 0, 0.7));
}

.brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .nm-main .events-hero {
    grid-template-columns: 1fr;
  }

  .nm-hero-photo {
    justify-self: start;
  }

  .nm-hero-photo img {
    width: 100%;
    height: auto;
    min-height: 0;
  }
}

/* Music for events: a small icon in each card's top right corner */
.events-types .event-type,
.nm-steps .event-type,
.edu-main .event-type {
  position: relative;
}

.events-types .event-type h3,
.nm-steps .event-type h3,
.edu-main .event-type h3 {
  padding-right: 34px;
}

.event-icon {
  position: absolute;
  top: 4px;
  right: 0;
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.info-card {
  position: relative;
}

.info-card h2 {
  padding-right: 66px;
}

/* The two big boxes get a gold medallion badge, unlike the thin line icons elsewhere */
.info-icon {
  top: clamp(20px, 2.8vw, 30px);
  right: clamp(18px, 2.8vw, 30px);
  width: 54px;
  height: 54px;
  padding: 13px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.42);
  color: var(--gold-dark);
  stroke-width: 1.5;
  background: rgba(201, 164, 92, 0.12);
  box-shadow:
    rgba(201, 164, 92, 0.2) 0 -16px 14px -10px inset,
    rgba(0, 0, 0, 0.2) 0 4px 12px;
}

@media (max-width: 620px) {
  .section-intro::before,
  .bio-main .section-intro::before {
    left: -10px;
    right: -10px;
  }
}

/* Home on phones: the video fills the first screen, shown whole on black instead of cropped */
@media (max-width: 760px) {
  .hero--video {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero--video .hero-video {
    top: 50%;
    bottom: auto;
    height: 58vh;
    height: 58svh;
    transform: translateY(-50%);
    object-fit: cover;
    object-position: 55% center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  }

  .hero--video .hero-shade {
    display: none;
  }

  .hero--video .hero-title {
    font-size: clamp(34px, 11vw, 64px);
  }
}

.nm-split .event-type {
  justify-content: flex-start;
}

/* Phones and tablets: Workshops opening as text first, then a separate photo (like New Music);
   New Music studio photo below the "Working with composers" text */
@media (max-width: 900px) {
  .edu-hero-panel {
    gap: clamp(28px, 5vw, 40px);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .edu-hero-copy {
    padding: 0;
  }

  .edu-hero-photo {
    order: 0;
    min-height: 0;
  }

  .edu-hero-photo img {
    position: static;
    height: auto;
    border: 1px solid rgba(201, 164, 92, 0.18);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nm-split .nm-photo {
    order: 1;
  }
}
