@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
  color-scheme: light;
  --green: #174d38;
  --green-mid: #2f7554;
  --green-soft: #e8f0e9;
  --ink: #1d3027;
  --muted: #64736a;
  --cream: #faf9f5;
  --line: #e5e8e1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 1.15rem 2.5rem;
}

.brand {
  align-items: center;
  color: var(--green);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: .65rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

nav {
  align-items: center;
  display: flex;
  gap: 2rem;
}

nav a {
  color: #4a5b51;
  font-size: .88rem;
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  color: var(--green-mid);
}

nav .nav-cta {
  border: 1px solid #cbd6cc;
  border-radius: 3px;
  color: var(--green);
  font-weight: 600;
  padding: .6rem 1rem;
}

.hero {
  align-items: center;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr .9fr;
  margin: 0 auto;
  max-width: 1240px;
  min-height: 520px;
  padding: 3.5rem 2.5rem 5rem;
}

.hero-copy {
  padding: 1rem 0 1.5rem 2rem;
}

.eyebrow,
.section-label,
.card-overline {
  color: var(--green-mid);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  display: flex;
  gap: .55rem;
  margin: 0 0 1.25rem;
}

.eyebrow-dot {
  background: #89a979;
  border-radius: 50%;
  height: .45rem;
  width: .45rem;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(3.75rem, 7vw, 6.5rem);
  line-height: .99;
  margin-bottom: 1.4rem;
}

h1 em {
  color: var(--green-mid);
  font-weight: 600;
}

.hero-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 440px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 600;
  gap: 1.25rem;
  justify-content: center;
  padding: .85rem 1.15rem;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

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

.button-dark {
  background: var(--green);
  color: #fff;
}

.button-dark:hover {
  background: #0f3c2b;
}

.text-link {
  color: var(--green);
  font-size: .88rem;
  font-weight: 600;
  text-decoration-color: #9bb19c;
  text-underline-offset: .3rem;
}

.hero-note {
  color: #7c8980;
  font-size: .75rem;
  letter-spacing: .03em;
  margin: 2.5rem 0 0;
}

.hero-art {
  align-items: center;
  background: #dce8dc;
  display: flex;
  height: 380px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-art::before,
.hero-art::after {
  border: 1px solid rgba(47, 117, 84, .16);
  border-radius: 50%;
  content: "";
  height: 330px;
  position: absolute;
  width: 330px;
}

.hero-art::after {
  height: 260px;
  width: 260px;
}

.art-sun {
  background: #f0c879;
  border-radius: 50%;
  height: 132px;
  position: absolute;
  right: 16%;
  top: 12%;
  width: 132px;
}

.art-label {
  color: rgba(23, 77, 56, .55);
  font-size: .62rem;
  font-weight: 700;
  left: 2rem;
  letter-spacing: .16em;
  line-height: 1.7;
  position: absolute;
  top: 2rem;
}

.art-flute {
  align-items: center;
  background: linear-gradient(180deg, #f8e6aa, #d0a956 48%, #f5df9e);
  border: 1px solid rgba(100, 75, 26, .28);
  border-radius: 99px;
  box-shadow: 0 14px 28px rgba(39, 67, 48, .17);
  display: flex;
  gap: 17px;
  height: 13px;
  justify-content: center;
  position: relative;
  transform: rotate(-28deg);
  width: 280px;
  z-index: 1;
}

.art-flute span,
.art-flute b {
  background: #b58b3d;
  border: 2px solid #f6e5ad;
  border-radius: 50%;
  height: 20px;
  position: absolute;
  width: 20px;
}

.art-flute span {
  left: 28px;
}

.art-flute b {
  height: 16px;
  right: -9px;
  width: 16px;
}

.art-flute i {
  background: #b58b3d;
  border: 2px solid #f6e5ad;
  border-radius: 50%;
  height: 14px;
  width: 14px;
}

.art-note {
  color: var(--green-mid);
  font-family: Georgia, serif;
  position: absolute;
}

.note-one {
  font-size: 4rem;
  right: 15%;
  top: 27%;
}

.note-two {
  bottom: 17%;
  font-size: 3rem;
  left: 15%;
}

.art-spark {
  color: #fff;
  font-size: 1.6rem;
  position: absolute;
}

.spark-one {
  left: 20%;
  top: 25%;
}

.spark-two {
  bottom: 20%;
  right: 19%;
}

.welcome {
  align-items: start;
  background: #fff;
  display: grid;
  gap: 3rem;
  grid-template-columns: .7fr 1.2fr 1fr;
  padding: 5.5rem max(4.5rem, calc((100% - 1140px) / 2));
}

.section-label {
  align-items: center;
  display: flex;
  gap: .8rem;
}

.section-label span {
  color: #a4b0a5;
  font-size: .65rem;
}

.welcome h2,
.lessons h2,
.contact h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.3rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.welcome-copy p,
.lessons-heading > p,
.contact p {
  color: var(--muted);
  font-size: .95rem;
}

.welcome-copy .text-link {
  display: inline-block;
  margin-top: .5rem;
}

.teacher-card {
  background: var(--green-soft);
  border-left: 3px solid #88a679;
  padding: 1.6rem 1.5rem 1.3rem;
}

.card-overline {
  font-size: .62rem;
}

.teacher-card p {
  color: #344c3e;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: .9rem 0 1rem;
}

.card-caption {
  color: #708175;
  font-size: .7rem;
}

.lessons {
  margin: 0 auto;
  max-width: 1240px;
  padding: 6rem 2.5rem;
}

.lessons-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.lessons-heading .section-label {
  margin-bottom: 1rem;
}

.lessons-heading h2 {
  margin: 0;
}

.lessons-heading > p {
  margin: 0 0 .4rem;
  max-width: 280px;
}

.lesson-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.lesson-card {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 230px;
  padding: 1.65rem;
}

.lesson-card.featured {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.lesson-number {
  color: #92a999;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.featured .lesson-number {
  color: #b6d0bc;
}

.lesson-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  margin: 1.15rem 0 .5rem;
}

.lesson-card p {
  color: var(--muted);
  font-size: .85rem;
  min-height: 2.8rem;
}

.featured p {
  color: #d0dfd4;
}

.lesson-price {
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  margin-top: 1.1rem;
  padding-top: .85rem;
}

.featured .lesson-price {
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

.contact {
  align-items: center;
  background: var(--green);
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 4.5rem max(4.5rem, calc((100% - 1140px) / 2));
}

.contact .section-label {
  color: #b6d0bc;
  margin-bottom: 1rem;
}

.contact .section-label span {
  color: #8eaf98;
}

.contact h2 {
  margin-bottom: .75rem;
}

.contact p {
  color: #d0dfd4;
  margin: 0;
  max-width: 480px;
}

.button-light {
  background: #fff;
  color: var(--green);
  flex-shrink: 0;
}

.button-light:hover {
  background: #edf4ed;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 1.35rem 2.5rem;
}

.footer-brand {
  font-size: .85rem;
}

.footer-brand .brand-mark {
  height: 1.7rem;
  width: 1.7rem;
}

footer p,
footer > span {
  color: #78847b;
  font-size: .75rem;
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    gap: 2rem;
  }

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

  .welcome {
    gap: 2rem;
    grid-template-columns: 1fr 1.4fr;
    padding: 4.5rem 2.5rem;
  }

  .welcome > .section-label {
    grid-column: 1 / -1;
  }

  .contact {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (max-width: 650px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  nav {
    flex-wrap: wrap;
    gap: .8rem 1.2rem;
  }

  nav a {
    font-size: .8rem;
  }

  nav .nav-cta {
    padding: .4rem .65rem;
  }

  .hero {
    gap: 2rem;
    grid-template-columns: 1fr;
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    font-size: clamp(3.6rem, 16vw, 5rem);
  }

  .hero-art {
    height: 280px;
  }

  .art-flute {
    width: 235px;
  }

  .welcome {
    gap: 1.5rem;
    grid-template-columns: 1fr;
    padding: 3.5rem 1.25rem;
  }

  .welcome > .section-label {
    grid-column: auto;
  }

  .lessons {
    padding: 3.5rem 1.25rem;
  }

  .lessons-heading {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .lesson-grid {
    grid-template-columns: 1fr;
  }

  .lesson-card {
    min-height: 0;
  }

  .lesson-card p {
    min-height: 0;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    padding: 3.5rem 1.25rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: .5rem;
    padding: 1.25rem;
  }
}
