/* ============================================
   ESHANTHSAI VANAM — PORTFOLIO
   Clean Modern · Metallic Chrome · Soft Glow
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&display=swap');

/* ── Variables ── */
:root {
  --bg: #09090b;
  --bg-subtle: #0c0c0f;
  --surface: rgba(255,255,255,0.03);
  --surface-border: rgba(255,255,255,0.06);
  --surface-hover: rgba(255,255,255,0.06);

  --accent: #22c55e;
  --accent-dim: rgba(34,197,94,0.5);
  --accent-subtle: rgba(34,197,94,0.08);
  --red: #ef4444;
  --red-dim: rgba(239,68,68,0.5);

  --white: #fafafa;
  --grey-1: #d4d4d8;
  --grey-2: #a1a1aa;
  --grey-3: #71717a;
  --grey-4: #3f3f46;
  --grey-5: #27272a;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.1);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --max-w: 1200px;
  --section-pad: 96px;
  --nav-h: 56px;
  --ticker-h: 28px;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(34,197,94,0.08);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--grey-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(34,197,94,0.15);
  color: var(--white);
}

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

/* Keep the arrow cursor over text — no I-beam anywhere */
h1, h2, h3, h4, p, span, li, blockquote, td, th, label { cursor: default; }
a, button, a *, button * { cursor: pointer; }

/* Home page: text cannot be selected */
.page-home {
  user-select: none;
  -webkit-user-select: none;
}

/* ── Ticker Tape ── */
.ticker-tape {
  position: fixed; top: 0; left: 0;
  width: 100%; height: var(--ticker-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10001;
  overflow: hidden;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-content {
  display: flex; white-space: nowrap; flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.3px;
}
.ticker-content span { padding: 0 12px; }
.ticker-up { color: var(--accent); }
.ticker-down { color: var(--red); }
.ticker-separator { color: var(--grey-4); }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: calc(var(--ticker-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 900px;
  height: var(--nav-h);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  z-index: 10000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 1px 1px 2px rgba(255,255,255,0.05),
    inset -1px -1px 2px rgba(255,255,255,0.02),
    0 4px 24px rgba(0,0,0,0.35),
    0 0 1px rgba(255,255,255,0.08);
  transition: all 0.35s ease;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.1);
  box-shadow:
    inset 1px 1px 3px rgba(255,255,255,0.06),
    inset -1px -1px 3px rgba(255,255,255,0.03),
    0 8px 32px rgba(0,0,0,0.45),
    0 0 1px rgba(255,255,255,0.1);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.3s, text-shadow 0.3s;
}
.nav-logo:hover {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(34,197,94,0.4);
}

.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  font-size: 13px; font-weight: 500;
  color: var(--grey-3);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s, transform 0.25s;
  display: flex; align-items: center; gap: 4px;
}
.nav-links > li > a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.nav-links > li > a.active {
  color: var(--accent);
  background: rgba(34,197,94,0.08);
}

.dropdown-arrow { font-size: 10px; opacity: 0.5; }

.nav-item-github {
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid var(--border-strong);
}
.nav-item-github a svg { width: 15px; height: 15px; }

.dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 180px;
  background: rgba(12,12,15,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 4px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  list-style: none;
  box-shadow: var(--shadow-lg);
}
.nav-links > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--grey-2);
  text-decoration: none;
  font-size: 13px;
  border-radius: 8px;
  transition: all 0.15s;
}
.dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.hamburger span { width: 20px; height: 1.5px; background: var(--grey-1); transition: all 0.3s; display: block; }
.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); }

/* ── Main ── */
main { padding-top: calc(var(--ticker-h) + var(--nav-h)); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-pad) 0; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1rem, 1.5vw, 1.25rem); }
h4 { font-size: 1rem; }

.mono { font-family: var(--font-mono); color: var(--accent); }
.label {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase;
}
.text-muted { color: var(--grey-3); }

/* ============================
   HERO — Clean Modern Layout
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

/* Ambient light orbs — soft, diffused, like the reference */
.hero-ambient {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.ambient-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  top: -200px; left: 10%;
  animation: float-slow 20s ease-in-out infinite;
}
.ambient-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.03) 0%, transparent 70%);
  bottom: -100px; right: 5%;
  animation: float-slow 25s ease-in-out infinite reverse;
}
.ambient-orb-3 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(15px); }
}

.hero-canvas-container {
  position: absolute; inset: 0; z-index: 1;
}
#candlestickCanvas {
  width: 100%; height: 100%;
}

.hero-fade-bottom {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 40%;
  background: linear-gradient(transparent, var(--bg));
  z-index: 2;
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 800px; padding: 0 24px;
}

/* ── Glass 3D Text ── */
.glass-text {
  position: relative;
  display: inline-block;
  color: transparent;
  /* Layered chrome/glass gradient */
  background:
    linear-gradient(
      170deg,
      rgba(255,255,255,1) 0%,
      rgba(160,160,175,0.65) 20%,
      rgba(255,255,255,1) 35%,
      rgba(140,140,160,0.5) 50%,
      rgba(255,255,255,0.95) 65%,
      rgba(155,155,170,0.6) 80%,
      rgba(255,255,255,1) 100%
    );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glass-shimmer 10s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Inner highlight — simulates glass refraction edge */
.glass-text::before {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.15) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255,255,255,0.05) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
}

@keyframes glass-shimmer {
  0%, 100% { background-position: 0% 50%; }
  33% { background-position: 100% 0%; }
  66% { background-position: 50% 100%; }
}

.hero-title {
  font-size: clamp(3.5rem, 8.5vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-info {
  margin-bottom: 44px;
}

.hero-description {
  font-size: 16px; color: var(--grey-1);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  font-weight: 500;
}
.hero-description-sm {
  font-size: 14px; color: var(--grey-3);
  font-weight: 400;
}

.hero-buttons {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ── Button System ── */

/* Liquid Glass Button */
.btn-glass {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 32px; height: 46px;
  text-decoration: none;
  border-radius: var(--radius-full);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s;
}

/* Frosted glass background layer */
.btn-glass-bg {
  position: absolute; inset: 0;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 1px 1px 2px rgba(255,255,255,0.07),
    inset -1px -1px 2px rgba(255,255,255,0.04),
    inset 0 0 12px rgba(255,255,255,0.02),
    0 2px 8px rgba(0,0,0,0.15),
    0 0 1px rgba(255,255,255,0.1);
  transition: all 0.35s;
}

/* Sweep shine layer — hidden */
.btn-glass-shine {
  display: none;
}

.btn-glass-label {
  position: relative; z-index: 1;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--grey-1);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.btn-glass:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(34,197,94,0.15), 0 0 24px rgba(34,197,94,0.08);
}
.btn-glass:hover .btn-glass-bg {
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.05);
  box-shadow:
    inset 1px 1px 3px rgba(255,255,255,0.1),
    inset -1px -1px 3px rgba(255,255,255,0.06),
    0 0 30px rgba(34,197,94,0.1);
}
.btn-glass:hover .btn-glass-label {
  color: var(--white);
  text-shadow: 0 0 12px rgba(34,197,94,0.3);
}
.btn-glass:active { transform: translateY(0) scale(0.97); }

/* Standard outline button (inner pages) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 28px; height: 40px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--grey-1);
  background: transparent;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: var(--white);
}
.btn-filled {
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); font-weight: 600;
}
.btn-filled:hover { background: #16a34a; }
.btn-small { padding: 8px 20px; font-size: 12px; height: 36px; }

.magnetic-btn { transition: transform 0.3s cubic-bezier(0.23,1,0.32,1); }

/* ── Cards ── */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  text-decoration: none; display: block;
  overflow: hidden;
}
.card-shine {
  position: absolute; inset: 0;
  background: radial-gradient(
    600px circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255,255,255,0.03),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover .card-shine { opacity: 1; }
.card:hover {
  border-color: rgba(255,255,255,0.1);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon-wrap {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: var(--accent-subtle);
  border-radius: 10px;
}
.card h3 { margin-bottom: 8px; font-size: 16px; }
.card p { color: var(--grey-3); font-size: 14px; line-height: 1.7; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Stat Cards ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 40px 0;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.stat-card:hover {
  border-color: rgba(34,197,94,0.15);
  box-shadow: var(--shadow-glow);
}
.stat-number {
  font-family: var(--font-mono);
  font-size: 2.2rem; font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px; display: block;
}
.stat-label {
  font-size: 11px; color: var(--grey-3);
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500;
}

/* ── Page Hero ── */
.page-hero {
  position: relative;
  width: 100%; height: 280px;
  overflow: hidden;
}
.page-hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-hero-placeholder {
  width: 100%; height: 100%;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-4);
  font-family: var(--font-mono); font-size: 11px;
  background: var(--bg-subtle);
}
.page-hero-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
  background: linear-gradient(transparent, var(--bg));
}

/* ── Layout ── */
.two-col { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.two-col-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ── About ── */
.bio-text { font-size: 17px; line-height: 1.85; color: var(--grey-2); }
.bio-text p { margin-bottom: 18px; }
.bio-text p:first-child { font-size: 24px; color: var(--white); font-weight: 600; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-card .label { display: block; margin-bottom: 20px; }
.contact-card a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
.contact-card a:hover { opacity: 0.8; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; color: var(--grey-2); font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.contact-link:last-of-type { border-bottom: none; }
.contact-link svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.contact-photo-placeholder {
  width: 100%; height: 180px;
  border: 1px dashed var(--grey-5);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-4); font-family: var(--font-mono); font-size: 10px;
  margin-top: 20px; background: var(--bg-subtle);
}

.timeline-strip {
  display: flex; gap: 8px; overflow-x: auto; padding: 16px 0;
  scrollbar-width: thin; scrollbar-color: var(--grey-5) transparent;
}
.timeline-pill {
  flex-shrink: 0; padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 500;
  color: var(--grey-3); white-space: nowrap;
  transition: all 0.2s;
}
.timeline-pill:hover { border-color: rgba(255,255,255,0.12); color: var(--grey-1); }

/* ── Trading ── */
.sub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.sub-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}
.sub-card:hover { border-color: rgba(255,255,255,0.1); }
.sub-card h4 {
  color: var(--accent); margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.sub-card p { color: var(--grey-3); font-size: 13px; line-height: 1.7; }

.teal-list { list-style: none; margin: 20px 0; }
.teal-list li {
  padding: 10px 0 10px 24px; position: relative;
  color: var(--grey-2); font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.teal-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.process-flow { display: flex; align-items: center; margin: 24px 0; flex-wrap: wrap; gap: 0; }
.process-step {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 12px; font-weight: 500; color: var(--grey-1);
}
.process-arrow { color: var(--grey-4); font-size: 14px; padding: 0 8px; flex-shrink: 0; }

.metrics-inline { display: flex; gap: 32px; margin: 20px 0; flex-wrap: wrap; }
.metric-item { display: flex; flex-direction: column; }
.metric-item .metric-value {
  font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--accent);
}
.metric-item .metric-label {
  font-size: 11px; color: var(--grey-3);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 4px;
}

.teal-banner {
  background: var(--accent); color: var(--bg);
  text-align: center; padding: 20px;
  font-weight: 700; font-family: var(--font-heading);
  font-size: 14px; letter-spacing: 1px;
  border-radius: var(--radius); margin: 40px 0;
}

.divider-banner {
  text-align: center; padding: 60px 0;
  font-size: 13px; color: var(--grey-3);
  letter-spacing: 3px; text-transform: uppercase;
  position: relative;
}
.divider-banner::before {
  content: ''; position: absolute;
  left: 50%; top: 50%; transform: translateX(-50%);
  width: 120px; height: 1px;
  background: var(--border-strong);
}

.disclaimer {
  font-style: italic; color: var(--grey-3);
  font-size: 13px; margin-top: 20px;
  padding-left: 16px; border-left: 2px solid var(--grey-5);
}

/* ── Embeds / Placeholders ── */
.embed-placeholder {
  width: 100%; min-height: 400px;
  border: 1px dashed var(--grey-5);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
  color: var(--grey-4); font-family: var(--font-mono);
  font-size: 11px; line-height: 2;
  background: var(--bg-subtle); margin: 24px 0;
}

.img-placeholder {
  width: 100%; height: 260px;
  border: 1px dashed var(--grey-5);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-4); font-family: var(--font-mono); font-size: 11px;
  background: var(--bg-subtle); margin: 24px 0;
}

/* ── Mentor Cards ── */
.mentor-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.mentor-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 40px; text-align: center;
  transition: all 0.3s;
}
.mentor-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-2px); }
.mentor-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  border: 1px dashed var(--grey-5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--grey-4); font-family: var(--font-mono); font-size: 9px;
  background: var(--bg-subtle);
}
.mentor-card h3 { margin-bottom: 8px; }
.mentor-card p { color: var(--grey-3); font-size: 14px; margin-bottom: 16px; }

.mentor-profile {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}
.mentor-headshot {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
}
.mentor-bio h3 { margin-bottom: 12px; }
.mentor-bio p { color: var(--grey-2); font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
.mentor-bio .btn { margin-top: 4px; }

/* ── Research ── */
.research-blocks { display: grid; gap: 16px; margin: 32px 0; }
.research-block {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}
.research-block:hover { border-color: rgba(255,255,255,0.1); }
.research-block h3 {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 10px;
}
.research-block p { color: var(--grey-3); font-size: 14px; line-height: 1.8; }

.cta-group { display: flex; gap: 12px; margin: 40px 0; flex-wrap: wrap; }

.resource-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.resource-table th, .resource-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.resource-table th {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--grey-3); text-transform: uppercase; letter-spacing: 1.5px;
}
.resource-table td { font-size: 13px; color: var(--grey-2); }
.resource-table td a { color: var(--accent); text-decoration: none; }
.resource-table td a:hover { text-decoration: underline; }
.resource-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.doc-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px; text-align: center;
  transition: all 0.2s;
}
.doc-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-2px); }
.doc-card h4 { margin-bottom: 10px; font-size: 15px; }
.doc-card p { color: var(--grey-3); font-size: 13px; margin-bottom: 16px; }

.section-header { margin-bottom: 40px; }

.page-title { padding: 60px 0 40px; }
.page-title h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.page-title .teal-underline {
  width: 48px; height: 2px; background: var(--accent);
  margin-top: 16px; border-radius: 1px;
}

.strategy-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px; margin: 24px 0;
}
.strategy-card h3 { margin-bottom: 16px; }
.strategy-card p { color: var(--grey-3); font-size: 14px; line-height: 1.8; }
.footnote { font-size: 12px; color: var(--grey-4); font-style: italic; margin-top: 12px; }

.cert-video-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.cert-video-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.cert-video-card h4 {
  margin-bottom: 12px; color: var(--accent);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.cert-video-card p { color: var(--grey-3); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }

.intro-banner {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 48px; text-align: center; margin-bottom: 40px;
}
.intro-banner p { color: var(--grey-2); font-size: 14px; line-height: 1.9; max-width: 700px; margin: 0 auto; }
.intro-banner p + p { margin-top: 16px; }

blockquote {
  border-left: 2px solid var(--accent-subtle);
  padding-left: 20px; margin: 20px 0;
  color: var(--grey-2); font-style: italic;
}

/* old class compat */
.card-teal-top { border-top: none; }
.card-teal-left { border-left: 2px solid var(--accent); }
.card-glow-top { border-top: none; }
.glow-divider { display: none; }

/* ── Footer ── */
.footer {
  background: var(--bg);
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-content {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; align-items: start;
}
.footer-left h4 { font-size: 15px; margin-bottom: 6px; }
.footer-left p { color: var(--grey-4); font-size: 12px; }
.footer-center { text-align: center; }
.footer-links {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; list-style: none;
}
.footer-links a {
  color: var(--grey-3); text-decoration: none; font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--grey-1); }
.footer-right { text-align: right; }
.footer-right a {
  color: var(--grey-3); text-decoration: none; font-size: 13px;
  display: flex; align-items: center; gap: 8px;
  justify-content: flex-end; transition: color 0.2s; margin-bottom: 8px;
}
.footer-right a:hover { color: var(--grey-1); }

/* ── Page Glow — follows mouse on all pages ── */
.page-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, rgba(34,197,94,0.02) 35%, transparent 70%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}
.page-glow.visible { opacity: 1; }

/* ── Editorial pages (About Me + ISM/Research) ── */
/* Serif headings on About Me only; ISM pages keep the Space Grotesk headings
   to match the hero name on the home page. */
.page-about main h1,
.page-about main h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
}
.page-editorial main p,
.page-editorial main li:not([class]),
.page-editorial .bio-text,
.page-editorial .teal-list li,
.page-editorial .ow-video-desc {
  font-family: var(--font-serif);
}
.page-editorial .bio-text { font-size: 18px; }
.page-editorial .bio-text p:first-child {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
}
.page-editorial .disclaimer { font-family: var(--font-serif); }

/* ── Reveal ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: calc(var(--ticker-h) + var(--nav-h));
    left: 0; width: 100%;
    background: rgba(9,9,11,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px; gap: 2px;
    border-bottom: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-item-github { margin-left: 0; padding-left: 0; border-left: none; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; background: transparent;
    border: none; box-shadow: none;
    padding: 4px 0 4px 16px; display: none; backdrop-filter: none;
  }
  .nav-links > li:hover .dropdown-menu,
  .nav-links > li.dropdown-open .dropdown-menu { display: block; }
  .feature-cards, .two-col, .two-col-equal, .sub-cards,
  .cert-video-row, .mentor-cards, .doc-grid, .mentor-profile { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
  .footer-right a { justify-content: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .process-flow { flex-direction: column; align-items: flex-start; }
  .process-arrow { transform: rotate(90deg); padding: 6px 0; }
  .navbar { padding: 0 16px; width: calc(100% - 24px); }
  .hero-title { font-size: clamp(2.2rem, 10vw, 4rem); }
  .intro-banner { padding: 28px 16px; }
}

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