/* =========================================================
   ברוך נאמן — להפוך עומק לחיים
   Premium RTL Hebrew homepage
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --bg-dark: #0B1117;
  --bg-secondary: #121B24;
  --text-warm: #F4EFE7;
  --bg-stone: #E8E0D2;
  --text-dark: #182027;
  --cta-teal: #1FB7A6;
  --accent-gold: #C49A5A;
  --footer-dark: #05080C;

  /* Derived tints */
  --teal-soft: rgba(31, 183, 166, 0.12);
  --gold-soft: rgba(196, 154, 90, 0.14);
  --line-light: rgba(244, 239, 231, 0.12);
  --line-dark: rgba(24, 32, 39, 0.14);
  --warm-muted: rgba(244, 239, 231, 0.66);
  --dark-muted: rgba(24, 32, 39, 0.70);

  /* Typography */
  --font-head: "Noto Serif Hebrew", serif;
  --font-body: "Assistant", system-ui, -apple-system, sans-serif;

  /* Radii & shadows */
  --radius-card: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 50px -28px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 24px 60px -36px rgba(0, 0, 0, 0.40);

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-pad: clamp(72px, 11vw, 140px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-warm);
  font-size: 19px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---------- Subtle noise texture (CSS only) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: 820px; }
.center { text-align: center; }

.section { padding-block: var(--section-pad); position: relative; }

.section-dark { background: var(--bg-dark); color: var(--text-warm); }
.section-secondary { background: var(--bg-secondary); color: var(--text-warm); }
.section-stone { background: var(--bg-stone); color: var(--text-dark); }

.is-hidden { display: none !important; }

/* ---------- Typography scale ---------- */
h1 {
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.1;
}
h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  margin-bottom: 28px;
}
h3 { font-size: clamp(21px, 2.2vw, 26px); }
h4 { font-size: 17px; }

.h2-sub {
  display: block;
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--accent-gold);
  margin-top: 10px;
}
.section-stone .h2-sub { color: #8a6a32; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  position: relative;
  padding-inline-start: 38px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 26px;
  height: 1px;
  background: var(--accent-gold);
}
.eyebrow-dark { color: #8a6a32; }
.eyebrow-dark::before { background: #8a6a32; }

.accent-gold { color: var(--accent-gold); }

.section-lead {
  max-width: 760px;
  margin-bottom: 56px;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--warm-muted);
}
.section-stone .section-lead { color: var(--dark-muted); }
.section-lead.center { margin-inline: auto; }
.section-lead p { margin: 0 0 18px; }
.section-lead p:last-child { margin-bottom: 0; }

.lead-emphasis {
  color: var(--text-warm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12em;
}
.section-stone .lead-emphasis { color: var(--text-dark); }

.section-subtitle {
  max-width: 640px;
  margin: -10px 0 56px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--warm-muted);
}
.section-stone .section-subtitle { color: var(--dark-muted); }

.section-closing {
  margin-top: 52px;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--accent-gold);
}
.section-stone .section-closing { color: #8a6a32; }
.section-philosophy .section-closing { text-align: center; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 11px 22px; font-size: 15px; }

.btn-primary {
  background: var(--cta-teal);
  color: #04201D;
  box-shadow: 0 14px 30px -14px rgba(31, 183, 166, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(31, 183, 166, 0.7);
  background: #28c8b6;
}

.btn-ghost {
  background: transparent;
  color: var(--text-warm);
  border-color: var(--line-light);
}
.btn-ghost:hover {
  border-color: var(--cta-teal);
  color: var(--cta-teal);
  transform: translateY(-2px);
}
.btn-ghost-dark {
  color: var(--text-dark);
  border-color: var(--line-dark);
}
.btn-ghost-dark:hover { border-color: #8a6a32; color: #8a6a32; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--cta-teal);
  margin-top: auto;
}
.link-arrow::after { content: "←"; transition: transform .25s ease; }
.link-arrow:hover { color: #28c8b6; }
.link-arrow:hover::after { transform: translateX(-5px); }

/* =========================================================
   1. STICKY HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 17, 23, 0.92);
  border-bottom-color: var(--line-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-warm);
}
.brand-tagline {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
}

.nav-desktop { display: flex; gap: 34px; }
.nav-desktop a {
  font-size: 16px;
  font-weight: 500;
  color: var(--warm-muted);
  position: relative;
  padding-block: 4px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--cta-teal);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-desktop a:hover { color: var(--text-warm); }
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.mobile-cta { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  cursor: pointer;
  padding: 0 11px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-warm);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu-close {
  position: absolute;
  top: 24px;
  inset-inline-start: 24px;
  font-size: 40px;
  line-height: 1;
  background: none;
  border: none;
  color: var(--text-warm);
  cursor: pointer;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.mobile-menu-nav a {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-warm);
}
.mobile-menu-nav a:hover { color: var(--cta-teal); }
.mobile-menu-cta { margin-top: 16px; font-family: var(--font-body); font-size: 18px; }
.mobile-menu-nav a.mobile-sub {
  font-size: 19px;
  color: var(--warm-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

/* ---------- Desktop nav: dropdown + active ---------- */
.nav-desktop { align-items: center; }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; }
.caret { font-size: 10px; transition: transform .25s ease; }
.nav-dropdown:hover .caret,
.nav-dropdown:focus-within .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  inset-inline-end: 0;
  min-width: 250px;
  background: var(--bg-secondary);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 60;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px; inset-inline: 0; height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--warm-muted);
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-warm); }

.nav-desktop a.active { color: var(--text-warm); }
.nav-desktop > a.active::after { transform: scaleX(1); }

/* ---------- Sub-page banner ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 82% -20%, var(--teal-soft), transparent 52%),
    var(--bg-dark);
  padding-block: clamp(60px, 9vw, 110px) clamp(44px, 6vw, 76px);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 800;
  margin: 0 0 22px;
}
.page-hero-sub {
  max-width: 62ch;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.7;
  color: var(--warm-muted);
  margin: 0;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
  font-size: 14.5px;
  color: var(--warm-muted);
}
.breadcrumbs a:hover { color: var(--cta-teal); }
.breadcrumbs .sep { opacity: .45; }
.breadcrumbs .current { color: var(--accent-gold); }

/* ---------- Page-hero artwork (custom SVG, injected via JS) ---------- */
.page-hero .container { position: relative; z-index: 2; }
.hero-art {
  position: absolute;
  inset-block: 0;
  inset-inline-start: clamp(8px, 3vw, 56px);
  width: min(42%, 460px);
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
  opacity: .92;
  animation: artFloat 12s ease-in-out infinite;
}
.hero-art svg { width: 100%; height: auto; max-height: 80%; }
.page-hero.has-art .page-hero-sub { max-width: 52ch; }
@keyframes artFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 900px) {
  .hero-art { width: 40%; opacity: .42; inset-inline-start: -5%; }
  .page-hero.has-art .page-hero-sub { max-width: none; }
}
@media (max-width: 620px) { .hero-art { display: none; } }

/* ---------- About portrait motif ---------- */
.portrait-frame { position: relative; overflow: hidden; }
.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  width: 30px; height: 30px;
  border: 1px solid var(--accent-gold);
  opacity: .55;
}
.portrait-frame::before { top: 16px; inset-inline-end: 16px; border-inline-start: 0; border-bottom: 0; }
.portrait-frame::after { bottom: 16px; inset-inline-start: 16px; border-inline-end: 0; border-top: 0; }
.portrait-motif {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 78%;
  height: auto;
  opacity: .9;
  animation: artFloat 14s ease-in-out infinite;
}
.portrait-placeholder { position: relative; z-index: 2; }

/* ---------- Social-proof / stats band ---------- */
.section-stats { padding-block: clamp(46px, 6vw, 80px); background: var(--bg-dark); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: clamp(28px, 4vw, 46px) 20px;
  background: var(--bg-secondary);
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-warm);
  display: inline-flex;
  align-items: baseline;
  direction: ltr;
}
.stat-suffix { color: var(--accent-gold); margin-inline-start: 2px; }
.stat-label {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--warm-muted);
  max-width: 20ch;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Big course cards (courses page / home highlight) ---------- */
.course-promo {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 40px);
  align-items: stretch;
  padding: clamp(32px, 4vw, 44px);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.45);
  margin-bottom: 26px;
}
.section-dark .course-promo,
.section-secondary .course-promo {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-light);
}
.course-promo:hover { border-color: rgba(31, 183, 166, 0.45); }
.course-promo-body h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.course-promo-body .promo-label {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-gold); display: block; margin-bottom: 10px;
}
.course-promo-body p { color: var(--dark-muted); margin: 0 0 22px; }
.section-dark .course-promo-body p, .section-secondary .course-promo-body p { color: var(--warm-muted); }
.course-promo-aside {
  border-inline-start: 1px solid var(--line-dark);
  padding-inline-start: clamp(24px, 3vw, 36px);
}
.section-dark .course-promo-aside, .section-secondary .course-promo-aside { border-color: var(--line-light); }
@media (max-width: 760px) {
  .course-promo { grid-template-columns: 1fr; }
  .course-promo-aside { border-inline-start: none; border-top: 1px solid var(--line-dark); padding-inline-start: 0; padding-top: 26px; }
}

/* =========================================================
   2. HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--bg-dark);
  padding-block: clamp(72px, 12vw, 140px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset-inline-start: -10%;
  top: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(circle at center, var(--teal-soft), transparent 62%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-content h1 { margin-bottom: 26px; }
.hero-sub {
  font-size: clamp(19px, 1.8vw, 23px);
  color: var(--text-warm);
  max-width: 30ch;
  margin: 0 0 36px;
  font-weight: 400;
}
.hero-core { color: var(--warm-muted); margin: 0 0 6px; font-size: 18px; }
.hero-highlight {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0 0 30px;
}
.hero-micro {
  color: var(--warm-muted);
  font-size: 17px;
  border-inline-start: 2px solid var(--cta-teal);
  padding-inline-start: 20px;
  max-width: 52ch;
  margin: 0 0 40px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.center-buttons { justify-content: center; }

/* ---------- Hero visual: CSS portal ---------- */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.portal {
  position: relative;
  width: min(440px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.portal-core {
  position: absolute;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(31,183,166,0.55), rgba(31,183,166,0.08) 60%, transparent 72%);
  box-shadow: 0 0 90px 10px rgba(31, 183, 166, 0.30);
  animation: pulse 7s ease-in-out infinite;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-light);
}
.ring-1 { width: 100%; height: 100%; border-color: rgba(196,154,90,0.30); animation: spin 50s linear infinite; }
.ring-2 { width: 76%; height: 76%; border-color: rgba(31,183,166,0.35); border-style: dashed; animation: spin 38s linear infinite reverse; }
.ring-3 { width: 54%; height: 54%; border-color: rgba(244,239,231,0.20); }
.portal-glyph {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(70px, 12vw, 120px);
  font-weight: 800;
  color: var(--text-warm);
  text-shadow: 0 0 40px rgba(31, 183, 166, 0.45);
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .92; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* =========================================================
   3. CARDS (shared)
   ========================================================= */
.cards-grid { display: grid; gap: 26px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 32px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.section-dark .card,
.section-secondary .card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-light);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.5);
  border-color: rgba(31, 183, 166, 0.5);
}
.card h3 { color: inherit; }
.card p { margin: 0; color: var(--dark-muted); font-size: 17px; }
.section-dark .card p, .section-secondary .card p { color: var(--warm-muted); }

.card-index {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}
.section-stone .card-index { color: #8a6a32; }

.card-pathway { background: rgba(255,255,255,0.035); }

/* =========================================================
   4. PHILOSOPHY — axis
   ========================================================= */
.section-philosophy { text-align: center; }
.section-philosophy h2 { text-align: center; }
.axis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 8px 0 12px;
}
.axis-node {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 22px);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.03);
}
.axis-node-end {
  background: var(--teal-soft);
  border-color: var(--cta-teal);
  color: var(--cta-teal);
}
.axis-arrow { color: var(--accent-gold); font-size: 20px; }

/* =========================================================
   6. FLAGSHIP COURSE
   ========================================================= */
.flagship-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
  margin-top: 16px;
}
.flagship-text p { margin: 0 0 16px; color: var(--dark-muted); }

.check-list, .cross-list, .dash-list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.check-list li, .cross-list li, .dash-list li {
  position: relative;
  padding-inline-start: 32px;
  font-size: 17px;
  line-height: 1.6;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--cta-teal);
  font-weight: 700;
}
.cross-list li::before {
  content: "✕";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: #b06b5b;
  font-weight: 700;
}
.dash-list li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--accent-gold);
}

.pull-quote {
  margin: 32px 0;
  padding: 26px 28px;
  border-radius: 20px;
  background: rgba(31, 183, 166, 0.08);
  border-inline-start: 3px solid var(--cta-teal);
}
.pull-quote p { margin: 0; color: var(--dark-muted); }
.pull-quote-emphasis {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text-dark) !important;
  margin-top: 8px !important;
}

.course-card {
  background: var(--bg-dark);
  color: var(--text-warm);
  border-radius: var(--radius-card);
  padding: 38px 34px;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 100px;
}
.course-card h3 { color: var(--accent-gold); margin-bottom: 22px; }
.course-card-list { display: flex; flex-direction: column; gap: 16px; }
.course-card-list li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 17px;
  color: var(--warm-muted);
}
.course-card-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta-teal);
}

/* =========================================================
   7. PRACTICAL COURSE
   ========================================================= */
.section-practice { overflow: hidden; }
.section-practice::before {
  content: "";
  position: absolute;
  inset-inline-end: -8%;
  top: 8%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle at center, var(--teal-soft), transparent 64%);
  pointer-events: none;
}
.section-practice > .container { position: relative; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 12px 0 48px;
}
.compare-col {
  padding: 34px 32px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-light);
}
.section-stone .compare-col { background: rgba(255,255,255,0.45); border-color: var(--line-dark); }
.compare-col h3 { margin-bottom: 22px; color: var(--text-warm); }
.section-stone .compare-col h3 { color: var(--text-dark); }
.compare-col-accent {
  background: var(--teal-soft);
  border-color: rgba(31, 183, 166, 0.4);
}
.compare-col-accent h3 { color: var(--cta-teal); }

.components { margin: 12px 0 48px; }
.components h3 { margin-bottom: 22px; }

/* Practical course — lesson cards, sub-headings, foundation */
.block-title { margin: 56px 0 24px; font-size: clamp(22px, 2.6vw, 30px); }
.lessons-grid { margin-bottom: 8px; }
.lesson-card { gap: 12px; }
.lesson-tool {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cta-teal);
}
.foundation-grid { margin-top: 4px; }

/* ---------- Contact form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-info p { color: var(--dark-muted); margin: 0 0 20px; }
.section-dark .contact-info p, .section-secondary .contact-info p { color: var(--warm-muted); }
.contact-channels { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.contact-channels a {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; color: var(--cta-teal);
}
.contact-channels a:hover { color: #28c8b6; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14.5px; font-weight: 600; color: inherit; }
.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-body);
  font-size: 17px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-warm);
  width: 100%;
  resize: vertical;
}
.section-stone .form-field input,
.section-stone .form-field textarea,
.section-stone .form-field select {
  background: #fff; color: var(--text-dark); border-color: var(--line-dark);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none; border-color: var(--cta-teal); box-shadow: 0 0 0 3px var(--teal-soft);
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 500;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.03);
}
.section-stone .chips li { border-color: var(--line-dark); background: rgba(255,255,255,0.4); }
.chips-components li:hover, .chips-topics li:hover { border-color: var(--accent-gold); }
.chips-topics { margin-bottom: 44px; }

/* =========================================================
   8. GUIDANCE
   ========================================================= */
.disclaimer {
  max-width: 760px;
  margin: 8px 0 40px;
  font-size: 15px;
  color: var(--dark-muted);
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(24, 32, 39, 0.05);
  border: 1px dashed var(--line-dark);
}
.section-dark .disclaimer { color: var(--warm-muted); background: rgba(255,255,255,0.03); border-color: var(--line-light); }

/* =========================================================
   9. PODCAST — episode cards
   ========================================================= */
.episode-card { position: relative; }
.episode-badge {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-soft);
  background: var(--gold-soft);
}

/* =========================================================
   10. NEWSLETTER FORM
   ========================================================= */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 8px 0 24px;
}
.newsletter-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 17px;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  background: #fff;
  color: var(--text-dark);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--cta-teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

/* =========================================================
   11. ABOUT
   ========================================================= */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.about-text h2 { margin-bottom: 26px; }
.about-text p { margin: 0 0 16px; color: var(--warm-muted); }
.about-text .btn { margin-top: 14px; }

.portrait-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
  background:
    radial-gradient(circle at 30% 20%, rgba(31,183,166,0.12), transparent 60%),
    linear-gradient(160deg, #16222d, #0d151c);
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.portrait-placeholder {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--warm-muted);
  letter-spacing: 0.02em;
}

/* =========================================================
   12. TESTIMONIALS
   ========================================================= */
.optional-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--gold-soft);
  margin-bottom: 22px;
}
.testimonial-card { align-items: flex-start; min-height: 180px; }
.quote-mark {
  font-family: var(--font-head);
  font-size: 54px;
  line-height: 0.6;
  color: var(--accent-gold);
  opacity: 0.5;
}
.testimonial-card p {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--warm-muted);
}

/* =========================================================
   13. FINAL CTA
   ========================================================= */
.section-final-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(31,183,166,0.10), transparent 55%),
    var(--bg-dark);
}
.section-final-cta h2 { font-size: clamp(30px, 4.4vw, 50px); }

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer {
  background: var(--footer-dark);
  color: var(--warm-muted);
  padding-top: 76px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand-name { font-size: 24px; display: block; margin-bottom: 12px; }
.footer-tagline { margin: 0; color: var(--accent-gold); font-size: 16px; }
.footer-motto { margin: 6px 0 0; font-size: 15px; color: var(--warm-muted); }
.footer-col h4 {
  color: var(--text-warm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 16px; color: var(--warm-muted); }
.footer-col a:hover { color: var(--cta-teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px;
  border-top: 1px solid rgba(244, 239, 231, 0.08);
  font-size: 14px;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--text-warm); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .flagship-layout { grid-template-columns: 1fr; }
  .course-card { position: static; }
}

@media (max-width: 860px) {
  .nav-desktop, .desktop-cta { display: none; }
  .mobile-cta { display: inline-flex; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .portal { width: min(320px, 70vw); }

  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { max-width: 380px; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-buttons .btn, .center-buttons .btn { width: 100%; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}
