/* ═══════════════════════════════════════════════════════════════
   STYLE.CSS — ETHEREAL DESIGN SYSTEM
   Mehrshad Javadi Portfolio
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  --void:           #06060A;
  --surface:        #0D0D18;
  --border:         #1A1A2E;
  --accent-primary: #4F8EF7;
  --accent-gold:    #C9A84C;
  --text-primary:   #F0F0F5;
  --text-secondary: #6B7280;
  --glow:           rgba(79, 142, 247, 0.15);
  --gold-glow:      rgba(201, 168, 76, 0.15);

  --section-pad: 140px;
  --max-w:       1100px;
  --ease-hover:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.loaded { opacity: 1; }
body::-webkit-scrollbar { display: none; }

/* Global cinematic vignette */
body::after {
  content: '';
  position: fixed; inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(6,6,10,.6) 100%
  );
  pointer-events: none;
  z-index: 9990;
}

a  { text-decoration: none; color: inherit; }
img, video { max-width: 100%; display: block; }

/* ─── Page Loader ────────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--void);
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.5s ease 0.2s;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }

/* ─── Custom Cursor ──────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: #4F8EF7;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: none;
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid #4F8EF7;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width .3s ease, height .3s ease, border-color .3s ease;
}

/* ─── Transition Flash ───────────────────────────────────────── */
.transition-flash {
  position: fixed; inset: 0;
  background: #06060A;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  transition: background .4s ease, backdrop-filter .4s ease, padding .3s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(6,6,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 15px 48px;
  border-bottom-color: rgba(26,26,46,.6);
}

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

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-primary);
  letter-spacing: .06em;
  transition: opacity .3s ease;
}
.nav-logo:hover { opacity: .75; }

.nav-links { display: flex; gap: 40px; }

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: .03em;
  position: relative;
  transition: color .3s var(--ease-hover);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-primary);
  transition: width .3s var(--ease-hover);
}
.nav-link:hover, .nav-link.active               { color: var(--accent-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text-secondary);
  transition: transform .3s ease, opacity .3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(6,6,10,.97);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu-close {
  position: absolute; top: 28px; right: 36px;
  font-size: 26px;
  color: var(--text-secondary);
  background: none; border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  transition: color .3s ease;
}
.mobile-menu-close:hover { color: var(--accent-primary); }

.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 44px; }

.mobile-nav-link {
  font-family: 'Syne', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .04em;
  transition: color .3s ease;
}
.mobile-nav-link:hover { color: var(--accent-primary); }

/* ═══════════════════════════════════════════════════════════════
   SHARED SECTION UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -.02em;
}

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

/* Tag Pills */
.tag-pill {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  border-radius: 100px;
  padding: 4px 13px;
  text-transform: uppercase;
}
.tag-pill.tag-current { background: rgba(79,142,247,.08); }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

/* Wrapper is the scroll container — CSS sticky does the pinning */
.hero-wrapper {
  height: 250vh;
  position: relative;
}

.hero-section {
  min-height: 640px;
  background: var(--void);
}

/* The .hero class on the section element drives the sticky pin */
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Video */
.hero-video-wrapper {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  transform-origin: center center;
  will-change: transform;
  background: linear-gradient(
    135deg,
    rgba(6,6,10,.75)  0%,
    rgba(6,6,10,.40) 40%,
    rgba(6,6,10,.60) 70%,
    rgba(6,6,10,.95) 100%
  );
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, #06060A);
  pointer-events: none;
}

/* Particle canvas */
.particle-canvas {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Hero content — bottom-left movie poster anchor */
.hero-content {
  position: absolute;
  left: 8%;
  bottom: 18%;
  z-index: 2;
  text-align: left;
  max-width: 580px;
}

.hero-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -.03em;
  margin-bottom: 32px;
}
.hero-line-1 {
  display: block;
  font-size: clamp(42px, 6.5vw, 80px);
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
}
.hero-line-2 {
  display: block;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 300;
  color: #C8CDD6;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 1px 24px rgba(6,6,10,.95), 0 0 48px rgba(6,6,10,.8);
}

.hero-rule {
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  margin: 0 0 28px;
}

.hero-bio {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #B0B8C4;
  max-width: 460px;
  margin: 0 0 40px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 1px 18px rgba(6,6,10,.9), 0 0 36px rgba(6,6,10,.7);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Ghost buttons */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  background: transparent;
  padding: 12px 28px;
  border-radius: 3px;
  transition: background .3s var(--ease-hover), color .3s var(--ease-hover);
  cursor: pointer;
  text-transform: uppercase;
}
.btn-ghost:hover { background: var(--accent-primary); color: var(--void); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity .5s ease;
}
.scroll-indicator.hidden { opacity: 0; }

.scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--text-secondary);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollPulse 1.9s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  45%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.section-about {
  background: var(--void);
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: start;
}

.stats-block {
  display: flex;
  flex-direction: column;
  gap: 52px;
  margin-top: 44px;
}
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 24px;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ═══════════════════════════════════════════════════════════════
   EXPERIENCE
   ═══════════════════════════════════════════════════════════════ */
.section-experience {
  background: var(--void);
  padding: var(--section-pad) 0;
  position: relative;
}

/* Subtle horizontal line texture */
.section-experience::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(26,26,46,.25) 39px,
    rgba(26,26,46,.25) 40px
  );
  pointer-events: none;
  z-index: 0;
}
.section-experience .section-container { position: relative; z-index: 1; }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-entry {
  position: relative;
  padding: 0 0 72px 52px;
  opacity: 0;
  transform: translateX(-30px);
}
.timeline-entry:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -5px; top: 12px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--accent-primary);
  z-index: 1;
}
.timeline-dot.pulse { animation: dotPulse .65s ease-out; }
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(79,142,247,.65); }
  70%  { box-shadow: 0 0 0 14px rgba(79,142,247,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,142,247,0); }
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
  gap: 16px;
}
.entry-role {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
}
.entry-company-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.entry-company {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent-primary);
}
.entry-type {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
}
.entry-period {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: .04em;
}

.entry-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.entry-bullets li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
  padding-left: 22px;
  position: relative;
}
.entry-bullets li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--accent-primary);
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   STACK
   ═══════════════════════════════════════════════════════════════ */
.section-stack {
  background: var(--surface);
  padding: var(--section-pad) 0;
}

.stack-group { margin-bottom: 56px; }
.stack-group:last-child { margin-bottom: 0; }

.stack-group-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tool-grid { display: flex; flex-wrap: wrap; gap: 12px; }

.tool-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: default;
  transition:
    border-color .3s var(--ease-hover),
    box-shadow   .3s var(--ease-hover),
    transform    .3s var(--ease-hover);
  opacity: 0;
  transform: translateY(20px);
  min-width: 110px;
}
.tool-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 22px var(--glow);
  transform: translateY(-4px);
}
.tool-card--learning { border-style: dashed; }

.tool-name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}
.tool-category {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.tool-learning-badge {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   WORK / PORTFOLIO
   ═══════════════════════════════════════════════════════════════ */
.section-work {
  background: var(--void);
  padding: var(--section-pad) 0;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project-card--featured { grid-column: 1 / -1; }

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color .3s var(--ease-hover),
    box-shadow   .3s var(--ease-hover),
    transform    .3s var(--ease-hover);
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
}
.project-card:not(.project-card--coming-soon):hover {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 48px var(--glow), 0 0 0 1px rgba(79,142,247,.1);
  transform: translateY(-4px) scale(1.015);
}
.project-card--featured {
  border-color: var(--accent-gold);
  cursor: pointer;
}
.project-card--featured:hover {
  border-color: var(--accent-gold) !important;
  box-shadow: 0 8px 64px var(--gold-glow), 0 0 0 1px rgba(201,168,76,.12) !important;
  transform: translateY(-4px) scale(1.01) !important;
}
.project-card--coming-soon {
  border-style: dashed;
  opacity: 0.45 !important;
  cursor: default;
}
.project-card--coming-soon:hover {
  transform: none !important;
  box-shadow: none !important;
}

.card-inner {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Gold shimmer on featured */
.card-shimmer { display: none; }
.project-card--featured .card-shimmer {
  display: block;
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(201,168,76,.035) 50%,
    transparent 62%
  );
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  border-radius: 100px;
  padding: 3px 11px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.card-tag--gold { color: var(--accent-gold); border-color: var(--accent-gold); }
.card-tag--muted { color: var(--text-secondary); border-color: var(--border); }

.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.card-descriptor {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 24px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}
.card-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(26,26,46,.55);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}
.card-link {
  display: flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  transition: color .3s ease, border-color .3s ease;
}
.card-link:hover { color: var(--accent-primary); border-color: var(--accent-primary); }

/* ═══════════════════════════════════════════════════════════════
   EDUCATION
   ═══════════════════════════════════════════════════════════════ */
.section-education {
  background: var(--void);
  padding: var(--section-pad) 0;
}
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
  opacity: 0;
  transform: translateY(20px);
}
.edu-card:hover {
  border-color: rgba(79,142,247,.3);
  box-shadow: 0 0 24px rgba(79,142,247,.06);
}
.edu-card-inner { padding: 32px; }

.edu-status {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  border-radius: 100px;
  padding: 3px 11px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.edu-status--progress { color: var(--accent-primary); border: 1px solid var(--accent-primary); background: rgba(79,142,247,.07); }
.edu-status--complete  { color: var(--text-secondary); border: 1px solid var(--border); }

.edu-institution {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -.01em;
  margin-bottom: 9px;
}
.edu-degree {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.edu-period {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}
.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-nav { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .3s var(--ease-hover);
}
.footer-link:hover { color: var(--accent-primary); }

.footer-social { display: flex; gap: 14px; align-items: center; }
.social-link {
  display: flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: color .3s var(--ease-hover), border-color .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.social-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 14px var(--glow);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: .05em;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .stats-block { flex-direction: row; gap: 36px; flex-wrap: wrap; margin-top: 0; }
  .work-grid   { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: 1; }
  .education-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .site-nav { padding: 20px 24px; }
  .site-nav.scrolled { padding: 14px 24px; }

  .section-container { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }

  .hero-wrapper { height: 220vh; }
  .hero-content { left: 6%; bottom: 14%; max-width: 90%; }
  .hero-line-1 { font-size: clamp(28px, 9vw, 48px); }
  .hero-line-2 { font-size: clamp(18px, 5.5vw, 28px); }

  .section-heading { font-size: 28px; }

  .footer-main { flex-direction: column; gap: 32px; }

  .timeline { padding-left: 18px; }
  .timeline-entry { padding: 0 0 52px 40px; }

  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 520px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-ghost { justify-content: center; }
  .entry-header { flex-direction: column; align-items: flex-start; }
}
