/* ══════════════════════════════════════════════════════════
   SAI GANGADHAR — PORTFOLIO
   Theme: Warm Ivory & Terracotta (Reference Replica)
   Colors: Warm Ivory (#F7F5F0), Charcoal (#18181B),
           Terracotta Accent (#C25E00), Soft Muted (#52525B)
   ══════════════════════════════════════════════════════════ */

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

:root {
  /* Warm Ivory Light Palette */
  --bg-base:       #F7F5F0;
  --bg-surface:    #FFFFFF;
  --bg-card:       #FFFFFF;
  --bg-subtle:     #EFECE6;

  /* Typography */
  --t1: #18181B; /* Charcoal Black */
  --t2: #52525B; /* Soft Muted Body Text */
  --t3: #A1A1AA; /* Muted Gray */

  /* Accents */
  --accent:        #C25E00; /* Warm Terracotta / Amber */
  --accent-light:  rgba(194, 94, 0, 0.08);
  --green:         #16A34A; /* Status Green Dot */

  /* Borders & Shadows */
  --border:        rgba(24, 24, 27, 0.08);
  --border-strong: rgba(24, 24, 27, 0.16);
  --shadow-sm:     0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-md:     0 10px 30px rgba(0, 0, 0, 0.05);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.3s var(--ease);

  --fh: 'Inter', -apple-system, sans-serif;
  --fb: 'Inter', -apple-system, sans-serif;
  --fm: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg-base);
  color: var(--t1);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════════════
   STUDIO SILK WARM IVORY PRELOADER WITH CIRCULAR RADIAL RING AROUND SG
   ══════════════════════════════════════════════════════════ */
.loader-screen {
  position: fixed; inset: 0; z-index: 99999;
  background: #F7F5F0; color: #18181B;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px; overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}
.loader-screen.hide {
  opacity: 0; transform: scale(1.04); filter: blur(12px);
  pointer-events: none;
}

/* Ambient Floating Warm Aura Orbs */
.loader-aura-orb-1 {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 94, 0, 0.16) 0%, rgba(247, 245, 240, 0) 70%);
  top: 15%; left: 20%; filter: blur(40px); animation: floatOrb1 6s ease-in-out infinite alternate;
}
.loader-aura-orb-2 {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, rgba(247, 245, 240, 0) 70%);
  bottom: 15%; right: 20%; filter: blur(40px); animation: floatOrb2 7s ease-in-out infinite alternate;
}
@keyframes floatOrb1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, -30px) scale(1.15); } }
@keyframes floatOrb2 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-30px, 40px) scale(1.1); } }

/* Circular Radial Ring surrounding SG Logo */
.loader-ring-wrapper {
  position: relative; width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; z-index: 2;
}

.loader-circular-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg); /* Starts fill arc from top 12 o'clock */
}

.loader-ring-track {
  fill: none; stroke: rgba(24, 24, 27, 0.08); stroke-width: 4;
}

.loader-ring-progress {
  fill: none; stroke: var(--accent); stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 339.29; /* 2 * PI * 54 = 339.29 */
  stroke-dashoffset: 339.29;
  transition: stroke-dashoffset 0.08s linear;
  filter: drop-shadow(0 0 6px rgba(194, 94, 0, 0.5));
}

/* Glass Monogram Badge inside Ring */
.loader-silk-badge {
  width: 108px; height: 108px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px);
  border: 1px solid rgba(24, 24, 27, 0.08); box-shadow: 0 14px 30px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; z-index: 2; gap: 2px;
}

.loader-silk-monogram {
  font-family: var(--fh); font-size: 28px; font-weight: 800; color: #18181B;
  letter-spacing: -1px; line-height: 1;
}
.loader-silk-accent { color: var(--accent); }

.loader-live-pct {
  font-family: var(--fm); font-size: 11px; font-weight: 600; color: var(--t2);
}

/* Telemetry Status Text below Ring */
.loader-silk-box {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative; z-index: 2; text-align: center;
}
.loader-silk-tag {
  font-family: var(--fm); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 3px; font-weight: 600;
}
.loader-silk-status {
  font-family: var(--fh); font-size: 15px; font-weight: 600; color: var(--t1);
  letter-spacing: -0.2px;
}

/* ── Custom Cursor ── */
.cursor {
  width: 8px; height: 8px; background: var(--t1); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%); transition: width 0.15s, height 0.15s;
}
.cursor-follower {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(24, 24, 27, 0.25);
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); transition: all 0.12s ease-out;
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--accent); z-index: 1000; width: 0%; transition: width 0.1s linear;
}

/* ── Developer Status Pill at Bottom Left ── */
.dev-status-pill {
  position: fixed; bottom: 20px; left: 20px; z-index: 99;
  background: rgba(24, 24, 27, 0.85); backdrop-filter: blur(12px);
  color: #F4F4F5; font-family: var(--fm); font-size: 11px;
  padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.dev-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 6px #4ADE80; }

/* ── Layout Utils ── */
.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   FLOATING PILL NAVBAR & CMD PALETTE BUTTON
   ══════════════════════════════════════════════════════════ */
.navbar-wrapper {
  position: fixed; top: 20px; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: center; padding: 0 20px;
}
.navbar {
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 6px 12px 6px 20px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 860px; transition: var(--transition);
  position: relative;
}

.brand-logo {
  font-family: var(--fh); font-size: 20px; font-weight: 800;
  color: var(--t1); text-decoration: none; display: flex; align-items: center; gap: 2px;
}
.brand-dot { color: var(--accent); }

.nav-right-group { display: flex; align-items: center; gap: 10px; }

.cmd-k-btn {
  background: var(--bg-base); border: 1px solid var(--border-strong);
  color: var(--t2); font-family: var(--fm); font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: 20px; cursor: none; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 4px;
}
.cmd-k-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  color: var(--t2); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius-pill); transition: var(--transition);
}
.nav-link:hover { color: var(--t1); background: rgba(0, 0, 0, 0.04); }
.nav-link.active { color: var(--t1); background: var(--bg-subtle); font-weight: 600; }

.nav-cta-black {
  background: var(--t1); color: #FFFFFF !important; font-weight: 600; font-size: 14px;
  padding: 9px 20px; border-radius: var(--radius-pill); text-decoration: none;
  transition: var(--transition);
}
.nav-cta-black:hover { background: #3F3F46; transform: translateY(-1px); }

.nav-mobile-cta { display: none; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 4px; }
.toggle-bar { width: 20px; height: 2px; background: var(--t1); border-radius: 2px; transition: all 0.25s ease; }

/* ══════════════════════════════════════════════════════════
   HERO SECTION & PROFILE PHOTO AVATAR RING
   ══════════════════════════════════════════════════════════ */
.hero-section {
  padding: 160px 0 40px; text-align: center; position: relative; overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.6;
}
.hero-container { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }

.hero-avatar-wrap {
  width: 140px; height: 140px; margin: 0 auto 24px; position: relative;
}
.hero-avatar-ring {
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--bg-surface); border: 4px solid #FFFFFF;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; overflow: hidden; transition: transform 0.4s var(--ease);
}
.hero-avatar-wrap:hover .hero-avatar-ring { transform: scale(1.06) rotate(2deg); }

.hero-avatar-img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
  border-radius: 50%; display: block;
}

.avatar-monogram {
  font-family: var(--fh); font-size: 38px; font-weight: 800;
  color: var(--t1); letter-spacing: -1px;
}
.avatar-monogram-accent { color: var(--accent); }

.hero-status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; border: 1px solid var(--border);
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; color: var(--t2);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.status-dot-green {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.4);
}

.hero-greeting {
  font-size: 20px; color: var(--t2); font-weight: 500; margin-bottom: 8px;
}

.hero-name-title {
  font-family: var(--fh); font-size: clamp(44px, 6.5vw, 68px);
  font-weight: 800; letter-spacing: -2px; color: var(--t1); line-height: 1.1;
  margin-bottom: 14px;
}

.hero-typed-sub {
  font-size: clamp(20px, 2.5vw, 26px); color: var(--t2); font-weight: 500;
  margin-bottom: 24px;
}
.typed-accent-color { color: var(--accent); font-weight: 700; }

.hero-tagline-desc {
  font-size: 17px; color: var(--t2); line-height: 1.8; margin-bottom: 32px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}

.hero-buttons-row {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-black-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--t1); color: #FFFFFF; font-weight: 600; font-size: 14.5px;
  padding: 13px 26px; border-radius: var(--radius-pill); text-decoration: none;
  transition: var(--transition); box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-black-pill:hover { background: #27272A; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }

.btn-white-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; color: var(--t1); font-weight: 600; font-size: 14.5px;
  padding: 13px 24px; border-radius: var(--radius-pill); text-decoration: none;
  border: 1px solid var(--border-strong); transition: var(--transition); box-shadow: var(--shadow-sm);
}
.btn-white-pill:hover { border-color: var(--t1); transform: translateY(-2px); }

/* ── ANIMATED MOUSE SCROLL PILL INDICATOR ── */
.hero-scroll-indicator {
  display: flex; justify-content: center; margin: 28px 0 20px;
}
.mouse-pill {
  width: 22px; height: 36px; border: 2px solid var(--t3); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
  transition: border-color 0.3s ease;
}
.hero-scroll-indicator:hover .mouse-pill { border-color: var(--accent); }
.mouse-dot {
  width: 4px; height: 8px; background: var(--accent); border-radius: 2px;
  animation: scrollDot 1.8s infinite ease-in-out;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   INFINITE SLIDING TECH TICKER / MARQUEE BANNER
   ══════════════════════════════════════════════════════════ */
.tech-ticker-wrap {
  width: 100vw; margin-left: calc(50% - 50vw);
  background: #FFFFFF; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0; overflow: hidden; white-space: nowrap; margin-bottom: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.02);
}
.tech-ticker-track {
  display: inline-flex; align-items: center; gap: 32px;
  animation: marqueeTicker 30s linear infinite;
}
.tech-ticker-wrap:hover .tech-ticker-track { animation-play-state: paused; }

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

.ticker-item {
  font-family: var(--fh); font-size: 14.5px; font-weight: 600; color: var(--t2);
  display: inline-flex; align-items: center; gap: 16px;
}
.ticker-diamond {
  color: var(--accent); font-size: 11px; opacity: 0.8;
}

/* ══════════════════════════════════════════════════════════
   DEV COMMAND PALETTE
   ══════════════════════════════════════════════════════════ */
.cmd-modal-overlay {
  position: fixed; inset: 0; z-index: 99990;
  background: rgba(12, 12, 14, 0.7); backdrop-filter: blur(10px);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 120px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.cmd-modal-overlay.open { opacity: 1; pointer-events: auto; }

.cmd-modal-box {
  width: 100%; max-width: 540px; background: #141417; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  color: #F4F4F5; font-family: var(--fb); transform: scale(0.95); transition: transform 0.25s var(--ease);
}
.cmd-modal-overlay.open .cmd-modal-box { transform: scale(1); }

.cmd-search-input-wrap {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cmd-icon { color: #A1A1AA; font-size: 16px; }
.cmd-search-input {
  background: none; border: none; outline: none; color: #FFFFFF; font-size: 15px;
  width: 100%; font-family: var(--fb);
}
.cmd-search-input::placeholder { color: #71717A; }

.cmd-options-list { list-style: none; padding: 10px; max-height: 320px; overflow-y: auto; }
.cmd-option-item {
  padding: 12px 14px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between;
  cursor: none; color: #D4D4D8; font-size: 14px; transition: background 0.15s ease;
}
.cmd-option-item:hover, .cmd-option-item.active { background: rgba(255,255,255,0.08); color: #FFFFFF; }
.cmd-option-left { display: flex; align-items: center; gap: 10px; }
.cmd-key-badge {
  font-family: var(--fm); font-size: 11px; background: rgba(255,255,255,0.1);
  padding: 2px 7px; border-radius: 4px; color: #A1A1AA;
}

/* ══════════════════════════════════════════════════════════
   SECTION COMMON HEADINGS
   ══════════════════════════════════════════════════════════ */
.section-wrapper { padding: 90px 0; }
.section-head { margin-bottom: 36px; }
.section-subtitle {
  font-family: var(--fm); font-size: 12px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 6px; font-weight: 600;
}
.section-title {
  font-family: var(--fh); font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; letter-spacing: -1px; color: var(--t1);
}

/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════ */
.about-clean-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 40px; align-items: center;
  margin-bottom: 36px;
}
.about-text-col { display: flex; flex-direction: column; gap: 18px; }
.about-lead {
  font-size: 19px; color: var(--t1); line-height: 1.7; font-weight: 500;
}
.about-lead strong { color: var(--accent); font-weight: 700; }
.about-body {
  font-size: 16px; color: var(--t2); line-height: 1.8;
}

.about-stats-col {
  display: flex; flex-direction: column; gap: 14px;
}
.about-stat-card {
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 24px;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 20px;
  transition: var(--transition);
}
.about-stat-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-number {
  font-family: var(--fh); font-size: 32px; font-weight: 800; color: var(--t1); letter-spacing: -1px;
}
.stat-label {
  font-size: 13.5px; color: var(--t2); font-weight: 500; line-height: 1.4;
}

.about-focus-pills-row {
  display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px;
}
.about-focus-pill {
  background: #FFFFFF; border: 1px solid var(--border);
  color: var(--t1); font-size: 13.5px; font-weight: 600;
  padding: 10px 20px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.about-focus-pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   EXPERIENCE SECTION
   ══════════════════════════════════════════════════════════ */
.exp-list { display: flex; flex-direction: column; gap: 24px; }
.exp-card {
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.exp-card-present {
  border-color: rgba(194, 94, 0, 0.3);
  box-shadow: 0 4px 20px rgba(194, 94, 0, 0.06);
}
.exp-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.exp-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.exp-role-title { font-family: var(--fh); font-size: 20px; font-weight: 700; color: var(--t1); }
.exp-company-name { font-size: 14px; color: var(--accent); font-weight: 600; margin-top: 2px; }
.exp-date-pill {
  font-family: var(--fm); font-size: 12px; color: var(--t2);
  background: var(--bg-base); padding: 5px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border);
}
.exp-date-pill-active {
  background: var(--accent-light); border-color: rgba(194, 94, 0, 0.3); color: var(--accent); font-weight: 600;
}
.exp-list-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.exp-list-bullets li { font-size: 14.5px; color: var(--t2); padding-left: 20px; position: relative; line-height: 1.65; }
.exp-list-bullets li::before { content: "•"; position: absolute; left: 0; color: var(--accent); font-size: 16px; top: -1px; }

.tech-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag-pill {
  font-family: var(--fm); font-size: 11.5px; color: var(--t2);
  background: var(--bg-base); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: var(--radius-pill);
}

/* ══════════════════════════════════════════════════════════
   PROJECTS SECTION
   ══════════════════════════════════════════════════════════ */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.proj-card-lg { grid-column: 1 / -1; }

.proj-card {
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.proj-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-md); }

.proj-banner {
  height: 180px; background: linear-gradient(135deg, #F3EFE6 0%, #E8E2D5 100%);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.proj-banner-1 { background: linear-gradient(135deg, #FFF4EC 0%, #FEE5D5 100%); }
.proj-icon { font-size: 44px; transition: transform 0.3s ease; }
.proj-card:hover .proj-icon { transform: scale(0.9); }

.proj-banner-overlay {
  position: absolute; inset: 0;
  background: rgba(247, 245, 240, 0.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.28s var(--ease);
}
.proj-card:hover .proj-banner-overlay { opacity: 1; }

.btn-visit-site {
  background: #FFFFFF; color: var(--t1); border: 1.5px solid var(--t1);
  padding: 10px 22px; border-radius: var(--radius-pill); font-weight: 600; font-size: 13.5px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08); transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn-visit-site:hover { background: var(--t1); color: #FFFFFF; transform: scale(1.05); }

.proj-content { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.proj-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.proj-badge {
  font-family: var(--fm); font-size: 11px; padding: 3px 12px; border-radius: var(--radius-pill);
  background: var(--bg-base); border: 1px solid var(--border); color: var(--t2);
}
.proj-badge-featured { background: var(--accent-light); border-color: rgba(194, 94, 0, 0.3); color: var(--accent); font-weight: 600; }

.proj-title { font-family: var(--fh); font-size: 20px; font-weight: 700; color: var(--t1); }
.proj-desc { font-size: 14.5px; color: var(--t2); line-height: 1.7; flex: 1; }

/* ══════════════════════════════════════════════════════════
   TECHNICAL STACK SECTION
   ══════════════════════════════════════════════════════════ */
.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stack-card {
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stack-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }

.stack-title {
  font-family: var(--fh); font-size: 15px; font-weight: 700; color: var(--t1);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.stack-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-pill {
  background: var(--bg-base); border: 1px solid var(--border);
  color: var(--t2); font-family: var(--fm); font-size: 12.5px;
  padding: 6px 14px; border-radius: var(--radius-pill); transition: var(--transition);
}
.stack-pill:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   CONTACT CARD & FUNCTIONAL CONTACT FORM
   ══════════════════════════════════════════════════════════ */
.contact-card {
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 36px; text-align: center;
  box-shadow: var(--shadow-md); max-width: 680px; margin: 0 auto;
}
.contact-title { font-family: var(--fh); font-size: 32px; font-weight: 800; color: var(--t1); margin-bottom: 10px; }
.contact-sub { font-size: 15px; color: var(--t2); margin-bottom: 28px; line-height: 1.6; }

.contact-row {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.contact-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-base); border: 1px solid var(--border-strong);
  padding: 12px 24px; border-radius: var(--radius-pill);
  color: var(--t1); text-decoration: none; font-size: 14px; font-weight: 600;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.contact-btn svg { color: var(--accent); transition: var(--transition); }
.contact-btn:hover {
  border-color: var(--t1); background: var(--t1); color: #FFFFFF;
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.contact-btn:hover svg { color: #FFFFFF; }

.contact-form {
  text-align: left; display: flex; flex-direction: column; gap: 18px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--fh); font-size: 13px; font-weight: 600; color: var(--t1);
}
.form-input, .form-textarea {
  background: var(--bg-base); border: 1px solid var(--border-strong);
  color: var(--t1); font-family: var(--fb); font-size: 14.5px;
  padding: 12px 16px; border-radius: var(--radius-md); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent); background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(194, 94, 0, 0.12);
}
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

.btn-submit-contact {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--t1); color: #FFFFFF; border: none;
  font-family: var(--fh); font-size: 14.5px; font-weight: 600;
  padding: 13px 28px; border-radius: var(--radius-pill); cursor: none;
  transition: var(--transition); box-shadow: 0 4px 14px rgba(0,0,0,0.12); margin-top: 6px;
}
.btn-submit-contact:hover {
  background: #27272A; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.form-status-msg {
  font-size: 13.5px; font-weight: 600; color: var(--green); margin-top: 4px; display: none;
}
.form-status-msg.show { display: block; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--border); padding: 28px 0; margin-top: 60px; }
.footer-flex { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--t2); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (TABLET & MOBILE FIXES)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-clean-grid { grid-template-columns: 1fr; gap: 28px; }
  .projects-grid { grid-template-columns: 1fr; }
  .proj-card-lg { grid-column: unset; }
  .stack-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Cursor */
  .cursor, .cursor-follower { display: none !important; }
  body { cursor: auto !important; }
  button, a { cursor: pointer !important; }

  /* Navbar Mobile Layout */
  .navbar-wrapper { top: 12px; padding: 0 12px; }
  .navbar { padding: 8px 16px; border-radius: 40px; }
  .nav-desktop-only { display: none !important; }
  .cmd-k-btn, .dev-status-pill { display: none !important; }

  .mobile-toggle { display: flex; }
  .toggle-bar { width: 22px; height: 2px; background: var(--t1); border-radius: 2px; transition: all 0.25s ease; }
  
  .mobile-toggle.open .toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-toggle.open .toggle-bar:nth-child(2) { opacity: 0; }
  .mobile-toggle.open .toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Mobile Dropdown Drawer */
  .nav-menu {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong); border-radius: 20px;
    flex-direction: column; padding: 14px; gap: 4px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    opacity: 0; pointer-events: none; transform: translateY(-8px) scale(0.98);
    transition: all 0.25s var(--ease); z-index: 1000;
  }
  .nav-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }

  .nav-link {
    width: 100%; display: block; text-align: center; padding: 12px 16px;
    font-size: 15px; border-radius: 12px;
  }
  .nav-mobile-cta {
    display: block !important; background: var(--t1); color: #FFFFFF !important;
    font-weight: 600; margin-top: 6px; text-align: center;
  }

  /* Hero Section Mobile */
  .hero-section { padding: 130px 0 30px; }
  .hero-avatar-wrap { width: 110px; height: 110px; margin-bottom: 16px; }
  .hero-avatar-ring { width: 110px; height: 110px; }
  .avatar-monogram { font-size: 30px; }
  .hero-name-title { font-size: clamp(34px, 8vw, 44px); margin-bottom: 10px; }
  .hero-typed-sub { font-size: 18px; margin-bottom: 18px; }
  .hero-tagline-desc { font-size: 15px; line-height: 1.65; margin-bottom: 28px; }
  .hero-buttons-row { flex-direction: column; width: 100%; gap: 10px; }
  .btn-black-pill, .btn-white-pill { width: 100%; justify-content: center; }

  /* Sections Mobile Spacing & Padding */
  .section-wrapper { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .exp-card, .contact-card, .proj-card, .stack-card { padding: 24px 18px; border-radius: 18px; }
  .exp-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .exp-role-title { font-size: 18px; }
  
  .about-clean-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-lead { font-size: 17px; }
  .about-stat-card { padding: 16px 20px; }
  .stat-number { font-size: 28px; }
  
  .contact-row { flex-direction: column; width: 100%; }
  .contact-btn { width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .btn-submit-contact { width: 100%; justify-content: center; }
  .footer-flex { flex-direction: column; gap: 8px; text-align: center; }
}
CSSEOF
