/* ── VARIABLES & RESET ─────────────────────── */
:root {
  --bg-primary:    #080b12;
  --bg-secondary:  #0d1117;
  --gold:          #c9a84c;
  --gold-light:    #f0c96e;
  --gold-dark:     #8a6d2f;
  --accent:        #4f8aff;
  --accent2:       #a855f7;
  --text-primary:  #f0f4ff;
  --text-secondary:#8892a4;
  --text-muted:    #4a5568;
  --border:        rgba(201,168,76,0.15);
  --border-hover:  rgba(201,168,76,0.4);
  --glass-bg:      rgba(255,255,255,0.04);
  --glass-border:  rgba(255,255,255,0.08);
  --font-main:     'Space Grotesk', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --nav-h:         72px;
  --radius:        16px;
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:var(--nav-h); }
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; }
button { cursor:pointer; font-family:var(--font-main); border:none; background:none; }

::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--bg-primary); }
::-webkit-scrollbar-thumb { background:var(--gold-dark); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--gold); }
::selection { background:rgba(201,168,76,0.25); color:var(--gold-light); }

/* ── CURSOR ── */
.cursor {
  width:10px; height:10px; background:var(--gold); border-radius:50%;
  position:fixed; top:0; left:0; pointer-events:none; z-index:9999;
  transform:translate(-50%,-50%); transition:transform 0.1s;
}
.cursor-follower {
  width:36px; height:36px; border:1.5px solid rgba(201,168,76,0.5);
  border-radius:50%; position:fixed; top:0; left:0;
  pointer-events:none; z-index:9998; transform:translate(-50%,-50%);
  transition:all 0.12s ease;
}

#particles-js {
  position:fixed; top:0; left:0; width:100%; height:100%;
  z-index:0; pointer-events:none;
}

/* ── LOADER ── */
.loader {
  position:fixed; inset:0; background:var(--bg-primary); z-index:10000;
  display:flex; align-items:center; justify-content:center;
  transition:opacity 0.6s ease, visibility 0.6s;
}
.loader.hidden { opacity:0; visibility:hidden; }
.loader-inner { text-align:center; }
.loader-logo {
  font-size:3rem; font-weight:800;
  background:linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  margin-bottom:1.5rem; letter-spacing:2px;
}
.loader-bar { width:200px; height:3px; background:rgba(255,255,255,0.1); border-radius:2px; overflow:hidden; }
.loader-progress {
  height:100%;
  background:linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius:2px; animation:loadBar 1.8s ease forwards;
}
@keyframes loadBar { from{width:0} to{width:100%} }

/* ── NAVBAR ── */
.navbar {
  position:fixed; top:0; left:0; right:0; height:var(--nav-h);
  z-index:1000; transition:var(--transition); padding:0 2rem;
}
.navbar.scrolled {
  background:rgba(8,11,18,0.9); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.nav-container {
  max-width:1200px; margin:0 auto; height:100%;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo { font-size:1.4rem; font-weight:800; letter-spacing:1px; }
.logo-bracket { color:var(--gold); }
.nav-links { display:flex; align-items:center; gap:0.25rem; list-style:none; }
.nav-link {
  padding:0.5rem 0.85rem; font-size:0.9rem; color:var(--text-secondary);
  border-radius:8px; transition:var(--transition); font-weight:500;
}
.nav-link:hover { color:var(--text-primary); background:rgba(255,255,255,0.05); }
.nav-cta {
  padding:0.5rem 1.2rem; background:linear-gradient(135deg,var(--gold-dark),var(--gold));
  color:#000; border-radius:8px; font-weight:600; font-size:0.9rem;
  transition:var(--transition);
}
.nav-cta:hover { transform:translateY(-1px); box-shadow:0 4px 20px rgba(201,168,76,0.4); }
.hamburger { display:none; flex-direction:column; gap:5px; padding:4px; }
.hamburger span { width:24px; height:2px; background:var(--text-primary); border-radius:2px; transition:var(--transition); }

/* ── GLASS CARD ── */
.glass-card {
  background:var(--glass-bg); backdrop-filter:blur(20px);
  border:1px solid var(--glass-border); border-radius:var(--radius);
  transition:var(--transition);
}
.glass-card:hover { border-color:var(--border-hover); box-shadow:0 0 40px rgba(201,168,76,0.08); }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background:linear-gradient(135deg, var(--gold), var(--gold-light), var(--accent));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* ── BUTTONS ── */
.btn {
  display:inline-flex; align-items:center; gap:0.5rem;
  padding:0.8rem 1.8rem; border-radius:10px; font-weight:600;
  font-size:0.95rem; transition:var(--transition); cursor:pointer;
}
.btn-primary {
  background:linear-gradient(135deg, var(--gold-dark), var(--gold));
  color:#000;
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(201,168,76,0.35); }
.btn-ghost {
  background:transparent; border:1.5px solid var(--border);
  color:var(--text-primary);
}
.btn-ghost:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }
.btn-full { width:100%; justify-content:center; }

/* ── SECTION LAYOUT ── */
.section { position:relative; z-index:1; padding:7rem 0; }
.container { max-width:1200px; margin:0 auto; padding:0 2rem; }
.section-header { text-align:center; margin-bottom:4rem; }
.section-tag {
  font-family:var(--font-mono); font-size:0.8rem; color:var(--gold);
  letter-spacing:3px; text-transform:uppercase;
  display:block; margin-bottom:1rem;
}
.section-title { font-size:clamp(2rem,4vw,3rem); font-weight:800; line-height:1.2; }
.section-sub { color:var(--text-secondary); margin-top:1rem; font-size:1.1rem; }

/* ── HERO ── */
.hero {
  min-height:100vh; display:flex; align-items:center;
  justify-content:space-between; padding:calc(var(--nav-h) + 2rem) 4rem 4rem;
  max-width:1300px; margin:0 auto; gap:4rem; position:relative; z-index:1;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:0.6rem;
  padding:0.4rem 1rem; border-radius:50px;
  border:1px solid rgba(201,168,76,0.3);
  background:rgba(201,168,76,0.08);
  font-size:0.85rem; color:var(--gold); margin-bottom:1.5rem;
}
.badge-dot {
  width:8px; height:8px; background:var(--gold); border-radius:50%;
  animation:pulse 2s infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(201,168,76,0.4)} 50%{box-shadow:0 0 0 6px rgba(201,168,76,0)} }
.hero-greeting { display:block; font-size:1.1rem; color:var(--text-secondary); font-weight:400; margin-bottom:0.3rem; }
.hero-name { display:block; font-size:clamp(2.5rem,6vw,4.5rem); font-weight:900; line-height:1.1; margin-bottom:0.5rem; }
.hero-role { display:block; font-size:clamp(1.2rem,3vw,2rem); color:var(--text-secondary); font-weight:400; }
.role-prefix { color:var(--text-secondary); }
.typewriter { color:var(--gold-light); font-family:var(--font-mono); }
.cursor-blink { color:var(--gold); animation:blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-desc { color:var(--text-secondary); font-size:1.05rem; max-width:520px; margin:1.5rem 0 2rem; line-height:1.8; }
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:3rem; }
.hero-stats { display:flex; align-items:center; gap:2rem; }
.stat { display:flex; flex-direction:column; }
.stat-num { font-size:2rem; font-weight:800; color:var(--gold-light); line-height:1; }
.stat-label { font-size:0.8rem; color:var(--text-muted); margin-top:0.2rem; text-transform:uppercase; letter-spacing:1px; }
.stat-divider { width:1px; height:40px; background:var(--border); }

.hero-visual { position:relative; flex-shrink:0; }
.hero-card { padding:1.5rem; width:340px; }
.card-header { display:flex; align-items:center; gap:0.4rem; margin-bottom:1rem; }
.dot { width:12px; height:12px; border-radius:50%; }
.dot.red { background:#ff5f57; }
.dot.yellow { background:#ffbd2e; }
.dot.green { background:#28c840; }
.card-title { font-family:var(--font-mono); font-size:0.8rem; color:var(--text-muted); margin-left:0.5rem; }
.code-block { font-family:var(--font-mono); font-size:0.82rem; line-height:1.8; }
.c-keyword { color:#c792ea; }
.c-var { color:#82aaff; }
.c-prop { color:#f07178; }
.c-str { color:#c3e88d; }
.c-bool { color:#ff9cac; }

.floating-badges { position:absolute; top:0; right:-80px; display:flex; flex-direction:column; gap:0.8rem; }
.f-badge {
  padding:0.5rem 1rem; border-radius:8px;
  background:rgba(255,255,255,0.06); border:1px solid var(--glass-border);
  backdrop-filter:blur(10px); font-size:0.8rem; font-weight:500;
  display:flex; align-items:center; gap:0.5rem;
  animation:float 3s ease-in-out infinite;
}
.f-badge i { color:var(--gold); }
.b1{animation-delay:0s} .b2{animation-delay:0.5s} .b3{animation-delay:1s} .b4{animation-delay:1.5s}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.scroll-indicator {
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:0.5rem;
  font-size:0.75rem; color:var(--text-muted); letter-spacing:2px;
}
.scroll-line {
  width:1px; height:40px; background:linear-gradient(to bottom, var(--gold), transparent);
  animation:scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1)} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ── ABOUT ── */
.about-grid {
  display:grid; grid-template-columns:1fr 1.5fr; gap:5rem; align-items:center;
}
.about-image-wrap { position:relative; }
.about-img-placeholder {
  aspect-ratio:1; border-radius:20px; overflow:hidden;
  background:linear-gradient(135deg, rgba(201,168,76,0.1), rgba(79,138,255,0.1));
  border:1px solid var(--border); display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:1rem;
}
.about-img-placeholder i { font-size:5rem; color:var(--text-muted); }
.img-hint { font-size:0.75rem; color:var(--text-muted); text-align:center; padding:0 1rem; }
.about-img-accent {
  position:absolute; bottom:-20px; right:-20px; width:150px; height:150px;
  background:radial-gradient(circle, rgba(201,168,76,0.2), transparent);
  border-radius:50%; z-index:-1;
}
.about-img-card {
  position:absolute; bottom:-10px; left:-10px;
  padding:0.8rem 1.2rem; display:flex; align-items:center; gap:0.7rem;
  font-size:0.85rem; font-weight:600;
}
.about-img-card i { color:var(--gold); }
.about-lead { font-size:1.3rem; font-weight:600; line-height:1.5; margin-bottom:1.2rem; }
.about-body { color:var(--text-secondary); margin-bottom:1rem; }
.about-details { display:flex; flex-direction:column; gap:0.6rem; margin:1.5rem 0; }
.detail { display:flex; align-items:center; gap:0.7rem; color:var(--text-secondary); font-size:0.9rem; }
.detail i { color:var(--gold); width:16px; }
.about-actions { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; margin-top:2rem; }
.social-links { display:flex; gap:0.8rem; }
.social-btn {
  width:40px; height:40px; border-radius:10px;
  border:1px solid var(--border); display:flex; align-items:center;
  justify-content:center; color:var(--text-secondary); transition:var(--transition);
}
.social-btn:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }

/* ── SKILLS ── */
.skills { background:linear-gradient(180deg, transparent, rgba(201,168,76,0.02), transparent); }
.skills-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
.skill-card { padding:2rem; }
.skill-icon { font-size:2rem; color:var(--gold); margin-bottom:1rem; }
.skill-card h3 { font-size:1.2rem; font-weight:700; margin-bottom:1rem; }
.skill-tags { display:flex; flex-wrap:wrap; gap:0.5rem; margin-bottom:1.5rem; }
.skill-tags span {
  padding:0.25rem 0.75rem; border-radius:50px; font-size:0.75rem;
  background:rgba(201,168,76,0.08); border:1px solid rgba(201,168,76,0.2);
  color:var(--gold-light);
}
.skill-bars { display:flex; flex-direction:column; gap:0.8rem; }
.bar-item span { font-size:0.8rem; color:var(--text-secondary); display:block; margin-bottom:0.3rem; }
.bar-track { height:4px; background:rgba(255,255,255,0.06); border-radius:2px; overflow:hidden; }
.bar-fill { height:100%; width:0; background:linear-gradient(90deg, var(--gold-dark), var(--gold-light)); border-radius:2px; transition:width 1.2s ease; }

/* ── PROJECTS ── */
.project-filters { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:2.5rem; justify-content:center; }
.filter-btn {
  padding:0.5rem 1.2rem; border-radius:50px; font-size:0.85rem; font-weight:500;
  border:1px solid var(--border); color:var(--text-secondary); transition:var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background:linear-gradient(135deg,var(--gold-dark),var(--gold));
  color:#000; border-color:transparent;
}
.projects-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
.project-card { overflow:hidden; }
.project-card.featured { border-color:rgba(201,168,76,0.3); }
.featured-badge {
  position:absolute; top:1rem; right:1rem; padding:0.25rem 0.75rem;
  background:linear-gradient(135deg,var(--gold-dark),var(--gold));
  color:#000; border-radius:50px; font-size:0.75rem; font-weight:700;
}
.project-card { position:relative; }
.project-img { position:relative; overflow:hidden; }
.project-placeholder {
  height:200px; background:linear-gradient(135deg, rgba(201,168,76,0.06), rgba(79,138,255,0.06));
  display:flex; align-items:center; justify-content:center; font-size:3rem; color:var(--text-muted);
  transition:var(--transition);
}
.project-card:hover .project-placeholder { transform:scale(1.05); }
.project-overlay {
  position:absolute; inset:0; background:rgba(0,0,0,0.7);
  display:flex; align-items:center; justify-content:center; gap:1rem;
  opacity:0; transition:var(--transition);
}
.project-card:hover .project-overlay { opacity:1; }
.project-link {
  padding:0.5rem 1rem; border-radius:8px; font-size:0.85rem; font-weight:600;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2);
  color:white; transition:var(--transition);
}
.project-link:hover { background:var(--gold); color:#000; border-color:var(--gold); }
.project-info { padding:1.5rem; }
.project-tags { display:flex; flex-wrap:wrap; gap:0.4rem; margin-bottom:0.8rem; }
.project-tags span {
  padding:0.2rem 0.6rem; font-size:0.7rem; border-radius:4px;
  background:rgba(79,138,255,0.1); border:1px solid rgba(79,138,255,0.2); color:var(--accent);
}
.project-info h3 { font-size:1.15rem; font-weight:700; margin-bottom:0.5rem; }
.project-info p { font-size:0.9rem; color:var(--text-secondary); line-height:1.6; }
.project-meta { display:flex; gap:1rem; margin-top:1rem; font-size:0.8rem; color:var(--text-muted); }
.project-meta i { color:var(--gold); margin-right:0.3rem; }
.project-card.hidden { display:none; }

/* ── TIMELINE ── */
.timeline { position:relative; max-width:800px; margin:0 auto; }
.timeline::before {
  content:''; position:absolute; left:16px; top:0; bottom:0; width:2px;
  background:linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item { display:flex; gap:2rem; margin-bottom:2.5rem; padding-left:1rem; position:relative; }
.timeline-dot {
  width:32px; height:32px; border-radius:50%; flex-shrink:0; margin-top:1rem;
  background:linear-gradient(135deg, var(--gold-dark), var(--gold));
  border:3px solid var(--bg-primary); z-index:1;
}
.timeline-dot.edu { background:linear-gradient(135deg,var(--accent),var(--accent2)); }
.timeline-card { flex:1; padding:1.5rem; }
.tl-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:0.8rem; flex-wrap:wrap; gap:0.5rem; }
.tl-header h3 { font-size:1.1rem; font-weight:700; }
.tl-company { font-size:0.85rem; color:var(--gold); display:flex; align-items:center; gap:0.4rem; margin-top:0.25rem; }
.tl-date { font-size:0.8rem; color:var(--text-muted); font-family:var(--font-mono); white-space:nowrap; }
.timeline-card p { font-size:0.9rem; color:var(--text-secondary); line-height:1.7; }
.tl-tags { display:flex; flex-wrap:wrap; gap:0.4rem; margin-top:1rem; }
.tl-tags span {
  padding:0.2rem 0.6rem; font-size:0.7rem; border-radius:4px;
  background:rgba(201,168,76,0.08); border:1px solid rgba(201,168,76,0.2); color:var(--gold-light);
}

/* ── CONTACT ── */
.contact { background:linear-gradient(180deg, transparent, rgba(201,168,76,0.02), transparent); }
.contact-grid { display:grid; grid-template-columns:1fr 1.5fr; gap:3rem; }
.contact-info { display:flex; flex-direction:column; gap:1rem; }
.contact-card {
  padding:1.2rem 1.5rem; display:flex; align-items:center; gap:1rem;
}
.contact-card i { font-size:1.5rem; color:var(--gold); flex-shrink:0; }
.contact-card h4 { font-size:0.85rem; color:var(--text-muted); margin-bottom:0.2rem; }
.contact-card a { font-size:0.9rem; color:var(--text-secondary); transition:var(--transition); }
.contact-card a:hover { color:var(--gold); }
.contact-availability { padding:1.2rem 1.5rem; display:flex; align-items:center; gap:1rem; }
.avail-dot { width:12px; height:12px; background:#4ade80; border-radius:50%; flex-shrink:0; animation:pulse 2s infinite; }
.contact-availability h4 { font-size:0.9rem; font-weight:600; }
.contact-availability p { font-size:0.8rem; color:var(--text-muted); }

.contact-form { padding:2rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group { display:flex; flex-direction:column; gap:0.4rem; margin-bottom:1rem; }
.form-group label { font-size:0.85rem; font-weight:500; color:var(--text-secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding:0.75rem 1rem; border-radius:8px;
  background:rgba(255,255,255,0.04); border:1px solid var(--glass-border);
  color:var(--text-primary); font-family:var(--font-main); font-size:0.9rem;
  transition:var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none; border-color:var(--gold); background:rgba(201,168,76,0.04);
}
.form-group select option { background:var(--bg-secondary); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-error { font-size:0.75rem; color:#f87171; min-height:1rem; }
.form-success {
  text-align:center; padding:1.5rem; color:#4ade80;
  display:flex; flex-direction:column; align-items:center; gap:0.5rem;
}
.form-success i { font-size:2rem; }

/* ── FOOTER ── */
.footer { border-top:1px solid var(--border); padding:3rem 0 1.5rem; position:relative; z-index:1; }
.footer-top {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:1.5rem; margin-bottom:2rem;
}
.footer-links { display:flex; gap:2rem; }
.footer-links a { font-size:0.9rem; color:var(--text-secondary); transition:var(--transition); }
.footer-links a:hover { color:var(--gold); }
.footer-social { display:flex; gap:1rem; }
.footer-social a {
  width:36px; height:36px; border-radius:8px; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); transition:var(--transition);
}
.footer-social a:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }
.footer-bottom {
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.5rem;
  font-size:0.8rem; color:var(--text-muted); padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,0.04);
}

/* ── SCROLL ANIMATIONS ── */
[data-animate] { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
[data-animate].visible { opacity:1; transform:translateY(0); }

/* ── BACKGROUND BLOBS ── */
.bg-blobs { position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.blob { position:absolute; border-radius:50%; filter:blur(100px); }
.blob-1 { width:700px; height:700px; background:radial-gradient(circle,rgba(201,168,76,0.12),transparent 70%); top:-200px; left:-200px; animation:blobFloat 22s ease-in-out infinite; }
.blob-2 { width:600px; height:600px; background:radial-gradient(circle,rgba(168,85,247,0.08),transparent 70%); bottom:0; right:-150px; animation:blobFloat 28s ease-in-out infinite reverse; }
.blob-3 { width:500px; height:500px; background:radial-gradient(circle,rgba(79,138,255,0.07),transparent 70%); top:40%; left:35%; animation:blobFloat 34s ease-in-out infinite 8s; }
@keyframes blobFloat { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(40px,-40px) scale(1.06)} 66%{transform:translate(-25px,30px) scale(0.94)} }

/* ── HERO GRID PATTERN ── */
.hero::before {
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:linear-gradient(rgba(201,168,76,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(201,168,76,0.04) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 80% 80% at 50% 50%,black 40%,transparent 100%);
}

/* ── HERO PHOTO ── */
.hero-visual { position:relative; flex-shrink:0; }
.hero-photo-wrap {
  position:relative; width:420px; height:420px;
  display:flex; align-items:center; justify-content:center;
}
.photo-glow {
  position:absolute; inset:-30px; border-radius:50%;
  background:radial-gradient(circle,rgba(201,168,76,0.18) 0%,transparent 70%);
  animation:photoGlow 4s ease-in-out infinite;
}
@keyframes photoGlow { 0%,100%{opacity:0.6;transform:scale(1)} 50%{opacity:1;transform:scale(1.08)} }

.photo-orbit-ring {
  position:absolute; inset:-18px; border-radius:50%;
  border:1.5px dashed rgba(201,168,76,0.35);
  animation:orbitSpin 18s linear infinite;
}
.orbit-dot {
  position:absolute; top:-5px; left:50%; transform:translateX(-50%);
  width:10px; height:10px; border-radius:50%;
  background:var(--gold); box-shadow:0 0 12px var(--gold);
}
@keyframes orbitSpin { to{transform:rotate(360deg)} }

.hero-photo-frame {
  width:340px; height:340px; border-radius:50%; position:relative;
  background:linear-gradient(135deg,var(--gold-dark),var(--gold-light),var(--accent2),var(--accent));
  padding:4px; box-shadow:0 0 60px rgba(201,168,76,0.2);
}
.hero-photo-fallback {
  width:100%; height:100%; border-radius:50%;
  background:linear-gradient(135deg,rgba(201,168,76,0.08),rgba(79,138,255,0.08));
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:0.75rem; text-align:center;
}
.hero-photo-fallback i { font-size:4.5rem; color:var(--text-muted); }
.hero-photo-fallback span { font-size:0.7rem; color:var(--text-muted); line-height:1.5; padding:0 1.5rem; }
.hero-photo-img {
  position:absolute; inset:4px; border-radius:50%;
  width:calc(100% - 8px); height:calc(100% - 8px);
  object-fit:cover; object-position:center top; display:block;
}

/* floating badges now orbit the photo */
.hero-photo-wrap .floating-badges { position:absolute; inset:0; pointer-events:none; }
.hero-photo-wrap .f-badge { position:absolute; pointer-events:auto; }
.hero-photo-wrap .b1 { top:4%; right:-8%; }
.hero-photo-wrap .b2 { bottom:12%; right:-12%; }
.hero-photo-wrap .b3 { top:20%; left:-14%; }
.hero-photo-wrap .b4 { bottom:4%; left:-4%; }

/* ── ABOUT PHOTO FRAME ── */
.about-photo-frame {
  position:relative; border-radius:24px; padding:4px;
  background:linear-gradient(135deg,var(--gold-dark),var(--gold-light),var(--accent2));
  box-shadow:0 0 60px rgba(201,168,76,0.15);
}
.about-photo-ring {
  position:absolute; inset:-12px; border-radius:28px;
  border:1px solid rgba(201,168,76,0.25);
  animation:ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse { 0%,100%{opacity:0.4;transform:scale(1)} 50%{opacity:1;transform:scale(1.01)} }

.about-photo-corner {
  position:absolute; width:24px; height:24px; z-index:2;
  border-color:var(--gold); border-style:solid;
}
.about-corner-tl { top:-8px; left:-8px; border-width:2px 0 0 2px; border-radius:4px 0 0 0; }
.about-corner-br { bottom:-8px; right:-8px; border-width:0 2px 2px 0; border-radius:0 0 4px 0; }

.about-photo-inner {
  position:relative; border-radius:20px; overflow:hidden; aspect-ratio:1;
  background:linear-gradient(135deg,rgba(201,168,76,0.06),rgba(79,138,255,0.06));
}
.about-photo-fallback {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:1rem; height:100%; padding:2rem; text-align:center;
}
.about-photo-fallback i { font-size:5rem; color:var(--text-muted); }
.about-photo-fallback p { font-size:0.8rem; color:var(--text-muted); line-height:1.6; }
.about-photo-fallback em { color:var(--gold); font-style:normal; }
.about-photo-img {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center top; display:block;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { flex-direction:column; text-align:center; padding:calc(var(--nav-h)+2rem) 2rem 4rem; }
  .hero-desc { margin:1.5rem auto 2rem; }
  .hero-actions { justify-content:center; }
  .hero-stats { justify-content:center; }
  .hero-photo-wrap { width:320px; height:320px; }
  .hero-photo-frame { width:260px; height:260px; }
  .hero-photo-wrap .b1 { top:2%; right:-6%; }
  .hero-photo-wrap .b2 { bottom:8%; right:-8%; }
  .hero-photo-wrap .b3 { top:18%; left:-10%; }
  .hero-photo-wrap .b4 { bottom:2%; left:-2%; }
  .about-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
}

@media (max-width: 768px) {
  .nav-links { display:none; position:fixed; top:var(--nav-h); left:0; right:0; bottom:0; background:rgba(8,11,18,0.98); flex-direction:column; align-items:center; justify-content:center; gap:1rem; }
  .nav-links.open { display:flex; }
  .hamburger { display:flex; }
  .skills-grid { grid-template-columns:1fr; }
  .projects-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .footer-top { flex-direction:column; align-items:flex-start; }
}
