:root {
  --soil: #4b3426;
  --moss: #47683f;
  --leaf: #6f8c48;
  --clay: #a85f3c;
  --sun: #f3c56a;
  --sky: #e7f1ed;
  --paper: #fffaf1;
  --logo-bg: #f7f0e6;
  --ink: #27312a;
  --muted: #667064;
  --line: rgba(75, 52, 38, 0.16);
  --shadow: 0 24px 70px rgba(47, 38, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(247, 240, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--soil);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--soil);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.hero {
  display: grid;
  min-height: calc(100svh - 67px);
  place-items: center;
  overflow: hidden;
  padding: clamp(14px, 4vw, 44px);
  background: var(--logo-bg);
}

.hero-logo {
  width: min(94vmin, 1120px);
  max-height: calc(100svh - 104px);
  object-fit: contain;
}

.hero::after {
  content: none;
}

.hero-overlay {
  position: absolute;
  inset: auto clamp(20px, 6vw, 86px) 72px auto;
  z-index: 1;
  width: min(680px, calc(100% - 40px));
  color: white;
}

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

.hero .eyebrow {
  color: var(--sun);
}

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

h1 {
  margin: 0;
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  color: var(--soil);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-heading h1 {
  margin: 0 0 18px;
  max-width: 760px;
  color: var(--soil);
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
  line-height: 0.96;
}

h3 {
  margin: 0 0 10px;
  color: var(--soil);
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.hero-location {
  margin: 18px 0 0;
  color: #f7ead8;
  font-size: 1.05rem;
  font-weight: 850;
}

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

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

.button-primary {
  background: var(--sun);
  color: #2d2117;
}

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

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--sky);
}

.quick-info article {
  min-height: 170px;
  padding: 30px clamp(18px, 3vw, 36px);
  border-right: 1px solid rgba(71, 104, 63, 0.2);
}

.program-photo {
  background: var(--logo-bg);
}

.program-photo img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: center center;
}

.quick-info article:last-child {
  border-right: 0;
}

.quick-info span {
  display: block;
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.quick-info p {
  margin: 12px 0 0;
  color: #405044;
  font-weight: 650;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 86px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.split p,
.section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.scripture-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(75, 52, 38, 0.18);
  border-left: 8px solid var(--leaf);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: var(--shadow);
}

.scripture-panel p {
  margin: 0;
  color: var(--soil);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.8vw, 2.15rem);
  line-height: 1.25;
}

.scripture-panel span {
  display: block;
  margin-top: 24px;
  color: var(--clay);
  font-weight: 850;
}

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

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

.curriculum-grid article,
.pricing article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fffdf8;
}

.curriculum-grid article p {
  margin: 14px 0 0;
  color: var(--muted);
}

.growth-note,
.curriculum-note {
  margin-top: 28px;
  border-left: 6px solid var(--leaf);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  background: #fffdf8;
  color: var(--muted);
}

.growth-note {
  max-width: 980px;
}

.curriculum-note {
  display: grid;
  gap: 16px;
}

.curriculum-note p {
  margin: 0;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

.schedule-section {
  background: #edf4e6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.timeline article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(71, 104, 63, 0.2);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.timeline span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: white;
  font-weight: 900;
}

.timeline p,
.pricing p {
  margin: 0;
  color: var(--muted);
}

.details-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  gap: 30px;
  align-items: start;
  background: var(--soil);
}

.details-band h1,
.details-band h2 {
  max-width: 520px;
  color: white;
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
  line-height: 0.96;
}

.details-copy {
  max-width: 420px;
  color: #ead9c8;
  font-weight: 750;
}

.details-band .eyebrow {
  color: var(--sun);
}

.enrollment-link {
  margin-top: 22px;
}

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

.pricing .makeup-note {
  grid-column: 1 / -1;
}

.schedule-line {
  margin-bottom: 12px;
  color: var(--soil);
  font-weight: 900;
}

.price {
  margin: 14px 0 12px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
}

.price span {
  display: block;
  margin-top: 4px;
  color: #ead9c8;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 750;
}

.discount {
  margin-top: 12px;
  color: var(--soil);
  font-weight: 850;
}

.value-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--sun);
  color: #2d2117;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--sky);
}

.payment-copy p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

.payment-note {
  border-left: 5px solid var(--leaf);
  padding-left: 16px;
}

.venmo-button {
  margin-top: 12px;
}

.venmo-card {
  margin: 0;
  border: 1px solid rgba(75, 52, 38, 0.16);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 24px);
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.venmo-card img {
  width: 100%;
  border-radius: 8px;
}

.venmo-card figcaption {
  margin-top: 14px;
  color: var(--soil);
  font-weight: 850;
  text-align: center;
}

.forms-section {
  background: #fffaf1;
}

.registration-notice {
  max-width: 1040px;
  margin-bottom: 24px;
  border: 1px solid rgba(168, 95, 60, 0.28);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff3de;
  color: var(--soil);
}

.registration-notice h3 {
  margin-bottom: 12px;
}

.registration-notice ul {
  margin: 0;
  padding-left: 22px;
}

.registration-notice li + li {
  margin-top: 12px;
}

.registration-form {
  display: grid;
  gap: 18px;
  max-width: 1040px;
}

fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  background: #fffdf8;
}

legend {
  padding: 0 8px;
  color: var(--soil);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 800;
}

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

.parent-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1fr) minmax(150px, 0.9fr);
  gap: 18px;
}

.children-list {
  display: grid;
  gap: 18px;
}

.child-card {
  border: 1px solid rgba(75, 52, 38, 0.14);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 22px);
  background: #fffaf1;
}

.child-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.child-card-header h3 {
  margin: 0;
}

.add-child-button {
  justify-self: start;
  margin-top: 18px;
  background: white;
  border-color: rgba(75, 52, 38, 0.28);
  color: var(--soil);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--clay);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

label,
.full-label {
  display: grid;
  gap: 8px;
  color: var(--soil);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(75, 52, 38, 0.28);
  border-radius: 8px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
  font: inherit;
}

select {
  min-height: 51px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--soil) 50%),
    linear-gradient(135deg, var(--soil) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 38px;
}

textarea {
  resize: vertical;
}

.choice-group {
  display: grid;
  gap: 12px;
}

.choice-group label,
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 750;
}

.choice-group input,
.checkbox-label input {
  width: auto;
  margin-top: 6px;
  accent-color: var(--moss);
}

.payment-option {
  color: var(--muted);
  font-weight: 750;
}

.full-label {
  margin-top: 18px;
  max-width: 360px;
}

.form-note {
  margin: 0 0 18px;
  color: var(--muted);
}

.form-submit {
  justify-self: start;
  border: 0;
}

.local-submit-note {
  margin: 0;
  border: 1px solid rgba(168, 95, 60, 0.28);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff4df;
  color: var(--soil);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 86px);
  background: #2e2119;
  color: #f7ead8;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  font-weight: 800;
}

.success-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(255, 250, 241, 0.88), rgba(255, 250, 241, 0.88)),
    url("assets/garden-classroom.jpg") center / cover;
}

.success-panel {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.success-panel .brand {
  margin-bottom: 42px;
}

.success-panel h1 {
  max-width: none;
  color: var(--soil);
}

.success-panel p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.15rem;
}

.success-panel .button {
  margin-top: 18px;
}

.founder-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(231, 241, 237, 0.94), rgba(255, 250, 241, 0.96)),
    var(--paper);
}

.founder-photo {
  margin: 0;
}

.founder-photo img {
  width: 100%;
  max-height: 760px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center center;
  box-shadow: var(--shadow);
}

.founder-bio {
  max-width: 760px;
}

.founder-bio h1 {
  max-width: none;
  color: var(--soil);
  font-size: clamp(3.4rem, 6vw, 6rem);
}

.founder-bio .lead {
  color: var(--soil);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 750;
}

.founder-bio p:not(.eyebrow) {
  margin: 0 0 18px;
  color: #435044;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dark-button {
  border-color: var(--soil);
  color: var(--soil);
}

.about-place {
  background: var(--sky);
}

.about-place > div {
  max-width: 980px;
}

.about-contact {
  padding: clamp(38px, 6vw, 72px) clamp(20px, 6vw, 86px);
  background: var(--soil);
  color: #f7ead8;
}

.about-contact h2 {
  max-width: 900px;
  color: #f7ead8;
}

.about-contact p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  font-size: 1.15rem;
}

.about-contact a {
  color: var(--sun);
  font-weight: 850;
}

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

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

  .quick-info,
  .curriculum-grid,
  .timeline,
  .details-band,
  .pricing,
  .payment-section,
  .founder-hero,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .timeline article {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100svh - 137px);
    padding: 16px;
  }

  .hero-logo {
    width: min(100%, 86svh);
    max-height: calc(100svh - 170px);
  }

  h1 {
    font-size: 3.4rem;
  }

  .quick-info,
  .curriculum-grid,
  .timeline,
  .details-band,
  .pricing,
  .payment-section,
  .founder-hero,
  .split,
  .parent-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .quick-info article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(71, 104, 63, 0.2);
  }

  .site-footer {
    flex-direction: column;
  }

  #program .scripture-panel {
    order: -1;
  }
}
