:root {
  --green-900: #1f3a2b;
  --green-700: #2f5d43;
  --green-500: #4f8a5b;
  --green-100: #e6efe3;
  --soil: #8a5a3b;
  --sun: #e8b44a;
  --cream: #faf7f0;
  --paper: #ffffff;
  --ink: #1d2420;
  --muted: #5b675f;
  --line: #dfe5da;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 58, 43, .06), 0 8px 24px rgba(31, 58, 43, .08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--green-900);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--tint { background: var(--green-100); }
.section--paper { background: var(--paper); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: .75rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-900); }
.btn--sun { background: var(--sun); color: var(--green-900); }
.btn--sun:hover { background: #f0c566; }
.btn--ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--ghost:hover { background: var(--green-700); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 1.3rem; color: var(--green-900); line-height: 1;
}
.brand__tag { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__links a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: 8px 14px; border-radius: 999px; font-size: .95rem;
}
.nav__links a:hover { background: var(--green-100); }
.nav__links a[aria-current="page"] { background: var(--green-100); color: var(--green-900); }
.nav__links .btn { padding: 9px 18px; color: #fff; margin-left: 6px; }
.nav__links .btn:hover { background: var(--green-900); }
.nav__toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green-900);
}

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__links .btn { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__sub { font-size: 1.2rem; color: var(--muted); margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { width: 100%; max-width: 360px; margin: 0 auto; }
}

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background:
  radial-gradient(1000px 300px at 90% 0%, rgba(232, 180, 74, .18), transparent 60%),
  radial-gradient(800px 300px at 0% 100%, rgba(79, 138, 91, .14), transparent 60%); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

/* Vertical stack: one card per row, icon beside the text */
.stack { grid-template-columns: 1fr; max-width: 820px; margin-left: auto; margin-right: auto; }
.stack .card { display: grid; grid-template-columns: 52px 1fr; column-gap: 24px; align-items: start; }
.stack .card__icon { grid-row: span 3; margin-bottom: 0; }
@media (max-width: 520px) {
  .stack .card { grid-template-columns: 1fr; }
  .stack .card__icon { grid-row: auto; margin-bottom: 18px; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(31,58,43,.06), 0 14px 32px rgba(31,58,43,.12); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700);
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card__num {
  font-family: "Fraunces", Georgia, serif; font-size: .95rem; color: var(--soil);
  font-weight: 600; margin-bottom: 6px; display: block;
}

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; font-weight: 500;
}
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--green-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Callout */
.callout {
  background: var(--green-900); color: #eaf2e6;
  border-radius: 20px; padding: 56px 48px;
  position: relative; overflow: hidden;
}
.callout h2 { color: #fff; }
.callout p { color: #cfe0cb; font-size: 1.1rem; max-width: 620px; }
.callout::after {
  content: ""; position: absolute; right: -80px; bottom: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,180,74,.35), transparent 70%);
}
@media (max-width: 640px) { .callout { padding: 40px 24px; } }

/* Program list */
.program {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.program:last-child { border-bottom: 0; }
.program__num {
  font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; font-weight: 600;
  color: var(--green-500); line-height: 1;
}
.program p { color: var(--muted); margin: 0; max-width: 680px; }
/* Module type (Beginner / Build / Design): outlined, not a topic pill */
.tag.tag--type {
  background: transparent; color: var(--soil);
  border: 1.5px solid rgba(138, 90, 59, .45);
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 10px 2px 8px;
}
.tag.tag--type::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--soil); margin-right: 6px; vertical-align: 1px;
}
.program--link {
  text-decoration: none; color: inherit;
  margin: 0 -20px; padding-left: 20px; padding-right: 20px; border-radius: var(--radius);
  transition: background .2s ease;
}
.program--link:hover { background: var(--green-100); }
.program--link:hover h3 { color: var(--green-700); }
.program__more {
  display: block; margin-top: 14px; font-weight: 600; font-size: .95rem; color: var(--green-700);
}
.program--link:hover .program__more span { display: inline-block; transform: translateX(4px); transition: transform .2s ease; }

/* Module detail page */
.module-hero__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.module-hero__num {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1rem;
  background: var(--green-700); color: #fff; border-radius: 999px; padding: 4px 14px;
}
.back-link {
  display: inline-flex; gap: 6px; align-items: center; margin-bottom: 1.5rem;
  text-decoration: none; font-weight: 600; font-size: .95rem;
}
.back-link:hover { text-decoration: underline; }
.intro-quote {
  font-family: "Fraunces", Georgia, serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.35; color: var(--green-900); margin: 0 0 1rem; max-width: 820px;
}
.explore-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.explore-list li {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green-500);
  border-radius: 10px; padding: 16px 18px;
}
@media (max-width: 720px) { .explore-list { grid-template-columns: 1fr; } }
.activity { display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
.activity__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--sun); color: var(--green-900);
  display: grid; place-items: center; font-size: 1.6rem;
}
.activity__icon svg { width: 28px; height: 28px; }
.nuggets { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .nuggets { grid-template-columns: 1fr; } }
.nugget {
  background: var(--green-900); color: #eaf2e6; border-radius: var(--radius); padding: 26px;
  position: relative;
}
.nugget::before {
  content: "Did you know?"; display: block; font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 8px;
}
.nugget p { margin: 0; font-size: 1.08rem; }
.nuggets--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .nuggets--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nuggets--3 { grid-template-columns: 1fr; } }

/* Build parts list */
.parts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.parts li {
  background: var(--paper); border: 1.5px dashed #b9c9b3; border-radius: 12px;
  padding: 18px; font-weight: 500; display: flex; flex-direction: column; gap: 10px;
}
.parts__n {
  font-family: "Fraunces", Georgia, serif; font-size: .85rem; font-weight: 600; color: var(--soil);
}
.note { margin-top: 20px; color: var(--muted); font-style: italic; }

/* Small illustrations at the top of explore cards */
.illus { background: #eef6fa; border-radius: 10px; padding: 12px 14px 8px; margin-bottom: 18px; }
.illus svg { width: 100%; height: auto; max-height: 130px; }
.illus text { font: 600 11px "Inter", system-ui, sans-serif; fill: #46606e; }
.emitters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.emitters figure { margin: 0; text-align: center; }
.emitters svg { max-height: 96px; }
.emitters figcaption { font-size: .72rem; font-weight: 600; color: #46606e; line-height: 1.2; margin-top: 2px; }

/* Numbered build steps */
.activity__icon--num {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.5rem;
}

.checklist--grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .checklist--grid { grid-template-columns: 1fr; } }
.callout ul { color: #cfe0cb; margin: 0 0 1.4em; padding-left: 1.2em; }
.callout li { margin-bottom: 4px; }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 600;
  background: var(--green-100); color: var(--green-700);
  padding: 3px 10px; border-radius: 999px; margin: 10px 6px 0 0;
}

/* Contact */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(79,138,91,.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .error { color: #b3261e; font-size: .85rem; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .error { display: block; }
.form-success {
  display: none; background: var(--green-100); border: 1px solid #c5dbc0;
  border-radius: 12px; padding: 20px; color: var(--green-900);
}
.form-success.is-visible { display: block; }
.contact-info { display: grid; gap: 16px; }
.contact-info .card { padding: 22px; }

/* Footer */
.site-footer { background: var(--green-900); color: #cfe0cb; padding: 48px 0 32px; margin-top: 0; }
.footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: #a9c3a4; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: #cfe0cb; text-decoration: none; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px;
  font-size: .88rem; color: #a9c3a4;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Step strip (idea → object → tool → solution) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  position: relative; background: var(--green-900); color: #fff; border-radius: var(--radius);
  padding: 22px 24px; font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-weight: 600; line-height: 1.25;
}
.step small {
  display: block; font-family: "Inter", system-ui, sans-serif; font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 6px;
}
.step:not(:last-child)::after {
  content: "→"; position: absolute; z-index: 1; right: -22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: var(--green-900);
  display: grid; place-items: center; font-family: "Inter", sans-serif; font-size: 1rem;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -22px; transform: translateX(50%); }
}

/* Plain bullet lists inside cards */
.bullets { margin: 10px 0 0; padding-left: 1.2em; columns: 2; column-gap: 24px; color: var(--muted); }
.bullets li { break-inside: avoid; margin-bottom: 4px; }
.bullets--3 { columns: 3; }
@media (max-width: 520px) { .bullets--3 { columns: 2; } }
.card p.card__foot { margin-top: 14px; color: var(--green-700); font-weight: 500; }
.card p + .bullets { margin-top: 6px; }
.pull-quote {
  margin: 0 0 1em; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--sun); line-height: 1.3;
}
.bullets--1 { columns: 1; }

/* Material → use mapping list */
.mapping { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.mapping li {
  display: grid; grid-template-columns: minmax(0, 8.5em) 1.5em minmax(0, 1fr); align-items: center;
  background: var(--cream); border-radius: 10px; padding: 10px 14px;
}
.mapping li span:first-child { font-weight: 600; color: var(--green-900); }
.mapping li span:nth-child(2) { color: var(--soil); font-weight: 600; }
.mapping li span:last-child { color: var(--muted); }

/* Concept cards: illustration beside content */
.concept { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.concept .illus { margin-bottom: 0; }
@media (max-width: 720px) { .concept { grid-template-columns: 1fr; gap: 18px; } }
.pull-quote--light { color: var(--green-700); }

/* Question list */
.ask { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.ask li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ask li::before {
  content: "?"; flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: var(--sun); color: var(--green-900); font-weight: 700; font-size: .85rem;
  display: grid; place-items: center;
}

/* Example quotes */
.quotes { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.quotes li {
  border-left: 3px solid var(--sun); padding: 4px 0 4px 14px;
  font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; color: var(--green-900);
}

/* Journey: numbered steps on a connecting line */
.journey { list-style: none; padding: 0; margin: 32px 0 0; position: relative; max-width: 920px; }
.journey::before {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 3px;
  background: #b9d3b3; border-radius: 3px;
}
.journey__step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; margin-bottom: 22px; }
.journey__step:last-child { margin-bottom: 0; }
.journey__marker {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  background: var(--sun); color: var(--green-900); display: grid; place-items: center;
  font-family: "Fraunces", Georgia, serif; font-size: 1.4rem; font-weight: 600;
  box-shadow: 0 0 0 6px var(--green-100);
}
.journey__body {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow);
}
.journey__body p { color: var(--muted); margin: 0; }
.journey__skill {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--soil); margin-bottom: 4px;
}
@media (max-width: 520px) {
  .journey::before { left: 17px; }
  .journey__step { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .journey__marker { width: 36px; height: 36px; font-size: 1.1rem; }
  .journey__body { padding: 20px; }
}

/* Row of small illustrated tiles */
.icon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 12px; margin-top: 16px; }
.icon-row figure {
  position: relative; margin: 0; background: #eef6fa; border-radius: 10px;
  padding: 12px 8px 10px; text-align: center;
}
.icon-row svg { width: 48px; height: 48px; margin: 0 auto 6px; }
.icon-row figcaption { font-size: .8rem; font-weight: 600; color: #46606e; line-height: 1.25; }
.icon-row--flow { gap: 22px; }
.icon-row--flow figure:not(:last-child)::after {
  content: "→"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%);
  color: var(--soil); font-weight: 700;
}
@media (max-width: 560px) { .icon-row--flow figure::after { display: none; } .icon-row--flow { gap: 12px; } }
@media (max-width: 560px) { .icon-row { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; } .icon-row figcaption { font-size: .74rem; } }

/* Inner page hero: text left, illustration right */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; }
.page-hero__art svg { width: 100%; height: auto; max-width: 340px; margin-left: auto; }
@media (max-width: 820px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .page-hero__art svg { max-width: 240px; margin: 0 auto; }
}

/* Module pages: All programs (left) + previous / next (right) */
.module-nav {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 10px 20px; margin-bottom: 28px;
}
.module-nav__steps { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.module-nav__link {
  display: inline-flex; gap: 6px; align-items: center;
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--green-700);
}
a.module-nav__link:hover { text-decoration: underline; }
.module-nav__num { font-family: "Fraunces", Georgia, serif; color: var(--soil); }
.module-nav__link.is-disabled { color: #b7bfb9; cursor: default; }
@media (max-width: 560px) {
  .module-nav { flex-direction: column; align-items: flex-start; }
  .module-nav__steps { width: 100%; justify-content: space-between; }
}

/* Contact form extras */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-error { margin: 0; color: #b3261e; font-size: .95rem; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
[hidden] { display: none !important; }
