/* =============================================
   ANTONIO MACIAS LUPERCIO — RESUME WEBSITE
   PNW Earthy · Clean Modern · 2025
   ============================================= */

/* ---- VARIABLES ---- */
:root {
  --bg-primary:       #f5f2ec;
  --bg-secondary:     #ede8df;
  --bg-card:          #ffffff;
  --color-dark:       #2c2416;
  --color-dark-soft:  #3d3325;
  --color-green:      #5a7a5a;
  --color-green-mid:  #6d8f6d;
  --color-green-light:#93b893;
  --color-brown:      #8b7355;
  --color-brown-light:#b59a7a;
  --color-muted:      #6b5e4e;
  --color-muted-light:#9c8e7e;
  --color-border:     #ddd5c8;
  --color-white:      #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:  0 1px 4px rgba(44, 36, 22, 0.07);
  --shadow-md:  0 4px 20px rgba(44, 36, 22, 0.10);
  --shadow-lg:  0 10px 40px rgba(44, 36, 22, 0.13);

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  22px;

  --max-width:  1100px;
  --nav-height: 64px;
  --ease:       0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- UTILITIES ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 100px 0; }
.alt-bg  { background-color: var(--bg-secondary); }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}
.reveal-up    { transform: translateY(44px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.revealed     { opacity: 1 !important; transform: none !important; }

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header { margin-bottom: 56px; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.15;
}

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--ease), box-shadow var(--ease);
}
#navbar.scrolled {
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}
.nav-logo-dot { color: var(--color-green); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  position: relative;
  transition: color var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-green);
  transition: width var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-dark);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  padding-top: var(--nav-height);
}

/* Hero text — CSS animations (in-view at load) */
.hero-greeting {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.3s forwards;
}
.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--color-dark);
  margin-bottom: 22px;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.5s forwards;
}
.name-first { display: block; }
.name-last  { display: block; color: var(--color-green); }

.hero-role {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: var(--color-muted);
  margin-bottom: 20px;
  min-height: 1.8em;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.7s forwards;
}
.role-dash { color: var(--color-green); font-size: 1.3em; line-height: 1; }
.typing-cursor {
  color: var(--color-green);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

.hero-location {
  font-size: 0.85rem;
  color: var(--color-brown);
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: 0.06em;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.9s forwards;
}
.location-marker { color: var(--color-green); margin-right: 6px; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 1.1s forwards;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
}
.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}
.btn-primary:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--color-dark);
  border-color: rgba(44, 36, 22, 0.25);
}
.btn-ghost:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  transform: translateY(-2px);
}

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: heroFadeIn 0.7s ease 1.6s forwards;
}
.scroll-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  writing-mode: vertical-rl;
  font-weight: 500;
}
.scroll-line {
  width: 2.5px;
  height: 80px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.scroll-dot {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 14px;
  background: var(--color-green);
  border-radius: 3px;
  animation: scrollDown 1.6s ease-in-out infinite;
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}
.about-text p {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  line-height: 1.78;
}
.about-text .lead {
  font-size: 1.15rem;
  color: var(--color-dark-soft);
  font-weight: 400;
  line-height: 1.7;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.pill {
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-muted);
  animation: pillPulse 4s ease-in-out infinite;
}
.pill:nth-child(1) { animation-delay: 0s; }
.pill:nth-child(2) { animation-delay: 0.8s; }
.pill:nth-child(3) { animation-delay: 1.6s; }
.pill:nth-child(4) { animation-delay: 2.4s; }
.pill:nth-child(5) { animation-delay: 3.2s; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: box-shadow var(--ease), transform var(--ease);
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.45;
}

/* =============================================
   EDUCATION TIMELINE
   ============================================= */
.timeline {
  position: relative;
  max-width: 780px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--color-green), var(--color-border));
}
.timeline-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 22px;
  margin-bottom: 44px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
}
.timeline-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-green);
  border: 3px solid var(--bg-secondary);
  box-shadow: 0 0 0 2px var(--color-green);
  flex-shrink: 0;
}
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  transition: box-shadow var(--ease), transform var(--ease);
}
.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.timeline-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-green);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}
.timeline-card h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-brown);
  margin-bottom: 12px;
}
.timeline-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.68;
  margin-bottom: 16px;
}
.timeline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.timeline-pills span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(90, 122, 90, 0.09);
  color: var(--color-green);
  border-radius: 100px;
  border: 1px solid rgba(90, 122, 90, 0.2);
}

/* =============================================
   EXPERIENCE
   ============================================= */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.exp-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.exp-card--minor {
  grid-column: 1 / -1;
}
.exp-badge {
  display: inline-block;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  text-transform: uppercase;
}
.exp-badge--current  { background: var(--color-green); }
.exp-badge--past     { background: #a0503e; }

.exp-date--current {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

.exp-body { padding: 22px 24px; }

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.exp-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}
.exp-header h4 {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-brown);
}
.exp-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-muted-light);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
  flex-shrink: 0;
}
.exp-list { margin-bottom: 16px; }
.exp-list li {
  font-size: 0.875rem;
  color: var(--color-muted);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.55;
}
.exp-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-green-mid);
  font-size: 0.75rem;
  top: 1px;
}
.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.exp-skills span {
  font-size: 0.71rem;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(90, 122, 90, 0.08);
  color: var(--color-green);
  border-radius: 100px;
  border: 1px solid rgba(90, 122, 90, 0.18);
}
.exp-minor-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* =============================================
   SKILLS
   ============================================= */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.skills-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 28px;
}
.skill-bar-item { margin-bottom: 20px; }
.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark-soft);
  margin-bottom: 8px;
}
.skill-bar-header span:last-child {
  color: var(--color-green);
  font-weight: 600;
}
.skill-bar-track {
  height: 6px;
  background: var(--color-border);
  border-radius: 100px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-green), var(--color-green-light));
  border-radius: 100px;
  transition: width 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.core-comp-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.core-pill {
  display: block;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-green);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark-soft);
  transition: all var(--ease);
}
.core-pill:hover {
  background: rgba(90,122,90,0.05);
  border-left-color: var(--color-green-mid);
  transform: translateX(4px);
}

.skill-category { margin-bottom: 24px; }
.skill-category h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brown);
  margin-bottom: 10px;
}
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.skill-pill {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-dark-soft);
  transition: all var(--ease);
}
.skill-pill:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  background: rgba(90, 122, 90, 0.05);
  transform: translateY(-1px);
}

/* =============================================
   PROJECTS
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.project-card--hero { grid-column: 1 / -1; }
.project-card-inner { padding: 32px; }

.project-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-light);
  margin-bottom: 18px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--active {
  background: #52c472;
  box-shadow: 0 0 0 3px rgba(82, 196, 114, 0.22);
  animation: pulse 2s infinite;
}
.status-dot--done { background: var(--color-brown-light); }

.project-emoji {
  font-size: 2.8rem;
  margin-bottom: 14px;
  line-height: 1;
}
.project-card-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.project-card-inner h4 {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-brown);
  margin-bottom: 12px;
}
.project-card-inner p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.68;
  margin-bottom: 16px;
}
.project-detail-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}
.project-detail-row {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 6px;
  line-height: 1.5;
}
.project-detail-row:last-child { margin-bottom: 0; }
.project-detail-row strong { color: var(--color-dark-soft); }
.project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-pills span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(90, 122, 90, 0.09);
  color: var(--color-green);
  border-radius: 100px;
  border: 1px solid rgba(90, 122, 90, 0.22);
}

/* =============================================
   COURSEWORK
   ============================================= */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--ease);
}
.course-card:hover {
  border-color: var(--color-green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.course-code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-green);
  text-transform: uppercase;
}
.course-name {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-dark-soft);
  line-height: 1.4;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-content { max-width: 580px; }
.contact-intro {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--ease);
}
.contact-method:hover {
  border-color: var(--color-green);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted-light);
  margin-bottom: 3px;
}
.contact-value {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
}
.contact-language {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.contact-language em {
  color: var(--color-green);
  font-style: normal;
  font-weight: 600;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 40px 0;
  text-align: center;
}
.footer-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}
.footer-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}
.footer-credit {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
}

/* =============================================
   KEYFRAME ANIMATIONS
   ============================================= */
@keyframes pillPulse {
  0%, 100% { border-color: var(--color-border); color: var(--color-muted); }
  50%       { border-color: var(--color-green); color: var(--color-green); box-shadow: 0 0 0 3px rgba(90,122,90,0.12); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes scrollDown {
  0%   { top: -12px; opacity: 0; }
  30%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(82, 196, 114, 0.22); }
  50%       { box-shadow: 0 0 0 7px rgba(82, 196, 114, 0.06); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .skills-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-card--minor { grid-column: span 1; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card--hero { grid-column: span 1; }

  .course-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hide scroll indicator on tablet/mobile — buttons overlap it */
  .scroll-indicator { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }

  /* Mobile nav */
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(245, 242, 236, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 28px 2rem;
    gap: 22px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--color-border);
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-name { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .course-grid { grid-template-columns: 1fr; }

  .timeline::before { left: 15px; }
  .timeline-item { grid-template-columns: 34px 1fr; gap: 16px; }
}
