:root {
  --ink: #201b1d;
  --muted: #746a66;
  --paper: #f7efe4;
  --cream: #fffaf1;
  --brass: #d6a944;
  --brass-dark: #9b6a1d;
  --reed: #7a1f32;
  --stage: #2b2226;
  --sky: #ead8c6;
  --line: rgba(32, 27, 29, 0.14);
  --shadow: 0 24px 70px rgba(47, 24, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--reed), #2b2226);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.muted {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 44px;
  background:
    linear-gradient(135deg, rgba(247, 239, 228, 0.97), rgba(255, 250, 241, 0.82) 46%, rgba(122, 31, 50, 0.16)),
    var(--paper);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--reed);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
}

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

.hero-text {
  max-width: 630px;
  color: #443a3c;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--reed);
  box-shadow: 0 14px 30px rgba(122, 31, 50, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
}

.button.large {
  min-width: min(100%, 250px);
}

.hero-media {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.program-preview {
  position: absolute;
  top: 100px;
  left: 50%;
  width: min(62%, 330px);
  height: 220px;
  object-fit: cover;
  object-position: 50% 24%;
  border: 8px solid rgba(255, 253, 248, 0.86);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(23, 33, 31, 0.16);
  transform: translateX(-50%);
  z-index: 2;
}

.music-lines {
  position: absolute;
  inset: 12% 0;
  display: grid;
  gap: 30px;
  transform: rotate(-7deg);
}

.music-lines span {
  border-top: 2px solid rgba(23, 33, 31, 0.18);
}

.instrument-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  min-height: 430px;
  margin-inline: auto;
  padding: 32px;
  display: grid;
  align-content: end;
  background: linear-gradient(155deg, #fffaf1, #ead8c6);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.instrument-card p {
  position: relative;
  max-width: 310px;
  margin: 0;
  color: #413235;
  font-weight: 700;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro-band div {
  padding: clamp(22px, 4vw, 34px) clamp(20px, 4vw, 56px);
  background: var(--cream);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.intro-band span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 430px);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.section-copy p {
  max-width: 760px;
  color: #473d3f;
  font-size: 1.05rem;
}

.section-copy .bio-intro {
  max-width: 720px;
  font-size: 1.16rem;
  line-height: 1.75;
}

.bio-link {
  margin-top: 8px;
}

.full-bio-hero {
  padding-bottom: clamp(26px, 4vw, 48px);
  background: var(--paper);
}

.full-bio-hero h1 {
  max-width: 940px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
}

.full-bio-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.archive-note {
  margin-bottom: 28px;
  padding: 16px 18px;
  color: #4a3439;
  background: #f6e6c5;
  border-left: 4px solid var(--brass-dark);
}

.full-bio-copy p {
  line-height: 1.75;
}

.bio-note {
  position: sticky;
  top: 104px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 33, 31, 0.1);
}

.bio-note img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.9) contrast(1.02);
}

.bio-note div {
  padding: 22px;
}

.bio-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.credentials {
  background: var(--stage);
  color: #fff;
}

.credentials .eyebrow {
  color: #f2c86f;
}

.section-heading {
  max-width: 900px;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.credential-grid article {
  min-height: 190px;
  padding: 26px;
  background: #372b30;
}

.credential-grid h3 {
  margin-bottom: 10px;
}

.credential-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.achievement-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--stage);
  background: #f2c86f;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.performances {
  background: var(--cream);
}

.performance-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: end;
}

.performance-heading h2,
.performance-heading p {
  margin-bottom: 0;
}

.performance-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.performance-grid a {
  min-height: 250px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.performance-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 31, 50, 0.42);
  box-shadow: 0 18px 38px rgba(47, 24, 30, 0.1);
}

.performance-grid a:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

.performance-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--reed);
  font-size: 0.78rem;
  font-weight: 900;
}

.performance-grid h3 {
  min-height: 2.5em;
  margin-bottom: 10px;
}

.performance-grid p {
  min-height: 5.2em;
  margin-bottom: 18px;
  color: var(--muted);
}

.performance-grid strong {
  color: var(--reed);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.lesson-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 370px);
  gap: 24px;
  align-items: stretch;
  background: var(--paper);
}

.review-section {
  background: var(--cream);
}

.review-section .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 36px;
}

.review-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 27, 29, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffaf1;
  font: inherit;
}

.review-form textarea {
  resize: vertical;
}

.review-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--reed);
  font-weight: 800;
}

.review-status.error {
  color: #8f2635;
}

.rating-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-fieldset legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.star-rating {
  display: flex;
  width: max-content;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.review-form .star-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.review-form .star-rating label {
  display: block;
  color: #c6bbb3;
  cursor: pointer;
  font-size: 2.25rem;
  line-height: 1;
  transition: color 150ms ease, transform 150ms ease;
}

.review-form .star-rating label::before {
  content: "\2605";
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--brass);
}

.star-rating label:hover {
  transform: translateY(-2px);
}

.star-rating input:focus-visible + label {
  outline: 2px solid var(--reed);
  outline-offset: 3px;
}

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

.review-card {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(47, 24, 30, 0.08);
}

.review-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.review-edit-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--reed);
  background: #fffaf1;
  cursor: pointer;
  font: inherit;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.review-edit-button:hover,
.review-edit-button:focus-visible {
  color: var(--ink);
  border-color: var(--brass);
  transform: translateY(-1px);
}

.review-edit-form {
  display: grid;
  gap: 14px;
}

.review-edit-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.review-edit-form input,
.review-edit-form select,
.review-edit-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 27, 29, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffaf1;
  font: inherit;
}

.review-edit-form textarea {
  resize: vertical;
}

.review-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-card p {
  color: #473d3f;
}

.review-card strong {
  display: block;
  margin-top: 18px;
}

.stars {
  margin-bottom: 14px;
  color: var(--brass-dark);
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.lesson-panel,
.location-panel {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.lesson-list {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.lesson-list div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  background: var(--paper);
}

.lesson-list span {
  color: var(--brass-dark);
  font-weight: 900;
}

.lesson-list p {
  margin-bottom: 0;
  font-weight: 700;
}

.location-panel {
  display: grid;
  align-content: center;
  gap: 20px;
  background: linear-gradient(145deg, var(--reed), #2b2226);
  color: #fff;
}

.location-panel h3 {
  margin-bottom: 0;
}

.studio-location {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.studio-location > p:first-child {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1.1;
}

.location-panel .muted {
  color: rgba(255, 255, 255, 0.76);
}

.location-panel address {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  font-weight: 700;
}

.map-link {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 16px;
  color: var(--ink);
  background: #f5cf74;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.map-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 24px;
  align-items: stretch;
  padding: 0 clamp(20px, 5vw, 72px) clamp(64px, 8vw, 116px);
  background: var(--paper);
}

.map-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.map-item {
  min-width: 0;
}

.map-item h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.map-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 42px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-copy h2 {
  margin-bottom: 12px;
}

.map-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.map-frame {
  min-height: 320px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(47, 24, 30, 0.1);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.map-stack .map-frame,
.map-stack .map-frame iframe {
  min-height: 270px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: clamp(20px, 5vw, 72px);
  padding: clamp(34px, 5vw, 60px);
  color: #fff;
  background: linear-gradient(135deg, var(--reed), #2b2226);
  border-radius: 8px;
}

.contact-section h2 {
  max-width: 850px;
  margin-bottom: 12px;
}

.contact-section p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-section .eyebrow {
  color: #f2c86f;
}

.contact-section .button.primary {
  color: var(--ink);
  background: #f5cf74;
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .lesson-section,
  .map-section,
  .review-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .intro-band,
  .credential-grid,
  .performance-grid,
  .review-list {
    grid-template-columns: 1fr 1fr;
  }

  .performance-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .map-stack {
    grid-template-columns: 1fr 1fr;
  }

  .bio-note {
    position: static;
  }

  .contact-section {
    margin-inline: 20px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 3rem;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-media {
    min-height: 360px;
  }

  .program-preview {
    top: 44px;
    height: 190px;
  }

  .instrument-card {
    min-height: 350px;
  }

  .intro-band,
  .credential-grid,
  .performance-grid,
  .review-list {
    grid-template-columns: 1fr;
  }

  .credential-grid article,
  .performance-grid a {
    min-height: 0;
  }

  .performance-grid h3,
  .performance-grid p {
    min-height: 0;
  }

  .map-stack {
    grid-template-columns: 1fr;
  }

  .lesson-list div {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (min-width: 981px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.75rem;
  }
}
