:root {
  --green: #153d31;
  --black: #28231f;
  --sage: #83b89c;
  --terracotta: #c06c46;
  --cream: #fffdf9;
  --sand: #e9d8c6;
  --tan: #d6bfab;
  --muted: #6c665e;
  --line: #e6ddd2;
  --max: 1256px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: rgba(255,253,249,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  pointer-events: none;
  transition: opacity .5s ease;
}

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 28px;
}

.logo-link {
  display: inline-flex;
  width: 210px;
  transition: transform .35s ease-in-out;
}
.logo-link:hover { transform: scale(1.05); }

.nav-links,
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.nav-links {
  justify-content: center;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-text {
  transition: color .22s ease;
}
.nav-text:hover { color: var(--sage); }
.nav-text.click-feedback { color: var(--terracotta); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 7px 6px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background-color .28s ease, color .28s ease, border-color .28s ease, transform .28s ease;
}
.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}
.btn-outline {
  background: transparent;
  color: var(--green);
}
.btn-solid:hover {
  background: transparent;
  color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--cream);
}
.btn:focus-visible,
.nav-text:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(192,108,70,.35);
  outline-offset: 4px;
}

.section-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  background: linear-gradient(135deg, #f5eee4 0%, var(--sand) 100%);
}
.home-hero { padding: 56px 0 0; }
.packages-hero {
  min-height: 470px;
  padding: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 510px);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.hero-copy { padding-top: 56px; position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 36px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.green { color: var(--sage); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  color: var(--green);
  font-family: Gelasio, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
}
h1 { max-width: 720px; font-size: clamp(3.6rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h1 em, h2 em {
  color: var(--terracotta);
  font-style: italic;
}
.hero-copy p:not(.eyebrow),
.section p,
.bottom-cta p {
  max-width: 560px;
  font-size: 18px;
}
.button-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 42px; }

@media (min-width: 1021px) {
  .home-hero .button-row {
    margin-top: 32px;
    margin-bottom: 10px;
  }
}

.hero-media {
  position: relative;
  z-index: 2;
  height: 698px;
  border-radius: 0 0 140px 140px;
  overflow: hidden;
  background: var(--sage);
}
.hero-media img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.packages-hero .hero-grid {
  min-height: 470px;
  grid-template-columns: minmax(0, 720px) 1fr;
  position: relative;
}
.packages-hero .hero-copy {
  padding-top: 60px;
}
.packages-hero h1 {
  max-width: 650px;
  font-size: clamp(3.8rem, 5.35vw, 4.7rem);
}
.packages-hero .hero-copy p:not(.eyebrow) {
  color: var(--green);
  font-size: 20px;
}
.packages-team {
  position: absolute;
  top: 0;
  right: calc((min(var(--max), calc(100vw - 48px)) - 100vw) / 2);
  z-index: 1;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
}

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}
.wave-bottom { bottom: -1px; height: 210px; }
.wave-top { top: -1px; height: 210px; transform: translateY(-60%); }
.decor { position: absolute; pointer-events: none; }
.decor-dots { width: 260px; right: 0; top: 0; z-index: 1; opacity: .7; }
.decor-circle-left { width: 220px; left: 0; top: 0; z-index: 0; }
.decor-circle-right { width: 220px; right: 0; bottom: 0; z-index: 0; }

.section {
  position: relative;
  padding: 120px 0;
}
.cream { background: var(--sand); }
.dark {
  background: var(--green);
  color: var(--cream);
}
.dark h2,
.dark .eyebrow { color: var(--cream); }
.dark h2 em { color: var(--sand); }

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, .9fr);
  gap: 80px;
  align-items: center;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 2px 1fr 2px 1fr;
  gap: 28px;
  align-items: center;
}
.metrics strong {
  display: block;
  color: var(--terracotta);
  font-family: Gelasio, "Times New Roman", serif;
  font-size: 70px;
  font-weight: 400;
  line-height: 1;
}
.metrics span {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.metrics img { height: 140px; width: 2px; }

.split-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 610px) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}
.image-card {
  aspect-ratio: 610 / 510;
  overflow: hidden;
  border-radius: 50px;
  background: var(--line);
}
.image-left { aspect-ratio: 610 / 550; }
.tags-svg { width: min(430px, 100%); margin-top: 32px; }

.section-heading {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 56px;
}
.section-heading.centered {
  text-align: center;
}
.section-heading.centered p {
  margin-left: auto;
  margin-right: auto;
}
.section-heading.light h2,
.section-heading.light p { color: var(--cream); }

.class-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.class-card {
  min-height: 300px;
  padding: 42px 28px;
  border-radius: 0;
  background: var(--green);
  color: var(--cream);
  transition: transform .3s ease-in-out;
}
.class-card.alt {
  background: var(--sand);
  color: var(--green);
}
.class-card:hover { transform: scale(1.05); }
.class-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--terracotta);
  font-family: Gelasio, "Times New Roman", serif;
  font-size: 70px;
}
.class-card h3 {
  font-size: 27px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.steps-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.steps-grid article {
  display: grid;
  align-content: start;
  gap: 18px;
}
.step-icon-button {
  display: inline-flex;
  width: 88px;
  transition: transform .5s ease-in-out;
}
.step-icon-button:hover,
.step-icon-button:focus-visible {
  transform: scale(1.15);
}
.step-icon-button:focus-visible {
  outline: 3px solid rgba(192,108,70,.35);
  outline-offset: 6px;
}
.steps-grid img { width: 88px; }
.steps-grid span {
  color: var(--terracotta);
  font-family: Gelasio, "Times New Roman", serif;
  font-size: 70px;
  line-height: 1;
}
.steps-grid h3 {
  color: var(--green);
  font-size: 27px;
}
.steps-section {
  background: #f5eee4;
}
.steps-section .eyebrow {
  color: var(--terracotta);
}

.bottom-cta {
  position: relative;
  overflow: hidden;
  min-height: 227px;
  padding: 0;
  background: var(--terracotta);
}
.cta-grid {
  position: relative;
  z-index: 1;
  min-height: 227px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.bottom-circle2 {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: min(720px, 50vw);
  height: auto;
  pointer-events: none;
}
.bottom-cta .eyebrow {
  padding-top: 18px;
  margin-bottom: 24px;
  color: var(--green);
}
.bottom-cta h2 {
  max-width: none;
  color: var(--cream);
  font-size: clamp(2.2rem, 3.7vw, 3.4rem);
}
.bottom-cta .btn-solid {
  flex: 0 0 auto;
}

.site-footer {
  background: var(--green);
  color: var(--tan);
}
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer-address {
  justify-self: center;
  font-size: 14px;
  color: var(--tan);
  transition: transform .3s ease-in-out, color .22s ease;
}
.footer-address:hover {
  transform: scale(1.05);
  color: var(--cream);
}
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}
.footer-links a {
  transition: color .2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-links a.clicked { color: #b89680; }

.promo-section {
  background: var(--cream);
  display: grid;
  justify-items: center;
}
.credits-section {
  background: var(--sage);
}
.pricing-grid,
.plans-grid {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 30px;
}
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.plans-grid { grid-template-columns: repeat(2, minmax(280px, 350px)); justify-content: center; }
.price-card {
  position: relative;
  min-height: 505px;
  padding: 46px 38px 34px;
  border: 2px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.promo-card {
  width: min(350px, calc(100% - 48px));
  min-height: 416px;
}
.plan-card { min-height: 430px; }
.badge {
  align-self: center;
  margin-top: -68px;
  margin-bottom: 30px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.price-card h3 {
  color: var(--green);
  font-size: 28px;
}
.price-label,
.sessions {
  color: var(--green);
  font-weight: 700;
}
.price {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 24px;
  color: var(--black);
}
.price span {
  margin-top: 14px;
  font-family: Cantarell, Verdana, sans-serif;
  font-size: 35px;
  font-weight: 700;
}
.price strong {
  font-family: Cantarell, Verdana, sans-serif;
  font-size: 68px;
  line-height: .95;
}
.price small {
  align-self: flex-end;
  padding-bottom: 10px;
  font-size: 28px;
}
.price-card ul {
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.price-card .btn {
  width: 100%;
  margin-top: auto;
}
.info-section {
  width: 100%;
  margin: 0;
  background: #d7e5da;
}
.info-section > .eyebrow,
.info-section > h2,
.info-section > ul {
  width: min(var(--max), calc(100% - clamp(64px, 12vw, 184px)));
  margin-left: auto;
  margin-right: auto;
}
.info-section > .eyebrow {
  color: var(--terracotta);
  max-width: none;
  text-align: left;
}
.info-section ul {
  margin: 34px auto 0;
  padding-left: 22px;
  font-size: 18px;
}
.info-section li + li { margin-top: 14px; }

@media (max-width: 1020px) {
  .header-inner {
    grid-template-columns: 190px auto;
    grid-template-rows: 86px auto;
    height: auto;
    min-height: 86px;
  }
  .logo-link,
  .menu-toggle {
    grid-row: 1;
  }
  .menu-toggle {
    display: block;
    justify-self: end;
  }
  .site-header.menu-open {
    background: transparent;
    backdrop-filter: none;
  }
  .site-header.menu-open::before {
    background: #fffdf9;
    opacity: .75;
  }
  .nav-shell {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block;
    max-height: 0;
    margin: 0 -24px;
    padding: 0 24px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: transparent;
    transition: opacity .5s ease, max-height .5s ease, padding .5s ease, visibility 0s linear .5s;
  }
  .site-header.menu-open .nav-shell {
    max-height: 430px;
    padding: 48px 24px 30px;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .5s ease, max-height .5s ease, padding .5s ease, visibility 0s;
  }
  .nav-links,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .nav-links { margin-bottom: 30px; }
  .header-actions .btn { width: 100%; }
  .hero,
  .packages-hero { min-height: auto; }
  .hero-grid,
  .method-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .packages-hero {
    padding-bottom: 90px;
  }
  .packages-hero .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .packages-team {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    justify-self: end;
    width: min(88vw, 590px);
    max-height: none;
    margin-top: -42px;
    margin-bottom: -90px;
  }
  .hero-media { height: auto; aspect-ratio: 510 / 698; max-width: 510px; }
  .reverse-mobile .image-card { order: -1; }
  .class-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 34px 0;
  }
  .footer-address,
  .footer-links { justify-self: start; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .section-grid,
  .section-heading,
  .class-grid,
  .steps-grid,
  .pricing-grid,
  .plans-grid,
  .footer-inner,
  .header-inner {
    width: min(100% - 32px, var(--max));
  }
  .section { padding: 82px 0; }
  .hero-copy { padding-top: 32px; }
  h1 { font-size: clamp(3rem, 16vw, 4.2rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .button-row,
  .cta-grid { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding: 0 18px; }
  .metrics {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .metrics img { display: none; }
  .class-grid,
  .steps-grid,
  .pricing-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .class-card { min-height: 250px; }
  .price-card { min-height: auto; }
  .decor { opacity: .35; }
}
