:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --bg-muted: #e8efec;
  --ink: #1a2421;
  --ink-soft: #4a5853;
  --line: #d5e0db;
  --accent: #1f5c4f;
  --accent-soft: #a8d5c8;
  --accent-deep: #144039;
  --warn: #8a3b2c;
  --ok: #1f5c4f;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(20, 64, 57, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 1120px;
  --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: 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);
  line-height: 1.15;
  font-weight: 560;
  letter-spacing: -0.02em;
  margin: 0 0 0.65em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

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

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.35rem;
  background: linear-gradient(145deg, var(--accent) 0%, #2f8a74 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

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

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

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
}

.site-nav .nav-cta:hover {
  background: var(--accent-deep);
  color: #fff;
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 0.28rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  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);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

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

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 35, 31, 0.35) 0%, rgba(15, 35, 31, 0.78) 70%, rgba(15, 35, 31, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  margin: 0 0 0.35rem;
  color: #fff;
  letter-spacing: -0.035em;
}

.hero-line {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.hero-support {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(ellipse at top right, rgba(168, 213, 200, 0.35), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), #fff 80%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero p {
  max-width: 42rem;
}

.page-hero-media {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 320px;
}

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

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-muted {
  background: var(--bg-soft);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

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

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

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.proof-item span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.feature-list {
  display: grid;
  gap: 1.5rem;
}

.feature-list article {
  padding-left: 1.15rem;
  border-left: 3px solid var(--accent-soft);
}

.feature-list h3 {
  margin-bottom: 0.35rem;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

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

.program-card,
.post-card,
.price-card,
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.program-card:hover,
.post-card:hover,
.price-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-3px);
}

.program-card img,
.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.card-body p {
  margin: 0;
  flex: 1;
}

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

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

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

.quote p {
  font-size: 1.05rem;
  color: var(--ink);
}

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

.cta-band {
  background:
    linear-gradient(135deg, var(--accent-deep), var(--accent) 55%, #2f8a74);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.cta-band h2,
.cta-band p {
  color: #fff;
  margin: 0;
}

.cta-band p {
  opacity: 0.9;
  margin-top: 0.45rem;
  max-width: 36rem;
}

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

.cta-band .btn-primary:hover {
  background: var(--accent-soft);
}

/* Pricing */
.price-card {
  padding: 1.5rem;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--ink);
  margin: 0.4rem 0 1rem;
}

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

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.price-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--bg-muted);
  color: var(--ink-soft);
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

.field-error {
  color: var(--warn);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e8f5f0;
  color: var(--ok);
  border: 1px solid var(--accent-soft);
}

.form-status.is-error {
  display: block;
  background: #f8ece9;
  color: var(--warn);
  border: 1px solid #e5c2b8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.contact-panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.contact-panel address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* Blog article */
.article {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

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

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

/* Legal */
.legal {
  max-width: 48rem;
  padding: 2.5rem 0 4rem;
}

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

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

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

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

/* Modules / FAQ */
.module-list,
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.module,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: #fff;
}

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

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

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

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

.case-study {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 1.25rem;
}

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

/* Footer */
.site-footer {
  background: #122824;
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 0.65rem;
}

.footer-tag,
.footer-address {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

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

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

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-soft);
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.footer-base p {
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 560px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  animation: riseIn 0.45s ease both;
}

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

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.inline-error {
  background: #f8ece9;
  color: var(--warn);
  border: 1px solid #e5c2b8;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent-soft);
  line-height: 1;
  margin: 0;
}

/* Animations */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 920px) {
  .split,
  .contact-grid,
  .quote-grid,
  .card-grid,
  .footer-grid,
  .proof-bar {
    grid-template-columns: 1fr;
  }

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

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

  .nav-toggle {
    display: inline-block;
  }

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

  .site-nav.is-open {
    display: flex;
  }

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

@media (min-width: 700px) and (max-width: 920px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}
