:root {
  --ink: #14110e;
  --ink-soft: #3a342c;
  --muted: #6f675d;
  --cream: #f4efe6;
  --cream-2: #ebe4d6;
  --paper: #faf7f1;
  --card: #fffcf7;
  --gold: #b08948;
  --gold-deep: #8c6a32;
  --gold-pale: #e6d6b4;
  --line: #d8cebc;
  --error: #8b3b30;
  --success: #2e5c44;
  --espresso: #16120e;
  --espresso-2: #221c16;
  --max: 1180px;
  --header-h: 76px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

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

.section {
  padding: 5.5rem 0;
}

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

.section-dark {
  background: var(--espresso);
  color: var(--cream);
}

.section-dark h2,
.section-dark h3 {
  color: var(--paper);
}

.section-tint {
  background: var(--cream);
}

.gold-rule {
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 1.4rem 0;
}

.inline-error,
.cookie-fallback-error {
  background: #f6e8e4;
  color: var(--error);
  border: 1px solid #e2c4bc;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  margin: 0.75rem 0;
}

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

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
}

.wordmark-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

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

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

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

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-deep) !important;
  padding: 0.45rem 0.9rem;
  letter-spacing: 0.04em;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--espresso) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--ink);
  margin: 0.28rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.78rem 1.25rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-gold {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--paper);
}

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

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--gold-pale);
}

.btn-light:hover {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.12rem;
}

.text-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Hero */
.hero-editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
  padding: 4.5rem 0 3.5rem;
}

.hero-editorial h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-copy p {
  max-width: 36rem;
  color: var(--ink-soft);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  height: 34rem;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(20, 17, 14, 0.86);
  color: var(--cream);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
}

/* Trust / quotes */
.quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem;
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
}

.quote-card footer {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

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

.step-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.step-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-deep);
}

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

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

.media-card,
.info-card,
.price-card,
.review-card,
.blog-card,
.case-card {
  background: var(--card);
  border: 1px solid var(--line);
}

.media-card img,
.blog-card img,
.course-hero img,
.cover-img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
}

.media-card .card-body,
.blog-card .card-body,
.info-card,
.price-card,
.review-card,
.case-card {
  padding: 1.35rem 1.4rem 1.5rem;
}

.media-card h3,
.blog-card h3,
.info-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.meta-line {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.benefit {
  border-top: 2px solid var(--gold);
  padding-top: 1.1rem;
}

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

/* Numbers */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(230, 214, 180, 0.35);
  border-bottom: 1px solid rgba(230, 214, 180, 0.35);
  padding: 2rem 0;
}

.stat-bar strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold-pale);
}

.stat-bar span {
  display: block;
  margin-top: 0.35rem;
  color: var(--cream-2);
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-band h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 0.4rem;
}

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

.price-card {
  padding: 1.8rem 1.55rem 1.7rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

.price-card.featured h3,
.price-card.featured .amount {
  color: var(--paper);
}

.price-card .amount {
  font-family: var(--serif);
  font-size: 2.3rem;
  margin: 0.4rem 0 0.8rem;
}

.price-card ul {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  color: inherit;
  flex: 1;
}

.price-card li + li {
  margin-top: 0.45rem;
}

.note-fine {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
}

.field {
  margin-bottom: 1.1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.72rem 0.8rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--gold-pale);
  border-color: var(--gold);
}

.field-error {
  color: var(--error);
  font-size: 0.86rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  font-size: 0.94rem;
}

.form-status.is-success {
  background: #e6f0ea;
  color: var(--success);
}

.form-status.is-error {
  background: #f6e8e4;
  color: var(--error);
}

.address-block {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.address-block h2 {
  font-size: 1.4rem;
}

/* Reviews */
.review-stack {
  display: grid;
  gap: 1.2rem;
}

.review-card.wide {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
}

.review-card .stars {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.88);
}

/* Course detail */
.course-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.course-hero img {
  height: 22rem;
}

.module-list {
  counter-reset: mod;
  list-style: none;
  margin: 0;
  padding: 0;
}

.module-list li {
  counter-increment: mod;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 1.2rem;
}

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

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

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

.instructor {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.4rem;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.3rem;
}

.instructor img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
}

/* Blog */
.article {
  max-width: 46rem;
  margin: 0 auto;
}

.article h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article .cover-img {
  height: 22rem;
  margin: 1.5rem 0 2rem;
}

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

/* Legal */
.legal {
  max-width: 48rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

.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: var(--cream);
}

/* 404 */
.page-404 {
  min-height: calc(100vh - 16rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 1.25rem;
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: var(--espresso);
  color: var(--cream);
  border: 1px solid #3a3228;
  box-shadow: 0 12px 40px rgba(20, 17, 14, 0.25);
}

.cookie-banner-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.15rem 0.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.cookie-banner a {
  color: var(--gold-pale);
}

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

.cookie-banner .btn-ghost {
  color: var(--paper);
  border-color: #6a5f50;
}

.cookie-banner .btn-ghost:hover {
  border-color: var(--gold-pale);
  color: var(--gold-pale);
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: var(--cream-2);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
}

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

.footer-wordmark {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--paper);
  margin-bottom: 0.6rem;
}

.footer-blurb {
  color: #c9c0b3;
  max-width: 20rem;
}

.footer-col h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 0.9rem;
}

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

.footer-col li + li {
  margin-top: 0.4rem;
}

.footer-col a {
  color: var(--cream-2);
  text-decoration: none;
}

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

.footer-contact p {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}

.footer-base {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 2.4rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid #2d261e;
  font-size: 0.82rem;
  color: #9a9084;
}

.page-intro {
  padding: 3.2rem 0 1.2rem;
}

.page-intro h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: 18ch;
}

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

.split-media img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.04);
}

@media (max-width: 980px) {
  .hero-editorial,
  .approach-grid,
  .course-hero,
  .contact-layout,
  .cta-band,
  .quote-row,
  .card-grid,
  .benefit-grid,
  .stat-bar,
  .price-grid,
  .footer-inner,
  .split-media,
  .card-grid-2,
  .cookie-banner-inner {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }

  .hero-figure img,
  .split-media img,
  .course-hero img {
    height: 18rem;
  }

  .nav-toggle {
    display: block;
    z-index: 50;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    font-size: 1.2rem;
  }

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

@media (max-width: 640px) {
  .wrap,
  .header-inner,
  .footer-inner,
  .footer-base {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-editorial {
    padding-top: 2.5rem;
  }
}
