/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, li { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

/* ---------- Design tokens ---------- */
:root {
  --bg: #060a12;
  --bg-soft: #0b1420;
  --surface: #0f1b2d;
  --surface-2: #14243a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef6ff;
  --text-muted: #9fb4cc;
  --text-faint: #6d84a0;

  --baby-blue: #a9dcff;
  --cyan: #14dcf5;
  --cyan-strong: #06b6d4;
  --deep-blue: #1d4ed8;
  --deep-blue-dark: #0f2a73;

  --gradient-primary: linear-gradient(135deg, var(--cyan) 0%, var(--baby-blue) 100%);
  --glow-cyan: color-mix(in srgb, var(--cyan) 35%, transparent);
  --accent: var(--cyan);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.35);

  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-script: 'Fraunces', Georgia, serif;

  color-scheme: dark;
}

:root[data-theme='light'] {
  --bg: #f5faff;
  --bg-soft: #eaf3fc;
  --surface: #ffffff;
  --surface-2: #eef6fd;
  --border: rgba(10, 30, 60, 0.09);
  --text: #0b1a2b;
  --text-muted: #47607d;
  --text-faint: #7590ab;

  --deep-blue: #1d4ed8;
  --deep-blue-dark: #123a8f;

  --accent: #0b7d90;
  --glow-cyan: color-mix(in srgb, var(--accent) 18%, transparent);
  --shadow-lg: 0 30px 70px rgba(20, 60, 120, 0.14);
  --shadow-md: 0 14px 34px rgba(20, 60, 120, 0.1);

  color-scheme: light;
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.005em; text-transform: uppercase; }

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin-bottom: 0.9rem;
  max-width: 20ch;
}
/* Force a heading onto exactly one line, shrinking as the viewport narrows */
.h2-nowrap {
  white-space: nowrap;
  max-width: none;
  font-size: clamp(1.2rem, 4.4vw, 2.4rem);
}
/* Force a heading onto exactly two lines (used with a manual line break) */
.h2-tight { max-width: none; font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
/* Center a heading and its wrapped lines, e.g. for a manually two-lined statement */
.h2-center { max-width: none; margin-left: auto; margin-right: auto; text-align: center; }

/* Pill-shaped eyebrow badge with a small glowing dot */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow-cyan);
  flex-shrink: 0;
}

/* Elegant italic accent treatment for emphasized keywords/phrases in headings */
.highlight {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 8px var(--glow-cyan), 0 0 18px var(--glow-cyan);
  transform: skewX(-8deg);
}
:root[data-theme='light'] .highlight { text-shadow: 0 0 8px color-mix(in srgb, var(--accent) 30%, transparent); }
.underline-accent {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.accent-italic {
  font-family: 'Bodoni Moda', 'Playfair Display', serif;
  font-style: italic;
  color: var(--accent);
  text-shadow: 0 0 8px var(--glow-cyan), 0 0 18px var(--glow-cyan);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 2.8rem;
}

/* ---------- Ambient particles ---------- */
.ambient-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient-particles span {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--baby-blue);
  opacity: 0.5;
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

/* ---------- Custom cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  html { cursor: none; }
  a, button, .faq-question { cursor: none; }
}
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.15s ease;
  opacity: 0;
  color: var(--hero-teal);
  filter: drop-shadow(0 0 4px var(--hero-teal)) drop-shadow(0 0 9px var(--hero-teal-glow)) drop-shadow(0 0 18px var(--hero-teal-glow));
}
.custom-cursor svg { width: 100%; height: 100%; display: block; }
.custom-cursor.is-active { opacity: 1; }
.custom-cursor.is-hovering { transform: translate(-50%, -50%) scale(1.5); }
@media (hover: none), (pointer: coarse) {
  .custom-cursor { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: padding 0.35s ease, background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  padding: 0.8rem 0;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  padding: 4px;
}
.logo-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--accent); }
@media (min-width: 901px) {
  .logo { font-size: 1.4rem; }
}
.nav-links { display: none; }
.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}
.nav-link:hover { color: var(--accent); }
@media (min-width: 901px) {
  .nav-links { display: flex; align-items: center; gap: 2rem; }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: transform 0.3s ease, border-color .3s ease;
}
.theme-toggle:hover { transform: scale(1.06); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-moon { display: none; }
:root[data-theme='light'] .icon-sun { display: none; }
:root[data-theme='light'] .icon-moon { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #04121c;
  box-shadow: 0 10px 30px var(--glow-cyan);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 40px var(--glow-cyan); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-small { padding: 0.65rem 1.3rem; font-size: 0.85rem; }

/* Big two-line CTA button (bold title + smaller muted caption) */
.btn-mega {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.1rem 2.4rem;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #04121c;
  box-shadow: 0 14px 36px var(--glow-cyan);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  text-align: center;
}
.btn-mega:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 20px 46px var(--glow-cyan); }
.btn-mega-title { font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.btn-mega-caption { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.02em; color: rgba(4, 18, 28, 0.65); }

/* ---------- Global cosmic background ---------- */
/* The cosmic canvas effect only makes sense against a dark sky, so it (and its
   readability scrim) only renders in dark mode. Light mode gets a clean, plain
   themed background per-section instead — see the [data-theme='light'] overrides below. */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  filter: blur(0.5px);
  pointer-events: none;
}
.bg-scrim {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(5, 8, 15, 0.32), rgba(5, 8, 15, 0.32)),
    radial-gradient(ellipse at 50% 0%, rgba(5, 8, 15, 0.55), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(5, 8, 15, 0.6), transparent 55%);
}
:root[data-theme='light'] .bg-canvas,
:root[data-theme='light'] .bg-scrim { display: none; }

/* ---------- Hero (dark space background shared with the rest of the site) ---------- */
:root {
  --hero-black: #050807;
  --hero-charcoal: #141918;
  --hero-charcoal-deep: #0a0d0c;
  --hero-teal: var(--cyan);
  --hero-teal-glow: color-mix(in srgb, var(--hero-teal) 55%, transparent);
  --hero-teal-border: color-mix(in srgb, var(--hero-teal) 40%, transparent);
  --hero-text: #f5f2ef;
  --hero-grey-med: #9ca19f;
  --hero-grey-light: #c9c2bd;
  --hero-font-display: ui-rounded, "SF Pro Rounded", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}
:root[data-theme='light'] {
  --hero-teal: var(--accent);
  --hero-text: #16211f;
  --hero-grey-med: #4b5451;
  --hero-grey-light: #5c6663;
}
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-text);
}
:root[data-theme='light'] .hero { background: linear-gradient(135deg, #eaf6ff 0%, #f5faff 60%); }
.hero-inner { position: relative; z-index: 1; }

.ascend-hero__inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ascend-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--hero-charcoal);
  border: 1px solid var(--hero-teal-border);
  font-family: var(--hero-font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5f2ef;
  margin-bottom: 2rem;
}
.ascend-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--hero-teal);
  box-shadow: 0 0 6px var(--hero-teal), 0 0 10px var(--hero-teal-glow);
  animation: ascend-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes ascend-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.ascend-badge-brand { font-style: italic; }
@media (max-width: 640px) {
  .ascend-badge { padding: 0.3rem 0.7rem; font-size: 10.25px; gap: 0.4em; }
  .ascend-badge-dot { width: 5px; height: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ascend-badge-dot { animation: none; }
}
.ascend-headline {
  font-family: var(--hero-font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: none;
  text-wrap: balance;
  margin: 0 0 1.6rem;
  text-align: center;
}
.ascend-headline .line { display: block; }
.ascend-headline .line-1 {
  font-size: clamp(2.1rem, calc(5.7vw - 0.15rem), 3.9rem);
  white-space: nowrap;
  margin-bottom: 0.3em;
}
.ascend-headline .line-2 {
  font-size: clamp(1.31rem, 3.13vw, 2.12rem);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .ascend-headline .line-1,
  .ascend-headline .line-2 { white-space: normal; }
}
.ascend-teal { color: var(--hero-teal); text-shadow: 0 0 18px var(--hero-teal-glow); }
.ascend-headline-word {
  display: inline-block;
  font-family: 'Bodoni Moda', 'Playfair Display', serif;
  font-style: italic;
  font-weight: 800;
  font-size: 1.22em;
  line-height: 1;
  vertical-align: baseline;
  background: linear-gradient(120deg, #7df6ff 0%, #eafeff 32%, var(--hero-teal) 62%, #0c92a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px var(--hero-teal-glow);
}
.ascend-star {
  display: inline-block;
  width: 0.34em;
  height: 0.34em;
  vertical-align: top;
  position: relative;
  top: -0.05em;
  margin-left: 0.05em;
  color: #7df6ff;
  filter: drop-shadow(0 0 4px var(--hero-teal-glow));
}
.ascend-star svg { width: 100%; height: 100%; display: block; }
:root[data-theme='light'] .ascend-headline-word {
  background: linear-gradient(120deg, #0a8a99 0%, #9fe9f0 32%, var(--hero-teal) 58%, #04333c 100%);
}
.ascend-subhead {
  font-family: var(--hero-font-display);
  font-weight: 700;
  font-size: clamp(1.44rem, 3vw, 1.88rem);
  line-height: 1.35;
  color: var(--hero-text);
  max-width: 620px;
  margin: 0 auto 1.75rem;
  text-align: center;
}
.ascend-subhead .u {
  text-decoration: underline;
  text-decoration-color: var(--hero-teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ascend-body { margin: 0; font-size: 18.75px; line-height: 1.6; max-width: 620px; text-align: center; }
.ascend-body .l1 { display: block; color: var(--hero-grey-med); font-weight: 500; margin: 0 0 0.35rem; }
.ascend-body .l2 { display: block; color: var(--hero-grey-light); font-style: italic; font-weight: 400; margin: 0; }

.ascend-cta-wrap { width: 100%; max-width: 640px; margin: 3rem auto 0; display: flex; justify-content: center; }
.ascend-cta-card {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  padding: 1.6rem 2rem 1.75rem;
  background: linear-gradient(180deg, var(--hero-charcoal) 0%, var(--hero-charcoal-deep) 100%);
  border: 1px solid var(--hero-teal-border);
  box-shadow: 0 0 32px color-mix(in srgb, var(--hero-teal) 14%, transparent), inset 0 0 24px color-mix(in srgb, var(--hero-teal) 5%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ascend-cta-urgency {
  font-family: var(--hero-font-display);
  font-size: 13.75px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hero-teal);
  margin: 0 0 1.1rem;
}
.ascend-cta-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  text-align: center;
  background: var(--hero-teal);
  border: none;
  border-radius: 20px;
  padding: 1.5rem 2.2rem;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--hero-teal) 30%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ascend-cta-button:hover { transform: translateY(-2px); box-shadow: 0 14px 36px color-mix(in srgb, var(--hero-teal) 38%, transparent); }
.ascend-cta-button-title {
  font-family: var(--hero-font-display);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: none;
}
.ascend-cta-button-caption {
  font-family: var(--hero-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a1210;
  text-shadow: none;
}
.ascend-footer-line {
  margin: 2.5rem auto 0;
  font-size: 15px;
  color: var(--hero-grey-med);
  text-align: center;
  max-width: 640px;
  width: 100%;
}
.ascend-footer-line .teal { color: var(--hero-teal); font-weight: 500; }
@media (max-width: 480px) {
  .ascend-cta-card { padding: 1.4rem 1.4rem 1.6rem; }
}

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding: 6.5rem 0; overflow: hidden; scroll-margin-top: 90px; }
.alt-bg { background: color-mix(in srgb, var(--bg-soft) 45%, transparent); }
:root[data-theme='light'] .alt-bg { background: var(--bg-soft); }

/* Decorative corner glow — diagonal color bleed from a section corner */
.section.glow-tr::before,
.section.glow-bl::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.section.glow-tr::before {
  top: -220px;
  right: -220px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
}
.section.glow-bl::before {
  bottom: -220px;
  left: -220px;
  background: radial-gradient(circle, var(--deep-blue), transparent 70%);
}

/* ---------- Hero video ---------- */
.video-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Who I Am ---------- */
.who-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.photo-frame {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.who-copy p { color: var(--text-muted); margin-bottom: 1.1rem; }
.who-copy h2 { color: var(--text); }

/* ---------- Cards (Problem) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { margin-bottom: 0.7rem; font-size: 1.15rem; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- Pillars (Program) ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity .3s ease;
}
.pillar:hover::before { opacity: 0.06; }
.pillar-num {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 1.1rem;
}
.pillar h3 { margin-bottom: 0.7rem; font-size: 1.2rem; }
.pillar p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- Why Different ---------- */
.compare-grid { display: flex; flex-direction: column; gap: 1rem; }
.compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.8rem;
  transition: border-color .3s ease, transform .3s ease;
}
.compare-row:hover { border-color: var(--accent); transform: translateY(-2px); }
.compare-not { color: var(--text-faint); text-decoration: line-through; font-size: 0.95rem; display: flex; align-items: center; gap: 0.7rem; }
.compare-arrow { color: var(--accent); font-weight: 800; }
.compare-is { color: var(--text); font-weight: 600; font-size: 0.98rem; display: flex; align-items: center; gap: 0.7rem; }
.icon-check, .icon-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.icon-check { background: var(--accent); color: var(--bg); }
.icon-x { background: var(--surface-2); color: var(--text-faint); border: 1px solid var(--border); }

/* ---------- Guarantee ---------- */
.guarantee-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px var(--glow-cyan), var(--shadow-lg);
  position: relative;
}
.guarantee-box::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.guarantee-box .eyebrow { justify-content: center; }
.guarantee-box h2 { max-width: none; margin: 0 auto 1.6rem; }
.guarantee-quote {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-photo-card { text-align: center; }
.testimonial-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 0.9rem;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  margin-bottom: 1.1rem;
}
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-photo-card:hover .testimonial-photo {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px var(--glow-cyan);
}
.testimonial-caption { font-weight: 700; font-size: 0.95rem; }
.testimonial-caption span { color: var(--text-faint); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.7rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
}
.faq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding: 0 1.7rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ---------- Apply ---------- */
.apply-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.8rem;
}
.apply-step-num {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.apply-step-num::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow-cyan);
  flex-shrink: 0;
}
.apply-step h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.jotform-placeholder {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-faint);
  background: var(--surface-2);
}
.jotform-placeholder p { font-weight: 700; color: var(--text-muted); margin-bottom: 0.4rem; }
.jotform-placeholder span { font-size: 0.85rem; }
.apply-cta { display: flex; justify-content: center; }
#apply .container { text-align: center; }
#apply h2, #apply .section-sub { margin-left: auto; margin-right: auto; }
.apply-form-container { min-height: 60vh; }

/* ---------- Confirmation page ---------- */
.confirmation-container { max-width: 700px; }
.confirmation-container h1 { margin-bottom: 1.6rem; }
.confirmation-container p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.3rem;
}
.confirmation-signoff { color: var(--text); font-weight: 700; font-size: 1.2rem; }

/* ---------- Repeated per-section CTA ---------- */
.section-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.section-cta p { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }
.section-cta-left { justify-content: flex-start; border-top: none; padding-top: 0; margin-top: 1.6rem; }

/* Slow breathing glow pulse for high-emphasis elements */
@keyframes breathe-glow-btn {
  0%, 100% { box-shadow: 0 14px 36px var(--glow-cyan); }
  50% { box-shadow: 0 14px 50px var(--glow-cyan), 0 0 0 6px color-mix(in srgb, var(--cyan) 12%, transparent); }
}
@keyframes breathe-glow-box {
  0%, 100% { box-shadow: 0 0 0 1px var(--glow-cyan), var(--shadow-lg); }
  50% { box-shadow: 0 0 0 3px var(--glow-cyan), var(--shadow-lg); }
}
.btn-mega { animation: breathe-glow-btn 4s ease-in-out infinite; }
.guarantee-box { animation: breathe-glow-box 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .btn-mega, .guarantee-box { animation: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color .25s ease, border-color .25s ease;
}
.social-links a:hover { color: var(--accent); border-color: var(--accent); }
.social-links svg { width: 17px; height: 17px; }
.footer-copy { color: var(--text-faint); font-size: 0.85rem; }

/* ---------- Reveal animation base state (JS/GSAP controls the animation) ---------- */
.reveal, .reveal-line, .reveal-group .reveal {
  opacity: 0;
  transform: translateY(40px);
}
.no-js .reveal, .no-js .reveal-line { opacity: 1; transform: none; }

/* Word-by-word heading reveal (populated by JS) */
.word-wrap { display: inline-block; overflow: hidden; vertical-align: top; }
.word-inner { display: inline-block; transform: translateY(110%); opacity: 0; }
.no-js .word-inner { transform: none; opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .ambient-particles span { animation: none; opacity: 0; }
  .reveal, .reveal-line, .reveal-group .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr; }
  .photo-frame { max-width: 220px; margin: 0 auto; }
  .card-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; text-align: left; gap: 0.6rem; }
  .compare-arrow { display: none; }

  /* Mobile navbar: smaller wordmark, guaranteed gap, toggle pinned far right */
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .logo { font-size: 1.15rem; letter-spacing: -0.005em; }
  .header-actions { gap: 0.6rem; }
  .theme-toggle { order: 2; }
  .header-actions .btn-small { order: 1; }
}
@media (max-width: 520px) {
  .header-actions .btn-small { padding: 0.55rem 1rem; font-size: 0.78rem; }
  .hero { padding-top: 7rem; }
  .apply-step { padding: 1.8rem; }
  .jotform-placeholder { padding: 2.5rem 1.2rem; }
}
