:root {
  --ink: #23213a;
  --muted: #67647b;
  --paper: #fffaf4;
  --cream: #fff3df;
  --rose: #ff6f91;
  --teal: #22b8b0;
  --gold: #f7b731;
  --violet: #7458e8;
  --green: #77c66e;
  --line: rgba(35, 33, 58, 0.13);
  --shadow: 0 18px 45px rgba(45, 37, 82, 0.15);
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 244, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  background: conic-gradient(from 160deg, var(--rose), var(--gold), var(--teal), var(--violet), var(--rose));
  box-shadow: 0 10px 25px rgba(116, 88, 232, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
  padding: 9px 13px;
  border-radius: 999px;
}

.nav-links a.active,
.nav-links a:hover {
  background: white;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(35, 33, 58, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(35, 33, 58, 0.22);
}

.button.alt {
  background: white;
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 18, 43, 0.72), rgba(22, 18, 43, 0.2) 62%, rgba(22, 18, 43, 0.08));
  z-index: -1;
}

.hero-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 24px 86px;
  color: white;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.section {
  padding: 76px 24px;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 0;
}

.section-head p {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(35, 33, 58, 0.08);
}

.card.pad {
  padding: 24px;
}

.card img {
  height: 230px;
  object-fit: cover;
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: white;
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.card h3 {
  margin: 14px 0 8px;
  font-size: 1.35rem;
}

.card p,
.list,
.quote span {
  color: var(--muted);
}

.list {
  padding-left: 18px;
  margin: 14px 0 0;
}

.cta-band {
  background: var(--ink);
  color: white;
  padding: 54px 24px;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.page-hero {
  padding: 76px 24px 54px;
  background: linear-gradient(135deg, #fff3df 0%, #ffe3eb 42%, #def8f5 100%);
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 36px;
  align-items: center;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.page-hero p {
  color: var(--muted);
  max-width: 620px;
}

.rounded-photo {
  border-radius: 28px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lesson-row,
.instructor-row,
.story-row {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.lesson-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 2rem;
  background: var(--rose);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.instructor-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding: 18px;
}

.instructor-card img {
  height: 190px;
  border-radius: 8px;
  object-fit: cover;
}

.quote {
  padding: 26px;
}

.quote blockquote {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 750;
}

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

.gallery img {
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.map {
  min-height: 250px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(35, 33, 58, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(35, 33, 58, 0.08) 1px, transparent 1px),
    #f8efe4;
  background-size: 34px 34px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.footer {
  padding: 34px 24px;
  background: #19172a;
  color: rgba(255, 255, 255, 0.72);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav,
  .section-head,
  .cta-band .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .page-hero .wrap,
  .lesson-row,
  .story-row,
  .contact-layout,
  .gallery {
    grid-template-columns: 1fr;
  }

  .instructor-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

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

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 14px 16px;
  }

  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 3rem;
  }

  .card img,
  .gallery img {
    height: 210px;
  }
}
