:root {
  --ink: #2f2a26;
  --ink-soft: #5a524c;
  --paper: #faf6f0;
  --paper-deep: #f0e8dc;
  --sand: #e8d9c8;
  --clay: #c4785a;
  --clay-deep: #a45d42;
  --sage: #5c7a62;
  --sage-deep: #3f5745;
  --moss: #8fa98f;
  --cream: #fffaf4;
  --line: rgba(47, 42, 38, 0.12);
  --shadow: 0 18px 40px rgba(63, 52, 42, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --radius-pill: 999px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --max: 70rem;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(143, 169, 143, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 120, 90, 0.16), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 40%, var(--paper-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--sage-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--clay-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sage);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(250, 246, 240, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 70% 30%, var(--clay) 0 28%, transparent 29%),
    linear-gradient(145deg, var(--sage) 0%, var(--sage-deep) 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--sage-deep);
}

.nav-cta {
  background: var(--clay);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(164, 93, 66, 0.22);
}

.nav-cta:hover {
  background: var(--clay-deep);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--sand);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: block;
    animation: rise 0.35s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta {
    text-align: center;
  }
}

main {
  overflow-x: clip;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 12px 24px rgba(63, 87, 69, 0.22);
}

.btn-primary:hover {
  background: var(--sage-deep);
  color: #fff;
}

.btn-secondary {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--sand);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
  padding-inline: 0.5rem;
}

.hero-home {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: end;
  color: #fff;
}

.hero-home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(47, 42, 38, 0.78) 0%, rgba(47, 42, 38, 0.42) 48%, rgba(47, 42, 38, 0.2) 100%),
    linear-gradient(0deg, rgba(47, 42, 38, 0.55), transparent 45%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 1.25rem 3.5rem;
  animation: rise 0.8s ease both;
}

.hero-home .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero-home h1 {
  color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 28ch;
  margin: 0 0 1rem;
}

.hero-home p {
  max-width: 34rem;
  color: rgba(255, 250, 244, 0.9);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.proof-strip {
  background: var(--sage-deep);
  color: #f4ede3;
  padding: 1.4rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}

.proof-grid span {
  font-size: 0.92rem;
  opacity: 0.88;
}

@media (max-width: 700px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  background: rgba(255, 250, 244, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

.feature-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.feature-visual {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  animation: floaty 6s ease-in-out infinite;
}

.feature-visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

@media (max-width: 860px) {
  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-visual {
    transform: none;
    max-width: 28rem;
  }
}

.course-grid,
.card-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.35rem;
}

.course-card,
.blog-card,
.info-panel {
  background: rgba(255, 250, 244, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.course-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
}

.course-card img,
.blog-card img,
.page-hero img,
.article-hero img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.course-card-body,
.blog-card-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.course-card h3,
.blog-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.quote-stack {
  display: grid;
  gap: 1.25rem;
}

.quote {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  position: relative;
}

.quote::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--moss);
  line-height: 1;
  position: absolute;
  top: 0.4rem;
  left: 1rem;
  opacity: 0.55;
}

.quote p {
  margin-top: 0.6rem;
}

.quote footer {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta-ribbon {
  margin: 2rem 0 4rem;
  padding: 2.4rem;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(92, 122, 98, 0.95), rgba(63, 87, 69, 0.95)),
    var(--sage);
  color: #fff;
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1.4fr auto;
  box-shadow: var(--shadow);
  animation: rise 0.7s ease both;
}

.cta-ribbon h2 {
  color: #fff;
  margin: 0 0 0.4rem;
}

.cta-ribbon p {
  margin: 0;
  color: rgba(255, 250, 244, 0.9);
}

@media (max-width: 760px) {
  .cta-ribbon {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-grid img {
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

@media (max-width: 860px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
  background: rgba(255, 250, 244, 0.65);
}

.prose th {
  background: var(--sand);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: rgba(255, 250, 244, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card.featured {
  background: linear-gradient(180deg, #fffaf4, #efe4d4);
  border-color: rgba(92, 122, 98, 0.35);
  transform: translateY(-0.4rem);
}

.price-card h3 {
  margin: 0;
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0;
}

.price span {
  font-size: 1rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.price-card ul {
  margin: 0 0 1rem;
  flex: 1;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  background: rgba(255, 250, 244, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea,
select {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(92, 122, 98, 0.45);
  outline-offset: 1px;
}

.field-error {
  color: #9b3b2e;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.1em;
}

.form-status {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-weight: 600;
}

.form-status.success {
  background: rgba(92, 122, 98, 0.15);
  color: var(--sage-deep);
}

.form-status.error {
  background: rgba(155, 59, 46, 0.12);
  color: #9b3b2e;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-aside {
  background: var(--sage-deep);
  color: #f4ede3;
  border-radius: var(--radius);
  padding: 1.6rem;
}

.contact-aside a {
  color: #fff;
}

.contact-aside address {
  font-style: normal;
  margin-bottom: 1rem;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.module-list {
  display: grid;
  gap: 0.85rem;
}

.module {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  background: rgba(255, 250, 244, 0.75);
}

.module h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.faq details {
  background: rgba(255, 250, 244, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.instructor {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 250, 244, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.instructor img {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer {
  margin-top: 3rem;
  background: #2f2a26;
  color: #e8d9c8;
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
  color: #fffaf4;
}

.footer-tag {
  max-width: 28rem;
  color: rgba(232, 217, 200, 0.85);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.footer-heading {
  margin: 0 0 0.7rem;
  color: #fffaf4;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #e8d9c8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-copy {
  border-top: 1px solid rgba(232, 217, 200, 0.18);
  padding-top: 1.2rem;
  font-size: 0.9rem;
  color: rgba(232, 217, 200, 0.7);
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 40rem;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise 0.4s ease;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.error-inline {
  background: rgba(155, 59, 46, 0.12);
  color: #9b3b2e;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0;
  color: var(--sage);
}

.timeline {
  display: grid;
  gap: 1rem;
  border-left: 3px solid var(--sand);
  padding-left: 1.2rem;
  margin-top: 1.5rem;
}

.timeline h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.case-study {
  background: rgba(255, 250, 244, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.stat-pills span {
  background: var(--sand);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
