/* =========================================================
   DR. SOFIAT OLAOSEBIKAN — DESIGN SYSTEM & STYLES
   Brand color extracted from logo: #5E2A41 (burgundy plum)
   ========================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  /* Brand palette — derived from logo #5E2A41 */
  --color-primary: #5E2A41;
  --color-primary-light: #7A3D58;
  --color-primary-dark: #3D1A2B;
  --color-primary-muted: #8B6377;
  --color-primary-faint: #F2ECF0;

  /* Warm accent — gold that complements the burgundy */
  --color-accent: #7D5C1E;
  --color-accent-light: #D4B665;
  --color-accent-dark: #7A6220;

  /* Neutrals — warm undertone */
  --color-bg: #FDF8F5;
  --color-bg-alt: #F5EDE7;
  --color-bg-warm: #EEDFD5;
  --color-bg-dark: #1A1215;
  --color-surface: #FFFFFF;
  --color-border: #D0C6BF;
  --color-border-light: #E5DDD8;

  /* Text */
  --color-text: #1A0F14;
  --color-text-secondary: #3A2530;
  --color-text-muted: #5A4850;
  --color-text-on-dark: #F5F0EB;
  --color-text-on-primary: #FFFFFF;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --gutter: 16px;
  --nav-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(42, 26, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(42, 26, 31, 0.08);
  --shadow-lg: 0 8px 32px rgba(42, 26, 31, 0.1);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* Dark mode tokens */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #FDF8F5;
    --color-bg-alt: #F5EDE7;
    --color-bg-warm: #EEDFD5;
    --color-bg-dark: #1A1215;
    --color-surface: #FFFFFF;
    --color-border: #D0C6BF;
    --color-border-light: #E5DDD8;
    --color-text: #1A0F14;
    --color-text-secondary: #3A2530;
    --color-text-muted: #5A4850;
    --color-text-on-dark: #F5F0EB;
    --color-text-on-primary: #FFFFFF;
    --color-primary-faint: #F2ECF0;
    --color-accent: #7D5C1E;
    --color-accent-light: #D4B665;
    --nav-bg: rgba(253, 248, 245, 0.95);
    --shadow-sm: 0 1px 3px rgba(42, 26, 31, 0.06);
    --shadow-md: 0 4px 16px rgba(42, 26, 31, 0.08);
    --shadow-lg: 0 8px 32px rgba(42, 26, 31, 0.1);
  }
}

:root[data-theme="dark"] {
  --color-bg: #FDF8F5;
  --color-bg-alt: #F5EDE7;
  --color-bg-warm: #EEDFD5;
  --color-bg-dark: #1A1215;
  --color-surface: #FFFFFF;
  --color-border: #D0C6BF;
  --color-border-light: #E5DDD8;
  --color-text: #1A0F14;
  --color-text-secondary: #3A2530;
  --color-text-muted: #5A4850;
  --color-text-on-dark: #F5F0EB;
  --color-text-on-primary: #FFFFFF;
  --color-primary-faint: #F2ECF0;
  --color-accent: #7D5C1E;
  --color-accent-light: #D4B665;
  --nav-bg: rgba(253, 248, 245, 0.95);
  --shadow-sm: 0 1px 3px rgba(42, 26, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(42, 26, 31, 0.08);
  --shadow-lg: 0 8px 32px rgba(42, 26, 31, 0.1);
}


/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.t-display {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.t-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.t-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
}

.t-h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 500;
  line-height: 1.3;
}

.t-h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.t-body-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.t-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.t-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}


/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

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

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

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

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

.section--bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section--bg-dark h1,
.section--bg-dark h2,
.section--bg-dark h3,
.section--bg-dark h4,
.section--bg-dark .t-h1,
.section--bg-dark .t-h2,
.section--bg-dark .t-h3 {
  color: var(--color-text-on-dark);
}

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

.section--bg-primary h1,
.section--bg-primary h2,
.section--bg-primary h3,
.section--bg-primary .t-label {
  color: var(--color-text-on-primary);
}

.section--bg-dark .t-label {
  color: var(--color-accent-light);
}

.section--bg-dark p,
.section--bg-dark .text-secondary {
  color: rgba(255,255,255,0.8);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}


/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--nav-bg, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.nav--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav__logo img {
  height: 48px;
  width: auto;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav__logo img {
    filter: none;
  }
}
:root[data-theme="dark"] .nav__logo img {
  filter: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

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

.nav__cta {
  margin-left: var(--space-md);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.nav__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--color-bg);
  z-index: 999;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--gutter) var(--space-3xl);
  flex-direction: column;
  gap: var(--space-lg);
  transition: right var(--duration-slow) var(--ease-in-out);
}

.nav__mobile--open {
  right: 0;
}

.nav__mobile-link {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-text);
  display: block;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__mobile-link:hover {
  color: var(--color-primary);
}

.nav__mobile-cta {
  margin-top: var(--space-xl);
}

.nav__mobile-social {
  margin-top: auto;
  display: flex;
  gap: var(--space-lg);
}


/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  border: 2px solid var(--color-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-text-on-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Wave effect for nav CTA ("Book Dr Sofiat")
   overflow must be visible, otherwise .btn--primary clips the rings */
.nav__cta.btn--primary {
  overflow: visible;
  isolation: isolate;
  border-radius: 999px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  animation: navCtaPulse 2.4s var(--ease-in-out) infinite;
}

.nav__cta.btn--primary::before,
.nav__cta.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--color-primary);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  animation: waveRipple 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.nav__cta.btn--primary::after {
  animation-delay: 1.2s;
}

/* Pause the waves while hovered/focused so the button feels steady to click */
.nav__cta.btn--primary:hover,
.nav__cta.btn--primary:focus-visible,
.nav__cta.btn--primary:hover::before,
.nav__cta.btn--primary:hover::after {
  animation-play-state: paused;
}

@keyframes waveRipple {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.22, 1.75);
  }
}

@keyframes navCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 42, 65, 0.35); }
  50% { box-shadow: 0 0 18px 2px rgba(94, 42, 65, 0.25); }
}

/* Same wave on the CTA inside the mobile menu (only while the menu is open,
   otherwise the rings leak out of the off-screen panel) */
.nav__mobile-cta.btn--primary {
  overflow: visible;
  isolation: isolate;
}
.nav__mobile--open .nav__mobile-cta.btn--primary::before,
.nav__mobile--open .nav__mobile-cta.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--color-primary);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  animation: waveRipple 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.nav__mobile--open .nav__mobile-cta.btn--primary::after { animation-delay: 1.2s; }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 2px solid transparent;
  padding: 0.875rem 1rem;
}

.btn--ghost:hover {
  color: var(--color-primary);
}

.btn--white {
  background: white;
  color: var(--color-primary);
  border: 2px solid white;
}

.btn--white:hover {
  background: transparent;
  color: white;
  transform: translateY(-1px);
}

.btn--clarity {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.btn--clarity:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn--clarity-light {
  background: transparent;
  color: var(--color-accent-light);
  border: 2px solid var(--color-accent-light);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.btn--clarity-light:hover {
  background: var(--color-accent-light);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.cta-section__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.cta-section__divider {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn--lg {
  font-size: 0.9375rem;
  padding: 1.1rem 2.5rem;
}

.btn--sm {
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
}

.btn .arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(3px);
}


/* =========================================================
   HERO — HOMEPAGE
   ========================================================= */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--color-bg-warm);
  overflow: hidden;
}

.hero__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: var(--space-3xl) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__label {
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.hero__name {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.hero__intro {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero__image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero__image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary-muted);
  border-radius: var(--radius-md);
  opacity: 0.3;
  z-index: -1;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--color-primary);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0% { top: -50%; }
  100% { top: 100%; }
}


/* =========================================================
   SPEAKER HERO — SLIDESHOW
   ========================================================= */
.speaker-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.speaker-hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.speaker-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.speaker-hero__slide--active {
  opacity: 1;
}

.speaker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,15,20,0.82) 0%, rgba(94,42,65,0.7) 100%);
  z-index: 1;
}

.speaker-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) 0;
}


/* =========================================================
   PAGE HERO — INNER PAGES
   ========================================================= */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
}

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

.page-hero__title {
  margin-bottom: var(--space-lg);
}

.page-hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: var(--color-text-secondary);
  max-width: 680px;
}


/* =========================================================
   SPEAKER HERO — SLIDESHOW
   ========================================================= */
.speaker-hero {
  position: relative;
  min-height: 85vh;
  min-height: 85dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.speaker-hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.speaker-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.speaker-hero__slide--active {
  opacity: 1;
}

.speaker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 26, 43, 0.88) 0%,
    rgba(94, 42, 65, 0.75) 50%,
    rgba(26, 18, 21, 0.85) 100%
  );
  z-index: 1;
}

.speaker-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) 0;
}


/* =========================================================
   ROLES — HOMEPAGE
   ========================================================= */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.role-card {
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

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

.role-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-faint);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
  font-size: 1.25rem;
}

.role-card__title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.role-card__text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.role-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}


/* =========================================================
   TRUSTED BY
   ========================================================= */
.trusted {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  justify-content: center;
}

.trusted img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity var(--duration-base) var(--ease-out),
              filter var(--duration-base) var(--ease-out);
}

.trusted img:hover {
  filter: grayscale(0%);
  opacity: 1;
}


/* =========================================================
   STATS
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.section--bg-primary .stat__number,
.section--bg-dark .stat__number {
  color: var(--color-accent-light);
}

.stat__label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.section--bg-primary .stat__label,
.section--bg-dark .stat__label {
  color: rgba(255,255,255,0.75);
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card {
  padding: var(--space-2xl);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-primary-muted);
  opacity: 0.3;
  position: absolute;
  top: var(--space-md);
  left: var(--space-xl);
  line-height: 1;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.testimonial-card__author {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Testimonial slider */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-in-out);
}

.testimonials-track .testimonial-card {
  min-width: 100%;
  flex-shrink: 0;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.testimonials-dot--active {
  background: var(--color-primary);
  transform: scale(1.3);
}


/* =========================================================
   SIGNATURE TALKS
   ========================================================= */
.talk-card {
  padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
  border-left: 3px solid var(--color-primary);
  background: var(--color-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.talk-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.talk-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.talk-card__desc {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.talk-card__audience {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.talk-card__audience strong {
  color: var(--color-primary);
  font-weight: 600;
}


/* =========================================================
   PHOTO GALLERY
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  position: relative;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.05);
}


/* =========================================================
   STORY / ABOUT TIMELINE
   ========================================================= */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.story-section--reverse {
  direction: rtl;
}

.story-section--reverse > * {
  direction: ltr;
}

.story__content h3 {
  margin-bottom: var(--space-lg);
}

.story__content p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.story__content p:last-child {
  margin-bottom: 0;
}

.story__image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.story__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* =========================================================
   BLOCKQUOTE
   ========================================================= */
.pullquote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-primary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
}

.pullquote::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto var(--space-xl);
}


/* =========================================================
   BOOKING FORM
   ========================================================= */
.form {
  max-width: 700px;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form__hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid #A0928C;
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-faint);
  outline: none;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E2A41' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form__radio-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.form__radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 1.5px solid #A0928C;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.form__radio-label:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-faint);
  color: var(--color-primary);
}

.form__radio-label input {
  accent-color: var(--color-primary);
}


/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

.accordion__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-base) var(--ease-out);
}

.accordion__item--open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-base) var(--ease-out);
}

.accordion__content {
  padding-bottom: var(--space-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.accordion__content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin: var(--space-md) 0;
}

.accordion__content ol {
  list-style: decimal;
  padding-left: var(--space-xl);
  margin: var(--space-md) 0;
}

.accordion__content li {
  margin-bottom: var(--space-sm);
}


/* =========================================================
   VIDEO CARDS
   ========================================================= */
.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

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

.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-card__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card__info {
  padding: var(--space-lg);
}

.video-card__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.video-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}


/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) var(--gutter);
}

.cta-section__title {
  margin-bottom: var(--space-lg);
}

.cta-section__text {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.cta-section .btn {
  margin: 0 var(--space-sm);
}


/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer__brand p {
  color: rgba(255,255,255,0.72);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: var(--space-lg);
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-lg);
}

.footer__links a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: white;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  border-color: var(--color-primary-light);
  background: var(--color-primary);
  color: white;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}

.footer__logo {
  height: 40px;
  width: auto;
  filter: brightness(2.5) contrast(0.8);
  opacity: 0.9;
}


/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }


/* =========================================================
   UTILITY CLASSES
   ========================================================= */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }
.mt-auto { margin-top: auto; }
.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;
}

.divider {
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent);
  margin: var(--space-xl) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

.section__header {
  margin-bottom: var(--space-3xl);
}

.section__header--center {
  text-align: center;
}

.section__header--center .divider {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   RESEARCH & TEACHING PAGE COMPONENTS
   ========================================================= */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); list-style: none; margin: 0; padding: 0; }
.chip {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.pubs { list-style: none; margin: 0; padding: 0; }
.pubs__item { padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-border-light); }
.pubs__item:first-child { padding-top: 0; }
.pubs__title { font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 600; color: var(--color-text); margin-bottom: var(--space-xs); }
.pubs__meta { font-size: 0.875rem; color: var(--color-text-muted); }
.pubs__meta em { color: var(--color-text-secondary); }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 2px;
  background: var(--color-primary);
}
.facts strong { color: var(--color-text); font-weight: 600; }

.panel {
  padding: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}
.panel__title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; margin-bottom: var(--space-md); }

/* =========================================================
   NAV CTA — stronger, catchier wave ("Book me to speak")
   Two alternating rings (plum + gold) that grow outward with an
   even stroke, plus a glow pulse and a gentle breathing scale.
   ========================================================= */
.nav__cta.btn--primary {
  margin-right: 0.5rem;                      /* room for the rings at the page edge */
  animation:
    navCtaGlow 2s cubic-bezier(0.22, 1, 0.36, 1) infinite,
    navCtaBreathe 2s ease-in-out infinite;
}
.nav__cta.btn--primary::before,
.nav__cta.btn--primary::after {
  inset: 0;
  border-width: 3px;
  transform: none;
  animation: navWaveStrong 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.nav__cta.btn--primary::before { border-color: var(--color-primary); }
.nav__cta.btn--primary::after {
  border-color: var(--color-accent-light, #D4B665);
  animation-delay: 1s;
}

@keyframes navWaveStrong {
  0%   { inset: 0;            opacity: 0.95; }
  70%  {                      opacity: 0.25; }
  100% { inset: -16px -26px;  opacity: 0; }
}
@keyframes navCtaGlow {
  0%   { box-shadow: 0 0 0 0 rgba(94, 42, 65, 0.55), 0 6px 16px -6px rgba(94, 42, 65, 0.5); }
  100% { box-shadow: 0 0 0 14px rgba(94, 42, 65, 0), 0 6px 16px -6px rgba(94, 42, 65, 0.5); }
}
@keyframes navCtaBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.045); }
}

/* Steady on hover/focus so it is easy to click */
.nav__cta.btn--primary:hover,
.nav__cta.btn--primary:focus-visible { animation-play-state: paused; transform: translateY(-1px); }
.nav__cta.btn--primary:hover::before,
.nav__cta.btn--primary:hover::after { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .nav__cta.btn--primary,
  .nav__cta.btn--primary::before,
  .nav__cta.btn--primary::after { animation: none; }
}
.nav__cta.btn--primary::after { border-color: #C29A3F; }   /* richer gold: visible on blush and ivory */

/* =========================================================
   SOCIAL LINKS (built by main.js from one list)
   ========================================================= */
/* Side rail: fixed on the left edge of wide screens */
.social-rail {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 0.45rem;
  background: rgba(252, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(94, 42, 65, 0.14);
  border-radius: 999px;
  box-shadow: 0 18px 40px -22px rgba(61, 26, 43, 0.55);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.social-rail--hidden { opacity: 0; pointer-events: none; transform: translate(-12px, -50%); }
.social-rail__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent, #B45309);
  padding: 0.2rem 0;
}
.social-rail__line { width: 2px; height: 22px; border-radius: 2px; background: #D97706; }
.social-rail__link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #5E2A41;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.social-rail__link svg { width: 18px; height: 18px; }
.social-rail__link:hover,
.social-rail__link:focus-visible { background: #5E2A41; color: #FCF8F5; transform: scale(1.08); }
@media (min-width: 1360px) { .social-rail { display: flex; } }

/* "Follow my journey" row inside the closing call to action (dark plum band) */
.cta-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.cta-social__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FBBF24;
}
.cta-social__links { display: flex; gap: 0.75rem; }
.cta-social__link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FCF8F5;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.cta-social__link svg { width: 20px; height: 20px; }
.cta-social__link:hover,
.cta-social__link:focus-visible { background: #FBBF24; border-color: #FBBF24; color: #3D1A2B; transform: translateY(-3px); }
@media (max-width: 600px) {
  .cta-social { flex-direction: column; gap: 0.9rem; }
}

/* Side rail on the right edge instead of the left */
.social-rail { left: auto; right: 20px; }
.social-rail--hidden { transform: translate(12px, -50%); }
/* on the right, the rail needs the wider margin of 1440px+ screens to stay clear of the hero photos */
@media (max-width: 1439px) { .social-rail { display: none; } }

/* Note shown after opening the clarity-call booking calendar */
.cal-note {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(640px, calc(100% - 32px));
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  background: #3D1A2B;
  color: #FCF8F5;
  border-radius: 14px;
  border-left: 4px solid #F59E0B;
  box-shadow: 0 24px 48px -16px rgba(28, 17, 24, 0.55);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.3s ease;
}
.cal-note.is-visible { transform: translate(-50%, 0); opacity: 1; }
.cal-note__text { flex: 1; font-size: 0.9rem; line-height: 1.5; margin: 0; }
.cal-note__text strong { color: #FBBF24; }
.cal-note__actions { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.cal-note__reopen {
  font-size: 0.8125rem; font-weight: 700; white-space: nowrap;
  color: #3D1A2B; background: #FBBF24; border-radius: 999px; padding: 0.5rem 0.9rem;
}
.cal-note__close {
  width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: #FCF8F5; font-size: 1.25rem; line-height: 1; cursor: pointer;
}
@media (max-width: 600px) {
  .cal-note { flex-direction: column; align-items: stretch; gap: 0.6rem; bottom: 12px; }
  .cal-note__actions { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .cal-note { transition: none; } }

/* =========================================================
   NAV CTA WAVES — refined ("Book me to speak")
   • two soft filled ripples (amber, then plum) that spread
     evenly around the pill, animated with transform/opacity
     only, so they stay silky on every device
   • they come in a burst, then rest — eye-catching, not busy
   • a golden glint sweeps across the button between bursts
   • steady and lifted on hover/focus; off for reduced motion
   Overrides the earlier wave rules above.
   ========================================================= */
.nav__cta.btn--primary {
  position: relative;
  overflow: visible;
  isolation: isolate;
  border: 0;
  margin-right: 0.75rem;
  background-color: #5E2A41;
  background-image: linear-gradient(110deg,
      transparent 0 40%,
      rgba(255, 214, 140, 0.0) 44%,
      rgba(255, 214, 140, 0.55) 50%,
      rgba(255, 214, 140, 0.0) 56%,
      transparent 60% 100%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: 160% 0;
  box-shadow: 0 8px 20px -10px rgba(94, 42, 65, 0.7);
  animation: navCtaGlint 3.6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav__cta.btn--primary::before,
.nav__cta.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transform: scale(1);
  will-change: transform, opacity;
  animation: navRipple 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.nav__cta.btn--primary::before {
  background: rgba(245, 158, 11, 0.42);
}
.nav__cta.btn--primary::after {
  background: rgba(94, 42, 65, 0.28);
  animation-delay: 0.45s;
}

/* ripple: grows ~14px beyond the pill on every side, then rests */
@keyframes navRipple {
  0%   { opacity: 0;    transform: scale(1, 1); }
  6%   { opacity: 1; }
  45%  { opacity: 0;    transform: scale(1.16, 1.65); }
  100% { opacity: 0;    transform: scale(1.16, 1.65); }
}
/* glint: sweeps once during the quiet part of each cycle */
@keyframes navCtaGlint {
  0%, 52%  { background-position: 160% 0; }
  78%      { background-position: -60% 0; }
  100%     { background-position: -60% 0; }
}

.nav__cta.btn--primary:hover,
.nav__cta.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.35), 0 12px 24px -10px rgba(94, 42, 65, 0.75);
  animation-play-state: paused;
}
.nav__cta.btn--primary:hover::before,
.nav__cta.btn--primary:hover::after,
.nav__cta.btn--primary:focus-visible::before,
.nav__cta.btn--primary:focus-visible::after { animation-play-state: paused; opacity: 0; }

/* the same refined wave on the button inside the open mobile menu */
.nav__mobile--open .nav__mobile-cta.btn--primary::before,
.nav__mobile--open .nav__mobile-cta.btn--primary::after {
  border: 0;
  transform: scale(1);
  will-change: transform, opacity;
  animation: navRipple 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.nav__mobile--open .nav__mobile-cta.btn--primary::before {
  background: rgba(245, 158, 11, 0.42);
}
.nav__mobile--open .nav__mobile-cta.btn--primary::after {
  background: rgba(94, 42, 65, 0.28);
  animation-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
  .nav__cta.btn--primary,
  .nav__cta.btn--primary::before,
  .nav__cta.btn--primary::after,
  .nav__mobile--open .nav__mobile-cta.btn--primary::before,
  .nav__mobile--open .nav__mobile-cta.btn--primary::after { animation: none; }
  .nav__cta.btn--primary { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.45), 0 8px 20px -10px rgba(94, 42, 65, 0.7); }
}

/* Sharp waves: thin crisp rings (not filled), spreading evenly around the pill.
   outline + outline-offset follow the rounded shape and keep the line 1.5px
   wide the whole way out; nothing paints over the button itself. */
.nav__cta.btn--primary::before,
.nav__cta.btn--primary::after,
.nav__mobile--open .nav__mobile-cta.btn--primary::before,
.nav__mobile--open .nav__mobile-cta.btn--primary::after {
  background: none !important;
  border: 0;
  transform: none;
  outline: 1.5px solid #F59E0B;
  outline-offset: 0;
  will-change: outline-offset, opacity;
  animation-name: navRingSharp;
}
.nav__cta.btn--primary::after,
.nav__mobile--open .nav__mobile-cta.btn--primary::after { outline-color: #5E2A41; }
@keyframes navRingSharp {
  0%   { outline-offset: 0;    opacity: 0; }
  5%   {                       opacity: 1; }
  48%  { outline-offset: 14px; opacity: 0; }
  100% { outline-offset: 14px; opacity: 0; }
}

/* Continuous ripples (no pause): each ring takes 1.8s to spread and fade,
   the second starts halfway through, so a new wave is always on its way. */
.nav__cta.btn--primary::before,
.nav__cta.btn--primary::after,
.nav__mobile--open .nav__mobile-cta.btn--primary::before,
.nav__mobile--open .nav__mobile-cta.btn--primary::after {
  animation: navRingFlow 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}
.nav__cta.btn--primary::after,
.nav__mobile--open .nav__mobile-cta.btn--primary::after { animation-delay: 0.9s; }
@keyframes navRingFlow {
  0%   { outline-offset: 0;    opacity: 0; }
  8%   {                       opacity: 1; }
  100% { outline-offset: 15px; opacity: 0; }
}
.nav__cta.btn--primary:hover::before,
.nav__cta.btn--primary:hover::after,
.nav__cta.btn--primary:focus-visible::before,
.nav__cta.btn--primary:focus-visible::after { animation-play-state: paused; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .nav__cta.btn--primary::before,
  .nav__cta.btn--primary::after,
  .nav__mobile--open .nav__mobile-cta.btn--primary::before,
  .nav__mobile--open .nav__mobile-cta.btn--primary::after { animation: none; }
}

/* Desktop nav: the menu sits beside "Book me to speak" instead of the button
   floating alone at the far edge */
@media (min-width: 1081px) {
  .nav__links { margin-left: auto; }
  .nav__cta.nav__cta-desktop { margin-left: clamp(1.75rem, 2.5vw, 2.5rem); }
}

/* Nav bar as wide as the page content (not the full 1400px), so the logo
   sits closer to the menu and both line up with the content edges */
@media (min-width: 1081px) {
  .nav__inner { max-width: calc(1200px + 2 * var(--gutter)); }
  .nav__links { gap: clamp(1.5rem, 2.2vw, 2.25rem); }
}

/* Flat button: no glint gradient (the rippling rings already draw the eye) */
.nav__cta.btn--primary {
  background-image: none;
  animation: none;
}
