/* ── CSS CUSTOM PROPERTIES ── */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --glow-opacity {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

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

:root {
  --accent:       #4f8ef7;
  --accent-2:     #a78bfa;
  --accent-dim:   #93c5fd;
  --accent-glow:  rgba(79,142,247,0.45);
  --accent-soft:  rgba(79,142,247,0.08);
  --bg:           #0d1117;
  --bg-card:      rgba(22,27,39,0.8);
  --bg-dark:      #0a0e16;
  --border:       rgba(79,142,247,0.14);
  --border-muted: rgba(255,255,255,0.06);
  --text:         #eef2ff;
  --muted:        #6b7a99;
  --font:         'Figtree', sans-serif;
  --radius:       14px;
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
strong.accent, .accent { color: var(--accent); }

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

/* ── NOISE OVERLAY ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

/* ── CUSTOM CURSOR ── */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
  box-shadow: 0 0 8px var(--accent-glow);
}
.cursor-ring {
  position: fixed;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(79,142,247,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, border-color .2s;
}
.cursor-dot.hover  { width: 12px; height: 12px; background: var(--accent-2); }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--accent-2); }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 9999;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width .08s linear;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: rgba(13,17,23,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.navbar.scrolled { background: rgba(13,17,23,0.92); }

.nav-inner {
  width: 100%; max-width: 1140px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { font-size: 1.4rem; font-weight: 800; }
.nav-logo .dot { color: var(--accent); }

.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: .88rem; font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
}

/* Aurora blobs */
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  opacity: 0.55;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,142,247,0.6), transparent 70%);
  top: -15%; left: -10%;
  animation: blobFloat1 10s ease-in-out infinite;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.5), transparent 70%);
  top: 20%; right: -5%;
  animation: blobFloat2 13s ease-in-out infinite;
}
.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.35), transparent 70%);
  bottom: 0%; left: 30%;
  animation: blobFloat3 9s ease-in-out infinite;
}
.blob-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(167,139,250,0.3), transparent 70%);
  bottom: 10%; right: 20%;
  animation: blobFloat1 11s ease-in-out infinite reverse;
}
@keyframes blobFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,15px) scale(0.95); }
}
@keyframes blobFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-25px,20px) scale(1.08); }
  66%      { transform: translate(15px,-10px) scale(0.97); }
}
@keyframes blobFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-30px) scale(1.1); }
}

#hero-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  padding: .4rem 1rem;
  background: rgba(79,142,247,0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(8px);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.15} }

.hero-name {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
}
.name-line { display: inline-block; }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.75;
  min-height: 2em;
}
.typed-cursor {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursorBlink .8s step-end infinite;
}
@keyframes cursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-stats {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: .5rem 0;
  margin-bottom: 3rem;
}
.stat { display: flex; flex-direction: column; padding: 0 2rem; }
.stat:first-child { padding-left: 0; }
.stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: .72rem; color: var(--muted); font-weight: 500;
  margin-top: .3rem; text-transform: uppercase; letter-spacing: .06em;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  position: relative;
  display: inline-flex; align-items: center; gap: .4rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 700; font-size: .92rem;
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  z-index: 0;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(79,142,247,.55); transform: translateY(-2px); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  color: var(--text); font-weight: 600; font-size: .92rem;
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-muted);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 20px rgba(79,142,247,.15);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent;
  color: var(--accent); font-weight: 700; font-size: .92rem;
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--accent);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-outline:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border-color: transparent;
  box-shadow: 0 0 30px rgba(79,142,247,.45);
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.scroll-indicator span {
  display: block; width: 1.5px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.2;transform:scaleY(.6)} 50%{opacity:1;transform:scaleY(1)} }

/* ── MARQUEE ── */
.marquee-section {
  overflow: hidden;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.marquee-track { display: flex; }
.marquee-content {
  display: flex; align-items: center; gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
}
.marquee-content span {
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted);
  transition: color .2s;
}
.marquee-content span:not(.sep):hover { color: var(--accent); }
.marquee-content .sep { color: var(--border); font-size: .6rem; }
.marquee-section:hover .marquee-content { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section-dark { background: var(--bg-dark); }
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; }
.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--accent); margin-bottom: .75rem;
}
.body-text { color: var(--muted); line-height: 1.8; max-width: 620px; margin-bottom: 1rem; }

/* ── GLOW CARD (shared) ── */
.glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.glow-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(79,142,247,.08), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.glow-card:hover {
  border-color: rgba(79,142,247,.4);
  box-shadow: 0 8px 40px rgba(79,142,247,.1), inset 0 1px 0 rgba(255,255,255,.05);
}
.glow-card:hover::before { opacity: 1; }

/* Animated gradient border on featured items */
.featured-card {
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    conic-gradient(from var(--angle), var(--accent), var(--accent-2), #38bdf8, var(--accent)) border-box;
  border: 2px solid transparent;
  animation: rotateBorder 5s linear infinite;
}
@keyframes rotateBorder { to { --angle: 360deg; } }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-grid-3 { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(79,142,247,0.1);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .6s ease;
}
.about-photo:hover img { transform: scale(1.04); }
.about-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.about-text h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; }
.about-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.pill-link {
  font-size: .8rem; font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border-muted);
  color: var(--muted);
  backdrop-filter: blur(6px);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.pill-link:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 12px rgba(79,142,247,.2); }

.about-card-col { display: flex; flex-direction: column; gap: 1rem; padding-top: 3rem; }
.about-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem; }
.about-card:hover { transform: translateX(5px); }
.about-card-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.about-card strong { display: block; font-size: .9rem; margin-bottom: .1rem; }
.about-card p { font-size: .78rem; color: var(--muted); }

/* ── SKILLS ── */
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.skill-card { padding: 2rem; }
.skill-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.skill-card:hover { transform: translateY(-5px); }
.skill-card:hover::after { opacity: 1; }
.skill-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.skill-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.skill-tags span {
  font-size: .74rem; font-weight: 600;
  padding: .3rem .75rem;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--accent-dim);
  cursor: default;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.skill-tags span:hover {
  background: rgba(79,142,247,.2);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
  border-radius: 2px;
}
.timeline-item { position: relative; padding: 0 0 2.5rem 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -8px; top: 24px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 2.5px solid var(--bg);
  box-shadow: 0 0 14px var(--accent-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-item:hover .timeline-marker {
  transform: scale(1.4);
  box-shadow: 0 0 24px var(--accent-glow);
}
.timeline-meta { display: flex; align-items: center; gap: .75rem; padding: 0 0 .75rem 0; }
.timeline-date { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.timeline-badge {
  font-size: .65rem; font-weight: 800;
  padding: .15rem .65rem;
  background: linear-gradient(135deg, rgba(79,142,247,.15), rgba(167,139,250,.15));
  border: 1px solid rgba(79,142,247,.35);
  border-radius: 50px; color: var(--accent);
  text-transform: uppercase; letter-spacing: .06em;
  animation: pulseBadge 2.5s ease-in-out infinite;
}
@keyframes pulseBadge { 0%,100%{box-shadow:0 0 0 0 rgba(79,142,247,.3)} 50%{box-shadow:0 0 0 5px rgba(79,142,247,0)} }
.timeline-content { padding: 1.75rem; }
.timeline-content:hover { transform: translateX(4px); }
.timeline-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.timeline-company { font-size: .83rem; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.timeline-bullets { display: flex; flex-direction: column; gap: .5rem; }
.timeline-bullets li {
  font-size: .87rem; color: var(--muted);
  padding-left: 1.1rem; position: relative; line-height: 1.65;
}
.timeline-bullets li::before { content:'▸'; position:absolute; left:0; color:var(--accent); font-size:.65rem; top:4px; }

/* ── EDUCATION ── */
.edu-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 2rem; }
.edu-card { padding: 2rem; }
.edu-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.edu-card:hover { transform: translateY(-4px); }
.edu-card:hover::after { transform: scaleX(1); }
.edu-year { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: .75rem; }
.edu-degree { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; line-height: 1.3; }
.edu-school { font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; }
.edu-details { display: flex; flex-wrap: wrap; gap: .5rem; }
.edu-tag {
  font-size: .7rem; font-weight: 600;
  padding: .28rem .7rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-muted);
  border-radius: 50px; color: var(--muted);
}

/* ── CERTIFICATIONS ── */
.cert-list { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.5rem; }
.cert-item {
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem; color: var(--muted);
  padding: 1rem 1.25rem;
  background: rgba(22,27,39,.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.cert-item:hover { border-color: rgba(79,142,247,.4); color: var(--text); transform: translateX(8px); }
.cert-icon { font-size: 1.1rem; flex-shrink: 0; }
.cert-item em { color: var(--accent); font-style: normal; margin-left: .4rem; font-weight: 700; font-size: .76rem; }

/* ── PROJECTS ── */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 2.5rem; }

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
  cursor: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.project-card:hover {
  border-color: rgba(79,142,247,.45);
  box-shadow: 0 12px 48px rgba(79,142,247,.12);
  transform: translateY(-5px);
}
.project-inner { padding: 1.75rem; transition: transform var(--transition), opacity var(--transition); }
.project-card:hover .project-inner { transform: translateY(-8px); opacity: .3; }

.project-hover-reveal {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(79,142,247,.15), rgba(167,139,250,.1));
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
}
.project-card:hover .project-hover-reveal { opacity: 1; transform: translateY(0); }
.project-hover-reveal p { font-size: .92rem; color: var(--text); margin-bottom: 1.25rem; line-height: 1.6; }

.project-category { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .75rem; }
.project-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .65rem; }
.project-card p { font-size: .82rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.project-tags span {
  font-size: .68rem; font-weight: 600;
  padding: .2rem .6rem;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 50px; color: var(--accent-dim);
}
.project-link {
  font-size: .85rem; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: .35rem;
  transition: gap var(--transition), color var(--transition);
}
.project-link:hover { gap: .65rem; color: var(--accent-2); }
.projects-cta { text-align: center; }

/* ── BEYOND THE DATA GALLERY ── */
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: none;
  border: 1px solid var(--border);
}
.gallery-item.tall { /* taller items naturally handled by image aspect ratio */ }

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .6s cubic-bezier(.23,1,.32,1);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .04em;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,14,22,0.96);
  backdrop-filter: blur(20px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox-inner {
  max-width: 90vw;
  max-height: 88vh;
  text-align: center;
  transform: scale(0.95);
  transition: transform .3s ease;
}
.lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
}
#lightboxCaption {
  margin-top: .75rem;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: none;
  transition: background var(--transition), transform var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.15); transform: rotate(90deg); }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: none;
  transition: background var(--transition), transform var(--transition);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover { background: rgba(255,255,255,.15); transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { background: rgba(255,255,255,.15); transform: translateY(-50%) translateX(3px); }

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}
@media (max-width: 540px) {
  .gallery-grid { columns: 1; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

/* ── COMMUNITY ── */
.community-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.community-card { display: flex; gap: 1.5rem; align-items: flex-start; padding: 2rem; }
.community-card:hover { transform: translateY(-4px); }
.community-icon { font-size: 2rem; flex-shrink: 0; }
.community-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.community-location { font-size: .72rem; color: var(--accent); font-weight: 700; margin-bottom: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.community-card p { font-size: .86rem; color: var(--muted); line-height: 1.65; }

/* ── CONTACT ── */
.contact-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.contact-wrap h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; margin-bottom: 1.25rem; line-height: 1.15; }
.contact-sub { margin: 0 auto 3rem; text-align: center; max-width: 520px; }
.contact-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-bottom: 2.5rem; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1.75rem; }
.contact-card:hover { transform: translateY(-5px); }
.contact-card-icon { font-size: 1.7rem; }
.contact-card-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.contact-card-value { font-size: .83rem; color: var(--muted); }

/* ── FOOTER ── */
.footer { background: var(--bg-dark); border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-size: 1.2rem; font-weight: 800; }
.footer-logo .dot { color: var(--accent); }
.footer-copy { font-size: .78rem; color: var(--muted); }
@keyframes mgsBang {
  from { transform: scale(1);   opacity: 1; }
  to   { transform: scale(1.08); opacity: 0.7; }
}
.konami-hint {
  cursor: help;
  opacity: 0.35;
  font-size: 0.7rem;
  transition: opacity 0.3s, color 0.3s;
  color: var(--accent);
}
.konami-hint:hover { opacity: 1; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .78rem; color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border: none; border-radius: 50%;
  font-size: 1.1rem; font-weight: 700;
  cursor: none; opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 99;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 0 24px var(--accent-glow); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); animation: fadeUp .7s ease forwards; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

/* ── OPEN TO OPPORTUNITIES BADGE ── */
.opp-badge {
  position: absolute;
  top: 100px;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  padding: 0.45rem 1rem;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.opp-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74,222,128,0.8);
  animation: blink 1.6s ease-in-out infinite;
}

/* ── HERO DESCRIPTOR ── */
.hero-descriptor {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-weight: 400;
  line-height: 1.6;
}

/* ── ROLE TOGGLE ── */
.role-toggle { margin-bottom: 2.5rem; }

.role-track {
  display: inline-flex;
  position: relative;
  background: rgba(79,142,247,0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px;
  backdrop-filter: blur(10px);
}

.role-btn {
  position: relative;
  z-index: 1;
  padding: 0.55rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: none;
  border-radius: 50px;
  transition: color 0.35s ease;
  white-space: nowrap;
}
.role-btn.active { color: #fff; }

.role-indicator {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(79,142,247,0.5);
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1), width 0.45s cubic-bezier(0.23,1,0.32,1);
  pointer-events: none;
}

/* Switching animation */
.hero-tagline.switching {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-tagline.switched {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.dual-track-line { margin-top: 0.5rem; }

.story-em {
  font-style: italic;
  color: var(--accent-dim);
  font-weight: 600;
}

/* ── TORONTO CLOCK ── */
.toronto-clock {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  z-index: 5;
  pointer-events: none;
}
.clock-city {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.clock-time {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CAREER IMPACT SECTION ── */
.impact-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, rgba(79,142,247,0.05) 0%, rgba(167,139,250,0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.impact-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 3rem;
  gap: 0.35rem;
}
.impact-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.impact-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── CODE EDITOR SECTION ── */
.code-section { background: var(--bg-dark); }

.code-editor {
  background: #0d1117;
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  max-width: 820px;
  margin: 0 auto;
}

.editor-titlebar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #161b27;
  border-bottom: 1px solid rgba(79,142,247,0.12);
}
.editor-dots { display: flex; gap: 6px; }
.dot-red, .dot-yellow, .dot-green {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28ca41; }

.editor-tabs { display: flex; gap: 0.25rem; flex: 1; }
.editor-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-bottom: 2px solid transparent;
}
.editor-tab.active {
  color: var(--accent);
  background: rgba(79,142,247,0.08);
  border-bottom-color: var(--accent);
}
.editor-tab:hover:not(.active) { color: var(--text); }

.editor-lang-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79,142,247,0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-left: auto;
}

.editor-body {
  display: flex;
  overflow: hidden;
  height: 280px;
}

.line-numbers {
  padding: 1.25rem 0.75rem 1.25rem 1rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.8rem;
  line-height: 1.75;
  color: #3d4a6b;
  user-select: none;
  text-align: right;
  min-width: 2.5rem;
  border-right: 1px solid rgba(79,142,247,0.08);
  white-space: pre;
  overflow: hidden;
  flex-shrink: 0;
}

.code-area {
  flex: 1;
  padding: 1.25rem 1.5rem;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.8rem;
  line-height: 1.75;
  white-space: pre;
  overflow: auto;
  background: transparent;
  border: none;
  outline: none;
  color: #c9d1d9;
  min-width: 0;
}

.editor-statusbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: #161b27;
  border-top: 1px solid rgba(79,142,247,0.08);
  font-size: 0.65rem;
  color: var(--muted);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.status-right { margin-left: auto; }

/* Syntax highlight colours */
.kw  { color: #ff7b72; }   /* keywords */
.fn  { color: #79c0ff; }   /* functions/builtins */
.str { color: #a5d6ff; }   /* strings */
.num { color: #f2cc60; }   /* numbers */
.cm  { color: #3d4a6b; font-style: italic; } /* comments */
.id  { color: #ffa657; }   /* identifiers/columns */
.op  { color: #ff7b72; }   /* operators */

@media (max-width: 640px) {
  .toronto-clock { display: none; }
  .opp-badge { display: none; }
  .impact-item { padding: 0.5rem 1.5rem; }
  .impact-divider { height: 32px; }
}

/* ── GLOBE SECTION ── */
.globe-section { background: var(--bg-dark); }

.globe-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.globe-cities {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.globe-city-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.city-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
  flex-shrink: 0;
}

.globe-hint {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.globe-canvas-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

#globe-canvas {
  cursor: grab;
  border-radius: 50%;
  display: block;
  max-width: 100%;
}

#globe-canvas:active { cursor: grabbing; }

/* ── TERMINAL ── */
.terminal-section { background: var(--bg); }

.terminal-window {
  background: #0d1117;
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  max-width: 760px;
  margin: 0 auto;
  cursor: text;
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #161b27;
  border-bottom: 1px solid rgba(79,142,247,0.1);
}

.terminal-title {
  font-family: 'JetBrains Mono','Fira Code',Consolas,monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

.terminal-body {
  padding: 1rem 1.25rem 0.5rem;
  font-family: 'JetBrains Mono','Fira Code',Consolas,monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  min-height: 220px;
  max-height: 380px;
  overflow-y: auto;
  color: #c9d1d9;
}

.t-line { margin-bottom: 0.1rem; }

.t-prompt {
  color: var(--accent);
  font-weight: 700;
  user-select: none;
  margin-right: 0.5rem;
}

.t-cmd-echo { color: #eef2ff; }
.t-output { color: #c9d1d9; }
.t-accent { color: var(--accent); }
.t-error  { color: #ff7b72; }
.t-muted  { color: #3d4a6b; }

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem 0.75rem;
  border-top: 1px solid rgba(79,142,247,0.07);
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #eef2ff;
  font-family: 'JetBrains Mono','Fira Code',Consolas,monospace;
  font-size: 0.8rem;
  caret-color: var(--accent);
}

.terminal-input::placeholder { color: #3d4a6b; }

kbd {
  display: inline-block;
  background: rgba(79,142,247,0.12);
  color: var(--accent);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: 4px;
  padding: 0.05rem 0.5rem;
  font-family: 'JetBrains Mono',monospace;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .globe-layout { grid-template-columns: 1fr; gap: 2rem; }
  .globe-canvas-wrap { order: -1; }
  #globe-canvas { width: 280px !important; height: 280px !important; }
}

/* ── TOAST NOTIFICATIONS ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(22,27,39,0.97);
  border: 1px solid var(--accent);
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), opacity 0.3s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(79,142,247,0.2);
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-icon { color: #34d399; font-size: 0.9rem; }

/* ── COPY BUTTON ── */
.contact-card { position: relative; }
.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(79,142,247,0.1);
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s, color 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
  z-index: 2;
}
.contact-card:hover .copy-btn { opacity: 1; }
.copy-btn:hover {
  background: rgba(79,142,247,0.2);
  color: var(--accent);
  transform: scale(1.1);
}
.copy-btn.copied { color: #34d399; background: rgba(52,211,153,0.15); }

/* ── CURRENTLY CARD ── */
.currently-content { display: flex; flex-direction: column; gap: 0.4rem; }
.currently-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.2rem;
}
.currently-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.cl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--d);
  box-shadow: 0 0 6px var(--d);
  flex-shrink: 0;
  animation: clPulse 2s ease-in-out infinite;
}
@keyframes clPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.reveal.delay-5 { transition-delay: .5s; }

/* ── HORIZONTAL TIMELINE ── */
.timeline-wrap { position: relative; }

.timeline-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tl-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
}
.tl-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

.tl-btns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(79,142,247,0.06);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.tl-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.tl-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}
.tl-counter {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 3rem;
  text-align: center;
}

.timeline-h {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.5rem;
  scrollbar-width: none;
  cursor: grab;
}
.timeline-h:active { cursor: grabbing; }
.timeline-h::-webkit-scrollbar { display: none; }

.timeline-card {
  min-width: min(420px, 82vw);
  scroll-snap-align: start;
  flex-shrink: 0;
}
.timeline-card .timeline-content {
  height: 100%;
}

/* ── CLICK RIPPLE ── */
.click-ripple {
  position: fixed;
  border-radius: 50%;
  background: rgba(79,142,247,0.12);
  pointer-events: none;
  z-index: 9995;
  transform: translate(-50%, -50%) scale(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .edu-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .about-grid, .about-grid-3 { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-card-col { padding-top: 0; }
  .about-photo { aspect-ratio: 4/3; }
  .skills-grid    { grid-template-columns: repeat(2,1fr); }
  .projects-grid  { grid-template-columns: repeat(2,1fr); }
  .community-grid { grid-template-columns: 1fr; }
  .contact-links  { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(13,17,23,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem; gap: 1.25rem; z-index: 99;
  }
  .nav-links.open a { font-size: 1rem; color: var(--text); }
  .hero-stats  { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }
  .stat { padding: 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .br-desk { display: none; }
  .timeline { padding-left: 1.25rem; }
  .timeline-item { padding-left: 1.75rem; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring, .cursor-label { display: none; }
  .section-nav { display: none; }
}

/* ── CINEMATIC LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
#loader.exit {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.loader-inner { text-align: center; }
.loader-logo {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
  line-height: 1;
}
.loader-logo .la { color: var(--accent); opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.loader-logo .lz { color: var(--text);   opacity: 0; transform: translateY(12px); transition: opacity .4s ease .12s, transform .4s ease .12s; }
.loader-logo .ld { color: var(--accent); opacity: 0; transform: translateY(12px); transition: opacity .4s ease .22s, transform .4s ease .22s; }
#loader.letters-in .la,
#loader.letters-in .lz,
#loader.letters-in .ld { opacity: 1; transform: translateY(0); }
.loader-bar-wrap {
  width: 220px;
  height: 1.5px;
  background: rgba(79,142,247,0.12);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 0.18s ease;
}
.loader-status {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  height: 1.2em;
}

/* ── VERTICAL SECTION NAV ── */
.section-nav {
  position: fixed;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.section-nav.vis { opacity: 1; }
.snav-dot {
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background 0.3s, height 0.3s, border-radius 0.3s;
  position: relative;
}
.snav-dot::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.snav-dot:hover::after,
.snav-dot.active::after { opacity: 1; }
.snav-dot.active {
  background: var(--accent);
  height: 18px;
  border-radius: 3px;
}
.snav-dot:hover:not(.active) { background: rgba(255,255,255,0.38); }

/* ── CURSOR LABEL ── */
.cursor-label {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 0.22em 0.6em;
  border-radius: 4px;
  opacity: 0;
  transform: translate(16px, -50%);
  transition: opacity 0.2s, background 0.2s;
  white-space: nowrap;
}
.cursor-label.show { opacity: 1; }

/* ── SCRAMBLE HEADING ── */
.section-header h2 { will-change: contents; }

/* ── RADAR CHART ── */
.radar-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 2.5rem 0 3rem;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
#radarChart { flex-shrink: 0; }
.radar-legend { display: flex; flex-direction: column; gap: 0.45rem; }
.radar-legend-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.79rem; color: var(--muted); }
.radar-legend-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
@media (max-width: 640px) { .radar-row { flex-direction: column; gap: 1.5rem; } }

/* ── AI CHAT WIDGET ── */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.chat-fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border: none; cursor: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 28px rgba(79,142,247,0.5);
  transition: transform 0.3s cubic-bezier(.23,1,.32,1), box-shadow 0.3s;
  position: relative;
}
.chat-fab:hover { transform: scale(1.1); box-shadow: 0 6px 36px rgba(79,142,247,0.65); }
.chat-fab-ping {
  position: absolute; top: 5px; right: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #34d399;
  animation: chatPing 2.2s ease-in-out infinite;
}
@keyframes chatPing {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.7); opacity: 0; }
}
.chat-panel {
  width: 330px;
  background: rgba(13,17,23,0.97);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(28px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(79,142,247,0.06);
  display: none;
  flex-direction: column;
  max-height: 530px;
}
.chat-panel.open {
  display: flex;
  animation: chatSlideIn 0.32s cubic-bezier(.23,1,.32,1);
}
@keyframes chatSlideIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.chat-hdr {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  background: rgba(79,142,247,0.06);
  border-bottom: 1px solid var(--border);
}
.chat-av {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.72rem; color: #fff; flex-shrink: 0;
}
.chat-hdr-info { flex: 1; }
.chat-hdr-name  { display: block; font-size: 0.85rem; font-weight: 700; }
.chat-hdr-status {
  font-size: 0.67rem; color: var(--muted);
  display: flex; align-items: center; gap: 0.3rem; margin-top: 1px;
}
.chat-online-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; display: inline-block; }
.chat-x {
  background: none; border: none; color: var(--muted);
  cursor: none; font-size: 0.95rem; line-height: 1; padding: 4px;
  transition: color 0.2s;
}
.chat-x:hover { color: var(--text); }
.chat-msgs {
  flex: 1; overflow-y: auto;
  padding: 1rem; display: flex; flex-direction: column; gap: 0.65rem;
  min-height: 180px; max-height: 300px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.chat-msg {
  max-width: 86%; padding: 0.58rem 0.88rem;
  border-radius: 14px; font-size: 0.82rem; line-height: 1.55;
  animation: msgIn 0.22s ease;
}
@keyframes msgIn { from { opacity:0; transform:translateY(5px); } to { opacity:1; } }
.chat-msg.bot {
  background: rgba(79,142,247,0.09);
  border: 1px solid rgba(79,142,247,0.14);
  border-bottom-left-radius: 4px; align-self: flex-start;
}
.chat-msg.user {
  background: var(--accent); color: #fff;
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.chat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 0.58rem 0.88rem;
  background: rgba(79,142,247,0.08); border: 1px solid rgba(79,142,247,0.12);
  border-radius: 14px; border-bottom-left-radius: 4px;
  width: fit-content; align-self: flex-start;
}
.chat-typing span {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: typingDot 1.2s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30%          { transform: translateY(-5px); opacity: 1; }
}
.chat-chips {
  display: flex; flex-wrap: wrap; gap: 0.38rem;
  padding: 0.6rem 1rem 0.2rem;
}
.chat-chip {
  font-size: 0.7rem; padding: 0.28em 0.72em;
  border-radius: 20px;
  background: rgba(79,142,247,0.08); border: 1px solid rgba(79,142,247,0.2);
  color: var(--accent); cursor: none;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
  font-family: var(--font);
}
.chat-chip:hover { background: var(--accent); color: #fff; }
.chat-foot {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem; border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 9px;
  padding: 0.48rem 0.72rem; font-size: 0.82rem;
  color: var(--text); font-family: var(--font); outline: none;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--accent); }
.chat-send {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); border: none; color: #fff; cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}
.chat-send:hover { transform: scale(1.08); }

/* ── RESULTS BAR CHART ── */
.results-chart {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-muted);
}
.result-row {
  margin-bottom: 1.75rem;
}
.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.55rem;
}
.result-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.result-change {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.result-bars { display: flex; flex-direction: column; gap: 0.4rem; }
.result-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.bar-tag {
  font-size: 0.7rem;
  color: var(--muted);
  width: 3rem;
  flex-shrink: 0;
  text-align: right;
}
.result-bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.before-bar .bar-fill { background: rgba(79,142,247,0.3); }
.after-bar  .bar-fill { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.bar-val {
  font-size: 0.72rem;
  color: var(--muted);
  width: 4.5rem;
  flex-shrink: 0;
}

/* ── NAV CTA ── */
.nav-cta {
  display: none;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  white-space: nowrap;
  cursor: none;
}
.nav-cta:hover { background: var(--accent-2); }
.navbar.scrolled .nav-cta { display: inline-block; }
@media (max-width: 640px) { .nav-cta { display: none !important; } }

/* ── CASE STUDY CARD ── */
.case-study-card {
  margin-bottom: 3rem;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(79,142,247,0.25);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.case-study-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.cs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.cs-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.cs-company {
  font-size: 0.78rem;
  color: var(--muted);
}
.cs-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.cs-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.cs-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.cs-col p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}
.cs-col p strong { color: var(--text); }
.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cs-tags span {
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}
@media (max-width: 768px) {
  .cs-cols { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── PROJECT FILTERS ── */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── PROJECT CARD FILTER STATE ── */
.project-card.hidden-card {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-card {
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow var(--transition);
}

/* ── PROJECT INSIGHT ── */
.project-insight {
  font-size: 0.8rem;
  color: var(--accent-dim);
  line-height: 1.6;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}

/* ── CURRENTLY LEARNING LABEL ── */
.learning-label {
  display: block;
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  color: #f59e0b;
  letter-spacing: 0.04em;
}

/* ── FOCUS VISIBLE (KEYBOARD NAV) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── MUTED TEXT CONTRAST FIX (WCAG AA) ── */
:root { --muted: #8896b3; }

/* ── PUBLICATION CARD ── */
.publication-card {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}
.pub-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.pub-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.pub-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.pub-abstract {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.pub-link { font-size: 0.88rem; }

/* ── SCROLL DEPTH TOAST ── */
.scroll-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
  z-index: 8000;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  max-width: 340px;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.scroll-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.scroll-toast-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ── REDUCED MOTION ── */
/* ── STACK ICONS GRID ── */
.stack-block { margin-top: 3.5rem; }

.stack-icons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.si-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 0.6rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  width: 76px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  cursor: default;
}

.si-item:hover {
  background: rgba(79,142,247,0.1);
  border-color: rgba(79,142,247,0.28);
  transform: translateY(-4px);
}

.si-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.si-item:hover img { opacity: 1; }

.si-item span {
  font-size: 0.67rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
  font-weight: 500;
}

.si-emoji .si-emo {
  font-size: 1.4rem;
  line-height: 1;
  display: block;
}

/* ── CAREER ARC ── */
.career-arc {
  margin-bottom: 3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}

.career-arc::-webkit-scrollbar { height: 3px; }
.career-arc::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.arc-inner {
  position: relative;
  min-width: 640px;
  padding-top: 2px;
}

.arc-spine {
  position: absolute;
  top: 5px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-2), #34d399);
}

.arc-stops {
  display: flex;
  position: relative;
}

.arc-stop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.25rem;
}

.arc-stop-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-dark);
  box-shadow: 0 0 0 3px rgba(79,142,247,0.22);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-bottom: 0.55rem;
}

.arc-stop.current .arc-stop-dot {
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.25);
  animation: arcPulse 2.2s ease-in-out infinite;
}

@keyframes arcPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,0.25); }
  50%       { box-shadow: 0 0 0 8px rgba(52,211,153,0.08); }
}

.arc-stop-year {
  font-size: 0.66rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.arc-stop.current .arc-stop-year { color: #34d399; }

.arc-stop-co {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.arc-stop-title {
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 0.15rem;
  white-space: nowrap;
}

.arc-stop-loc {
  font-size: 0.61rem;
  color: var(--muted);
  opacity: 0.65;
  margin-top: 0.2rem;
  white-space: nowrap;
}

/* ── MOBILE: STACK GRID + CAREER ARC ── */
@media (max-width: 640px) {
  .si-item { width: 68px; padding: 0.75rem 0.5rem; }
  .si-item img { width: 22px; height: 22px; }
  .si-emoji .si-emo { font-size: 1.2rem; }

  .arc-inner { min-width: 520px; }
  .arc-stop-co { font-size: 0.7rem; }
  .arc-stop-title { font-size: 0.62rem; }
  .arc-stop-loc { font-size: 0.58rem; }
  .arc-stop-year { font-size: 0.62rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .aurora-blob { animation: none !important; }
  .marquee-content { animation: none !important; }
  .scroll-indicator-line { animation: none !important; }
  .fade-up { opacity: 1; transform: none; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  #hero-canvas { display: none; }
}
