@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

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

:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --accent: #a78bfa;
  --accent2: #c084fc;
  --text: #f0f0f0;
  --text-muted: #6b6b6b;
  --border: rgba(255,255,255,0.07);
  --card-bg: rgba(255,255,255,0.03);
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}


/* ─── NOISE OVERLAY ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1000;
}

/* ─── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ─── INTRO OVERLAY ─────────────────────────────── */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  touch-action: pan-y;
}

.intro-letter {
  font-family: var(--font-sans);
  font-size: clamp(10rem, 26vw, 24rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 55%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  will-change: transform, opacity;
}

/* ─── NAV ───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--text);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

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

/* Gradient background — GPU-only, no blur repaint */
#hero::after {
  content: '';
  position: absolute;
  width: 160%; height: 160%;
  top: -30%; left: -30%;
  background:
    radial-gradient(ellipse 45% 55% at 75% 20%, rgba(124,58,237,0.55) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 20% 80%, rgba(30,64,175,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 58% 58%, rgba(194,65,12,0.42) 0%, transparent 50%);
  animation: heroBgDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

@keyframes heroBgDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-4%, 3%) scale(1.04); }
  66%  { transform: translate(3%, -4%) scale(0.97); }
  100% { transform: translate(-2%, 5%) scale(1.03); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Hero tag */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Hero name */
.hero-name {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.hero-name .line {
  display: block;
  overflow: hidden;
}

.hero-name .line span {
  display: block;
}

.hero-name .accent-word {
  color: var(--accent);
  display: inline-block;
}

/* Hero role */
.hero-role {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 48px;
  max-width: 520px;
  line-height: 1.6;
}

.hero-role strong {
  color: var(--text);
  font-weight: 600;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent);
  color: #080808;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-110%) skewX(-15deg);
  transition: transform 0.4s ease;
}

.btn-primary:hover::before { transform: translateX(110%) skewX(-15deg); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(167,139,250,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 48px; height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* Hero stats */
.hero-stats {
  position: absolute;
  right: 48px;
  bottom: 40px;
  display: flex;
  gap: 40px;
}

.stat-item { text-align: right; }

.stat-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ─── SECTION BASE ──────────────────────────────── */
section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

#hero {
  max-width: 100%;
  width: 100%;
}

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

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-title .accent { color: var(--accent); }

/* ─── SKILLS ────────────────────────────────────── */
#skills { border-top: 1px solid var(--border); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5px;
  margin-top: 60px;
}

.skill-category {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  min-height: 380px;
}

.skill-category::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(167,139,250,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-category:hover { border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.03); }
.skill-category:hover::before { opacity: 1; }

.skill-category-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.skill-category-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

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

.skill-tag {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(167,139,250,0.05);
}

.skill-number {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

/* ─── EXPERIENCE ────────────────────────────────── */
#experience { border-top: 1px solid var(--border); }

.timeline {
  position: relative;
  margin-top: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 0 0 64px 40px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 8px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(167,139,250,0.15);
  transition: box-shadow 0.3s ease;
}

.timeline-item:hover::before {
  box-shadow: 0 0 0 8px rgba(167,139,250,0.2), 0 0 20px rgba(167,139,250,0.4);
}

.timeline-meta { padding-top: 6px; }

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.timeline-type {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 4px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.timeline-item:hover .timeline-card { border-color: rgba(167,139,250,0.2); transform: translateX(4px); }
.timeline-item:hover .timeline-card::after { transform: scaleY(1); }

.timeline-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }

.timeline-company {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.timeline-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.timeline-tech { display: flex; flex-wrap: wrap; gap: 6px; }

.tech-tag {
  padding: 4px 10px;
  background: rgba(167,139,250,0.07);
  border: 1px solid rgba(167,139,250,0.15);
  border-radius: 2px;
  font-size: 0.75rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ─── CONTACTS ──────────────────────────────────── */
#contacts { border-top: 1px solid var(--border); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.contact-subtitle {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 32px;
}

.contact-subtitle .accent { color: var(--accent); }

.contact-email {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-email:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(167,139,250,0.05);
  transform: translateY(-2px);
}

.contact-email svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.5; flex-shrink: 0; }

.contact-info-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-top: 12px;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-info-box:hover { border-color: rgba(167,139,250,0.3); color: var(--text); background: rgba(167,139,250,0.03); }
.contact-info-box svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; }

.contact-right { display: flex; flex-direction: column; gap: 4px; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

.social-link:first-child { border-top: 1px solid var(--border); }
.social-link:hover { padding-left: 16px; }

.social-link-left { display: flex; align-items: center; gap: 20px; }

.social-link-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.social-link:hover .social-link-icon { border-color: var(--accent); background: rgba(167,139,250,0.08); }
.social-link-icon svg { width: 20px; height: 20px; fill: currentColor; color: var(--text-muted); transition: color 0.3s; }
.social-link:hover .social-link-icon svg { color: var(--accent); }

.social-name { font-weight: 600; font-size: 1rem; }
.social-handle { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.social-arrow {
  width: 20px; height: 20px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  transform: rotate(-45deg);
  transition: transform 0.3s ease, stroke 0.3s;
}

.social-link:hover .social-arrow { transform: rotate(-45deg) translate(3px, -3px); stroke: var(--accent); }

/* ─── FOOTER ────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.footer-copy { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.footer-copy span { color: var(--accent); }

.footer-back-top {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-back-top:hover { color: var(--accent); }
.footer-back-top svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.footer-back-top:hover svg { transform: translateY(-3px); }

/* ─── MARQUEE ────────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 20px 0;
  background: rgba(167,139,250,0.02);
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-sep { color: var(--accent); font-size: 1.2rem; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── PROJECTS ──────────────────────────────────── */
#projects { border-top: 1px solid var(--border); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.project-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,169,110,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.project-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.badge-completed {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.22);
}

.badge-case-study {
  background: rgba(201,169,110,0.1);
  color: #C9A96E;
  border: 1px solid rgba(201,169,110,0.28);
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
}

.project-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.stack-tag {
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.stack-tag:hover {
  background: #C9A96E;
  color: #0A0A0A;
  border-color: #C9A96E;
}

/* ─── MODAL ──────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
}

.modal-overlay.active { pointer-events: all; }

.modal-box {
  background: #111111;
  border: 1px solid rgba(201,169,110,0.32);
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.modal-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #C9A96E;
  margin-bottom: 14px;
  padding-right: 32px;
}

.modal-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}

.modal-close:hover {
  border-color: rgba(201,169,110,0.45);
  color: #C9A96E;
}

/* ─── REVEAL ANIMATIONS ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { gap: 24px; }

  section { padding: 80px 24px; }

  #hero { padding: 80px 24px 40px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual { order: -1; }

  .glass-f {
    width: 160px;
    height: 220px;
  }

  .glass-f span { font-size: 5.5rem; }

  .hero-stats { display: none; }
  .hero-scroll-hint { left: 24px; }

  .timeline-item { grid-template-columns: 1fr; gap: 16px; }
  .timeline-meta { padding-top: 0; }

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

  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }

  footer { padding: 32px 24px; flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-name { font-size: clamp(2.8rem, 12vw, 4rem); }
  .skills-grid { grid-template-columns: 1fr; }

  .glass-f { width: 130px; height: 180px; }
  .glass-f span { font-size: 4.5rem; }
}
