/* /css/home.css */

:root {
  --ink: #18384a;
  --ink-2: #255b72;
  --green: #5e9463;
  --green-deep: #47744e;
  --gold: #f1b646;
  --orange: #ef7d3c;
  --cream: #fff8ec;
  --paper: #fffdf7;
  --sand: #f4e7d2;
  --sage: #e6f0e4;
  --sky: #e6f1f5;
  --white: #ffffff;
  --text: #253841;
  --muted: #667982;
  --border: #eadcc8;
  --shadow: 0 18px 44px rgba(24, 56, 74, 0.11);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
}

body,
button,
input,
textarea,
select {
  font-family: var(--sans);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p { margin: 0 0 13px; }

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(3rem, 7vw, 6.2rem); }

h2 { font-size: clamp(2rem, 4.4vw, 3.75rem); }

h3 {
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

main { overflow: hidden; }

section { scroll-margin-top: 78px; }

.site-shell {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.centered { text-align: center; }

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading p:not(.tiny-label) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.06rem;
}

.tiny-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--green-deep);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tiny-label::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
}

.tiny-label.light { color: rgba(255, 255, 255, 0.84); }

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button-primary,
.nav-cta {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px rgba(239, 125, 60, 0.24);
}

.button-primary:hover,
.nav-cta:hover {
  background: #df6c2d;
}

.button-plain {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}

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

/* Image slots */

.guided-route-photo {
  background-image: url("/assets/guided-route-remote-consult.png");
}

.guided-banner-image {
  background-image:
    linear-gradient(90deg, rgba(24, 56, 74, 0.22), rgba(24, 56, 74, 0.06)),
    url("/assets/guided-route-section.png");
}

.photo-real-world {
  background-image: url("/assets/real-world-homeschool-learning.png");
}

.photo-sarah {
  background-image: url("/assets/sarah-knuppel.png");
}

.guided-route-photo,
.guided-banner-image,
.life-photo,
.guide-portrait {
  background-color: var(--sage);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(24, 56, 74, 0.045);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 205px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

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

.nav-cta {
  min-height: 36px;
  padding: 10px 15px;
  font-size: 0.84rem;
}

/* Hero */

.hero {
  padding: 46px 0 40px;
  background:
    radial-gradient(circle at 16% 0%, rgba(241, 182, 70, 0.22), transparent 34%),
    radial-gradient(circle at 92% 30%, rgba(94, 148, 99, 0.13), transparent 30%),
    var(--paper);
  text-align: center;
}

.hero-inner { max-width: 960px; }

.hero-subtitle {
  max-width: 660px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Guided route */

.guided-route {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guided-route-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 760px;
}

.guided-route-visual {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 760px;
  overflow: hidden;
  background: var(--cream);
}

.guided-route-photo {
  position: absolute;
  inset: 0;
  opacity: 0.88;
}

.guided-route-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 248, 236, 0.98) 0%,
      rgba(255, 248, 236, 0.94) 36%,
      rgba(255, 248, 236, 0.48) 62%,
      rgba(255, 248, 236, 0.1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 248, 236, 0.08) 0%,
      rgba(255, 248, 236, 0.86) 100%
    );
  z-index: 1;
}

.guided-route-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 0 42px clamp(24px, 5vw, 68px);
  padding: 30px 34px 34px;
  border-left: 6px solid var(--orange);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 18px 44px rgba(24, 56, 74, 0.11);
  backdrop-filter: blur(6px);
}

.guided-route-copy h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
}

.guided-route-copy p:not(.tiny-label) {
  max-width: 540px;
  color: var(--text);
  font-size: 1.08rem;
  margin-top: 18px;
}

.guided-route-steps {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 34px clamp(28px, 4vw, 54px);
  background: linear-gradient(180deg, #fffdf7, #fffaf1);
}

.route-line {
  position: absolute;
  left: clamp(58px, 4.6vw, 82px);
  top: 82px;
  bottom: 82px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--gold), var(--ink-2), var(--green));
  opacity: 0.85;
}

.route-step {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 62px 120px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px 26px;
  min-height: 150px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(24, 56, 74, 0.07);
}

.route-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 950;
  font-size: 1.25rem;
  box-shadow: 0 10px 24px rgba(24, 56, 74, 0.14);
}

.route-number.green { background: var(--green); }

.route-number.gold {
  background: var(--gold);
  color: var(--ink);
}

.route-number.blue { background: var(--ink-2); }

.route-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font-size: 2.1rem;
}

.route-step:nth-child(3) .route-icon { background: #fff1c2; }

.route-step:nth-child(4) .route-icon { background: var(--sky); }

.route-step:nth-child(5) .route-icon { background: #eef5df; }

.route-step h3 {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 1.45rem;
}

.route-step:nth-child(3) h3 { color: #c58808; }

.route-step:nth-child(4) h3 { color: var(--ink-2); }

.route-step p {
  color: var(--text);
  font-size: 1rem;
  margin: 0;
}

/* Guided banner image */

.guided-banner-section {
  padding: 34px 0;
  background:
    linear-gradient(135deg, rgba(20, 63, 88, 0.96), rgba(45, 115, 93, 0.94));
}

.guided-banner-image {
  width: min(1180px, calc(100% - 44px));
  min-height: 420px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Program */

.program-section {
  padding: 44px 0;
  background: var(--cream);
}

.program-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 38px;
  align-items: center;
}

.program-intro p:not(.tiny-label) {
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 13px;
}

.support-panel {
  display: grid;
  gap: 14px;
}

.support-panel article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 6px solid var(--green);
  box-shadow: 0 12px 28px rgba(24, 56, 74, 0.07);
}

.support-panel article:nth-child(2) { border-left-color: var(--gold); }

.support-panel article:nth-child(3) { border-left-color: var(--orange); }

.support-panel span {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1;
}

.support-panel h3 { margin-bottom: 6px; }

.support-panel p { color: var(--muted); }

/* Framework */

.framework-section {
  padding: 46px 0;
  background:
    radial-gradient(circle at 84% 10%, rgba(241, 182, 70, 0.16), transparent 30%),
    linear-gradient(135deg, #143f58, #2d735d);
  color: #fff;
}

.framework-section h2,
.framework-section h3,
.framework-section p {
  color: #fff;
}

.framework-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.framework-grid > div:first-child p:not(.tiny-label) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  margin-top: 13px;
}

.framework-list {
  display: grid;
  gap: 10px;
}

.framework-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.framework-list b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.framework-list strong {
  display: block;
  color: #fff;
}

.framework-list span {
  color: rgba(255, 255, 255, 0.82);
}

/* Life */

.life-section {
  padding: 46px 0;
  background: var(--paper);
}

.life-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.life-photo {
  min-height: 360px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.life-copy p:not(.tiny-label) {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Lists */

.clean-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-deep);
  font-weight: 950;
}

/* Guide */

.guide-section {
  padding: 46px 0;
  background: #4d8658;
  color: #fff;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}

.guide-section h2,
.guide-section p {
  color: #fff;
}

.guide-copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.04rem;
}

.guide-link {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-weight: 950;
}

.guide-portrait {
  width: min(330px, 100%);
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

/* Details */

.details-section {
  padding: 44px 0;
  background: var(--paper);
}

.details-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 42px;
  align-items: start;
}

.details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.details-list article {
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.details-list article:nth-child(2),
.details-list article:nth-child(4) {
  border-right: 0;
}

.details-list article:nth-child(3),
.details-list article:nth-child(4) {
  border-bottom: 0;
}

.details-list h3 { margin-bottom: 7px; }

.details-list p { color: var(--muted); }

/* Pricing */

.pricing-section {
  padding: 46px 0;
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.price-panel,
.included-panel {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.price-panel {
  border-radius: 22px 8px 8px 22px;
  border-left: 7px solid var(--green);
}

.included-panel {
  border-radius: 8px 22px 22px 8px;
}

.price-panel p,
.included-panel p {
  color: var(--muted);
}

.price-line {
  margin: 20px 0;
  padding: 20px;
  background: #fff2c2;
  border: 1px solid #ebd487;
}

.price-line strong,
.price-line span,
.price-line small {
  display: block;
}

.price-line strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.25rem);
  line-height: 1;
}

.price-line span {
  margin-top: 5px;
  color: var(--ink);
  font-weight: 900;
}

.price-line small {
  margin-top: 5px;
  color: var(--muted);
}

.fine-print {
  margin-top: 12px;
  font-size: 0.88rem;
}

/* Consult */

.consult-section {
  padding: 46px 0;
  background: #fff;
}

.consult-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.consult-grid p:not(.tiny-label) {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 13px;
}

.consult-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-success {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: #e6f0e4;
  border-left: 5px solid var(--green);
  color: var(--ink);
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  color: var(--ink);
  font-weight: 900;
  font-size: 0.92rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  padding: 12px 13px;
  border-radius: 7px;
}

.form-row textarea { resize: vertical; }

/* Elite */

.elite-section {
  padding: 42px 0;
  background:
    radial-gradient(circle at 86% 10%, rgba(241, 182, 70, 0.18), transparent 30%),
    linear-gradient(135deg, #143f58, #2d735d);
  color: #fff;
}

.elite-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.elite-inner h2,
.elite-inner p {
  color: #fff;
}

.elite-inner p:not(.tiny-label) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  margin-top: 12px;
}

/* FAQ */

.faq-section {
  padding: 44px 0;
  background: var(--paper);
}

.faq-wrap { max-width: 850px; }

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 950;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list p {
  padding: 0 20px 18px;
  color: var(--muted);
}

/* Final CTA */

.final-section {
  padding: 44px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(241, 182, 70, 0.17), transparent 30%),
    linear-gradient(135deg, #143f58, #2d735d);
}

.final-inner {
  max-width: 850px;
  text-align: center;
}

.final-inner h2,
.final-inner p {
  color: #fff;
}

.final-inner .button { margin-top: 20px; }

/* Footer */

.site-footer {
  background: #123f5a;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr;
  gap: 34px;
  padding-bottom: 30px;
}

.footer-brand img {
  max-width: 210px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.76);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 16px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

/* Mobile */

@media (max-width: 1040px) {
  .guided-route-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .guided-route-visual { min-height: 520px; }

  .guided-route-copy {
    margin: 0 20px 32px;
    padding: 24px;
  }

  .guided-route-steps { padding: 28px; }
}

@media (max-width: 980px) {
  .program-layout,
  .framework-grid,
  .life-grid,
  .guide-grid,
  .details-grid,
  .pricing-grid,
  .consult-grid,
  .elite-inner {
    grid-template-columns: 1fr;
  }

  .guide-portrait { justify-self: start; }

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

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    gap: 9px;
  }

  .brand-mark img { width: 220px; }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    font-size: 0.84rem;
  }

  .route-step {
    grid-template-columns: 54px 88px 1fr;
    padding: 20px;
  }

  .route-number {
    width: 50px;
    height: 50px;
  }

  .route-icon {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  h1 { font-size: clamp(2.55rem, 12vw, 3.75rem); }

  h2 { font-size: clamp(1.9rem, 9vw, 2.65rem); }

  .hero { padding: 38px 0 34px; }

  .program-section,
  .framework-section,
  .life-section,
  .guide-section,
  .details-section,
  .pricing-section,
  .consult-section,
  .faq-section {
    padding: 36px 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button { width: 100%; }

  .guided-route-visual { min-height: 460px; }

  .guided-route-copy h2 { font-size: 3rem; }

  .guided-route-steps { padding: 20px 14px; }

  .route-line { left: 41px; }

  .route-step {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .route-icon { display: none; }

  .route-step > div:last-child { grid-column: 2; }

  .guided-banner-section { padding: 24px 0; }

  .guided-banner-image {
    width: min(100% - 28px, 1180px);
    min-height: 280px;
  }

  .support-panel article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .details-list { grid-template-columns: 1fr; }

  .details-list article,
  .details-list article:nth-child(2),
  .details-list article:nth-child(3),
  .details-list article:nth-child(4) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .details-list article:last-child { border-bottom: 0; }

  .life-photo { min-height: 280px; }

  .price-panel,
  .included-panel {
    border-radius: 18px;
  }

  .consult-form { padding: 20px; }

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