:root {
  --bg: #ffffff;
  --bg-soft: #f3f6f4;
  --bg-mist: #e7eee9;
  --ink: #1c2420;
  --ink-muted: #5a675f;
  --accent: #2f5d50;
  --accent-deep: #23463c;
  --accent-soft: #d7e6df;
  --line: #d5ddd8;
  --danger: #8b3a3a;
  --success: #2a6b4f;
  --shadow-soft: 0 18px 40px rgba(28, 36, 32, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #e8f1ec 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #eef3f0 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.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: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.inline-error {
  background: #f8e8e8;
  color: var(--danger);
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(213, 221, 216, 0.8);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.logo-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.4rem;
  background:
    linear-gradient(145deg, var(--accent) 0%, #4a8572 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--accent-deep);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle-bar {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-weight: 560;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn-light {
  background: #fff;
  color: var(--accent-deep);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.section {
  padding: var(--space-5) 0;
}

.section-tight {
  padding: var(--space-4) 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-4);
}

.section-head p {
  font-size: 1.08rem;
}

.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 32, 28, 0.25) 0%, rgba(20, 32, 28, 0.72) 70%),
    linear-gradient(90deg, rgba(20, 32, 28, 0.55) 0%, transparent 55%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: var(--space-6) 0 var(--space-5);
  max-width: 40rem;
}

.hero-home-content .brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  color: #e8f2ed;
}

.hero-home-content h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-home-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 0;
  text-align: center;
}

.trust-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.trust-grid span {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

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

.course-preview-media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-soft);
}

.course-preview-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem 0 1.75rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.benefit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.benefit-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.benefit-index {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}

.quote-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.quote-panel blockquote {
  margin: 0;
  padding: 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
}

.quote-panel blockquote p {
  color: #fff;
  margin: 0;
}

.quote-side {
  display: grid;
  gap: 1rem;
}

.quote-side article {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.quote-side p {
  margin-bottom: 0.75rem;
}

.quote-side footer {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 560;
}

.cta-band {
  margin: var(--space-5) auto;
  width: min(100% - 2.5rem, var(--max));
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 4vw, 3.25rem);
  background:
    linear-gradient(135deg, rgba(47, 93, 80, 0.94), rgba(35, 70, 60, 0.96)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1400&q=80")
      center/cover;
  color: #fff;
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1.4fr auto;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 36rem;
}

.page-hero {
  padding: var(--space-5) 0 var(--space-4);
}

.page-hero .wrap {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}

.page-hero.with-media {
  max-width: none;
}

.page-hero.with-media .wrap {
  max-width: var(--max);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.5rem;
}

.page-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-soft);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-tile {
  display: grid;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.program-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.program-tile h3 {
  margin-bottom: 0.35rem;
}

.program-tile p {
  margin: 0;
}

.price-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-tier {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f4faf7 0%, #fff 45%);
}

.price-tier h3 {
  margin: 0;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
}

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

.price-tier ul {
  margin: 0.5rem 0 1rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-tier li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.55rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.price-tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.note {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

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

.review-item {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
}

.review-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  margin-top: 2rem;
}

.case-study img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2rem;
}

.prose-wide {
  max-width: 46rem;
}

.modules {
  display: grid;
  gap: 1rem;
}

.module {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  background: #fff;
}

.module h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 560;
  color: var(--ink);
}

.faq p {
  margin-top: 0.75rem;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

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

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

.contact-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-card p {
  margin-bottom: 0.85rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 560;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.field-error {
  margin: 0.4rem 0 0;
  color: var(--danger);
  font-size: 0.9rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status-success {
  background: #e7f5ee;
  color: var(--success);
}

.form-status-error {
  background: #f8e8e8;
  color: var(--danger);
}

.legal-body {
  max-width: 46rem;
  padding-bottom: var(--space-5);
}

.legal-body h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
}

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

.legal-body th,
.legal-body td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal-body th {
  background: var(--bg-soft);
}

.site-footer {
  margin-top: var(--space-5);
  background: #17211d;
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-5) 0 1.5rem;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-tagline,
.footer-contact p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

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

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  animation: slideUp 0.45s ease;
}

.cookie-banner-inner {
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-5) 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-feature img {
  width: 100%;
  border-radius: var(--radius);
  min-height: 320px;
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 1.25rem;
  border-left: 2px solid var(--accent-soft);
  padding-left: 1.25rem;
}

.timeline article h3 {
  margin-bottom: 0.3rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

[data-reveal].is-revealed {
  animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .course-preview,
  .quote-panel,
  .page-hero.with-media .wrap,
  .contact-layout,
  .case-study,
  .split-feature,
  .cta-band,
  .footer-inner,
  .price-tiers,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
    display: none;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.35rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .instructor {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
