/* ===================================================
   MIKNERI.DEV — DARK TECHIE PORTFOLIO STYLESHEET
   Author: Mikhail Ban E. Neri
   =================================================== */

/* 1. CSS VARIABLES
   ================================================= */
:root {
  --bg:          #060a0f;
  --bg2:         #0a1018;
  --bg3:         #0f1620;
  --surface:     #111a24;
  --surface2:    #162030;
  --border:      rgba(0, 210, 255, 0.12);
  --border-glow: rgba(0, 210, 255, 0.35);

  --green:       #00ff88;
  --green-dim:   rgba(0, 255, 136, 0.15);
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0, 212, 255, 0.12);
  --blue:        #0066ff;
  --red:         #ff003c;
  --yellow:      #ffcc00;

  --text:        #e0eaf4;
  --text-muted:  #7a9ab0;
  --muted:       #4a6880;

  --font-mono:   'Share Tech Mono', 'Courier New', monospace;
  --font-display:'Orbitron', monospace;
  --font-body:   'Rajdhani', sans-serif;

  --nav-h:       70px;
  --max-w:       1280px;
  --radius:      4px;

  --trans:       all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 2. RESET & BASE
   ================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  /* RIGHT-CLICK AND TEXT SELECTION FULLY ENABLED */
}

::selection {
  background: var(--cyan);
  color: var(--bg);
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--trans);
}

a:hover { color: var(--green); }

ul { list-style: none; }

/* 3. BACKGROUND EFFECTS
   ================================================= */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.08) 3px,
    rgba(0, 0, 0, 0.08) 4px
  );
  z-index: 1;
  pointer-events: none;
  animation: scanline-drift 8s linear infinite;
}

.noise {
  position: fixed;
  inset: 0;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 2;
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

@keyframes scanline-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

/* 4. NAVIGATION
   ================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(6, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--trans);
}

.nav.scrolled {
  background: rgba(6, 10, 15, 0.97);
  border-bottom-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: .05em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-bracket { color: var(--cyan); }
.logo-name    { color: var(--green); padding: 0 2px; }
.logo-cursor  {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
  font-weight: 400;
}

@keyframes blink { 50% { opacity: 0; } }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--text-muted);
  padding: .5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}

.nav-link::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: transparent;
  border-color: var(--border-glow);
  background: var(--cyan-dim);
}

.nav-link:hover::before,
.nav-link.active::before { transform: translateY(0); }

.nav-link.active {
  color: transparent;
  border-color: var(--green);
  background: var(--green-dim);
}
.nav-link.active::before { color: var(--green); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: var(--trans);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5. HERO SECTION
   ================================================= */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.06);
  padding: .4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0,255,136,.4); }
  50%       { opacity: .8; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}

.hero-name {
  font-family: var(--font-display);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.hero-first {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: .02em;
}
.hero-middle {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: .15em;
}
.hero-last {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--cyan);
  text-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
  letter-spacing: .02em;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: var(--cyan);
  margin-bottom: 1.25rem;
  min-height: 1.8em;
}
.title-prefix { color: var(--green); opacity: .7; }
.cursor-blink {
  color: var(--cyan);
  animation: blink .9s step-end infinite;
  font-size: .8em;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
}
.meta-sep { color: var(--border-glow); }

.hero-summary {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

/* 6. BUTTONS
   ================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  font-weight: 700;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0,255,136,.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-dim);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,212,255,.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-dim);
  transform: translateY(-2px);
}
.btn-ghost.btn-linkedin:hover {
  color: #0a66c2;
  border-color: #0a66c2;
  background: rgba(10,102,194,.1);
}

.btn-full { width: 100%; justify-content: center; }
.btn-icon { transition: transform 0.25s ease; }
.btn:hover .btn-icon { transform: translateX(3px); }

/* 7. HERO VISUAL
   ================================================= */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 80px);
  grid-template-rows: repeat(3, 80px);
  gap: 1rem;
  position: absolute;
}

.hex {
  width: 80px;
  height: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: var(--trans);
  animation: hex-pulse 4s ease-in-out infinite;
}
.hex:nth-child(odd)  { animation-delay: -1s; }
.hex:nth-child(3n)   { animation-delay: -2s; background: var(--cyan-dim); border-color: rgba(0,212,255,.25); }

@keyframes hex-pulse {
  0%, 100% { opacity: .3; transform: scale(1); }
  50%       { opacity: .9; transform: scale(1.05); }
}

.code-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .35;
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--green);
  pointer-events: none;
}

/* 8. SECTIONS
   ================================================= */
.section {
  position: relative;
  z-index: 10;
  padding: 6rem 2rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.section-num {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--cyan);
  opacity: .6;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--text);
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-glow), transparent);
}

.section-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 640px;
}

/* 9. SKILL CARDS
   ================================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.skill-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}
.skill-card:hover::before { transform: scaleX(1); }

.skill-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.skill-icon {
  font-size: 1.3rem;
  color: var(--cyan);
}
.skill-card-header h3 {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .1em;
  color: var(--text);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

/* 10. TAGS
   ================================================= */
.tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: .2rem .6rem;
  border-radius: 2px;
  transition: var(--trans);
}
.tag:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--cyan);
  color: var(--text);
}
.tag.sm {
  font-size: .62rem;
  padding: .15rem .5rem;
}

/* 11. STATS STRIP
   ================================================= */
.stats-strip {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 3rem 2rem;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--cyan);
  display: inline-block;
  text-shadow: 0 0 30px rgba(0,212,255,.4);
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green);
}
.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--muted);
  margin-top: .25rem;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* 12. PAGE HERO
   ================================================= */
.page-hero {
  position: relative;
  z-index: 10;
  padding: calc(var(--nav-h) + 5rem) 2rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero-inner { max-width: 680px; }
.page-num {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--cyan);
  opacity: .5;
  display: block;
  margin-bottom: 1rem;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 13. TIMELINE
   ================================================= */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan), var(--border), transparent);
}

.tl-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tl-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.tl-item:nth-child(1) { transition-delay: 0s; }
.tl-item:nth-child(2) { transition-delay: .1s; }
.tl-item:nth-child(3) { transition-delay: .15s; }
.tl-item:nth-child(4) { transition-delay: .2s; }
.tl-item:nth-child(5) { transition-delay: .25s; }
.tl-item:nth-child(6) { transition-delay: .3s; }
.tl-item:nth-child(7) { transition-delay: .35s; }
.tl-item:nth-child(8) { transition-delay: .4s; }
.tl-item:nth-child(9) { transition-delay: .45s; }
.tl-item:nth-child(10){ transition-delay: .5s; }

.tl-dot {
  position: absolute;
  left: -2.5rem;
  top: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-dot span {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 10px rgba(0,212,255,.6);
  display: block;
  transition: var(--trans);
}
.tl-item:hover .tl-dot span {
  background: var(--green);
  box-shadow: 0 0 16px rgba(0,255,136,.8);
  transform: scale(1.4);
}

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--trans);
}
.tl-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 30px rgba(0,212,255,.08);
  transform: translateX(4px);
}

.tl-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tl-role {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .03em;
  margin-bottom: .25rem;
}
.tl-company {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--cyan);
  letter-spacing: .05em;
}

.tl-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  flex-shrink: 0;
}
.tl-date, .tl-location {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .05em;
}
.tl-badge {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .15em;
  padding: .2rem .6rem;
  border-radius: 2px;
}
.tl-active {
  color: var(--green);
  background: rgba(0,255,136,.08);
  border: 1px solid rgba(0,255,136,.25);
}

.tl-points {
  list-style: none;
  margin-bottom: 1rem;
}
.tl-points li {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: .3rem 0 .3rem 1.2rem;
  position: relative;
}
.tl-points li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  opacity: .6;
  font-size: .7rem;
  top: .45rem;
}

.tl-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

/* 14. EDUCATION & CERTS
   ================================================= */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: var(--trans);
}
.edu-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}
.edu-year {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--cyan);
}
.edu-degree {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}
.edu-major {
  font-size: .9rem;
  color: var(--text-muted);
  font-style: italic;
}
.edu-school {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--muted);
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--trans);
}
.cert-item:hover {
  border-color: var(--border-glow);
  background: var(--surface2);
}
.cert-date {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--cyan);
  letter-spacing: .1em;
  min-width: 70px;
  flex-shrink: 0;
}
.cert-name {
  font-size: .95rem;
  color: var(--text-muted);
}

/* 15. PROJECT CARDS
   ================================================= */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.project-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.project-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,212,255,.12);
}
.project-card:hover::after { transform: scaleX(1); }

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.project-num {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .2em;
}
.project-live-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .15em;
  color: var(--green);
  background: rgba(0,255,136,.07);
  border: 1px solid rgba(0,255,136,.2);
  padding: .2rem .6rem;
  border-radius: 2px;
}
.project-live-badge .badge-dot { width: 5px; height: 5px; flex-shrink: 0; }

.project-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
  letter-spacing: .05em;
}
.project-url {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--cyan);
  margin-bottom: 1rem;
  letter-spacing: .05em;
}
.project-desc {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.project-card-top  { margin-bottom: 1.5rem; }
.project-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.project-stack { display: flex; flex-wrap: wrap; gap: .4rem; }

.project-link {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,.3);
  padding: .4rem .9rem;
  border-radius: 2px;
  flex-shrink: 0;
  transition: var(--trans);
}
.project-link:hover {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: var(--cyan);
}

/* 16. INTERNAL APPS GRID
   ================================================= */
.internal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.internal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--trans);
  opacity: 0;
  transform: translateY(20px);
}
.internal-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease, border-color .3s ease, box-shadow .3s ease;
}
.internal-card.visible:nth-child(1) { transition-delay: 0s; }
.internal-card.visible:nth-child(2) { transition-delay: .1s; }
.internal-card.visible:nth-child(3) { transition-delay: .2s; }
.internal-card.visible:nth-child(4) { transition-delay: .3s; }

.internal-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0,212,255,.1);
}

.internal-icon {
  color: var(--cyan);
  margin-bottom: 1rem;
  opacity: .8;
}
.internal-card h3 {
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .05em;
  color: var(--text);
  margin-bottom: .75rem;
}
.internal-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.internal-stack { display: flex; flex-wrap: wrap; gap: .35rem; }

/* 17. CONTACT PAGE
   ================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: .05em;
}
.contact-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--trans);
}
a.contact-detail-item:hover { color: var(--cyan); }
.cd-icon {
  color: var(--cyan);
  opacity: .7;
  flex-shrink: 0;
}

.contact-social {
  display: flex;
  gap: 1rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  font-weight: 700;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: var(--trans);
}
.social-btn.github { color: var(--text-muted); }
.social-btn.github:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-dim);
  transform: translateY(-2px);
}
.social-btn.linkedin { color: var(--text-muted); }
.social-btn.linkedin:hover {
  color: #60a5fa;
  border-color: #3b82f6;
  background: rgba(59,130,246,.1);
  transform: translateY(-2px);
}

/* 18. CONTACT FORM
   ================================================= */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  color: var(--cyan);
  opacity: .8;
}
.form-input {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .75rem 1rem;
  transition: var(--trans);
  outline: none;
  resize: vertical;
}
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
  background: var(--bg3);
}
.form-input::placeholder { color: var(--muted); font-size: .9rem; }
.form-textarea { min-height: 130px; }

.form-error {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--red);
  min-height: 1em;
  letter-spacing: .05em;
}

/* Honeypot hidden field */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.form-status {
  font-family: var(--font-mono);
  font-size: .8rem;
  text-align: center;
  padding: .75rem;
  border-radius: var(--radius);
  min-height: 1em;
}
.form-status.success {
  color: var(--green);
  background: rgba(0,255,136,.07);
  border: 1px solid rgba(0,255,136,.2);
}
.form-status.error {
  color: var(--red);
  background: rgba(255,0,60,.07);
  border: 1px solid rgba(255,0,60,.2);
}

/* 19. FOOTER
   ================================================= */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-mono {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .08em;
}
.footer-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-social {
  color: var(--muted);
  transition: var(--trans);
}
.footer-social:hover { color: var(--cyan); transform: translateY(-2px); }

/* 20. SCROLL REVEAL ANIMATIONS
   ================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }
.delay-7 { transition-delay: .7s !important; }

/* 21. GLITCH ANIMATION (for errors)
   ================================================= */
@keyframes glitch {
  0%, 100% { text-shadow: 0 0 40px rgba(0,255,136,.3); }
  20%  { text-shadow: -3px 0 var(--red), 3px 0 var(--cyan); clip-path: inset(20% 0 60% 0); }
  40%  { text-shadow: 3px 0 var(--red), -3px 0 var(--cyan); clip-path: inset(60% 0 20% 0); }
  60%  { text-shadow: 0 0 40px rgba(0,255,136,.3); clip-path: none; }
}

/* 22. RESPONSIVE
   ================================================= */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
    padding-bottom: 4rem;
  }
  .hero-visual { height: 300px; }
  .hex-grid { grid-template-columns: repeat(3, 60px); grid-template-rows: repeat(3, 60px); }
  .hex { width: 60px; height: 60px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(6,10,15,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: .5rem;
    transform: translateY(-110%);
    transition: transform .35s ease;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { width: 100%; text-align: center; padding: .75rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-inner { justify-content: center; }
  .stat-divider { display: none; }

  .tl-card-header { flex-direction: column; }
  .tl-right { text-align: left; align-items: flex-start; }

  .project-grid { grid-template-columns: 1fr; }
  .project-card-bottom { flex-direction: column; align-items: flex-start; }

  .section { padding: 4rem 1.5rem; }
  .page-hero { padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem; }
}

@media (max-width: 480px) {
  .hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .contact-form-wrap { padding: 1.5rem; }
  .contact-social { flex-direction: column; }
  .social-btn { justify-content: center; }
}

/* 23. SCROLL BAR
   ================================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--cyan), var(--green));
  border-radius: 3px;
}

/* ============================================
   LOGO IMAGE — NAV + FOOTER
   ============================================ */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.4));
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.8));
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.75rem;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.3));
  opacity: 0.85;
}

/* ============================================
   HERO PROFILE PHOTO
   ============================================ */
.hero-photo-wrap {
  position: relative;
  width: 420px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.25));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.hero-photo:hover {
  filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.45));
  transform: scale(1.02);
}

.hero-photo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  z-index: 1;
  border-radius: 50%;
  animation: photoGlow 4s ease-in-out infinite alternate;
}

.hero-photo-hex-border {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--cyan), var(--green));
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  z-index: 1;
  opacity: 0.6;
}

.hero-photo-hex-border::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--bg);
  border-radius: 12px;
  z-index: 1;
}

.hero-photo-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  border-radius: 12px;
  z-index: 3;
  pointer-events: none;
}

@keyframes photoGlow {
  from { opacity: 0.4; transform: scale(0.95); }
  to   { opacity: 1;   transform: scale(1.05); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   HERO VISUAL — override old hex-grid sizing
   ============================================ */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-photo-wrap {
    width: 280px;
  }
  .nav-logo-img {
    height: 30px;
  }
}

/* ============================================
   PROJECTS — INCOMING / MORE COMING SECTION
   ============================================ */
.projects-incoming {
  margin-top: 5rem;
  position: relative;
}

.incoming-inner {
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,212,255,0.03) 0%, rgba(0,255,136,0.03) 100%);
}

/* Animated corner brackets */
.incoming-inner::before,
.incoming-inner::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--cyan);
  border-style: solid;
  animation: cornerPulse 2.5s ease-in-out infinite;
}
.incoming-inner::before {
  top: 12px; left: 12px;
  border-width: 2px 0 0 2px;
}
.incoming-inner::after {
  bottom: 12px; right: 12px;
  border-width: 0 2px 2px 0;
  animation-delay: 1.25s;
}

@keyframes cornerPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* Signal dots */
.incoming-signal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1rem;
}
.incoming-signal span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: signalPing 1.4s ease-in-out infinite;
}
.incoming-signal span:nth-child(2) { animation-delay: 0.2s; background: var(--green); }
.incoming-signal span:nth-child(3) { animation-delay: 0.4s; }

@keyframes signalPing {
  0%, 100% { transform: scale(1);   opacity: 0.4; }
  50%       { transform: scale(1.6); opacity: 1;   box-shadow: 0 0 8px currentColor; }
}

/* Label */
.incoming-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

/* Main headline */
.incoming-headline {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  justify-content: center;
}

.incoming-word {
  display: inline-block;
  color: var(--text);
  animation: wordFloat 6s ease-in-out infinite;
}
.incoming-word:nth-child(2) { animation-delay: 0.3s; }
.incoming-word:nth-child(3) { animation-delay: 0.6s; }
.incoming-word:nth-child(4) { animation-delay: 0.9s; }
.incoming-word:nth-child(5) { animation-delay: 1.2s; }

.incoming-word.accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  animation: wordFloat 6s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}
.incoming-word.accent-green {
  color: var(--green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  animation: wordFloat 6s ease-in-out infinite, greenPulse 2s ease-in-out infinite;
}

@keyframes wordFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(0,212,255,0.3); }
  50%       { text-shadow: 0 0 30px rgba(0,212,255,0.8), 0 0 60px rgba(0,212,255,0.3); }
}
@keyframes greenPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(0,255,136,0.3); }
  50%       { text-shadow: 0 0 30px rgba(0,255,136,0.8), 0 0 60px rgba(0,255,136,0.3); }
}

/* Subtext */
.incoming-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Scrolling ticker */
.incoming-ticker {
  display: flex;
  gap: 1.5rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(0,212,255,0.45);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  animation: tickerScroll 12s linear infinite;
  white-space: nowrap;
  width: max-content;
  margin: 0 auto;
}

.ticker-dot {
  color: var(--green);
  opacity: 0.6;
}

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

@media (max-width: 768px) {
  .incoming-inner {
    padding: 2.5rem 1.5rem;
  }
  .incoming-headline {
    font-size: 1.4rem;
  }
}

/* ============================================================
   MOBILE-FIRST RESPONSIVE OVERHAUL
   Breakpoints: 480px · 768px · 1024px
   ============================================================ */

/* ── NAV: hide toggle on desktop, show on mobile ─────────── */
.nav-toggle { display: none; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  /* Hide desktop nav links — slide in on .open */
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(6, 10, 15, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    display: flex;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { width: 100%; text-align: center; padding: 0.75rem; }
}

/* ── HERO: stack photo above text on mobile ──────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    min-height: auto;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 3rem;
    text-align: center;
  }

  /* Photo first, text second */
  .hero-visual { order: -1; height: auto; }
  .hero-inner  { order:  1; }

  .hero-photo-wrap { width: 260px; margin: 0 auto; }

  /* Re-center text elements */
  .hero-badge    { justify-content: center; }
  .hero-name     { align-items: center; }
  .hero-title    { justify-content: center; }
  .hero-meta     { justify-content: center; }
  .hero-actions  { justify-content: center; }
}

@media (max-width: 480px) {
  .hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-first  { font-size: clamp(2.5rem, 14vw, 4rem); }
  .hero-middle { font-size: clamp(1.4rem, 8vw,  2.2rem); }
  .hero-last   { font-size: clamp(3rem, 18vw, 5.5rem); }

  .hero-photo-wrap { width: 220px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn { justify-content: center; }
}

/* ── SKILLS GRID: single col on small screens ────────────── */
@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* ── STATS STRIP ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .stats-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .stat-divider { display: none; }
  .stat-item { min-width: 40%; text-align: center; }
}

/* ── PAGE HERO (Work / Projects / Contact headers) ───────── */
@media (max-width: 768px) {
  .page-hero {
    padding: calc(var(--nav-h) + 2.5rem) 1.25rem 2.5rem;
    text-align: center;
  }
  .page-title  { font-size: clamp(1.8rem, 8vw, 3rem); }
  .page-subtitle { font-size: 1rem; }
  .page-num { font-size: 0.65rem; }
}

/* ── WORK — TIMELINE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .timeline { padding-left: 0; }

  .tl-item {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 0.75rem;
  }
  .tl-dot { display: none; }

  .tl-card-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .tl-right {
    text-align: left;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
  .tl-card { padding: 1.25rem; }
  .tl-points { padding-left: 1rem; }
}

/* ── WORK — EDUCATION & CERTS ────────────────────────────── */
@media (max-width: 600px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .cert-item {
    flex-direction: column;
    gap: 0.25rem;
  }
  .cert-date { font-size: 0.75rem; }
}

/* ── PROJECTS — PROJECT GRID ─────────────────────────────── */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .internal-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CONTACT ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-heading { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .contact-form-wrap { padding: 1.5rem 1.25rem; }
  .contact-social { flex-direction: column; }
  .social-btn { justify-content: center; }
  .form-input { font-size: 1rem; } /* prevents iOS zoom on focus */
}

/* ── FOOTER ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-left  { flex-direction: column; align-items: center; gap: 0.5rem; }
  .footer-right { justify-content: center; }
}

/* ── SECTION PADDING ─────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 4rem 1.25rem; }
  .section-inner { padding: 0; }
  .section-header { gap: 0.75rem; }
  .section-title { font-size: clamp(1rem, 4vw, 1.4rem); }
}

/* ── INCOMING SECTION ────────────────────────────────────── */
@media (max-width: 480px) {
  .incoming-inner { padding: 2rem 1.25rem; }
  .incoming-headline { font-size: 1.3rem; }
  .incoming-sub { font-size: 0.9rem; }
}

/* ── PROJECTS INCOMING (page-hero context) ───────────────── */
@media (max-width: 768px) {
  .projects-incoming { margin-top: 3rem; }
}