:root {
  --ink: #12201c;
  --forest: #0d3b2e;
  --forest-deep: #08261d;
  --mist: #e7efe9;
  --paper: #f5f8f4;
  --brass: #b8893d;
  --brass-deep: #8f6a2c;
  --sage: #6f8f7e;
  --line: rgba(13, 59, 46, 0.14);
  --shadow: 0 18px 50px rgba(8, 38, 29, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

*,
*::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 600px at 10% -10%, rgba(184, 137, 61, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(13, 59, 46, 0.1), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--brass-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.6em;
}

p {
  margin: 0 0 1em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(245, 248, 244, 0.86);
  border-bottom: 1px solid var(--line);
  animation: headerIn 0.7s ease both;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 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.65rem;
  text-decoration: none;
  color: var(--forest-deep);
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 3px;
  background: linear-gradient(145deg, var(--forest) 0%, var(--brass) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

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

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

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

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

.nav-cta {
  background: var(--forest);
  color: var(--paper) !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: transform 0.25s ease, background 0.25s ease;
}

.nav-cta:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
  color: var(--paper) !important;
}

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

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

main {
  overflow: clip;
}

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

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 38, 29, 0.35) 0%, rgba(8, 38, 29, 0.72) 62%, rgba(8, 38, 29, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
  animation: riseIn 0.9s 0.1s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  max-width: 18ch;
  color: #f2f7f3;
  font-weight: 500;
}

.hero-lead {
  max-width: 38ch;
  font-size: 1.08rem;
  color: rgba(245, 248, 244, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: var(--brass);
  color: var(--forest-deep);
}

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

.btn-secondary {
  background: transparent;
  border-color: rgba(245, 248, 244, 0.45);
  color: var(--paper);
}

.btn-secondary:hover {
  border-color: var(--paper);
  color: var(--paper);
}

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--paper);
}

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

.section-tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

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

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brass-deep);
  margin-bottom: 0.65rem;
}

.proof-band {
  background: var(--forest);
  color: var(--paper);
  padding: 1.6rem 1.25rem;
}

.proof-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 550;
  margin-bottom: 0.2rem;
}

.proof-item span {
  color: rgba(245, 248, 244, 0.78);
  font-size: 0.95rem;
}

.feature-course {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

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

.benefit-list {
  display: grid;
  gap: 1.4rem;
}

.benefit-list article {
  padding-left: 1rem;
  border-left: 3px solid var(--brass);
}

.benefit-list h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.split-band {
  background: linear-gradient(120deg, rgba(13, 59, 46, 0.06), rgba(184, 137, 61, 0.1));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.quote {
  margin: 0;
  padding: 1.5rem 0;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}

.quote footer {
  color: var(--sage);
  font-size: 0.95rem;
}

.cta-panel {
  text-align: center;
  padding: 3.5rem 1.25rem 5rem;
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.2rem 1.25rem 1.5rem;
  animation: riseIn 0.75s ease both;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 48ch;
  color: rgba(18, 32, 28, 0.82);
}

.media-banner {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  min-height: 240px;
}

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

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

.program-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.program-link:hover {
  transform: translateY(-4px);
  color: inherit;
}

.program-link img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}

.program-link h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.program-link p {
  color: rgba(18, 32, 28, 0.78);
  margin: 0;
}

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

.tier {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.45);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.tier:hover {
  border-color: rgba(13, 59, 46, 0.35);
  transform: translateY(-3px);
}

.tier.featured {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

.tier h3 {
  font-size: 1.55rem;
}

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

.tier ul {
  padding-left: 1.1rem;
  margin: 0 0 1.4rem;
}

.tier.featured .btn-outline {
  border-color: rgba(245, 248, 244, 0.55);
  color: var(--paper);
}

.tier.featured .btn-outline:hover {
  background: var(--paper);
  color: var(--forest);
}

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

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

.review .stars {
  color: var(--brass-deep);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.review cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  color: var(--sage);
}

.case-study {
  background: rgba(13, 59, 46, 0.06);
  padding: 1.6rem;
  border-radius: var(--radius);
}

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

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.blog-item:hover {
  color: inherit;
}

.blog-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
}

.article .cover {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1rem 0 1.75rem;
}

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

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

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

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

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(13, 59, 46, 0.25);
  border-color: var(--forest);
}

.field-error {
  color: #8a2a2a;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.1em;
}

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

.form-status.is-success {
  display: block;
  background: rgba(13, 59, 46, 0.12);
  color: var(--forest-deep);
}

.form-status.is-error {
  display: block;
  background: rgba(138, 42, 42, 0.1);
  color: #8a2a2a;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}

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

.legal th {
  background: rgba(13, 59, 46, 0.06);
}

.site-footer {
  background: var(--forest-deep);
  color: rgba(245, 248, 244, 0.86);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.65rem;
}

.footer-col a {
  display: block;
  color: rgba(245, 248, 244, 0.78);
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--brass);
}

.footer-contact p {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.footer-base {
  border-top: 1px solid rgba(245, 248, 244, 0.12);
  padding: 1rem 1.25rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.88rem;
  color: rgba(245, 248, 244, 0.65);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  display: none;
  animation: riseIn 0.45s ease both;
}

.cookie-banner.is-visible {
  display: block;
}

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

.inline-error {
  margin: 1rem 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(138, 42, 42, 0.1);
  color: #8a2a2a;
  border-radius: var(--radius);
}

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

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.2rem;
}

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

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes imageDrift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-1.5%);
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 248, 244, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .proof-inner,
  .feature-course,
  .quote-grid,
  .grid-3,
  .grid-2,
  .price-tiers,
  .contact-layout,
  .blog-item,
  .instructor,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .blog-item img {
    height: 200px;
  }
}
