/* ============================================
   AUTUMN PORTFOLIO — STYLE SYSTEM
   ============================================ */

:root {
  /* Autumn Palette */
  --clr-cream:       #faf3e8;
  --clr-parchment:   #f5e6cc;
  --clr-sand:        #e8d5b5;
  --clr-caramel:     #c9956b;
  --clr-amber:       #d4873f;
  --clr-rust:        #b85c38;
  --clr-sienna:      #a0452a;
  --clr-mahogany:    #6b2d1a;
  --clr-espresso:    #3b1a0e;
  --clr-bark:        #2a1208;
  --clr-olive:       #6b7c3e;
  --clr-sage:        #8a9a5b;
  --clr-gold:        #d4a745;
  --clr-copper:      #c87941;

  /* Semantic Colors */
  --bg-primary:      var(--clr-cream);
  --bg-secondary:    var(--clr-parchment);
  --bg-accent:       var(--clr-sand);
  --text-primary:    var(--clr-espresso);
  --text-secondary:  #6b4c3a;
  --text-muted:      #9c7e68;
  --accent:          var(--clr-rust);
  --accent-hover:    var(--clr-sienna);
  --accent-light:    var(--clr-caramel);
  --highlight:       var(--clr-gold);

  /* Typography */
  --ff-heading:  'DM Serif Display', 'Playfair Display', Georgia, serif;
  --ff-body:     'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 12vh, 140px);
  --container:   min(1200px, 90vw);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- RESET & BASE ---- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--clr-rust);
  color: var(--clr-cream);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---- REVEAL ANIMATION ---- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- FLOATING LEAVES ---- */

.leaves-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0;
  will-change: transform, opacity;
}

.leaf::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0 70% 0 70%;
  background: var(--leaf-color, var(--clr-amber));
}

@keyframes leafFall {
  0%   { opacity: 0; transform: translateY(-20px) rotate(0deg) scale(0.6); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(100vh) rotate(720deg) scale(0.3); }
}

/* ---- NAVIGATION ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 5vw;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}

.nav.scrolled {
  background: rgba(250, 243, 232, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(59, 26, 14, 0.08);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-logo .dot {
  color: var(--accent);
  font-size: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--clr-cream) !important;
  padding: 9px 22px !important;
  border-radius: 50px;
  transition: background 0.3s, transform 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(250, 243, 232, 0.98);
  backdrop-filter: blur(16px);
  padding: 2rem 5vw;
  z-index: 99;
  transform: translateY(-110%);
  transition: transform 0.5s var(--ease-out-expo);
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu a {
  display: block;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--clr-sand);
}

/* ---- HERO ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--clr-amber);
  top: -15%;
  right: -10%;
  animation: floatShape 18s ease-in-out infinite;
}

.shape-2 {
  width: 450px;
  height: 450px;
  background: var(--clr-rust);
  bottom: -10%;
  left: -8%;
  animation: floatShape 22s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--clr-gold);
  top: 40%;
  left: 50%;
  animation: floatShape 15s ease-in-out infinite 3s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.05); }
  66%      { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
}

.hero-greeting {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation-delay: 0.2s;
}

.hero-name {
  font-family: var(--ff-heading);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-name .line { display: block; }

.hero-name .accent {
  color: var(--accent);
  font-size: 1.2em;
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tagline-role {
  font-weight: 600;
  color: var(--text-primary);
}

.tagline-sep { color: var(--accent-light); }

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.35s var(--ease-out-expo);
}

.btn-primary {
  background: var(--accent);
  color: var(--clr-cream);
  box-shadow: 0 4px 20px rgba(184, 92, 56, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184, 92, 56, 0.35);
}

.btn-ghost {
  border: 2px solid var(--clr-sand);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ---- SECTIONS COMMON ---- */

.section {
  padding: var(--section-pad) 5vw;
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.label-num {
  font-family: var(--ff-heading);
  font-size: 1rem;
  color: var(--accent);
}

.label-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.label-line {
  flex: 1;
  height: 1px;
  background: var(--clr-sand);
}

/* ---- ABOUT SECTION ---- */

.about { background: var(--bg-primary); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clr-sand), var(--clr-caramel));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.avatar-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--clr-sand), var(--clr-parchment));
  border-radius: 16px;
}

.avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-rust), var(--clr-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(184, 92, 56, 0.3);
  z-index: 1;
}

.avatar-initials {
  font-family: var(--ff-heading);
  font-size: 2.8rem;
  color: var(--clr-cream);
  letter-spacing: 2px;
}

.avatar-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--clr-caramel);
  opacity: 0.4;
  animation: avatarPulse 3s ease-in-out infinite;
}

.avatar-ring-1 {
  width: 160px;
  height: 160px;
  animation-delay: 0s;
}

.avatar-ring-2 {
  width: 200px;
  height: 200px;
  animation-delay: 1.5s;
}

.avatar-dots span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-gold);
  opacity: 0.6;
}

.avatar-dots span:nth-child(1) { top: 20%; left: 15%; }
.avatar-dots span:nth-child(2) { top: 15%; right: 20%; }
.avatar-dots span:nth-child(3) { bottom: 20%; left: 20%; }
.avatar-dots span:nth-child(4) { bottom: 15%; right: 15%; }

@keyframes avatarPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.2; }
}

.frame-accent {
  position: absolute;
  inset: -8px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  z-index: -1;
  transform: rotate(2deg);
}

.about-text h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.about-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-sand);
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--ff-heading);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
}

.stat-plus {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ---- EXPERIENCE / TIMELINE ---- */

.experience {
  background: var(--bg-secondary);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--clr-sand));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--accent);
  z-index: 1;
  transition: background 0.3s;
}

.timeline-item:hover .timeline-marker { background: var(--accent); }

.timeline-card {
  background: var(--bg-primary);
  border: 1px solid var(--clr-sand);
  border-radius: 14px;
  padding: 2rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s, background-color 0.4s;
  position: relative;
  overflow: hidden;
}

.timeline-logo {
  position: absolute;
  bottom: 5px;
  right: 20px;
  width: 240px;
  height: auto;
  opacity: 0.1;
  filter: grayscale(100%);
  transition: opacity 0.4s, filter 0.4s, transform 0.4s var(--ease-out-expo), bottom 0.4s var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
}

.timeline-card:hover .timeline-logo {
  opacity: 0.22;
  filter: grayscale(0%);
  bottom: 15px;
  transform: scale(1.1);
}

.timeline-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(59, 26, 14, 0.08);
}

.timeline-card > *:not(.timeline-logo) {
  position: relative;
  z-index: 1;
}

.timeline-period {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.timeline-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.timeline-card h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.timeline-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-tags span {
  background: var(--bg-accent);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ---- SKILLS SECTION ---- */

.skills { background: var(--bg-primary); }

.skills-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skill-category {
  background: var(--bg-secondary);
  border: 1px solid var(--clr-sand);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(59, 26, 14, 0.08);
}

.skill-category h3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.skill-category h3 svg { color: var(--accent); }

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--clr-sand);
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: default;
  overflow: hidden;
  transition: all 0.35s var(--ease-out-expo);
}

.pill::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--clr-amber), var(--clr-rust));
  border-radius: 0 0 25px 25px;
  transition: width 0.6s var(--ease-out-expo);
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.pill:hover::before {
  width: 100%;
}

/* ---- PROJECTS SECTION ---- */

.projects { background: var(--bg-secondary); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-primary);
  border: 1px solid var(--clr-sand);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(59, 26, 14, 0.1);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clr-sand), var(--clr-parchment));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.6s var(--ease-out-expo);
}

.project-card:hover .thumb-placeholder { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(59, 26, 14, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.4s;
}

.project-card:hover .project-overlay { opacity: 1; }

.overlay-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-out-back), background 0.3s;
}

.project-card:hover .overlay-link { transform: translateY(0); }
.overlay-link:hover { background: var(--accent); color: var(--clr-cream); }

.project-info { padding: 1.5rem 1.8rem 2rem; }

.project-type {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-info h3 {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  margin: 0.4rem 0 0.6rem;
}

.project-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-stack span {
  background: var(--bg-accent);
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ---- CONTACT SECTION ---- */

.contact { background: var(--bg-primary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.contact-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.contact-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color 0.3s;
}

.contact-link svg { color: var(--accent); flex-shrink: 0; }
.contact-link:hover { color: var(--accent); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--clr-sand);
  border-radius: 12px;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.12);
}

.form-group label {
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.25s var(--ease-out-expo);
  background: var(--bg-secondary);
  padding: 0 6px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -9px;
  font-size: 0.75rem;
  color: var(--accent);
}

.btn-submit {
  align-self: flex-start;
  gap: 10px;
}

.btn-submit svg {
  transition: transform 0.3s;
}

.btn-submit:hover svg {
  transform: translate(3px, -3px);
}

/* ---- FOOTER ---- */

.footer {
  background: var(--clr-espresso);
  padding: 2rem 5vw;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(250, 243, 232, 0.5);
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-socials a {
  color: rgba(250, 243, 232, 0.5);
  transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
  color: var(--clr-cream);
  transform: translateY(-2px);
}

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250, 243, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 243, 232, 0.5);
  transition: all 0.3s;
}

.back-to-top:hover {
  border-color: var(--clr-cream);
  color: var(--clr-cream);
  transform: translateY(-2px);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image { max-width: 350px; margin: 0 auto; }

  .skills-mosaic { grid-template-columns: 1fr; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-stats { justify-content: center; }
}

@media (max-width: 600px) {
  .hero-name {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .hero-tagline { flex-direction: column; gap: 0.2rem; }

  .timeline { padding-left: 28px; }
  .timeline-marker { left: -28px; width: 12px; height: 12px; }
  .timeline::before { left: 5px; }
}
