/* =============================================
   Anubhav Singh Portfolio — style.css v2
   Full-Stack Mobile Developer Edition
   ============================================= */

:root {
  --bg:       #09090f;
  --bg2:      #0f0f18;
  --surface:  #13131e;
  --surface2: #1a1a28;
  --border:   rgba(255,255,255,0.07);
  --accent:   #f5a623;
  --accent2:  #ff6b35;
  --green:    #22c55e;
  --blue:     #3b82f6;
  --purple:   #a855f7;
  --text:     #e2e2f0;
  --muted:    #7878a0;
  --nav-h:    70px;
  --r:        16px;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; cursor: none; }

/* ========== CURSOR ========== */
.cursor {
  width: 10px; height: 10px; background: var(--accent); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%); transition: width .2s, height .2s, background .2s;
}
.cursor-follower {
  width: 34px; height: 34px; border: 1.5px solid var(--accent); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); transition: width .2s, height .2s, border-color .2s; opacity: .55;
}

/* ========== NAVBAR ========== */
#navbar {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; z-index: 1000;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
#navbar.scrolled {
  background: rgba(9,9,15,.94); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
.dot { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .25s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--accent); color: #000; padding: 8px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: background .25s, transform .25s;
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }

.mobile-menu {
  position: fixed; top: var(--nav-h); inset-inline: 0;
  background: rgba(9,9,15,.97); backdrop-filter: blur(20px);
  padding: 32px 52px; z-index: 999;
  transform: translateY(-110%); transition: transform .4s var(--ease);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.mobile-menu a { color: var(--text); text-decoration: none; font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; transition: color .25s; }
.mobile-menu a:hover { color: var(--accent); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 52px 80px; gap: 60px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 75% 35%, rgba(245,166,35,.09) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 5%  80%, rgba(255,107,53,.06) 0%, transparent 60%);
}
.hero-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Syne', sans-serif; font-size: clamp(70px,16vw,200px);
  font-weight: 800; color: rgba(255,255,255,.02); letter-spacing: -.04em;
  pointer-events: none; white-space: nowrap; user-select: none;
}
.hero-content { flex: 1; max-width: 600px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,.1); border: 1px solid rgba(245,166,35,.25);
  color: var(--accent); font-size: 13px; font-weight: 500;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 26px;
  animation: fadeUp .6s ease both;
}
.badge-pulse {
  width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-name {
  font-family: 'Syne', sans-serif; font-size: clamp(46px,7vw,88px);
  font-weight: 800; line-height: .95; letter-spacing: -.03em; color: #fff;
  margin-bottom: 18px;
}
.hero-name .line { display: block; animation: fadeUp .6s ease both; }
.hero-name .line:nth-child(2) { animation-delay: .1s; }
.hero-name .accent { color: var(--accent); }

.hero-role-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; animation: fadeUp .6s .2s ease both; }
.role-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--muted); font-size: 13px; font-weight: 500;
  padding: 5px 14px; border-radius: 50px;
}
.role-chip i { color: var(--accent); font-size: 12px; }

.hero-desc { font-size: 15.5px; color: var(--muted); line-height: 1.78; margin-bottom: 32px; max-width: 510px; animation: fadeUp .6s .3s ease both; }
.hero-desc strong { color: var(--accent); font-weight: 600; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; animation: fadeUp .6s .4s ease both; }
.btn-primary {
  background: var(--accent); color: #000; padding: 13px 30px; border-radius: 50px;
  font-size: 15px; font-weight: 600; text-decoration: none; display: inline-block;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,.28); }
.btn-primary.large { padding: 16px 44px; font-size: 16px; }
.btn-outline {
  border: 1.5px solid var(--border); color: var(--text); padding: 13px 30px;
  border-radius: 50px; font-size: 15px; font-weight: 500; text-decoration: none; display: inline-block;
  transition: border-color .25s, color .25s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero-socials { display: flex; gap: 18px; animation: fadeUp .6s .5s ease both; }
.hero-socials a { color: var(--muted); font-size: 20px; text-decoration: none; transition: color .25s, transform .25s; }
.hero-socials a:hover { color: var(--accent); transform: translateY(-2px); }

/* Hero visual */
.hero-visual { flex: 0 0 auto; position: relative; width: 360px; height: 360px; display: flex; align-items: center; justify-content: center; animation: fadeIn 1s .6s ease both; }
.avatar-ring { width: 210px; height: 210px; border-radius: 50%; background: conic-gradient(var(--accent) 0%, var(--accent2) 30%, transparent 30%); display: flex; align-items: center; justify-content: center; animation: spin 14s linear infinite; }
.avatar-inner { width: 192px; height: 192px; border-radius: 50%; background: var(--surface); border: 4px solid var(--bg); display: flex; align-items: center; justify-content: center; animation: spin 14s linear reverse infinite; }
.avatar-initials { font-family: 'Syne', sans-serif; font-size: 52px; font-weight: 800; color: var(--accent); }

.float-card { position: absolute; background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; padding: 9px 15px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; }
.float-card i { color: var(--accent); font-size: 15px; }
.card-1 { top: 10px;  right: 0;    animation: floatY 3s ease-in-out infinite; }
.card-2 { top: 50%;  right: -30px; animation: floatY 3s 1s ease-in-out infinite; }
.card-3 { bottom: 60px; right: 0;  animation: floatY 3s .5s ease-in-out infinite; }
.card-4 { bottom: 10px; left: 10px; animation: floatY 3s 1.5s ease-in-out infinite; }

.scroll-indicator { position: absolute; bottom: 28px; left: 52px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollAnim 2s ease-in-out infinite; }

/* ========== TICKER ========== */
.ticker-wrap {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 14px 0; white-space: nowrap;
}
.ticker {
  display: inline-flex; align-items: center; gap: 20px;
  animation: ticker 30s linear infinite;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.ticker .sep { color: var(--accent); opacity: .6; }

/* ========== SECTION BASE ========== */
.section { padding: 96px 0; }
.dark-section { background: var(--bg2); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 52px; }
.section-label { font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.section-label.light { color: rgba(255,255,255,.35); }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(34px,5vw,52px); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; margin-bottom: 52px; }
.section-title .accent { color: var(--accent); }

/* ========== TIMELINE ========== */
.timeline { display: flex; flex-direction: column; gap: 24px; }
.timeline-item {
  display: flex; gap: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 28px;
  transition: border-color .3s;
}
.featured-internship { border-color: rgba(245,166,35,.2); }
.timeline-left { flex: 0 0 auto; }
.company-logo-box {
  width: 50px; height: 50px; background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.25);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: var(--accent);
}
.timeline-right { flex: 1; }
.timeline-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.role-title { font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 700; color: #fff; }
.company-name { font-size: 14px; color: var(--muted); margin-top: 2px; }
.timeline-badge { background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.25); color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 50px; white-space: nowrap; }
.timeline-period { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.timeline-desc { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.offer-letter-note { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: 7px 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.offer-letter-note i { color: var(--accent); }
.internship-project-link { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.internship-project-link span { font-weight: 500; }
.internship-project-link a { color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 6px; font-weight: 600; transition: color .25s; }
.internship-project-link a:hover { color: var(--accent2); }

/* ========== PROJECT CATEGORY LABEL ========== */
.projects-cat-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35);
  font-weight: 600; margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.projects-cat-label i { color: var(--accent); }

/* ========== FLAGSHIP CARD ========== */
.flagship-card {
  background: var(--surface); border: 1px solid rgba(245,166,35,.18);
  border-radius: var(--r); padding: 32px; margin-bottom: 0;
  position: relative; overflow: hidden;
}
.flagship-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.flagship-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.flagship-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.flagship-title { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.flagship-desc { font-size: 15px; color: var(--muted); line-height: 1.68; max-width: 580px; }
.flagship-gh-link {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); color: var(--text); padding: 9px 18px;
  border-radius: 50px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: border-color .25s, color .25s;
}
.flagship-gh-link:hover { border-color: var(--accent); color: var(--accent); }

.flagship-layers { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }
.layer-card {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; display: flex; gap: 16px; align-items: flex-start;
}
.layer-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; }
.android-icon { background: rgba(34,197,94,.12); color: var(--green); }
.backend-icon  { background: rgba(59,130,246,.12); color: var(--blue); }
.ml-icon       { background: rgba(168,85,247,.12); color: var(--purple); }
.layer-text h4 { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.layer-text p  { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.layer-tech { display: flex; gap: 6px; flex-wrap: wrap; }
.layer-tech span { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 50px; }
.layer-arrow { color: var(--muted); font-size: 16px; }

/* ========== FEATURED PROJECTS GRID ========== */
.projects-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-featured-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.project-featured-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.project-featured-card:hover { border-color: rgba(245,166,35,.3); transform: translateY(-4px); }
.project-featured-card:hover::before { transform: scaleX(1); }
.internship-card { border-color: rgba(245,166,35,.2); }
.internship-card::before { transform: scaleX(1); }

.pfc-number { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; color: rgba(255,255,255,.04); position: absolute; top: 14px; right: 20px; line-height: 1; pointer-events: none; }
.pfc-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.internship-tag { color: var(--accent2); }
.pfc-content h3 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.pfc-content p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.pfc-tech { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.pfc-tech span { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); font-size: 11.5px; font-weight: 500; padding: 4px 11px; border-radius: 50px; }
.pfc-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: gap .25s, color .25s; }
.pfc-link:hover { gap: 11px; color: var(--accent2); }

/* ========== SMALL PROJECT GRID ========== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.projects-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.project-card-sm {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px; transition: border-color .3s, transform .3s;
}
.project-card-sm:hover { border-color: rgba(245,166,35,.2); transform: translateY(-3px); }

.backend-card { border-color: rgba(59,130,246,.15); }
.backend-card:hover { border-color: rgba(59,130,246,.35); }

.pcm-icon { width: 38px; height: 38px; background: rgba(245,166,35,.1); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 15px; color: var(--accent); }
.backend-icon { background: rgba(59,130,246,.12); color: var(--blue); }

.project-card-sm h4 { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.project-card-sm p  { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }

.backend-structure { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.backend-structure span { background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.2); color: rgba(147,197,253,.8); font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 6px; display: flex; align-items: center; gap: 5px; }
.backend-structure span i { font-size: 10px; }

.pcm-links { display: flex; gap: 12px; align-items: center; }
.pcm-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 5px; transition: color .25s; }
.pcm-links a:hover { color: var(--accent); }

/* ========== SKILLS ========== */
.skills-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.skill-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; transition: border-color .3s; }
.skill-group:hover { border-color: rgba(245,166,35,.15); }
.current-focus-group { border-color: rgba(245,166,35,.2); }
.skill-group-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.skill-group-title i { color: var(--accent); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tags span { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); font-size: 12.5px; font-weight: 500; padding: 5px 13px; border-radius: 50px; transition: background .25s, color .25s, border-color .25s; }
.skill-tags span:hover { background: rgba(245,166,35,.1); color: var(--accent); border-color: rgba(245,166,35,.3); }
.focus-tag { background: rgba(245,166,35,.1) !important; border-color: rgba(245,166,35,.25) !important; color: var(--accent) !important; }

/* Certificate */
.cert-box { display: flex; align-items: center; gap: 22px; background: linear-gradient(135deg,rgba(245,166,35,.08),rgba(255,107,53,.05)); border: 1px solid rgba(245,166,35,.2); border-radius: var(--r); padding: 26px 30px; }
.cert-icon { width: 50px; height: 50px; background: rgba(245,166,35,.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--accent); flex: 0 0 auto; }
.cert-content { flex: 1; }
.cert-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 3px; }
.cert-content h4 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.cert-content p { font-size: 13px; color: var(--muted); }
.cert-link { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: color .25s; }
.cert-link:hover { color: var(--accent2); }

/* ========== CONTACT ========== */
.contact-section { background: var(--bg); }
.contact-inner { text-align: center; }
.contact-desc { max-width: 520px; margin: 0 auto 44px; color: var(--muted); font-size: 15.5px; line-height: 1.72; }
.contact-cards { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.contact-card { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 13px 20px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: border-color .25s, color .25s; }
.contact-card i { color: var(--accent); font-size: 17px; }
.contact-card:hover { border-color: rgba(245,166,35,.3); color: #fff; }

/* ========== FOOTER ========== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 36px 52px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-logo { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; color: #fff; }
.footer-inner p { font-size: 13px; color: var(--muted); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: var(--muted); font-size: 17px; text-decoration: none; transition: color .25s; }
.footer-socials a:hover { color: var(--accent); }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp  { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes spin    { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
@keyframes floatY  { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-9px); } }
@keyframes pulse   { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(.8); } }
@keyframes scrollAnim { 0% { transform:scaleY(0); transform-origin:top; opacity:0; } 50% { transform:scaleY(1); transform-origin:top; opacity:1; } 51% { transform-origin:bottom; } 100% { transform:scaleY(0); transform-origin:bottom; opacity:0; } }
@keyframes ticker  { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

/* ========== RESPONSIVE ========== */
@media (max-width: 1000px) {
  .flagship-layers { grid-template-columns: 1fr; gap: 12px; }
  .layer-arrow { display: none; }
  .projects-featured { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .projects-grid.two-col { grid-template-columns: 1fr; }
  .skills-layout { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  #navbar { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 24px; }
  .hero { padding: calc(var(--nav-h) + 40px) 24px 60px; flex-direction: column; }
  .hero-bg-text { display: none; }
  .hero-visual { width: 260px; height: 260px; }
  .avatar-ring { width: 160px; height: 160px; }
  .avatar-inner { width: 144px; height: 144px; }
  .avatar-initials { font-size: 40px; }
  .card-3, .card-4 { display: none; }
  .scroll-indicator { left: 24px; }
  .section { padding: 68px 0; }
  .footer { padding: 28px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .projects-featured { grid-template-columns: 1fr; }
  .mobile-menu { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .projects-grid { grid-template-columns: 1fr; }
  .skills-layout { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-visual { display: none; }
  .cert-box { flex-direction: column; text-align: center; }
  .contact-cards { flex-direction: column; align-items: center; }
}