/* ============================================================
   ABHIJIT GAIKWAD — LIQUID GLASS THEME
   iPhone visionOS-inspired: frosted glass, specular light,
   depth layers, ambient glow, clean dark background
   ============================================================ */

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

/* ── DESIGN TOKENS ── */
:root {
  /* Liquid Glass surfaces */
  --glass-tint:      rgba(255,255,255,0.07);
  --glass-tint-h:    rgba(255,255,255,0.13);
  --glass-border:    rgba(255,255,255,0.18);
  --glass-border-h:  rgba(255,255,255,0.42);
  --glass-shine:     rgba(255,255,255,0.22);
  --glass-deep:      rgba(0,0,0,0.22);

  /* Specular highlight (the "liquid" top edge) */
  --specular: linear-gradient(135deg,
    rgba(255,255,255,0.30) 0%,
    rgba(255,255,255,0.08) 40%,
    rgba(255,255,255,0.00) 100%);

  /* Accent palette — cool blue-teal, subtle */
  --c1:   #5ac8fa;   /* iOS sky blue */
  --c2:   #bf5af2;   /* iOS purple */
  --c3:   #30d158;   /* iOS green */
  --c4:   #ff9f0a;   /* iOS amber */
  --grad: linear-gradient(135deg, #5ac8fa 0%, #bf5af2 100%);
  --grad-soft: linear-gradient(135deg, rgba(90,200,250,.14), rgba(191,90,242,.14));

  /* Text */
  --text:   #ffffff;
  --text-2: rgba(255,255,255,0.72);
  --text-3: rgba(255,255,255,0.40);

  /* Typography */
  --ff-main: 'Syne', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --nav-h:   66px;
  --radius:  18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}
html, body { overflow-x: hidden; max-width: 100vw; }

/* ─────────────────────────────────────────────────────────
   BACKGROUND — Deep space, no image dependency
   Three soft ambient orbs create depth without being busy
───────────────────────────────────────────────────────── */
body {
  font-family: var(--ff-main);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-color: #07080f;

  /* Ambient gradient mesh background */
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 10%,  rgba(90,200,250,0.12)  0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 20%,  rgba(191,90,242,0.10)  0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 50% 90%,  rgba(48,209,88,0.06)   0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(90,200,250,0.04)  0%, transparent 70%);

  background-attachment: scroll;
  min-height: 100vh;
}

/* Subtle noise grain for tactile depth */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ── Smooth Responsive Layouts ── */
/* This makes grid and flex layout changes smoothly animate between media query breakpoints */
.container, .hero-container, .about-grid, .skills-categories,
.resume-grid, .contact-grid, .project-grid, .footer-top, .footer-bottom,
.page-hero, .section, .hero-actions, .hero-stats {
  transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

::selection {
  background: rgba(90, 200, 250, .25); color: #fff; }

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.32); }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.2rem,5vw,2.5rem); }
.section    { padding: clamp(5rem,9vw,8rem) 0; }
.accent     { color: var(--c1); }
.accent-grad {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─────────────────────────────────────────────────────────
   LIQUID GLASS MIXIN  (reused via class)
   - frosted blur
   - top specular highlight edge
   - subtle inner shadow for depth
───────────────────────────────────────────────────────── */
.glass {
  background: var(--glass-tint);
  backdrop-filter: blur(28px) saturate(1.8) brightness(1.05);
  -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.05);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
/* Specular top edge — the "liquid" shimmer */
.glass::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.45) 30%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.45) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── SECTION HEADER ── */
.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  padding: .32rem .9rem; border-radius: 100px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.16);
  margin-bottom: .85rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.section-tag::before { content: '//'; margin-right: .2rem; opacity: .4; color: var(--c1); }

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800;
  line-height: 1.1; color: var(--text); margin-bottom: .6rem;
}
.section-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub {
  font-size: clamp(.9rem,1.8vw,1.05rem); color: var(--text-2);
  line-height: 1.75; max-width: 600px; margin-bottom: clamp(2.5rem,5vw,4rem);
}

/* ── SCROLL REVEAL ── */
.reveal {
  visibility: hidden; /* GSAP uses autoAlpha */
}

/* ─────────────────────────────────────────────────────────
   LIQUID GLASS BUTTONS
───────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 700;
  padding: .78rem 1.8rem; border-radius: 100px;
  background: var(--grad);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 4px 20px rgba(90,200,250,.28),
    inset 0 1px 0 rgba(255,255,255,.30);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.btn-primary:hover::before { left: 120%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 8px 32px rgba(90,200,250,.40), inset 0 1px 0 rgba(255,255,255,.35);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 600;
  padding: .78rem 1.8rem; border-radius: 100px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.20);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 16px rgba(0,0,0,.20);
  transition: background .22s, border-color .22s, transform .22s, box-shadow .22s;
}
.btn-outline:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.38);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 24px rgba(0,0,0,.28);
}

/* ─────────────────────────────────────────────────────────
   CURSOR
───────────────────────────────────────────────────────── */
#cursor-dot, #cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 99999;
  border-radius: 50%; pointer-events: none;
  transform: translate(-50%,-50%);
}
#cursor-dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 8px rgba(255,255,255,.6);
  transition: width .18s, height .18s, background .18s;
}
#cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(2px);
  transition: width .22s, height .22s, border-color .22s;
}
#cursor-dot.hov  { width: 14px; height: 14px; background: var(--c1); box-shadow: 0 0 14px rgba(90,200,250,.7); }
#cursor-ring.hov { width: 52px; height: 52px; border-color: rgba(90,200,250,.55); }
@media (pointer: coarse) { #cursor-dot, #cursor-ring { display: none; } }

/* ─────────────────────────────────────────────────────────
   NAVBAR — Liquid Glass pill
───────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.navbar.scrolled {
  background: rgba(7,8,15,0.55);
  backdrop-filter: blur(32px) saturate(2);
  -webkit-backdrop-filter: blur(32px) saturate(2);
  box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 4px 30px rgba(0,0,0,.35);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1.2rem,5vw,2.5rem);
  height: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  font-size: 1.15rem; font-weight: 800; flex-shrink: 0;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-logo span { color: var(--c1); }

/* ── Liquid Glass Nav Pills ── */
.nav-links {
  display: flex; gap: .4rem; margin-left: auto;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: .35rem .45rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 4px 20px rgba(0,0,0,.20);
  position: relative;
}


.nav-link {
  font-size: .82rem; font-weight: 600;
  color: var(--text-2);
  padding: .38rem .95rem;
  border-radius: 100px;
  transition: color .2s;
  position: relative; z-index: 1;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); }
.nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

/* ── Hamburger ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  margin-left: auto; cursor: pointer;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  transition: background .2s, border-color .2s;
}
.hamburger:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── Mobile Menu — Liquid Glass sheet ── */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 999;
  background: rgba(7,8,15,0.75);
  backdrop-filter: blur(36px) saturate(2);
  -webkit-backdrop-filter: blur(36px) saturate(2);
  display: flex; flex-direction: column;
  padding: .75rem .75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
  transform: translateY(-108%);
  opacity: 0; pointer-events: none;
  transition: transform .38s var(--ease), opacity .38s;
  gap: .3rem;
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: all; }
.mob-link {
  padding: .85rem 1.2rem;
  font-size: .95rem; font-weight: 600;
  color: var(--text-2);
  border-radius: 14px;
  transition: color .2s, background .2s;
  display: block;
}
.mob-link:hover, .mob-link.active {
  color: var(--text);
  background: rgba(255,255,255,.08);
}

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  overflow: hidden;
}

/* Animated mesh orbs */
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 80%);
}

.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 500px;
  top: -15%; left: -10%;
  background: radial-gradient(circle, rgba(90,200,250,0.18) 0%, transparent 70%);
  animation-duration: 18s; animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  top: 10%; right: -8%;
  background: radial-gradient(circle, rgba(191,90,242,0.14) 0%, transparent 70%);
  animation-duration: 22s; animation-delay: -8s;
}
.orb-3 {
  width: 400px; height: 400px;
  bottom: 5%; left: 30%;
  background: radial-gradient(circle, rgba(48,209,88,0.08) 0%, transparent 70%);
  animation-duration: 26s; animation-delay: -14s;
}
@keyframes orb-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.06); }
  66%      { transform: translate(-25px,20px) scale(0.96); }
}

.hero-particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  opacity: 0; animation: pfloat linear infinite;
}
@keyframes pfloat {
  0%   { transform: translateY(110vh) scale(0); opacity: 0; }
  10%  { opacity: .4; }
  90%  { opacity: .08; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-container {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1.2rem,5vw,2.5rem);
  display: grid; grid-template-columns: 1fr 480px;
  align-items: center; gap: clamp(2rem,5vw,5rem);
}
@media (max-width: 960px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-right { order: -1; display: flex; justify-content: center; }
}

/* Greeting chip */
.hero-greeting {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  padding: .36rem 1rem;
  border-radius: 100px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  margin-bottom: 1.4rem;
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c3);
  box-shadow: 0 0 8px rgba(48,209,88,.8);
  animation: livepulse 2s ease infinite;
}
@keyframes livepulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(48,209,88,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(48,209,88,0); }
}

.hero-title { font-size: clamp(.95rem,2.2vw,1.3rem); font-weight: 400; color: var(--text-2); margin-bottom: .3rem; }
.hero-name-big {
  display: block;
  font-size: clamp(3.2rem, 7.5vw, 6.4rem);
  font-weight: 900; line-height: .94; letter-spacing: -.03em;
}

.hero-typed-wrap {
  display: flex; align-items: center; gap: .2rem;
  font-family: var(--ff-mono); font-size: clamp(.85rem,1.7vw,1rem);
  color: var(--text-2); margin: 1rem 0 1.2rem;
}
.typed-prefix { color: var(--c1); }
.typed-cursor { color: var(--c1); animation: blink-cur .75s step-end infinite; }
@keyframes blink-cur { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  font-size: clamp(.9rem,1.7vw,1.05rem); color: var(--text-2);
  line-height: 1.82; max-width: 520px; margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }

/* Social icons */
.hero-social { display: flex; gap: .7rem; margin-bottom: 2.4rem; }
.social-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  transition: all .22s;
}
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.32);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 6px 20px rgba(0,0,0,.28);
}

/* Hero stats — Liquid Glass card */
.hero-stats {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.1rem 1.5rem;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  width: fit-content;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 8px 32px rgba(0,0,0,.28);
}
.hstat { text-align: center; }
.hstat-num, .hstat-pct {
  display: block; font-size: 1.75rem; font-weight: 800; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hstat-label { display: block; font-size: .67rem; color: var(--text-3); margin-top: .2rem; }
.hstat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.14); }

/* ── Photo Frame ── */
.photo-frame {
  position: relative; width: 380px; height: 420px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
@media (max-width: 960px) { .photo-frame { width: 280px; height: 310px; } }

.photo-glow {
  position: absolute; inset: -40px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(90,200,250,.18) 0%, rgba(191,90,242,.12) 50%, transparent 72%);
  animation: glow-pulse 5s ease infinite;
}
@keyframes glow-pulse { 0%,100%{opacity:.6} 50%{opacity:1} }

.photo-ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18);
}
.ring-a { inset: -16px; animation: spin-cw 20s linear infinite; }
.ring-b { inset: -38px; border-color: rgba(255,255,255,.10); animation: spin-ccw 30s linear infinite; }
@keyframes spin-cw  { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

.photo-orbit { position: absolute; inset: -48px; border-radius: 50%; animation: spin-cw 14s linear infinite; }
.orbit-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; }
.od1 { top: 0; left: 50%; transform: translateX(-50%); background: var(--c1); box-shadow: 0 0 10px var(--c1); }
.od2 { bottom: 5%; right: 8%;  background: var(--c2); box-shadow: 0 0 10px var(--c2); }
.od3 { bottom: 8%; left: 8%;   background: var(--c3); box-shadow: 0 0 10px var(--c3); }

.hero-photo {
  width: 320px; height: 360px;
  object-fit: cover; object-position: top center;
  border-radius: 34px;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 70px rgba(0,0,0,.6);
}
@media (max-width: 960px) { .hero-photo { width: 240px; height: 270px; } }

/* Photo badges — Liquid Glass chips */
.photo-badge {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: .38rem;
  font-size: .73rem; font-weight: 700;
  padding: .42rem .85rem; border-radius: 100px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(24px) saturate(2);
  -webkit-backdrop-filter: blur(24px) saturate(2);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 6px 20px rgba(0,0,0,.28);
  animation: badge-float 3.5s ease infinite;
}
.badge-python { top: 12%; right: -10%; animation-delay: 0s; }
.badge-ai     { top: 50%; left: -12%; animation-delay: 1.1s; }
.badge-auto   { bottom: 10%; right: -8%; animation-delay: 2.2s; }
@media (max-width: 960px) { .badge-python{right:-2%} .badge-ai{left:-2%} .badge-auto{right:0} }
@media (max-width: 500px) {
  .badge-python{top:8%;right:-4%} .badge-ai{top:48%;left:-4%} .badge-auto{bottom:8%;right:-4%}
  .photo-badge { font-size:.62rem; padding:.3rem .65rem; }
  .photo-ring, .photo-orbit { display: none; }
}
@keyframes badge-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  z-index: 3; color: var(--text-3);
  font-family: var(--ff-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
}
.scroll-mouse {
  width: 20px; height: 32px;
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 5px;
}
.scroll-wheel { width: 2.5px; height: 6px; background: rgba(255,255,255,.6); border-radius: 3px; animation: scroll-dn 2s ease infinite; }
@keyframes scroll-dn { 0%{transform:translateY(0);opacity:1} 100%{transform:translateY(12px);opacity:0} }
@media (max-height: 500px) { .hero-scroll { display: none; } }

/* ─────────────────────────────────────────────────────────
   SECTION BACKGROUNDS
───────────────────────────────────────────────────────── */
.about-section, .projects-section, .contact-section {
  background: rgba(255,255,255,.012);
}
.skills-section, .achievements-section {
  background: rgba(255,255,255,.008);
}

/* ─────────────────────────────────────────────────────────
   LIQUID GLASS CARD  (base)
───────────────────────────────────────────────────────── */
.lg-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 8px 32px rgba(0,0,0,.22);
  transition: border-color .3s, background .3s, transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.lg-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.40), transparent);
  pointer-events: none;
}
.lg-card:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 16px 50px rgba(0,0,0,.30);
}

/* ─────────────────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: clamp(2rem,6vw,5rem); align-items: center;
  margin-top: clamp(2rem,4vw,3rem);
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.about-img-wrap { position: relative; display: inline-block; width: 300px; margin: 0 auto; }
@media (max-width: 820px) { .about-img-col { display: flex; justify-content: center; } }
@media (max-width: 420px)  { .about-img-wrap { width: 260px; } .about-exp-badge { right: -8px; } }

.about-photo {
  width: 300px; height: 340px;
  object-fit: cover; object-position: top center;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 20px 60px rgba(0,0,0,.5);
}
@media (max-width: 420px) { .about-photo { width: 260px; height: 295px; } }

.about-img-border {
  position: absolute; inset: -5px; border-radius: 32px;
  border: 1px solid rgba(255,255,255,.20);
  pointer-events: none;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(4px);
}

/* Experience badge — liquid glass */
.about-exp-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(28px) saturate(2);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 16px; padding: .85rem 1.1rem; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 28px rgba(0,0,0,.30);
}
.exp-num   { display: block; font-size: .92rem; font-weight: 800; color: var(--c1); }
.exp-label { display: block; font-size: .65rem; color: var(--text-3); margin-top: .12rem; }

.about-content-col { display: flex; flex-direction: column; justify-content: center; }
.about-heading { font-size: clamp(1.4rem,3vw,1.85rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.25; }
.about-text { font-size: clamp(.88rem,1.6vw,.98rem); color: var(--text-2); line-height: 1.82; margin-bottom: .85rem; }
.about-text strong { color: var(--c1); font-weight: 600; }

/* About points — liquid glass */
.about-points { display: flex; flex-direction: column; gap: .8rem; margin: 1.4rem 0 1.7rem; }
.about-point {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .85rem 1.05rem; border-radius: 14px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  transition: border-color .25s, background .25s, transform .25s;
}
.about-point:hover { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.09); transform: translateX(4px); }
.point-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.about-point strong { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .15rem; color: #fff; }
.about-point span   { font-size: .8rem; color: var(--text-2); }
.about-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ─────────────────────────────────────────────────────────
   SKILLS
───────────────────────────────────────────────────────── */
.skills-categories {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr));
  gap: 1.3rem; margin-top: clamp(2rem,4vw,3rem);
}
@media (max-width: 480px) { .skills-categories { grid-template-columns: 1fr; } }

.skill-cat-block {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 28px rgba(0,0,0,.20);
  transition: border-color .3s, background .3s, transform .3s, box-shadow .3s;
}
.skill-cat-block::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
}
.skill-cat-block::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.skill-cat-block:hover {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.09);
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 50px rgba(0,0,0,.28);
}
.skill-cat-block:hover::after { opacity: 1; }

.skill-cat-title { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 1.4rem; display: flex; align-items: center; gap: .55rem; }
.cat-icon { font-size: 1.05rem; }
.skill-icons-grid { display: flex; flex-direction: column; gap: .8rem; }
.skill-icon-card { display: grid; grid-template-columns: auto 1fr; gap: .28rem .6rem; align-items: center; }
.sic-emoji { font-size: 1rem; grid-row: 1/3; align-self: center; }
.skill-icon-card span { font-size: .8rem; color: var(--text-2); font-weight: 500; }
.sic-bar { width: 100%; height: 2px; background: rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; grid-column: 2; }
.sic-fill {
  height: 100%; width: 0; border-radius: 10px;
  background: var(--grad);
  transition: width 1.1s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 6px rgba(90,200,250,.4);
}

/* ─────────────────────────────────────────────────────────
   PROJECTS
───────────────────────────────────────────────────────── */
.projects-list { display: flex; flex-direction: column; gap: clamp(3rem,6vw,5rem); margin-top: clamp(2rem,4vw,3rem); }

.project-item { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.project-item.reverse { direction: rtl; }
.project-item.reverse > * { direction: ltr; }
@media (max-width: 820px) {
  .project-item, .project-item.reverse {
    grid-template-columns: 1fr; direction: ltr;
  }
  .project-item.reverse > * { direction: ltr; }
  .project-img-col    { order: 0; }
  .project-content-col { order: 1; }
}

/* Project mockup — liquid glass */
.project-mockup {
  border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 56px rgba(0,0,0,.30);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.project-item:hover .project-mockup {
  transform: translateY(-7px) scale(1.015);
  border-color: rgba(255,255,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 28px 72px rgba(0,0,0,.38);
}

.pm-header {
  display: flex; gap: 6px; padding: 11px 13px;
  background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.10);
}
.pm-header span { width: 9px; height: 9px; border-radius: 50%; }
.pm-header span:nth-child(1){background:#ff5f57} .pm-header span:nth-child(2){background:#febc2e} .pm-header span:nth-child(3){background:#28c840}
.pm-body { padding: 1.1rem; display: flex; flex-direction: column; gap: .55rem; min-height: 160px; }
.pm-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); }
.pm-line.w80{width:80%} .pm-line.w70{width:70%} .pm-line.w60{width:60%} .pm-line.w50{width:50%} .pm-line.w45{width:45%} .pm-line.w90{width:90%}
.pm-line.accent-line { background: var(--grad); opacity: .75; height: 9px; box-shadow: 0 0 8px rgba(90,200,250,.3); }
.pm-block { height: 50px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.pm-btn-row { display: flex; gap: .45rem; margin-top: .35rem; }
.pm-btn { height: 20px; width: 75px; border-radius: 100px; background: var(--grad); opacity: .75; }
.pm-btn.pm-btn-ghost { background: rgba(255,255,255,.12); }
.pm-task { height: 18px; border-radius: 6px; background: rgba(255,255,255,.08); position: relative; padding-left: 26px; }
.pm-task::before { content:''; position:absolute; left:7px; top:50%; transform:translateY(-50%); width:9px; height:9px; border-radius:50%; border:1.5px solid rgba(255,255,255,.28); }
.pm-task.done::before { background: var(--c3); border-color: var(--c3); }
.pm-kpi-row { display:flex; gap:.45rem; }
.pm-kpi { flex:1; height:28px; border-radius:8px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); }
.pm-chart { display:flex; align-items:flex-end; gap:4px; height:80px; padding:0 3px; margin-top:.35rem; }
.pm-bar { flex:1; border-radius:4px 4px 0 0; background: var(--grad); opacity:.7; }
.pm-face-area { display:flex; justify-content:center; align-items:center; min-height:80px; }
.pm-face { display:flex; flex-direction:column; align-items:center; gap:.35rem; }
.pm-face-box { width:56px; height:56px; border:1.5px solid rgba(90,200,250,.6); border-radius:4px; position:relative; }
.pm-face-label { font-size:.58rem; font-family:var(--ff-mono); color:var(--c3); }
.pm-conf-row { display:flex; align-items:center; gap:.45rem; font-size:.6rem; font-family:var(--ff-mono); color:var(--text-3); }
.pm-conf-bar { flex:1; height:3px; background:rgba(255,255,255,.12); border-radius:4px; overflow:hidden; }
.pm-conf-fill { width:96%; height:100%; background: var(--grad); border-radius:4px; }
.pm-nav-row { display:flex; gap:.45rem; }
.pm-nav-dot { width:28px; height:7px; border-radius:4px; background:rgba(255,255,255,.13); }
.pm-hero-block { height:42px; border-radius:8px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); }
.pm-dental-hero { height:46px; border-radius:8px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); margin-bottom:.28rem; }
.pm-dental-cards { display:flex; gap:.38rem; }
.pm-dental-card { flex:1; height:34px; border-radius:8px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); }
.pm-portal-search { height:20px; border-radius:100px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); margin-bottom:.38rem; }
.pm-portal-grid { display:grid; grid-template-columns:1fr 1fr; gap:.38rem; }
.pm-portal-app { height:30px; border-radius:8px; background:rgba(191,90,242,.12); border:1px solid rgba(255,255,255,.1); }
.pm-habit-row { display:flex; align-items:center; gap:.45rem; }
.pm-habit-check { width:13px; height:13px; border-radius:50%; border:1.5px solid rgba(255,255,255,.35); flex-shrink:0; }
.pm-habit-check.done { background:var(--c3); border-color:var(--c3); }
.pm-habit-line { flex:1; height:6px; border-radius:4px; background:rgba(255,255,255,.1); }

.project-num { font-family: var(--ff-mono); font-size: .65rem; letter-spacing: .14em; color: var(--text-3); margin-bottom: .55rem; }
.project-title { font-size: clamp(1.25rem,2.5vw,1.7rem); font-weight: 800; margin-bottom: .7rem; line-height: 1.2; }
.project-desc { font-size: clamp(.86rem,1.5vw,.96rem); color: var(--text-2); line-height: 1.78; margin-bottom: 1rem; }
.project-features { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.project-features li { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--text-2); }
.project-features li::before { content: '▸'; color: var(--c1); flex-shrink: 0; font-size: .72rem; margin-top: .18rem; }
.project-tech-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.3rem; }
.project-tech-row span {
  font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .05em;
  padding: .26rem .65rem; border-radius: 7px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
}
.project-links-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.plink-ghost {
  display: inline-flex; align-items: center; gap: .42rem;
  font-size: .8rem; font-weight: 600;
  padding: .52rem 1.05rem; border-radius: 10px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.16); color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  transition: all .22s;
}
.plink-ghost:hover { border-color: rgba(255,255,255,.30); color: #fff; background: rgba(255,255,255,.11); }
.plink-primary {
  display: inline-flex; align-items: center; gap: .42rem;
  font-size: .8rem; font-weight: 700;
  padding: .52rem 1.05rem; border-radius: 10px;
  background: var(--grad); color: #fff;
  box-shadow: 0 0 18px rgba(90,200,250,.22), inset 0 1px 0 rgba(255,255,255,.25);
  transition: all .22s;
}
.plink-primary:hover { box-shadow: 0 0 30px rgba(90,200,250,.38); transform: translateY(-2px); }

/* ─────────────────────────────────────────────────────────
   ACHIEVEMENTS
───────────────────────────────────────────────────────── */
.achievements-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr));
  gap: 1.3rem; margin-top: clamp(2rem,4vw,3rem);
}
.ach-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 28px rgba(0,0,0,.20);
  transition: border-color .3s, background .3s, transform .3s, box-shadow .3s;
}
.ach-card:hover {
  border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.09);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 48px rgba(0,0,0,.28);
}
.ach-icon-wrap {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.ach-icon { font-size: 1.4rem; }
.ach-content h4 { font-size: .94rem; font-weight: 700; margin-bottom: .4rem; line-height: 1.3; color: #fff; }
.ach-content p  { font-size: .8rem; color: var(--text-2); line-height: 1.7; margin-bottom: .65rem; }
.ach-link { font-size: .75rem; font-weight: 600; color: var(--c1); font-family: var(--ff-mono); letter-spacing: .04em; }
.ach-link:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem,5vw,4rem); align-items: start;
  margin-top: clamp(2rem,4vw,3rem);
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-cards { display: flex; flex-direction: column; gap: .85rem; }
.cinfo-card {
  display: flex; align-items: center; gap: .95rem;
  padding: .95rem 1.15rem; border-radius: var(--radius);
  background: rgba(255,255,255,.05); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  transition: all .25s;
}
.cinfo-card:hover {
  border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.09);
  transform: translateX(4px);
}
.cinfo-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(90,200,250,.1); border: 1px solid rgba(90,200,250,.2); color: var(--c1);
}
.cinfo-label { display: block; font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; margin-bottom: .18rem; }
.cinfo-val   { display: block; font-size: .84rem; color: #fff; font-weight: 500; word-break: break-all; }

/* Contact form */
.contact-form-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(32px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 1.9rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 56px rgba(0,0,0,.25);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
@media (max-width: 500px) { .form-row-2 { grid-template-columns: 1fr; } }
.fgroup { display: flex; flex-direction: column; gap: .42rem; margin-bottom: .95rem; }
.fgroup label { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; }
.fgroup input, .fgroup textarea {
  background: rgba(255,255,255,.07); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: .78rem .95rem;
  color: #fff; font-size: .88rem; outline: none; resize: vertical;
  transition: border-color .22s, background .22s, box-shadow .22s;
}
.fgroup input:focus, .fgroup textarea:focus {
  border-color: rgba(90,200,250,.5);
  background: rgba(255,255,255,.10);
  box-shadow: 0 0 0 3px rgba(90,200,250,.10), inset 0 1px 0 rgba(255,255,255,.15);
}
.fgroup input::placeholder, .fgroup textarea::placeholder { color: var(--text-3); }
.form-submit-btn { width: 100%; justify-content: center; border-radius: 12px; margin-top: .25rem; }
.form-done {
  text-align: center; padding: 2.5rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
}
.form-done-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(48,209,88,.12); border: 1px solid var(--c3);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--c3);
}
.form-done h4 { font-size: 1.25rem; font-weight: 700; }
.form-done p  { color: var(--text-2); font-size: .88rem; }

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.footer {
  background: rgba(7,8,15,0.55);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 2.5rem 0 1.4rem;
}
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1.4rem; padding-bottom: 1.8rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a { font-size: .86rem; color: var(--text-2); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-socials { display: flex; gap: .6rem; }
.fsoc {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); backdrop-filter: blur(12px);
  color: var(--text-2); transition: all .22s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.fsoc:hover { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.12); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-family: var(--ff-mono); font-size: .64rem; color: var(--text-3); letter-spacing: .04em;
}

@media (max-width: 640px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

/* ─────────────────────────────────────────────────────────
   PAGE HERO
───────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  position: relative;
}
.page-hero-title {
  font-size: clamp(2.5rem,6vw,5rem); font-weight: 900;
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: .55rem;
}
.page-hero-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero-sub { font-size: clamp(.95rem,2vw,1.15rem); color: var(--text-2); max-width: 540px; line-height: 1.7; }
@media (max-width: 600px) {
  .page-hero { padding: calc(var(--nav-h) + 3rem) 0 2.5rem; }
  .page-hero-title { font-size: clamp(2rem,10vw,3.5rem); }
}

/* ─────────────────────────────────────────────────────────
   RESUME
───────────────────────────────────────────────────────── */
.resume-section { background: rgba(255,255,255,.006); }
.resume-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4rem); }
@media (max-width: 820px) { .resume-grid { grid-template-columns: 1fr; } }
.resume-col { display: flex; flex-direction: column; gap: 2.4rem; }

.resume-block {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg); padding: 1.7rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 30px rgba(0,0,0,.20);
  position: relative; overflow: hidden;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
.resume-block::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
}
.resume-block-header {
  display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem;
  padding-bottom: .95rem; border-bottom: 1px solid rgba(255,255,255,.09);
}
.resume-block-icon { font-size: 1.35rem; }
.resume-block-title { font-size: 1.08rem; font-weight: 800; color: #fff; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 1.4rem; }
.timeline-item { display: flex; gap: .95rem; position: relative; }
.timeline-item::before { content:''; position:absolute; left:7px; top:20px; bottom:-1.4rem; width:1px; background:rgba(255,255,255,.1); }
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0; margin-top: 4px;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18);
}
.timeline-dot.accent-dot {
  background: var(--grad); border-color: transparent;
  box-shadow: 0 0 10px rgba(90,200,250,.45);
}
.timeline-content { flex: 1; }
.timeline-period { font-family: var(--ff-mono); font-size: .62rem; color: var(--c1); letter-spacing: .1em; margin-bottom: .32rem; }
.timeline-title { font-size: .94rem; font-weight: 700; color: #fff; margin-bottom: .18rem; }
.timeline-org   { font-size: .8rem; color: var(--text-2); margin-bottom: .45rem; }
.timeline-desc  { font-size: .8rem; color: var(--text-3); line-height: 1.7; margin-bottom: .55rem; }
.timeline-tags  { display: flex; flex-wrap: wrap; gap: .32rem; }
.timeline-tags span {
  font-family: var(--ff-mono); font-size: .58rem;
  padding: .18rem .58rem; border-radius: 6px;
  background: rgba(90,200,250,.07); border: 1px solid rgba(90,200,250,.18); color: var(--c1);
}

/* Cert cards */
.cert-list { display: flex; flex-direction: column; gap: .7rem; }
.cert-card {
  display: flex; align-items: center; gap: .85rem;
  padding: .75rem .95rem; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: all .25s;
}
.cert-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); transform: translateX(3px); }
.cert-icon { font-size: 1.25rem; flex-shrink: 0; }
.cert-card strong { display: block; font-size: .86rem; font-weight: 700; color: #fff; }
.cert-card span   { font-size: .73rem; color: var(--text-3); }

/* Tech stack pills */
.tech-stack-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.tech-pill {
  font-family: var(--ff-mono); font-size: .7rem;
  padding: .38rem .88rem; border-radius: 100px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: var(--text-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: all .22s;
}
.tech-pill:hover {
  border-color: rgba(90,200,250,.45); color: var(--c1);
  background: rgba(90,200,250,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 10px rgba(90,200,250,.14);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────
   PARALLAX SECTION LINE
───────────────────────────────────────────────────────── */
.parallax-section-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: scaleX(0); transition: transform 1s var(--ease);
}
.parallax-section-line.visible { transform: scaleX(1); }

/* ─────────────────────────────────────────────────────────
   MOBILE RESPONSIVE CATCH-ALL
───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { min-height: auto; padding: calc(var(--nav-h) + 1.5rem) 0 3rem; }
  .hero-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-right { order: -1; }
  .hero-actions, .hero-social, .hero-stats, .hero-greeting, .hero-typed-wrap { justify-content: center; }
  .hero-desc { margin: 0 auto 1.8rem; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: .75rem 1.4rem; justify-content: center; padding: .95rem; width: 100%; }
  .hstat-sep  { display: none; }
}
@media (max-width: 380px) {
  .hero-actions, .about-actions { flex-direction: column; }
  .btn-primary, .btn-outline    { width: 100%; justify-content: center; }
}
@media (max-width: 500px) {
  .photo-frame { width: 220px; height: 260px; }
  .hero-photo  { width: 200px; height: 240px; border-radius: 26px; }
  .photo-ring, .photo-orbit { display: none; }
}

/* ─────────────────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
