:root {
  /* Research Resource Hub — Stripe layout + logo palette */
  /* Logo primary navy/slate */
  --navy: #546682;
  --navy-deep: #3d4f66;
  --navy-soft: #eef1f5;
  /* Logo accent terracotta (HUB / primary CTAs) */
  --terracotta: #D65524;
  --terracotta-hover: #b8471e;
  /* Logo gold / yellow (sparing highlights) */
  --gold: #F5A623;
  --yellow: #FFB81C;
  /* Soft green accents only */
  --green: #8FBC8F;
  --green-soft: #eef5ee;

  /* Surfaces & type */
  --heading: #2c2a28;
  --body: #425466;
  --muted: #697386;
  --slate: #425466;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-warm: #faf9f7;
  --border: #e6ebf1;
  --border-strong: #d8dee8;
  --shadow: 0 2px 5px rgba(60, 66, 87, 0.04), 0 8px 24px rgba(60, 66, 87, 0.08);
  --shadow-lg: 0 13px 40px -8px rgba(60, 66, 87, 0.16), 0 8px 16px -8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 18px 45px -10px rgba(60, 66, 87, 0.2), 0 10px 20px -8px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: var(--font-sans);
  --nav-h: 72px;
  --max: 1080px;

  /* Primary CTA tokens */
  --primary: var(--terracotta);
  --primary-hover: var(--terracotta-hover);
  --focus-ring: rgba(84, 102, 130, 0.28);
  --focus-ring-cta: rgba(214, 85, 36, 0.28);

  /* Legacy Stripe names → RRH (links / accents = navy; soft = navy-soft) */
  --blurple: var(--navy);
  --blurple-hover: var(--navy-deep);
  --blurple-dark: var(--navy-deep);
  --blurple-soft: var(--navy-soft);
  --indigo: var(--navy);
  --cyan: var(--gold);
  --pink: var(--terracotta);

  --cream: var(--bg);
  --cream-warm: var(--bg-warm);
  --cream-dark: var(--border);
  --charcoal: var(--heading);
  --charcoal-soft: var(--body);

  /* Legacy teal aliases → RRH navy */
  --teal-deep: var(--navy-deep);
  --teal: var(--navy);
  --teal-mid: var(--navy);
  --teal-soft: var(--navy-soft);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blurple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blurple-dark); }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Typography —— */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.15;
  color: var(--heading);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 3.75rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.lede {
  font-size: 1.125rem;
  color: var(--body);
  max-width: 36em;
  line-height: 1.7;
  letter-spacing: -0.01em;
}
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blurple);
  margin-bottom: 0.85rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(214, 85, 36, 0.28);
}
.btn-primary:hover {
  background: var(--terracotta-hover);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(214, 85, 36, 0.35);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border-strong);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
}
.btn-secondary:hover {
  background: var(--navy-soft);
  color: var(--navy-deep);
  border-color: var(--navy);
}
.btn-ghost {
  background: var(--white);
  color: var(--heading);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--blurple);
  color: var(--blurple);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* —— Sticky Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 235, 241, 0.9);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1.15;
}
.logo:hover { color: var(--heading); }
.logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.1rem;
}
.brand-logo {
  height: 40px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.footer-brand .brand-logo {
  height: 44px;
  margin-bottom: 0.75rem;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--heading); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--heading);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(84, 102, 130, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(214, 85, 36, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(245, 166, 35, 0.1), transparent 45%),
    var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--blurple-soft);
  color: var(--blurple);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blurple);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em {
  font-style: normal;
  color: var(--blurple);
  font-weight: 700;
  background: linear-gradient(90deg, #546682 0%, #D65524 50%, #F5A623 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede { margin-bottom: 2rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 30%, rgba(245, 166, 35, 0.4), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(214, 85, 36, 0.45), transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(84, 102, 130, 0.5), transparent 45%),
    linear-gradient(145deg, #3d4f66 0%, #546682 42%, #D65524 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual svg,
.hero-visual .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual .hero-photo {
  display: block;
}
.hero-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(230, 235, 241, 0.8);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}
.hero-card strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.hero-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

/* —— Trust strip —— */
.trust {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.75rem 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.trust-line {
  font-size: 0.95rem;
  max-width: 28rem;
  opacity: 0.9;
}
.trust-stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.trust-stat strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.trust-stat span {
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.01em;
}

/* —— Sections shared —— */
.section {
  padding: clamp(3.75rem, 7vw, 5.75rem) 0;
  background: var(--white);
}
.section-header {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-header h2 { margin-bottom: 0.85rem; }
.section-alt { background: var(--bg-alt); }
.section-teal {
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(214, 85, 36, 0.45), transparent 50%),
    radial-gradient(ellipse 60% 70% at 85% 80%, rgba(245, 166, 35, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(84, 102, 130, 0.35), transparent 55%),
    linear-gradient(135deg, #3d4f66 0%, #546682 50%, #2c3a4d 100%);
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}
.section-teal h2,
.section-teal .section-label,
.section-teal h3 { color: var(--white); }
.section-teal .section-label { color: var(--gold); }
.section-teal .lede { color: rgba(255, 255, 255, 0.72); }

/* —— Cards —— */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blurple-soft);
  color: var(--blurple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--body); font-size: 0.98rem; }
.card ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.card ul li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1.15rem;
  position: relative;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blurple);
}

/* —— Training —— */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.product-visual {
  height: 140px;
  position: relative;
  overflow: hidden;
}
.product-body {
  padding: 1.5rem 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--blurple-soft);
  color: var(--blurple);
}
.tag-warm {
  background: var(--bg-alt);
  color: var(--slate);
  border: 1px solid var(--border);
}
.product-body h3 { margin-bottom: 0.5rem; }
.product-body p {
  color: var(--body);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.25rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.price {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.price small {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.25rem;
}

/* —— Books —— */
.book-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  align-items: start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.book-cover {
  width: 140px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(50, 50, 93, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 0.85rem;
}
.book-cover h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  position: relative;
  z-index: 1;
  letter-spacing: -0.015em;
}
.book-cover .book-author {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.4rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-weight: 500;
}
.book-info h3 { margin-bottom: 0.5rem; }
.book-info p {
  color: var(--body);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
}
.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, rgba(245, 166, 35, 0.35), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(214, 85, 36, 0.4), transparent 45%),
    linear-gradient(160deg, #3d4f66, #546682 55%, #D65524);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-portrait svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-content .lede { margin-bottom: 1.25rem; }
.about-content p {
  color: var(--body);
  margin-bottom: 1rem;
}
.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.about-highlights span {
  padding: 0.4rem 0.85rem;
  background: var(--blurple-soft);
  color: var(--blurple);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
}

/* —— Testimonials —— */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.quote-mark {
  font-family: var(--font-sans);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--blurple);
  opacity: 0.35;
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.quote-card blockquote {
  font-size: 1.02rem;
  color: var(--body);
  font-style: normal;
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.quote-attribution strong {
  display: block;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--heading);
  font-weight: 600;
}
.quote-attribution span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— Final CTA + Form —— */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.cta-copy h2 { margin-bottom: 1rem; }
.cta-copy .lede { margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.75); }
.cta-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cta-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}
.cta-points li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: var(--gold);
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-form h3 {
  margin-bottom: 0.35rem;
  color: var(--heading);
}
.form-intro {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--heading);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--focus-ring);
  background: var(--white);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select { appearance: auto; }
.contact-form .btn { width: 100%; margin-top: 0.5rem; }
.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.85rem;
}

/* —— Footer —— */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.25rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand .logo span { color: rgba(255, 255, 255, 0.5); }
.footer-brand p {
  font-size: 0.9rem;
  max-width: 22rem;
  line-height: 1.55;
}
.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
    aspect-ratio: 1 / 0.85;
  }
  .about-portrait {
    max-width: 280px;
  }
  .cards-3,
  .testimonials {
    grid-template-columns: 1fr;
  }
  .cards-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links,
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.25rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-cta {
    display: block;
    position: absolute;
    top: calc(var(--nav-h) + 11.5rem);
    left: 1.25rem;
    right: 1.25rem;
    padding-bottom: 1.25rem;
    background: var(--white);
    z-index: 101;
  }
  .nav.open .nav-cta .btn { width: 100%; }
  .nav.open::after {
    content: "";
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(10, 37, 64, 0.25);
    z-index: -1;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 1.75rem, var(--max)); }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .trust-stats { width: 100%; justify-content: space-between; }
  .book-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .book-cover { width: 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* —— Active nav —— */
.nav-links a.active {
  color: var(--blurple);
  font-weight: 600;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(84, 102, 130, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(214, 85, 36, 0.06), transparent 45%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--blurple); }
.page-hero .breadcrumb span[aria-hidden] { color: var(--border-strong); }
.page-hero h1 { margin-bottom: 0.85rem; }
.page-hero .lede { margin-bottom: 0; }

/* —— Detail layout —— */
.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.detail-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.sidebar-card .price {
  margin-bottom: 0.35rem;
}
.sidebar-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.25rem 0 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.sidebar-list li {
  font-size: 0.9rem;
  color: var(--body);
  padding-left: 1.15rem;
  position: relative;
}
.sidebar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blurple);
}
.sidebar-card .btn { width: 100%; }
.sidebar-card .btn + .btn { margin-top: 0.65rem; }

/* —— Prose content —— */
.prose h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.75rem);
  margin: 2rem 0 0.85rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 1.5rem 0 0.6rem;
}
.prose p {
  color: var(--body);
  margin-bottom: 1rem;
}
.prose ul, .prose ol {
  margin: 0 0 1.25rem;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prose ul li, .prose ol li {
  color: var(--body);
  padding-left: 1.25rem;
  position: relative;
  font-size: 1rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blurple);
}
.prose ol { counter-reset: step; list-style: none; }
.prose ol li { padding-left: 2rem; }
.prose ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--blurple-soft);
  color: var(--blurple);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
}

/* —— Process steps —— */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.process-num {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blurple);
  line-height: 1;
  margin-bottom: 0.65rem;
  letter-spacing: -0.03em;
}
.process-step h3 { margin-bottom: 0.45rem; font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; color: var(--body); }

/* —— Who for chips —— */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
.audience-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.audience-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--heading);
  margin-bottom: 0.25rem;
}
.audience-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* —— Cred list —— */
.cred-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}
.cred-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.cred-item .card-icon {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 40px;
  height: 40px;
}
.cred-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.cred-item p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* —— Contact extras —— */
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-option {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-option .card-icon {
  margin-inline: auto;
  margin-bottom: 1rem;
}
.contact-option h3 { margin-bottom: 0.4rem; }
.contact-option p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* —— Large book cover on detail —— */
.book-cover-lg {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(50, 50, 93, 0.28);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.1rem;
  margin-bottom: 1.25rem;
}
.book-cover-lg h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}
.book-cover-lg .book-author {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.45rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-weight: 500;
}

/* —— Link cards —— */
.link-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.link-card:hover { color: inherit; }
.link-card:hover .card,
.link-card:hover .product-card,
.link-card:hover .book-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.section-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 960px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-sidebar { position: static; }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-options {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .process-grid,
  .audience-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .brand-logo { height: 34px; max-height: 38px; }
}

/* Contact page light CTA copy (not on dark gradient band) */
.contact-cta-copy h2 { color: var(--heading); }
.contact-cta-copy .lede { color: var(--body) !important; }
.contact-cta-points li { color: var(--body) !important; }
.contact-cta-points li svg { color: var(--blurple) !important; }

/* —— RRH additions (FAQ, values, TOC, tiers, waitlist) —— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 46rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.015em;
  font-size: 1rem;
  position: relative;
  padding-right: 2.75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blurple);
  font-size: 1.25rem;
  font-weight: 500;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--body);
  font-size: 0.98rem;
}
.faq-item .faq-body p { margin-bottom: 0.75rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.values-row span {
  padding: 0.45rem 0.95rem;
  background: var(--blurple-soft);
  color: var(--blurple);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.toc-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.toc-step .process-num { font-size: 1.15rem; margin-bottom: 0.5rem; }
.toc-step h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.toc-step p { font-size: 0.85rem; color: var(--muted); margin: 0; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tier-card.featured {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.tier-card .tag { align-self: flex-start; margin-bottom: 0.85rem; }
.tier-card h3 { margin-bottom: 0.65rem; }
.tier-card p { flex: 1; font-size: 0.95rem; color: var(--body); margin-bottom: 1.25rem; }

.cohort-dates {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}
.cohort-date {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--body);
}
.cohort-date strong {
  color: var(--heading);
  min-width: 5.5rem;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  background: #fef6e8;
  color: #9a6b10;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.waitlist-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 32rem;
}
.waitlist-box h3 { margin-bottom: 0.35rem; }
.waitlist-box .form-intro { margin-bottom: 1.15rem; }

.soft-callout {
  background: var(--navy-soft);
  border: 1px solid rgba(84, 102, 130, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-top: 1.5rem;
}
.soft-callout strong {
  display: block;
  color: var(--heading);
  margin-bottom: 0.35rem;
}
.soft-callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--body);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}
.social-row a:hover {
  color: var(--gold);
  border-color: rgba(245, 166, 35, 0.45);
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.promise-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.promise-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.promise-item p {
  font-size: 0.95rem;
  color: var(--body);
  margin: 0;
}

.cards-3 .card .card-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .toc-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .promise-list { grid-template-columns: 1fr; }
  .nav.open .nav-cta {
    top: auto;
    position: relative;
    left: 0;
    right: 0;
    margin: 0 1.25rem 1.25rem;
    padding-bottom: 0;
  }
  .nav.open .nav-links {
    max-height: 70vh;
    overflow-y: auto;
  }
}
@media (max-width: 640px) {
  .toc-grid { grid-template-columns: 1fr; }
}


/* —— WordPress adaptations —— */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links a.active {
  color: var(--navy-deep);
  font-weight: 600;
}
.nav-links ul { list-style: none; display: flex; gap: inherit; align-items: center; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links li { margin: 0; }
.footer-links .menu { list-style: none; margin: 0; padding: 0; }
.footer-links .menu li { margin: 0; }
.rrh-form-success {
  background: var(--green-soft);
  border: 1px solid var(--green);
  color: var(--heading);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.rrh-form-error {
  background: #fef2f0;
  border: 1px solid var(--terracotta);
  color: var(--heading);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content .wp-block-heading { color: var(--heading); }
.search-results-list { display: grid; gap: 1.25rem; }
.search-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.page-404 { text-align: center; padding: 4rem 0; }
.page-404 h1 { margin-bottom: 1rem; }
.single-rrh_course .course-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
