:root {
  --vyaasa: #FF8B00;
  --brand-50: #FFF6EC;
  --brand-100: #FFE9D2;
  --brand-200: #FFD0A1;
  --brand-300: #FFB36B;
  --brand-400: #FF983A;
  --brand-500: #FF8B00;
  --brand-600: #E67800;
  --brand-700: #B85F00;
  --gold-200: #FFE3AC;
  --gold-400: #FFC65C;
  --gold-600: #E8A93A;
  --cream-50: #FDFAF4;
  --cream-100: #FAF6EE;
  --cream-200: #F4ECDD;
  --ink-950: #120F0C;
  --ink-900: #1C1917;
  --ink-700: #44403C;
  --ink-500: #78716C;
  --border: #EDE6D9;
  --shadow-soft: 0 1px 2px rgba(16,24,40,0.04), 0 1px 3px rgba(16,24,40,0.06);
  --shadow-lift: 0 12px 32px rgba(230, 120, 0, 0.14), 0 4px 10px rgba(16,24,40,0.06);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  max-width: 100%;
  /* overflow-x: hidden (or auto/scroll) forces the OTHER axis to compute as
     "auto" per the CSS spec — no way to opt out by also setting
     overflow-y:visible, the spec overrides it. That turns html/body into a
     scroll container in its own right, which breaks position:sticky for
     descendants (they'd stick relative to the wrong scrolling ancestor).
     overflow-x: clip avoids this entirely: it clips horizontal overflow
     without ever establishing a scrollport, so normal document scrolling
     (and sticky positioning within it) is unaffected. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--vyaasa);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-400), var(--vyaasa) 50%, var(--brand-700));
  z-index: 1100;
  transition: width 0.1s linear;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--vyaasa);
  box-shadow: var(--shadow-lift);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: var(--vyaasa);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--vyaasa);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn .btn-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover .btn-label svg {
  transform: translate(2px, -2px);
}
.btn-label svg { transition: transform 0.2s var(--ease); }
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--vyaasa);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--brand-50);
  border-color: var(--brand-200);
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 244, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  text-decoration: none;
  margin-right: auto;
}
.brand img { border-radius: 8px; }

.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--vyaasa); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--vyaasa);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  padding: 12px 4px;
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 12px; }
.mobile-nav.open { display: flex; }

@media (max-width: 860px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  --reveal-y: 24px;
  --reveal-scale: 0.96;
  opacity: 0;
  transform: translateY(var(--reveal-y)) scale(var(--reveal-scale));
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  --reveal-y: 0px;
  --reveal-scale: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], h1 .line, .card, .reveal-word-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-glow { display: none !important; }
  .assess-slider-track { scroll-behavior: auto !important; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero-blob-1 {
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 30% 30%, var(--brand-200), var(--brand-50) 70%);
  animation: float 10s ease-in-out infinite;
}
.hero-blob-2 {
  bottom: -220px;
  left: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 60% 40%, var(--gold-200), transparent 70%);
  animation: float 13s ease-in-out infinite reverse;
}
.hero-blob-3 {
  top: 30%;
  left: 42%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 50% 50%, var(--gold-400), transparent 72%);
  opacity: 0.35;
  animation: float 16s ease-in-out infinite;
  animation-delay: 2s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 24px) scale(1.05); }
}

/* Subtle grain texture for premium depth */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}

/* Cursor-reactive glow, position set via --mx/--my custom properties in JS */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 30%),
    rgba(255, 139, 0, 0.16),
    transparent 70%
  );
}
.hero-glow.is-active { opacity: 1; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vyaasa);
  box-shadow: 0 0 0 0 rgba(255, 139, 0, 0.5);
  animation: eyebrowPulse 2.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes eyebrowPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 139, 0, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(255, 139, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 139, 0, 0); }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
h1 .line:nth-child(2) { transition-delay: 0.12s; }
.hero-copy.is-visible h1 .line {
  opacity: 1;
  transform: translateY(0);
}

.gradient-text {
  background: linear-gradient(90deg, var(--vyaasa), var(--brand-700), var(--vyaasa));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-700);
  max-width: 52ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Hero visual: constellation illustration + mock card */
.hero-visual { position: relative; }

.constellation {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 145%;
  max-width: 480px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.orbit-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 50s linear infinite;
}
.core-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: corePulse 4s ease-in-out infinite;
}
.flow-line {
  stroke-dasharray: 6 5;
  animation: flowDash 2.4s linear infinite;
}
.flow-line-a { animation-delay: 0s; }
.flow-line-b { animation-delay: 0.3s; }
.flow-line-c { animation-delay: 0.6s; }
.orbit-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeFloat 5s ease-in-out infinite;
}
.orbit-node-a { animation-delay: 0.2s; }
.orbit-node-b { animation-delay: 1.1s; animation-duration: 5.6s; }
.orbit-node-c { animation-delay: 0.6s; animation-duration: 4.6s; }

@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes flowDash {
  to { stroke-dashoffset: -22; }
}
@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 640px) {
  .constellation { display: none; }
}

.floating-chip {
  position: absolute;
  bottom: -16px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-900);
  z-index: 2;
  transform: rotate(-3deg);
  animation: chipDrift 6s ease-in-out infinite;
}
.floating-chip svg {
  width: 18px;
  height: 18px;
  color: #16A34A;
  flex-shrink: 0;
}
@keyframes chipDrift {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-8px); }
}
@media (max-width: 640px) {
  .floating-chip { display: none; }
}

.cert-card-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  perspective: 1600px;
  animation: drift 7s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.cert-card-stack:focus-visible {
  outline: 2px solid var(--vyaasa);
  outline-offset: 6px;
  border-radius: 20px;
}

.cert-card-flip {
  position: relative;
  width: 100%;
  cursor: pointer;
  transform: rotate(-4deg);
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0.15, 0.2, 1);
}
.cert-card-stack.is-flipped .cert-card-flip,
.cert-card-stack:hover .cert-card-flip {
  transform: rotate(-4deg) rotateY(180deg);
}

.cert-card-face {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.cert-card-face-front { position: relative; z-index: 1; }
.cert-card-face-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--cream-100); }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.section-sub { color: var(--ink-500); margin: 0; }

/* Word-by-word text reveal, applied via JS to [data-text-reveal] elements */
.reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.reveal-word-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
[data-reveal].is-visible [data-text-reveal] .reveal-word-inner {
  transform: translateY(0);
  opacity: 1;
}

/* Features grid */
.grid-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  perspective: 800px;
  --lift-y: 0px;
  transform: translateY(calc(var(--reveal-y, 24px) + var(--lift-y))) scale(var(--reveal-scale, 0.96)) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
  transition: transform 0.4s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 139, 0, 0.14) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.card:hover {
  --lift-y: -6px;
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
}
.card:hover::before {
  transform: translateX(120%);
}
.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--brand-50), var(--gold-200));
  color: var(--brand-600);
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease);
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon {
  transform: scale(1.12) rotate(-6deg);
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-500); font-size: 0.95rem; }

/* Staggered reveal for grid children */
.grid-features .card:nth-child(1) { transition-delay: 0s; }
.grid-features .card:nth-child(2) { transition-delay: 0.08s; }
.grid-features .card:nth-child(3) { transition-delay: 0.16s; }
.grid-features .card:nth-child(4) { transition-delay: 0.24s; }
.grid-features .card:nth-child(5) { transition-delay: 0.32s; }
.grid-features .card:nth-child(6) { transition-delay: 0.4s; }
.steps .step:nth-child(1) { transition-delay: 0s; }
.steps .step:nth-child(2) { transition-delay: 0.12s; }
.steps .step:nth-child(3) { transition-delay: 0.24s; }

@media (max-width: 900px) {
  .grid-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-features { grid-template-columns: 1fr; }
}

/* Steps */
.steps-wrap {
  position: relative;
}
.flow-path {
  position: absolute;
  top: -46px;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 0;
}
.flow-path .flow-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.4s var(--ease) 0.15s;
}
.steps-wrap.is-visible .flow-path .flow-line {
  stroke-dashoffset: 0;
}
@media (max-width: 860px) {
  .flow-path { display: none; }
}

.steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--vyaasa);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-500); font-size: 0.95rem; }

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

/* Dark section (testimonial) */
.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
}
.section-dark .container { position: relative; z-index: 1; }
.hero-blob-dark {
  top: -160px;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 30%, rgba(255, 139, 0, 0.28), transparent 70%);
  animation: float 14s ease-in-out infinite;
}

/* Glassmorphic card */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* Testimonials: identical slider mechanics to the assessments slider — a
   circular "camera roll" with a fixed centre frame, drag-to-move, and
   click-a-card-to-centre-it, via cloned cards for seamless wraparound. */
.testimonial-slider-viewport {
  position: relative;
}
.testimonial-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.testimonial-slider-track::-webkit-scrollbar { display: none; }
.testimonial-slider-track.is-dragging { cursor: grabbing; }

.testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 36px 32px;
  cursor: pointer;
}
.quote-mark {
  width: 34px;
  height: auto;
  color: var(--brand-400);
  margin: 0 0 16px;
  display: block;
}
.testimonial p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 16px;
}
.testimonial p:last-of-type { margin-bottom: 24px; }
.testimonial footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.testimonial footer strong { color: rgba(255, 255, 255, 0.92); }

@media (max-width: 720px) {
  .testimonial { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .testimonial { padding: 32px 24px; }
}

/* ---------- AI8 Index ---------- */
.section-head-light h2 { color: #fff; }
.section-head-light .section-sub { color: rgba(255, 255, 255, 0.65); }
.eyebrow-light {
  color: var(--gold-400);
  background: rgba(255, 198, 92, 0.12);
  border-color: rgba(255, 198, 92, 0.35);
}
.eyebrow-light .eyebrow-dot { background: var(--gold-400); }

.ai8-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

.ai8-radar-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.ai8-radar { display: block; width: 100%; height: auto; }
.ai8-radar svg { display: block; width: 100%; height: auto; overflow: visible; }

.radar-ring { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; }
.radar-axis { stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.radar-data {
  fill: rgba(255, 139, 0, 0.28);
  stroke: var(--vyaasa);
  stroke-width: 2;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.9s var(--ease) 0.15s, opacity 0.9s var(--ease) 0.15s;
}
.ai8-panel.is-visible .radar-data {
  transform: scale(1);
  opacity: 1;
}
.radar-dot { fill: var(--gold-400); }
.radar-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.75);
}
.radar-label-value { fill: var(--gold-400); font-weight: 700; }

.ai8-radar-score {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.ai8-radar-score strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ai8-radar-score span {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ai8-caption {
  max-width: 40ch;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

@media (max-width: 640px) {
  .ai8-radar-score strong { font-size: 2rem; }
  .radar-label { font-size: 9.5px; }
}

/* ---------- Assessment slider (two cards per view) ---------- */
.assess-slider-wrap {
  margin-bottom: 64px;
}


.assess-slider-viewport {
  position: relative;
}

.assess-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.assess-slider-track::-webkit-scrollbar { display: none; }
.assess-slider-track.is-dragging { cursor: grabbing; }

/* No CSS scroll-snap / scroll-behavior here on purpose: settling after a
   drag (mouse or touch) and after auto-advance's step() jumps is handled in
   JS via explicit scrollTo() calls — CSS-level snap would fight those. */
.assess-slide {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lift);
  cursor: pointer;
}

/* A single fixed "viewfinder" frame sits in the middle slot of the slider
   and never moves — cards slide underneath it one at a time, so whichever
   card happens to be in the middle is the one that appears framed. A plain
   solid border plus a soft expanding pulse (no gradient masking involved —
   that technique kept producing rendering artifacts across browsers). */
.assess-slider-frame {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: calc((100% - 48px) / 3 + 20px);
  width: calc((100% - 48px) / 3 + 8px);
  box-sizing: border-box;
  border: 2px solid var(--vyaasa);
  border-radius: calc(var(--radius) + 4px);
  pointer-events: none;
  z-index: 5;
  animation: assess-frame-pulse 2.2s ease-out infinite;
}
@keyframes assess-frame-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 139, 0, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(255, 139, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 139, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .assess-slider-frame { animation: none; }
}

@media (max-width: 720px) {
  .assess-slide { flex-basis: 100%; }
  .assess-slider-frame { left: -4px; width: calc(100% + 8px); }
}
.assess-slide-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-100);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}
.assess-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--brand-50), var(--gold-200));
  color: var(--brand-600);
  margin-bottom: 14px;
}
.assess-icon svg { width: 21px; height: 21px; }
.assess-slide h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.assess-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  padding: 2px 8px;
  border-radius: 999px;
}
.assess-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-600);
}
.assess-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.assess-desc {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: var(--ink-500);
  font-size: 0.88rem;
  line-height: 1.55;
}
.assess-dims {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.assess-dims span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--cream-100);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Certificate showcase (stacked, centered) ---------- */
.cert-showcase {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.cert-showcase-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cert-showcase h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-900);
}
.cert-showcase-caption {
  margin: 0 auto 28px;
  max-width: 44ch;
  font-size: 0.95rem;
  color: var(--ink-500);
}
.cert-showcase-frame {
  max-width: 440px;
  margin: 0 auto 28px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  transform: rotate(-0.8deg);
}
.cert-showcase-frame img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.cert-showcase-points {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.cert-showcase-points li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-900);
}
.cert-showcase-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B85F00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Contact form ---------- */
.contact-inner { max-width: 720px; }
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.req { color: var(--vyaasa); }

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--cream-50);
  color: var(--ink-900);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--vyaasa);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field input:invalid[data-touched="true"],
.field.has-error input,
.field.has-error textarea {
  border-color: #DC2626;
}
.field-error {
  font-size: 0.8rem;
  color: #DC2626;
  min-height: 1em;
}

#submitBtn { position: relative; width: 100%; }
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
#submitBtn.is-loading .btn-label { opacity: 0.6; }
#submitBtn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.success { color: #15803D; }
.form-status.error { color: #DC2626; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--cream-100);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-500);
  font-size: 0.9rem;
}
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { color: var(--ink-500); text-decoration: none; }
.footer-inner nav a:hover { color: var(--vyaasa); }
