:root {
  --ink: #132822;
  --ink-soft: #2a433c;
  --mist: #eef3f0;
  --fog: #d7e3dc;
  --paper: #f5f8f6;
  --brass: #b8923f;
  --brass-deep: #8f6f2c;
  --clay: #5c6e66;
  --line: rgba(19, 40, 34, 0.12);
  --shadow: 0 18px 40px rgba(19, 40, 34, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::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%, rgba(184, 146, 63, 0.14), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(88, 130, 112, 0.16), transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, var(--paper) 40%, #eef4f0 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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;
}

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #f4d6d0;
  color: #5a2218;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(245, 248, 246, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 248, 246, 0.95);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  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(--brass) 0%, var(--brass-deep) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

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

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

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

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

.site-nav .nav-cta {
  background: var(--ink);
  color: var(--mist);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

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

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}

.nav-toggle-bar {
  width: 1rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.nav-toggle-label {
  font-size: 0.85rem;
  font-weight: 600;
}

main {
  overflow-x: clip;
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: #f4f8f5;
}

.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-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 28, 24, 0.35) 0%, rgba(12, 28, 24, 0.72) 70%, rgba(12, 28, 24, 0.9) 100%);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  max-width: 12ch;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  max-width: 28ch;
  margin-bottom: 0.75rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero-lead {
  max-width: 42ch;
  color: rgba(244, 248, 245, 0.88);
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  animation: riseIn 0.9s ease 0.22s both;
}

.hero-actions {
  animation: riseIn 0.9s ease 0.32s both;
}

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

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

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

.btn-primary:hover {
  background: #c9a354;
  color: var(--ink);
}

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

.btn-secondary:hover {
  background: rgba(244, 248, 245, 0.1);
  color: #fff;
}

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

.btn-dark {
  background: var(--ink);
  color: var(--mist);
}

.btn-dark:hover {
  background: var(--ink-soft);
  color: #fff;
}

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

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

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

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

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

.muted {
  color: var(--clay);
}

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

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

.band {
  background:
    linear-gradient(120deg, rgba(19, 40, 34, 0.94), rgba(36, 68, 58, 0.92)),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #f2f7f4;
  margin: 1rem 0;
}

.band .section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.band a {
  color: #ecd9a4;
}

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

.stat {
  border-top: 2px solid rgba(212, 181, 106, 0.55);
  padding-top: 0.9rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.stat span {
  color: rgba(242, 247, 244, 0.78);
  font-size: 0.95rem;
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.4rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.review-grid {
  grid-template-columns: repeat(2, 1fr);
}

.media-card,
.tier,
.review-card,
.module,
.faq-item,
.case-study {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-card img,
.blog-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.media-card-body,
.tier,
.review-card,
.module,
.faq-item,
.case-study {
  padding: 1.25rem 1.3rem 1.4rem;
}

.media-card h3,
.tier h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.8rem;
}

.price small {
  font-size: 0.95rem;
  color: var(--clay);
  font-family: var(--font-body);
  font-weight: 500;
}

.tier.featured {
  background: linear-gradient(180deg, #16352e 0%, #1d443b 100%);
  color: #f2f7f4;
  border-color: transparent;
}

.tier.featured .muted,
.tier.featured small {
  color: rgba(242, 247, 244, 0.75);
}

.tier ul,
.outcome-list,
.legal-list {
  padding-left: 1.1rem;
  margin: 0 0 1.2rem;
}

.tier li,
.outcome-list li,
.legal-list li {
  margin-bottom: 0.4rem;
}

.quote {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.quote-meta {
  font-size: 0.92rem;
  color: var(--clay);
}

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

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 1.5rem;
}

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

.page-hero-panel {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: end;
  color: #f4f8f5;
  overflow: hidden;
}

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

.page-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 28, 24, 0.25), rgba(12, 28, 24, 0.82));
}

.page-hero-panel .page-hero {
  position: relative;
  z-index: 1;
  padding-bottom: 2.5rem;
}

.page-hero-panel h1,
.page-hero-panel p {
  color: #f4f8f5;
}

.prose {
  max-width: 680px;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.2rem 0 1.8rem;
}

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

.prose th {
  background: rgba(215, 227, 220, 0.55);
  font-family: var(--font-display);
  font-weight: 700;
}

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(184, 146, 63, 0.45);
  border-color: var(--brass);
}

.field-error {
  color: #8a2f22;
  font-size: 0.88rem;
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
}

.form-status.is-success {
  background: #dceee3;
  color: #184632;
}

.form-status.is-error {
  background: #f4d6d0;
  color: #5a2218;
}

.address-block {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.module-list {
  display: grid;
  gap: 0.9rem;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

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

.site-footer {
  margin-top: 2rem;
  background: #10241f;
  color: #dce7e1;
  padding: 3rem 1.25rem 1.5rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #f2f7f4;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: #f2f7f4;
  margin-bottom: 0.65rem;
}

.footer-col a,
.footer-legal a {
  display: block;
  color: #c5d4cd;
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.footer-col a:hover,
.footer-legal a:hover {
  color: #ecd9a4;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(220, 231, 225, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

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

.footer-legal a {
  display: inline;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  background: #16352e;
  color: #eef3f0;
  border: 1px solid rgba(212, 181, 106, 0.35);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.cookie-banner a {
  color: #ecd9a4;
}

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

.cookie-banner .btn-ghost {
  color: #eef3f0;
  border-color: rgba(238, 243, 240, 0.3);
}

.cookie-banner .btn-primary {
  background: var(--brass);
  color: var(--ink);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(184, 146, 63, 0.18), rgba(215, 227, 220, 0.7));
  border: 1px solid var(--line);
}

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

.benefit {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.benefit h3 {
  font-size: 1.15rem;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
}

.timeline-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brass-deep);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: 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(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 960px) {
  .course-grid,
  .blog-grid,
  .tier-grid,
  .review-grid,
  .stat-row,
  .split,
  .contact-layout,
  .footer-grid,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .split img {
    min-height: 240px;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    right: 0;
    background: rgba(245, 248, 246, 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;
  }

  .header-inner {
    position: relative;
  }

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

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  .hero-content {
    padding-top: 4rem;
  }
}
