@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --pine:        #3d6b55;
  --pine-dark:   #2a4d3c;
  --pine-light:  #e8f0eb;
  --ivory:       #f8f4ee;
  --ivory-deep:  #ede7dc;
  --blush:       #e8c4bb;
  --blush-mid:   #d4a49a;
  --gold:        #c9a84c;
  --gold-soft:   #f0e3b8;
  --mist:        #d8dfe6;
  --mist-dark:   #8a97a4;
  --ink:         #1e2a24;
  --ink-soft:    #3b4a41;
  --ink-muted:   #5f7066;
  --white:       #ffffff;
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --shadow-xs:   0 1px 3px rgba(30,42,36,.08);
  --shadow-sm:   0 3px 12px rgba(30,42,36,.10);
  --shadow-md:   0 8px 28px rgba(30,42,36,.12);
  --shadow-lg:   0 20px 60px rgba(30,42,36,.14);
  --font-serif:  'Lora', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --ease-out:    cubic-bezier(.22,.68,0,1.2);
}

/* ─── BASE ───────────────────────────────────────────────── */
html, body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
}

/* ─── CONTAINER ──────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 600;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); }
h5 { font-size: 1rem; }

p {
  font-size: clamp(.9375rem, 1.1vw, 1.0625rem);
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 68ch;
}
p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 56ch;
}

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

/* ─── LINKS ──────────────────────────────────────────────── */
a.txt-link {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
a.txt-link:hover { color: var(--pine-dark); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .9375rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-xl);
  padding: .75rem 1.75rem;
  transition: transform .22s var(--ease-out), box-shadow .22s, background .2s, color .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--pine);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(61,107,85,.30);
}
.btn-primary:hover {
  background: var(--pine-dark);
  box-shadow: 0 8px 28px rgba(61,107,85,.38);
}

.btn-outline {
  background: transparent;
  color: var(--pine);
  border: 1.5px solid var(--pine);
}
.btn-outline:hover {
  background: var(--pine-light);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: rgba(255,255,255,.55);
  color: var(--ink);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.7);
}
.btn-ghost:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(201,168,76,.30);
}
.btn-gold:hover {
  background: #b8952e;
  box-shadow: 0 8px 28px rgba(201,168,76,.40);
}

.btn-sm { padding: .55rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: .9rem 2.25rem; font-size: 1.0625rem; }

/* ─── EYEBROW ────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pine);
  background: var(--pine-light);
  padding: .3rem .85rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}
.eyebrow--blush {
  color: #8c4a3f;
  background: #f7e8e5;
}
.eyebrow--gold {
  color: #7a5c10;
  background: var(--gold-soft);
}

/* ─── SECTION SPACING ────────────────────────────────────── */
.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}
.section--sm { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--lg { padding-block: clamp(6rem, 12vw, 11rem); }

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header p {
  margin-top: .85rem;
  color: var(--ink-muted);
}

/* ─── SITE HEADER / NAV ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,244,238,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216,223,230,.55);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  gap: 1rem;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 2vw, 1.75rem);
}
.nav-right { justify-content: flex-end; }

.nav-link {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .01em;
  position: relative;
  padding-block: .25rem;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--pine);
  border-radius: 2px;
  transition: width .25s var(--ease-out);
}
.nav-link:hover { color: var(--pine-dark); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--pine-dark); }
.nav-link.active::after { width: 100%; }

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  text-decoration: none;
  justify-self: center;
}
.nav-brand__logo {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.nav-brand__wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pine-dark);
  letter-spacing: -.02em;
}
.nav-brand__tagline {
  font-size: .7rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-cta { margin-left: .5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s, opacity .2s;
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--mist);
}
.nav-drawer .nav-link {
  padding: .6rem 0;
  font-size: 1rem;
}
.nav-drawer .btn { align-self: flex-start; margin-top: .5rem; }

@media (max-width: 820px) {
  .nav-left, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .nav-brand { justify-self: start; }
  .nav-drawer.open { display: flex; }
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--ivory) 0%, #eef4f0 55%, var(--ivory-deep) 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,196,187,.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(61,107,85,.09) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(4.5rem, 10vw, 9rem);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.hero-copy h1 {
  color: var(--ink);
  max-width: 14ch;
}
.hero-copy h1 em {
  color: var(--pine);
  font-style: italic;
}
.hero-copy .lead { max-width: 44ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: .5rem;
}
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--pine-light);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 1.5rem; left: -1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .85rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  min-width: 180px;
}
.hero-badge__icon {
  width: 38px; height: 38px;
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy { align-items: center; }
  .hero-copy h1 { max-width: 100%; }
  .hero-media { max-width: 360px; margin: 0 auto; }
  .hero-badge { left: .5rem; }
}

/* ─── CARDS ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(216,223,230,.5);
  transition: transform .28s var(--ease-out), box-shadow .28s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: var(--pine-light);
  flex-shrink: 0;
}
.card__icon--blush { background: #f7e8e5; }
.card__icon--gold  { background: var(--gold-soft); }
.card__icon--mist  { background: var(--mist); }

.card h3 { font-size: 1.15rem; color: var(--ink); }
.card p   { font-size: .9375rem; color: var(--ink-muted); margin: 0; max-width: 100%; }

/* Course card variant */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(216,223,230,.5);
  transition: transform .28s var(--ease-out), box-shadow .28s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.course-card__thumb {
  aspect-ratio: 16/9;
  background: var(--pine-light);
  overflow: hidden;
}
.course-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.course-card:hover .course-card__thumb img { transform: scale(1.04); }
.course-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 1;
}
.course-card__tag {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pine);
}
.course-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.35;
}
.course-card__meta {
  display: flex;
  gap: 1rem;
  font-size: .8375rem;
  color: var(--ink-muted);
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid var(--mist);
}

/* ─── STATS ──────────────────────────────────────────────── */
.stats-band {
  background: var(--pine-dark);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.stat-item {}
.stat-item__number {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-item__label {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-top: .45rem;
  font-weight: 400;
  letter-spacing: .03em;
}
.stat-item__accent {
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: .65rem auto 0;
}

/* ─── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(232,196,187,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 5% 100%, rgba(201,168,76,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.cta-inner h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.cta-inner p  { color: rgba(255,255,255,.78); max-width: 46ch; margin-inline: auto; }
.cta-actions  { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: .5rem; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 780px; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--ink);
  transition: color .2s;
}
.faq-question:hover { color: var(--pine-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pine-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--pine);
  transition: transform .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--ink-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ─── CONTENT SECTION ────────────────────────────────────── */
.prose-section {
  background: var(--white);
}
.prose-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.prose-aside h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.prose-body p + p { margin-top: 1.1rem; }
.prose-body p { max-width: 100%; }

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

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand {}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
}
.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
}
.footer-brand__desc {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  max-width: 28ch;
}
.footer-brand__tagline {
  display: inline-block;
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .08em;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: color .2s, padding-left .2s;
}
.footer-links a:hover { color: var(--white); padding-left: .3rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  font-size: .8375rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* ─── MISC / UTILITIES ───────────────────────────────────── */
.bg-ivory    { background: var(--ivory); }
.bg-white    { background: var(--white); }
.bg-pine     { background: var(--pine); }
.bg-pine-lt  { background: var(--pine-light); }
.bg-blush    { background: #f7e8e5; }
.bg-gold-lt  { background: var(--gold-soft); }
.text-center { text-align: center; }
.text-pine   { color: var(--pine); }

.divider {
  border: none;
  border-top: 1px solid var(--mist);
  margin-block: 2rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: .28rem .8rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 500;
  background: var(--pine-light);
  color: var(--pine-dark);
}

/* ─── SCROLL REVEAL (no-JS fallback is fine) ─────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* ─── FORM ───────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--mist);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  font-size: .9375rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(61,107,85,.12);
}
.form-control::placeholder { color: var(--mist-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ─── INLINE SVG ICON HELPER ─────────────────────────────── */
.icon { display: inline-flex; align-items: center; flex-shrink: 0; } img,svg,video{max-width:100%;height:auto} html{-webkit-text-size-adjust:100%} *{box-sizing:border-box} 