/* ══════════════════════════════════════════
   PANOS KOKMOTOS — Personal Website v2
   ══════════════════════════════════════════ */

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

:root {
  /* Dark mode is the default — light mode overrides these in html[data-theme="light"] */
  --bg:          #0d1530;
  --bg-alt:      #111d40;
  --bg-dark:     #080d1f;
  --bg-dark2:    #0a1228;
  --navy:        rgba(255,255,255,0.95);
  --blue:        #3b6ef8;
  --blue-light:  #6090ff;
  --gold:        #f4a924;
  --text:        rgba(255,255,255,0.88);
  --text-muted:  rgba(255,255,255,0.48);
  --text-light:  rgba(255,255,255,0.7);
  --border:      rgba(255,255,255,0.08);
  --border-dark: rgba(255,255,255,0.08);
  --card-bg:     rgba(255,255,255,0.04);
  --card-hover:  rgba(255,255,255,0.07);
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 2px 16px rgba(0,0,0,0.3);
  --shadow-md:   0 6px 32px rgba(0,0,0,0.4);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.5);
  --font:        'Plus Jakarta Sans', sans-serif;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* ── Page Loader ── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
#page-loader.loader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  position: relative;
  width: 88px;
  height: 88px;
}
.loader-ring {
  width: 88px;
  height: 88px;
  transform: rotate(-90deg);
  animation: loader-ring-appear 0.4s var(--ease) both;
}
@keyframes loader-ring-appear {
  from { opacity: 0; transform: rotate(-90deg) scale(0.7); }
  to   { opacity: 1; transform: rotate(-90deg) scale(1); }
}
.loader-ring-track {
  fill: none;
  stroke: rgba(59,110,248,0.12);
  stroke-width: 3;
}
.loader-ring-fill {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 226.2; /* 2π × 36 */
  stroke-dashoffset: 226.2;
  animation: loader-arc 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
  filter: drop-shadow(0 0 8px rgba(59,110,248,0.75));
}
@keyframes loader-arc {
  to { stroke-dashoffset: 0; }
}
.loader-monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  animation: loader-mono 0.7s var(--ease) 0.1s both;
}
@keyframes loader-mono {
  0%   { opacity: 0; transform: scale(0.75); }
  60%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
.loader-tagline {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  animation: loader-tag 0.6s var(--ease) 0.5s both;
}
@keyframes loader-tag {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--blue), #7eb3ff);
  transition: width 0.1s linear;
  pointer-events: none;
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-light); }
ul { list-style: none; }
em { font-style: italic; color: var(--blue); }

/* ── Container ── */
.container { max-width: 1000px; margin: 0 auto; padding: 0 28px; }
section { padding: 100px 0; }
.section-alt  { background: var(--bg-alt); position: relative; }
.section-dark { background: var(--bg-dark); position: relative; }

/* ── Section transition gradient bleeds ── */
/* Dark → Alt: fade dark bg out at bottom of dark section */
.section-dark + .section-alt::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 60px; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg-dark), transparent);
  z-index: 1;
}
/* Alt → Dark: fade alt bg out at bottom of alt section */
.section-alt + .section-dark::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 60px; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg-alt), transparent);
  z-index: 1;
}

/* ── Section Labels ── */
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.section-eyebrow.light { color: var(--blue-light); }

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}
.section-heading.light { color: #fff; }
.section-heading em { font-style: italic; color: var(--blue-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-light); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,110,248,0.4); }

.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.5); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-logo { width: 16px; height: 16px; border-radius: 4px; object-fit: contain; }

.btn-givelink { background: linear-gradient(135deg, #6c4bff, #ff6268); color: #fff; border-color: transparent; }
.btn-givelink:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(108,75,255,0.35); color: #fff; }
.btn-youtube { background: #ff0000; color: #fff; border-color: #ff0000; }
.btn-youtube:hover { background: #d70000; color: #fff; }
.btn-spotify { background: #1db954; color: #fff; border-color: #1db954; }
.btn-instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); color: #fff; border-color: transparent; }
.btn-tiktok { background: #151515; color: #fff; border-color: #333; }
.btn-linkedin { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.btn-et-site { background: rgba(43,98,134,0.12); color: #2b6286; border-color: rgba(43,98,134,0.35); }
.btn-spotify:hover,.btn-instagram:hover,.btn-tiktok:hover,.btn-linkedin:hover,.btn-et-site:hover { transform: translateY(-2px); color: #fff; }

/* ── Chips ── */
.chip {
  display: inline-block;
  padding: 5px 13px;
  background: rgba(59,110,248,0.08);
  color: var(--blue);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
  border: 1px solid rgba(59,110,248,0.15);
}
.chip:hover { background: rgba(59,110,248,0.16); color: var(--blue); }

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(8,13,31,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07), 0 4px 24px rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 28px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 0 2px var(--blue);
  display: block;
}
.nav-avatar picture { display: block; width: 100%; height: 100%; }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500;
  padding: 6px 14px; border-radius: 7px; transition: all 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.nav-cta {
  background: var(--blue); color: #fff; padding: 7px 16px;
  border-radius: 8px;
}
.nav-links a.nav-cta:hover { background: var(--blue-light); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.3s;
}

.nav-mobile-wrap {
  display: none; background: var(--bg-dark2);
  border-top: 1px solid var(--border-dark);
}
.nav-mobile-wrap.open { display: block; }
.nav-mobile-wrap ul { padding: 12px 28px 20px; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile-wrap a { display: block; padding: 10px 0; color: rgba(255,255,255,0.8); font-weight: 500; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 28px 100px;
  position: relative; overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3b6ef8 0%, transparent 70%);
  top: -200px; left: -150px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  bottom: -100px; right: -100px;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f4a924 0%, transparent 70%);
  top: 50%; left: 55%; transform: translate(-50%, -50%);
  opacity: 0.15;
}

/* Cinematic hero intro */
@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-avatar   { animation: hero-reveal 0.8s 0.1s both; }
.hero-eyebrow  { animation: hero-reveal 0.8s 0.25s both; }
.hero-heading  { animation: hero-reveal 0.8s 0.4s both; }
.hero-sub      { animation: hero-reveal 0.8s 0.55s both; }
.hero-quote    { animation: hero-reveal 0.8s 0.7s both; }
.hero-ctas     { animation: hero-reveal 0.8s 0.85s both; }
.hero-pills    { animation: hero-reveal 0.8s 1.0s both; }

.hero-avatar {
  width: 90px; height: 90px;
  border-radius: 50%; margin: 0 auto 20px;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(59,110,248,0.4);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
  cursor: default;
}
.hero-avatar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(59,110,248,0.55), 0 4px 16px rgba(0,0,0,0.3);
}
.hero-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}

.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}

#hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800; color: #fff;
  line-height: 1.05; letter-spacing: -2px;
  margin-bottom: 14px;
}
.hero-name-accent {
  background: linear-gradient(135deg, var(--blue-light), #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.25rem; font-weight: 600;
  color: rgba(255,255,255,0.65); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 10px;
}

.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.hero-link { color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.3); }
.hero-link:hover { color: #fff; border-color: #fff; }

.hero-quote {
  font-size: 0.95rem; color: rgba(255,255,255,0.45);
  font-style: italic; line-height: 1.6;
  max-width: 520px; margin: 0 auto 16px;
}
.hero-quote-attr { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-bottom: 32px; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 4px 0 40px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 0 0 36px; }

.hero-socials { display: flex; gap: 16px; justify-content: center; }
.hero-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all 0.2s;
}
.hero-socials a svg { width: 18px; height: 18px; }
.hero-socials a:hover {
  background: var(--blue); border-color: var(--blue);
  color: #fff; transform: translateY(-2px);
}

.hero-scroll-arrow {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; transition: all 0.2s;
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll-arrow svg { width: 20px; height: 20px; }
.hero-scroll-arrow:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ─────────────────────────────────────────
   IMPACT BAR
───────────────────────────────────────── */
.impact-bar {
  background: var(--blue);
  padding: 0;
  overflow: hidden;
}
.impact-bar-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: stretch;
}
.impact-stat {
  flex: 1; padding: 28px 20px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.impact-num {
  font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1;
}
.impact-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.impact-divider { width: 1px; background: rgba(255,255,255,0.15); margin: 16px 0; flex-shrink: 0; }

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: center;
}
.about-left p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.about-left p:last-of-type { margin-bottom: 24px; }
.about-left strong { color: var(--navy); font-weight: 700; }

.about-voice {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-style: italic;
  border-left: 3px solid rgba(59,110,248,0.4);
  padding-left: 16px;
}
.about-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.about-right { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.about-photo-wrap { position: relative; }
.about-photo-placeholder {
  width: 200px; height: 200px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  position: relative; z-index: 1;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg);
  outline: 2px solid rgba(59,110,248,0.3);
}
.about-photo-ring {
  position: absolute; inset: -8px;
  border: 2px dashed rgba(59,110,248,0.3);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about-location-card, .about-org-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  width: 100%; box-shadow: var(--shadow);
  font-size: 0.88rem;
}
.about-location-card span, .about-org-card span { font-size: 1.3rem; }
.about-location-card strong, .about-org-card strong { display: block; font-weight: 700; color: var(--navy); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.about-location-card p, .about-org-card p { color: var(--text-muted); margin: 0; font-size: 0.88rem; }

/* ─────────────────────────────────────────
   EXPERIENCE TIMELINE
───────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px; background: rgba(255,255,255,0.1);
}

.timeline-item {
  position: relative; margin-bottom: 40px; padding-left: 36px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute; left: -35px; top: 20px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
}
.tl-dot-accent { background: var(--blue); border-color: var(--blue-light); box-shadow: 0 0 12px rgba(59,110,248,0.5); }

.tl-meta { margin-bottom: 10px; }
.tl-date { display: block; font-size: 0.78rem; font-weight: 700; color: var(--blue-light); letter-spacing: 0.5px; margin-bottom: 2px; }
.tl-loc { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

.tl-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: border-color 0.2s, background 0.2s;
}
.tl-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(59,110,248,0.3);
}

.tl-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.tl-header h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.tl-company { font-size: 0.88rem; font-weight: 600; color: var(--blue-light); }

.tl-badge {
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700; white-space: nowrap;
  flex-shrink: 0;
}
.tl-badge.current { background: rgba(59,110,248,0.2); color: var(--blue-light); border: 1px solid rgba(59,110,248,0.3); }

.tl-card > p { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-bottom: 12px; }

.tl-bullets { margin-bottom: 14px; }
.tl-bullets li {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  padding-left: 14px; position: relative; margin-bottom: 5px;
}
.tl-bullets li::before { content: '▸'; position: absolute; left: 0; color: var(--blue-light); }

.tl-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   PROJECTS
───────────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.25s;
}
.project-card.visible { opacity: 1; transform: translateY(0); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-img {
  height: 140px; display: flex; align-items: center; justify-content: center;
}
.project-img-givelink { background: linear-gradient(135deg, #0f1e3d 0%, #1e3a6e 100%); }
.project-img-podcast { background: linear-gradient(135deg, #1a0533 0%, #4c1d95 100%); }
.company-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.company-logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
}
.company-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
}
.company-logo-et .company-logo-mark {
  border-radius: 50%;
}

.project-body { padding: 24px; }
.project-top { margin-bottom: 12px; }
.project-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 6px;
}
.project-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.project-type { font-size: 0.83rem; color: var(--text-muted); font-weight: 500; }
.project-body > p { font-size: 0.9rem; color: var(--text-muted); margin: 12px 0 16px; line-height: 1.65; }

.project-metrics-row { display: flex; gap: 16px; margin-bottom: 18px; }
.proj-metric { display: flex; flex-direction: column; }
.proj-metric strong { font-size: 1.15rem; font-weight: 800; color: var(--blue); line-height: 1; }
.proj-metric span { font-size: 0.73rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.project-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   EDUCATION
───────────────────────────────────────── */
.edu-grid { display: flex; flex-direction: column; gap: 16px; }

.edu-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex; gap: 20px; align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0; transform: translateY(16px);
}
.edu-card.visible { opacity: 1; transform: translateY(0); }
.edu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.edu-icon { font-size: 2rem; flex-shrink: 0; margin-top: 2px; }
.edu-period { font-size: 0.78rem; font-weight: 700; color: var(--blue); letter-spacing: 0.5px; display: block; margin-bottom: 4px; }
.edu-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.edu-inst { font-size: 0.87rem; color: var(--text-muted); font-weight: 500; margin-bottom: 6px; }
.edu-body > p { font-size: 0.87rem; color: var(--text-muted); }
.edu-body > p strong { color: var(--navy); }

/* ─────────────────────────────────────────
   AWARDS
───────────────────────────────────────── */
.awards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px;
}
.award-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  opacity: 0; transform: translateY(16px);
}
.award-card.visible { opacity: 1; transform: translateY(0); }
.award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(59,110,248,0.25); }
.award-emoji { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.award-card p { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; line-height: 1.5; }

/* ── Awards collapse (mobile) ── */
.awards-hidden-extra { display: contents; }
.awards-show-more-wrap { display: none; text-align: center; margin-top: 20px; }
.awards-show-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 24px;
  background: rgba(59,110,248,0.1); border: 1px solid rgba(59,110,248,0.25);
  color: var(--blue-light); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.awards-show-more-btn:hover { background: rgba(59,110,248,0.2); transform: translateY(-1px); }
.awards-show-more-btn svg { transition: transform 0.3s; }
.awards-show-more-btn.open svg { transform: rotate(180deg); }

@media (max-width: 768px) {
  .awards-hidden-extra { display: none; }
  .awards-hidden-extra.open { display: contents; }
  .awards-show-more-wrap { display: block; }
}

/* Leadership Strip */
.leadership-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3470 100%);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 48px;
}
.leadership-strip h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 24px; }
.leadership-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.leadership-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.leadership-item strong { display: block; font-size: 0.9rem; color: #fff; font-weight: 700; margin-bottom: 2px; }
.leadership-item span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Skills */
.skills-block h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.skills-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.skill-group h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-wrap { text-align: center; }
.contact-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.5);
  max-width: 560px; margin: -24px auto 44px;
  line-height: 1.7;
}
.contact-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 640px; margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  transition: all 0.2s;
  text-align: left;
}
.contact-card:hover {
  background: rgba(59,110,248,0.15);
  border-color: rgba(59,110,248,0.4);
  transform: translateY(-2px);
}
.cc-icon { font-size: 1.5rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cc-icon-linkedin { color: #0A66C2; }
.contact-card strong { display: block; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-card p { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin: 0; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: #040810;
  padding: 32px 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 2px var(--blue);
  flex-shrink: 0;
}
.footer-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
footer p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 14px; }
.footer-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.footer-links a:hover { color: rgba(255,255,255,0.95); transform: translateY(-1px); }
.footer-links a svg {
  width: 16px;
  height: 16px;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-right { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .about-location-card, .about-org-card { width: auto; flex: 1; min-width: 220px; }
  .projects-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-cols { grid-template-columns: 1fr; }
  .leadership-items { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .impact-bar-inner { flex-wrap: wrap; }
  .impact-stat { flex: 0 0 50%; }
  .impact-divider { display: none; }
  .awards-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 20px; }
  .tl-dot { left: -27px; }
  .tl-card { padding: 18px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ─────────────────────────────────────────
   NAV CONTROLS (theme + lang toggle)
───────────────────────────────────────── */
.nav-controls { display: flex; align-items: center; gap: 8px; }

.theme-toggle, .lang-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  transition: all 0.2s; font-size: 0.8rem; font-weight: 700;
}
.theme-toggle:hover, .lang-toggle:hover {
  background: rgba(255,255,255,0.15); color: #fff;
}
.theme-toggle svg { width: 18px; height: 18px; }
.icon-moon { display: none; }
html[data-theme="dark"] .icon-sun  { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }
html[data-theme="light"] .icon-sun  { display: none; }
html[data-theme="light"] .icon-moon { display: block; }

/* ─────────────────────────────────────────
   DARK / LIGHT MODE
───────────────────────────────────────── */
html[data-theme="light"] {
  --bg:          #ffffff;
  --bg-alt:      #f0f4ff;
  --bg-dark:     #e8eeff;
  --bg-dark2:    #dce6ff;
  --navy:        #0f1e3d;
  --text:        #111827;
  --text-muted:  #5a6382;
  --text-light:  #4a5568;
  --border:      rgba(15,30,61,0.1);
  --card-bg:     #ffffff;
  --card-hover:  #f5f7ff;
  --shadow:      0 2px 16px rgba(15,30,61,0.07);
  --shadow-md:   0 6px 32px rgba(15,30,61,0.11);
  --shadow-lg:   0 12px 48px rgba(15,30,61,0.16);
}
html[data-theme="light"] #navbar.scrolled {
  background: rgba(248,250,255,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(15,30,61,0.08), 0 4px 20px rgba(15,30,61,0.08);
  border-bottom: 1px solid rgba(15,30,61,0.07);
}
html[data-theme="light"] .nav-logo { color: var(--navy); }
html[data-theme="light"] .nav-logo-name { color: var(--navy); }
html[data-theme="light"] .nav-links a { color: rgba(15,30,61,0.7); }
html[data-theme="light"] .nav-links a:hover { color: var(--navy); background: rgba(15,30,61,0.05); }
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .lang-toggle {
  background: rgba(15,30,61,0.06);
  border-color: rgba(15,30,61,0.12);
  color: rgba(15,30,61,0.7);
}
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .lang-toggle:hover {
  background: rgba(15,30,61,0.12); color: var(--navy);
}
html[data-theme="light"] .hamburger span { background: rgba(15,30,61,0.7); }
html[data-theme="light"] .nav-mobile-wrap { background: #fff; border-top-color: rgba(0,0,0,0.07); }
html[data-theme="light"] .nav-mobile-wrap a { color: var(--navy); }
/* Hero stays dark even in light mode — white text needs dark background */
html[data-theme="light"] #hero {
  background: linear-gradient(180deg, #0d1a3a 0%, #1a2f5e 60%, #0d1a3a 100%);
}
html[data-theme="light"] .section-dark { background: #1a2744; }
html[data-theme="light"] .skill-group h4 { color: rgba(255,255,255,0.5); }

/* ─────────────────────────────────────────
   FEATURED / MARQUEE BAR
───────────────────────────────────────── */
.featured-bar {
  padding: 28px 0; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.featured-label {
  text-align: center;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 18px;
}
.marquee-wrap { overflow: hidden; }
.marquee {
  display: flex; gap: 0; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee span {
  display: inline-block;
  padding: 0 32px;
  font-size: 0.82rem; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   BOOK NOTES
───────────────────────────────────────── */
.books-sub {
  font-size: 1rem; color: var(--text-muted);
  margin-top: -28px; margin-bottom: 44px;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.book-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  opacity: 0; transform: translateY(16px);
}
.book-card.visible { opacity: 1; transform: translateY(0); }
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ── Currently Reading book card ── */
/* ── Currently Reading strip ── */
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
}
.books-now-reading {
  margin-bottom: 56px;
}
.bnr-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.bnr-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
.bnr-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #22c55e;
}
.bnr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 780px;
  margin: 0 auto;
}
.bnr-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.07), var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  opacity: 0; transform: translateY(16px);
}
.bnr-card.visible { opacity: 1; transform: translateY(0); }
.bnr-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 3px rgba(34,197,94,0.18), var(--shadow-md); }
.bnr-cover-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(10,18,34,0.7);
  flex-shrink: 0;
}
.bnr-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.bnr-card:hover .bnr-cover-img { transform: scale(1.04); }
.bnr-body {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
  padding: 20px;
}
.bnr-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0; }
.bnr-author { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.bnr-insights {
  margin: 10px 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.bnr-insights li {
  font-size: 0.83rem; line-height: 1.55; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.bnr-insights li::before {
  content: '→'; position: absolute; left: 0;
  color: #22c55e; font-size: 0.75rem; top: 2px;
}
@media (max-width: 620px) {
  .bnr-grid { grid-template-columns: 1fr; max-width: 340px; }
}

/* Legacy reading badge (kept for backwards compat) */
.book-card-reading {
  border-color: rgba(59,110,248,0.35) !important;
  background: rgba(59,110,248,0.04) !important;
  position: relative;
}
.book-reading-badge {
  position: absolute; top: -10px; left: 16px;
  background: var(--blue); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59,110,248,0.4);
}

.book-cover {
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,0.9);
  letter-spacing: -1px;
}
.book-cover-wrap {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(59,110,248,0.25), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(30,58,138,0.28), transparent 50%),
    rgba(10, 18, 34, 0.75);
}
.book-cover-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.38));
}
.book-card:hover .book-cover-img { transform: scale(1.06); }
.book-cover-fb {
  height: 100%;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,0.9);
  letter-spacing: -1px;
  background: linear-gradient(135deg, #1e3a8a, #3b6ef8);
}
.book-body { padding: 16px 18px; display:flex; flex-direction:column; gap:6px; min-height: 220px; }
.book-body h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.book-author { font-size: 0.78rem; color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.book-highlights {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.book-highlights li::marker { color: var(--blue); }
.book-note { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; font-style: italic; display:-webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow:hidden; }
.book-points {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.79rem;
  line-height: 1.5;
}
.book-points li::marker { color: var(--blue); }


.books-categories { display: flex; flex-direction: column; gap: 28px; }
.books-category-title { font-size: 0.95rem; color: var(--blue); margin-bottom: 14px; letter-spacing: 0.03em; }
.books-category .books-grid { grid-template-columns: repeat(5, 1fr); }

.chip-brand { background: rgba(59,110,248,0.15); border-color: rgba(59,110,248,0.35); }
.chip-icon { font-weight: 700; width: 14px; text-align: center; }

.company-logo-img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; padding: 6px; border: 1px solid rgba(255,255,255,0.25); }

.watch-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.watch-link-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; text-decoration: none; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); font-size: 0.8rem; font-weight: 600; }
.watch-link-chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.social-links-grid { max-width: 760px; margin: 0 auto; }

.media-btn { display: inline-flex; align-items: center; gap: 6px; }
.media-icon { width: 14px; text-align: center; font-weight: 700; }

.press-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; margin-bottom: 6px; }

.substack-btn { display: inline-flex; align-items: center; gap: 10px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.substack-btn small { display: block; opacity: 0.85; font-size: 0.76rem; font-weight: 500; margin-top: 2px; }
.substack-icon { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

@media (max-width: 1100px) { .books-grid { grid-template-columns: repeat(3, 1fr); } .books-category .books-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .books-grid { grid-template-columns: repeat(2, 1fr); } .books-category .books-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .books-grid { grid-template-columns: 1fr; } .books-category .books-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────
   JOURNEY GAMIFICATION
───────────────────────────────────────── */

/* XP Bar — sticky while scrolling milestones */
.journey-xp-bar {
  max-width: 760px; margin: 0 auto 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex; flex-direction: column; gap: 8px;
  position: sticky;
  top: 68px;
  z-index: 90;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.journey-xp-labels {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.journey-level-badge {
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: 0.05em;
}
.journey-xp-track {
  height: 8px; background: rgba(255,255,255,0.08);
  border-radius: 99px; overflow: hidden;
}
.journey-xp-fill {
  height: 100%; width: 88.88%;
  background: linear-gradient(90deg, var(--blue), #7c3aed);
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.journey-xp-fill::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.8);
  opacity: 0.9;
}
.journey-xp-pts {
  font-size: 0.72rem; font-weight: 700;
  color: var(--blue); text-align: right;
}


/* Level-up flash */
.journey-level-badge.level-up {
  animation: level-flash 0.6s ease;
}
@keyframes level-flash {
  0%, 100% { transform: scale(1); box-shadow: none; }
  40%       { transform: scale(1.25); box-shadow: 0 0 20px rgba(124,58,237,0.8); }
}

/* Milestones Track + Walking Character */
.milestones-track {
  position: relative;
  max-width: 760px; margin: 0 auto;
}
.journey-walker {
  position: absolute;
  left: 60px; /* just left of the dot column */
  top: 0;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 10;
  transition: top 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: walker-bob 0.7s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  pointer-events: none;
  transform-origin: bottom center;
}
@keyframes walker-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-5px) rotate(3deg); }
}
/* Milestones inside track doesn't need its own max-width */
.milestones-track .milestones {
  max-width: 100%;
}

/* Light mode */
html[data-theme="light"] .journey-xp-bar {
  background: rgba(0,0,0,0.04);
}
html[data-theme="light"] .journey-xp-track {
  background: rgba(0,0,0,0.08);
}
/* ─────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────── */
#newsletter { background: var(--blue); }
.newsletter-wrap { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-icon { font-size: 2.4rem; margin-bottom: 16px; }
#newsletter h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: #fff; margin-bottom: 12px;
}
#newsletter p {
  color: rgba(255,255,255,0.75); font-size: 1rem;
  margin-bottom: 28px; line-height: 1.65;
}
.btn-lg { padding: 15px 34px; font-size: 1rem; }

/* ─────────────────────────────────────────
   SPOTIFY EMBED
───────────────────────────────────────── */
.spotify-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 16px;
}

/* ─────────────────────────────────────────
   CHAT WIDGET
───────────────────────────────────────── */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
}

.chat-toggle {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--blue);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(59,110,248,0.5);
  color: #fff;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(59,110,248,0.65); }
.chat-toggle svg { width: 24px; height: 24px; position: absolute; transition: opacity 0.2s, transform 0.2s; }
.chat-icon-open  { opacity: 1; transform: scale(1); }
.chat-icon-close { opacity: 0; transform: scale(0.6); }
.chat-widget.open .chat-icon-open  { opacity: 0; transform: scale(0.6); }
.chat-widget.open .chat-icon-close { opacity: 1; transform: scale(1); }

.chat-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--gold); color: #000;
  font-size: 0.6rem; font-weight: 900; letter-spacing: 0.5px;
  padding: 2px 5px; border-radius: 8px;
}

.chat-panel {
  position: absolute; bottom: 70px; right: 0;
  width: 340px; max-height: 520px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.chat-widget.open .chat-panel {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  background: var(--blue);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid rgba(255,255,255,0.3);
}
.chat-header strong { display: block; font-size: 0.9rem; color: #fff; font-weight: 700; }
.chat-header span { font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.chat-close-btn {
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; font-size: 1rem; padding: 4px 6px;
  border-radius: 6px; transition: all 0.15s;
}
.chat-close-btn:hover { color: #fff; background: rgba(255,255,255,0.15); }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
}
.chat-msg { max-width: 90%; }
.chat-msg p {
  padding: 10px 14px; border-radius: 14px;
  font-size: 0.87rem; line-height: 1.55; margin: 0;
}
.chat-msg.bot p {
  background: var(--bg-alt); color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}
.chat-msg.user { align-self: flex-end; }
.chat-msg.user p {
  background: var(--blue); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg.thinking p {
  background: var(--bg-alt); color: var(--text-muted);
  font-style: italic; border: 1px solid var(--border);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

.chat-input-wrap {
  display: flex; gap: 8px; padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
#chatInput {
  flex: 1; padding: 9px 14px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 20px; font-family: var(--font); font-size: 0.87rem;
  color: var(--text); outline: none; transition: border-color 0.2s;
}
#chatInput:focus { border-color: var(--blue); }
#chatSend {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--blue); border: none; border-radius: 50%;
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
#chatSend:hover { background: var(--blue-light); transform: scale(1.05); }
#chatSend svg { width: 16px; height: 16px; }

.chat-note {
  font-size: 0.72rem; color: var(--text-muted); text-align: center;
  padding: 6px 12px 10px; background: var(--bg);
}
.chat-note a { color: var(--blue); }

@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 32px); right: 0; }
}

/* ─────────────────────────────────────────
   NAV LOGO (circular photo)
───────────────────────────────────────── */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
html[data-theme="light"] .nav-logo { border-color: rgba(15,30,61,0.2); }

/* ─────────────────────────────────────────
   SCROLL PROGRESS BAR
───────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 10001;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 0.08s linear;
}

/* ─────────────────────────────────────────
   MILESTONES / JOURNEY TIMELINE
───────────────────────────────────────── */
.milestones {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.milestone {
  display: grid;
  grid-template-columns: 72px 28px 1fr;
  align-items: stretch;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.milestone.visible { opacity: 1; transform: translateY(0); }

.ms-year {
  font-size: 0.82rem; font-weight: 800;
  color: var(--blue); letter-spacing: 0.5px;
  padding-top: 4px; text-align: right;
  padding-right: 12px;
}
.ms-dot {
  display: flex; flex-direction: column; align-items: center;
}
.ms-dot::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  background: var(--text-muted); border: 2px solid var(--bg-alt);
  flex-shrink: 0; margin-top: 6px; z-index: 1;
}
.ms-dot::after {
  content: ''; width: 2px; flex: 1;
  background: var(--border); margin: 4px 0;
}
.milestone:last-child .ms-dot::after { display: none; }
.ms-dot-accent::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(59,110,248,0.2); }
.ms-dot-gold::before   { background: var(--gold);  box-shadow: 0 0 0 3px rgba(212,175,55,0.2); }

.ms-card {
  padding: 4px 0 24px 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.ms-card-featured { padding-bottom: 28px; }
.ms-emoji { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.ms-card h4 {
  font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 3px;
}
.ms-card p {
  font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; margin: 0;
}
.ms-human {
  font-size: 0.8rem !important;
  color: var(--blue-light) !important;
  font-style: italic;
  margin-top: 7px !important;
  opacity: 0.85;
  border-left: 2px solid rgba(59,110,248,0.3);
  padding-left: 10px;
}

@media (max-width: 640px) {
  .milestone { grid-template-columns: 52px 22px 1fr; }
  .ms-year { font-size: 0.72rem; padding-right: 8px; }
}

/* ─────────────────────────────────────────
   WATCH SECTION
───────────────────────────────────────── */
.watch-featured {
  max-width: 780px; margin: 0 auto 40px;
}
.watch-featured-label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.watch-featured-label::before {
  content: '▶ ';
}
.watch-embed-wrap {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.watch-embed-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}
.watch-featured-title {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-top: 14px; margin-bottom: 4px;
}
.watch-featured-sub {
  font-size: 0.83rem; color: var(--text-muted);
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 900px; margin: 0 auto 36px;
}
.watch-card { }
.watch-card-embed { margin-bottom: 10px; }
.watch-card h4 {
  font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 3px;
}
.watch-card p {
  font-size: 0.78rem; color: var(--text-muted); margin: 0;
}


.watch-article-link {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.watch-article-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.watch-article-link:hover .watch-article-thumb {
  transform: scale(1.02);
}
.watch-summary {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 4px;
}

.watch-more {
  text-align: center;
}
.watch-more-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px;
}
.watch-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}
.chip:hover {
  background: var(--blue); color: #fff;
  border-color: var(--blue);
  transform: translateY(-2px);
}

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

/* ─────────────────────────────────────────
   PRESS SECTION (new styles)
───────────────────────────────────────── */
.press-section { background: var(--bg-dark); }
.press-sub-heading {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin: 48px 0 20px;
}
.press-section .section-title,
.press-section .section-sub {
  color: #fff;
}
.press-section .section-sub { color: rgba(255,255,255,0.6); }

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
.press-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  transition: all 0.25s;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(14px);
}
.press-card.visible { opacity: 1; transform: translateY(0); }
.press-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}
.press-card-pub {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
}
.press-card-title {
  font-size: 0.9rem; font-weight: 700; color: #fff; line-height: 1.4;
}
.press-card-date {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  margin-top: auto;
}

.award-card-link {
  text-decoration: none;
  display: block;
}
.award-card-link:hover .award-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Programs strip */
.programs-strip {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.prog-chip {
  padding: 8px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.8);
}

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

/* ─────────────────────────────────────────
   CONTACT FORM
───────────────────────────────────────── */
.contact-form {
  max-width: 580px; margin: 48px auto 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font); font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue); }
.contact-form input + input { margin-top: 0; }
.contact-form > input,
.contact-form > textarea { display: block; margin-bottom: 14px; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { margin-top: 4px; }
.form-success {
  font-size: 0.9rem; color: #22c55e;
  margin-top: 12px; text-align: center;
}

/* light mode inputs */
html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea {
  background: #fff;
  border-color: rgba(15,30,61,0.12);
  color: var(--text);
}
html[data-theme="light"] .contact-form {
  background: #f8faff;
  border-color: rgba(15,30,61,0.09);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}

/* ─────────────────────────────────────────
   FOOTER LOGO (circular photo)
───────────────────────────────────────── */
.footer-logo {
  display: flex; align-items: center; text-decoration: none;
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.footer-logo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

/* ─────────────────────────────────────────
   LIGHT MODE — NEW SECTION OVERRIDES
───────────────────────────────────────── */
html[data-theme="light"] .press-section { background: #1a2744; }
html[data-theme="light"] .chip {
  background: rgba(15,30,61,0.06);
  border-color: rgba(15,30,61,0.12);
  color: var(--navy);
}
html[data-theme="light"] .chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
html[data-theme="light"] .ms-card h4 { color: var(--navy); }
html[data-theme="light"] .watch-featured-title { color: var(--navy); }

/* ─────────────────────────────────────────
   MILESTONE TAGS
───────────────────────────────────────── */
.ms-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.ms-tag {
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  background: rgba(59,110,248,0.15);
  color: var(--blue);
  border: 1px solid rgba(59,110,248,0.25);
}
.ms-tag-gold {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
  border-color: rgba(212,175,55,0.3);
}

/* ─────────────────────────────────────────
   STORE BADGES (App Store / Play Store / Pitchbook)
───────────────────────────────────────── */
.store-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem; font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.store-badge-apple {
  background: #000; color: #fff;
}
.store-badge-apple:hover { background: #1a1a1a; transform: translateY(-2px); }
.store-badge-google {
  background: #fff; color: #333;
  border-color: #ddd;
}
.store-badge-google:hover { background: #f5f5f5; transform: translateY(-2px); }
.store-badge-pitchbook {
  background: rgba(59,110,248,0.1);
  color: var(--blue);
  border-color: rgba(59,110,248,0.3);
}
.store-badge-pitchbook:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* Dark mode store badge fixes */
html[data-theme="dark"] .store-badge-google {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.15);
}
html[data-theme="dark"] .store-badge-google:hover { background: rgba(255,255,255,0.15); }

/* ─────────────────────────────────────────
   LEADERSHIP CARDS
───────────────────────────────────────── */
.leadership-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}
.leadership-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.2s;
}
.leadership-card.visible { opacity: 1; transform: translateY(0); }
.leadership-card:hover { background: rgba(255,255,255,0.09); }
.lc-icon { font-size: 1.4rem; flex-shrink: 0; }
.lc-body strong {
  display: block; font-size: 0.85rem; font-weight: 700;
  color: #fff; margin-bottom: 2px;
}
.lc-body span {
  display: block; font-size: 0.75rem; color: rgba(255,255,255,0.55);
}
.lc-date {
  font-size: 0.7rem; color: var(--gold); font-weight: 600;
  margin-top: 5px; margin-bottom: 0;
}

@media (max-width: 900px) { .leadership-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .leadership-cards { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────
   PROGRAMS GRID (new)
───────────────────────────────────────── */
.programs-grid-new {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.prog-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
  padding: 16px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  font-size: 1.4rem;
  transition: all 0.2s;
}
.prog-card span {
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.65); line-height: 1.3;
}
.prog-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

@media (max-width: 900px) { .programs-grid-new { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .programs-grid-new { grid-template-columns: repeat(2, 1fr); } }

/* ─────────────────────────────────────────
   PRESS CARDS — improved
───────────────────────────────────────── */
.press-card {
  position: relative;
}
.press-outlet {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 6px;
}
.press-headline {
  font-size: 0.88rem; font-weight: 600; color: #fff;
  line-height: 1.45; margin: 0; flex: 1;
}
.press-thumb {
  width: calc(100% + 40px);
  height: 132px;
  object-fit: cover;
  margin: -20px -20px 8px;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.press-arrow {
  display: inline-block; color: rgba(255,255,255,0.3);
  font-size: 1.1rem; margin-top: 8px;
  transition: transform 0.2s, color 0.2s;
}
.press-card:hover .press-arrow {
  transform: translateX(4px); color: var(--gold);
}

/* ─────────────────────────────────────────
   LIGHT MODE — COMPREHENSIVE IMPROVEMENTS
───────────────────────────────────────── */
html[data-theme="light"] body { background: #fff; }

/* Cards and sections in light mode */
html[data-theme="light"] .book-card { box-shadow: 0 2px 12px rgba(15,30,61,0.08); }
html[data-theme="light"] .award-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 8px rgba(15,30,61,0.06);
}
html[data-theme="light"] .edu-card {
  border-color: rgba(15,30,61,0.08);
  box-shadow: 0 2px 10px rgba(15,30,61,0.05);
}
html[data-theme="light"] .tl-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 12px rgba(15,30,61,0.06);
}
html[data-theme="light"] .project-card {
  box-shadow: 0 4px 20px rgba(15,30,61,0.08);
}
html[data-theme="light"] .proj-metric strong { color: var(--navy); }

/* Impact bar light mode */
html[data-theme="light"] .impact-bar { background: #f0f4ff; border-color: rgba(15,30,61,0.1); }

/* Featured bar */
html[data-theme="light"] .featured-bar { background: #f8faff; }

/* About section */
html[data-theme="light"] .about-location-card,
html[data-theme="light"] .about-org-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 8px rgba(15,30,61,0.05);
}

/* Contact section in light mode */
html[data-theme="light"] #contact.section-dark {
  background: #1a2744;
}
html[data-theme="light"] .contact-card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}
html[data-theme="light"] .contact-card:hover {
  background: rgba(255,255,255,0.14);
}

/* Watch cards in light mode */
html[data-theme="light"] .watch-card p { color: var(--text-muted); }
html[data-theme="light"] .watch-embed-wrap { box-shadow: 0 4px 20px rgba(15,30,61,0.1); }

/* Store badges in light mode */
html[data-theme="light"] .store-badge-apple { background: #111; }
html[data-theme="light"] .store-badge-google {
  background: #fff; color: #333; border-color: #ddd;
}

/* Milestone section light mode */
html[data-theme="light"] #journey { background: #f8faff; }
html[data-theme="light"] .ms-dot::after { background: rgba(15,30,61,0.12); }
html[data-theme="light"] .ms-dot::before { border-color: #f8faff; background: var(--text-muted); }
html[data-theme="light"] .ms-dot-accent::before { background: var(--blue); }
html[data-theme="light"] .ms-dot-gold::before { background: var(--gold); }

/* Newsletter section */
html[data-theme="light"] #newsletter { background: var(--blue); }

/* ─────────────────────────────────────────
   LINKEDIN FEATURED POSTS
───────────────────────────────────────── */
.section-sub {
  font-size: 1rem; color: var(--text-muted);
  margin-top: -24px; margin-bottom: 40px;
}
.li-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.li-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  opacity: 0; transform: translateY(16px);
}
.li-card.visible { opacity: 1; transform: translateY(0); }
.li-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.li-card-header {
  display: flex; align-items: flex-start; gap: 10px;
}
.li-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  flex-shrink: 0; border: 2px solid var(--border);
}
.li-author { flex: 1; }
.li-author strong {
  display: block; font-size: 0.88rem; font-weight: 700;
  color: var(--navy);
}
.li-author span {
  display: block; font-size: 0.73rem; color: var(--text-muted);
  line-height: 1.4;
}
.li-date {
  font-size: 0.72rem !important; font-weight: 600;
  color: var(--blue) !important; margin-top: 2px;
}
.li-icon { flex-shrink: 0; margin-top: 2px; opacity: 0.85; }

.li-text {
  font-size: 0.84rem; color: var(--text);
  line-height: 1.6; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.li-engagement {
  display: flex; gap: 14px;
  font-size: 0.75rem; color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 10px; margin-top: auto;
}
.li-cta {
  font-size: 0.78rem; font-weight: 700;
  color: #0A66C2;
  align-self: flex-start;
}
.li-card:hover .li-cta { text-decoration: underline; }

@media (max-width: 900px) { .li-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .li-posts-grid { grid-template-columns: 1fr; } }

/* Light mode */
html[data-theme="light"] .li-card {
  box-shadow: 0 2px 12px rgba(15,30,61,0.07);
  border-color: rgba(15,30,61,0.09);
}


/* Subtle motion polish */
[data-animate], .timeline-item, .project-card, .book-card, .li-card, .press-card {
  will-change: transform, opacity;
}
[data-animate].visible, .timeline-item.visible, .project-card.visible, .book-card.visible, .li-card.visible, .press-card.visible {
  animation: fadeSlideIn 0.55s var(--ease) both;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(14px) scale(0.995); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

html[data-theme="light"] .footer-links a {
  color: rgba(15,30,61,0.8);
  background: rgba(15,30,61,0.06);
  border-color: rgba(15,30,61,0.16);
}
html[data-theme="light"] .footer-links a:hover {
  color: var(--navy);
  background: rgba(59,110,248,0.12);
  border-color: rgba(59,110,248,0.42);
}

/* ─────────────────────────────────────────
   BOOKS PHILOSOPHY BOX
───────────────────────────────────────── */
.books-philosophy {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(59,110,248,0.07);
  border: 1px solid rgba(59,110,248,0.18);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 44px;
}
.books-philosophy-icon { font-size: 2.4rem; flex-shrink: 0; margin-top: 2px; }
.books-philosophy-text p { font-size: 0.92rem; color: var(--text); line-height: 1.75; margin-bottom: 12px; }
.books-philosophy-text p:last-child { margin-bottom: 0; }

html[data-theme="light"] .books-philosophy {
  background: rgba(59,110,248,0.05);
  border-color: rgba(59,110,248,0.2);
}

@media (max-width: 600px) {
  .books-philosophy { flex-direction: column; gap: 12px; }
  .books-philosophy-icon { font-size: 1.8rem; }
}

/* ─────────────────────────────────────────
   BLOG / WRITING SECTION
───────────────────────────────────────── */
#blog { background: var(--bg); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.blog-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  opacity: 0; transform: translateY(16px);
}
.blog-card.visible { opacity: 1; transform: translateY(0); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.blog-card-top { display: flex; justify-content: space-between; align-items: center; }
.blog-tag {
  font-size: 0.72rem; font-weight: 700;
  background: rgba(59,110,248,0.12); color: var(--blue);
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.blog-read { font-size: 0.7rem; color: var(--text-muted); }
.blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.4; margin: 0; }
.blog-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; margin: 0; flex: 1; }
.blog-cta { font-size: 0.78rem; font-weight: 700; color: var(--blue); align-self: flex-start; margin-top: 4px; }
.blog-card:hover .blog-cta { text-decoration: underline; }

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

html[data-theme="light"] .blog-card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(15,30,61,0.07);
  border-color: rgba(15,30,61,0.09);
}

/* ─────────────────────────────────────────
   SKILLS — wider grid
───────────────────────────────────────── */
.skills-cols { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 900px) { .skills-cols { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 580px) { .skills-cols { grid-template-columns: 1fr !important; } }

/* ─────────────────────────────────────────
   HERO — Spotify podcast button
───────────────────────────────────────── */
.btn-spotify-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1DB954; color: #fff;
  padding: 12px 24px; border-radius: 40px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
  border: none;
}
.btn-spotify-hero:hover { background: #17a349; transform: translateY(-2px); }

/* ─────────────────────────────────────────
   NOW SECTION
───────────────────────────────────────── */
.now-section { padding: 80px 0; background: var(--bg); }
.now-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.now-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.now-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.now-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.now-body h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.now-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
.now-link {
  display: inline-block; margin-top: 10px;
  font-size: 0.82rem; font-weight: 600;
  color: #1DB954; text-decoration: none;
}
.now-link:hover { text-decoration: underline; }
.now-updated {
  text-align: center; margin-top: 32px;
  font-size: 0.78rem; color: var(--text-muted);
  opacity: 0.6;
}
html[data-theme="light"] .now-section { background: #f7f9fc; }
@media (max-width: 700px) { .now-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────
   WATCH — article card style
───────────────────────────────────────── */
.watch-article-card {
  display: block; text-decoration: none; border-radius: var(--radius);
  overflow: hidden; position: relative; height: 100%; min-height: 220px;
  background: var(--card-bg); border: 1px solid var(--border);
}
.watch-article-full {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.watch-article-card:hover .watch-article-full { transform: scale(1.04); }
.watch-article-overlay {
  padding: 16px;
}
.watch-outlet-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.watch-read-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
}

/* ─────────────────────────────────────────
   BOOKS — mobile improvements
───────────────────────────────────────── */
@media (max-width: 580px) {
  .book-body { padding: 12px 14px; min-height: unset; }
  .book-body h4 { font-size: 0.88rem; }
  .book-highlights { font-size: 0.74rem; gap: 4px; }
  .book-cover-wrap { aspect-ratio: 2 / 2.5; }
  .books-philosophy { padding: 18px; }
}
@media (max-width: 400px) {
  .books-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .books-category .books-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ─────────────────────────────────────────
   PRESS — thumbnail graceful hide
───────────────────────────────────────── */
.press-thumb { transition: opacity 0.3s; }
.press-card:hover .press-thumb { opacity: 0.85; }

/* ─────────────────────────────────────────
   NOW SECTION — desktop-optimised redesign
───────────────────────────────────────── */
.now-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 40px;
}
.now-header .section-heading { margin-bottom: 0; }
.now-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* 5-card layout: first 3 in row 1, last 2 centred in row 2 */
.now-grid .now-card:nth-child(4),
.now-grid .now-card:nth-child(5) {
  grid-column: span 1;
}
.now-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.now-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59,110,248,0.25);
}
.now-card-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(59,110,248,0.07), transparent);
}
.now-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.9px;
  text-transform: uppercase; color: var(--blue);
  background: rgba(59,110,248,0.12); padding: 4px 10px; border-radius: 20px;
}
.now-icon { font-size: 1.65rem; line-height: 1; }
.now-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.now-body h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; }
.now-body p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; margin: 0; flex: 1; }
.now-links-row { display: flex; gap: 12px; margin-top: 4px; }
.now-link {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  color: var(--blue); text-decoration: none; margin-top: 4px;
}
.now-link:hover { text-decoration: underline; }
.now-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.now-updated {
  font-size: 0.78rem; color: var(--text-muted); opacity: 0.65;
  white-space: nowrap;
}
html[data-theme="light"] .now-card-top { background: linear-gradient(135deg, rgba(59,110,248,0.05), transparent); }
@media (max-width: 1000px) { .now-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .now-grid { grid-template-columns: 1fr; } .now-header { flex-direction: column; align-items: flex-start; } }

/* ─────────────────────────────────────────
   STICKY MOBILE CTA
───────────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 12px 20px;
  background: linear-gradient(to top, rgba(10,18,34,0.98) 80%, transparent);
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-btn {
  display: block; width: 100%;
  background: linear-gradient(135deg, #3b6ef8, #6366f1);
  color: #fff; font-weight: 700; font-size: 0.95rem;
  text-align: center; padding: 14px; border-radius: 12px;
  text-decoration: none; letter-spacing: 0.2px;
  box-shadow: 0 4px 20px rgba(59,110,248,0.4);
}
@media (max-width: 768px) { .sticky-cta { display: block; } }
html[data-theme="light"] .sticky-cta { background: linear-gradient(to top, rgba(255,255,255,0.98) 80%, transparent); }

/* ─────────────────────────────────────────
   BOOK COVER SKELETON LOADING
───────────────────────────────────────── */
@keyframes skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton-wrap::before {
  content: '';
  display: block;
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.06) 50%,
    rgba(255,255,255,0) 100%
  );
  background-size: 400px 100%;
  animation: skeleton-shimmer 1.4s infinite;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}
.skeleton-wrap { position: relative; }
.skeleton-wrap img.loaded + .skeleton-wrap::before,
.skeleton-wrap img { position: relative; z-index: 2; }
.skeleton-wrap img.img-loaded::after { display: none; }

/* ─────────────────────────────────────────
   HERO — small phones (320–375px)
───────────────────────────────────────── */
@media (max-width: 420px) {
  .hero-avatar { width: 90px; height: 90px; }
  .hero-badges { gap: 6px; }
  .badge { font-size: 0.68rem; padding: 5px 10px; }
  .hero-content h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-tagline { font-size: 1rem; }
  .hero-sub { font-size: 0.82rem; }
  .hero-quote { font-size: 0.82rem; padding: 10px 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn, .hero-actions .btn-spotify-hero { width: 100%; text-align: center; justify-content: center; }
  .hero-socials { gap: 14px; }
  .hero-socials a { width: 34px; height: 34px; }
}

/* ─────────────────────────────────────────
   APPLE PODCAST BUTTON
───────────────────────────────────────── */
.btn-apple-podcast {
  background: #000 !important; color: #fff !important;
  display: inline-flex; align-items: center; gap: 5px;
}
.btn-apple-podcast:hover { background: #222 !important; }
html[data-theme="light"] .btn-apple-podcast { background: #1c1c1e !important; }

/* ─────────────────────────────────────────
   ACCESSIBILITY — focus states
───────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #3b6ef8;
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-to-content {
  position: absolute; top: -100px; left: 16px;
  background: var(--blue); color: #fff;
  padding: 8px 16px; border-radius: 6px; font-weight: 600;
  text-decoration: none; z-index: 10000;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 16px; }

/* ─────────────────────────────────────────
   PREFERS 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;
  }
  .hero-orb { animation: none !important; }
  .journey-xp-fill { transition: none !important; }
}

/* ─────────────────────────────────────────
   IMPROVED BUTTONS
───────────────────────────────────────── */
/* Watch on YouTube — featured */
.btn-youtube-featured {
  display: inline-flex; align-items: center; gap: 10px;
  background: #ff0000; color: #fff;
  border-radius: 10px; padding: 12px 22px;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  margin-top: 8px;
}
.btn-youtube-featured:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,0.45);
}

/* Visit Givelink button */
.btn-visit-givelink {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #7c4dff, #5c3cf0);
  color: #fff;
  border-radius: 10px; padding: 11px 20px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(124,77,255,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-visit-givelink:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,77,255,0.5);
}
.btn-visit-givelink .btn-logo {
  width: 18px; height: 18px; border-radius: 4px; object-fit: contain;
}

/* Book a Call button (hero) */
.btn-book-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 10px; padding: 11px 20px;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.btn-book-call:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59,110,248,0.07);
  transform: translateY(-2px);
}
html[data-theme="light"] .btn-book-call { border-color: rgba(0,0,0,0.2); color: var(--navy); }

/* ─────────────────────────────────────────
   PRESS COVERAGE — Custom Placeholder Thumbnails
───────────────────────────────────────── */
.press-thumb-placeholder {
  width: calc(100% + 40px);
  height: 132px;
  margin: -20px -20px 12px;
  border-radius: 12px 12px 0 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ptp-icon { font-size: 2rem; line-height: 1; }
.ptp-label {
  font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.9;
}
.press-thumb-forbes   { background: linear-gradient(135deg, #0a0a0a 0%, #222 100%); color: #fff; }
.press-thumb-athensvoice { background: linear-gradient(135deg, #1a237e 0%, #283593 100%); color: #fff; }
.press-thumb-startupper  { background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); color: #fff; }
.press-thumb-epixeiro    { background: linear-gradient(135deg, #e65100 0%, #f57c00 100%); color: #fff; }
.press-thumb-orangegrove { background: linear-gradient(135deg, #bf360c 0%, #e64a19 100%); color: #fff; }
.press-thumb-patras      { background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%); color: #fff; }
.press-thumb-naftemporiki { background: linear-gradient(135deg, #212121 0%, #424242 100%); color: #fff; }

/* ─────────────────────────────────────────
   OPEN TO SECTION
───────────────────────────────────────── */
.open-to-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .open-to-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .open-to-grid { grid-template-columns: 1fr; }
}
.open-to-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.open-to-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ot-icon {
  font-size: 2rem; margin-bottom: 12px;
}
.open-to-card h4 {
  font-size: 0.97rem; font-weight: 700; color: var(--navy);
  margin-bottom: 8px;
}
.open-to-card p {
  font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin: 0;
}

/* ─────────────────────────────────────────
   EMAIL CAPTURE
───────────────────────────────────────── */
.email-capture {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue) 0%, #7c3aed 100%);
  padding: 2px;
}
.email-capture-inner {
  background: var(--bg);
  border-radius: calc(var(--radius-lg) - 2px);
  padding: 36px 40px;
  display: flex; align-items: center; gap: 40px;
}
@media (max-width: 760px) {
  .email-capture-inner {
    flex-direction: column; gap: 24px; padding: 28px 22px; text-align: center;
  }
  .ec-input-row { flex-direction: column; }
  .ec-btn { width: 100%; }
}
.email-capture-text { flex: 1; }
.ec-eyebrow {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue);
  display: block; margin-bottom: 8px;
}
.email-capture-text h3 {
  font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 6px;
}
.email-capture-text p {
  font-size: 0.85rem; color: var(--text-muted); margin: 0;
}
.email-capture-form { flex-shrink: 0; min-width: 280px; }
.ec-input-row {
  display: flex; gap: 8px; margin-bottom: 8px;
}
.ec-input {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--text);
  font-size: 0.9rem; font-family: inherit;
  outline: none;
}
.ec-input:focus { border-color: var(--blue); }
.ec-btn {
  padding: 10px 18px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 8px;
  font-weight: 700; font-size: 0.9rem; font-family: inherit;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.ec-btn:hover { background: #2952cc; transform: translateY(-1px); }
.ec-disclaimer {
  font-size: 0.72rem; color: var(--text-muted); margin: 0; text-align: center;
}

/* ─────────────────────────────────────────
   LIGHT MODE — COMPREHENSIVE FIX
   Covers every component that uses hardcoded
   dark values instead of CSS variables
───────────────────────────────────────── */

/* ── Cards & containers ── */
html[data-theme="light"] .book-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 12px rgba(15,30,61,0.07);
}
html[data-theme="light"] .book-card:hover {
  box-shadow: 0 8px 28px rgba(15,30,61,0.13);
}
html[data-theme="light"] .book-body h4 { color: var(--navy); }
html[data-theme="light"] .book-author { color: var(--text-muted); }
html[data-theme="light"] .book-highlights li { color: var(--text); }

/* ── Timeline ── */
html[data-theme="light"] .tl-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 12px rgba(15,30,61,0.07);
}
html[data-theme="light"] .tl-card:hover { box-shadow: 0 6px 24px rgba(15,30,61,0.12); }
html[data-theme="light"] .tl-card h3 { color: var(--navy); }
html[data-theme="light"] .tl-company { color: var(--blue); }
html[data-theme="light"] .tl-card p,
html[data-theme="light"] .tl-bullets li { color: var(--text); }
html[data-theme="light"] .tl-date,
html[data-theme="light"] .tl-loc { color: var(--text-muted); }
html[data-theme="light"] .tl-badge.current { background: rgba(59,110,248,0.12); color: var(--blue); }
html[data-theme="light"] .tl-dot { background: var(--border); }
html[data-theme="light"] .tl-line { background: var(--border); }

/* ── LinkedIn post cards ── */
html[data-theme="light"] .li-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 12px rgba(15,30,61,0.07);
}
html[data-theme="light"] .li-card:hover { box-shadow: 0 6px 24px rgba(15,30,61,0.12); }
html[data-theme="light"] .li-text { color: var(--text); }
html[data-theme="light"] .li-author strong { color: var(--navy); }
html[data-theme="light"] .li-author span { color: var(--text-muted); }
html[data-theme="light"] .li-engagement span { color: var(--text-muted); }
html[data-theme="light"] .li-cta { color: var(--blue); }

/* ── Watch section ── */
html[data-theme="light"] .watch-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(15,30,61,0.08); padding-bottom: 12px; }
html[data-theme="light"] .watch-label { color: var(--navy); }
html[data-theme="light"] .watch-summary { color: var(--text-muted); }
html[data-theme="light"] .watch-featured-info h3 { color: var(--navy); }
html[data-theme="light"] .watch-featured-info p { color: var(--text-muted); }

/* ── Project cards ── */
html[data-theme="light"] .project-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 16px rgba(15,30,61,0.08);
}
html[data-theme="light"] .project-card:hover { box-shadow: 0 8px 32px rgba(15,30,61,0.13); }
html[data-theme="light"] .project-card h3 { color: var(--navy); }
html[data-theme="light"] .project-card p { color: var(--text); }
html[data-theme="light"] .project-type { color: var(--text-muted); }
html[data-theme="light"] .proj-metric strong { color: var(--navy); }
html[data-theme="light"] .proj-metric span { color: var(--text-muted); }

/* ── Blog cards ── */
html[data-theme="light"] .blog-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 12px rgba(15,30,61,0.07);
}
html[data-theme="light"] .blog-card:hover { box-shadow: 0 6px 24px rgba(15,30,61,0.12); }
html[data-theme="light"] .blog-card h3 { color: var(--navy); }
html[data-theme="light"] .blog-card p { color: var(--text); }
html[data-theme="light"] .blog-read { color: var(--text-muted); }
html[data-theme="light"] .blog-cta { color: var(--blue); }

/* ── Open To cards ── */
html[data-theme="light"] .open-to-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 12px rgba(15,30,61,0.07);
}
html[data-theme="light"] .open-to-card:hover { box-shadow: 0 8px 28px rgba(15,30,61,0.13); }
html[data-theme="light"] .open-to-card h4 { color: var(--navy); }
html[data-theme="light"] .open-to-card p { color: var(--text-muted); }

/* ── Now section ── */
html[data-theme="light"] .now-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  box-shadow: 0 2px 12px rgba(15,30,61,0.07);
}
html[data-theme="light"] .now-card h4 { color: var(--navy); }
html[data-theme="light"] .now-card p { color: var(--text); }

/* ── Leadership cards ── */
html[data-theme="light"] .leadership-card {
  background: rgba(15,30,61,0.04);
  border-color: rgba(15,30,61,0.1);
}
html[data-theme="light"] .leadership-card:hover { background: rgba(15,30,61,0.07); }
html[data-theme="light"] .lc-body strong { color: var(--navy); }
html[data-theme="light"] .lc-body span { color: var(--text-muted); }

/* ── Programs grid ── */
html[data-theme="light"] .prog-card {
  background: #fff;
  border-color: rgba(15,30,61,0.1);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(15,30,61,0.06);
}
html[data-theme="light"] .prog-card:hover { background: #f0f4ff; }

/* ── Milestone / Journey ── */
html[data-theme="light"] .milestone-track,
html[data-theme="light"] .milestones-track { background: transparent; }
html[data-theme="light"] .ms-card h4 { color: var(--navy); }
html[data-theme="light"] .ms-card p { color: var(--text-muted); }
html[data-theme="light"] .ms-year { color: var(--text-muted); }
html[data-theme="light"] .ms-dot::before { background: var(--blue); border-color: var(--bg-alt); }
html[data-theme="light"] .ms-dot::after { background: rgba(15,30,61,0.15); }
html[data-theme="light"] .journey-xp-bar { background: #fff; border-color: rgba(15,30,61,0.12); }
html[data-theme="light"] .journey-xp-track { background: rgba(15,30,61,0.08); }

/* ── About section ── */
html[data-theme="light"] .about-text p { color: var(--text); }
html[data-theme="light"] .about-tag { background: rgba(15,30,61,0.06); color: var(--navy); border-color: rgba(15,30,61,0.1); }

/* ── Skills ── */
html[data-theme="light"] .skill-group { background: #fff; border-color: rgba(15,30,61,0.1); box-shadow: 0 1px 8px rgba(15,30,61,0.05); }

/* ── Press cards (section stays dark — text already #fff) ── */
html[data-theme="light"] .press-thumb-placeholder { opacity: 0.92; }

/* ── Email capture ── */
html[data-theme="light"] .email-capture-inner { background: #fff; }
html[data-theme="light"] .email-capture-text h3 { color: var(--navy); }
html[data-theme="light"] .email-capture-text p { color: var(--text-muted); }
html[data-theme="light"] .ec-input { background: #f8faff; border-color: rgba(15,30,61,0.15); color: var(--navy); }

/* ── TidyCal embed ── */
html[data-theme="light"] .tidycal-embed-wrap { background: #f8faff; border-color: rgba(15,30,61,0.1); }

/* ── Chat widget ── */
html[data-theme="light"] .chat-panel {
  background: #fff;
  border-color: rgba(15,30,61,0.12);
  box-shadow: 0 16px 48px rgba(15,30,61,0.18);
}
html[data-theme="light"] .chat-header { background: #f5f7ff; border-color: rgba(15,30,61,0.1); }
html[data-theme="light"] .chat-header strong { color: var(--navy); }
html[data-theme="light"] .chat-header span { color: var(--text-muted); }
html[data-theme="light"] .chat-messages { background: #fafbff; }
html[data-theme="light"] .chat-msg.bot p { background: #eef1ff; color: var(--navy); }
html[data-theme="light"] .chat-msg.user p { background: var(--blue); color: #fff; }
html[data-theme="light"] .chat-input-wrap { background: #fff; border-color: rgba(15,30,61,0.1); }
html[data-theme="light"] #chatInput { color: var(--navy); background: transparent; }
html[data-theme="light"] #chatInput::placeholder { color: var(--text-muted); }
html[data-theme="light"] .chat-note { color: var(--text-muted); }
html[data-theme="light"] .chat-starter-chip {
  background: rgba(59,110,248,0.08);
  border-color: rgba(59,110,248,0.2);
  color: var(--blue);
}
html[data-theme="light"] .chat-starter-chip:hover { background: rgba(59,110,248,0.15); }

/* ── Section-alt background text ── */
html[data-theme="light"] .section-sub { color: var(--text-muted); }
html[data-theme="light"] .contact-sub { color: rgba(255,255,255,0.75); }

/* ── Awards grid ── */
html[data-theme="light"] .award-card {
  background: rgba(15,30,61,0.04);
  border-color: rgba(15,30,61,0.1);
}
html[data-theme="light"] .award-card p { color: var(--navy); }
html[data-theme="light"] .award-card:hover { background: rgba(59,110,248,0.08); }

/* ── Chips (general) ── */
html[data-theme="light"] .chip-brand {
  background: rgba(59,110,248,0.08);
  border-color: rgba(59,110,248,0.2);
  color: var(--blue);
}
html[data-theme="light"] .chip-brand:hover { background: var(--blue); color: #fff; }

/* ── Footer ── */
html[data-theme="light"] footer {
  background: #f0f4ff;
  border-top: 1px solid rgba(15,30,61,0.1);
}
html[data-theme="light"] .footer-inner p { color: var(--text-muted); }
html[data-theme="light"] .footer-links a { color: var(--text-muted); }
html[data-theme="light"] .footer-links a:hover { color: var(--navy); }

/* ═══════════════════════════════════════
   IMPROVEMENTS BATCH 2
═══════════════════════════════════════ */

/* ── Chat Starter Chips — redesigned ── */
.chat-starters {
  padding: 8px 14px 10px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg);
  transition: all 0.2s;
}
.chat-starters.hidden { display: none; }
.chat-starters-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.chat-starter-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.18s var(--ease);
  position: relative;
  overflow: hidden;
}
.chat-starter-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(59,110,248,0.06), rgba(124,58,237,0.06));
  opacity: 0;
  transition: opacity 0.2s;
}
.chat-starter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateX(3px);
  box-shadow: 0 2px 12px rgba(59,110,248,0.15);
}
.chat-starter-chip:hover::before { opacity: 1; }
.csc-icon { font-size: 1rem; flex-shrink: 0; }
.csc-text { flex: 1; }
.csc-arrow {
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}
.chat-starter-chip:hover .csc-arrow {
  opacity: 1;
  transform: translateX(0);
}
/* staggered entrance animations */
.chat-starter-chip:nth-child(2) { animation: chip-in 0.3s 0.05s both; }
.chat-starter-chip:nth-child(3) { animation: chip-in 0.3s 0.12s both; }
.chat-starter-chip:nth-child(4) { animation: chip-in 0.3s 0.19s both; }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Badge hover micro-animation ── */
.badge {
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
  cursor: default;
}
.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59,110,248,0.25);
  border-color: rgba(59,110,248,0.4);
}

/* ── Back to Top button ── */
.back-to-top {
  position: fixed; bottom: 90px; left: 24px; z-index: 998;
  width: 44px; height: 44px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(12px);
}
.back-to-top.visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59,110,248,0.4);
}

/* ── Full-screen mobile nav overlay ── */
@media (max-width: 768px) {
  .nav-mobile-wrap {
    display: none;
    position: fixed; inset: 0; z-index: 999;
    background: var(--bg-dark);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 80px 28px 40px;
    overflow-y: auto;
  }
  .nav-mobile-wrap.open {
    display: flex;
  }
  .nav-mobile-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 0; width: 100%; max-width: 320px;
  }
  .nav-mobile-links {
    display: flex; flex-direction: column; gap: 0;
    width: 100%; margin-bottom: 40px;
  }
  .nav-mobile-links li a {
    display: block;
    font-size: 1.6rem; font-weight: 800; color: rgba(255,255,255,0.85);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s;
    letter-spacing: -0.5px;
  }
  .nav-mobile-links li:last-child a { border-bottom: none; }
  .nav-mobile-links li a:hover { color: var(--blue); }
  .nav-mobile-socials {
    display: flex; gap: 20px; margin-bottom: 32px;
  }
  .nav-mobile-socials a {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
  }
  .nav-mobile-socials a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
  .nav-mobile-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: #fff;
    padding: 14px 32px; border-radius: 12px;
    font-weight: 700; font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
  }
  .nav-mobile-cta:hover { background: var(--blue-light); transform: translateY(-2px); color: #fff; }
  /* hamburger → X animation */
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ── Form labels ── */
.form-field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.form-field label, .ec-label {
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ec-label { display: block; margin-bottom: 6px; }

/* ── Logos strip (Featured In) ── */
.logos-strip-wrap {
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.logos-strip-wrap::-webkit-scrollbar { display: none; }
.logos-strip {
  display: flex; align-items: center;
  gap: 0; padding: 0 16px;
  min-width: max-content; margin: 0 auto;
  justify-content: center;
}
@media (max-width: 900px) {
  .logos-strip { justify-content: flex-start; }
}
.logo-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 28px; gap: 4px;
  transition: opacity 0.2s;
}
.logo-item:hover { opacity: 0.8; }
.logo-svg {
  height: 22px; width: auto;
  fill: var(--text-muted);
  display: block;
}

/* ── Real logo images — grayscale + blend-mode for dark/light harmony ── */
.logo-img {
  display: block; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(2) opacity(0.7);
  mix-blend-mode: screen;
  transition: filter 0.2s, opacity 0.2s;
  max-height: 30px;   /* unified baseline */
  max-width: 110px;   /* cap wide logos */
}
.logo-item:hover .logo-img { filter: grayscale(0) brightness(1) opacity(1); mix-blend-mode: normal; }
/* Per-logo fine-tuning for equal visual weight */
.logo-img-forbes  { max-height: 22px; }
.logo-img-wef     { max-height: 30px; max-width: 100px; }
.logo-img-dragons { max-height: 28px; }
.logo-img-mit     { max-height: 26px; }
.logo-img-athens  { max-height: 20px; max-width: 120px; }
.logo-sub {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.6;
  white-space: nowrap;
}
.logo-divider {
  width: 1px; height: 32px;
  background: var(--border); flex-shrink: 0;
}
html[data-theme="light"] .logo-svg { fill: rgba(15,30,61,0.45); }
html[data-theme="light"] .logo-sub { opacity: 0.5; }
html[data-theme="light"] .logo-divider { background: rgba(15,30,61,0.1); }
html[data-theme="light"] .logo-img {
  filter: grayscale(1) opacity(0.55);
  mix-blend-mode: multiply;        /* light bg: dark logos show, white bg disappears */
}
html[data-theme="light"] .logo-item:hover .logo-img { filter: grayscale(0) opacity(1); mix-blend-mode: normal; }

/* ── Press Kit button ── */
.press-kit-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.btn-press-kit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9px;
  color: rgba(255,255,255,0.85); font-size: 0.87rem; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.btn-press-kit:hover {
  background: rgba(255,255,255,0.13);
  color: #fff; border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}
.press-kit-note {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}

/* ── Book share on X ── */
.book-share-x {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px;
  font-size: 0.74rem; font-weight: 700;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.18s;
}
.book-share-x:hover {
  background: #000; color: #fff; border-color: #000;
}

/* ── LinkedIn follow button ── */
.btn-linkedin-follow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: #0A66C2; color: #fff;
  border-radius: 9px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  border: 2px solid transparent;
}
.btn-linkedin-follow:hover {
  background: #004f9a; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,102,194,0.4);
}

/* ── Follow on X button ── */
.btn-x-follow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 24px;
  background: #fff;
  color: #0d1530;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.01em;
}
.btn-x-follow:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255,255,255,0.15);
}

/* ── Social platform labels ── */
.social-platform-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px; margin-top: 48px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}
.social-platform-label:first-of-type { margin-top: 0; }
.social-platform-x { margin-top: 52px; }

/* ── X card accent ── */
.x-card { border-color: rgba(255,255,255,0.1); }
.x-card:hover { border-color: rgba(255,255,255,0.2); box-shadow: var(--shadow-md); }

/* ── 3D card tilt (CSS) ── */
.project-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Globe container ── */
.about-globe-wrap {
  margin-top: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  width: 260px; height: 260px;
  align-self: center;
}

/* ── Light mode overrides for new elements ── */
html[data-theme="light"] .chat-starters { background: #fff; border-color: rgba(15,30,61,0.08); }
html[data-theme="light"] .chat-starters-label { color: var(--text-muted); }
html[data-theme="light"] .chat-starter-chip {
  background: rgba(59,110,248,0.04);
  border-color: rgba(59,110,248,0.15);
  color: var(--navy);
}
html[data-theme="light"] .chat-starter-chip:hover { border-color: var(--blue); color: var(--blue); background: rgba(59,110,248,0.08); }
html[data-theme="light"] .back-to-top { background: #fff; border-color: rgba(15,30,61,0.15); color: var(--text-muted); }
html[data-theme="light"] .back-to-top:hover { background: var(--blue); color: #fff; }
html[data-theme="light"] .form-field label { color: var(--text-muted); }
html[data-theme="light"] .badge:hover { box-shadow: 0 4px 16px rgba(59,110,248,0.18); border-color: rgba(59,110,248,0.3); }

/* ═══════════════════════════════════════════════
   BATCH C — Feature additions
═══════════════════════════════════════════════ */

/* ── Animated gradient sweep on hero name ── */
@keyframes grad-sweep {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.hero-name-accent {
  background: linear-gradient(90deg, #3b6ef8 0%, #d4af37 33%, #10b981 66%, #3b6ef8 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad-sweep 5s linear infinite;
}

/* ── Typewriter cursor ── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-tagline-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--blue);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1px;
  animation: blink 1s step-end infinite;
}

/* ── Language progress bars ── */
.lang-bars { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.lang-bar-item { display: flex; align-items: center; gap: 10px; }
.lang-bar-label { width: 140px; font-size: 0.8rem; color: var(--text-muted); flex-shrink: 0; font-weight: 500; }
.lang-bar-track {
  flex: 1; height: 6px;
  background: rgba(255,255,255,0.09);
  border-radius: 99px; overflow: hidden;
}
.lang-bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), #10b981);
  width: 0;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.lang-bar-pct { font-size: 0.75rem; color: var(--text-muted); width: 36px; text-align: right; flex-shrink: 0; }

/* ── YouTube lite façade ── */
.yt-facade {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
}
.yt-facade img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}
.yt-facade:hover img { transform: scale(1.05); }
.yt-facade .yt-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.yt-facade .yt-play-btn svg {
  width: 62px; height: 62px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.7));
  transition: transform 0.2s;
}
.yt-facade:hover .yt-play-btn svg { transform: scale(1.14); }
.yt-facade iframe {
  display: none;
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.yt-facade.yt-active img,
.yt-facade.yt-active .yt-play-btn { display: none; }
.yt-facade.yt-active iframe { display: block; }

/* ── Watch grid mobile horizontal scroll-snap ── */
@media (max-width: 768px) {
  .watch-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .watch-grid::-webkit-scrollbar { display: none; }
  .watch-card {
    scroll-snap-align: start;
    flex: 0 0 80vw;
    max-width: 320px;
  }
}

/* ── Press card thumbnail hover zoom ── */
.press-thumb-placeholder {
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.press-card:hover .press-thumb-placeholder { transform: scale(1.03); }
.press-thumb-placeholder .ptp-icon {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.press-card:hover .ptp-icon { transform: scale(1.2); }

/* ── Chat typing dots ── */
@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40%            { transform: translateY(-6px); opacity: 1; }
}
.chat-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}
.chat-typing-dots span {
  width: 7px; height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ── Random insight button & display ── */
.books-insight-wrap { text-align: center; margin-top: 36px; }
.btn-random-insight {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all 0.18s var(--ease);
}
.btn-random-insight:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.07);
  transform: translateY(-1px);
}
.insight-display {
  max-width: 560px;
  margin: 18px auto 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 18px 22px;
  display: none;
  text-align: left;
}
.insight-display.visible {
  display: block;
  animation: fade-in-up 0.3s ease;
}
.insight-text { font-size: 0.9rem; line-height: 1.75; color: var(--text); margin: 0 0 8px; font-style: italic; }
.insight-source { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ── Light mode overrides for batch C ── */
html[data-theme="light"] .lang-bar-track { background: rgba(15,30,61,0.09); }
html[data-theme="light"] .btn-random-insight { border-color: rgba(15,30,61,0.15); color: var(--text-muted); }
html[data-theme="light"] .btn-random-insight:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.07); }
html[data-theme="light"] .insight-display { background: #fff; }
html[data-theme="light"] .chat-typing-dots span { background: #bbb; }

/* ═══════════════════════════════════════════════
   BATCH D — UI polish, mobile, SEO helpers
═══════════════════════════════════════════════ */

/* ── Hero particle canvas ── */
#hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── Hero wave divider ── */
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  line-height: 0; z-index: 2; pointer-events: none;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* ── Award flip cards ── */
.award-flip {
  perspective: 900px;
  height: 110px;
  opacity: 0; transform: translateY(18px); transition: opacity 0.4s, transform 0.4s;
}
.award-flip.visible { opacity: 1; transform: translateY(0); }
.award-flip-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.award-flip:hover .award-flip-inner,
.award-flip.flipped .award-flip-inner { transform: rotateY(180deg); }
.award-front, .award-back {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.award-front {
  background: var(--card-bg);
  gap: 8px;
}
.award-front .award-emoji { font-size: 1.6rem; }
.award-front p { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; line-height: 1.45; margin: 0; }
.award-back {
  background: linear-gradient(135deg, rgba(59,110,248,0.15), rgba(59,110,248,0.05));
  border-color: rgba(59,110,248,0.3);
  transform: rotateY(180deg);
  gap: 10px; padding: 14px 14px;
}
.award-back p { font-size: 0.78rem; color: var(--text); line-height: 1.55; margin: 0; }
.award-back-link {
  font-size: 0.73rem; font-weight: 600;
  color: var(--blue); text-decoration: none;
  border-bottom: 1px solid rgba(59,110,248,0.3);
  transition: color 0.15s;
}
.award-back-link:hover { color: #fff; border-color: #fff; }

/* ── Chip tooltip ── */
.chip[data-tooltip] { position: relative; cursor: default; }
.chip[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--navy,#0f1e3d); color: #fff;
  font-size: 0.72rem; font-weight: 400; line-height: 1.45;
  white-space: nowrap; max-width: 220px; white-space: normal; text-align: center;
  padding: 6px 10px; border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  pointer-events: none; opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 100;
}
.chip[data-tooltip]::before {
  content: '';
  position: absolute; bottom: calc(100% + 4px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--navy,#0f1e3d);
  pointer-events: none; opacity: 0;
  transition: opacity 0.18s, transform 0.18s; z-index: 100;
}
.chip[data-tooltip]:hover::after,
.chip[data-tooltip]:focus::after {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.chip[data-tooltip]:hover::before,
.chip[data-tooltip]:focus::before {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ── About photo hover effect ── */
.about-photo-wrap {
  position: relative; display: inline-block;
  transition: transform 0.35s var(--ease,ease);
  transform-origin: center bottom;
}
.about-photo-wrap:hover { transform: scale(1.03) translateY(-4px); }
.about-photo-wrap .about-photo-placeholder {
  display: block; width: 100%; max-width: 260px;
  border-radius: 20px;
  transition: box-shadow 0.35s var(--ease,ease);
}
.about-photo-wrap:hover .about-photo-placeholder {
  box-shadow: 0 16px 48px rgba(59,110,248,0.25);
}

/* ── Copy-email button ── */
.contact-card-email {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-card-email:hover { border-color: rgba(59,110,248,0.35); box-shadow: var(--shadow-sm); }
.contact-card-inner-link {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit; flex: 1; min-width: 0;
}
.contact-card-inner-link strong { display: block; font-weight: 600; font-size: 0.92rem; }
.contact-card-inner-link p { margin: 2px 0 0; font-size: 0.82rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes copy-green-flash {
  0%   { background: rgba(34,197,94,0.28); box-shadow: 0 0 0 3px rgba(34,197,94,0.22); }
  60%  { background: rgba(34,197,94,0.12); box-shadow: 0 0 0 1px rgba(34,197,94,0.10); }
  100% { background: rgba(34,197,94,0.08); box-shadow: none; }
}
@keyframes check-pop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}
.copy-email-btn {
  flex-shrink: 0; background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 7px; cursor: pointer;
  color: var(--text-muted); transition: background 0.18s, border-color 0.18s, color 0.18s;
  display: flex; align-items: center; justify-content: center;
}
.copy-email-btn:hover { background: rgba(59,110,248,0.1); border-color: var(--blue); color: var(--blue); }
.copy-email-btn.copied {
  border-color: #22c55e; color: #22c55e;
  animation: copy-green-flash 1.5s ease forwards;
}
.copy-email-btn.copied .check-icon { animation: check-pop 0.3s cubic-bezier(0.34,1.56,0.64,1) forwards; }

/* ── Spotify lazy facade ── */
.spotify-facade {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.spotify-facade:hover { border-color: #1DB954; box-shadow: 0 4px 20px rgba(29,185,84,0.15); }
.spotify-facade-inner {
  display: flex; align-items: center; gap: 14px;
}
.spotify-facade-icon { color: #1DB954; flex-shrink: 0; }
.spotify-facade-title { font-size: 0.88rem; font-weight: 600; color: var(--text); margin: 0 0 2px; }
.spotify-facade-sub { font-size: 0.76rem; color: var(--text-muted); margin: 0; }
.spotify-play-btn { margin-left: auto; flex-shrink: 0; }
.spotify-facade.loaded { padding: 0; border: none; background: none; cursor: default; }
.spotify-facade.loaded:hover { box-shadow: none; }
.spotify-facade.loaded .spotify-facade-inner { display: none; }
.spotify-facade.loaded iframe { display: block !important; }

/* ── Mobile: ensure hero photo visible ── */
@media (max-width: 768px) {
  .hero-avatar {
    display: block !important;
    width: 100px; height: 100px;
    margin: 0 auto 22px;
  }
  .hero-content { text-align: center; }
  .hero-badges { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-avatar { width: 88px; height: 88px; }
  .about-photo-wrap { display: flex; justify-content: center; }
  .about-photo-placeholder { max-width: 200px !important; }
}

/* ── Light mode overrides for Batch D ── */
html[data-theme="light"] .award-front { background: #fff; }
html[data-theme="light"] .award-back { background: rgba(59,110,248,0.06); }
html[data-theme="light"] .award-back p { color: var(--navy); }
html[data-theme="light"] .award-back-link { color: var(--blue); }
html[data-theme="light"] .chip[data-tooltip]::after { background: var(--navy); }
html[data-theme="light"] .chip[data-tooltip]::before { border-top-color: var(--navy); }
html[data-theme="light"] .spotify-facade { background: #fff; }
html[data-theme="light"] .contact-card-email { background: #fff; }
html[data-theme="light"] .copy-email-btn { border-color: rgba(15,30,61,0.15); color: #888; }

/* ═══════════════════════════════════════════════
   BATCH E — comprehensive mobile/desktop improvements
═══════════════════════════════════════════════ */

/* ── Nav logo photo fix ── */
/* nav-avatar handles the circular photo — see .nav-avatar above */

/* ── Impact bar hero stat centered ── */
.impact-bar-inner { flex-direction: column; gap: 0; align-items: center; padding: 28px 20px; }
.impact-center-hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  width: 100%;
}
.impact-num-big {
  font-size: clamp(3.2rem, 12vw, 5.5rem) !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 40%, #3b6ef8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; letter-spacing: -0.02em;
}
.impact-label-big {
  font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-top: 6px;
  letter-spacing: 0.01em;
}
.impact-stats-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0; width: 100%; padding-top: 16px;
}
.impact-stats-row .impact-stat {
  padding: 10px 14px; text-align: center; flex: 1; min-width: 120px;
}
.impact-stats-row .impact-num { font-size: 1.35rem !important; font-weight: 800 !important; }
.impact-stats-row .impact-label { font-size: 0.72rem !important; }
.impact-stats-row .impact-divider { display: none; }

@media (min-width: 700px) {
  .impact-bar-inner { flex-direction: row; align-items: center; justify-content: center; gap: 0; padding: 24px 32px; }
  .impact-center-hero { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.12); padding: 0 28px 0 0; flex: 0 0 auto; min-width: 180px; }
  .impact-num-big { font-size: clamp(2.8rem, 4vw, 4rem) !important; }
  .impact-stats-row { flex-wrap: nowrap; flex: 1; padding-top: 0; }
  .impact-stats-row .impact-divider { display: block; }
}
@media (max-width: 420px) {
  .impact-stats-row .impact-stat { min-width: 90px; padding: 8px 6px; }
  .impact-stats-row .impact-num { font-size: 1.1rem !important; }
  .impact-stats-row .impact-label { font-size: 0.65rem !important; }
}

/* ── Chip tooltip — fix positioning on small screens ── */
@media (max-width: 600px) {
  .chip[data-tooltip]::after {
    left: 50%; transform: translateX(-50%) translateY(4px);
    max-width: min(200px, 80vw);
    white-space: normal; text-align: center;
  }
  .chip[data-tooltip]::before { left: 50%; transform: translateX(-50%) translateY(4px); }
  .chip[data-tooltip]:hover::after,
  .chip[data-tooltip]:focus::after { transform: translateX(-50%) translateY(0); }
  .chip[data-tooltip]:hover::before,
  .chip[data-tooltip]:focus::before { transform: translateX(-50%) translateY(0); }
}
/* Fix tooltip overflow on all screens */
.skill-group { position: relative; overflow: visible; }
.chips { position: relative; overflow: visible; }

/* ── TidyCal embed ── */
.tidycal-wrap {
  margin-top: 40px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  max-width: 820px; margin-left: auto; margin-right: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

/* ── Award flip — mobile touch ── */
@media (hover: none) {
  .award-flip:active .award-flip-inner { transform: rotateY(180deg); }
  .award-flip.flipped .award-flip-inner { transform: rotateY(180deg); }
}

/* ── Sticky CTA — smaller on phones ── */
@media (max-width: 375px) {
  .sticky-cta { padding: 10px 14px; font-size: 0.82rem; }
  .sticky-cta svg { width: 14px; height: 14px; }
}

/* ── Book covers — 2 columns on mobile ── */
@media (max-width: 580px) {
  .books-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .book-card { padding: 8px; display: flex; flex-direction: column; }
  .book-cover-wrap { height: 110px; overflow: hidden; border-radius: 8px; }
  .book-cover-img { width: 100%; height: 100%; object-fit: cover; }
  .book-highlights { display: none; }
  .book-body { padding: 6px 2px 0; }
  .book-body h4 { font-size: 0.72rem; line-height: 1.3; margin-bottom: 2px; }
  .book-author { font-size: 0.65rem; margin-bottom: 4px; }
  .book-share-x { font-size: 0.62rem; padding: 3px 7px; margin-top: auto; }
}

/* ── Chat widget height cap on small phones ── */
@media (max-width: 480px) {
  #chatWidget { max-height: 60vh; }
  .chat-messages { max-height: calc(60vh - 120px); }
  .chat-widget-inner { height: 60vh; }
}

/* ── Nav logo + hamburger — 320px safeguard ── */
@media (max-width: 340px) {
  .nav-inner { gap: 4px; }
  .nav-logo { width: 30px; height: 30px; flex-shrink: 0; min-width: 0; }
  .nav-logo-name { display: none; }
}

/* ── Footer tap targets ── */
.footer-links a, .footer-socials a {
  min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ── Active nav indicator (sliding underline) ── */
.nav-links { position: relative; }
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 50%; right: 50%;
  height: 2px; border-radius: 2px;
  background: var(--blue);
  transition: left 0.25s var(--ease,ease), right 0.25s var(--ease,ease);
}
.nav-link.active::after,
.nav-link:hover::after { left: 0; right: 0; }

/* ── Hero section — safe viewport height ── */
#hero {
  min-height: 100svh;
}
@supports not (min-height: 100svh) {
  #hero { min-height: 100vh; }
}

/* ── Cursor spotlight ── */
.cursor-spotlight {
  pointer-events: none; position: fixed; z-index: 9999;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,110,248,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}

/* ── Project card image zoom on hover ── */
.project-img { overflow: hidden; }
.project-img img,
.project-img .company-logo-img { transition: transform 0.4s var(--ease,ease); }
.project-card:hover .project-img img,
.project-card:hover .project-img .company-logo-img { transform: scale(1.05); }

/* ── Back to top — progress ring ── */
.back-to-top {
  position: relative;
}
.back-to-top svg.progress-ring {
  position: absolute; top: -4px; left: -4px;
  width: calc(100% + 8px); height: calc(100% + 8px);
  transform: rotate(-90deg);
  pointer-events: none;
}
.back-to-top .ring-track { fill: none; stroke: var(--border); stroke-width: 2; }
.back-to-top .ring-fill {
  fill: none; stroke: var(--blue); stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 113; stroke-dashoffset: 113;
  transition: stroke-dashoffset 0.2s linear;
}

/* ── Book cover — ensure always fills space ── */
.book-cover-wrap { background: linear-gradient(135deg, rgba(59,110,248,0.15), rgba(59,110,248,0.05)); border-radius: 10px; overflow: hidden; }
.book-cover-img {
  min-height: 140px; object-fit: cover; display: block;
  width: 100%; background: linear-gradient(135deg, #1a2a4a, #0f1e3d);
}

/* ── Light mode overrides batch E ── */
html[data-theme="light"] .tidycal-wrap { border-color: rgba(15,30,61,0.1); }
html[data-theme="light"] .nav-link::after { background: var(--blue); }

/* ── Mobile nav close button & header ── */
.nav-mobile-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 4px;
}
.nav-mobile-title {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
}
.nav-mobile-close {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 6px; cursor: pointer;
  color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.nav-mobile-close:hover { background: rgba(255,255,255,0.14); color: #fff; }
html[data-theme="light"] .nav-mobile-header { border-bottom-color: rgba(15,30,61,0.08); }
html[data-theme="light"] .nav-mobile-close { background: rgba(15,30,61,0.05); border-color: rgba(15,30,61,0.1); color: var(--text-muted); }
html[data-theme="light"] .nav-mobile-close:hover { background: rgba(59,110,248,0.08); color: var(--blue); }

/* ── Chat header new conversation button ── */
.chat-header-actions { display: flex; align-items: center; gap: 4px; }
.chat-new-btn {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.chat-new-btn:hover {
  background: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
  transform: scale(1.08);
}
.chat-new-btn:active { transform: scale(0.95); }

/* ── Bold/italic inside chat bubbles ── */
.chat-msg p strong { font-weight: 700; color: inherit; }
.chat-msg p em { font-style: italic; color: inherit; }

/* ── Timeline active-item left-rail highlight ── */
.timeline-item.tl-active .tl-dot {
  background: var(--blue);
  border-color: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(59,110,248,0.18), 0 0 16px rgba(59,110,248,0.5);
  transform: scale(1.3);
  transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
}
.timeline-item.tl-active .tl-date {
  color: var(--blue-light);
  text-shadow: 0 0 12px rgba(99,140,255,0.4);
}
.timeline-item.tl-active .tl-card {
  border-color: rgba(59,110,248,0.35);
  background: rgba(59,110,248,0.05);
}
html[data-theme="light"] .timeline-item.tl-active .tl-card {
  border-color: rgba(59,110,248,0.3);
  background: rgba(59,110,248,0.04);
}

/* ── Timeline connector draw animation ── */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue) var(--draw-pct, 0%), var(--border) var(--draw-pct, 0%));
  transition: background 0.1s;
}

/* ── For You If section ── */
.for-you-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 36px 0 32px;
}
.for-you-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(59,110,248,0.25);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-light);
  transition: border-color 0.2s, transform 0.22s, box-shadow 0.22s, background 0.2s;
  cursor: default;
}
.for-you-item::before {
  content: '✦';
  font-size: 0.75rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.for-you-item:hover {
  border-color: rgba(59,110,248,0.5);
  border-left-color: var(--blue);
  background: rgba(59,110,248,0.05);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(59,110,248,0.1);
}
.for-you-item:hover::before {
  opacity: 1;
  transform: scale(1.2);
}
.for-you-not {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  max-width: 560px;
  margin: 0 auto;
}
.for-you-not em { font-style: italic; color: var(--text-light); }
.for-you-not a { color: var(--blue); text-decoration: none; }
.for-you-not a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .for-you-grid { grid-template-columns: 1fr; }
}

/* ── Why Built Note ── */
.why-built-note {
  margin-top: 48px;
  padding: 24px 28px;
  border-left: 3px solid var(--blue);
  background: rgba(59,110,248,0.04);
  border-radius: 0 12px 12px 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.why-built-note p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}
.why-built-note strong { color: var(--text); font-weight: 700; }

/* ── Podcast page ── */
.podcast-stats-strip {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.podcast-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  min-width: 140px;
  flex: 1;
  max-width: 200px;
  transition: border-color 0.2s, transform 0.2s;
}
.podcast-stat-card:hover { border-color: rgba(59,110,248,0.3); transform: translateY(-2px); }
.podcast-stat-number {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 5px;
}
.podcast-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
/* Platform row (hero) */
.podcast-platform-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.podcast-platforms {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.podcast-platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  background: var(--card-bg);
}
.podcast-platform-btn:hover {
  border-color: var(--blue);
  background: rgba(59,110,248,0.08);
  color: var(--text);
  transform: translateY(-2px);
}
.podcast-platform-btn-yt:hover { border-color: #ff0000; background: rgba(255,0,0,0.06); }
/* Video grid */
.podcast-episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.podcast-episode-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.podcast-episode-card:hover {
  border-color: rgba(59,110,248,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.podcast-episode-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.podcast-episode-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.podcast-episode-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ep-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--blue);
  background: rgba(59,110,248,0.1);
  padding: 3px 9px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}
.podcast-episode-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2px 0 0;
}
.podcast-episode-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
/* CTA card variant */
.podcast-episode-card-cta {
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59,110,248,0.08), rgba(59,110,248,0.03));
  border-style: dashed;
}
.podcast-episode-card-cta:hover { border-style: solid; }
.podcast-episode-cta-inner {
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.podcast-episode-cta-inner h4 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.podcast-episode-cta-inner p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) {
  .podcast-episodes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .podcast-episodes-grid { grid-template-columns: 1fr; }
  .podcast-stat-card { min-width: 120px; padding: 18px 20px; }
}

/* ── Now page ── */
.now-page-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 740px;
  margin: 0 auto;
}
.now-page-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.now-page-block:hover {
  border-color: rgba(59,110,248,0.3);
  transform: translateX(4px);
}
.now-page-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.now-page-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.now-page-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}
.now-page-footer-note {
  margin-top: 48px;
  text-align: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  background: var(--card-bg);
}
.now-page-footer-note p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}
.now-page-footer-note a { color: var(--blue); }

/* ── Beliefs page ── */
.beliefs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.belief-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px 28px 24px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.belief-block:hover {
  border-color: rgba(59,110,248,0.35);
  transform: translateY(-3px);
}
.belief-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.belief-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.belief-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 680px) {
  .beliefs-grid { grid-template-columns: 1fr; }
  .now-page-block { flex-direction: column; gap: 12px; padding: 20px; }
}
