/* ============================================================
   DEEPAK CHEMBATH — Personal Website
   Design: Editorial Luxury · Deep Navy · Gold Accent
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg:           #070B18;
  --bg-surface:   #0D1226;
  --bg-card:      #111A30;
  --border:       #1C2840;
  --border-light: #243358;

  --text:         #ECE7DD;
  --text-sec:     #C8D8E8;
  --text-muted:   #8FA8C0;

  --gold:         #C4975A;
  --gold-light:   #DAB478;
  --gold-dim:     rgba(196, 151, 90, 0.10);
  --gold-border:  rgba(196, 151, 90, 0.30);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --banner-h:     36px;
  --nav-h:        72px;
  --section-pad:  clamp(4.5rem, 9vw, 8rem);
  --container:    1180px;
  --gutter:       clamp(1.5rem, 5vw, 4rem);

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); }

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

.section { padding: var(--section-pad) 0; }
.page-section.section { padding: 2rem 0 3rem; }
.section-alt { background-color: var(--bg-surface); }

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 2.5rem;
  background: var(--gold-border);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-sec);
  max-width: 54ch;
  line-height: 1.85;
}

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
[data-reveal].revealed  { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ===== TOP BANNER ===== */
.top-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: var(--banner-h);
  background: var(--gold);
  color: #070B18;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 0 1rem;
}

.top-banner-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(7,11,24,0.35);
  flex-shrink: 0;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: var(--banner-h); left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-bottom 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 15, 32, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 50px;
}
.nav.scrolled .nav-logo { font-size: 1.3rem; }
.nav.scrolled .nav-links { gap: 1.75rem; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-sec);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.nav-active { color: var(--text); }
.nav-links a.nav-active::after { transform: scaleX(1); }

.nav-end {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-linkedin {
  display: flex;
  align-items: center;
  color: var(--text-sec);
  transition: color 0.2s;
}
.nav-linkedin:hover { color: var(--gold); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-sec);
  transition: all 0.3s;
}

/* ===== PAGE SECTIONS (tab model) ===== */
.page-section {
  display: none;
}
.page-section.active {
  display: block;
  animation: fadeIn 0.25s ease forwards;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 12% 18%, rgba(18, 48, 95, 0.38), transparent),
    radial-gradient(ellipse 45% 38% at 88% 82%, rgba(196, 151, 90, 0.07), transparent),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(7, 11, 24, 0.15), transparent),
    var(--bg);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
}

/* Hero three-column layout */
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding-top: calc(var(--banner-h) + var(--nav-h) + 0.75rem);
  padding-bottom: 0.75rem;
}

.hero-video-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.hero-location {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-light);
  flex-shrink: 0;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.hero-pill {
  padding: 0.28rem 0.75rem;
  border: 1px solid var(--border-light);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-sec);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-sec);
  margin-bottom: 0.5rem;
}

.hero-rule {
  width: 2.75rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 0.5rem;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

/* Hero photo */
.hero-photo-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo-frame {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-light);
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,11,24,0.25) 0%, transparent 30%),
    linear-gradient(to top, rgba(7,11,24,0.55) 0%, transparent 40%),
    linear-gradient(to right, rgba(7,11,24,0.2) 0%, transparent 30%);
  z-index: 1;
  pointer-events: none;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 24, 0.18);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

/* Placeholder shown when photo missing */
.hero-photo-frame.no-photo {
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-hint {
  display: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  padding: 1rem;
}

.hero-photo-hint code {
  color: var(--gold);
  font-family: monospace;
}

.hero-photo-frame.no-photo .hero-photo { display: none; }
.hero-photo-frame.no-photo .hero-photo-hint { display: block; }

.hero-subtitle {
  margin-top: 0.4rem;
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-sec);
}

.hero-scroll {
  display: none;
  position: absolute;
  bottom: 2.25rem;
  right: var(--gutter);
  align-items: center;
  gap: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: horizontal-tb;
}

.hero-scroll-line {
  width: 2.25rem;
  height: 1px;
  background: var(--text-muted);
  animation: scrollPulse 2.2s ease-in-out 2.5s infinite;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5.5rem;
  align-items: start;
  margin-bottom: 5rem;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.92;
  color: var(--text-sec);
  margin-bottom: 1.1rem;
}

.about-text p strong {
  color: var(--text);
  font-weight: 400;
}

.about-highlight {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 1.35rem;
  margin: 1.75rem 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0;
  background: var(--gold);
  transition: height 0.45s var(--ease-out);
}

.stat-card:hover { border-color: var(--border-light); }
.stat-card:hover::before { height: 100%; }

.stat-num {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== TIMELINE ===== */
.timeline-wrap {
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.timeline-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0.45rem;
  left: 0.4rem; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, var(--border) 80%, transparent 100%);
}

.tl-item {
  position: relative;
  padding-right: 1.5rem;
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg);
  outline: 1px solid var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.tl-item:hover .tl-dot {
  transform: scale(1.5);
  box-shadow: 0 0 12px var(--gold-border);
}

.tl-company {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.tl-period {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.tl-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== GEOGRAPHY ===== */
.geo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: start;
}

.geo-text p {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.92;
  margin-bottom: 1.1rem;
}

.geo-text p strong {
  color: var(--text);
  font-weight: 400;
}

.lang-box {
  margin-top: 2.25rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
}

.lang-box .lang-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.lang-box .lang-list {
  font-size: 0.88rem;
  color: var(--text-sec);
}

.geo-markets {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.geo-group-label {
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.geo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.geo-tag {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-sec);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}

.geo-tag:hover {
  border-color: var(--gold-border);
  color: var(--text);
}

.geo-tag.featured {
  border-color: var(--gold-border);
  color: var(--gold-light);
  background: var(--gold-dim);
}

/* ===== EXPERTISE ===== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-out);
}

.exp-card:hover { transform: translateY(-4px); border-color: var(--border-light); }
.exp-card:hover::before { height: 100%; }

.exp-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color 0.3s;
  user-select: none;
}

.exp-card:hover .exp-num { color: var(--border-light); }

.exp-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.exp-desc {
  font-size: 0.83rem;
  color: var(--text-sec);
  line-height: 1.78;
}

/* ===== THERAPY AREAS ===== */
.therapy-intro {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-sec);
  max-width: 62ch;
  line-height: 1.6;
  margin-bottom: 2.75rem;
}

.therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.th-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.75rem 1.6rem;
  transition: border-color 0.2s, background 0.2s;
  cursor: default;
}

.th-card:hover {
  border-color: var(--gold-border);
  background: rgba(17, 26, 48, 0.8);
}

.th-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.th-detail {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== HIGHLIGHTS ===== */
.highlights-list {
  margin-top: 2.75rem;
}

.hl-item {
  display: grid;
  grid-template-columns: 1.2rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.25s var(--ease-out), border-left-color 0.25s;
  border-left: 3px solid transparent;
}

.hl-item:first-child { border-top: 1px solid var(--border); }

.hl-item:hover {
  padding-left: 1rem;
  border-left-color: var(--gold);
}

.hl-dash {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  user-select: none;
}

.hl-text {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.65;
}

.hl-text strong {
  color: var(--text);
  font-weight: 400;
}

.hl-tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  align-self: center;
}

/* ===== BOOKS ===== */
.books-intro {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.88;
  max-width: 62ch;
  margin-bottom: 0.85rem;
}

.books-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3rem;
  transition: gap 0.25s;
}

.books-link:hover { gap: 0.85rem; }

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.book-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.book-card:hover { border-color: var(--border-light); }
.book-card:hover::after { transform: scaleX(1); }

.book-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.book-author {
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.book-insight {
  font-size: 0.82rem;
  color: var(--text-sec);
  line-height: 1.72;
  border-left: 1px solid var(--border);
  padding-left: 0.85rem;
}

/* ===== MENTORSHIP ===== */
.mentorship-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.mentorship-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
}

.mentorship-stats { display: flex; flex-direction: column; gap: 0; }

.m-stat {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.m-stat:first-child { padding-top: 0; }
.m-stat:last-child { border-bottom: none; padding-bottom: 0; }

.m-stat-val {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.m-stat-label {
  font-size: 0.8rem;
  color: var(--text-sec);
  line-height: 1.55;
}

/* ===== SPEAKING ===== */
.speaking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.speaking-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.speaking-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.speaking-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.speaking-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.speaking-desc {
  font-size: 0.92rem;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.speaking-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.speaking-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

@media (max-width: 800px) {
  .speaking-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ===== CONNECT ===== */
.connect-inner {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.connect-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.connect-text {
  font-size: 0.92rem;
  color: var(--text-sec);
  line-height: 1.88;
  margin-bottom: 1rem;
}

.connect-scope {
  font-size: 0.85rem;
  color: var(--gold);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  opacity: 0.8;
}

.connect-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border: 1px solid var(--border-light);
  color: var(--text-sec);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-muted);
}

.footer-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer-built {
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.45;
  letter-spacing: 0.04em;
  text-align: right;
}

/* ===== VIDEO SNIPPET ===== */
.video-snippet {
  position: relative;
  width: 190px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.video-snippet:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.65);
}
.vs-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.vs-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vs-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  transition: background 0.2s;
}
.video-snippet:hover .vs-play-overlay { background: rgba(0,0,0,0.18); }
.vs-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  flex-shrink: 0;
}
.vs-play-btn svg { margin-left: 2px; }
.vs-footer {
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.vs-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-sec);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s;
}
.vs-dismiss:hover { color: var(--text); }

/* Video modal */
.video-modal[hidden] { display: none; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.vm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
}
.vm-inner {
  position: relative;
  z-index: 1;
  width: min(90vw, 860px);
  aspect-ratio: 16 / 9;
}
.vm-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
}
.vm-close {
  position: absolute;
  top: -38px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.vm-close:hover { color: #fff; }


/* ===== CHAT WIDGETS ===== */

/* ── Widget root ─────────────────────────────────────────── */
.widget-root {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* ── Launcher buttons ───────────────────────────────────── */
.widget-launchers {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.widget-launch-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 100px;
  padding: 13px 20px 13px 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.widget-launch-primary {
  background: var(--gold);
  color: var(--bg);
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(196,151,90,0.3);
}
.widget-launch-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(196,151,90,0.35);
}
.widget-launch-primary:active { transform: translateY(0); }

.widget-launch-secondary {
  background: var(--bg-card);
  color: var(--text-sec);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.widget-launch-secondary:hover {
  color: var(--text);
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.widget-launch-secondary:active { transform: translateY(0); }

/* ── Chat panel (shared) ─────────────────────────────────── */
.chat-panel[hidden] { display: none; }
.chat-panel {
  width: 360px;
  max-width: calc(100vw - 32px);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideIn 0.28s var(--ease-out) both;
}

@keyframes chatSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Header ─────────────────────────────────────────────── */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-header-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.chat-header-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.chat-close-btn:hover {
  color: var(--text);
  background: var(--border);
}

/* ── Messages area ──────────────────────────────────────── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 380px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ── Message bubbles ────────────────────────────────────── */
.chat-bubble {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.65;
  padding: 11px 14px;
  border-radius: 12px;
  max-width: 88%;
  word-break: break-word;
  animation: bubbleIn 0.2s var(--ease-out) both;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-bubble.assistant {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-sec);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: var(--gold);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

/* ── Typing indicator ───────────────────────────────────── */
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
}

.chat-typing-indicator span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingDot 1.2s ease-in-out infinite;
}
.chat-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* ── Input row ──────────────────────────────────────────── */
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.83rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}
.chat-input::placeholder { color: var(--text-muted); }
.chat-input:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 2px var(--gold-dim);
}
.chat-input:disabled { opacity: 0.5; }

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--gold);
  border: none;
  color: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
}
.chat-send-btn:hover:not(:disabled) {
  background: var(--gold-light);
  transform: scale(1.05);
}
.chat-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }


/* ===== KEYFRAMES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; width: 2.25rem; }
  50%       { opacity: 0.35; width: 1rem; }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "photo video"
      "text  text";
    align-items: center;
    gap: 1rem;
  }
  .hero-photo-wrap { grid-area: photo; justify-content: flex-start; }
  .hero-text { grid-area: text; }
  .hero-video-col { grid-area: video; justify-content: flex-start; align-items: center; }
  .hero-photo-frame { width: 100px; height: 100px; }
  .hero-photo-frame::before, .hero-photo-frame::after { display: none; }
  .video-snippet { width: 160px; }

  .about-grid,
  .geo-grid { grid-template-columns: 1fr; gap: 3rem; }

  .expertise-grid,
  .therapy-grid,
  .books-grid { grid-template-columns: 1fr 1fr; }

  .mentorship-box { grid-template-columns: 1fr; gap: 2.5rem; }

  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .tl-item { padding-bottom: 2rem; }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.25rem;
    --section-pad: clamp(3rem, 7vw, 5rem);
  }

  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem var(--gutter);
    gap: 1.5rem;
    z-index: 99;
  }
  .nav-hamburger { display: flex; }

  .expertise-grid,
  .therapy-grid,
  .books-grid { grid-template-columns: 1fr; }

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

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

  .hl-tag { display: none; }
  .hl-item { grid-template-columns: 1.2rem 1fr; }

  .widget-root { bottom: 16px; right: 16px; }
  .chat-panel { width: calc(100vw - 32px); }
  .widget-launch-label { display: none; }
  .widget-launch-btn { padding: 13px; border-radius: 50%; }

  .connect-title { font-size: clamp(2rem, 9vw, 3rem); }
}
