@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  --accent:       #7c3aed;
  --accent-dark:  #6d28d9;
  --accent-hover: #5b21b6;
  --accent-light: #f5f3ff;
  --navy:         #0f0a1e;
  --navy-mid:     #1a0f3c;
  --navy-light:   #2d1b69;
  --bg:           #ffffff;
  --bg-alt:       #fafafa;
  --text:         #1a1225;
  --text-secondary: #4a4060;
  --text-muted:   #7c6f9a;
  --border:       #e8e0f0;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 4px 16px rgba(100, 50, 150, 0.10);
  --shadow-hover: 0 8px 32px rgba(100, 50, 150, 0.18);
  --max-width:    1100px;
  --nav-height:   64px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* ===== NAVIGATION ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-brand {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.nav-brand:hover { color: #c4b5fd; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: block;
  padding: 6px 11px;
  font-size: 13.5px;
  font-weight: 500;
  color: #c4b5fd;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(124, 58, 237, 0.28);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #c4b5fd;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
}
.btn-outline {
  background: transparent;
  color: #c4b5fd;
  border: 1.5px solid rgba(196, 181, 253, 0.45);
}
.btn-outline:hover {
  background: rgba(124, 58, 237, 0.15);
  color: #fff;
  border-color: rgba(196, 181, 253, 0.75);
}
.btn-outline-dark {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline-dark:hover {
  background: var(--accent);
  color: #fff;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

/* ===== HOME HERO ===== */
.home-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #160c38 50%, var(--navy-mid) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px 28px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 700px at 30% 50%, rgba(124, 58, 237, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 20px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
}

.home-hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.home-hero h1 .accent { color: #a78bfa; }

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: #c4b5fd;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 40px;
}

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

.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 58, 237, 0.35);
  animation: pulse-ring 3s ease-in-out infinite;
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.15);
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.6; }
}

.hero-photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.35);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #160c38 60%, var(--navy-mid) 100%);
  padding: 72px 28px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 100%, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
  position: relative;
}
.page-hero p {
  font-size: 17px;
  color: #c4b5fd;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

/* ===== SECTION ===== */
.section {
  padding: 80px 28px;
}
.section-alt {
  background: var(--bg-alt);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===== HOME SECTION CARDS ===== */
.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.section-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.section-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--accent);
  color: inherit;
}
.card-icon {
  width: 46px;
  height: 46px;
  background: var(--accent-light);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.section-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.section-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
  flex: 1;
}
.card-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

/* ===== PHOTO PLACEHOLDER ===== */
.photo-placeholder {
  border: 2px dashed #d8cff0;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.ph-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
}
.photo-placeholder i {
  font-size: 40px;
  color: #c4b5fd;
}
.photo-placeholder span {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.photo-placeholder small {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.about-text h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.about-role {
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
  display: block;
}
.about-text p {
  font-size: 15.5px;
  color: var(--text-secondary);
}
.stat-row {
  display: flex;
  gap: 0;
  margin: 32px 0;
  background: var(--accent-light);
  border-radius: var(--radius);
  border: 1px solid rgba(124, 58, 237, 0.15);
  overflow: hidden;
}
.stat {
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid rgba(124, 58, 237, 0.12);
}
.stat:last-child { border-right: none; }
.stat .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}
.stat .value {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
}

.about-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow);
}
.about-photo-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
}
.about-photo-secondary {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow);
}
.about-photo-secondary img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-photo-secondary figcaption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 12px;
  background: var(--bg-alt);
  text-align: center;
}

.contact-strip {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-strip .question {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0;
}

/* ===== RESEARCH PAGE ===== */
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(100, 50, 150, 0.06);
  transition: box-shadow 0.2s;
}
.project-card:hover { box-shadow: var(--shadow-hover); }

.project-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 28px 32px;
}
.project-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.badge-current {
  background: rgba(124, 58, 237, 0.4);
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.5);
}
.badge-past {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.project-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.project-card-body {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: start;
}
.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 3px;
}
.meta-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}
.project-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}
.project-desc + .project-desc { margin-top: 12px; }
.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 18px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: background 0.15s, color 0.15s;
}
.project-link-btn:hover {
  background: var(--accent);
  color: #fff;
}
.project-img-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.project-img-box img {
  width: 100%;
  height: auto;
}

/* ===== ISP PAGE ===== */
.isp-intro {
  background: var(--accent-light);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 56px;
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.skill-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}
.skill-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.skill-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.skill-card .skill-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 16px;
}
.skill-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.skill-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

.isp-block {
  margin-bottom: 56px;
}
.isp-block-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.isp-block-title i { color: var(--accent); font-size: 20px; }

.isp-experience {
  margin-bottom: 32px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.isp-experience h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.isp-experience h4 i { font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.isp-experience p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.reflection-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
}
.reflection-card p {
  font-size: 15.5px;
  color: #c4b5fd;
  line-height: 1.8;
}
.reflection-card p + p { margin-top: 18px; }

/* ===== COURSEWORK PAGE ===== */
.degree-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}
.degree-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.degree-badge:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.degree-badge .db-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.degree-badge .db-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 3px;
  display: block;
}
.degree-badge .db-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.course-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.course-item:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateX(4px);
}
.course-item i {
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
}

/* ===== EXPERIENCE PAGE ===== */
.experience-intro {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 760px;
  margin-bottom: 48px;
}

.experience-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  transition: box-shadow 0.2s;
}
.experience-card:hover { box-shadow: var(--shadow-hover); }

.exp-logo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.exp-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
  color: var(--accent);
  flex-shrink: 0;
  border: 1px solid rgba(124, 58, 237, 0.2);
}
.exp-role {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.exp-company {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.exp-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.exp-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.exp-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

.exp-photo-area {
  margin: 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.exp-photo-area .photo-placeholder {
  min-height: 240px;
}
.exp-photo-item {
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ===== LEADERSHIP PAGE ===== */
.leadership-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}
.leadership-card:hover { box-shadow: var(--shadow-hover); }

.lc-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.lc-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.lc-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}
.lc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.lc-org {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}
.lc-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.lc-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.impact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.impact-tag {
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== RESUME PAGE ===== */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.resume-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.resume-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.resume-card .rc-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  margin: 0 auto 20px;
}
.resume-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.resume-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.resume-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.contact-cta h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.contact-cta p {
  font-size: 16px;
  color: #c4b5fd;
  margin-bottom: 28px;
}
.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  padding: 52px 28px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 14px;
  color: #6b5e8a;
}
.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #a78bfa;
  padding: 8px 14px;
  border-radius: 7px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.footer-link:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #fff;
  border-color: rgba(124, 58, 237, 0.4);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #3d3356;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-stack { order: -1; max-width: 360px; margin: 0 auto; }
  .about-photo-main img { height: 280px; }

  .project-card-body { grid-template-columns: 1fr; }
  .project-img-box { max-width: 360px; }

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

  .experience-card { grid-template-columns: 1fr; }
  .exp-logo { display: none; }

  .exp-photo-area { grid-template-columns: 1fr; }

  .home-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-photo { width: 200px; height: 200px; }
  .hero-photo-wrap { justify-self: center; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    padding: 8px 24px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .section { padding: 56px 20px; }
  .page-hero { padding: 56px 20px 48px; }
  .home-hero { padding: 72px 20px; min-height: auto; }

  .stat-row { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(124, 58, 237, 0.12); }
  .stat:last-child { border-bottom: none; }

  .project-meta { grid-template-columns: 1fr; }

  .reflection-card { padding: 28px 24px; }
  .isp-experience { padding: 22px 20px; }
}

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

  .hero-actions { flex-direction: column; align-items: center; }
  .resume-actions { flex-direction: column; }
  .contact-links { flex-direction: column; align-items: center; }
  .degree-row { flex-direction: column; }
  .degree-badge { width: 100%; }
}
