/* =====================================================
   ARIHA JAIN — PORTFOLIO
   Design: Dark, minimal, human, playful
   Palette: Near-black · Vivid red · Warm white
   Fonts: Fraunces (display) · Plus Jakarta Sans (body)
   ===================================================== */

/* ---- Variables ---- */
:root {
  --bg: #0D0D0D;
  --surface: #141414;
  --surface-up: #1C1C1C;
  --red: #E63946;
  --red-dark: #C1121F;
  --red-pale: rgba(230, 57, 70, 0.09);
  --red-border: rgba(230, 57, 70, 0.22);
  --text: #F0EDE8;
  --text-muted: rgba(240, 237, 232, 0.44);
  --border: rgba(255, 255, 255, 0.07);
  --border-up: rgba(255, 255, 255, 0.12);
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --max-width: 1080px;
  --nav-height: 68px;
  --section-v: 96px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-red: 0 8px 32px rgba(230, 57, 70, 0.22);

  --transition: 0.28s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  isolation: isolate; /* creates stacking context so aurora z-index works correctly */
}

/* =====================================================
   AURORA BACKGROUND
   ===================================================== */
.aurora-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora-layer {
  position: absolute;
  inset: -10px;
  opacity: 0.5;
  will-change: transform;
  filter: blur(10px);
  background-image:
    repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%),
    repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #ddd6fe 25%, #60a5fa 30%);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  mask-image: radial-gradient(ellipse at 80% 10%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 10%, black 10%, transparent 70%);
  animation: aurora 60s linear infinite;
}

.aurora-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%),
    repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #ddd6fe 25%, #60a5fa 30%);
  background-size: 200%, 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: aurora 60s linear infinite;
}

@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to   { background-position: 350% 50%, 350% 50%; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; }

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 36px;
}

/* ---- Type scale ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
}

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo .name-accent { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 22px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 36px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { transform: translateY(0); }
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}
.nav-mobile a:last-child { border-bottom: none; color: var(--red); }

/* =====================================================
   PAGE LAYOUT
   ===================================================== */
.page-wrapper { padding-top: var(--nav-height); min-height: 100vh; }
section { padding: var(--section-v) 0; }

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-red);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-up);
}
.btn-outline:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* =====================================================
   TAGS / CHIPS
   ===================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--surface-up);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tag:hover { background: #242424; color: var(--text); border-color: var(--border-up); }
.tag-red {
  background: var(--red-pale);
  border-color: var(--red-border);
  color: var(--red);
}

/* =====================================================
   FOOTER (shared)
   ===================================================== */
.footer {
  background: #080808;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: rgba(240,237,232,0.22); }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px;
  background: var(--surface-up);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 15px; height: 15px; }

/* =====================================================
   HOME — HERO
   ===================================================== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(230, 57, 70, 0.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(230, 57, 70, 0.03) 0%, transparent 65%);
  pointer-events: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 128px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: 36px;
}
.hero-name .name-accent {
  color: var(--red);
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-tagline {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 48px;
}
.hero-tagline strong { color: var(--text); font-weight: 500; }

/* ---- Hero animated word cycling ---- */
.hero-words-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 14px;
  margin-bottom: 8px;
}
.hero-word {
  opacity: 0;
  transform: translateY(16px);
  font-weight: 700;
  font-size: inherit;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.35;
}
.hero-word.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-word.no-transition {
  transition: none !important;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Rotating text */
.rotating-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.rotating-text {
  display: block;
  animation: rotateWords 9s steps(1) infinite;
  color: var(--red);
  font-weight: 500;
}
@keyframes rotateWords {
  0%   { content: 'analyst'; }
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.22;
  animation: bob 2.2s ease infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}
.hero-scroll-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-scroll svg { width: 14px; height: 14px; }

/* =====================================================
   HOME — INTRO STRIP
   ===================================================== */
.home-intro {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.home-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition);
}
.home-link:hover { text-decoration-color: var(--red); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stat-card:hover { border-color: var(--red-border); transform: translateY(-3px); }
.stat-number {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* =====================================================
   HOME — SKILLS STRIP
   ===================================================== */
.home-skills { padding: 0 0 96px; }
.home-skills .label { margin-bottom: 18px; display: block; }
.skills-cloud { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================
   ABOUT — HERO
   ===================================================== */
.about-hero { padding: 80px 0 64px; }
.about-hero-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.about-left-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-top: 16px;
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}
.about-left-title .name-accent { color: var(--red); font-style: normal; }

.about-photo-wrap {
  margin-top: 32px;
}
.about-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}
.about-photo:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--red-border);
}

.about-body p {
  font-size: 17px;
  line-height: 1.82;
  color: var(--text-muted);
  margin-bottom: 1.4em;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { font-weight: 600; color: var(--text); }
.about-body .hl { color: var(--red); font-weight: 500; }

/* =====================================================
   ABOUT — POWER OF THREE
   ===================================================== */
.power-section {
  background: var(--surface);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.power-section .label { color: var(--text-muted); }
.power-section h2 { color: var(--text); margin: 14px 0 48px; }
.power-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.power-card {
  padding: 36px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.power-card:hover { border-color: var(--red-border); transform: translateY(-6px); }
.power-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: rgba(230, 57, 70, 0.3);
  line-height: 1;
  margin-bottom: 18px;
}
.power-card h3 { color: var(--text); font-size: 20px; margin-bottom: 10px; }
.power-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* =====================================================
   ABOUT — FUN FACTS
   ===================================================== */
.fun-facts-section { padding: 80px 0; }
.fun-facts-section h2 { margin: 14px 0 48px; }
.fun-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fun-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color var(--transition);
}
.fun-card:hover { transform: translateY(-6px) scale(1.01); border-color: var(--red-border); }
.fun-emoji { font-size: 28px; margin-bottom: 14px; display: block; }
.fun-card h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.fun-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* =====================================================
   EXPERIENCE — PAGE HERO
   ===================================================== */
.page-hero { padding: 72px 0 56px; }
.page-hero .label { margin-bottom: 14px; }
.page-hero h1 { margin-bottom: 16px; }
.page-intro {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* =====================================================
   TIMELINE
   ===================================================== */
.timeline-section { padding: 0 0 96px; }

.timeline-wrapper {
  position: relative;
  padding-left: 160px;
}
.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 148px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 4%, var(--border) 96%, transparent);
}

.tl-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 40px;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-date {
  position: absolute;
  left: -160px;
  top: 10px;
  width: 136px;
  text-align: right;
  padding-right: 24px;
}
.tl-date-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  line-height: 1.4;
}
.tl-date-loc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.3;
}

/* Dot */
.tl-dot {
  position: absolute;
  left: -8px;
  top: 10px;
  width: 14px; height: 14px;
  background: var(--bg);
  border: 2px solid var(--border-up);
  border-radius: 50%;
  transition: all var(--transition);
  z-index: 1;
}
.tl-item:hover .tl-dot {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.15);
}

/* Card */
.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.tl-card:hover {
  border-color: rgba(230, 57, 70, 0.25);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.4);
  transform: translateX(4px);
}
.tl-card-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}
.tl-company {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 5px;
}
.tl-role {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.tl-card-body { padding: 16px 26px 22px; }
.tl-bullets { padding: 0; }
.tl-bullets li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 7px 0 7px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.tl-bullets li:last-child { border-bottom: none; }
.tl-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.5;
}

/* =====================================================
   SKILLS (experience page)
   ===================================================== */
.skills-section-block {
  padding: 72px 0 96px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.skills-section-block h2 { margin-bottom: 48px; }
.skill-group { margin-bottom: 36px; }
.skill-group:last-child { margin-bottom: 0; }
.skill-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* =====================================================
   EDUCATION
   ===================================================== */
.edu-section { padding: 0 0 96px; }
.edu-cards { display: flex; flex-direction: column; gap: 20px; }

.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.edu-card:hover { border-color: var(--border-up); transform: translateY(-2px); }

.edu-card-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 36px 40px 28px;
  border-bottom: 1px solid var(--border);
}
.edu-school {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.edu-degree { font-size: 15px; color: var(--text-muted); }
.edu-badge {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.edu-badge-primary { background: var(--red); color: var(--white); }
.edu-badge-secondary { background: var(--surface-up); color: var(--text-muted); border: 1px solid var(--border); }

.edu-card-meta {
  display: flex;
  gap: 48px;
  padding: 22px 40px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.edu-meta-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.edu-meta-value { font-size: 15px; font-weight: 500; color: var(--text); }

.edu-card-extras { padding: 20px 40px 28px; }
.edu-extras-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.edu-awards { display: flex; flex-direction: column; gap: 8px; }
.edu-award-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.edu-award-item::before { content: '✦'; color: var(--red); font-size: 11px; margin-top: 2px; flex-shrink: 0; }

.edu-activities-section { padding: 0 40px 28px; }
.activities-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

.edu-courses { padding: 0 40px 28px; }
.edu-courses-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* =====================================================
   PROJECTS
   ===================================================== */
.projects-section { padding: 0 0 96px; }

.coming-banner {
  background: linear-gradient(135deg, #1A0A0C 0%, #2A0E12 100%);
  border: 1px solid rgba(230, 57, 70, 0.18);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.coming-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.coming-icon {
  width: 64px; height: 64px;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}
.coming-banner h2 {
  color: var(--text);
  font-size: 32px;
  margin-bottom: 14px;
}
.coming-banner p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.project-placeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-ph {
  background: var(--surface);
  border: 1.5px dashed rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 28px 24px 32px;
  opacity: 0.7;
}
.project-ph-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.project-ph h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.project-ph p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.project-ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--surface-up);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.project-ph-badge::before { content: '○'; font-size: 10px; }

/* GitHub note */
.github-note {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.github-note svg { flex-shrink: 0; margin-top: 2px; }
.github-note-text h4 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.github-note-text p { font-size: 14px; color: var(--text-muted); }
.github-note-text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================
   ABOUT — BRANDEIS JOURNEY SECTION
   ===================================================== */
.brandeis-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.brandeis-section .label { display: block; margin-bottom: 14px; }
.brandeis-section h2 { margin-bottom: 48px; }
.brandeis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.brandeis-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brandeis-card:hover { border-color: var(--border-up); transform: translateY(-6px); }
.brandeis-emoji { font-size: 30px; display: block; margin-bottom: 16px; }
.brandeis-card h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.brandeis-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.brandeis-card-accent {
  background: linear-gradient(135deg, rgba(230,57,70,0.08) 0%, rgba(230,57,70,0.03) 100%);
  border-color: var(--red-border);
}
.brandeis-card-accent h4 { color: var(--red); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .home-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-left-title { position: static; font-size: clamp(40px, 8vw, 64px); }
  .power-grid { grid-template-columns: 1fr; gap: 14px; }
  .fun-grid { grid-template-columns: repeat(2, 1fr); }
  .project-placeholders { grid-template-columns: 1fr 1fr; }
  .brandeis-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  :root { --section-v: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .hero-name { font-size: clamp(52px, 15vw, 80px); }
  .hero-scroll { display: none; }

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

  /* Timeline mobile */
  .timeline-wrapper { padding-left: 0; }
  .timeline-wrapper::before { left: 7px; }
  .tl-item { padding-left: 32px; }
  .tl-date {
    position: static;
    text-align: left;
    padding: 10px 0 0;
    width: auto;
  }
  .tl-dot { left: -25px; }

  .fun-grid { grid-template-columns: 1fr; }
  .project-placeholders { grid-template-columns: 1fr; }
  .brandeis-grid { grid-template-columns: 1fr; }

  .edu-card-top { grid-template-columns: 1fr; padding: 24px 24px 20px; }
  .edu-card-meta { padding: 16px 24px; gap: 24px; }
  .edu-card-extras { padding: 16px 24px 20px; }
  .edu-activities-section { padding: 0 24px 20px; }
  .edu-courses { padding: 0 24px 20px; }

  .coming-banner { padding: 48px 28px; }
  .hero-actions { flex-direction: column; }
}

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