:root {
  --bg: #0C0A09;
  --bg-2: #131010;
  --surface: #171412;
  --surface-2: #1C1917;
  --text: #FAFAF9;
  --text-dim: #A8A29E;
  --text-faint: #78716C;
  --accent: #D4A24E;
  --accent-strong: #E8BE6E;
  --accent-deep: #A16207;
  --border: rgba(250, 250, 249, 0.09);
  --border-strong: rgba(250, 250, 249, 0.16);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0C0A09; }

/* ---------- film grain ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(1200px, 92%); margin: 0 auto; }

section { position: relative; padding: 130px 0; }

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

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

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h2.section-title {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 20px 0 18px;
}
h2.section-title em, .serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-strong);
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
  font-weight: 300;
}

/* ---------- promo bar + nav ---------- */
.promo {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 50%, var(--accent-deep));
  color: #0C0A09;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 16px;
}
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.nav-bar {
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  position: relative;
}
nav.scrolled .nav-bar {
  background: rgba(12, 10, 9, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  padding: 13px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links { margin-left: auto; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.logo {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--accent-strong); }
.nav-cta {
  padding: 11px 22px;
  border-radius: 100px;
  background: var(--text);
  color: #0C0A09 !important;
  font-weight: 600 !important;
  transition: background 0.25s, transform 0.25s !important;
}
.nav-cta:hover { background: var(--accent-strong); transform: translateY(-1px); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 34px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  color: #0C0A09;
  box-shadow: 0 8px 32px rgba(212, 162, 78, 0.25);
}
.btn-gold:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 44px rgba(212, 162, 78, 0.38); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero (home) ---------- */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 190px 0 0;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(110px);
}
.glow-1 {
  width: 620px; height: 620px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(212, 162, 78, 0.16), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.glow-2 {
  width: 500px; height: 500px;
  bottom: -120px; left: -160px;
  background: radial-gradient(circle, rgba(120, 80, 30, 0.13), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-50px, 40px); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(23, 20, 18, 0.6);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px #4ADE80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

h1 {
  font-size: clamp(52px, 8.6vw, 118px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 30px 0 28px;
  max-width: 13ch;
}
h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  background: linear-gradient(115deg, var(--accent-strong) 20%, var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 540px;
  font-weight: 300;
  margin-bottom: 44px;
}
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 92px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 34px 28px 40px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero-stat .num span { color: var(--accent); }
.hero-stat .label {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-top: 8px;
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-2);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: scroll 32s linear infinite;
  padding-right: 56px;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--text-faint);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-item::after {
  content: "✦";
  font-style: normal;
  font-size: 13px;
  color: var(--accent);
}

/* ---------- programs (home) ---------- */
.prog-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.prog-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, var(--surface-2), var(--surface) 70%);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.prog-card:hover { border-color: rgba(212, 162, 78, 0.5); transform: translateY(-5px); }
.prog-card .idx {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 52px;
  line-height: 1;
  color: rgba(212, 162, 78, 0.35);
}
.prog-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.prog-card p { color: var(--text-dim); font-weight: 300; font-size: 14.5px; flex: 1; }
.prog-card .from {
  font-size: 13px;
  color: var(--text-faint);
}
.prog-card .from b { color: var(--accent-strong); font-size: 16px; font-weight: 700; }
.prog-card .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prog-card .go svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.prog-card:hover .go svg { transform: translateX(5px); }

/* ---------- about ---------- */
#about .grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 30% 0%, rgba(212, 162, 78, 0.14), transparent 55%),
    linear-gradient(160deg, #24201C 0%, #171412 55%, #100E0C 100%);
  border: 1px solid var(--border);
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.08;
}
.portrait .placeholder-tag {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 2;
}
.portrait .placeholder-tag svg { width: 44px; height: 44px; opacity: 0.5; margin-bottom: 10px; }
.portrait-badge {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(12, 10, 9, 0.68);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  gap: 16px;
}
.portrait-badge .avatar {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0C0A09;
  font-size: 15px;
}
.portrait-badge .who { font-weight: 600; font-size: 15px; }
.portrait-badge .role { color: var(--text-dim); font-size: 12.5px; letter-spacing: 0.06em; }

.about-copy p {
  color: var(--text-dim);
  font-weight: 300;
  font-size: 16.5px;
  margin-bottom: 20px;
  max-width: 56ch;
}
.about-copy p strong { color: var(--text); font-weight: 500; }
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.4;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
}

.pillars {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pillar {
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.pillar:hover { border-color: rgba(212, 162, 78, 0.4); transform: translateY(-3px); }
.pillar svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 12px; }
.pillar h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.pillar p { font-size: 12.5px; color: var(--text-faint); line-height: 1.5; }

/* ---------- achievements ---------- */
#achievements { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ach-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.ach-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, var(--surface-2), var(--surface) 70%);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.ach-card:hover { border-color: rgba(212, 162, 78, 0.45); transform: translateY(-4px); }
.ach-card.big { grid-column: span 4; }
.ach-card.wide { grid-column: span 6; }
.ach-card .glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 162, 78, 0.12), transparent 70%);
}
.ach-num {
  font-size: clamp(44px, 4.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--text), #B8B0A8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ach-num .accent {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
}
.ach-label { font-size: 14px; font-weight: 500; margin-top: 12px; }
.ach-desc { font-size: 13px; color: var(--text-faint); margin-top: 4px; font-weight: 300; }

.cred-list { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 300;
}
.cred-list li strong { color: var(--text); font-weight: 500; }
.cred-list svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.ach-card h3.card-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- case studies ---------- */
.cs-grid {
  margin-top: 64px;
  display: grid;
  gap: 22px;
}
.cs-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.cs-card:hover { border-color: rgba(212, 162, 78, 0.4); transform: translateY(-4px); }
.cs-visual {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 26px;
}
.cs-visual.v1 { background: radial-gradient(120% 120% at 20% 10%, rgba(212, 162, 78, 0.22), transparent 55%), linear-gradient(160deg, #2A2018 0%, #171412 70%); }
.cs-visual.v2 { background: radial-gradient(120% 120% at 80% 10%, rgba(160, 120, 60, 0.2), transparent 55%), linear-gradient(200deg, #241E16 0%, #14110F 70%); }
.cs-visual.v3 { background: radial-gradient(120% 120% at 50% 0%, rgba(190, 150, 80, 0.18), transparent 55%), linear-gradient(180deg, #221C15 0%, #131110 70%); }
.cs-visual .cs-big-metric { position: relative; z-index: 1; }
.cs-visual .cs-big-metric .val {
  font-size: clamp(52px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-visual .cs-big-metric .cap {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-top: 10px;
}
.cs-tag {
  position: absolute;
  top: 22px; left: 22px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  border: 1px solid rgba(212, 162, 78, 0.35);
  background: rgba(212, 162, 78, 0.08);
}
.cs-body { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.cs-body h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.cs-body .cs-meta { font-size: 13px; color: var(--text-faint); margin: 6px 0 16px; letter-spacing: 0.04em; }
.cs-body p { color: var(--text-dim); font-weight: 300; font-size: 15.5px; max-width: 60ch; }
.cs-metrics { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.cs-chip {
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
}
.cs-chip b { color: var(--accent-strong); font-weight: 700; }
.cs-chip span { color: var(--text-faint); }

/* ---------- testimonials ---------- */
#testimonials { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.t-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.t-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.t-card:hover { border-color: rgba(212, 162, 78, 0.4); transform: translateY(-4px); }
.t-stars { display: flex; gap: 3px; }
.t-stars svg { width: 15px; height: 15px; color: var(--accent); }
.t-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}
.t-person { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13.5px;
  color: #0C0A09;
  background: linear-gradient(135deg, #D8CBB6, #9C8B72);
}
.t-person .name { font-size: 14.5px; font-weight: 600; }
.t-person .meta { font-size: 12.5px; color: var(--text-faint); }

/* ---------- contact ---------- */
#contact { padding-bottom: 80px; }
.contact-wrap {
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(212, 162, 78, 0.13), transparent 55%),
    linear-gradient(170deg, var(--surface-2), var(--bg-2) 75%);
  padding: clamp(44px, 6vw, 90px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  overflow: hidden;
  position: relative;
}
.contact-copy h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 18px 0 20px;
}
.contact-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-strong);
}
.contact-copy p { color: var(--text-dim); font-weight: 300; max-width: 46ch; margin-bottom: 32px; }
.contact-points { list-style: none; display: grid; gap: 14px; }
.contact-points li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--text-dim); }
.contact-points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.form-card { display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 13px;
  background: rgba(12, 10, 9, 0.55);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 162, 78, 0.15);
}
.field ::placeholder { color: var(--text-faint); }
.form-note { font-size: 12.5px; color: var(--text-faint); text-align: center; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer .fine { color: var(--text-faint); font-size: 13px; }
footer .fine a { color: var(--text-faint); }
.footer-links { display: flex; gap: 18px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: var(--text-faint); font-size: 13px; text-decoration: none; transition: color 0.25s; }
.footer-links a:hover { color: var(--accent-strong); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.socials a:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ============================================================
   CATEGORY PAGES
   ============================================================ */
.page-hero {
  padding: 220px 0 90px;
  overflow: hidden;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  margin: 24px 0 22px;
}
.page-hero .section-sub { max-width: 620px; }
.page-hero .mini-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.page-hero .mini-stat { font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 10px; }
.page-hero .mini-stat b { color: var(--accent-strong); font-size: 18px; font-weight: 700; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-faint); text-decoration: none; transition: color 0.25s; }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text-dim); }

/* plan cards */
.plans { padding-top: 0; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, var(--surface-2), var(--surface) 70%);
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.plan-card:hover { border-color: rgba(212, 162, 78, 0.5); transform: translateY(-5px); }
.plan-card.featured {
  border-color: rgba(212, 162, 78, 0.55);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(212, 162, 78, 0.12), transparent 55%),
    linear-gradient(170deg, var(--surface-2), var(--surface) 70%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.plan-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  color: #0C0A09;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-kind {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.plan-card h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 6px; }
.plan-card .plan-desc { color: var(--text-dim); font-size: 14px; font-weight: 300; min-height: 44px; }
.plan-price { margin: 24px 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price .now { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.plan-price .was { font-size: 16px; color: var(--text-faint); text-decoration: line-through; }
.plan-price .per { font-size: 13px; color: var(--text-faint); }
.plan-save {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4ADE80;
  margin-bottom: 20px;
}
.plan-feats { list-style: none; display: grid; gap: 12px; margin: 6px 0 30px; flex: 1; }
.plan-feats li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 300;
}
.plan-feats svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: 2px; }
.plan-card .btn { justify-content: center; width: 100%; padding: 15px 20px; }

/* CTA band */
.cta-band {
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(212, 162, 78, 0.13), transparent 55%),
    linear-gradient(170deg, var(--surface-2), var(--bg-2) 75%);
  padding: clamp(40px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.cta-band h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent-strong); }
.cta-band p { color: var(--text-dim); font-weight: 300; margin-top: 8px; max-width: 48ch; }

/* ============================================================
   COURSE / PLAN PAGE
   ============================================================ */
.course-wrap { padding: 200px 0 100px; }
.course-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 4.5vw, 70px);
  margin-top: 34px;
  align-items: start;
}
.course-info h1 {
  font-size: clamp(36px, 4.6vw, 62px);
  max-width: none;
  margin: 18px 0 20px;
  line-height: 1.04;
}
.course-info .lede { color: var(--text-dim); font-weight: 300; font-size: 17px; max-width: 58ch; margin-bottom: 40px; }
.course-info .lede strong { color: var(--text); font-weight: 500; }

.course-block { margin-bottom: 44px; }
.course-block h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.include-list { list-style: none; display: grid; gap: 14px; }
.include-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 300;
}
.include-list li strong { color: var(--text); font-weight: 500; }
.include-list svg { width: 19px; height: 19px; flex: none; color: var(--accent); margin-top: 2px; }

.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step .n {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--accent-strong);
  flex: none;
  width: 34px;
}
.step h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.step p { font-size: 14px; color: var(--text-faint); font-weight: 300; }

.coach-note {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
}
.coach-note .sig { display: block; font-family: var(--font-sans); font-style: normal; font-size: 13px; color: var(--text-faint); margin-top: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* buy card */
.buy-card {
  position: sticky;
  top: 120px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(212, 162, 78, 0.1), transparent 55%),
    linear-gradient(170deg, var(--surface-2), var(--surface) 75%);
  padding: 34px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.buy-card .discount-flag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ADE80;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy-price .now { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.buy-price .was { font-size: 18px; color: var(--text-faint); text-decoration: line-through; }
.buy-price .per { font-size: 13px; color: var(--text-faint); width: 100%; margin-top: -4px; }

.dur-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 24px 0 10px;
}
.dur-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dur-pill {
  padding: 13px 8px;
  border-radius: 13px;
  border: 1px solid var(--border-strong);
  background: rgba(12, 10, 9, 0.4);
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.dur-pill small { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-faint); margin-top: 2px; }
.dur-pill.active {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: rgba(212, 162, 78, 0.08);
}
.dur-pill:hover { border-color: var(--accent); }

.buy-form { display: grid; gap: 14px; margin-top: 24px; }
.buy-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.buy-meta {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.buy-meta li {
  list-style: none;
  font-size: 12.5px;
  color: var(--text-faint);
  display: flex;
  gap: 8px;
  align-items: center;
}
.buy-meta svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

.bag-confirm {
  text-align: center;
  padding: 20px 0 6px;
}
.bag-confirm .tick {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
}
.bag-confirm .tick svg { width: 26px; height: 26px; color: #4ADE80; }
.bag-confirm h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.bag-confirm p { font-size: 13.5px; color: var(--text-dim); font-weight: 300; margin-bottom: 18px; }
.bag-confirm .summary {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--text-dim);
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.bag-confirm .summary b { color: var(--text); }
.bag-confirm .summary .total { border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px; }
.bag-confirm .summary .total b { color: var(--accent-strong); }

/* ============================================================
   CART / BAG
   ============================================================ */
.cart-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.cart-btn:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-1px); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  color: #0C0A09;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
/* `display: grid` above would otherwise override the [hidden] attribute the
   cart script toggles, leaving a stale "0" badge on an empty bag. */
.cart-count[hidden] { display: none; }

/* ---------- book-a-call form states ---------- */
.contact-error { color: #F87171; font-size: 13px; margin: 4px 0 0; }
.contact-error[hidden] { display: none; }
.contact-success { text-align: center; padding: 14px 6px; }
.contact-success .cs-tick {
  width: 52px; height: 52px; margin: 0 auto 14px; display: grid; place-items: center;
  border-radius: 50%; color: #4ADE80;
  background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.4);
}
.contact-success .cs-tick svg { width: 26px; height: 26px; }
.contact-success h4 { font-size: 20px; margin-bottom: 8px; }
.contact-success p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

/* spinner shown on the post-payment success screen while redirecting */
.cart-spinner {
  width: 28px; height: 28px; margin: 16px auto 0;
  border-radius: 50%;
  border: 3px solid var(--border-strong);
  border-top-color: var(--accent);
  animation: cart-spin 0.8s linear infinite;
}
@keyframes cart-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cart-spinner { animation-duration: 2s; } }

/* ---------- customer account (sign in) ---------- */
.account-ctl {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 100px;
  background: transparent; border: 1px solid var(--border-strong);
  color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s var(--ease);
}
.account-ctl:hover { border-color: var(--accent); color: var(--accent-strong); }
.account-ctl .acct-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }

.acct-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(5,4,3,0.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.acct-overlay.open { opacity: 1; pointer-events: auto; }
.acct-modal {
  position: fixed; z-index: 301; top: 50%; left: 50%;
  transform: translate(-50%, -46%); opacity: 0; pointer-events: none;
  width: min(400px, 92%); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 32px 30px 28px; transition: all 0.3s var(--ease);
}
.acct-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.acct-modal h3 { font-size: 22px; letter-spacing: -0.02em; }
.acct-modal .acct-sub { color: var(--text-dim); font-size: 14px; margin: 4px 0 20px; }
.acct-modal form { display: grid; gap: 12px; }
.acct-modal input {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text);
}
.acct-modal input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.acct-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 9px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
}
.acct-close:hover { color: var(--text); border-color: var(--border-strong); }
.acct-err { color: #F87171; font-size: 13px; margin: 2px 0 0; }
.acct-modal .gbtn-wrap { display: flex; justify-content: center; padding: 6px 0 4px; min-height: 44px; }

/* ---------- owned-plan badge on catalog ---------- */
.plan-owned {
  display: block; text-align: center; margin-bottom: 10px;
  color: #4ADE80; font-weight: 700; font-size: 14px;
}

/* ---------- My Courses ---------- */
.mc-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.mc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 26px 22px;
}
.mc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mc-head h3 { font-size: 20px; letter-spacing: -0.01em; }
.mc-meta { color: var(--text-dim); font-size: 13px; margin-top: 6px; }
.mc-status {
  flex-shrink: 0; padding: 4px 12px; border-radius: 100px; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--border);
}
.mc-status.scheduled { color: #4ADE80; border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.08); }
.mc-status.pending { color: var(--accent-strong); border-color: var(--border-strong); }
.mc-sched { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.mc-when { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.mc-join { justify-content: center; width: 100%; }
.session-cta { min-height: 48px; }
.session-countdown {
  text-align: center; padding: 6px 0;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2);
}
.session-countdown .sc-label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); margin: 8px 0 2px;
}
.session-countdown .sc-time {
  display: block; font-size: 26px; font-weight: 800; color: var(--accent-strong);
  font-variant-numeric: tabular-nums; padding-bottom: 8px;
}
.mc-note { color: var(--text-faint); font-size: 12px; margin-top: 10px; text-align: center; }
.mc-sched.pending p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.mc-foot { margin-top: 16px; }
.mc-link { color: var(--accent-strong); font-size: 13px; font-weight: 600; }
.mc-empty {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px 32px; text-align: center;
}
.mc-empty h3 { font-size: 22px; margin-bottom: 8px; }
.mc-empty p { color: var(--text-dim); margin-bottom: 22px; }

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 4, 3, 0.65);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 201;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(200deg, var(--surface-2), var(--bg-2) 60%);
  border-left: 1px solid var(--border-strong);
  box-shadow: -40px 0 90px rgba(0, 0, 0, 0.55);
  transform: translateX(102%);
  transition: transform 0.5s var(--ease);
}
.cart-drawer.open { transform: none; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border-bottom: 1px solid var(--border);
}
.cart-head h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.cart-head h3 span { color: var(--text-faint); font-weight: 500; font-size: 14px; }
.cart-close {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.cart-close:hover { border-color: var(--accent); color: var(--accent-strong); }
.cart-close svg { width: 16px; height: 16px; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 28px;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.ci-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.ci-meta { font-size: 12.5px; color: var(--text-faint); margin-top: 4px; }
.ci-right { text-align: right; flex: none; }
.ci-price { font-size: 17px; font-weight: 700; color: var(--accent-strong); }
.ci-was { font-size: 12.5px; color: var(--text-faint); text-decoration: line-through; }
.ci-remove {
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--text-faint);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s;
}
.ci-remove:hover { color: #F87171; }

.cart-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-faint);
}
.cart-empty svg { width: 44px; height: 44px; opacity: 0.5; margin-bottom: 16px; }
.cart-empty p { font-size: 15px; margin-bottom: 24px; }

.cart-foot {
  border-top: 1px solid var(--border);
  padding: 22px 28px 26px;
  display: grid;
  gap: 10px;
}
/* `display: grid` above would otherwise override the [hidden] attribute set on
   an empty bag, so restore hiding explicitly. */
.cart-foot[hidden] { display: none; }

.cart-contact { display: grid; gap: 8px; margin: 4px 0 2px; }
.cart-contact .cc-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-dim);
}
.cart-contact .cc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cart-contact input {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
}
.cart-contact input::placeholder { color: var(--text-faint); }
.cart-contact input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-dim);
}
.cart-line.save b { color: #4ADE80; }
.cart-line.total { font-size: 16px; color: var(--text); }
.cart-line.total b { font-size: 22px; font-weight: 800; color: var(--text); }
.cart-foot .btn { width: 100%; justify-content: center; margin-top: 6px; }
.cart-foot .form-note { margin-top: 2px; }
.cart-error {
  font-size: 13px;
  color: #F87171;
  text-align: center;
}

.cart-success {
  text-align: center;
  padding: 60px 24px;
}
.cart-success .tick {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
}
.cart-success .tick svg { width: 28px; height: 28px; color: #4ADE80; }
.cart-success h4 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cart-success p { font-size: 13.5px; color: var(--text-dim); font-weight: 300; word-break: break-all; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .ach-card.big { grid-column: span 6; }
  .ach-card.wide { grid-column: span 12; }
  .cs-card { grid-template-columns: 300px 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan-card .plan-desc { min-height: 0; }
  .course-grid { grid-template-columns: 1fr; }
  .buy-card { position: static; }
}
@media (max-width: 860px) {
  section { padding: 90px 0; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: rgba(12, 10, 9, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0 20px;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 15px 6vw; font-size: 16px; }
  .nav-links.open .nav-cta {
    margin: 12px 6vw 0;
    display: inline-block;
    text-align: center;
    border-radius: 100px;
  }
  .hero-stats { grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--border); }
  .hero-stat { border-bottom: 1px solid var(--border); }
  .hero-stat:nth-child(even) { border-right: none; }
  .hero-stat:nth-child(n+3) { border-bottom: none; }
  .prog-grid { grid-template-columns: 1fr; }
  #about .grid { grid-template-columns: 1fr; }
  .portrait { max-width: 480px; }
  .pillars { grid-template-columns: 1fr; }
  .ach-card.big { grid-column: span 12; }
  .cs-card { grid-template-columns: 1fr; }
  .cs-visual { min-height: 220px; }
  .cs-body { padding: 30px 26px; }
  .t-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .page-hero { padding: 190px 0 70px; }
  .course-wrap { padding: 180px 0 80px; }
}
