/* ============================================
   Prashant Arya — Dark Version
   Aesthetic: Bold Founder — Dark, Type-forward
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --surface: #1e1e1e;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);

  --white: #fafafa;
  --white-70: rgba(250, 250, 250, 0.85);
  --white-40: rgba(250, 250, 250, 0.58);
  --white-20: rgba(250, 250, 250, 0.38);
  --white-08: rgba(250, 250, 250, 0.08);

  --accent: #ff7a3d;
  --accent-glow: rgba(255, 122, 61, 0.15);
  --accent-hover: #ff9a64;

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 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(--white-70);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Scroll progress bar */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 122, 61, 0.6));
  z-index: 9998;
  box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(255, 122, 61, 0.5);
  transition: width 0.1s linear;
}

/* Reading progress indicator - section markers */
.progress-marker {
  position: fixed;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 122, 61, 0.3);
  border: 1px solid rgba(255, 122, 61, 0.4);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.marker-dot:hover {
  background: rgba(255, 122, 61, 0.6);
  transform: scale(1.2);
}

.marker-dot.active {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(255, 122, 61, 0.8);
  transform: scale(1.3);
  border-color: var(--accent);
}

@media (max-width: 960px) {
  .progress-marker {
    right: 16px;
    gap: 20px;
  }

  .marker-dot {
    width: 6px;
    height: 6px;
  }

}

@media (max-width: 640px) {
  .progress-marker {
    display: none;
  }

}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 500; color: var(--white); }

::selection {
  background: var(--accent);
  color: var(--white);
}

/* --- Layout --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  display: block;
  position: relative;
  cursor: default;
  transition: all 0.3s var(--ease);
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.section-label:hover::after {
  width: 60px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.8; }

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1.5px solid rgba(255, 122, 61, 0.4);
  transition: border-color 0.3s;
}

.nav-logo:hover .nav-avatar {
  border-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--white-40);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover { color: var(--white); }

/* Active nav link with animated underline */
.nav-links a.active::after {
  width: 100%;
}

.nav-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--white-40) !important;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all 0.3s var(--ease) !important;
}

.nav-linkedin:hover {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 16px rgba(255, 122, 61, 0.15);
}

.nav-linkedin::after { display: none !important; }


.nav-topmate {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white) !important;
  padding: 9px 22px;
  background: var(--accent);
  border-radius: 6px;
  transition: all 0.3s var(--ease) !important;
}

.nav-topmate:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 0 24px rgba(255, 122, 61, 0.4);
  transform: translateY(-1px);
}

.nav-topmate::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: all 0.4s var(--ease);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 80px 40px 40px;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
}


/* Ambient glow behind the name */
.hero::before {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse, rgba(255, 122, 61, 0.06) 0%, transparent 65%);
  pointer-events: none;
  will-change: transform;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.hero-greeting {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-40);
}

.hero-location-tag {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white-20);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 13vw, 11rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
}

.hero-name span.letter {
  display: inline-block;
  opacity: 0;
  animation: letterFadeIn 0.35s var(--ease) forwards;
}

.hero-name-line {
  display: block;
}

.hero-name-accent {
  color: var(--accent);
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 40px rgba(255, 122, 61, 0.45),
      0 0 80px rgba(255, 122, 61, 0.2),
      0 0 120px rgba(255, 122, 61, 0.1);
    -webkit-text-stroke-color: rgba(250, 250, 250, 0.5);
  }
  50% {
    text-shadow:
      0 0 60px rgba(255, 122, 61, 0.7),
      0 0 100px rgba(255, 122, 61, 0.35),
      0 0 160px rgba(255, 122, 61, 0.15);
    -webkit-text-stroke-color: rgba(250, 250, 250, 0.75);
  }
}


.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-40);
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 68px;
  right: 40px;
  animation: drift 3s ease-in-out infinite;
}

.hero-scroll a {
  color: var(--white-20);
  transition: color 0.3s;
}

.hero-scroll a:hover { color: var(--white-40); }

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 32px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--white-08);
  color: var(--white-70);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: var(--white-08);
  border-color: var(--white-20);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hover text glow effect */
h2, h3, .timeline-role, .venture-card h3 {
  transition: text-shadow 0.35s var(--ease);
}

h2:hover, .timeline-role:hover, .venture-card h3:hover {
  text-shadow: 0 0 20px rgba(255, 122, 61, 0.4), 0 0 40px rgba(255, 122, 61, 0.2);
}

/* --- Philosophy --- */
.philosophy-section {
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 12px rgba(255, 122, 61, 0.2); }
  50% { text-shadow: 0 0 28px rgba(255, 122, 61, 0.6); }
}

@keyframes colorShift {
  0% { color: #3080ff; }
  50% { color: #54a2ff; }
  100% { color: #3080ff; }
}

@keyframes shimmer {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 122, 61, 0.3); }
  50% { text-shadow: 0 0 20px rgba(255, 122, 61, 0.7), inset 0 0 10px rgba(255, 122, 61, 0.2); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

@keyframes wordBreathe {
  0%, 100% { letter-spacing: 0em; }
  50% { letter-spacing: 0.05em; }
}

.philosophy-text {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--white-70);
}

.philosophy-text p {
  margin-bottom: 24px;
}

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

.philosophy-text .highlight {
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
}

/* Hover states */
.philosophy-text .highlight:hover {
  text-shadow: 0 0 20px rgba(255, 122, 61, 0.5);
}

/* --- About --- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.about-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--white-40);
}

@keyframes accentPulse {
  0%, 100% {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(255, 122, 61, 0.4), 0 0 40px rgba(255, 122, 61, 0.2);
    letter-spacing: -0.03em;
  }
  50% {
    color: var(--accent-hover);
    text-shadow: 0 0 30px rgba(255, 122, 61, 0.7), 0 0 60px rgba(255, 122, 61, 0.4);
    letter-spacing: 0em;
  }
}

.heading-highlight {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15em;
  display: inline-block;
}


.about-text {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-70);
  margin-bottom: 20px;
}

.about-text:last-of-type { margin-bottom: 40px; }

@keyframes floatIn {
  0%   { opacity: 0; transform: translateY(40px) scale(0.95); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes countUp {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  100% { opacity: 1; }
}

@keyframes letterFadeIn {
  0%   { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes svgFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 0.08; }
}

@keyframes svgScale {
  0%   { transform: scale(0.8) rotate(0deg); }
  100% { transform: scale(1) rotate(180deg); }
}

@keyframes svgFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Background SVG elements */
.bg-svg {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.bg-svg.visible {
  animation: svgFadeIn 1.2s var(--ease) forwards;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  padding: 24px 20px;
  background: var(--bg);
  text-align: center;
}

.stat-float {
  opacity: 0;
}

.stat-float.visible {
  animation: floatIn 0.9s var(--ease) forwards;
}

.stat-float.visible:nth-child(1) { animation-delay: 0.0s; }
.stat-float.visible:nth-child(2) { animation-delay: 0.15s; }
.stat-float.visible:nth-child(3) { animation-delay: 0.3s; }
.stat-float.visible:nth-child(4) { animation-delay: 0.45s; }

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

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  min-height: 2rem;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.stat-number.counting {
  animation: countUp 1.8s var(--ease) forwards;
}

.stat:hover .stat-number {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(255, 122, 61, 0.4);
  transform: scale(1.08);
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--white-20);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* --- Timeline --- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Animated vertical line */
.timeline-line {
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent), rgba(255, 122, 61, 0.3));
  transition: height 0.1s linear;
  box-shadow: 0 0 8px rgba(255, 122, 61, 0.4);
}

/* Expand/collapse toggle */
.timeline-role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.timeline-toggle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--accent);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 122, 61, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  line-height: 1;
}

.timeline-item.expanded .timeline-toggle {
  transform: rotate(45deg);
  background: rgba(255, 122, 61, 0.1);
  border-color: var(--accent);
}

/* Collapsed state — hide details by default */
.timeline-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin-top 0.4s var(--ease);
  margin-top: 0;
}

.timeline-item.expanded .timeline-details {
  max-height: 400px;
  opacity: 1;
  margin-top: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  transition: background 0.4s, border-color 0.5s var(--ease);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-item {
  transition: all 0.4s var(--ease);
}

.timeline-item.in-view {
  border-top-color: rgba(255, 122, 61, 0.5);
  background: rgba(255, 122, 61, 0.02);
  padding-left: 12px;
}

.timeline-item:hover {
  border-top-color: rgba(255, 122, 61, 0.7);
  background: rgba(255, 122, 61, 0.04);
  box-shadow: 0 0 30px rgba(255, 122, 61, 0.1);
}

.timeline-meta {
  padding-top: 4px;
}

.timeline-date {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--white-20);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.timeline-item:first-child .timeline-date {
  color: var(--white);
  font-weight: 500;
}

.timeline-co {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline-logo {
  display: block;
  height: 20px;
  width: 80px;
  margin-top: 10px;
  filter: brightness(0) invert(1);
  opacity: 0.18;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.3s var(--ease);
}

.timeline-logo--jpg {
  filter: grayscale(1) invert(1);
  opacity: 0.13;
  height: 26px;
  width: 106px;
}

.timeline-logo--wharton {
  height: 56px;
  width: 224px;
  filter: brightness(0) invert(1);
  opacity: 0.18;
}

.timeline-item:hover .timeline-logo { opacity: 0.45; }
.timeline-item.in-view .timeline-logo { opacity: 0.32; }
.timeline-item:hover .timeline-logo--jpg { opacity: 0.28; }
.timeline-item.in-view .timeline-logo--jpg { opacity: 0.2; }


.timeline-role {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  line-height: 1.3;
}

.timeline-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-details li {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-40);
  padding-left: 16px;
  position: relative;
}

.timeline-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

/* --- Ventures --- */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.venture-card {
  padding: 40px 36px;
  background: var(--bg);
  transition: all 0.35s var(--ease);
  display: block;
  color: inherit;
  text-decoration: none;
}

.venture-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(255, 122, 61, 0.25), 0 0 40px rgba(255, 122, 61, 0.15);
  border-color: rgba(255, 122, 61, 0.4);
}

.venture-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.venture-icon {
  color: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

.venture-org {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-20);
}

.venture-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.venture-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-40);
}

/* Featured Topmate card */
.venture-card--featured {
  position: relative;
  background: rgba(255, 122, 61, 0.035) !important;
}

.venture-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 122, 61, 0.2));
}

.venture-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 122, 61, 0.3);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}

.venture-card--featured:hover .venture-cta-link {
  gap: 10px;
  border-bottom-color: var(--accent);
}

/* --- Education --- */
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 48px;
}

.edu-card {
  padding: 32px 28px;
  background: var(--bg-alt);
  transition: all 0.35s var(--ease);
  position: relative;
}

.edu-card:hover {
  background: var(--bg-card);
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(255, 122, 61, 0.25), 0 0 40px rgba(255, 122, 61, 0.15);
  border-color: rgba(255, 122, 61, 0.3);
}

.edu-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.edu-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
}

.edu-degree {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--white-40);
  line-height: 1.6;
}

.certifications {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.cert-title {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-20);
  margin-bottom: 20px;
}

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

.cert-tag {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--white-40);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all 0.25s;
}

.cert-tag:hover {
  border-color: var(--line-strong);
  color: var(--white-70);
}

/* --- Contact --- */
.contact-section {
  background: var(--bg);
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-inner {
  max-width: 720px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 24px;
}

.contact-heading em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--white-40);
}

.contact-text {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--white-40);
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-easter-egg {
  margin-top: 36px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.easter-egg-link {
  color: rgba(255, 122, 61, 0.55);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 122, 61, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.easter-egg-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Back to Top --- */
/* --- Stat Bars --- */
.stat-bar-track {
  height: 2px;
  background: rgba(255, 122, 61, 0.12);
  border-radius: 1px;
  margin-top: 14px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), rgba(255, 122, 61, 0.5));
  border-radius: 1px;
  transition: width 1.8s var(--ease);
}

.stat-float.visible .stat-bar-fill {
  width: var(--bar-width, 80%);
}

/* --- Education Logos --- */
.edu-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.22;
  margin-bottom: 20px;
  transition: opacity 0.3s var(--ease);
}

.edu-logo--wharton {
  height: 48px;
  max-width: 240px;
}

.edu-logo--penn {
  height: 43px;
  max-width: 216px;
}

.edu-logo--berkeley {
  height: 29px;
  max-width: 144px;
}

.edu-card:hover .edu-logo {
  opacity: 0.5;
}

/* --- Floating Get in Touch CTA --- */
.float-cta {
  position: fixed;
  bottom: 100px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--accent);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  text-decoration: none;
  z-index: 998;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s var(--ease);
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(255, 122, 61, 0.35);
  white-space: nowrap;
}

.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(255, 122, 61, 0.5);
}

.float-cta svg {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .float-cta {
    bottom: 96px;
    right: 20px;
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--white-40);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s var(--ease);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 122, 61, 0.4);
}

/* --- Footer --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--white-20);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--white-20);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* --- Progress dot tooltips --- */
.marker-dot {
  position: relative;
}

.marker-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  color: var(--white-70);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.marker-dot:hover::before {
  opacity: 1;
}

/* --- Contact audience tags --- */
.contact-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.audience-tag {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--white-40);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all 0.25s;
}

.audience-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Topmate social proof badge --- */
.venture-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 14px;
  margin-bottom: 2px;
  opacity: 0.75;
}

/* --- Scroll Animations --- */
@keyframes fadeUpScale {
  0% { opacity: 0; transform: translateY(48px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-48px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(48px); }
  100% { opacity: 1; transform: translateX(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUpScale 1.2s var(--ease) backwards;
}

/* Enhanced scroll animations for specific sections */
.timeline-item.fade-up.visible {
  animation: slideInLeft 1.2s var(--ease) backwards;
}

.venture-card.fade-up.visible {
  animation: fadeUpScale 1.2s var(--ease) backwards;
}

.edu-card.fade-up.visible {
  animation: fadeUpScale 1.2s var(--ease) backwards;
}

/* Hero — always in viewport, skip scroll-reveal shift */
.hero .fade-up {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Stagger siblings within sections */
.fade-up.visible ~ .fade-up.visible { transition-delay: 0.12s; }

.timeline-item.fade-up:nth-child(1)  { transition-delay: 0s; }
.timeline-item.fade-up:nth-child(2)  { transition-delay: 0.2s; }
.timeline-item.fade-up:nth-child(3)  { transition-delay: 0.4s; }
.timeline-item.fade-up:nth-child(4)  { transition-delay: 0.6s; }
.timeline-item.fade-up:nth-child(5)  { transition-delay: 0.8s; }

.venture-card.fade-up:nth-child(1)   { transition-delay: 0s; }
.venture-card.fade-up:nth-child(2)   { transition-delay: 0.2s; }
.venture-card.fade-up:nth-child(3)   { transition-delay: 0.4s; }
.venture-card.fade-up:nth-child(4)   { transition-delay: 0.6s; }

.edu-card.fade-up:nth-child(1)       { transition-delay: 0s; }
.edu-card.fade-up:nth-child(2)       { transition-delay: 0.2s; }
.edu-card.fade-up:nth-child(3)       { transition-delay: 0.4s; }
.edu-card.fade-up:nth-child(4)       { transition-delay: 0.6s; }
.edu-card.fade-up:nth-child(5)       { transition-delay: 0.8s; }

/* --- Responsive --- */

@media (max-width: 960px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item {
    grid-template-columns: 140px 1fr;
    gap: 32px;
  }

  .education-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .contact-section { padding: 100px 0; }

  /* Mobile nav */
  .nav-container { padding: 0 24px; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 999;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.04em;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: var(--white-70);
  }


  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .nav-overlay.visible { opacity: 1; visibility: visible; }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: 120px 24px 56px;
  }

  .hero::before { display: none; }

  .hero-name {
    font-size: clamp(3.5rem, 18vw, 6rem);
    margin-bottom: 32px;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-scroll { display: none; }

  .hero-actions {
    flex-direction: column;
  }

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

  /* About */
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Timeline */
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  /* Ventures */
  .ventures-grid { grid-template-columns: 1fr; }
  .venture-card { padding: 28px 24px; }

  /* Education */
  .education-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-links { flex-direction: column; }
  .contact-links .btn { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
  html { scroll-behavior: auto; }
}
