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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* ============================
   BACKGROUND
   ============================ */
.bg-base {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  display: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(75,85,99,0.06) 5px, rgba(75,85,99,0.06) 6px, transparent 6px, transparent 15px),
    repeating-linear-gradient(90deg, transparent, transparent 5px, rgba(75,85,99,0.06) 5px, rgba(75,85,99,0.06) 6px, transparent 6px, transparent 15px),
    repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(107,114,128,0.04) 10px, rgba(107,114,128,0.04) 11px, transparent 11px, transparent 30px),
    repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(107,114,128,0.04) 10px, rgba(107,114,128,0.04) 11px, transparent 11px, transparent 30px);
}

/* ============================
   LAYOUT
   ============================ */
main, nav, footer { position: relative; z-index: 1; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

/* ============================
   NAVIGATION
   ============================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

#nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
}

.nav-links a:hover { color: #1a1a1a; }
.nav-links a.active-nav { color: #1a1a1a; font-weight: 600; }

.nav-cta {
  background: #1a1a1a;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, opacity 0.2s !important;
}

.nav-cta:hover { background: #333 !important; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a1a1a;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.nav-mobile-menu.open { display: flex; }

.mobile-link {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.15s;
}

.mobile-link:hover { background: rgba(0,0,0,0.03); }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #1a1a1a;
  color: #ffffff;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid rgba(0,0,0,0.2);
}

.btn-secondary:hover {
  border-color: #1a1a1a;
  transform: translateY(-1px);
}

/* ============================
   SECTION LABELS & TITLES
   ============================ */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 3rem;
}

/* ============================
   HERO
   ============================ */
.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34,197,94,0.25); }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,0.1); }
}

.hero-name {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.hero-role {
  font-size: 1rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.01em;
  margin-bottom: 2.5rem;
}

.hero-headline {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Marker highlight animation */
.marker-wrap {
  position: relative;
  display: inline-block;
}

.marker-bg {
  position: absolute;
  inset: 0.05em -0.08em -0.05em -0.08em;
  background: #facc15;
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 0;
  border-radius: 2px;
  animation: markerSwipe 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

.marker-text {
  position: relative;
  z-index: 1;
  color: #1a1a1a;
  animation: markerTextColor 0.65s ease 0.5s both;
}

@keyframes markerSwipe {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes markerTextColor {
  0%, 55% { color: #1a1a1a; }
  100%     { color: #171717; }
}

.hero-sub {
  font-size: 1.05rem;
  color: #555;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-sub-2 {
  font-size: 0.95rem;
  color: #888;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-quote {
  font-size: 0.95rem;
  color: #777;
  border-left: 2px solid rgba(0,0,0,0.12);
  padding-left: 1rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================
   STATS
   ============================ */
.stats-section {
  padding: 40px 0 60px;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a1a1a;
}

.stat-label {
  font-size: 0.78rem;
  color: #888;
  font-weight: 500;
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* ============================
   ABOUT
   ============================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.about-main p {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-main p:last-child { margin-bottom: 0; }

.about-open {
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
  border-left: 2px solid rgba(0,0,0,0.15);
  padding-left: 0.9rem;
  margin-top: 0.5rem;
}

.about-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-card.visible { opacity: 1; transform: translateY(0); }

.about-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.9rem;
}

.about-card li {
  font-size: 0.9rem;
  color: #444;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about-card li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1a1a1a;
  flex-shrink: 0;
}

.about-card li:last-child { border-bottom: none; }

/* ============================
   SKILLS
   ============================ */
.skills-section { background: transparent; }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.skill-group {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.skill-group.visible { opacity: 1; transform: translateY(0); }

.skill-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 1rem;
}

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

.skill-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: #444;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  transition: background 0.15s, border-color 0.15s;
}

.skill-tag:hover {
  background: rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.12);
}

/* ============================
   PROJECTS
   ============================ */
.project-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card.visible { opacity: 1; transform: translateY(0); }

.project-header { margin-bottom: 2rem; }

.project-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.project-index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #bbb;
}

.project-domain {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.project-client {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
}

.project-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.project-block {
  margin-bottom: 1.5rem;
}

.project-block h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.project-block p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.stack-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a1a1a;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
}

.project-flow {
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-flow h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1rem;
}

.flow-steps { display: flex; flex-direction: column; gap: 0; }

.flow-step {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative;
  padding-left: 1.25rem;
}

.flow-step:last-child { border-bottom: none; }

.flow-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ccc;
}

.flow-step span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.flow-step small {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 400;
}

.project-impact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.75rem;
}

.project-impact li {
  font-size: 0.88rem;
  color: #444;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.project-impact li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1a1a1a;
}

.project-impact li:last-child { border-bottom: none; }

/* ============================
   EXPERIENCE
   ============================ */
.experience-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.experience-card.visible { opacity: 1; transform: translateY(0); }

.exp-header {
  margin-bottom: 1.25rem;
}

.exp-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
}

.exp-meta {
  font-size: 0.82rem;
  color: #999;
  font-weight: 500;
}

.experience-card > p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.exp-block {
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 1.25rem;
}

.exp-block h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 0.5rem;
}

.exp-block p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
}

.exp-nda {
  font-size: 0.82rem;
  color: #aaa;
  font-style: italic;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* Education */
.education-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.education-card.visible { opacity: 1; transform: translateY(0); }

.education-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.edu-school {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.edu-meta {
  font-size: 0.82rem;
  color: #aaa;
  font-weight: 500;
  margin-bottom: 1rem;
}

.education-card > p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.75;
}

/* ============================
   CONTACT / CTA
   ============================ */
.contact-section { padding-bottom: 120px; }

.cta-box {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 24px;
  padding: 4rem;
  backdrop-filter: blur(10px);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta-box.visible { opacity: 1; transform: translateY(0); }

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.cta-body {
  font-size: 1rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto 1rem;
  line-height: 1.75;
}

.cta-sub {
  font-size: 0.9rem;
  color: #888;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-link {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-link:hover { color: #1a1a1a; }

.contact-sep { color: #ccc; font-size: 0.85rem; }

.cta-avail {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bbb;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 1.75rem 0;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-inner span {
  font-size: 0.8rem;
  color: #bbb;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: #bbb;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: #1a1a1a; }

/* ============================
   SCROLL REVEAL
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */

/* Tablet: 900px and below */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .project-body { grid-template-columns: 1fr; gap: 2rem; }
  .exp-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { min-width: 45%; }
}

/* Mobile: 640px and below */
@media (max-width: 640px) {
  /* Layout */
  .section { padding: 64px 0; }
  .container { padding: 0 1.25rem; }

  /* Nav */
  .nav-inner { height: 56px; padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  /* Hero */
  .hero-section { padding-top: 100px; padding-bottom: 60px; min-height: auto; }
  .hero-name { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero-role { font-size: 0.875rem; margin-bottom: 1.5rem; }
  .hero-headline { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-sub { font-size: 0.95rem; max-width: 100%; }
  .hero-quote { max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* Stats */
  .stats-grid { flex-direction: column; }
  .stat-item { min-width: 100%; padding: 1.25rem 1rem; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; gap: 0; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.8rem; max-width: 60%; text-align: right; }
  .stat-divider { display: none; }

  /* About */
  .about-card { padding: 1.25rem; }

  /* Skills */
  .skills-grid { grid-template-columns: 1fr; gap: 1rem; }
  .skill-group { padding: 1.25rem; border-radius: 12px; }

  /* Projects */
  .project-card { padding: 1.5rem; border-radius: 14px; margin-bottom: 1.25rem; }
  .project-header { margin-bottom: 1.25rem; }
  .project-title { font-size: 1.2rem; }
  .project-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-flow { padding: 1rem; }

  /* Experience */
  .experience-card { padding: 1.5rem; border-radius: 14px; }
  .exp-header h3 { font-size: 1.05rem; }
  .exp-grid { grid-template-columns: 1fr; gap: 1rem; margin: 1.25rem 0; }
  .exp-block { padding: 1rem; }

  /* Education */
  .education-card { padding: 1.5rem; border-radius: 14px; }

  /* CTA / Contact */
  .contact-section { padding-bottom: 80px; }
  .cta-box { padding: 2rem 1.25rem; border-radius: 16px; }
  .cta-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cta-body { font-size: 0.95rem; }
  .cta-sub { font-size: 0.875rem; margin-bottom: 2rem; }
  .cta-actions { flex-direction: column; gap: 0.75rem; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-contacts { flex-direction: column; gap: 0.35rem; }
  .contact-sep { display: none; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* Extra small: 380px and below */
@media (max-width: 380px) {
  .hero-name { font-size: 2.4rem; }
  .project-card { padding: 1.25rem; }
  .cta-box { padding: 1.75rem 1rem; }
}

