/* ============================================================
   People Cake — Design Tokens
   ============================================================ */
:root {
  /* Colour */
  --color-black: #0f0d0b;
  --color-purple: #a73c81;
  --color-violet: #5e5ca7;
  --color-yellow: #f2e640;
  --color-white: #ffffff;
  --color-off-white: #f5f4f2;
  --color-mid-grey: #6b6b6b;
  --color-border: #e2e0dc;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --text-hero: 72px;
  --text-h1: 52px;
  --text-h2: 36px;
  --text-h3: 24px;
  --text-body-lg: 18px;
  --text-body: 16px;
  --text-small: 14px;
  --text-label: 12px;

  /* Spacing (8pt) */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px;
  --s-24: 24px; --s-32: 32px; --s-48: 48px; --s-64: 64px;
  --s-80: 80px; --s-96: 96px; --s-128: 128px; --s-160: 160px;

  /* Radius */
  --r-card: 8px;
  --r-button: 4px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.12), 0 12px 40px rgba(0,0,0,0.10);

  /* Layout */
  --max-w: 1280px;
  --content-w: 1120px;
  --prose-w: 720px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ============================================================
   Typography classes
   ============================================================ */
.t-label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
}
.t-hero {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, var(--text-hero));
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.t-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, var(--text-h1));
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.t-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, var(--text-h2));
  line-height: 1.2;
}
.t-h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-h3);
  line-height: 1.3;
}
.t-body-lg { font-size: var(--text-body-lg); line-height: 1.7; }
.t-body { font-size: var(--text-body); line-height: 1.7; }
.t-small { font-size: var(--text-small); line-height: 1.6; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container { width: 100%; max-width: var(--content-w); margin: 0 auto; padding: 0 var(--s-32); }
@media (max-width: 768px) { .container { padding: 0 var(--s-24); } }

.section { padding: var(--s-80) 0; }
.section-sm { padding: var(--s-64) 0; }
@media (max-width: 768px) {
  .section { padding: var(--s-64) 0; }
  .section-sm { padding: var(--s-48) 0; }
}

.bg-black { background: var(--color-black); color: var(--color-white); }
.bg-off-white { background: var(--color-off-white); color: var(--color-black); }
.bg-white { background: var(--color-white); color: var(--color-black); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8);
  padding: 14px 24px;
  border-radius: var(--r-button);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-purple); color: var(--color-white); }
.btn--primary:hover { background: #8c2f6c; }
.btn--coaching { background: var(--color-violet); color: var(--color-white); }
.btn--coaching:hover { background: #4d4b8e; }
.btn--secondary { background: transparent; color: var(--color-white); border: 1px solid rgba(255,255,255,0.4); }
.btn--secondary:hover { border-color: var(--color-white); background: rgba(255,255,255,0.06); }
.btn--ghost { background: transparent; color: var(--color-black); border: 1px solid var(--color-border); }
.btn--ghost:hover { border-color: var(--color-black); }
.btn--text {
  padding: 4px 0; background: none; color: inherit;
  border-bottom: 1px solid currentColor; border-radius: 0;
}
.btn--text:hover { color: var(--color-yellow); border-color: var(--color-yellow); }
.btn--lg { padding: 18px 32px; font-size: var(--text-body-lg); }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: var(--s-32);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.card--dark {
  background: #1a1815;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.08);
}
.card--accent-purple { border-top: 3px solid var(--color-purple); }
.card--accent-violet { border-top: 3px solid var(--color-violet); }

/* ============================================================
   Pills / labels
   ============================================================ */
.pill {
  display: inline-flex; align-items: center; gap: var(--s-8);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.pill--solid { background: var(--color-yellow); color: var(--color-black); border-color: transparent; }
.pill--dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; display: inline-block;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--content-w); margin: 0 auto;
  padding: 12px var(--s-32);
}
.nav--transparent { color: var(--color-white); }
.nav--solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-black);
  border-bottom-color: var(--color-border);
}
.nav--dark-solid {
  background: rgba(15,13,11,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-white);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo svg { height: 32px; width: auto; }
.nav__wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.nav__links { display: flex; align-items: center; gap: var(--s-32); }
.nav__link {
  font-size: 15px;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 160ms ease;
}
.nav__link:hover { opacity: 1; }
.nav__link--active { opacity: 1; }
.nav__link--active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor;
}
.nav__cta { padding: 10px 20px; font-size: 14px; }
.nav__hamburger { display: none; }

@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger {
    display: flex; flex-direction: column; gap: 5px;
    padding: 8px; cursor: pointer;
  }
  .nav__hamburger span { width: 22px; height: 1.5px; background: currentColor; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--color-black);
  color: var(--color-white);
  padding: 80px var(--s-32) var(--s-48);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer--open { transform: translateX(0); }
.drawer__close { position: absolute; top: 24px; right: 24px; font-size: 28px; }
.drawer__links { display: flex; flex-direction: column; gap: var(--s-24); margin-top: var(--s-32); }
.drawer__link {
  font-family: var(--font-display);
  font-size: 32px;
  padding: var(--s-12) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--color-black); color: var(--color-white); padding: var(--s-64) 0 var(--s-24); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-48);
  padding-bottom: var(--s-48);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-48); }
}
.footer__mission { color: rgba(255,255,255,0.7); max-width: 320px; margin-top: var(--s-16); }
.footer__heading {
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--s-24);
}
.footer__nav { display: flex; flex-direction: column; gap: var(--s-12); }
.footer__nav a { opacity: 0.85; cursor: pointer; }
.footer__nav a:hover { opacity: 1; color: var(--color-yellow); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-32);
  font-size: var(--text-small);
  color: rgba(255,255,255,0.5);
}
.footer__socials { display: flex; gap: var(--s-16); margin-top: var(--s-24); }
.footer__socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 160ms ease, background 160ms ease;
}
.footer__socials a:hover { border-color: var(--color-yellow); color: var(--color-yellow); }

/* ============================================================
   Hero shared
   ============================================================ */
.hero {
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  padding: 240px 0 var(--s-80);
  overflow: hidden;
}
.hero__gear {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  color: var(--color-white);
}
.hero__label {
  color: var(--color-yellow);
  margin-bottom: var(--s-24);
}
.hero__lead { color: var(--color-off-white); max-width: 600px; margin-top: var(--s-32); }

/* ============================================================
   Stream cards (home)
   ============================================================ */
.stream-card {
  position: relative;
  padding: var(--s-48);
  border-radius: var(--r-card);
  background: #1a1815;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: var(--s-24);
  transition: transform 240ms ease, border-color 240ms ease;
  cursor: pointer;
  overflow: hidden;
  height: 100%;
  min-height: 460px;
}
.stream-card:hover { transform: translateY(-4px); }
.stream-card__accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.stream-card__bigletter {
  position: absolute; right: -20px; bottom: -60px;
  font-family: var(--font-display);
  font-size: 320px;
  line-height: 1;
  font-weight: 400;
  opacity: 0.05;
  user-select: none;
  pointer-events: none;
}
.stream-card__label { color: var(--color-yellow); }
.stream-card__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 32px);
  line-height: 1.2;
  font-weight: 400;
}
.stream-card__body { color: rgba(255,255,255,0.78); max-width: 520px; }
.stream-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  align-self: flex-start;
  transition: gap 200ms ease, color 200ms ease;
}
.stream-card:hover .stream-card__cta { gap: 14px; }
.stream-card--purple .stream-card__cta:hover { color: var(--color-purple); border-color: var(--color-purple); }
.stream-card--violet .stream-card__cta:hover { color: var(--color-violet); border-color: var(--color-violet); }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial {
  position: relative;
  padding: var(--s-48) var(--s-32) var(--s-32);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: var(--s-24);
  height: 100%;
}
.testimonial__mark {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-yellow);
  line-height: 0;
  user-select: none;
}
.testimonial__mark--open {
  position: absolute;
  top: 32px;
  left: 24px;
  font-size: 56px;
}
.testimonial__mark--close {
  font-size: 56px;
  vertical-align: -0.45em;
  margin-left: 6px;
  display: inline-block;
  line-height: 0;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: 1.4;
  font-weight: 400;
  flex: 1;
  padding-left: var(--s-16);
}
.testimonial__attr { font-size: var(--text-small); color: var(--color-mid-grey); padding-left: var(--s-16); }
.testimonial__name { color: var(--color-black); font-weight: 500; }

/* Pull quote — dark variant */
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  font-weight: 400;
  max-width: 900px;
}
.pullquote__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 80px;
  line-height: 0.6;
  color: var(--color-yellow);
  display: block;
  margin-bottom: var(--s-24);
}
.pullquote__mark--close {
  display: inline-block;
  font-size: 80px;
  line-height: 0;
  vertical-align: -0.4em;
  margin-left: 10px;
}

/* ============================================================
   Credibility bar — 2×2 bullet grid
   ============================================================ */
.cred-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-24) var(--s-64);
  padding: var(--s-48) var(--s-24);
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .cred-bar { grid-template-columns: 1fr; gap: var(--s-16); padding: var(--s-32) var(--s-16); }
}
.cred-bar__item {
  display: flex;
  align-items: center;
  gap: var(--s-16);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-black);
  letter-spacing: 0.005em;
}
.cred-bar__bullet {
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-purple);
  box-shadow: 0 0 0 4px rgba(167, 60, 129, 0.12);
}
.cred-bar__item:nth-child(2) .cred-bar__bullet { background: var(--color-violet); box-shadow: 0 0 0 4px rgba(94, 92, 167, 0.12); }
.cred-bar__item:nth-child(3) .cred-bar__bullet { background: var(--color-yellow); box-shadow: 0 0 0 4px rgba(242, 230, 64, 0.22); }
.cred-bar__item:nth-child(4) .cred-bar__bullet { background: var(--color-black); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08); }
.cred-bar__item:nth-child(5) .cred-bar__bullet { background: var(--color-purple); box-shadow: 0 0 0 4px rgba(167, 60, 129, 0.12); }

/* Trusted-by logo row */
.trusted-by {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-24);
  padding: 0 var(--s-24) var(--s-48);
  border-top: 1px solid var(--color-border);
  padding-top: var(--s-48);
}
.trusted-by__label {
  color: var(--color-mid-grey);
}
.trusted-by__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-32);
}
.trusted-by__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  filter: grayscale(1) contrast(0.8) brightness(1.05);
  opacity: 0.55;
  transition: filter 240ms ease, opacity 240ms ease, transform 240ms ease;
  cursor: pointer;
  user-select: none;
}
.trusted-by__logo:hover {
  filter: grayscale(0) contrast(1) brightness(1);
  opacity: 1;
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .trusted-by__row { gap: var(--s-16); }
  .trusted-by__logo { width: 40px; height: 40px; }
}

/* ============================================================
   Problem cards (consultancy)
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-32); }
@media (max-width: 920px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  position: relative;
  padding: var(--s-32);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-purple);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: var(--s-16);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.problem-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.problem-card__num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--color-purple);
  opacity: 0.7;
}
.problem-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: 1.3;
  font-weight: 500;
}
.problem-card__body { color: var(--color-mid-grey); }

/* ============================================================
   Two-column splits
   ============================================================ */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-80); align-items: start; }
.split-2--stretch { align-items: stretch; }
@media (max-width: 920px) { .split-2 { grid-template-columns: 1fr; gap: var(--s-48); } }

.split-portrait { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s-80); align-items: center; }
@media (max-width: 920px) { .split-portrait { grid-template-columns: 1fr; gap: var(--s-48); } }

/* ============================================================
   Diagnostic
   ============================================================ */
.diagnostic-cta {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--s-80) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.diagnostic-cta__inner {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--s-32);
  position: relative; z-index: 1;
}
.diagnostic-cta__highlight {
  background: linear-gradient(transparent 64%, rgba(242,230,64,0.4) 64%);
}
.diagnostic-cta__trust {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--s-12) var(--s-32);
  font-size: var(--text-small);
  color: rgba(255,255,255,0.7);
}
.diagnostic-cta__trust span { display: inline-flex; gap: 6px; align-items: center; }

/* ============================================================
   Programmes (coaching)
   ============================================================ */
.programme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-32); }
@media (max-width: 920px) { .programme-grid { grid-template-columns: 1fr; } }
.programme-card {
  padding: var(--s-48);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-violet);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: var(--s-24);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.programme-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }

/* ============================================================
   Who this is for list
   ============================================================ */
.who-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--s-24);
}
.who-list li {
  position: relative;
  padding-left: var(--s-32);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: 1.4;
  font-weight: 400;
}
.who-list li::before {
  content: "·";
  position: absolute; left: 0; top: 0;
  color: var(--color-violet);
  font-weight: 700;
  font-size: 1.4em;
}

/* ============================================================
   Portrait treatment
   ============================================================ */
.portrait-frame {
  position: relative;
  background: linear-gradient(135deg, #1a1815 0%, #0f0d0b 100%);
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex; align-items: end; justify-content: center;
}
.portrait-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.98) contrast(1.02);
}
.portrait-frame__tag {
  position: absolute;
  bottom: var(--s-24); left: var(--s-24);
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 8px 14px;
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
}

/* Decorative gear ornament */
.deco-gear {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
}

/* ============================================================
   Stats row
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
@media (max-width: 768px) { .stats { grid-template-columns: 1fr; } }
.stats__item {
  padding: var(--s-48) var(--s-24);
  text-align: center;
  border-right: 1px solid var(--color-border);
}
.stats__item:last-child { border-right: none; }
@media (max-width: 768px) {
  .stats__item { border-right: none; border-bottom: 1px solid var(--color-border); }
  .stats__item:last-child { border-bottom: none; }
}
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: var(--s-12);
}
.stats__label { font-size: var(--text-small); color: var(--color-mid-grey); }

/* ============================================================
   Partner grid
   ============================================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-24);
}
@media (max-width: 920px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
.partner-tile {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--color-border);
  border-radius: var(--r-card);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-white);
  color: var(--color-mid-grey);
  font-size: var(--text-small);
  letter-spacing: 0.04em;
}
.partner-tile--placeholder {
  background: var(--color-off-white);
  color: rgba(0,0,0,0.3);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
}

/* ============================================================
   Form
   ============================================================ */
.form { display: flex; flex-direction: column; gap: var(--s-24); }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-black);
}
.form__input, .form__select {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--r-button);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-black);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form__input:focus, .form__select:focus {
  outline: none;
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(167, 60, 129, 0.12);
}

/* ============================================================
   Diagnostic page question stepper
   ============================================================ */
.dx-step { display: flex; flex-direction: column; gap: var(--s-32); max-width: 720px; margin: 0 auto; }
.dx-progress {
  display: flex; gap: 6px; align-items: center;
  font-size: var(--text-small); color: var(--color-mid-grey);
}
.dx-progress__bar {
  flex: 1; height: 4px; background: var(--color-border); border-radius: 2px; overflow: hidden;
}
.dx-progress__fill { height: 100%; background: var(--color-purple); transition: width 300ms ease; }
.dx-question {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.25;
  font-weight: 400;
}
.dx-scale { display: flex; gap: var(--s-8); margin-top: var(--s-16); flex-wrap: wrap; }
.dx-scale__btn {
  flex: 1; min-width: 80px;
  padding: var(--s-16);
  border: 1px solid var(--color-border);
  border-radius: var(--r-button);
  background: var(--color-white);
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  transition: all 160ms ease;
}
.dx-scale__btn:hover { border-color: var(--color-black); }
.dx-scale__btn--active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.dx-scale__num {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.dx-actions { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-16); }

/* ============================================================
   Modal
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15, 13, 11, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-24);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms ease;
}
.modal-overlay--open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--r-card);
  max-width: 560px;
  width: 100%;
  padding: var(--s-48);
  position: relative;
  max-height: 90vh;
  overflow: auto;
  transform: translateY(12px);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay--open .modal { transform: translateY(0); }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  transition: background 160ms ease;
}
.modal__close:hover { background: var(--color-off-white); }

/* ============================================================
   Section heading helper
   ============================================================ */
.eyebrow {
  color: var(--color-mid-grey);
  margin-bottom: var(--s-16);
}
.eyebrow--yellow { color: var(--color-yellow); }
.eyebrow--purple { color: var(--color-purple); }
.eyebrow--violet { color: var(--color-violet); }

/* ============================================================
   Misc utilities
   ============================================================ */
.stack-8 > * + * { margin-top: var(--s-8); }
.stack-12 > * + * { margin-top: var(--s-12); }
.stack-16 > * + * { margin-top: var(--s-16); }
.stack-24 > * + * { margin-top: var(--s-24); }
.stack-32 > * + * { margin-top: var(--s-32); }
.stack-48 > * + * { margin-top: var(--s-48); }
.text-center { text-align: center; }
.text-yellow { color: var(--color-yellow); }
.text-purple { color: var(--color-purple); }
.text-violet { color: var(--color-violet); }
.text-mid { color: var(--color-mid-grey); }

.divider { height: 1px; background: var(--color-border); width: 100%; }
.divider--dark { background: rgba(255,255,255,0.12); }

.cta-row { display: flex; gap: var(--s-16); flex-wrap: wrap; margin-top: var(--s-48); }
.cta-row .btn { padding: 16px 28px; }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.fade-up-delay-1 { animation-delay: 120ms; }
.fade-up-delay-2 { animation-delay: 240ms; }
.fade-up-delay-3 { animation-delay: 360ms; }

/* Smooth route transitions */
.route { animation: fadeUp 500ms cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Selection */
::selection { background: var(--color-yellow); color: var(--color-black); }
