/* ============================================================
   hmojtabavi.dev — 2026 portfolio
   Dark aurora aesthetic · dependency-free
   ============================================================ */

:root {
  --bg: #07070d;
  --bg-alt: #0b0b14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f2f2f8;
  --muted: #a0a0b8;
  --faint: #6b6b82;
  --accent-1: #7c5cff;
  --accent-2: #38e1c8;
  --accent-3: #ff5c9d;
  --grad: linear-gradient(100deg, var(--accent-1), var(--accent-2));
  --grad-3: linear-gradient(100deg, var(--accent-1), var(--accent-3), var(--accent-2));
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 20px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ---------- cursor glow ---------- */
.cursor-glow {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.09) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  left: 50vw; top: 30vh;
  transition: opacity 0.4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0;
  height: 2px; z-index: 200;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%;
  width: 100%;
  background: var(--grad-3);
  transform-origin: left;
  transform: scaleX(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 13, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__monogram {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  background: var(--grad);
  color: #0a0a12;
}
.nav__domain {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.02em;
  color: var(--text);
}
.nav__domain em { font-style: normal; color: var(--accent-2); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color 0.25s;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--text); }
.nav__cta {
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text) !important;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.nav__cta:hover { border-color: var(--accent-1); background: rgba(124, 92, 255, 0.12); }
.nav__burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 20px 80px;
  overflow: hidden;
}
#aurora {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 980px; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em;
  color: var(--muted);
  padding: 8px 18px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 34px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(56, 225, 200, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 225, 200, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(56, 225, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 225, 200, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 11vw, 128px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero__line { display: block; }
.hero__line--gradient {
  background: var(--grad-3);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__role {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 500;
  color: var(--text);
}
.swap-word-wrap {
  display: inline-block; position: relative;
  vertical-align: bottom;
}
.swap-word {
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  border-bottom: 2px solid rgba(124, 92, 255, 0.5);
  transition: opacity 0.35s, transform 0.35s;
}
.swap-word.is-out { opacity: 0; transform: translateY(12px); }

.hero__sub {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17.5px);
  text-wrap: balance;
}

.hero__actions {
  margin-top: 42px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn--primary {
  background: var(--grad);
  color: #08080f;
  box-shadow: 0 8px 32px rgba(124, 92, 255, 0.35);
}
.btn--primary:hover { box-shadow: 0 12px 44px rgba(124, 92, 255, 0.55); }
.btn--ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: var(--accent-2); background: rgba(56, 225, 200, 0.08); }
.btn--lg { padding: 18px 36px; font-size: 16.5px; }
.btn__arrow { transition: transform 0.3s; }
.btn--primary:hover .btn__arrow { transform: translateY(3px); }

/* hero stats */
.hero__stats {
  margin-top: 64px;
  display: flex; justify-content: center; gap: clamp(28px, 6vw, 84px);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: block; line-height: 1.1;
}
.stat__label {
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--faint); letter-spacing: 0.06em;
}

/* scroll hint */
.hero__scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2; opacity: 0.6;
  transition: opacity 0.3s;
}
.hero__scroll-hint:hover { opacity: 1; }
.mouse {
  display: block; width: 26px; height: 42px;
  border: 2px solid var(--muted); border-radius: 14px;
  position: relative;
}
.mouse__wheel {
  position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px; border-radius: 4px;
  background: var(--accent-2);
  transform: translateX(-50%);
  animation: wheel 1.8s infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  overflow: hidden;
  background: var(--bg-alt);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex; align-items: center; gap: 48px;
  padding-right: 48px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px); font-weight: 600;
  color: var(--faint);
  white-space: nowrap;
}
.marquee__group span { transition: color 0.3s; }
.marquee__group span:hover { color: var(--text); }
.marquee__group i { font-style: normal; color: var(--accent-1); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding: clamp(90px, 12vw, 150px) clamp(20px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
}
.section--alt {
  max-width: none;
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(124, 92, 255, 0.07), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(56, 225, 200, 0.05), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--alt > * { max-width: 1240px; margin-left: auto; margin-right: auto; }

.section__head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section__sub { color: var(--muted); font-size: clamp(15px, 1.8vw, 17px); }
.section__head--minor { margin-top: clamp(80px, 9vw, 120px); }
.section__title-minor {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px); font-weight: 700;
  margin-bottom: 10px;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }

.project {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
  transform-style: preserve-3d;
}
.project:hover {
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 30px 80px -20px rgba(124, 92, 255, 0.25);
}
.project--flip { grid-template-columns: 1.15fr 1fr; }
.project--flip .project__visual { order: 2; }

.project__visual {
  position: relative;
  min-height: 340px;
  display: grid; place-items: center;
  overflow: hidden;
}
.project__visual--sefaresh  { background: radial-gradient(600px 400px at 30% 20%, rgba(124,92,255,.35), transparent 65%), radial-gradient(500px 400px at 80% 90%, rgba(255,92,157,.22), transparent 60%), #0d0d18; }
.project__visual--subgen    { background: radial-gradient(600px 400px at 70% 15%, rgba(56,225,200,.28), transparent 60%), radial-gradient(500px 400px at 15% 85%, rgba(124,92,255,.3), transparent 60%), #0c111a; }
.project__visual--memeyaab  { background: radial-gradient(600px 400px at 25% 80%, rgba(255,92,157,.28), transparent 60%), radial-gradient(600px 350px at 80% 15%, rgba(124,92,255,.3), transparent 65%), #120d18; }
.project__visual--cityvibes { background: radial-gradient(600px 400px at 75% 80%, rgba(56,225,200,.24), transparent 60%), radial-gradient(600px 350px at 20% 20%, rgba(255,92,157,.2), transparent 60%), #0d1218; }

.project__orb {
  position: absolute;
  width: 240px; height: 240px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(124,92,255,.5), rgba(56,225,200,.4), rgba(255,92,157,.4), rgba(124,92,255,.5));
  filter: blur(60px);
  opacity: 0.55;
  animation: orbSpin 14s linear infinite;
}
@keyframes orbSpin {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  to { transform: rotate(360deg) scale(1); }
}
.project__emoji {
  position: relative; z-index: 1;
  font-size: clamp(64px, 8vw, 96px);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5));
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* floating chips inside visuals */
.project__chips-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chip-float {
  position: absolute;
  font-family: var(--font-mono); font-size: 12px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(10, 10, 18, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  animation: floatY 6s ease-in-out infinite;
  animation-delay: var(--d);
}
.chip-float:nth-child(1) { top: 16%; left: 10%; }
.chip-float:nth-child(2) { bottom: 22%; right: 12%; }
.chip-float:nth-child(3) { top: 22%; right: 16%; }

.project__subtitle-demo {
  position: absolute; bottom: 26px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  z-index: 1;
}
.sub-line {
  font-family: var(--font-mono); font-size: 13px;
  padding: 6px 14px; border-radius: 8px;
  background: rgba(8, 8, 14, 0.75);
  border: 1px solid var(--border);
}
.sub-line--fade1 { animation: subSwap 6s infinite; }
.sub-line--fade2 { animation: subSwap 6s infinite 3s; color: var(--accent-2); }
@keyframes subSwap {
  0%, 45%, 100% { opacity: 1; }
  50%, 95% { opacity: 0.35; }
}

.project__search-demo { position: absolute; bottom: 30px; z-index: 1; }
.search-pill {
  font-family: var(--font-mono); font-size: 13px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(8, 8, 14, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.search-pill em { font-style: normal; color: var(--accent-2); }
.search-pill em::after {
  content: "▎"; animation: blink 1s steps(1) infinite; color: var(--accent-1);
}
@keyframes blink { 50% { opacity: 0; } }

.project__cities { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.city-pill {
  position: absolute;
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(8, 8, 14, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  animation: floatY 6.5s ease-in-out infinite;
  animation-delay: var(--d);
}
.city-pill:nth-child(1) { top: 14%; left: 10%; }
.city-pill:nth-child(2) { top: 20%; right: 10%; }
.city-pill:nth-child(3) { bottom: 20%; left: 14%; }
.city-pill:nth-child(4) { bottom: 14%; right: 14%; }

.project__body { padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; }
.project__meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  padding: 6px 13px; border-radius: 999px;
}
.tag--live {
  color: var(--accent-2);
  background: rgba(56, 225, 200, 0.09);
  border: 1px solid rgba(56, 225, 200, 0.3);
}
.project__date { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); }
.project__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.01em;
}
.project__alt { color: var(--faint); font-weight: 500; font-size: 0.65em; }
.project__tagline {
  font-size: 16px; font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin: 6px 0 16px;
}
.project__desc { color: var(--muted); font-size: 15.5px; }
.project__stack {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 22px 0;
}
.project__stack li {
  font-family: var(--font-mono); font-size: 12px;
  padding: 6px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}
.project__stack li:hover { border-color: var(--accent-1); color: var(--text); }
.project__links { margin-top: auto; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15.5px;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 3px;
  transition: border-color 0.3s, color 0.3s;
}
.link-arrow span { transition: transform 0.3s var(--ease-out); display: inline-block; }
.link-arrow:hover { color: var(--accent-2); border-color: var(--accent-2); }
.link-arrow:hover span { transform: translate(4px, -4px); }

/* minis */
.minis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.mini {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px 28px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
}
.mini:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 225, 200, 0.4);
  background: var(--surface-hover);
}
.mini__icon { font-size: 34px; display: block; margin-bottom: 16px; }
.mini h4 { font-family: var(--font-display); font-size: 19px; margin-bottom: 4px; }
.mini__date { font-family: var(--font-mono); font-size: 12px; color: var(--faint); margin-bottom: 12px; }
.mini p:not(.mini__date) { color: var(--muted); font-size: 14.5px; }
.mini__stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.mini__stack li {
  font-family: var(--font-mono); font-size: 11.5px;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--faint);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 44px; }
.timeline__rail {
  position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.timeline__rail span {
  display: block; width: 100%; height: 100%;
  background: var(--grad-3);
  transform: scaleY(0); transform-origin: top;
}
.tl-item { position: relative; padding-bottom: clamp(36px, 4vw, 56px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item__dot {
  position: absolute; left: -40px; top: 30px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent-1);
  box-shadow: 0 0 0 5px rgba(124, 92, 255, 0.15);
}
.tl-item:first-child .tl-item__dot {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(56, 225, 200, 0.15);
  animation: pulse 2.2s infinite;
}
.tl-item__card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.tl-item__card:hover {
  transform: translateX(6px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}
.tl-item__top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
}
.tl-item__top h3 { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 23px); }
.tl-item__period {
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--accent-2);
  white-space: nowrap;
}
.tl-item__company { color: var(--faint); font-size: 14px; margin: 6px 0 14px; }
.tl-item__card ul { display: flex; flex-direction: column; gap: 9px; }
.tl-item__card li {
  color: var(--muted); font-size: 14.8px;
  padding-left: 22px; position: relative;
}
.tl-item__card li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--accent-1); font-weight: 600;
}
.tl-item__card strong { color: var(--text); font-weight: 600; }

/* ============================================================
   SKILLS
   ============================================================ */
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.skill-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.skill-card:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.45); }
.skill-card h3 {
  font-family: var(--font-display); font-size: 19px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.skill-card__icon { font-size: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 13px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.chips li:hover {
  border-color: var(--accent-2); color: var(--text);
  background: rgba(56, 225, 200, 0.08);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__portrait {
  position: relative;
  width: 280px; height: 280px;
  justify-self: center;
}
.about__ring {
  position: absolute; inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  animation: orbSpin 10s linear infinite;
  filter: blur(1px);
  opacity: 0.9;
}
.about__ring::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: 50%;
  background: var(--bg-alt);
}
.about__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(1.05);
}
.about__text p:not(.section__kicker) { color: var(--muted); margin-bottom: 18px; max-width: 620px; }
.about__edu { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.edu {
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  background: var(--surface);
  max-width: 480px;
  transition: border-color 0.3s, transform 0.3s;
}
.edu:hover { border-color: rgba(124, 92, 255, 0.4); transform: translateX(4px); }
.edu__icon { font-size: 26px; }
.edu strong { display: block; font-size: 15.5px; }
.edu span:not(.edu__icon) { color: var(--faint); font-size: 13.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { text-align: center; }
.contact__inner { max-width: 760px; margin: 0 auto; }
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.contact__sub { color: var(--muted); font-size: 17px; margin-bottom: 44px; }
.contact__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.contact__socials { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.social {
  font-family: var(--font-mono); font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
}
.social:hover { color: var(--accent-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  color: var(--faint);
  font-size: 14px;
}
.footer__note { margin-top: 6px; font-size: 12.5px; opacity: 0.7; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .project, .project--flip { grid-template-columns: 1fr; }
  .project--flip .project__visual { order: 0; }
  .project__visual { min-height: 260px; }
  .about { grid-template-columns: 1fr; }
  .about__portrait { width: 220px; height: 220px; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: flex-start;
    gap: 4px;
    padding: 18px clamp(20px, 4vw, 48px) 28px;
    background: rgba(7, 7, 13, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  .nav__links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav__links a { padding: 12px 0; font-size: 17px; width: 100%; }
  .nav__links a::after { display: none; }
  .nav__cta { text-align: center; margin-top: 10px; padding: 14px 18px; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 6px;
    background: none; border: none; padding: 8px;
  }
  .nav__burger span {
    width: 24px; height: 2px; border-radius: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav__domain { display: none; }
  .hero__stats { gap: 28px; }
  .timeline { padding-left: 34px; }
  .tl-item__dot { left: -30px; }
  .timeline__rail { left: 4px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  #aurora { display: none; }
  .cursor-glow { display: none; }
}
