:root {
  --ink: #14221f;
  --ink-soft: #3a4d48;
  --mist: #e8efec;
  --paper: #f5f8f6;
  --surface: #ffffff;
  --teal: #0f4c45;
  --teal-mid: #1a6b61;
  --teal-soft: #d5e8e3;
  --amber: #c9852a;
  --amber-deep: #9a6420;
  --line: rgba(20, 34, 31, 0.12);
  --shadow: 0 18px 50px rgba(15, 76, 69, 0.12);
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Public Sans", sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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(26, 107, 97, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(201, 133, 42, 0.1), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 40%, var(--paper) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

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(14px);
  background: rgba(245, 248, 246, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  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.4rem;
  background: linear-gradient(145deg, var(--teal) 0%, var(--teal-mid) 55%, var(--amber) 130%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

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

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

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

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

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

.nav-cta:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
}

main {
  overflow-x: clip;
}

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 28, 25, 0.25) 0%, rgba(10, 28, 25, 0.55) 45%, rgba(10, 28, 25, 0.88) 100%),
    linear-gradient(90deg, rgba(15, 76, 69, 0.45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 4rem;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 0 0 0.35em;
  animation: riseIn 0.9s var(--ease) both;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 0.55em;
  animation: riseIn 0.9s 0.12s var(--ease) both;
}

.hero-lead {
  max-width: 38ch;
  font-size: 1.08rem;
  color: rgba(244, 247, 245, 0.9);
  margin-bottom: 1.6rem;
  animation: riseIn 0.9s 0.22s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s 0.32s var(--ease) both;
}

.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 var(--ease), background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--amber);
  color: #1a1408;
}

.btn-primary:hover {
  background: #d79a3d;
  color: #1a1408;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #f4f7f5;
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-solid {
  background: var(--teal);
  color: #f4f7f5;
}

.btn-solid:hover {
  background: var(--teal-mid);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--teal-soft);
  color: var(--teal);
}

.section {
  padding: 5rem 0;
}

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 18ch;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 1.05rem;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 0.75rem;
}

.proof-band {
  background: var(--teal);
  color: #eef6f3;
  padding: 1.75rem 0;
}

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

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

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

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

.split-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 2px;
}

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

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

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--amber);
  border-radius: 1px;
}

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

.program-item {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-top: 2px solid var(--teal);
  padding-top: 1.25rem;
}

.program-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: saturate(0.92);
  transition: transform 0.5s var(--ease), filter 0.4s ease;
}

.program-item:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.program-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.program-item p {
  color: var(--ink-soft);
  flex: 1;
}

.program-item .meta {
  font-size: 0.85rem;
  color: var(--teal-mid);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.quote-panel {
  background: linear-gradient(135deg, var(--teal) 0%, #163d38 100%);
  color: #edf5f2;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.quote-panel::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(201, 133, 42, 0.18);
}

.quote-panel blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  position: relative;
  max-width: 28ch;
}

.quote-panel cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.95rem;
  opacity: 0.85;
}

.journal-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.journal-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.journal-row:hover {
  opacity: 0.85;
}

.journal-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.journal-row time {
  font-size: 0.82rem;
  color: var(--teal-mid);
  font-weight: 600;
}

.cta-band {
  margin: 2rem 0 5rem;
  background:
    linear-gradient(120deg, rgba(15, 76, 69, 0.92), rgba(20, 34, 31, 0.88)),
    url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #f3f7f5;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-band h2 {
  max-width: 16ch;
  margin: 0 auto 0.6rem;
}

.cta-band p {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.page-hero {
  padding: 4rem 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.bleed-hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  color: #f4f7f5;
  margin-bottom: 2rem;
}

.bleed-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bleed-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 28, 25, 0.2), rgba(12, 28, 25, 0.82));
}

.bleed-hero .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
  padding-top: 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.price-tier {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.price-tier:hover {
  border-color: var(--teal-mid);
  transform: translateY(-4px);
}

.price-tier.featured {
  background: var(--teal);
  color: #eef5f2;
  border-color: var(--teal);
}

.price-tier.featured .price,
.price-tier.featured p {
  color: inherit;
}

.price-tier h3 {
  font-size: 1.35rem;
  margin: 0;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--teal);
}

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

.price-tier ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: grid;
  gap: 0.55rem;
  flex: 1;
  color: inherit;
  opacity: 0.92;
}

.review-stack {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.review {
  border-left: 3px solid var(--amber);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

.review p {
  margin-bottom: 0.6rem;
}

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

.stars {
  color: var(--amber-deep);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.case-study {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--teal-soft);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

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

.form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius);
}

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

.field-error {
  color: #9b2c2c;
  font-size: 0.85rem;
  min-height: 1.1em;
}

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

.form-status.show {
  display: block;
}

.form-status.success {
  background: #dceee8;
  color: #0f4c45;
}

.form-status.error {
  background: #f8e1e1;
  color: #7a1f1f;
}

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

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.contact-aside h2 {
  font-size: 1.3rem;
}

.legal {
  max-width: 72ch;
}

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

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

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

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

.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.module-list li {
  counter-increment: mod;
  padding: 1rem 1rem 1rem 3.5rem;
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

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

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

.site-footer {
  background: #10231f;
  color: #d5e0dc;
  margin-top: 2rem;
  padding: 3.5rem 1.25rem 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #f3f7f5;
  margin: 0 0 0.6rem;
}

.footer-tag {
  opacity: 0.8;
  max-width: 28ch;
}

.footer-heading {
  color: #f3f7f5;
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.footer-col a {
  color: #c9d7d2;
  text-decoration: none;
}

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

.footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

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

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

.footer-legal a {
  color: #c9d7d2;
  text-decoration: none;
}

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

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

.error-inline {
  background: #f8e1e1;
  color: #7a1f1f;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.page-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

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

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

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

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

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

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(245, 248, 246, 0.98);
    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.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0.2rem;
  }

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

  .proof-grid,
  .program-grid,
  .pricing-grid,
  .footer-grid,
  .split,
  .contact-grid,
  .journal-row {
    grid-template-columns: 1fr;
  }

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

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

  .hero-media img {
    transform: none;
  }
}
