:root {
  --bg: #fbf7f1;
  --surface: #fffdf9;
  --ink: #241f26;
  --muted: #6f6570;
  --plum: #5a2a4a;
  --plum-dark: #3b1b32;
  --gold: #c8a24b;
  --gold-soft: #f0e3c4;
  --line: #e7ddd2;
  --radius: 18px;
  --max: 1160px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
section[id] { scroll-margin-top: 84px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(251, 247, 241, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hero-text,
.hero-image,
.course-copy,
.course-modules,
.about > *,
.group-card,
.card-body { min-width: 0; }
.hero h1,
.course h2,
.course-modules li,
.card-body h3,
.group-card h3 { overflow-wrap: break-word; }
.filters { max-width: 100%; }
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--plum); font-style: italic; }
nav { display: flex; gap: 24px; margin-left: auto; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--plum); border-color: var(--plum); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--plum-dark); }
.btn-gold:hover { background: #d9b45e; border-color: #d9b45e; }
.btn-small { padding: 10px 16px; font-size: 0.85rem; margin-left: 6px; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.2vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 em { color: var(--plum); font-style: italic; }
.lead {
  max-width: 52ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-stats li { display: grid; gap: 2px; }
.hero-stats strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--plum);
  line-height: 1;
}
.hero-stats span { color: var(--muted); font-size: 0.78rem; max-width: 13ch; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 220px 220px 24px 24px;
  box-shadow: 0 36px 70px -36px rgba(36, 31, 38, 0.45);
}
.hero-badge {
  position: absolute;
  left: -12px;
  bottom: 28px;
  background: var(--gold-soft);
  color: var(--plum-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -12px rgba(36, 31, 38, 0.35);
}

/* Course */
.course { background: var(--plum-dark); color: #f7efe7; }
.course-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.course .eyebrow { color: var(--gold); }
.course h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.02;
}
.course .lead { color: #d9c9d3; }
.course-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 26px 0 24px;
}
.price-old { color: #b9a7b3; text-decoration: line-through; font-size: 1rem; }
.price-new {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}
.price-note { color: #d9c9d3; font-size: 0.85rem; }
.course .small {
  margin-top: 14px;
  color: #b9a7b3;
  font-size: 0.8rem;
  max-width: 46ch;
}
.course-modules {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
}
.course-modules h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.course-modules ol { list-style: none; margin: 0; padding: 0; }
.course-modules li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}
.course-modules li:last-child { border-bottom: 0; }
.course-modules li span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  min-width: 2ch;
}
.course-bonus { margin: 18px 0 0; color: #d9c9d3; font-size: 0.9rem; }
.course-bonus strong { color: var(--gold); }

/* Products */
.products {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 48px);
}
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
}
.section-head .lead { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -30px rgba(36, 31, 38, 0.35);
}
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--gold-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(251, 247, 241, 0.92);
  color: var(--plum-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card-body h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
}
.card-price { margin: 0 0 8px; color: var(--plum); font-weight: 700; font-size: 1rem; }
.card-why { margin: 0 0 16px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.card-link {
  margin-top: auto;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 2px;
}
.card-link:hover { color: var(--plum); }
.card-link.is-disabled { color: var(--muted); border-bottom: 0; cursor: default; }
.placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #f0e3c4, #e6cfa8);
  color: var(--plum-dark);
  font-family: var(--serif);
  font-size: 1.6rem;
}
.placeholder span {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
}
.disclosure { margin: 28px 0 0; color: var(--muted); font-size: 0.82rem; }
.disclosure a { color: var(--plum); }

/* Group */
.group {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(56px, 8vw, 100px);
}
.group-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.group-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}
.group-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.group-icon {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.group-card h3 {
  margin: 10px 0 6px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}
.group-card p { margin: 0 0 20px; color: var(--muted); }
.group-cta { margin-top: auto; color: var(--plum); font-weight: 600; }

/* About */
.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.about h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.08;
}
.about p { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }
.about p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  padding: 48px clamp(20px, 4vw, 48px);
  background: var(--ink);
  color: #f4ece4;
  text-align: center;
}
.site-footer .logo { color: #fff; font-size: 1.5rem; }
.site-footer .logo span { color: var(--gold); }
.site-footer p { margin: 10px 0 0; }
.site-footer .small {
  max-width: 620px;
  margin: 18px auto 0;
  color: #b9aea6;
  font-size: 0.78rem;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  nav { display: none; }
  .hero,
  .course-grid,
  .about { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image img { border-radius: 24px; max-height: 520px; }
  .hero-badge { left: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .group-cards { grid-template-columns: 1fr; }
  .btn-small { margin-left: auto; }
}
@media (max-width: 580px) {
  .site-header { flex-wrap: wrap; gap: 12px; }
  .btn-small { width: 100%; margin-left: 0; }
  .grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stats span { max-width: none; }
  .hero-actions .btn { width: 100%; }
  .course-price { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card,
  .group-card,
  .btn { transition: none; }
}
