/* ═══════════════════════════════════════════
   DBT IN MIND — Design System
   Warm therapeutic palette, light editorial theme
   ═══════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  /* Colours — signed off */
  --color-primary:      #1E3D4F;   /* Teal Ink — nav, hero bg, CTAs */
  --color-primary-dark:  #152C3A;
  --color-primary-light: #2A5269;
  --color-mid:          #5A7A88;   /* Soft Steel — stats bar, hover, icons */
  --color-mid-light:    #7A99A6;
  --color-amber:        #C8924A;   /* Warm Amber — accent, CTA buttons */
  --color-amber-dark:   #A87538;
  --color-amber-light:  #D4A566;
  --color-sand:         #F0E8DC;   /* Warm Sand — section backgrounds */
  --color-sand-light:   #F5EFE5;
  --color-cream:        #FAF6F0;   /* Cream — cards, light sections */
  --color-taupe:        #C4B5A5;   /* Soft Taupe — borders, dividers */
  --color-taupe-light:  #D4C8BA;
  --color-text:         #1C2833;   /* Charcoal — body text */
  --color-text-muted:   rgba(28, 40, 51, 0.65);
  --color-white:        #FFFFFF;

  /* Typography */
  --font-heading:  'Lora', Georgia, 'Times New Roman', serif;
  --font-accent:   'Fraunces', Georgia, serif;
  --font-body:     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid type scale */
  --text-xs:   clamp(0.625rem, 0.55rem + 0.2vw, 0.6875rem);    /* 10-11px */
  --text-sm:   clamp(0.75rem, 0.7rem + 0.15vw, 0.8125rem);     /* 12-13px */
  --text-base: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);   /* 13-15px */
  --text-md:   clamp(0.9375rem, 0.85rem + 0.25vw, 1.0625rem);  /* 15-17px */
  --text-lg:   clamp(1.125rem, 1rem + 0.35vw, 1.25rem);        /* 18-20px */
  --text-xl:   clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);      /* 22-26px */
  --text-2xl:  clamp(1.75rem, 1.5rem + 0.7vw, 2rem);           /* 28-32px */
  --text-3xl:  clamp(2rem, 1.7rem + 1vw, 2.375rem);            /* 32-38px */
  --text-4xl:  clamp(2.5rem, 2rem + 1.5vw, 3.25rem);           /* 40-52px */
  --text-5xl:  clamp(3rem, 2.5rem + 1.8vw, 3.75rem);           /* 48-60px */

  /* Spacing scale */
  --space-2xs: 0.25rem;    /* 4px */
  --space-xs:  0.5rem;     /* 8px */
  --space-sm:  0.75rem;    /* 12px */
  --space-md:  1rem;       /* 16px */
  --space-lg:  1.5rem;     /* 24px */
  --space-xl:  2rem;       /* 32px */
  --space-2xl: 3rem;       /* 48px */
  --space-3xl: 4rem;       /* 64px */
  --space-4xl: 5rem;       /* 80px */
  --space-5xl: 8rem;       /* 128px */

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-pill:  999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(28, 40, 51, 0.06), 0 1px 2px rgba(28, 40, 51, 0.04);
  --shadow-md:  0 4px 12px rgba(28, 40, 51, 0.08), 0 2px 4px rgba(28, 40, 51, 0.04);
  --shadow-lg:  0 12px 32px rgba(28, 40, 51, 0.10), 0 4px 8px rgba(28, 40, 51, 0.04);
  --shadow-xl:  0 20px 48px rgba(28, 40, 51, 0.14), 0 8px 16px rgba(28, 40, 51, 0.06);
  --shadow-warm: 0 8px 24px rgba(200, 146, 74, 0.12);

  /* Layout */
  --max-w:       1200px;
  --px:          48px;
  --section-py:  clamp(48px, 5vw + 24px, 80px);
  --nav-height:  64px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  :root {
    --px: 20px;
    --nav-height: 56px;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 769px) {
  html { scrollbar-gutter: stable; }
}

body {
  background: var(--color-cream);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-amber);
  color: var(--color-primary);
  padding: 8px 16px;
  z-index: 10000;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ── Focus Styles ── */
:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.1;
  font-weight: 700;
}

/* Italic accent — Fraunces italic inside headings */
.italic-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
}

/* Hero heading */
.heading-hero {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.0;
  color: var(--color-cream);
}

.heading-hero-accent {
  font-family: var(--font-accent);
  font-size: calc(var(--text-4xl) * 0.96);
  font-weight: 300;
  font-style: italic;
  line-height: 1.0;
  color: var(--color-cream);
  opacity: 0.88;
}

/* Section headings */
.heading-section {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
}

.heading-card {
  font-size: var(--text-md);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

.heading-sub {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

/* Body text classes */
.text-lead {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  opacity: 0.75;
}

.text-body {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  opacity: 0.65;
}

.text-small {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text);
  opacity: 0.65;
}

/* Section label — uppercase small text above headings */
.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-mid);
  display: block;
  margin-bottom: var(--space-xs);
}

.label--light {
  color: var(--color-amber);
}

/* Accent line */
.accent-line {
  width: 2px;
  height: 48px;
  background: var(--color-amber);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.nav.scrolled {
  background: rgba(250, 246, 240, 0.97);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-color: rgba(196, 181, 165, 0.5);
  box-shadow: 0 1px 8px rgba(28, 40, 51, 0.04);
}

/* When nav overlaps hero (dark bg), use light text */
.nav--hero {
  background: transparent;
}
.nav--hero:not(.scrolled) .nav-link {
  color: var(--color-cream);
  opacity: 0.7;
}
.nav--hero:not(.scrolled) .nav-link:hover {
  opacity: 1;
}
.nav--hero:not(.scrolled) .logo-text {
  color: var(--color-cream);
}
.nav--hero:not(.scrolled) .nav-logo-img {
  filter: drop-shadow(0 0 10px rgba(250, 246, 240, 0.5));
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
  transition: color 0.3s;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.6;
  font-weight: 500;
  transition: opacity 0.3s, color 0.3s;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-amber);
  transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ── Nav dropdown ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-toggle::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-cream);
  border: 1px solid rgba(196, 181, 165, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(28, 40, 51, 0.1);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(6px);
  z-index: 210;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle::before,
.nav-dropdown.open .nav-dropdown-toggle::before {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  opacity: 1;
  background: var(--color-sand);
}

/* Light dropdown for hero nav */
.nav--hero:not(.scrolled) .nav-dropdown-menu {
  background: var(--color-primary);
  border-color: rgba(250, 246, 240, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav--hero:not(.scrolled) .nav-dropdown-menu a {
  color: var(--color-cream);
  opacity: 0.7;
}

.nav--hero:not(.scrolled) .nav-dropdown-menu a:hover {
  opacity: 1;
  background: rgba(250, 246, 240, 0.08);
}

/* Mobile dropdown */
.mobile-menu .mobile-dropdown-links {
  display: none;
  padding-left: 16px;
}

.mobile-menu .mobile-dropdown-links.open {
  display: block;
}

.mobile-menu .mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-menu .mobile-dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

.mobile-menu .mobile-dropdown-toggle.open .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-menu .mobile-dropdown-links a {
  font-size: var(--text-sm);
  padding: 10px 0;
  opacity: 0.55;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--color-amber);
  color: #fff;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--color-amber-dark, #b07f3a);
}

/* Nav professional pill — small outlined pill far right */
.nav-pro-pill {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-taupe);
  color: var(--color-mid);
  transition: border-color 0.3s, color 0.3s;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.nav-pro-pill:hover {
  border-color: var(--color-amber);
  color: var(--color-amber);
}

.nav--hero:not(.scrolled) .nav-pro-pill {
  border-color: rgba(250, 246, 240, 0.25);
  color: rgba(250, 246, 240, 0.6);
}

.nav--hero:not(.scrolled) .nav-pro-pill:hover {
  border-color: var(--color-amber);
  color: var(--color-amber);
}

.nav-pro-pill--active {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.footer-pro-pill--active {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 24px;
  height: 18px;
  position: relative;
  z-index: 400;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  transition: all 0.3s var(--ease-smooth);
  border-radius: 1px;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Nav hero variant hamburger color */
.nav--hero:not(.scrolled) .hamburger span {
  background: var(--color-cream);
}

/* ── Mobile Menu ── */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(28, 40, 51, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--color-cream);
  z-index: 300;
  transition: right 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  box-shadow: -8px 0 32px rgba(28, 40, 51, 0.1);
  overflow-y: auto;
}

.mobile-menu.open { right: 0; }

.mobile-menu a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.7;
  padding: 14px 0;
  border-bottom: 1px solid rgba(196, 181, 165, 0.3);
  transition: opacity 0.3s, color 0.3s;
  display: block;
}

.mobile-menu a:hover { opacity: 1; }

.mobile-menu .nav-cta {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: var(--text-sm);
  padding: 14px 24px;
}

.mobile-menu .mobile-pro-pill {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  text-decoration: none;
  opacity: 1;
  transition: background 0.3s, color 0.3s;
}
.mobile-menu .mobile-pro-pill:hover {
  background: var(--color-primary);
  color: var(--color-cream);
}
.mobile-menu .mobile-pro-pill--active {
  background: var(--color-primary);
  color: var(--color-cream);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta--desktop { display: none; }
  .nav-pro-pill { display: none; }
  .hamburger { display: block; }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  padding: 12px 24px;
  font-size: var(--text-sm);
  background: var(--color-amber);
  color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-amber-dark);
  box-shadow: var(--shadow-warm);
}

.btn-primary--dark {
  background: var(--color-primary);
  color: var(--color-cream);
}

.btn-primary--dark:hover {
  background: var(--color-primary-light);
}

.btn-ghost {
  padding: 12px 24px;
  font-size: var(--text-sm);
  background: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(250, 246, 240, 0.25);
}

.btn-ghost:hover {
  border-color: rgba(250, 246, 240, 0.5);
  background: rgba(250, 246, 240, 0.05);
}

.btn-ghost--dark {
  color: var(--color-primary);
  border-color: var(--color-taupe);
}

.btn-ghost--dark:hover {
  border-color: var(--color-primary);
  background: rgba(30, 61, 79, 0.04);
}

.btn-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-amber);
  background: none;
  border: none;
  padding: 0;
  transition: color 0.3s;
}

.btn-link:hover {
  color: var(--color-amber-dark);
  transform: none;
  box-shadow: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 14px 28px;
  font-size: var(--text-base);
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */

.section {
  padding: var(--section-py) 0;
}

.section--primary {
  background: var(--color-primary);
}

.section--sand {
  background: var(--color-sand);
}

.section--cream {
  background: var(--color-cream);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero-wrap {
  background: var(--color-primary);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding: var(--space-3xl) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--color-amber);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
}

.hero-heading {
  margin-bottom: var(--space-xs);
}

.hero-heading-accent {
  margin-bottom: var(--space-lg);
}

.hero-description {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-cream);
  opacity: 0.65;
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-image {
  padding: 40px 0 40px var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image--bottom {
  align-items: flex-end;
  padding-top: 80px;
}

.hero-image-pill {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.hero-image-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Hero parallax target */
.hero-parallax {
  will-change: transform;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-content {
    padding: calc(var(--nav-height) + 40px) var(--px) var(--space-2xl);
  }
  .hero-image,
  .hero-image--bottom {
    padding: 0 var(--px) var(--space-xl);
    padding-top: 0;
    align-items: center;
  }
  .hero-image-pill {
    height: 280px;
  }
}

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */

.stats-wrap {
  background: var(--color-mid);
}

.stats-bar {
  padding: var(--space-lg) var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.stats-bar-inner {
  display: flex;
  gap: var(--space-2xl);
  align-items: center;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-icon {
  color: var(--color-amber);
  margin-bottom: var(--space-xs);
  opacity: 0.85;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.2;
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-cream);
  opacity: 0.65;
  max-width: 160px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-bar-inner {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
  .stat {
    flex: 1 1 calc(50% - var(--space-sm));
    min-width: 140px;
  }
}

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */

.card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(196, 181, 165, 0.38);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

a.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-taupe);
}

.card-image {
  padding: var(--space-md) var(--space-md) 0;
  position: relative;
}

.card-image-pill {
  height: 140px;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.card-image-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: calc(var(--space-md) + 8px);
  right: calc(var(--space-md) + 8px);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  background: var(--color-amber);
  color: var(--color-primary);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.card-body {
  padding: var(--space-md) 18px var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body .btn-link {
  margin-top: auto;
  display: inline-block;
  padding: 10px 22px;
  background: var(--color-amber);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.3s;
  align-self: flex-start;
}

.card:hover .card-body .btn-link {
  background: var(--color-amber-dark);
}

.card-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-2xs);
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.card-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

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

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

/* ═══════════════════════════════════════════
   TWO-COLUMN LAYOUT
   ═══════════════════════════════════════════ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.two-col--start {
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ═══════════════════════════════════════════
   IMAGE COLLAGE (Approach section)
   ═══════════════════════════════════════════ */

.image-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  height: 420px;
}

.image-collage-tall {
  border-radius: var(--radius-pill);
  overflow: hidden;
  grid-row: span 2;
}

.image-collage-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-collage-square {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.image-collage-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-collage-quote {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.image-collage-quote p {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 300;
  color: var(--color-cream);
  text-align: center;
  line-height: 1.5;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .image-collage {
    height: 300px;
  }
}

/* Credential dots */
.credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.credential-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-amber);
  flex-shrink: 0;
}

.credential-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
}

/* ═══════════════════════════════════════════
   TEAM SCROLL
   ═══════════════════════════════════════════ */

/* The parent section needs overflow hidden to prevent
   the horizontal scroll track from widening the page */
section#team {
  overflow: hidden;
}

.team-scroll-wrap {
  position: relative;
  overflow: hidden;
}

.team-scroll {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.team-scroll::-webkit-scrollbar { display: none; }

.team-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(196, 181, 165, 0.38);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  scroll-snap-align: start;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: var(--color-amber);
  color: #fff;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.team-card-photo {
  height: 200px;
  overflow: hidden;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card-body {
  padding: var(--space-md) 18px 18px;
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}

.team-card-role {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-mid);
  margin-bottom: var(--space-xs);
}

.team-card-creds {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--color-text);
  opacity: 0.45;
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

.team-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.modality-tag {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(30, 61, 79, 0.07);
  color: var(--color-primary);
}

/* Team scroll end CTA */
.team-scroll-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--px) 0 var(--space-md);
}

.team-scroll-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.team-scroll-cta-count {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.team-scroll-cta-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Navigation arrows */
.team-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-taupe);
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: var(--shadow-md);
}

.team-nav:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.08);
}

.team-nav--left {
  left: 12px;
}

.team-nav--right {
  right: 12px;
}

.team-nav[disabled] {
  opacity: 0;
  pointer-events: none;
}

/* Fade edges */
.team-fade-left,
.team-fade-right {
  position: absolute;
  top: 0;
  bottom: 8px;
  pointer-events: none;
  z-index: 3;
}

.team-fade-left {
  left: 0;
  width: 40px;
  background: linear-gradient(to right, var(--color-sand), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-fade-right {
  right: 0;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--color-sand));
}

/* ═══════════════════════════════════════════
   QUOTE SECTION
   ═══════════════════════════════════════════ */

.quote-wrap {
  background: var(--color-primary);
}

.quote-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-py) var(--px);
  text-align: center;
}

.quote-inner {
  max-width: 680px;
  margin: 0 auto;
}

.quote-text {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-cream);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.quote-author {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-amber);
}

.quote-author-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-cream);
  opacity: 0.4;
  margin-top: var(--space-2xs);
}

/* ═══════════════════════════════════════════
   SCHEDULE SECTION
   ═══════════════════════════════════════════ */

.schedule-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-xl);
}

.schedule-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--space-md);
  background: var(--color-sand);
  border-radius: var(--radius-md);
}

.schedule-row--alt-0 {
  background: var(--color-sand);
}

.schedule-row--alt-1 {
  background: var(--color-sand-light);
}

.schedule-row-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-row-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.schedule-row-top .schedule-slots {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}

.schedule-row-detail {
  margin-top: 6px;
}

.schedule-day {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  width: 90px;
  flex-shrink: 0;
}

.schedule-slots {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}

.schedule-slot {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(30, 61, 79, 0.07);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.schedule-note {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.55;
  margin-left: 0.35em;
  letter-spacing: 0.01em;
}

/* ── Schedule: delivery tag ── */
.schedule-delivery {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-mid);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.03em;
  margin-left: auto;
}

.schedule-delivery--inperson {
  color: var(--color-white);
  background: var(--color-amber);
}

/* ── Schedule: next entry line ── */
.schedule-next {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  margin: 2px 0 0;
  line-height: 1.5;
}

.schedule-next strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ── Schedule: per-row future dates dropdown ── */
.schedule-future {
  margin-top: 8px;
  width: 100%;
}

.schedule-future .faq-trigger {
  padding: 7px 14px;
  gap: 8px;
  background: rgba(30, 61, 79, 0.05);
  border: 1px solid rgba(30, 61, 79, 0.1);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.schedule-future .faq-trigger:hover {
  background: rgba(30, 61, 79, 0.09);
}

.schedule-future .faq-trigger[aria-expanded="true"] {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom-color: transparent;
}

.schedule-future-toggle {
  justify-content: flex-start;
}

.schedule-future-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.schedule-future .faq-arrow {
  font-size: 12px;
  color: var(--color-primary);
  margin-left: auto;
}

.schedule-future .faq-answer-inner {
  padding: 0;
}

.schedule-future .faq-answer {
  border: 1px solid rgba(30, 61, 79, 0.1);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
}

.schedule-future-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-future-entry {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 14px;
}

.schedule-future-entry:nth-child(odd) {
  background: rgba(30, 61, 79, 0.03);
}

.schedule-future-entry:nth-child(even) {
  background: var(--color-white);
}

.schedule-future-module {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
}

.schedule-future-date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text);
  opacity: 0.6;
}

/* Multi-slot rows (Tuesday) */
.schedule-row--multi .schedule-row-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-sub-slot {
  padding: 6px 0;
}

.schedule-sub-slot--border {
  border-top: 1px solid rgba(196, 181, 165, 0.25);
  margin-top: 2px;
  padding-top: 8px;
}

.schedule-sub-slot-header {
  margin-bottom: 2px;
}

/* ── Schedule: in-person row accent ── */
.schedule-row--inperson {
  background: rgba(200, 146, 74, 0.1);
  border: 1px solid rgba(200, 146, 74, 0.2);
}

/* ── Schedule: venue info inline in Saturday row ── */
.schedule-venue-inline {
  border-top: 1px solid rgba(196, 181, 165, 0.25);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
}

.schedule-venue-address {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text);
  font-weight: 500;
}

.schedule-venue-stations {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text);
  opacity: 0.5;
  margin-top: 2px;
}

/* ── Schedule: advanced module row ── */
.schedule-row--advanced {
  background: var(--color-primary);
  color: var(--color-white);
}

.schedule-row--advanced .schedule-day {
  color: var(--color-white);
}

.schedule-row--advanced .schedule-day--wide {
  width: auto;
  font-size: var(--text-sm);
}

.schedule-row--advanced .schedule-next {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-xs);
}

.schedule-row--advanced .schedule-next strong {
  color: var(--color-white);
}

.schedule-delivery--advanced {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Schedule: legacy supplementary (kept for non-DBT pages) ── */
.schedule-cal-stations {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  opacity: 0.55;
  margin-top: var(--space-xs);
}

.schedule-footnote {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-style: italic;
  opacity: 0.55;
  margin-top: var(--space-lg);
  line-height: 1.6;
}

/* Dark info card */
.info-card {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--color-cream);
}

.info-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.info-card-item {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(250, 246, 240, 0.08);
}

.info-card-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-card-item-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 2px;
}

.info-card-item-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-cream);
  opacity: 0.5;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════ */

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-mid);
}

.contact-info-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.6;
}

/* Enquiry form */
.form-card {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid rgba(196, 181, 165, 0.38);
}

.form-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-taupe);
  background: var(--color-sand);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(200, 146, 74, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text);
  opacity: 0.35;
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A7A88' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-submit {
  margin-top: var(--space-md);
}

.form-message {
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  font-weight: 500;
}

.form-message--error { color: #c44; }
.form-message--success { color: var(--color-amber); }

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */

.faq-list {
  max-width: 800px;
}

.faq-group-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.faq-group-title:first-child {
  margin-top: 0;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid rgba(196, 181, 165, 0.38);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: var(--color-taupe);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  text-align: left;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.4;
  transition: color 0.3s;
}

.faq-arrow {
  font-size: 16px;
  color: var(--color-mid);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-item.open .faq-question { color: var(--color-amber); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  opacity: 0.75;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer-wrap {
  background: var(--color-primary);
}

.footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-2xl) var(--px) var(--space-xl);
  font-family: var(--font-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-cream);
  opacity: 0.5;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-sm);
}

.footer-link {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-cream);
  opacity: 0.45;
  margin-bottom: var(--space-xs);
  transition: opacity 0.3s;
}

.footer-link:hover { opacity: 0.8; }

.footer-link--icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-icon {
  width: 14px;
  height: 14px;
  stroke: var(--color-amber);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer-email {
  white-space: nowrap;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.08);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-cream);
  opacity: 0.3;
}

.footer-legal-links a {
  color: var(--color-cream);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-xl) var(--px) var(--space-lg);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-md);
    margin-bottom: var(--space-lg);
  }
  .footer-tagline {
    max-width: 100%;
  }
  .footer-col-title {
    margin-bottom: var(--space-xs);
  }
  .footer-link {
    margin-bottom: 4px;
    font-size: 13px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
    padding-top: var(--space-md);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

/* ═══════════════════════════════════════════
   SVG WAVE DIVIDERS
   ═══════════════════════════════════════════ */

.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Primary to sand */
.wave--primary-to-sand { background: var(--color-sand); }
.wave--primary-to-sand svg { fill: var(--color-primary); }

/* Sand to cream */
.wave--sand-to-cream { background: var(--color-cream); }
.wave--sand-to-cream svg { fill: var(--color-sand); }

/* Cream to sand */
.wave--cream-to-sand { background: var(--color-sand); }
.wave--cream-to-sand svg { fill: var(--color-cream); }

/* Cream to primary */
.wave--cream-to-primary { background: var(--color-primary); }
.wave--cream-to-primary svg { fill: var(--color-cream); }

/* Primary to cream */
.wave--primary-to-cream { background: var(--color-cream); }
.wave--primary-to-cream svg { fill: var(--color-primary); }

/* Sand to primary */
.wave--sand-to-primary { background: var(--color-primary); }
.wave--sand-to-primary svg { fill: var(--color-sand); }

/* Hairline divider */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-taupe), transparent);
  margin: 0 8%;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════
   TEXTURE OVERLAY
   ═══════════════════════════════════════════ */

.texture {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Hero cascade animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cascade > * {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.hero-cascade > *:nth-child(1) { animation-delay: 0.1s; }
.hero-cascade > *:nth-child(2) { animation-delay: 0.25s; }
.hero-cascade > *:nth-child(3) { animation-delay: 0.4s; }
.hero-cascade > *:nth-child(4) { animation-delay: 0.55s; }
.hero-cascade > *:nth-child(5) { animation-delay: 0.7s; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .hero-cascade > * {
    opacity: 1;
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════ */

.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  color: var(--color-mid);
}

.breadcrumbs a {
  color: var(--color-mid);
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs span {
  margin: 0 var(--space-xs);
  opacity: 0.5;
}

.breadcrumbs--light {
  color: rgba(250, 246, 240, 0.5);
  text-align: left;
  padding-bottom: var(--space-lg);
}

.breadcrumbs--light a {
  color: rgba(250, 246, 240, 0.5);
}

.breadcrumbs--light a:hover {
  color: var(--color-cream);
}

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════ */

.page-hero {
  background: var(--color-primary);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.page-hero .heading-hero {
  margin-bottom: var(--space-md);
}

.page-hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-cream);
  opacity: 0.6;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   PROGRAMME PAGE — Redesigned
   ═══════════════════════════════════════════ */

/* Hero enhancements */
.prog-hero {
  padding-bottom: var(--space-4xl);
}

.prog-hero .heading-hero .italic-accent {
  color: var(--color-amber-light);
}

.prog-hero-ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

.prog-hero-ctas .btn-ghost {
  color: var(--color-cream);
  border-color: rgba(250, 246, 240, 0.3);
}

.prog-hero-ctas .btn-ghost:hover {
  background: rgba(250, 246, 240, 0.1);
  border-color: rgba(250, 246, 240, 0.5);
}

/* ── Stats bar (key details) ── */
.prog-stats-wrap {
  position: relative;
  z-index: 2;
  margin-top: -40px;
}

.prog-stats-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.prog-stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(196, 181, 165, 0.38);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.prog-stat {
  background: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
}

.prog-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(200, 146, 74, 0.1);
  color: var(--color-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2xs);
}

.prog-stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-mid);
}

.prog-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

/* ── Intro section: text + image ── */
.prog-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.prog-intro-layout--two-col {
  grid-template-columns: 3fr 2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.prog-intro-sidebar .prog-who-for-strip {
  margin-top: 0;
  padding: var(--space-lg);
  background: var(--color-sand);
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 165, 0.3);
}

.prog-intro-sidebar .prog-who-for-label {
  margin-bottom: var(--space-sm);
}

.prog-intro-sidebar .prog-who-for-tags {
  gap: 6px;
}

.prog-intro-sidebar .prog-tag {
  font-size: 12px;
  padding: 5px 12px;
}

.prog-intro-text .heading-section {
  margin-bottom: var(--space-lg);
}

.prog-intro-text .text-lead {
  margin-bottom: 0;
}

/* Image with soft shadow and slight rotation for editorial feel */
.prog-intro-visual {
  position: relative;
}

.prog-intro-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 8px 30px rgba(30, 61, 79, 0.1),
    0 2px 8px rgba(30, 61, 79, 0.06);
}

.prog-intro-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ── Who-for: horizontal tag strip ── */
.prog-who-for-strip {
  margin-top: var(--space-lg);
  padding-top: 0;
}

.prog-who-for-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.prog-who-for-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.prog-tag {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196, 181, 165, 0.5);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(30, 61, 79, 0.06);
}

.prog-tag:hover {
  border-color: var(--color-taupe);
  background: var(--color-white);
}

@media (max-width: 768px) {
  .prog-intro-layout,
  .prog-intro-layout--two-col {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .prog-intro-visual {
    order: -1;
    max-width: 480px;
  }
}

.prog-who-for .prog-pills-wrap {
  justify-content: flex-start;
}

/* ── Sub-heading (inside merged sections) ── */
.prog-sub-heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.prog-schedule-block {
  margin-top: var(--space-3xl);
}

.prog-schedule-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.prog-schedule-left .prog-sub-heading {
  margin-bottom: var(--space-sm);
}

.prog-schedule-left .text-lead {
  margin-bottom: var(--space-lg);
}

.prog-schedule-left .prog-schedule-footer {
  text-align: left;
  margin-top: var(--space-md);
}

.prog-schedule-left .prog-schedule-cost {
  text-align: left;
}

.prog-schedule-right .prog-day-grid {
  max-width: none;
  margin: 0;
}

@media (max-width: 768px) {
  .prog-schedule-two-col {
    grid-template-columns: 1fr;
  }

  .prog-schedule-left .prog-schedule-footer {
    text-align: center;
  }

  .prog-schedule-left .prog-schedule-cost {
    text-align: center;
  }
}

/* ── Section headers (reusable) ── */
.prog-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.prog-section-header .label {
  margin-bottom: var(--space-sm);
}

.prog-section-header .heading-section {
  margin-bottom: var(--space-sm);
}

.prog-section-header p {
  font-size: var(--text-base);
  color: var(--color-text);
  opacity: 0.65;
}

/* ── Format options (cards with badges) ── */
.prog-format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.prog-format-card {
  background: var(--color-white);
  border: 1px solid rgba(196, 181, 165, 0.38);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.prog-format-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-amber), var(--color-amber-light));
}

.prog-format-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.prog-format-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-amber-dark);
  background: rgba(200, 146, 74, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
}

.prog-format-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.prog-format-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-xs);
}

.prog-format-price-note {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-mid);
  margin-left: var(--space-xs);
  text-transform: lowercase;
}

.prog-format-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.prog-format-desc {
  font-size: var(--text-base);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.prog-format-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.prog-format-benefit {
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.75;
  line-height: 1.5;
  padding-left: var(--space-lg);
  position: relative;
}

.prog-format-benefit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-amber);
}

/* Skills-only alternative card */
.prog-skills-alt .prog-format-card {
  max-width: 800px;
}

.prog-format-card-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .prog-format-card-inner {
    grid-template-columns: 1fr;
  }
}

/* ── Two-pathway cards (DBT page) ── */
.prog-pathways-title {
  text-align: center;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-2xl);
}

.prog-pathways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}

.prog-pathways--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.prog-pathway-card {
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.prog-pathway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.prog-pathway-header .prog-pathway-name {
  margin-bottom: 0;
}

.prog-pathway-tags {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.prog-pathway-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 165, 0.5);
  color: var(--color-mid);
}

.prog-pathway-tag--light {
  border-color: rgba(250, 246, 240, 0.25);
  color: rgba(250, 246, 240, 0.7);
}

.prog-pathway-card--primary {
  background: var(--color-primary);
  color: var(--color-cream);
}

.prog-pathway-card--white {
  background: var(--color-white);
  border: 1px solid rgba(196, 181, 165, 0.38);
}

.prog-pathway-price {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-xs);
}

.prog-pathway-price--light {
  color: var(--color-amber-light);
}

.prog-pathway-price-note {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-mid);
  margin-top: 2px;
}

.prog-pathway-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.prog-pathway-name--light {
  color: var(--color-cream);
}

.prog-pathway-desc {
  font-size: var(--text-base);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.prog-pathway-desc--light {
  color: var(--color-cream);
  opacity: 0.7;
}

.prog-pathway-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.prog-pathway-benefit {
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.75;
  line-height: 1.5;
  padding-left: var(--space-lg);
  position: relative;
}

.prog-pathway-benefit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-amber);
}

.prog-pathway-benefit--light {
  color: var(--color-cream);
  opacity: 0.85;
}

.prog-pathway-benefit--light::before {
  background: var(--color-amber-light);
}

.prog-pathway-steps {
  border-top: 1px solid rgba(196, 181, 165, 0.2);
  padding-top: var(--space-md);
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.prog-pathway-card--primary .prog-pathway-steps {
  border-top-color: rgba(250, 246, 240, 0.12);
}

.prog-pathway-step {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.prog-pathway-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(200, 146, 74, 0.12);
  color: var(--color-amber-dark);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.prog-pathway-step-num--light {
  background: rgba(250, 246, 240, 0.12);
  color: var(--color-amber-light);
}

.prog-pathway-step-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1px;
}

.prog-pathway-step-title--light {
  color: var(--color-cream);
}

.prog-pathway-step-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.5;
}

.prog-pathway-step-text--light {
  color: var(--color-cream);
  opacity: 0.65;
}

.prog-pathway-footer {
  margin-top: auto;
  border-top: 1px solid rgba(196, 181, 165, 0.2);
  padding-top: var(--space-lg);
}

.prog-pathway-card--primary .prog-pathway-footer {
  border-top-color: rgba(250, 246, 240, 0.12);
}

.prog-pathway-footer .prog-pathway-price {
  margin-bottom: var(--space-sm);
}

.prog-pathways-schedule {
  margin-top: var(--space-2xl);
  margin-bottom: calc(var(--section-py) * -0.4);
}

.prog-pathways-schedule-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.prog-pathways-schedule-left .heading-sub {
  margin-bottom: 0;
}

.prog-pathways-schedule-right .schedule-table {
  margin-bottom: 0;
}

.btn-amber {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: var(--color-amber);
  color: var(--color-white);
  border: 1px solid var(--color-amber);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-amber:hover {
  background: var(--color-amber-dark);
  border-color: var(--color-amber-dark);
}

@media (max-width: 768px) {
  .prog-pathways {
    grid-template-columns: 1fr;
  }

  .prog-pathways-schedule-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .schedule-delivery {
    font-size: 8px;
    padding: 3px 9px;
  }
}

/* ── What is DBT explainer ── */
.prog-explainer-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.prog-explainer-text .label {
  margin-bottom: var(--space-sm);
}

.prog-explainer-text .heading-section {
  margin-bottom: var(--space-md);
}

.prog-explainer-text .text-lead {
  margin-bottom: 0;
}

.prog-conditions {
  margin-top: var(--space-lg);
}

.prog-conditions-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-mid);
  margin-bottom: var(--space-sm);
}

.prog-conditions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prog-condition-tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196, 181, 165, 0.5);
  box-shadow: 0 1px 4px rgba(30, 61, 79, 0.05);
}

.prog-explainer-diagram {
  display: flex;
  justify-content: center;
}

.dbt-pinwheel {
  width: 100%;
  max-width: 380px;
  height: auto;
}

@media (max-width: 768px) {
  .prog-explainer-two-col {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .dbt-pinwheel {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Tighten gap when curriculum follows pathways (both cream bg) */
.prog-curriculum-section {
  padding-top: 0;
}

/* ── Curriculum modules (numbered cards with gradient top) ── */
.prog-module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.prog-module-card {
  background: var(--color-white);
  border: 1px solid rgba(196, 181, 165, 0.38);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-top: 3px solid var(--color-primary);
}

.prog-module-card:nth-child(2) { border-top-color: var(--color-primary-light); }
.prog-module-card:nth-child(3) { border-top-color: var(--color-mid); }
.prog-module-card:nth-child(4) { border-top-color: var(--color-amber); }
.prog-module-card:nth-child(5) { border-top-color: var(--color-amber-dark); }

.prog-module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-amber));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prog-module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.prog-module-card:hover::before {
  opacity: 1;
}

.prog-module-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.prog-module-card:nth-child(2) .prog-module-number { color: var(--color-primary-light); }
.prog-module-card:nth-child(3) .prog-module-number { color: var(--color-mid); }
.prog-module-card:nth-child(4) .prog-module-number { color: var(--color-amber); }
.prog-module-card:nth-child(5) .prog-module-number { color: var(--color-amber-dark); }

.prog-module-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.prog-module-desc {
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.7;
}

/* ── Schedule (day/time cards) ── */
.prog-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.prog-day-card {
  background: var(--color-white);
  border: 1px solid rgba(196, 181, 165, 0.38);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prog-day-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-amber);
}

.prog-day-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.prog-day-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.prog-day-times {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.prog-day-time {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-amber-dark);
  font-weight: 500;
  background: rgba(200, 146, 74, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.prog-schedule-footer {
  text-align: center;
  margin-top: var(--space-xl);
}

.prog-schedule-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196, 181, 165, 0.38);
}

.prog-schedule-cost {
  text-align: center;
  margin-top: var(--space-md);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-primary);
}

.prog-schedule-cost-note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-mid);
}

/* ── Who for (pill tags) ── */
.prog-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}

.prog-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  background: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196, 181, 165, 0.38);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.prog-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-amber);
  flex-shrink: 0;
}

.prog-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-amber-light);
}

/* ── What to expect (vertical timeline) ── */
.prog-timeline {
  max-width: 640px;
  margin: 0 auto;
}

.prog-timeline-step {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.prog-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.prog-timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-amber);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(200, 146, 74, 0.25);
}

.prog-timeline-line {
  width: 2px;
  height: 100%;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--color-amber-light), var(--color-taupe-light));
  margin: var(--space-xs) 0;
}

.prog-timeline-content {
  flex: 1;
  padding-bottom: var(--space-2xl);
}

.prog-timeline-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.prog-timeline-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.7;
}

/* ── Programme responsive ── */
@media (max-width: 768px) {
  .prog-hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    justify-items: center;
  }
  .prog-hero-ctas .btn-primary {
    grid-column: 1 / -1;
  }

  .prog-stats-wrap {
    margin-top: -24px;
  }

  .prog-stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .prog-intro-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .prog-format-grid {
    grid-template-columns: 1fr;
  }

  .prog-module-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prog-day-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prog-timeline-step {
    gap: var(--space-md);
  }

  .prog-timeline-dot {
    width: 36px;
    height: 36px;
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .prog-stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .prog-stat {
    padding: var(--space-md) var(--space-sm);
  }

  .prog-stat-icon {
    display: none;
  }

  .prog-stat-label {
    font-size: 9px;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
  }

  .prog-stat-value {
    font-size: 13px;
    line-height: 1.35;
  }

  .prog-day-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Module cards: compact list on mobile ── */
@media (max-width: 820px) {
  .prog-module-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .prog-module-card,
  .prog-module-card:nth-child(n) {
    border: none;
    border-left: 3px solid var(--color-primary);
    border-radius: 0;
    padding: var(--space-sm) var(--space-md);
    display: grid;
    grid-template-columns: 24px 1fr 1.2fr;
    align-items: baseline;
    gap: var(--space-sm);
    overflow: visible;
    background: transparent;
  }

  .prog-module-card + .prog-module-card {
    border-top: 1px solid rgba(196, 181, 165, 0.2);
    border-left: 3px solid var(--color-primary);
  }

  .prog-module-card:nth-child(2) { border-left-color: var(--color-primary-light); }
  .prog-module-card:nth-child(3) { border-left-color: var(--color-mid); }
  .prog-module-card:nth-child(4) { border-left-color: var(--color-amber); }
  .prog-module-card:nth-child(5) { border-left-color: var(--color-amber-dark); }

  .prog-module-card:hover { transform: none; box-shadow: none; }
  .prog-module-card::before { display: none; }

  .prog-module-number {
    font-size: 14px;
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 22px;
    opacity: 0.6;
  }

  .prog-module-title {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .prog-module-desc {
    font-size: 12px;
    line-height: 1.5;
  }
}

/* ═══════════════════════════════════════════
   MBT PAGE
   Taupe hero, sand stats, more amber in body.
   Everything else inherits from shared programme CSS.
   ═══════════════════════════════════════════ */

/* ── Hero: Soft Taupe background, split layout ── */
[data-programme="mbt"] .page-hero {
  background: #C4B5A5;
  overflow: hidden;
}

.prog-hero--split .container {
  max-width: var(--max-width);
}

.prog-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.prog-hero-text {
  position: relative;
  z-index: 2;
}

.prog-hero-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.prog-hero--split .prog-hero-label {
  color: #1E3D4F;
  opacity: 0.55;
}

.prog-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.prog-hero-image img {
  width: 100%;
  max-width: 340px;
  height: 440px;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 24px 64px rgba(30, 61, 79, 0.15);
}

@media (max-width: 900px) {
  .prog-hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .prog-hero-image {
    order: -1;
    margin-bottom: var(--space-lg);
  }
  .prog-hero-image img {
    max-width: 220px;
    height: 300px;
  }
  .prog-hero--split .prog-hero-ctas {
    justify-content: center;
  }
}

[data-programme="mbt"] .page-hero .heading-hero {
  color: #1E3D4F;
}

[data-programme="mbt"] .prog-hero .heading-hero .italic-accent {
  color: #fff;
  opacity: 1;
}

[data-programme="mbt"] .page-hero-sub {
  color: #1E3D4F;
  opacity: 0.65;
}

[data-programme="mbt"] .breadcrumbs--light a,
[data-programme="mbt"] .breadcrumbs--light .sep,
[data-programme="mbt"] .breadcrumbs--light .current {
  color: #1E3D4F;
  opacity: 0.5;
}

[data-programme="mbt"] .prog-hero-ctas .btn-primary {
  background: #1E3D4F;
  border-color: #1E3D4F;
  color: #FAF6F0;
}

[data-programme="mbt"] .prog-hero-ctas .btn-primary:hover {
  background: #2A5269;
  border-color: #2A5269;
}

[data-programme="mbt"] .prog-hero-ctas .btn-ghost {
  color: #1E3D4F;
  border-color: rgba(30, 61, 79, 0.4);
}

[data-programme="mbt"] .prog-hero-ctas .btn-ghost:hover {
  background: rgba(30, 61, 79, 0.08);
  border-color: rgba(30, 61, 79, 0.6);
}

/* ── Stats bar: Warm Sand ── */
[data-programme="mbt"] .prog-stats-inner {
  background: #F0E8DC;
  box-shadow: none;
}

[data-programme="mbt"] .prog-stat {
  background: #F0E8DC;
}

[data-programme="mbt"] .prog-stat-label {
  color: #5A7A88;
}

[data-programme="mbt"] .prog-stat-value {
  color: #1E3D4F;
}

[data-programme="mbt"] .prog-stat-icon {
  background: rgba(200, 146, 74, 0.12);
  color: #C8924A;
}

/* ── Amber emphasis in body sections ── */
[data-programme="mbt"] .heading-section .italic-accent {
  color: #C8924A;
}

[data-programme="mbt"] .prog-module-card {
  border-top-color: #C8924A;
}

[data-programme="mbt"] .prog-module-number {
  color: #C8924A;
}

[data-programme="mbt"] .prog-who-for-label {
  color: #1E3D4F;
}

[data-programme="mbt"] .prog-tag {
  background: #F0E8DC;
  color: #1E3D4F;
  border-color: transparent;
}

[data-programme="mbt"] .prog-tag:hover {
  border-color: #C8924A;
}

[data-programme="mbt"] .cta-band--primary .btn-primary {
  background: #C8924A;
  border-color: #C8924A;
  color: #1E3D4F;
}

[data-programme="mbt"] .cta-band--primary .btn-primary:hover {
  background: #A87538;
  border-color: #A87538;
}

/* ── Pill image crops ── */
[data-programme="mbt"] .prog-intro-image img {
  border-radius: 999px;
}

[data-programme="mbt"] .mbt-what-is-img img {
  border-radius: 999px;
}

/* ── MBT explainer: stacked layout (step cards need full width) ── */
[data-programme="mbt"] .prog-explainer-two-col {
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

[data-programme="mbt"] .prog-explainer-text {
  max-width: 680px;
}

/* ── "What is MBT" section ── */
.mbt-what-is .label {
  color: #5A7A88;
}

/* ── "What MBT involves" 4-card grid ── */
.mbt-involves-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.mbt-involves-card {
  background: #FAF6F0;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 165, 0.4);
  padding: var(--space-lg) var(--space-md);
}

.mbt-involves-bar {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #C4B5A5;
  margin-bottom: var(--space-md);
}

.mbt-involves-card:first-child .mbt-involves-bar {
  background: #C8924A;
}

.mbt-involves-card-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #1E3D4F;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .mbt-involves-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mbt-involves-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Process step cards (How it works) ── */
.mbt-step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.mbt-step-card {
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 165, 0.4);
  padding: var(--space-lg) var(--space-md);
  background: #FAF6F0;
  border-top: 3px solid #C4B5A5;
}

/* Card 1: Deep teal */
.mbt-step-card--1 { background: #1E3D4F; border-color: #1E3D4F; }
.mbt-step-card--1 .mbt-step-num { color: #C8924A; }
.mbt-step-card--1 .mbt-step-title { color: #FAF6F0; }
.mbt-step-card--1 .mbt-step-text { color: rgba(250, 246, 240, 0.65); }

/* Card 2: Steel blue */
.mbt-step-card--2 { background: #5A7A88; border-color: #5A7A88; }
.mbt-step-card--2 .mbt-step-num { color: #F0E8DC; }
.mbt-step-card--2 .mbt-step-title { color: #FAF6F0; }
.mbt-step-card--2 .mbt-step-text { color: rgba(250, 246, 240, 0.65); }

/* Card 3: Amber */
.mbt-step-card--3 { background: #C8924A; border-color: #C8924A; }
.mbt-step-card--3 .mbt-step-num { color: #1E3D4F; }
.mbt-step-card--3 .mbt-step-title { color: #1E3D4F; }
.mbt-step-card--3 .mbt-step-text { color: rgba(30, 61, 79, 0.7); }

/* Card 4: Taupe */
.mbt-step-card--4 { background: #C4B5A5; border-color: #C4B5A5; }
.mbt-step-card--4 .mbt-step-num { color: #1E3D4F; }
.mbt-step-card--4 .mbt-step-title { color: #1E3D4F; }
.mbt-step-card--4 .mbt-step-text { color: rgba(30, 61, 79, 0.65); }

/* Card 5: Outline */
.mbt-step-card--5 { background: transparent; border: 1.5px solid #C4B5A5; }
.mbt-step-card--5 .mbt-step-num { color: #C8924A; }
.mbt-step-card--5 .mbt-step-title { color: #1E3D4F; }
.mbt-step-card--5 .mbt-step-text { color: rgba(30, 61, 79, 0.65); }

.mbt-step-num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #C8924A;
  margin-bottom: var(--space-sm);
}

.mbt-step-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #1E3D4F;
  margin-bottom: 6px;
  line-height: 1.3;
}

.mbt-step-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(28, 40, 51, 0.65);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .mbt-step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .mbt-step-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mbt-step-card,
  .mbt-step-card[class*="mbt-step-card--"] {
    border-radius: 0;
    padding: var(--space-sm) var(--space-md);
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    gap: 2px var(--space-sm);
    border: none;
    border-left: 3px solid;
  }

  .mbt-step-card + .mbt-step-card {
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .mbt-step-card--1 { border-left-color: #1E3D4F; background: #1E3D4F; }
  .mbt-step-card--2 { border-left-color: #5A7A88; background: #5A7A88; }
  .mbt-step-card--3 { border-left-color: #C8924A; background: #C8924A; }
  .mbt-step-card--4 { border-left-color: #C4B5A5; background: #C4B5A5; }
  .mbt-step-card--5 { border-left-color: #C4B5A5; background: transparent; }

  .mbt-step-num {
    grid-row: 1 / 3;
    align-self: center;
    font-size: 13px;
  }

  .mbt-step-title {
    font-size: 14px;
    margin-bottom: 0;
  }

  .mbt-step-text {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* ═══════════════════════════════════════════
   TEAM PAGE (full)
   ═══════════════════════════════════════════ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  align-items: start;
}

.team-member-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196, 181, 165, 0.38);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  min-height: 680px;
}

.team-member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-member-card.is-expanded:hover {
  transform: none;
}

.team-member-photo {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: rgba(30, 61, 79, 0.06);
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Location pills — overlaid top-left of photo */
.loc-pills {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 20px);
}

.loc-pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.loc-pill--online {
  background: rgba(30, 61, 79, 0.85);
  color: #fff;
}

.loc-pill--inperson {
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-primary);
  border: 1px solid rgba(30, 61, 79, 0.15);
}

.team-member-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2xs);
}

.team-member-role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-mid);
  margin-bottom: var(--space-sm);
}

.team-member-bio {
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.team-member-quals {
  font-size: var(--text-xs);
  color: var(--color-text);
  opacity: 0.5;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.team-member-tags {
  display: flex;
  gap: var(--space-2xs);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.team-member-locations {
  font-size: var(--text-xs);
  color: var(--color-mid);
  margin-top: var(--space-sm);
}

.team-member-summary {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.8;
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.team-member-footer {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.team-member-specialisms {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.specialism-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(200, 146, 74, 0.12);
  color: #7A5C1E;
}

.specialism-hidden {
  display: none;
}

.specialism-hidden.is-visible {
  display: contents;
}

.specialism-more {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(30, 61, 79, 0.08);
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.specialism-more:hover {
  background: rgba(30, 61, 79, 0.15);
}

.specialism-more.is-hidden {
  display: none;
}

/* Insurance — self-funding pill (photo overlay) */
.team-member-insurance--self {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(30, 61, 79, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  line-height: 1;
  margin: 0;
}

/* Insurance — photo overlay, always visible */
.team-member-insurance {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

.insurance-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(30, 61, 79, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  line-height: 1;
  margin: 0;
  width: fit-content;
}

.insurance-dropdown {
  font-size: 8px;
  font-weight: 500;
  color: #fff;
  background: rgba(30, 61, 79, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  margin-top: 4px;
  line-height: 1.5;
  max-width: 220px;
}

/* Corner ribbon for notes (e.g. "On maternity leave") */
.card-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

.card-ribbon span {
  display: inline-block;
  background: var(--color-amber);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.team-member-detail-content .team-member-summary {
  margin-bottom: 0;
}

/* ── Expand Trigger ── */
.team-member-expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.team-member-expand { margin-top: auto; }
.team-member-expand:hover { opacity: 1; }

.expand-chevron {
  display: inline-block;
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-smooth);
}

.team-member-card.is-expanded .team-member-expand .expand-chevron {
  transform: rotate(180deg);
}

/* ── Expandable Detail Panel ── */
.team-member-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-smooth);
}

.team-member-card.is-expanded .team-member-detail {
  max-height: 1200px;
}

.team-member-detail-panel {
  background: var(--color-sand);
  border-top: 2px solid var(--color-taupe-light);
  padding: var(--space-lg);
}

/* ── Detail Tabs ── */
.detail-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.detail-tab {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-taupe-light);
  background: var(--color-white);
  color: var(--color-mid);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.detail-tab:hover {
  border-color: var(--color-mid-light);
  color: var(--color-primary);
}

.detail-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ── Tab Content Wrapper — grid overlay keeps height stable ── */
.detail-tab-wrapper {
  display: grid;
}

.detail-tab-content {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.detail-tab-content.is-active {
  visibility: visible;
  opacity: 1;
}

/* ── Detail Sections ── */
.detail-section {
  margin-bottom: var(--space-md);
}

.detail-section:last-child { margin-bottom: 0; }

.detail-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-mid);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-label svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-mid);
  stroke-width: 1.8;
  fill: none;
}

.detail-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.65;
  opacity: 0.8;
}

/* ── Credential Stack ── */
.credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.credential-list .credential-item {
  display: block;
  border-left: 3px solid var(--color-amber-light);
  padding: 4px 0 4px 12px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text);
  line-height: 1.5;
}

.credential-list .credential-item .credential-institution {
  color: var(--color-text-muted);
  font-style: italic;
}

/* ── Membership Pills ── */
.membership-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.membership-pill {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(30, 61, 79, 0.1);
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

/* ── Collapse Trigger ── */
.team-member-collapse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.team-member-collapse:hover { opacity: 1; }

/* ─── Team Grid: Mobile Compact (2-up) ─── */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .team-member-card {
    border-radius: var(--radius-lg);
    min-height: 0;
  }

  .team-member-photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .team-member-photo img {
    object-position: center 35%;
  }

  .team-member-body {
    flex: 0 1 auto;
  }

  .team-member-footer {
    margin-top: var(--space-xs);
  }

  .loc-pills {
    top: 8px;
    left: 8px;
    gap: 4px;
  }

  .loc-pill {
    font-size: 8px;
    padding: 3px 7px;
  }

  .team-member-body {
    padding: var(--space-md) var(--space-md) var(--space-lg);
  }

  .team-member-name {
    margin-bottom: 4px;
  }

  .team-member-role {
    font-size: 12px;
    margin-bottom: var(--space-xs);
    line-height: 1.4;
  }

  .team-member-tags {
    gap: 4px;
    margin-top: var(--space-xs);
  }

  .team-member-tags .modality-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  .team-member-specialisms {
    gap: 4px;
    margin-bottom: var(--space-xs);
  }

  .specialism-tag {
    font-size: 9px;
    padding: 3px 7px;
  }

  .specialism-more {
    font-size: 9px;
    padding: 3px 7px;
  }

  /* Insurance: keep small pill, hide insurer list on mobile (visible in expanded detail) */
  .team-member-insurance--self {
    font-size: 9px;
    padding: 4px 8px;
  }

  .team-member-insurance {
    bottom: 8px;
    left: 8px;
  }

  .insurance-label {
    font-size: 9px;
    padding: 4px 8px;
    width: fit-content;
  }

  .insurance-dropdown {
    font-size: 7px;
    padding: 3px 6px;
    max-width: fit-content;
  }

  .team-member-expand { font-size: 12px; padding-top: var(--space-xs); }
  .expand-chevron { width: 14px; height: 14px; }

  .team-member-detail-panel { padding: var(--space-md); }
  .detail-tabs { gap: 6px; margin-bottom: var(--space-md); }
  .detail-tab { font-size: 11px; padding: 6px 12px; }
  .detail-label { font-size: 11px; }
  .detail-text { font-size: 13px; }
  .credential-item { font-size: 12px; padding: 4px 0 4px 10px; border-left-width: 2px; }
  .membership-pill { font-size: 10px; padding: 3px 8px; }
  .team-member-collapse { font-size: 12px; }

  .card-ribbon span {
    font-size: 8px;
    padding: 3px 8px;
  }
}

/* Extra-small: slightly tighter spacing, still 1-col */
@media (max-width: 374px) {
  .team-grid {
    gap: var(--space-sm);
  }

  .team-member-photo {
    aspect-ratio: 5 / 3;
  }
}

/* ═══════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════ */

.cta-band {
  background: var(--color-sand);
  text-align: center;
  padding: var(--section-py) var(--px);
}

.cta-band--primary {
  background: var(--color-primary);
}

.cta-band .heading-section {
  margin-bottom: var(--space-md);
}

.cta-band--primary .heading-section {
  color: var(--color-cream);
}

.cta-band .text-body {
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

.cta-band--primary .text-body {
  color: var(--color-cream);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════ */

/* Index grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.blog-card {
  background: var(--color-cream);
  border: 1px solid var(--color-taupe);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 350ms ease, box-shadow 350ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  position: relative;
  padding-top: 62.5%;
  overflow: hidden;
}

.blog-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.03); }

.blog-card-image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-sand), var(--color-cream));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-taupe);
}

.blog-card-body { padding: var(--space-lg); }

.blog-card-date {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-amber);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.blog-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.blog-card-author { font-size: var(--text-xs); color: var(--color-mid); }

.blog-empty-state {
  background: var(--color-cream);
  border: 1px solid var(--color-taupe);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* Post layout */
.post-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--px);
}

.post-header { margin-bottom: 48px; }

.post-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-mid);
}

.post-author-initial {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200, 146, 74, 0.12);
  color: var(--color-amber);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-taupe);
  margin-bottom: 48px;
}

.post-featured img { width: 100%; display: block; }

/* Prose */
.prose p { font-size: var(--text-base); color: var(--color-text); opacity: 0.75; line-height: 1.8; margin-bottom: 1.25em; }
.prose h2 { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; color: var(--color-primary); margin-top: 2em; margin-bottom: 0.6em; }
.prose h3 { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; color: var(--color-primary); margin-top: 1.5em; margin-bottom: 0.5em; }
.prose blockquote { border-left: 2px solid var(--color-amber); background: var(--color-sand); border-radius: var(--radius-md); padding: 20px 24px; font-style: italic; margin: 1.5em 0; }
.prose img { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--color-taupe); margin: 1.5em 0; }
.prose a { color: var(--color-amber); text-decoration: underline; transition: color 0.3s; }
.prose a:hover { color: var(--color-amber-dark); }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.prose li { margin-bottom: 0.5em; line-height: 1.7; font-size: var(--text-base); color: var(--color-text); opacity: 0.75; }
.prose strong { font-weight: 600; opacity: 1; }
.prose hr { border: none; border-top: 1px solid var(--color-taupe); margin: 2em 0; }

.post-footer {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--color-taupe);
}

.back-link {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 13px;
  color: var(--color-amber);
  transition: color 0.3s;
}

.back-link:hover { color: var(--color-amber-dark); }

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .post-wrapper { padding: var(--space-2xl) var(--px); }
  .post-title { font-size: 32px; }
  .blog-empty-state { padding: 48px 24px; }
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */

.mb-4  { margin-bottom: var(--space-2xs); }
.mb-8  { margin-bottom: var(--space-xs); }
.mb-12 { margin-bottom: var(--space-sm); }
.mb-16 { margin-bottom: var(--space-md); }
.mb-24 { margin-bottom: var(--space-lg); }
.mb-32 { margin-bottom: var(--space-xl); }
.mb-48 { margin-bottom: var(--space-2xl); }
.mb-64 { margin-bottom: var(--space-3xl); }
.mt-24 { margin-top: var(--space-lg); }
.mt-32 { margin-top: var(--space-xl); }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Pill image utility */
.pill { border-radius: var(--radius-pill); overflow: hidden; }

/* ═══════════════════════════════════════════
   RESPONSIVE REFINEMENTS
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .two-col {
    gap: var(--space-2xl);
  }

  .prog-module-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .heading-section {
    font-size: var(--text-2xl);
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .image-collage {
    grid-template-columns: 1fr;
    height: auto;
  }

  .image-collage-tall {
    grid-row: span 1;
    height: 200px;
    border-radius: var(--radius-md);
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Family Group Programme — Soft Steel hero (#5A7A88)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
[data-programme="group"] .page-hero {
  background: #5A7A88;
}

[data-programme="group"] .page-hero .heading-hero {
  color: #FAF6F0;
}

[data-programme="group"] .prog-hero .heading-hero .italic-accent {
  color: #FAF6F0;
  opacity: 0.85;
}

[data-programme="group"] .page-hero-sub {
  color: #FAF6F0;
  opacity: 0.8;
}

[data-programme="group"] .prog-hero-label {
  color: #C8924A;
  opacity: 1;
}

[data-programme="group"] .breadcrumbs--light a,
[data-programme="group"] .breadcrumbs--light .sep,
[data-programme="group"] .breadcrumbs--light .current {
  color: #FAF6F0;
  opacity: 0.5;
}

/* Hero buttons */
[data-programme="group"] .prog-hero-ctas .btn-primary {
  background: #C8924A;
  border-color: #C8924A;
  color: #1E3D4F;
}

[data-programme="group"] .prog-hero-ctas .btn-primary:hover {
  background: #A87538;
  border-color: #A87538;
}

[data-programme="group"] .prog-hero-ctas .btn-ghost {
  color: #FAF6F0;
  border-color: rgba(250, 246, 240, 0.4);
}

[data-programme="group"] .prog-hero-ctas .btn-ghost:hover {
  background: rgba(250, 246, 240, 0.1);
  border-color: rgba(250, 246, 240, 0.6);
}

/* ── Stats bar ── */
[data-programme="group"] .prog-stats-inner {
  background: #F0E8DC;
  box-shadow: none;
}

[data-programme="group"] .prog-stat {
  background: #F0E8DC;
}

[data-programme="group"] .prog-stat-label {
  color: #5A7A88;
}

[data-programme="group"] .prog-stat-value {
  color: #1E3D4F;
}

[data-programme="group"] .prog-stat-icon {
  background: rgba(200, 146, 74, 0.12);
  color: #C8924A;
}

/* ── Body accents — amber carries the warmth below the fold ── */
[data-programme="group"] .heading-section .italic-accent {
  color: #C8924A;
}

/* ── Family Group: 4×2 coloured module cards, no numbers ── */
[data-programme="group"] .prog-module-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

[data-programme="group"] .prog-module-number {
  display: none;
}

[data-programme="group"] .prog-module-card {
  border-top: none;
  border-left: 4px solid #C8924A;
  padding: var(--space-lg) var(--space-md);
  background: #FAF6F0;
}

[data-programme="group"] .prog-module-card::before {
  display: none;
}

[data-programme="group"] .prog-module-card:nth-child(1) { border-left-color: #1E3D4F; }
[data-programme="group"] .prog-module-card:nth-child(2) { border-left-color: #5A7A88; }
[data-programme="group"] .prog-module-card:nth-child(3) { border-left-color: #C8924A; }
[data-programme="group"] .prog-module-card:nth-child(4) { border-left-color: #C4B5A5; }
[data-programme="group"] .prog-module-card:nth-child(5) { border-left-color: #1E3D4F; }
[data-programme="group"] .prog-module-card:nth-child(6) { border-left-color: #5A7A88; }
[data-programme="group"] .prog-module-card:nth-child(7) { border-left-color: #C8924A; }
[data-programme="group"] .prog-module-card:nth-child(8) { border-left-color: #C4B5A5; }

@media (max-width: 1024px) {
  [data-programme="group"] .prog-module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  [data-programme="group"] .prog-module-card,
  [data-programme="group"] .prog-module-card:nth-child(n) {
    display: block;
    border: none;
    border-left: 4px solid #C8924A;
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    background: #FAF6F0;
  }

  [data-programme="group"] .prog-module-card:nth-child(1) { border-left-color: #1E3D4F; }
  [data-programme="group"] .prog-module-card:nth-child(2) { border-left-color: #5A7A88; }
  [data-programme="group"] .prog-module-card:nth-child(3) { border-left-color: #C8924A; }
  [data-programme="group"] .prog-module-card:nth-child(4) { border-left-color: #C4B5A5; }
  [data-programme="group"] .prog-module-card:nth-child(5) { border-left-color: #1E3D4F; }
  [data-programme="group"] .prog-module-card:nth-child(6) { border-left-color: #5A7A88; }
  [data-programme="group"] .prog-module-card:nth-child(7) { border-left-color: #C8924A; }
  [data-programme="group"] .prog-module-card:nth-child(8) { border-left-color: #C4B5A5; }

  [data-programme="group"] .prog-module-title {
    font-size: var(--text-base);
    margin-bottom: var(--space-xs);
  }

  [data-programme="group"] .prog-module-desc {
    font-size: var(--text-sm);
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  [data-programme="group"] .prog-module-grid {
    grid-template-columns: 1fr;
  }

  [data-programme="group"] .prog-module-card,
  [data-programme="group"] .prog-module-card:nth-child(n) {
    padding: var(--space-md) var(--space-md);
  }
}

[data-programme="group"] .prog-timeline-dot {
  background: #C8924A;
  color: #1E3D4F;
}

[data-programme="group"] .prog-timeline-line {
  background: rgba(200, 146, 74, 0.25);
}

[data-programme="group"] .prog-who-for-label {
  color: #1E3D4F;
}

[data-programme="group"] .prog-tag {
  background: rgba(30, 61, 79, 0.07);
  color: #1E3D4F;
  border: 1.5px solid rgba(30, 61, 79, 0.2);
  font-weight: 500;
  border-radius: 99px;
}

[data-programme="group"] .prog-tag:hover {
  border-color: #C8924A;
  background: rgba(200, 146, 74, 0.06);
}

[data-programme="group"] .prog-intro-sidebar .prog-tag {
  font-size: 13px;
  padding: 8px 16px;
}

[data-programme="group"] .prog-schedule-badge {
  background: rgba(200, 146, 74, 0.12);
  color: #C8924A;
}

/* ── Collapse gap between schedule and fee sections ── */
[data-programme="group"] .prog-curriculum-section {
  padding-bottom: 0;
}

[data-programme="group"] .prog-fee-section {
  padding-top: var(--space-lg);
}

/* ── CTA band ── */
[data-programme="group"] .cta-band--primary {
  background: #5A7A88;
}

[data-programme="group"] .cta-band--primary .btn-primary {
  background: #C8924A;
  border-color: #C8924A;
  color: #1E3D4F;
}

[data-programme="group"] .cta-band--primary .btn-primary:hover {
  background: #A87538;
  border-color: #A87538;
}

/* ═══════════════════════════════════════════════════════════════════
   Commitment Checklist Section
   ═══════════════════════════════════════════════════════════════════ */

.prog-commit-container {
  max-width: 860px;
}

.prog-commit-header {
  margin-bottom: var(--space-xl);
}

.prog-commit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-lg);
}

.prog-commit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md);
  background: rgba(250, 246, 240, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(196, 181, 165, 0.25);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.prog-commit-item:hover {
  border-color: rgba(200, 146, 74, 0.35);
  box-shadow: 0 2px 12px rgba(200, 146, 74, 0.08);
}

.prog-commit-icon {
  flex-shrink: 0;
  color: #C8924A;
  margin-top: 1px;
}

.prog-commit-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-primary);
}

@media (max-width: 640px) {
  .prog-commit-list {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Fee Breakdown Section
   ═══════════════════════════════════════════════════════════════════ */

.prog-fee-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.prog-fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  max-width: 820px;
  margin: 0 auto;
}

.prog-fee-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(196, 181, 165, 0.35);
  border-radius: 14px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.prog-fee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(30, 61, 79, 0.08);
}

.prog-fee-card--featured {
  border-color: #C8924A;
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(200, 146, 74, 0.1);
}

.prog-fee-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #C8924A;
  color: #1E3D4F;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
}

.prog-fee-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.prog-fee-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: var(--space-sm);
}

.prog-fee-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.prog-fee-per {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(30, 61, 79, 0.5);
}

.prog-fee-breakdown {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #5A7A88;
  margin-bottom: var(--space-xs);
}

.prog-fee-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(30, 61, 79, 0.5);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.prog-fee-btn {
  width: 100%;
}

.prog-fee-footnote {
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(30, 61, 79, 0.55);
  line-height: 1.6;
  margin-top: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 540px) {
  .prog-fee-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .prog-fee-price {
    font-size: 28px;
  }
}

/* ── Family Group involves overrides — all bars amber ── */
[data-programme="group"] .mbt-involves-bar {
  background: #C8924A;
}

[data-programme="group"] .mbt-involves-card {
  border-color: rgba(200, 146, 74, 0.2);
}

[data-programme="group"] .mbt-involves-card:hover {
  border-color: rgba(200, 146, 74, 0.4);
  box-shadow: 0 2px 12px rgba(200, 146, 74, 0.08);
}

/* ── Family Group — tighter vertical rhythm ── */
[data-programme="group"] .section {
  padding-top: clamp(36px, 4vw + 16px, 64px);
  padding-bottom: clamp(36px, 4vw + 16px, 64px);
}

[data-programme="group"] .prog-hero {
  padding-bottom: var(--space-3xl);
}

[data-programme="group"] .prog-stats-wrap {
  margin-top: calc(var(--space-xl) * -1);
  margin-bottom: 0;
}

/* ── Family Group image — soft rounded, not circular ── */
[data-programme="group"] .mbt-what-is-img img {
  border-radius: 16px;
}

/* ── Family Group label colour in what-is section ── */
[data-programme="group"] .mbt-what-is .label {
  color: #C8924A;
}

/* ═══════════════════════════════════════════
   INNER PAGE HERO (About, FAQ, Fees, etc.)
   ═══════════════════════════════════════════ */

.inner-hero {
  min-height: 60vh;
  background: linear-gradient(160deg, #0f2027 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  padding: calc(var(--nav-height) + var(--space-4xl)) var(--px) var(--space-4xl);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(200, 146, 74, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(42, 82, 105, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.inner-hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.inner-hero-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 0.65rem + 0.4vw, 0.875rem);
  color: var(--color-cream);
  opacity: 0.6;
  margin-bottom: var(--space-lg);
}

.inner-hero-headline {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.15;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
}

.inner-hero-headline em,
.inner-hero-headline .italic-accent,
.pro-hero .heading-hero .italic-accent,
.cta-band--primary .italic-accent {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-amber-light);
}

.inner-hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(250, 246, 240, 0.65);
  margin: 0 auto;
  line-height: 1.8;
  max-width: 560px;
}

.inner-hero-accent {
  width: 60px;
  height: 2px;
  background: var(--color-amber);
  margin: var(--space-xl) auto 0;
  border-radius: 1px;
}

@media (max-width: 768px) {
  .inner-hero { min-height: 50vh; }
  .inner-hero-headline { font-size: var(--text-3xl); }
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */

.mission-section { padding: var(--space-3xl) 0; }

.mission-quote {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  text-align: center;
}

.mission-quote-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-amber);
  opacity: 0.2;
  margin-bottom: calc(-1 * var(--space-xl));
  user-select: none;
}

.mission-quote blockquote {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 600;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.5;
  margin: 0;
}

.mission-quote cite {
  display: inline-block;
  margin-top: var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-top: var(--space-md);
}

.mission-quote cite::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--color-amber);
}

/* About Stats */
.about-stats {
  background: var(--color-primary);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.about-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 120%, rgba(200, 146, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-stat {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
}

.about-stat + .about-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.about-stat-label {
  font-size: var(--text-xs);
  color: rgba(250, 246, 240, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Philosophy Blocks */
.philosophy-section { padding: var(--space-3xl) 0; }

.philosophy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-5xl);
}

.philosophy-block:last-child { margin-bottom: 0; }
.philosophy-block--reverse { direction: rtl; }
.philosophy-block--reverse > * { direction: ltr; }

.philosophy-text__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-md);
}

.philosophy-text h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.philosophy-text p {
  color: var(--color-text);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
  font-size: var(--text-base);
}

.philosophy-text p:last-child { margin-bottom: 0; }

.philosophy-visual {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06), 0 24px 48px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.philosophy-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-amber));
}

.philosophy-visual h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.therapy-list { list-style: none; padding: 0; margin: 0; }

.therapy-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: color 0.2s;
}

.therapy-list li:last-child { border-bottom: none; }
.therapy-list li:hover { color: var(--color-primary); }

.therapy-list__check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(30, 61, 79, 0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 0.65rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.support-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-sand-light);
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.support-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}
.support-card__label { font-size: var(--text-xs); font-weight: 500; color: var(--color-text); }

/* Credentials */
.credentials-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--color-sand-light) 0%, var(--color-cream) 100%);
}

.credentials-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.credentials-header__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-md);
}

.credentials-header p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--color-text);
  line-height: 1.7;
}

.credential-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.credential-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.credential-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-amber));
  opacity: 0;
  transition: opacity 0.3s;
}

.credential-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.08);
}

.credential-card:hover::after { opacity: 1; }

.credential-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(30, 61, 79, 0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.credential-card h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.credential-card p {
  color: var(--color-text);
  line-height: 1.75;
  font-size: var(--text-sm);
  margin: 0;
}

/* Specialisms */
.specialisms-section { padding: var(--space-3xl) 0; }

.specialisms-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.specialisms-header__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-md);
}

.specialisms-header p {
  max-width: 480px;
  margin: 0 auto;
  color: var(--color-text);
}

.specialisms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.specialisms-grid .specialism-tag {
  background: var(--color-white);
  border: 1px solid rgba(196, 181, 165, 0.38);
  border-radius: var(--radius-pill);
  padding: var(--space-sm) var(--space-xl);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: all 0.25s;
  cursor: default;
}

.specialisms-grid .specialism-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(30, 61, 79, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 61, 79, 0.08);
}

/* Team Preview */
.team-preview-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--color-sand-light) 0%, var(--color-cream) 100%);
}

.team-preview { text-align: center; max-width: 700px; margin: 0 auto; }

.team-preview__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-md);
}

.team-preview__intro {
  max-width: 560px;
  margin: 0 auto var(--space-3xl);
  color: var(--color-text);
  line-height: 1.8;
}

.team-avatars { display: flex; justify-content: center; margin-bottom: var(--space-3xl); }

.team-avatar {
  width: 56px; height: 56px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 3px solid var(--color-white);
  margin-left: -8px;
  position: relative;
  transition: transform 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-avatar:first-child { margin-left: 0; }

.team-avatar:hover {
  transform: scale(1.2) translateY(-4px);
  z-index: 10;
}

.team-avatar:nth-child(3n+2) {
  background: linear-gradient(135deg, var(--color-amber-dark), var(--color-amber));
}

.team-avatar:nth-child(3n) {
  background: linear-gradient(135deg, #0f4c5c, #1a8a7d);
}

.team-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}

.team-preview-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 61, 79, 0.2);
}

.team-preview-btn__arrow { transition: transform 0.3s; }
.team-preview-btn:hover .team-preview-btn__arrow { transform: translateX(4px); }

/* About Responsive */
@media (max-width: 768px) {
  .philosophy-block,
  .philosophy-block--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-2xl);
  }
  .mission-quote blockquote { font-size: var(--text-2xl); }
  .mission-quote-mark { font-size: 4rem; }
  .about-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .about-stat { padding: var(--space-lg) var(--space-sm); }
  .about-stat-number { font-size: var(--text-3xl); }
  .team-avatar { width: 44px; height: 44px; font-size: var(--text-xs); margin-left: -6px; }
  .credential-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .about-stats-grid { grid-template-columns: 1fr; }
  .about-stat + .about-stat::before { display: none; }
}

/* ═══════════════════════════════════════════
   FAQ PAGE
   ═══════════════════════════════════════════ */

.faq-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding: var(--space-xl) var(--px);
  background: var(--color-sand);
  border-bottom: 1px solid rgba(196, 181, 165, 0.38);
}

.faq-nav-pill {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(196, 181, 165, 0.38);
  background: var(--color-white);
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.25s;
}

.faq-nav-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(30, 61, 79, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(30, 61, 79, 0.08);
}

.faq-section-header { margin-bottom: var(--space-xl); }

.faq-section-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-sm);
}

.faq-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.faq-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.faq-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(250, 246, 240, 0.6);
  font-size: var(--text-sm);
}

.faq-contact-item a {
  color: rgba(250, 246, 240, 0.6);
  transition: color 0.2s;
}

.faq-contact-item a:hover { color: var(--color-cream); }

.faq-contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--color-amber);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.faq-contact-actions {
  background: rgba(250, 246, 240, 0.06);
  border: 1px solid rgba(250, 246, 240, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.faq-contact-actions-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.faq-contact-actions-sub {
  font-size: var(--text-sm);
  color: rgba(250, 246, 240, 0.5);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .faq-nav { padding: var(--space-lg) var(--px); gap: var(--space-xs); }
  .faq-nav-pill { font-size: var(--text-xs); padding: 6px var(--space-md); }
}

/* ═══════════════════════════════════════════
   FOR PROFESSIONALS PAGE
   ═══════════════════════════════════════════ */

/* Services grid — 3-column */
.pro-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pro-services-grid .card {
  border: 1.5px solid rgba(196, 181, 165, 0.35);
  box-shadow: 0 4px 20px rgba(30, 61, 79, 0.06);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.pro-services-grid .card:hover {
  box-shadow: 0 8px 32px rgba(30, 61, 79, 0.1);
  border-color: var(--color-amber);
  transform: translateY(-3px);
}

.pro-services-grid .card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .pro-services-grid {
    grid-template-columns: 1fr;
  }
}

/* Card header with icon + badge */
.pro-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.pro-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(200, 146, 74, 0.12);
  color: var(--color-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(200, 146, 74, 0.12);
}

.pro-card-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-amber-dark);
  background: rgba(200, 146, 74, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.pro-card-badge--cpd {
  color: var(--color-primary);
  background: rgba(30, 61, 79, 0.08);
}

.pro-card-badge--assess {
  color: var(--color-mid);
  background: rgba(90, 122, 136, 0.1);
}

/* Referral header */
.pro-referral-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto var(--space-2xl);
}

.pro-referral-header .text-lead {
  margin-top: var(--space-sm);
}

/* Steps row */
.pro-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pro-step {
  flex: 1;
  text-align: center;
  max-width: 280px;
}

.pro-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: 0 4px 16px rgba(30, 61, 79, 0.15);
}

.pro-step-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.pro-step-desc {
  font-size: var(--text-sm);
  color: var(--color-text);
  opacity: 0.65;
  line-height: 1.7;
}

.pro-step-connector {
  display: flex;
  align-items: center;
  padding-top: 22px;
  flex-shrink: 0;
}

.pro-referral-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

@media (max-width: 768px) {
  .pro-steps {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  .pro-step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
  .pro-step {
    max-width: 100%;
  }
}

/* Footer professional pill CTA */
.footer-pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-amber);
  border: 1px solid rgba(200, 146, 74, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-top: var(--space-md);
  transition: border-color 0.3s, background 0.3s;
}

.footer-pro-pill:hover {
  border-color: var(--color-amber);
  background: rgba(200, 146, 74, 0.08);
}

/* Professional page hero — centered variant */
.pro-hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl) + var(--space-lg));
  padding-bottom: var(--space-4xl);
}

/* Fees section — contextual rows */
.pro-fees-header,
.pro-faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.pro-fees-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.pro-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-cream);
  border: 1.5px solid rgba(196, 181, 165, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(30, 61, 79, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pro-fee-row:hover {
  border-color: rgba(200, 146, 74, 0.3);
  box-shadow: 0 4px 16px rgba(30, 61, 79, 0.07);
}

.pro-fee-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.pro-fee-sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.pro-fee-price {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(30, 61, 79, 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.pro-fees-pills {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.pro-fees-pill {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-mid);
  background: var(--color-cream);
  border: 1px solid rgba(196, 181, 165, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* Fees + FAQs two-column layout */
.pro-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.pro-col-faqs .faq-item {
  border-color: rgba(196, 181, 165, 0.3);
}

@media (max-width: 900px) {
  .pro-two-col {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Dark CTA bar */
.pro-cta-wrap {
  background: var(--color-primary);
}

.pro-cta-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-2xl) var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.pro-cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: var(--space-2xs);
}

.pro-cta-sub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-cream);
  opacity: 0.5;
}

.pro-cta-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pro-cta-bar {
    flex-direction: column;
    text-align: center;
  }
  .pro-cta-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  .pro-fee-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  .pro-fee-price {
    margin-left: 0;
  }
}


/* ══════════════════════════════════════════════════
   MBT "How it works" — scoped section (mbt-hiw-)
   ══════════════════════════════════════════════════ */

.mbt-hiw {
  padding: 96px 40px;
  background: var(--color-cream);
  border-top: 1px solid rgba(196,181,165,0.35);
  position: relative;
  overflow: hidden;
}
.mbt-hiw::before {
  content: '';
  position: absolute;
  right: -180px;
  top: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(196,181,165,0.18);
  pointer-events: none;
}
.mbt-hiw::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(196,181,165,0.12);
  pointer-events: none;
}

.mbt-hiw-container {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

/* ── Section header ── */
.mbt-hiw-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}

.mbt-hiw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-amber-dark);
  background: rgba(200,146,74,0.18);
  border-radius: 999px;
  padding: 5px 14px 5px 10px;
  margin-bottom: 14px;
}
.mbt-hiw-kicker svg {
  width: 12px; height: 12px;
  stroke: var(--color-amber-dark); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.mbt-hiw-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.18;
}
.mbt-hiw-title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}

.mbt-hiw-duration {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: rgba(250,246,240,0.8);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  margin-bottom: 6px;
}
.mbt-hiw-duration svg {
  width: 14px; height: 14px;
  stroke: var(--color-amber-light); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.mbt-hiw-duration strong {
  color: var(--color-cream);
  font-weight: 600;
}

/* ── Two-column grid ── */
.mbt-hiw-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* ── Steps (left column) ── */
.mbt-hiw-steps { display: flex; flex-direction: column; gap: 10px; }

.mbt-hiw-step {
  display: grid;
  grid-template-columns: 68px 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(196,181,165,0.28);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mbt-hiw-step:hover {
  border-color: rgba(196,181,165,0.55);
  box-shadow: 0 4px 24px rgba(30,61,79,0.06);
}

.mbt-hiw-step--pivot {
  background: rgba(30,61,79,0.82);
  border-color: rgba(30,61,79,0.65);
}
.mbt-hiw-step--pivot:hover { border-color: var(--color-primary-light); }

.mbt-hiw-step-num-col {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand);
  border-right: 1.5px solid rgba(196,181,165,0.28);
}
.mbt-hiw-step--pivot .mbt-hiw-step-num-col {
  background: rgba(255,255,255,0.06);
  border-right-color: rgba(255,255,255,0.08);
}

.mbt-hiw-step-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.3;
}
.mbt-hiw-step--pivot .mbt-hiw-step-num {
  color: var(--color-amber-light);
  opacity: 1;
}

.mbt-hiw-step-body { padding: 20px 22px 20px 20px; }

.mbt-hiw-step-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.mbt-hiw-step-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}
.mbt-hiw-step--pivot .mbt-hiw-step-title {
  color: var(--color-cream);
  font-weight: 500;
}

/* Pills */
.mbt-hiw-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1;
}
.mbt-hiw-pill--required {
  background: rgba(200,146,74,0.15);
  color: var(--color-amber-dark);
}
.mbt-hiw-step--pivot .mbt-hiw-pill--required {
  background: rgba(200,146,74,0.22);
  color: var(--color-amber-light);
}
.mbt-hiw-pill--solo {
  background: rgba(30,61,79,0.07);
  color: var(--color-primary);
}
.mbt-hiw-pill--group {
  background: rgba(200,146,74,0.10);
  color: var(--color-amber-dark);
}
.mbt-hiw-step--pivot .mbt-hiw-pill--solo {
  background: rgba(255,255,255,0.10);
  color: rgba(250,246,240,0.72);
}
.mbt-hiw-step--pivot .mbt-hiw-pill--group {
  background: rgba(200,146,74,0.2);
  color: var(--color-amber-light);
}

.mbt-hiw-step-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.mbt-hiw-step--pivot .mbt-hiw-step-text {
  color: rgba(250,246,240,0.60);
}

/* ── Sidebar (right column) ── */
.mbt-hiw-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 28px;
}

/* Pricing card */
.mbt-hiw-pricing {
  background: var(--color-primary);
  border-radius: 20px;
  padding: 28px 26px;
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}
.mbt-hiw-pricing::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.mbt-hiw-pricing::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

.mbt-hiw-pricing-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-amber-light);
  margin-bottom: 18px;
}

.mbt-hiw-pricing-phase {
  margin-bottom: 6px;
}
.mbt-hiw-pricing-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,246,240,0.45);
  border: 1px solid rgba(250,246,240,0.15);
  border-radius: 999px;
  padding: 2px 8px;
}
.mbt-hiw-pricing-tag--pivot {
  color: var(--color-amber-light);
  border-color: rgba(200,146,74,0.35);
}

.mbt-hiw-pricing-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mbt-hiw-pricing-item:first-of-type { padding-top: 0; }
.mbt-hiw-pricing-item:last-of-type  { border-bottom: none; padding-bottom: 0; }

.mbt-hiw-pricing-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}
.mbt-hiw-pricing-name {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-cream);
  line-height: 1.3;
}
.mbt-hiw-pricing-amount {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-cream);
  white-space: nowrap;
  flex-shrink: 0;
}
.mbt-hiw-pricing-amount span {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.5;
}
.mbt-hiw-pricing-detail {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(250,246,240,0.4);
  line-height: 1.5;
}
.mbt-hiw-pricing-footnote {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(250,246,240,0.36);
  line-height: 1.65;
  margin-top: 16px;
  font-style: italic;
}

/* Notice card */
.mbt-hiw-notice {
  background: var(--color-sand);
  border-radius: 16px;
  padding: 20px 22px;
  border: 1.5px solid rgba(196,181,165,0.45);
}
.mbt-hiw-notice-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.mbt-hiw-notice-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(30,61,79,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mbt-hiw-notice-icon svg {
  width: 13px; height: 13px;
  stroke: var(--color-primary); fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.mbt-hiw-notice-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}
.mbt-hiw-notice p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.mbt-hiw-notice a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(30,61,79,0.3);
}
.mbt-hiw-notice a:hover { border-color: var(--color-primary); }

/* CTA button */
.mbt-hiw-cta {
  display: block;
  width: 100%;
  padding: 15px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  background: var(--color-amber);
  color: var(--color-white);
  transition: background 0.22s, transform 0.15s;
}
.mbt-hiw-cta:hover {
  background: var(--color-amber-dark);
  transform: translateY(-1px);
}

/* ── MBT HIW Responsive ── */
@media (max-width: 780px) {
  .mbt-hiw { padding: 64px 20px; }
  .mbt-hiw-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mbt-hiw-grid { grid-template-columns: 1fr; }
  .mbt-hiw-sidebar { position: static; }
  .mbt-hiw-step { grid-template-columns: 56px 1fr; }
}
