:root {
  --ink: #203830;
  --muted: #657069;
  --paper: #fbf8f1;
  --surface: #ffffff;
  --sage: #7f8f75;
  --moss: #284038;
  --forest: #18342c;
  --clay: #9b6658;
  --gold: #d0a068;
  --old-gold: #b8894e;
  --line: rgba(32, 56, 48, 0.15);
  --shadow: 0 20px 60px rgba(32, 56, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: white;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(250, 248, 242, 0.94);
  box-shadow: 0 8px 32px rgba(30, 40, 36, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 7px;
  border: 1px solid rgba(208, 160, 104, 0.45);
  border-radius: 50%;
  background: rgba(251, 248, 241, 0.94);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.18));
  transition: background 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: transparent;
  background: transparent;
  filter: none;
}

.brand-text {
  font-size: 1.04rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 144px clamp(20px, 6vw, 88px) 88px;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(24, 52, 44, 0.9) 0%, rgba(32, 56, 48, 0.68) 38%, rgba(32, 56, 48, 0.16) 78%),
    linear-gradient(0deg, rgba(24, 52, 44, 0.34), rgba(24, 52, 44, 0.08));
}

.hero-content {
  position: relative;
  max-width: 980px;
  color: white;
}

.hero-logo {
  width: 146px;
  height: 146px;
  object-fit: contain;
  padding: 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(208, 160, 104, 0.52);
  border-radius: 50%;
  background: rgba(251, 248, 241, 0.95);
  box-shadow: 0 18px 48px rgba(24, 52, 44, 0.28);
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.12));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--old-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e4bd7b;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.4rem;
  line-height: 0.96;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--forest);
  background: var(--gold);
}

.button.primary:hover {
  background: #c49456;
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

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

.intro-item {
  min-height: 138px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 28px;
  background: var(--paper);
  text-align: center;
}

.intro-item span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--forest);
}

.intro-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

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

.class-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.class-card .icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 50%;
  color: var(--forest);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.class-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(36px, 7vw, 92px);
  color: white;
  background: var(--forest);
}

.feature .eyebrow {
  color: #e4bd7b;
}

.feature-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.13rem;
}

.feature-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.feature-list div {
  padding: 26px 0;
  background: var(--forest);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  color: white;
  font-size: 1.05rem;
}

.feature-list span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
}

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

.text-link {
  color: var(--forest);
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.calendar-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.calendar-frame::before {
  content: "";
  display: block;
  padding-top: min(70%, 720px);
}

.calendar-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pricing {
  background: #ece7dc;
}

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

.price-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-card.accent {
  background: var(--forest);
  color: white;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.price-card.accent ul {
  color: rgba(255, 255, 255, 0.76);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 520px);
  gap: clamp(36px, 7vw, 92px);
}

.about-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-logo {
  width: min(260px, 76%);
  margin: 0 auto 8px;
}

.contact-panel a {
  color: var(--forest);
  font-weight: 900;
}

.payment-list {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.payment-list strong {
  color: var(--forest);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 88px);
  color: white;
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-meta {
  opacity: 0.65;
  font-size: 13px;
}

.site-footer .footer-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 880px) {
  .site-nav {
    position: absolute;
    top: 94px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    gap: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    background: transparent;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .hero {
    min-height: 88vh;
    padding-top: 132px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(24, 52, 44, 0.9) 0%, rgba(32, 56, 48, 0.7) 58%, rgba(32, 56, 48, 0.3) 100%),
      linear-gradient(0deg, rgba(24, 52, 44, 0.4), rgba(24, 52, 44, 0.12));
  }

  .intro,
  .split,
  .feature,
  .about {
    grid-template-columns: 1fr;
  }

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

  .class-card {
    min-height: auto;
  }

  .class-card .icon {
    margin-bottom: 26px;
  }

  .section-heading {
    display: block;
  }

  h1 {
    font-size: 4.8rem;
  }

  .hero-logo {
    width: 124px;
    height: 124px;
  }

  .calendar-frame::before {
    padding-top: 110%;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 78px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    padding: 6px;
  }

  .brand span:last-child {
    max-width: 124px;
    line-height: 1.05;
  }

  .hero {
    min-height: 86vh;
    padding-top: 116px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: 2.3rem;
  }

  .hero-logo {
    width: 106px;
    height: 106px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .site-footer {
    display: grid;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.05rem;
  }

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