/* =============================================================
   Anne Krane — Styles
   ============================================================= */

/* --- Design Tokens --- */
:root {
  --bg: #FFF9F5;
  --bg-alt: #FFF1E8;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --coral: #E8734A;
  --coral-light: #FCEEE8;
  --teal: #3A8F85;
  --teal-light: #E6F5F3;
  --gold: #E8B44A;
  --gold-light: #FDF5E6;
  --navy: #2D4059;
  --forest: #1B5E45;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(45, 64, 89, 0.08);
  --shadow-hover: 0 8px 40px rgba(45, 64, 89, 0.14);
  --transition: 0.3s ease;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Caveat', cursive;
  --font-display: 'Fraunces', serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Utilities --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.caveat { font-family: var(--font-accent); }
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
}
.section-subtitle strong { color: var(--coral); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 115, 74, 0.3);
}
.btn-primary:hover {
  background: #d4623b;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 115, 74, 0.4);
}
.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 64, 89, 0.06);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(45, 64, 89, 0.08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-logo:hover { color: var(--navy); }
.nav-logo-first { color: var(--coral); }
.nav-logo-last { color: var(--forest); }
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--coral);
  background: var(--coral-light);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 50%, #FDE8DC 100%);
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}
.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: var(--coral);
  top: -150px;
  right: -100px;
}
.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--teal);
  bottom: -50px;
  left: -100px;
}
.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 40%;
  left: 30%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-greeting {
  font-size: 1.5rem;
  color: var(--coral);
  margin-bottom: 8px;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--forest);
  line-height: 1.05;
  margin-bottom: 12px;
}
.hero-name-first { color: var(--coral); }
.hero-tagline {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.hero-tagline strong { color: var(--navy); }
.hero-description {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.hero-social {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 115, 74, 0.3);
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-image-frame {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 12px 48px rgba(232, 115, 74, 0.18);
  background: var(--coral-light);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}
.hero-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--coral);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* --- Skills --- */
.skills-section { background: var(--white); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skill-card {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition);
  overflow: hidden;
  cursor: default;
  border: 1px solid transparent;
}
.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--coral-light);
}
.skill-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  transition: all var(--transition);
}
.skill-card:nth-child(1) .skill-icon,
.skill-card:nth-child(4) .skill-icon { background: var(--coral-light); color: var(--coral); }
.skill-card:nth-child(2) .skill-icon,
.skill-card:nth-child(5) .skill-icon { background: var(--teal-light); color: var(--teal); }
.skill-card:nth-child(3) .skill-icon,
.skill-card:nth-child(6) .skill-icon { background: var(--gold-light); color: var(--gold); }
.skill-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.skill-description {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Timeline --- */
.timeline-section { background: var(--bg); }
.timeline-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}
.legend-item::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.legend-education::before { background: var(--teal); }
.legend-experience::before { background: var(--coral); }
.legend-certification::before { background: var(--gold); }

.timeline-wrapper {
  position: relative;
  overflow-x: auto;
  padding: 20px 0 40px;
  -webkit-overflow-scrolling: touch;
}
.timeline-wrapper::-webkit-scrollbar { height: 6px; }
.timeline-wrapper::-webkit-scrollbar-track { background: var(--bg-alt); border-radius: 3px; }
.timeline-wrapper::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 3px; }

.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  min-width: max-content;
  padding: 0 40px;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--bg-alt);
  border-radius: 2px;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
  padding-top: 4px;
}
.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--teal);
  transition: all var(--transition);
  margin-bottom: 16px;
  flex-shrink: 0;
}
.timeline-node.type-education .timeline-dot { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.timeline-node.type-experience .timeline-dot { background: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.timeline-node.type-certification .timeline-dot { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }

.timeline-node:hover .timeline-dot,
.timeline-node.active .timeline-dot {
  transform: scale(1.5);
  box-shadow: 0 0 0 3px currentColor, 0 0 20px rgba(232, 115, 74, 0.3);
}
.timeline-node.active.type-education .timeline-dot { box-shadow: 0 0 0 3px var(--teal), 0 0 20px rgba(58, 143, 133, 0.3); }
.timeline-node.active.type-experience .timeline-dot { box-shadow: 0 0 0 3px var(--coral), 0 0 20px rgba(232, 115, 74, 0.3); }
.timeline-node.active.type-certification .timeline-dot { box-shadow: 0 0 0 3px var(--gold), 0 0 20px rgba(232, 180, 74, 0.3); }

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}
.timeline-node-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  line-height: 1.4;
  max-width: 120px;
}
.timeline-node.active .timeline-year { color: var(--navy); }
.timeline-node.active .timeline-node-title { color: var(--navy); font-weight: 600; }

.timeline-detail {
  margin-top: 32px;
  min-height: 120px;
}
.timeline-detail-hint {
  text-align: center;
  font-size: 1.3rem;
  color: var(--text-light);
}
.timeline-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.3s ease;
  max-width: 640px;
  margin: 0 auto;
}
.timeline-detail-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.timeline-detail-card .detail-subtitle {
  font-size: 1rem;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: 4px;
}
.timeline-detail-card .detail-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.timeline-detail-card .detail-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}
.timeline-detail-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.timeline-detail-type.type-education { background: var(--teal-light); color: var(--teal); }
.timeline-detail-type.type-experience { background: var(--coral-light); color: var(--coral); }
.timeline-detail-type.type-certification { background: var(--gold-light); color: var(--gold); }

/* --- Portfolio --- */
.portfolio-section { background: var(--white); }
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg);
  transition: all var(--transition);
}
.filter-btn:hover { color: var(--coral); background: var(--coral-light); }
.filter-btn.active { background: var(--coral); color: var(--white); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--coral-light);
}
.portfolio-card.hidden {
  display: none;
}
.portfolio-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-image img { transform: scale(1.05); }
.portfolio-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 64, 89, 0.35);
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-play { opacity: 1; }
.portfolio-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EDE7F6 0%, #F3E5F5 100%);
}
.portfolio-placeholder-icon {
  color: #6B48B8;
  opacity: 0.4;
}
.portfolio-play svg {
  width: 56px;
  height: 56px;
  fill: var(--white);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.portfolio-body { padding: 24px; }
.portfolio-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.portfolio-category.cat-media { background: var(--teal-light); color: var(--teal); }
.portfolio-category.cat-lessons { background: var(--coral-light); color: var(--coral); }
.portfolio-category.cat-awards { background: var(--gold-light); color: var(--gold); }
.portfolio-category.cat-publications { background: #EDE7F6; color: #6B48B8; }
.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.portfolio-card-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}
.portfolio-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.portfolio-link::after {
  content: '\2192';
  transition: transform var(--transition);
}
.portfolio-card:hover .portfolio-link::after { transform: translateX(4px); }

/* --- Testimonials --- */
.testimonials-section { background: var(--bg); }
.testimonials-carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}
.testimonial-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-inner::before {
  content: '\201C';
  font-family: var(--font-accent);
  font-size: 5rem;
  color: var(--coral-light);
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
}
.testimonial-quote {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--coral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--coral);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.testimonial-title {
  font-size: 0.85rem;
  color: var(--text-light);
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.carousel-btn:hover { background: var(--coral); color: var(--white); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.carousel-dot.active { background: var(--coral); transform: scale(1.2); }

/* --- Contact --- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral-light);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
}
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.contact-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--bg-alt);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
}
.btn-submit { width: 100%; margin-top: 8px; }
.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-social { display: flex; gap: 12px; }
.footer .social-link {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
.footer .social-link:hover {
  background: var(--coral);
  color: var(--white);
}
.footer-copy { font-size: 0.85rem; }
.footer-credit { font-size: 0.78rem; }
.footer-credit a { color: var(--coral); }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .hero-image-frame { width: 280px; height: 280px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-link { padding: 12px 20px; font-size: 1rem; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content { order: 2; }
  .hero-image-wrap { order: 1; }
  .hero-description { margin: 0 auto 24px; }
  .hero-social { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-image-frame { width: 240px; height: 240px; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }

  .skills-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .timeline-node { width: 110px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.4rem; }
  .hero-tagline { font-size: 1.3rem; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat { padding: 12px 20px; }
  .portfolio-filters { gap: 6px; }
  .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
}
