/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --accent:        #4f72c4;
  --accent-dark:   #3a57a0;
  --accent-light:  #eef1fb;
  --accent-2:      #7c5cbf;   /* secondary purple accent */

  --text:          #1a1a2e;
  --text-muted:    #5a5a7a;
  --text-light:    #8888aa;

  --bg:            #ffffff;
  --bg-alt:        #f7f8fc;
  --bg-card:       #ffffff;

  --border:        #e4e6f0;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;

  --shadow-sm:     0 2px 8px rgba(79, 114, 196, 0.08);
  --shadow-md:     0 4px 24px rgba(79, 114, 196, 0.12);
  --shadow-lg:     0 8px 40px rgba(79, 114, 196, 0.16);

  --nav-height:    68px;
  --transition:    0.25s ease;
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:    'Lora', Georgia, serif;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-dark); }

ul { list-style: none; }

/* ============================================================
   UTILITY
============================================================ */
.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 96px;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  margin-top: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(79, 114, 196, 0.35);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 114, 196, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.nav-logo:hover { color: var(--accent-dark); }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: var(--nav-height);
  padding-bottom: 64px;
  padding-inline: 24px;
  background: linear-gradient(160deg, #f0f4ff 0%, #faf8ff 50%, #f5f7ff 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}
.hero::before {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -160px;
  right: -120px;
}
.hero::after {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: -100px;
  left: -80px;
}

.hero-inner {
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* Photo */
.hero-photo-wrap {
  flex-shrink: 0;
}

.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
}

.hero-photo-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), #e8e2f8);
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: var(--accent);
  opacity: 0.7;
}

/* Text */
.hero-text {
  flex: 1;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-headline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

.hero-summary {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.5s forwards;
}

.hero-links {
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.6s forwards;
}

.hero-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.hero-links a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(79, 114, 196, 0.35);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
  animation: bounce 2s ease infinite;
  z-index: 1;
}
.hero-scroll:hover { color: var(--accent); }

/* ============================================================
   ABOUT
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 600; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.highlight-card i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.highlight-card span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   EXPERTISE
============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.expertise-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--accent);
  transition: background var(--transition);
}
.expertise-card:hover .expertise-icon {
  background: var(--accent);
  color: #fff;
}

.expertise-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.expertise-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   TIMELINE (Education & Experience)
============================================================ */
.timeline {
  position: relative;
  padding-top: 16px;
  margin-top: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  border-radius: 2px;
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.timeline-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.timeline-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--accent-light);
  color: var(--accent);
}
.timeline-badge.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.timeline-date {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.timeline-institution {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.timeline-institution i {
  font-size: 0.75rem;
  color: var(--accent);
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.timeline-list {
  padding-left: 4px;
}
.timeline-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.6;
}
.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ============================================================
   PROJECTS
============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.project-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-light), #ece8f8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}

.project-meta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.project-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
}
.project-status.published { background: #e6f7ee; color: #28a745; }
.project-status.review    { background: #fff3cd; color: #856404; }
.project-status.progress  { background: var(--accent-light); color: var(--accent); }

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.project-detail-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  font-size: 0.845rem;
}
.project-detail-item strong {
  color: var(--text);
  font-weight: 600;
}
.project-detail-item span {
  color: var(--text-muted);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  padding: 5px 12px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition);
}
.project-link:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* ============================================================
   PUBLICATIONS
============================================================ */
.publications-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pub-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pub-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.pub-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 3px;
}
.pub-badge.conference { background: linear-gradient(135deg, #2563eb, var(--accent)); }
.pub-badge.workshop   { background: linear-gradient(135deg, #7c3aed, var(--accent-2)); }

.pub-body { flex: 1; }

.pub-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.45;
}

.pub-authors {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pub-authors strong { color: var(--text); }

.pub-venue {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.pub-venue em { color: var(--accent); font-style: normal; font-weight: 500; }

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

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  transition: background var(--transition), border-color var(--transition);
}
.pub-link:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}

.pub-more {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   SKILLS
============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.skill-group h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-group h3 i {
  color: var(--accent);
  font-size: 0.95rem;
}

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

.tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(79, 114, 196, 0.2);
  transition: background var(--transition), color var(--transition),
              transform var(--transition);
}
.tag:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
  justify-content: center;
}

.contact-card {
  flex: 1 1 180px;
  max-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.contact-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-card a,
.contact-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  word-break: break-word;
}
.contact-card a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.55);
  padding-block: 28px;
  text-align: center;
  font-size: 0.845rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.75);
}
.footer a:hover { color: #fff; }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .hero-summary { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-links   { justify-content: center; }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-highlights {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .highlight-card { flex: 1 1 180px; }

  .timeline::before { left: 14px; }
  .timeline-marker  { width: 28px; height: 28px; }

  .pub-item { flex-direction: column; gap: 12px; }
  .pub-badge { writing-mode: horizontal-tb; align-self: flex-start; }
}

@media (max-width: 600px) {
  .section { padding-block: 64px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    z-index: 800;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 12px 24px; }

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

  .hero-photo, .hero-photo-placeholder {
    width: 160px;
    height: 160px;
    font-size: 52px;
  }

  .timeline { padding-left: 0; }
  .timeline::before { display: none; }
  .timeline-item { flex-direction: column; gap: 8px; }
  .timeline-marker { width: 12px; height: 12px; margin-top: 0; }

  .project-detail-item { grid-template-columns: 1fr; gap: 2px; }

  .contact-card { max-width: 100%; }
}
