:root {
  --petrol: #176268;
  --petrol-dark: #0f474c;
  --orange: #ff8f4c;
  --turquoise: #36cfc2;
  --cream: #fff8ed;
  --cream-light: #fffcf6;
  --white: #ffffff;
  --ink: #153235;
  --muted: #667b7e;
  --line: rgba(23, 98, 104, 0.14);
  --shadow: 0 18px 45px rgba(23, 98, 104, 0.1);
  --radius: 8px;
  --container: 1120px;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-light);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 32px), 820px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--petrol-dark);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand strong,
.footer-brand span {
  font-size: 1.22rem;
}

.brand small {
  display: block;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--petrol-dark);
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--petrol);
  background: rgba(38, 198, 184, 0.16);
}

.nav-links .nav-button {
  color: var(--white);
  background: var(--petrol);
}

.nav-links .nav-button:hover,
.nav-links .nav-button[aria-current="page"] {
  color: var(--white);
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--petrol);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

/* Hero */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--petrol-dark);
  background:
    linear-gradient(135deg, rgba(255, 248, 237, 0.98), rgba(223, 250, 247, 0.86)),
    var(--cream);
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 96px 0;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--turquoise);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--petrol-dark);
  background: var(--orange);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

/* Sections */
.section {
  padding: 88px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.rich-text {
  color: var(--muted);
  font-size: 1.08rem;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

/* Teacher profiles */
.teacher-section {
  background: var(--cream);
}

.teacher-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.teacher-copy {
  max-width: 660px;
}

.teacher-photo {
  margin: 0;
}

.teacher-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Course cards */
.course-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.course-card,
.feature-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.course-card {
  display: grid;
  min-height: 290px;
  padding: 34px;
  align-content: start;
  gap: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(8, 40, 43, 0.2);
}

.course-card.drums {
  border-top: 6px solid var(--orange);
}

.course-card.mao {
  border-top: 6px solid var(--turquoise);
}

.course-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  color: var(--petrol);
  background: rgba(54, 207, 194, 0.16);
  border: 1px solid rgba(23, 98, 104, 0.14);
  border-radius: var(--radius);
}

.course-icon svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.course-icon rect,
.course-icon circle,
.course-icon ellipse {
  fill: rgba(255, 143, 76, 0.16);
}

.course-label {
  color: var(--petrol-dark);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 800;
}

.course-card strong {
  max-width: 440px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.12;
}

.course-card > span:last-child {
  color: var(--petrol);
  font-weight: 800;
}

.page-hero {
  padding: 88px 0 96px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.page-hero .lead {
  color: var(--muted);
}

.mao-hero {
  background:
    linear-gradient(135deg, rgba(255, 248, 237, 0.98), rgba(223, 250, 247, 0.9)),
    var(--cream);
}

.feature-item {
  padding: 26px;
}

.feature-item h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Pricing */
.pricing-section {
  padding-top: 0;
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: 48px;
  padding: 42px;
  color: var(--white);
  background: var(--petrol-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pricing-panel h2 {
  margin-bottom: 0;
}

.pricing-content p {
  margin: 22px 0 0;
  color: #d9eeee;
}

.price-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.price-list li:first-child {
  padding-top: 0;
}

.price-list strong {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 1.2rem;
}

/* Footer */
.site-footer {
  padding: 46px 0;
  color: #d9eeee;
  background: var(--petrol);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 32px;
}

.footer-brand {
  color: var(--white);
}

.site-footer address,
.social-links {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.site-footer strong {
  color: var(--turquoise);
}

.site-footer a:hover {
  color: var(--orange);
}

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 82px 16px auto;
    display: none;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 72px;
  }

  .split,
  .teacher-profile,
  .course-grid,
  .feature-grid,
  .pricing-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-panel {
    gap: 24px;
    padding: 30px;
  }

}

@media (max-width: 520px) {
  .container,
  .narrow {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .price-list li {
    gap: 16px;
  }

  .nav {
    min-height: 74px;
  }

  .nav-links {
    top: 74px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .course-card {
    min-height: 260px;
    padding: 22px;
  }
}
