:root {
  --bg: #f7f6f2;
  --bg-elevated: #ffffff;
  --ink: #16201e;
  --ink-soft: #3d4a47;
  --muted: #6a7572;
  --line: #d9ddd9;
  --accent: #0b3d3a;
  --accent-hover: #0f524e;
  --accent-soft: #dceae7;
  --highlight: #c4a574;
  --danger: #8b2e2e;
  --success: #1f5c45;
  --shadow: 0 18px 40px rgba(22, 32, 30, 0.08);
  --radius: 2px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 165, 116, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(11, 61, 58, 0.08), transparent 50%),
    var(--bg);
  line-height: 1.65;
  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-hover);
}

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

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 246, 242, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 246, 242, 0.96);
}

.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: 1.5rem;
}

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

.brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  background: var(--accent);
  border-radius: 50% 50% 20% 50%;
  transform: rotate(-18deg);
  animation: brandPulse 4.5s ease-in-out infinite;
}

@keyframes brandPulse {
  0%, 100% { transform: rotate(-18deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.06); }
}

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

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

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

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

.site-nav a:hover::after {
  width: 100%;
}

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

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

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

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #f4f7f6;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

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

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 61, 58, 0.25) 0%, rgba(11, 61, 58, 0.72) 55%, rgba(8, 28, 26, 0.92) 100%);
  z-index: 1;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 1.2rem;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.15s;
}

.hero h1 {
  color: #f7f6f2;
  max-width: 14ch;
  margin-bottom: 1rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.35s;
}

.hero-lead {
  max-width: 36rem;
  color: rgba(244, 247, 246, 0.88);
  font-size: 1.08rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.55s;
}

.hero-actions {
  margin-top: 1.8rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.7s;
}

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

.section {
  padding: 5.5rem 0;
}

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

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

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

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

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

.feature-list li {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

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

.course-grid,
.blog-grid,
.price-grid,
.review-grid {
  display: grid;
  gap: 1.75rem;
}

.course-grid { grid-template-columns: repeat(3, 1fr); }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.review-grid { grid-template-columns: repeat(2, 1fr); }

.media-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-tile .body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.media-tile h3 {
  margin-bottom: 0.5rem;
}

.media-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.media-tile h3 a:hover {
  color: var(--accent);
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.proof-band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

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

.proof-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.proof-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-block {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 1.6rem;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.4;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

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

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

.page-hero p {
  max-width: 40rem;
  font-size: 1.08rem;
}

.page-hero-media {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose ul, .prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.prose li { margin-bottom: 0.45rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}

.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

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

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--accent);
  margin: 0.4rem 0 1rem;
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  flex: 1;
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2rem;
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}

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

label {
  font-size: 0.92rem;
  color: var(--ink);
}

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

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

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

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

.form-status.is-success {
  display: block;
  border-color: var(--success);
  background: #e8f4ee;
  color: var(--success);
}

.form-status.is-error {
  display: block;
  border-color: var(--danger);
  background: #f7ecec;
  color: var(--danger);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.contact-aside {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.6rem;
  align-self: start;
}

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

.module-list li {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.1rem 1.25rem;
}

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

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

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

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

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

.site-footer {
  margin-top: 4rem;
  background: #102523;
  color: rgba(244, 247, 246, 0.82);
  padding: 3.5rem 0 1.5rem;
}

.site-footer a {
  color: rgba(244, 247, 246, 0.82);
  text-decoration: none;
}

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

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #f4f7f6;
  margin-bottom: 0.6rem;
}

.footer-tag,
.footer-contact p {
  color: rgba(244, 247, 246, 0.72);
  font-size: 0.92rem;
}

.footer-heading {
  color: #f4f7f6;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

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

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

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 247, 246, 0.15);
  font-size: 0.85rem;
  color: rgba(244, 247, 246, 0.55);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: riseIn 0.4s ease;
}

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

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

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2.5rem, var(--max));
  padding: 0.85rem 1rem;
  background: #f7ecec;
  color: var(--danger);
  border: 1px solid #e2bcbc;
}

.case-study {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 2rem;
  margin-top: 1.5rem;
}

.stars {
  color: var(--highlight);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.cta-band {
  background: var(--accent);
  color: #f4f7f6;
  padding: 4rem 0;
}

.cta-band h2,
.cta-band p {
  color: #f4f7f6;
}

.cta-band p {
  max-width: 34rem;
  opacity: 0.9;
}

.cta-band .btn {
  background: #f4f7f6;
  color: var(--accent);
  border-color: #f4f7f6;
  margin-top: 0.5rem;
}

.cta-band .btn:hover {
  background: #fff;
}

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

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

@media (max-width: 960px) {
  .course-grid,
  .blog-grid,
  .price-grid,
  .proof-row,
  .footer-grid,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 246, 242, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
    display: none;
  }

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

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

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

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