:root {
  color-scheme: light;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --ink: #27302c;
  --muted: #68746f;
  --line: #dfe5dc;
  --sage: #6b8f71;
  --sage-dark: #3f6f58;
  --clay: #b66a4b;
  --gold: #c49a45;
  --blue: #436f91;
  --shadow: 0 24px 70px rgba(39, 48, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  padding: 18px 0;
  transform: translateX(-50%);
  color: var(--surface);
}

.brand,
.nav,
.hero-actions,
.social-links,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sage-dark);
  font-size: 13px;
}

.nav {
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(39, 48, 44, 0.18);
  backdrop-filter: blur(12px);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--surface);
}

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

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

.hero-picture {
  display: block;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(25, 38, 31, 0.86), rgba(25, 38, 31, 0.44) 48%, rgba(25, 38, 31, 0.12)),
    linear-gradient(0deg, rgba(25, 38, 31, 0.62), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 160px 0 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.button,
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--surface);
  color: var(--sage-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--surface);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro,
.profile,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.intro p,
.profile-copy p,
.contact p,
.plan p,
.class-list p {
  color: var(--muted);
}

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

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

.plan,
.class-list article {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 50px rgba(39, 48, 44, 0.06);
}

.plan-label,
.class-list span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan strong {
  display: inline-flex;
  margin-top: 12px;
  color: var(--sage-dark);
}

.class-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.class-list article:nth-child(2) span {
  color: var(--blue);
}

.class-list article:nth-child(3) span {
  color: var(--gold);
}

.profile-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--sage-dark);
  font-weight: 900;
}

.profile-facts dd {
  margin: 0;
  color: var(--muted);
}

.contact {
  align-items: center;
  padding-top: 74px;
  border-top: 1px solid var(--line);
}

.social-links {
  justify-content: end;
  flex-wrap: wrap;
  gap: 12px;
}

.social {
  min-width: 150px;
  color: var(--surface);
}

.instagram {
  background: var(--clay);
}

.facebook {
  background: var(--blue);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

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

  .nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero {
    min-height: 760px;
  }

  .intro,
  .profile,
  .contact,
  .plan-grid,
  .class-list {
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: start;
  }
}

@media (max-width: 540px) {
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    gap: 14px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero-content {
    width: min(100% - 24px, 1180px);
    padding-bottom: 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(25, 38, 31, 0.9), rgba(25, 38, 31, 0.54)),
      linear-gradient(0deg, rgba(25, 38, 31, 0.7), transparent 40%);
  }

  .button,
  .social {
    width: 100%;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 70px 0;
  }

  .profile-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 24px, 1180px);
  }
}
