/* =====================================================================
   Pixels & Purpose — light theme
   Loaded AFTER styles.css. Re-points the shared colour tokens to a light
   palette built from the logo (graphite #1B1F2A + electric purple #7C4DFF),
   and keeps hero / page-header / CTA / calendar / footer bands dark
   graphite so the neon artwork still pops.
   ===================================================================== */

:root {
  --pp-ink: #1b1f2a;
  --pp-purple: #7c4dff;
  --pp-purple-deep: #5b2ee6;
  --pp-bg: #f6f5fb;
  --pp-surface: #ffffff;
  --pp-line: #e7e3f3;
  --pp-muted: #5c6174;

  --primary: #7c4dff;
  --primary-light: #6a3df0;
  --secondary: #c04df5;
  --accent: #3b82f6;
  --dark: var(--pp-bg);
  --dark-card: #ffffff;
  --dark-card-hover: #f5f1ff;
  --text: var(--pp-ink);
  --text-muted: var(--pp-muted);
  --gradient-hero: radial-gradient(120% 140% at 85% 0%, #3a2780 0%, rgba(58, 39, 128, 0) 55%),
                   linear-gradient(160deg, #12141b 0%, #1b1f2a 55%, #221a3f 100%);
  --gradient-cta: linear-gradient(135deg, #7c4dff 0%, #a64dff 100%);
  --gradient-card: linear-gradient(180deg, #ffffff, #ffffff);
}

body {
  background: var(--pp-bg);
  color: var(--pp-ink);
}

::selection { background: rgba(124, 77, 255, 0.22); }

/* ---------- Dark bands: re-scope tokens back to dark ---------- */
.hero,
.page-header,
.cta-banner,
.scrub-section,
.world-section,
.footer,
.ep-dark,
.ws-hero,
.book-pop {
  --text: #f4f2fb;
  --text-muted: #b9b4cc;
  --primary-light: #b8a2ff;
  --dark-card: rgba(255, 255, 255, 0.06);
  --dark-card-hover: rgba(255, 255, 255, 0.1);
  --gradient-card: linear-gradient(145deg, #252836, #1b1f2a);
  color: var(--text);
}

.page-header,
.hero {
  background: var(--gradient-hero);
}

.cta-banner {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(124, 77, 255, 0.55) 0%, rgba(124, 77, 255, 0) 60%),
    linear-gradient(150deg, #161922 0%, #1b1f2a 60%, #24194a 100%);
  border: 1px solid rgba(124, 77, 255, 0.35);
  box-shadow: 0 30px 80px rgba(27, 31, 42, 0.18);
}

.cta-banner .btn-white {
  background: var(--pp-purple);
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 77, 255, 0.45);
}

.cta-banner .btn-white:hover {
  background: #8d63ff;
}

/* ---------- Navbar ---------- */
.navbar,
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--pp-line);
  box-shadow: 0 6px 24px rgba(27, 31, 42, 0.05);
}

.nav-brand {
  gap: 0.65rem;
  color: var(--pp-ink);
}

.nav-logo {
  height: 38px;
  width: auto;
  display: block;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav-wordmark strong {
  font-family: 'Poppins', 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pp-ink);
}

.nav-wordmark strong em {
  font-style: normal;
  color: var(--pp-purple);
}

.nav-wordmark small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pp-muted);
  margin-top: 0.2rem;
}

.nav-links {
  gap: 1.6rem;
}

.nav-links a {
  color: #3d4152;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pp-ink);
}

.nav-links a::after {
  background: var(--pp-purple);
}

.nav-cta {
  background: var(--pp-ink) !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 6px 18px rgba(27, 31, 42, 0.18);
}

.nav-cta:hover {
  background: var(--pp-purple) !important;
}

.nav-dropdown-menu {
  background: #fff;
  border: 1px solid var(--pp-line);
  box-shadow: 0 20px 50px rgba(27, 31, 42, 0.14);
}

.nav-dropdown-menu a {
  color: #3d4152;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(124, 77, 255, 0.1);
  color: var(--pp-purple-deep);
}

.nav-dropdown-menu a small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--pp-muted);
  margin-top: 0.1rem;
  white-space: normal;
}

.hamburger span {
  background: var(--pp-ink);
}

@media (max-width: 1180px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.9rem; }
  .nav-wordmark small { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    background: rgba(255, 255, 255, 0.98) !important;
  }
  .nav-links .nav-dropdown-menu a {
    color: var(--pp-muted);
  }
  .nav-wordmark strong { font-size: 0.95rem; }
}

/* Phone menu accordion (main.js adds the chevron buttons): submenus are closed until tapped,
   open one at a time as plain rows, and never pick up the desktop hover slide */
.nav-sub-toggle { display: none; }
@media (max-width: 768px) {
  .nav-dropdown { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
  .nav-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: .45rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--pp-line, rgba(27, 31, 42, .12));
    background: transparent;
    color: var(--pp-ink);
    cursor: pointer;
    transition: transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  }
  .nav-sub-toggle svg { width: 16px; height: 16px; display: block; }
  .nav-dropdown.is-open .nav-sub-toggle {
    transform: rotate(180deg);
    background: rgba(124, 77, 255, .1);
    border-color: rgba(124, 77, 255, .35);
    color: var(--pp-purple-deep, #5b2fd6);
  }
  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none;
    flex-basis: 100%;
    position: static;
    transform: none;
    min-width: 0;
    padding: .35rem 0 .5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; animation: nav-sub-in .25s ease both; }
  .nav-dropdown-menu li + li { margin-top: .1rem; }
  .nav-links .nav-dropdown-menu a {
    display: block;
    max-width: 320px;
    margin: 0 auto;
    padding: .55rem 1rem;
    border-radius: 10px;
    white-space: normal;
  }
  .nav-links .nav-dropdown-menu a::before { content: none; }
  .nav-links .nav-dropdown-menu a:hover { background: rgba(124, 77, 255, .08); }
}
@keyframes nav-sub-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown.is-open .nav-dropdown-menu { animation: none; }
}

/* "Programmes" menu: AI Training and Team Building side by side (stacked on phones) */
.nav-dropdown-menu--split ul { list-style: none; margin: 0; padding: 0; }
.nav-col-head {
  display: block;
  padding: .35rem .85rem .3rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pp-purple-deep);
}
@media (min-width: 769px) {
  .nav-dropdown-menu--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .25rem .5rem;
    min-width: 540px;
    padding: .7rem;
  }
  .nav-dropdown-menu--split .nav-col + .nav-col { border-left: 1px solid var(--pp-line); padding-left: .5rem; }
}
@media (max-width: 768px) {
  .nav-col-head { text-align: center; padding-top: .6rem; }
  .nav-dropdown.is-open .nav-dropdown-menu--split { display: block; }
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--pp-purple);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.32);
}

.btn-primary:hover {
  background: var(--pp-purple-deep);
  box-shadow: 0 12px 30px rgba(124, 77, 255, 0.4);
}

.btn-outline {
  color: var(--pp-ink);
  border-color: rgba(27, 31, 42, 0.18);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--pp-purple);
  color: var(--pp-purple-deep);
  background: rgba(124, 77, 255, 0.06);
}

.hero .btn-outline,
.page-header .btn-outline,
.cta-banner .btn-outline,
.ep-dark .btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-outline:hover,
.page-header .btn-outline:hover,
.cta-banner .btn-outline:hover,
.ep-dark .btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Typography accents ---------- */
.section-label {
  color: var(--pp-purple-deep);
}

.page-header .section-label,
.hero .section-label,
.cta-banner .section-label,
.ep-dark .section-label {
  color: #c3b2ff;
}

.section-title,
.section h2 {
  color: var(--pp-ink);
}

.hero h1 {
  background: linear-gradient(135deg, #ffffff 0%, #d9ccff 55%, #a98bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-number {
  background: linear-gradient(135deg, var(--pp-purple), var(--pp-ink));
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Page headers with artwork ---------- */
.page-header {
  padding: 9.5rem 2rem 4.5rem;
}

.page-header[data-art] {
  background-size: cover;
  background-position: center;
}

.page-header[data-art]::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 20, 27, 0.15) 0%, rgba(18, 20, 27, 0.78) 30%, rgba(18, 20, 27, 0.78) 70%, rgba(18, 20, 27, 0.15) 100%),
    linear-gradient(180deg, rgba(18, 20, 27, 0.35) 0%, rgba(18, 20, 27, 0.2) 60%, rgba(18, 20, 27, 0.85) 100%);
  z-index: 0;
}

.page-header p {
  color: #d3cee3;
  max-width: 620px;
}

@media (max-width: 700px) {
  .page-header[data-art]::before {
    background: linear-gradient(180deg, rgba(18, 20, 27, 0.55), rgba(18, 20, 27, 0.88));
  }
}

/* ---------- Cards on light ---------- */
.experience-card,
.service-card,
.dm-card,
.es-step,
.es-plan {
  background: #fff;
  border: 1px solid var(--pp-line);
  box-shadow: 0 1px 2px rgba(27, 31, 42, 0.04), 0 10px 30px rgba(27, 31, 42, 0.05);
}

.experience-card:hover,
.service-card:hover,
.dm-card:hover {
  border-color: rgba(124, 77, 255, 0.4);
  box-shadow: 0 18px 48px rgba(124, 77, 255, 0.14);
}

.es-module,
.es-faq details {
  background: #fff;
  border-color: var(--pp-line);
}

.es-module:hover {
  background: #fbfaff;
  border-color: rgba(124, 77, 255, 0.4);
}

.es-plan--pick {
  border-color: var(--pp-purple);
  box-shadow: 0 22px 60px rgba(124, 77, 255, 0.18);
}

.feature-tag,
.dm-tags span {
  background: rgba(124, 77, 255, 0.07);
  border-color: rgba(124, 77, 255, 0.16);
  color: var(--pp-purple-deep);
}

.dm-kicker,
.es-plan-who {
  color: var(--pp-purple-deep);
}

.dm-used {
  border-left-color: var(--pp-purple);
}

.dm-chip {
  background: #fff;
  color: #3d4152;
  border-color: var(--pp-line);
}

.dm-chip:hover {
  color: var(--pp-ink);
  border-color: rgba(124, 77, 255, 0.45);
}

.dm-chip.active {
  background: var(--pp-ink);
  color: #fff;
}

.dm-note {
  background: rgba(34, 197, 94, 0.07);
  color: #3d4152;
}

.dm-note code {
  color: #15803d;
}

.ep-pill--live {
  color: #15803d;
}

.dm-thumb .ep-pill {
  color: #fff;
}

.dm-thumb .ep-pill--live { color: #4ade80; }
.dm-thumb .ep-pill--ai { color: #f0abfc; }

.es-module-icon {
  background: rgba(124, 77, 255, 0.1);
}

.es-step-num {
  background: var(--pp-ink);
  color: #fff;
}

.es-step li::before {
  background: var(--pp-purple);
}

.es-step li em,
.ep-pill--ai {
  color: #a21caf;
}

.badge-live {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
}

.badge-soon {
  color: #b45309;
  background: rgba(251, 191, 36, 0.16);
}

/* Experience thumbs with artwork */
.experience-thumb img.thumb-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.experience-card:hover .experience-thumb img.thumb-art {
  transform: scale(1.04);
}

/* ---------- Footer ---------- */
.footer {
  background: #12141b;
  border-top: 1px solid rgba(124, 77, 255, 0.25);
  padding: 4rem 2rem 2rem;
}

.pp-footer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}

.pp-footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.pp-footer-brand p {
  color: #a9a5ba;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.pp-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c3b2ff;
  margin-bottom: 1rem;
}

.pp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

/* Alignment: short links and card buttons stay on one line (js/align.js evens out the rest) */
.pp-footer a,
.experience-card-body .btn { white-space: nowrap; }
.pp-footer a {
  color: #d9d6e5;
  text-decoration: none;
  font-size: 0.92rem;
}

.pp-footer a:hover {
  color: #fff;
}

.pp-footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #8f8ba3;
  font-size: 0.82rem;
}

.pp-footer-bottom .footer-social a {
  color: #d9d6e5;
}

@media (max-width: 860px) {
  .pp-footer {
    grid-template-columns: 1fr 1fr;
  }
  .pp-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .pp-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Book-a-date calendar (index #contact) ---------- */
.cta-banner.book-banner .book-cal {
  background: #12141b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.book-cal-weekdays {
  color: #9b97ad !important;
  font-size: 0.66rem !important;
}

.book-day {
  background: #1d2030 !important;
  border: 1px solid #2a2e40 !important;
  border-radius: 10px !important;
}

.book-day-num {
  font-size: 0.95rem !important;
}

.book-day.past {
  opacity: 0.3 !important;
}

.book-day.today {
  box-shadow: 0 0 0 2px #fff inset !important;
}

/* Free: bright green outline + tint, clearly clickable */
.book-day.available {
  background: rgba(34, 197, 94, 0.14) !important;
  border-color: rgba(74, 222, 128, 0.7) !important;
  color: #ecfdf5 !important;
}

.book-day.available:hover {
  background: rgba(34, 197, 94, 0.3) !important;
  border-color: #4ade80 !important;
}

/* Confirmed training: solid rose block */
.book-day.training {
  background: #4a1d2c !important;
  border-color: #f43f5e !important;
  color: #ffe4ea !important;
}

/* Confirmed meeting: solid blue block */
.book-day.meeting {
  background: #12324a !important;
  border-color: #38bdf8 !important;
  color: #e0f2fe !important;
}

/* Soft block (tentative): bold amber stripes + amber frame */
.book-day.soft-only,
.book-day.training.soft-only,
.book-day.meeting.soft-only {
  background:
    repeating-linear-gradient(135deg,
      rgba(251, 191, 36, 0.42) 0 7px,
      rgba(251, 191, 36, 0.12) 7px 14px) !important;
  border: 2px dashed #fbbf24 !important;
  color: #fff7d6 !important;
}

.book-day.soft-only .book-day-num {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.book-day-tag {
  font-size: 0.56rem !important;
}

.book-day.available::after,
.book-day.training::after,
.book-day.meeting::after,
.book-day.soft-only::after {
  width: 7px !important;
  height: 7px !important;
}

.book-day.meeting::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 4px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}

.book-day.training::after {
  background: #f43f5e !important;
}

.book-day.selected {
  background: #16a34a !important;
  border: 2px solid #bbf7d0 !important;
  color: #fff !important;
}

/* Legend: swatches that match the cells */
.book-cal-legend {
  gap: 0.6rem 1rem !important;
  font-size: 0.74rem !important;
  color: #d9d6e5 !important;
}

.book-cal-legend span {
  display: inline-flex;
  align-items: center;
}

.book-cal-legend i.dot {
  width: 14px !important;
  height: 14px !important;
  border-radius: 4px !important;
  margin-right: 0.45rem !important;
  vertical-align: middle !important;
}

.book-cal-legend .dot-available {
  background: rgba(34, 197, 94, 0.25) !important;
  border: 1.5px solid #4ade80;
}

.book-cal-legend .dot-training {
  background: #4a1d2c !important;
  border: 1.5px solid #f43f5e;
}

.book-cal-legend .dot-meeting {
  background: #12324a !important;
  border: 1.5px solid #38bdf8;
}

.book-cal-legend .dot-soft {
  background: repeating-linear-gradient(135deg, rgba(251, 191, 36, 0.6) 0 3px, rgba(251, 191, 36, 0.15) 3px 6px) !important;
  border: 1.5px dashed #fbbf24;
}

.book-cal-hint,
.book-cal-status {
  color: #a9a5ba !important;
}

.book-pop-list li.soft {
  background: repeating-linear-gradient(135deg, rgba(251, 191, 36, 0.22) 0 6px, rgba(251, 191, 36, 0.06) 6px 12px) !important;
  border-color: #fbbf24 !important;
}

.book-pop-list li.soft .book-pop-badge {
  background: #fbbf24;
  color: #3b2a00;
  border-color: #fbbf24;
}

/* ---------- Home: service cards with artwork ---------- */
.services-bg {
  background: transparent;
}

.home-services {
  text-align: left;
}

.service-card.has-art {
  padding: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
}

.service-card.has-art > :not(.service-art) {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.service-art {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin-bottom: 1.1rem;
  transition: transform 0.6s;
}

.service-card.has-art:hover .service-art {
  transform: scale(1.03);
}

.service-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pp-purple-deep);
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.service-more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pp-purple-deep);
  position: relative;
  z-index: 1;
}

/* ---------- Dark-band additions + light-surface fixes (audit pass 1) ---------- */
.clients-section,
.scrub-section,
.world-section,
.hero,
.page-header,
.cta-banner,
.footer {
  --dark: #12141b;
}

.clients-section {
  --text: #f4f2fb;
  --text-muted: #b9b4cc;
  --primary-light: #b8a2ff;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(124, 77, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #12141b 0%, #1b1f2a 50%, #12141b 100%);
}

.clients-section .section-label { color: #c3b2ff; }

.skill-chip {
  color: #3d4152;
  background: rgba(124, 77, 255, 0.08);
  border-color: rgba(124, 77, 255, 0.2);
}

.brand-bullets li { color: var(--pp-ink); }
.brand-portfolio-card h4 { color: var(--pp-ink); }
.brand-portfolio-card p { color: var(--pp-muted); }
.brand-portfolio-tag { color: #a21caf; background: rgba(192, 77, 245, 0.1); }

.programme-card-body h4 { color: var(--pp-ink); }
.programme-card-desc,
.programme-meta li { color: var(--pp-muted); }
.programme-card-cta { color: var(--pp-purple-deep); }

/* ---------- audit pass 2 ---------- */
.clients-section .section-title,
.clients-section h2,
.page-header h1,
.cta-banner h2,
.ws-hero h1 {
  color: var(--text);
}

.live-sessions-title { color: var(--pp-ink); }

.ws-tier-badge { color: #fff; background: rgba(18, 20, 27, 0.72); }
.ws-objective-label { color: var(--pp-purple-deep); }
.ws-toolset-label-free { color: #15803d; }
.ws-toolset-label-paid { color: #a21caf; }
.ws-toolset-label-edit { color: #1d4ed8; }

/* ---------- QA pass 3 (visual QA, 2026-11-12) ---------- */

/* Outcome strip under the workshop/about hero: keep it dark so it reads as
   part of the hero (it used to fade light -> near-black). */
.ws-outcomes {
  --text: #f4f2fb;
  --text-muted: #b9b4cc;
  --primary-light: #b8a2ff;
  background: linear-gradient(180deg, #1d1a33 0%, #12141b 100%);
  border-color: rgba(124, 77, 255, 0.25);
  color: var(--text);
}

/* Module / portfolio wrappers had a dark-theme light->black->light gradient,
   leaving a near-black band behind dark text. Flatten to the page background. */
.ws-modules-bg,
.ws-app-bg { background: var(--pp-bg); }

/* Public programmes: a lone card sat in the left third with empty space to
   its right. Centre the group and lay the single card out horizontally. */
.state-heading h3 {
  background: linear-gradient(135deg, var(--pp-purple-deep), #c026d3);
  -webkit-background-clip: text;
  background-clip: text;
}
.state-group:has(.programme-card:only-child) {
  max-width: 900px;
  width: 100%;
  margin-inline: auto;
  text-align: left;
}
@media (min-width: 769px) {
  .programmes-grid:has(> .programme-card:only-child) {
    grid-template-columns: 1fr;
  }
  .programmes-grid > .programme-card:only-child {
    flex-direction: row;
  }
  .programmes-grid > .programme-card:only-child .programme-card-media {
    flex: 0 0 50%;
    aspect-ratio: auto;
    min-height: 300px;
  }
}

/* Inline-styled cyan badge (about/workshop) is unreadable on light cards */
.ws-tier-badge[style*="22d3ee"] { color: #0e7490 !important; }

/* Workshop app preview card was hard-coded near-black behind dark text */
.ws-app-preview {
  background: var(--pp-surface);
  border-color: var(--pp-line);
  box-shadow: 0 14px 40px rgba(27, 31, 42, 0.08);
}
.ws-app-icon { background: rgba(124, 77, 255, 0.1); }

/* Copilot quiz error label: amber on white was ~1.7:1 */
.section-label.quiz-error-label { color: #b45309 !important; }

/* Translucent-black panels turned muddy grey on the light page */
.ws-module-objectives,
.ws-app-steps,
.ws-link-url {
  background: rgba(124, 77, 255, 0.06);
  border-color: rgba(124, 77, 255, 0.18);
}

/* Copilot live-sessions box (demos card + quiz): slate overlay looked muddy */
.live-sessions {
  background: #f7f6fb;
  border-color: var(--pp-line);
}
.live-sessions[data-state="live"] {
  background: #f1fbf4;
  border-color: rgba(21, 128, 61, 0.22);
}
.live-sessions[data-state="live"] .live-sessions-title { color: #15803d; }
.session-pill { background: #fff; border-color: var(--pp-line); }
.session-pill:hover { background: #f5f1ff; border-color: var(--pp-purple); }

/* 7-item menu wrapped onto two rows between 769px and ~960px */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav-links { gap: 0.8rem; }
  .nav-links a { font-size: 0.84rem; }
  .nav-links .nav-cta { padding: 0.5rem 0.9rem; }
  .nav-wordmark strong { font-size: 0.9rem; letter-spacing: 0.04em; }
  .nav-logo { height: 32px; }
}
@media (min-width: 769px) and (max-width: 860px) {
  .nav-wordmark { display: none; }
}

/* About: a long unbreakable row pushed the text column 25px past the
   viewport at 375px. Let grid children shrink. */
.about-grid > * { min-width: 0; }

/* "Online Classes" nav tab + kits promo banner (index.html training section, training.html) */
.nav-new { display: inline-block; margin-left: .3rem; padding: .08rem .38rem; border-radius: 999px; background: var(--pp-purple, #7c4dff); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .04em; line-height: 1.4; vertical-align: 2px; text-transform: uppercase; }
.kits-promo-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px 8px; }
.kits-promo { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.5rem; align-items: center; padding: 1.6rem 1.8rem; border-radius: 22px; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #f5f1ff, #fff 55%, #eef6ff); border: 1px solid #e4dcff; box-shadow: 0 18px 40px -24px rgba(60, 30, 160, .35); transition: transform .3s ease, box-shadow .3s ease; }
.kits-promo:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(60, 30, 160, .45); }
.kits-promo-tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: #ede6ff; color: var(--pp-purple-deep, #5b2ee6); font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.kits-promo h3 { margin: .7rem 0 .5rem; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.15; }
.kits-promo p { margin: 0 0 1rem; color: var(--pp-muted, #5c6174); }
.kits-promo-img { width: 100%; height: auto; display: block; }
.kits-promo-section { padding-top: 0; }
@media (max-width: 860px) { .kits-promo { grid-template-columns: 1fr; padding: 1.3rem; } .kits-promo-img { order: -1; } }
@media (prefers-reduced-motion: reduce) { .kits-promo:hover { transform: none; } }
.nav-links a, .nav-links .btn { white-space: nowrap; }

/* Phone: one clean left edge for every section heading (no centred/left zigzag) */
@media (max-width: 768px) {
  .world-header, .scrub-overlay, .about-grid, .about-text, .clients-inner, .pf-faq-head, .book-text,
  .section-header, .section-head, .show-head, .path-head-inner,
  .world-header .world-title, .world-header p, .pf-faq-head h2, .book-text h2, .book-text p { text-align: left !important; }
  .world-header .section-label, .scrub-overlay .section-label, .about-grid .section-label, .clients-inner .section-label,
  .pf-faq-head .section-label, .book-text .section-label { margin-left: 0 !important; margin-right: auto !important; justify-content: flex-start; }
  .world-header, .pf-faq-head, .book-text { text-align: left !important; align-items: flex-start !important; }
  .world-header > *, .clients-inner > .section-subtitle, .pf-faq-head > *, .book-text > *, .scrub-overlay > * { margin-left: 0; margin-right: 0; }
  .book-text .btn-row, .book-text .hero-buttons, .book-text .book-buttons, .about-text .about-buttons { justify-content: flex-start; }
}
@media (max-width: 768px) {
  /* Any block that holds a section heading: left edge, not centred (phones only; page-title banners use h1 and are untouched) */
  :is(div, header, section):has(> h2):not(.hero):not(.page-header) { text-align: left !important; }
  :is(div, header, section):has(> h2):not(.hero):not(.page-header) > :is(h2, p, .section-label, .section-subtitle, .section-title) { margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }
  :is(div, header, section):has(> h2):not(.hero):not(.page-header) > .section-label { margin-right: auto !important; }
  :is(div, header, section):has(> h2):not(.hero):not(.page-header) > :is(.btn-row, .cta-buttons, .hero-buttons, .section-buttons) { justify-content: flex-start !important; }
}

/* ===== Phone menu (☰): clean app-style list — solid white, left-aligned rows, chevron on the right,
   short sub-links (no subtitles), full-width Book a Date. Overrides the centred accordion above. ===== */
@media (max-width: 768px) {
  .nav-links {
    background: #fff !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 0 !important;
    padding: 84px 20px 32px !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links > li { width: 100%; margin: 0; border-bottom: 1px solid #eeedf3; opacity: 1; }
  .nav-links > li > a {
    display: flex; align-items: center; justify-content: flex-start; width: auto;
    padding: 17px 2px; font-size: 1.08rem; font-weight: 600; color: #15131d; text-align: left;
  }
  .nav-links > li > a::after { display: none !important; }
  .nav-links > li > a.active { color: var(--pp-purple-deep, #5b2fd6); }
  .nav-dropdown { display: grid !important; grid-template-columns: 1fr auto; align-items: center; justify-content: stretch !important; }
  .nav-dropdown .nav-caret { display: none; }
  .nav-sub-toggle { margin: 0 !important; width: 36px; height: 36px; border-color: transparent; background: #f4f2fa; }
  .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu--split {
    grid-column: 1 / -1; padding: 0 0 14px !important; margin: -4px 0 0;
  }
  .nav-links .nav-dropdown-menu a {
    max-width: none !important; margin: 0 !important; text-align: left !important;
    padding: 10px 12px !important; font-size: .98rem; font-weight: 500; color: #3d4152;
  }
  .nav-links .nav-dropdown-menu a small { display: none !important; }
  .nav-col-head { display: block; text-align: left !important; padding: 12px 12px 4px; font-size: .7rem; letter-spacing: .12em; }
  .nav-dropdown-menu--split .nav-col + .nav-col { border-left: 0 !important; padding-left: 0 !important; }
  .nav-links > li:last-child { border-bottom: 0; margin-top: 22px; }
  .nav-links > li:last-child > a.nav-cta { justify-content: center; width: 100%; padding: 15px 20px; color: #fff; font-size: 1rem; border-radius: 14px; }
  .nav-links .nav-new { margin-left: .5rem; }
}
@media (max-width: 768px) {
  .navbar .nav-brand { position: relative; z-index: 101; }
}

/* "Teams Bryan has trained" logo strip (training.html; same look as the pricing page strip) */
.pr-trust { margin-top: 2rem; text-align: center; }
.pr-trust-title { margin: 0 0 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-muted); }
.pr-trust-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.pr-trust-logos li { flex: 0 0 128px; display: flex; align-items: center; justify-content: center; height: 64px; padding: .55rem .8rem; background: #fff; border: 1px solid var(--pp-line); border-radius: 14px; }
.pr-trust-logos img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s ease, opacity .25s ease; }
.pr-trust-logos li:hover img { filter: none; opacity: 1; }
.pr-trust-more { margin: 1rem 0 0; font-size: .92rem; color: var(--pp-muted); }
.pr-trust-more a { color: var(--pp-purple-deep); font-weight: 600; text-decoration: none; }
@media (max-width: 500px) { .pr-trust-logos li { flex-basis: calc(33.33% - .5rem); height: 54px; } }
.tr-clients { margin-top: 2.5rem; }

/* ===== Quick chooser "What do you need?" (index.html #choose, training.html #choose)
   Every service as a card with a real photo (Bryan + Byte), price hint and two direct buttons. ===== */
.pp-chooser { padding-top: 4rem; padding-bottom: 2rem; }
.ppc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ppc-head { max-width: 720px; margin: 0 0 1.6rem; }
.ppc-head h2 { margin: .6rem 0 .4rem; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; }
.ppc-head p { margin: 0; color: var(--pp-muted, #5c6174); }
.ppc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.ppc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pp-line, #e7e3f3); border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 30px -18px rgba(40, 20, 110, .35); transition: transform .3s ease, box-shadow .3s ease; }
.ppc-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -20px rgba(40, 20, 110, .45); }
.ppc-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1b1f2a; }
.ppc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ppc-card:hover .ppc-media img { transform: scale(1.04); }
.ppc-tag { position: absolute; top: .8rem; left: .8rem; padding: .25rem .65rem; border-radius: 999px; background: var(--pp-purple, #7c4dff); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
.ppc-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1; }
.ppc-body h3 { margin: 0; font-size: 1.2rem; }
.ppc-body h3 a { color: inherit; text-decoration: none; }
.ppc-body p { margin: 0; color: var(--pp-muted, #5c6174); font-size: .93rem; line-height: 1.45; }
.ppc-body .ppc-price { color: var(--pp-purple-deep, #5b2ee6); font-weight: 700; font-size: .92rem; margin-top: .15rem; }
.ppc-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .7rem; }
.ppc-actions .btn { padding: .62rem 1rem; font-size: .9rem; }
@media (max-width: 960px) { .ppc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pp-chooser { padding-top: 2.5rem; }
  .ppc-grid { grid-template-columns: 1fr; gap: .8rem; }
  .ppc-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); }
  .ppc-media { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .ppc-body { padding: .85rem .9rem .9rem; gap: .25rem; }
  .ppc-body h3 { font-size: 1.05rem; }
  .ppc-body p:not(.ppc-price) { display: none; }
  .ppc-actions { gap: .4rem; padding-top: .45rem; }
  .ppc-actions .btn { padding: .5rem .8rem; font-size: .84rem; }
  .ppc-tag { top: .45rem; left: .45rem; font-size: .62rem; padding: .15rem .45rem; }
}
@media (prefers-reduced-motion: reduce) { .ppc-card, .ppc-media img { transition: none; } .ppc-card:hover { transform: none; } }

/* Keep Bryan's face in frame wherever these photos are cropped (object-fit: cover on phones and cards).
   Positions are where Bryan stands in each image (made in ai-kits/training-photos). */
img[src*="tr-corporate"]    { object-position: 80% 35%; }
img[src*="tr-workshop"]     { object-position: 95% 35%; }
img[src*="tr-keynote"]      { object-position: 4% 22%; }
img[src*="tr-coaching"]     { object-position: 8% 28%; }
img[src*="tr-teambuilding"] { object-position: 58% 45%; }
.page-header[style*="hdr-training-real"] { background-position: 74% 62%; }
/* Phone: the Training header photo sits as a clear panel under the heading and buttons, so Bryan's face is never behind text */
@media (max-width: 768px) {
  .page-header[style*="hdr-training-real"] {
    background-image: url('../assets/img/tr-corporate.webp') !important;
    background-size: 100% auto !important; background-position: 50% 100% !important; background-repeat: no-repeat;
    background-color: #12141b; padding-bottom: calc(75vw + 1.5rem) !important;
  }
  .page-header[style*="hdr-training-real"]::before {
    background: linear-gradient(180deg, #12141b 0%, #12141b calc(100% - 75vw - 1rem), rgba(18, 20, 27, 0) calc(100% - 75vw + 4rem)) !important;
  }
}

/* ===== "My Kit" login: outline pill next to Book a Date, and the last item of the Online Classes menu ===== */
.nav-links .nav-login {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; border-radius: 50px;
  border: 1.5px solid var(--pp-purple, #7c4dff);
  color: var(--pp-purple-deep, #5b2fd6) !important; -webkit-text-fill-color: currentColor;
  font-weight: 600; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-links .nav-login::after { display: none !important; }
.nav-links .nav-login:hover, .nav-links .nav-login.active { background: var(--pp-purple, #7c4dff); color: #fff !important; }
.nav-links .nav-login .pp-icon { width: 16px; height: 16px; }
.nav-mykit-item { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid var(--pp-line, #eeedf3); }
.nav-links .nav-mykit-item a { background: #f5f1ff; border-radius: 10px; color: var(--pp-purple-deep, #5b2fd6); font-weight: 700; }
.nav-links .nav-mykit-item a:hover { background: #ece4ff; }
.nav-mykit-item .pp-icon { width: 15px; height: 15px; vertical-align: -2px; margin-right: .2rem; }
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links .nav-login { padding: .45rem .75rem; }
}
@media (max-width: 768px) {
  .nav-links > li.nav-login-item { border-bottom: 0; margin-top: 22px; }
  .nav-links > li.nav-login-item + li:last-child { margin-top: 10px; }
  .nav-links > li.nav-login-item > a.nav-login { justify-content: center; width: 100%; padding: 14px 20px; font-size: 1rem; border-radius: 14px; }
  .nav-links .nav-mykit-item { border-top: 0; margin-top: 4px; }
}
