/* ============================================================
   PORTFOLIO STYLES — Kelvin Dumas
   ============================================================ */

/* ---- Reset & Variables ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --text: #f5f0e8;
  --accent: #e8ff47;
  --subtle: #2a2a2a;
  --muted: #666;
  --red: #ff4444;
  --blue: #44aaff;
  --pink: #ff44ff;
  --green: #44ffaa;
}

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Bricolage Grotesque', sans-serif;
  overflow: hidden;
  position: relative;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
}


/* ============================================================
   HERO PAGE
   ============================================================ */
.hero-page {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding: 2rem;
}

/* Subtitle / terminal */
.subtitle {
  font-family: 'Space Mono', monospace;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  min-height: 1.3em;
}

.subtitle .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
}

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

.subtitle .cursor.blink {
  animation: blink .6s step-end infinite;
}

/* Name letters */
.name-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-wrap: nowrap;
  min-height: 120px;
  overflow: visible;
}

.letter {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  display: inline-block;
  opacity: 0;
  color: var(--text);
  white-space: pre;
}

.letter.wrong { color: var(--red); }
.letter.correct-final { color: var(--accent); }

/* Bio */
.bio {
  max-width: 580px;
  margin-top: 1.5rem;
  opacity: 0;
}

.bio p {
  font-family: 'Space Mono', monospace;
  font-size: .82rem;
  line-height: 1.8;
  color: #999;
}

.bio .hl { color: var(--text); font-weight: 700; }
.bio .ac { color: var(--accent); }

.bio-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1rem;
  transform: scaleX(0);
  transform-origin: left;
}

/* Tagline */
.tagline {
  font-family: 'Space Mono', monospace;
  font-size: .9rem;
  color: var(--muted);
  margin-top: 2rem;
  opacity: 0;
  letter-spacing: 1px;
}

.tagline span { color: var(--accent); }

/* Corner labels */
.corner-label {
  position: fixed;
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 15;
}

.corner-label.top-left { top: 2rem; left: 2rem; }
.corner-label.top-right { top: 2rem; right: 2rem; }

/* Bottom deco line */
.deco-line {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 15;
}

/* Bottom bar buttons */
.bottom-bar {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
}

.btn {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  color: var(--muted);
  background: none;
  border: 1px solid var(--subtle);
  padding: .5rem 1rem;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transition: all .3s;
}

.btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ============================================================
   CHARACTER
   ============================================================ */
/* overflow:visible is CRITICAL — lets legs dangle below container when sitting */
.char-container {
  position: fixed;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  will-change: transform, left, top;
  overflow: visible !important;
}

.char-container svg {
  display: block;
  overflow: visible !important;
}

.char-container.flip svg {
  transform: scaleX(-1);
}


/* ============================================================
   EXPLOSION / TRANSITION EFFECTS
   ============================================================ */
.explosion-particle {
  position: fixed;
  border-radius: 2px;
  pointer-events: none;
  z-index: 100;
}

.shockwave {
  position: fixed;
  border-radius: 50%;
  border: 2px solid var(--accent);
  pointer-events: none;
  z-index: 99;
}


/* ============================================================
   WORK PAGE
   ============================================================ */
.work-page {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
}

.work-page::-webkit-scrollbar { width: 4px; }
.work-page::-webkit-scrollbar-thumb { background: var(--subtle); border-radius: 2px; }

/* Navigation */
.work-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--subtle);
  padding: 1rem 2rem 0;
  display: flex;
  align-items: flex-end;
}

.nav-tab {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  padding: .6rem 1.2rem;
  cursor: pointer;
  position: relative;
  transition: color .3s;
}

.nav-tab:hover { color: var(--text); }
.nav-tab.active { color: var(--accent); }

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.nav-right {
  margin-left: auto;
  padding-bottom: .4rem;
}

.resume-btn {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: .45rem .9rem;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all .3s;
  font-weight: 700;
}

.resume-btn:hover {
  background: var(--text);
  transform: translateY(-1px);
}

/* Back button */
.back-btn {
  position: fixed;
  top: 3.2rem;
  left: 2rem;
  z-index: 35;
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  color: var(--muted);
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--subtle);
  padding: .35rem .8rem;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all .3s;
  opacity: 0;
  pointer-events: none;
}

.back-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Tab content */
.tab-content {
  display: none;
  padding: 2rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tab-content.active { display: block; }

/* Section headers */
.projects-header,
.exp-header {
  text-align: center;
  padding: 1rem 0 2rem;
  opacity: 0;
}

.projects-header h2,
.exp-header h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.projects-header h2 .dot,
.exp-header h2 .dot { color: var(--accent); }

.projects-header p,
.exp-header p {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  color: var(--muted);
  margin-top: .3rem;
  letter-spacing: 2px;
}


/* ============================================================
   PROJECT CARDS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
}

.card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  padding-top: 60px;
}

/* Dangling string */
.card-string { width: 2px; height: 60px; position: relative; }
.card-string .string-line { width: 2px; height: 100%; background: linear-gradient(to bottom, var(--accent), var(--muted)); }
.card-string .pin { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px rgba(232,255,71,.4); }
.card-string .knot { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; background: var(--muted); border-radius: 50%; }

/* Card */
.project-card {
  width: 100%;
  max-width: 360px;
  background: #111;
  border: 1px solid var(--subtle);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: border-color .3s;
}

.project-card:hover { border-color: var(--accent); }

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, var(--accent));
}

.card-top { padding: 1.5rem 1.5rem 1rem; }

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  background: var(--card-accent, var(--accent));
  color: var(--bg);
}

.card-title { font-weight: 800; font-size: 1.3rem; margin-bottom: .3rem; }
.card-subtitle { font-family: 'Space Mono', monospace; font-size: .7rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.card-desc {
  font-family: 'Space Mono', monospace;
  font-size: .78rem;
  line-height: 1.6;
  color: #888;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.card-footer {
  padding: .8rem 1.5rem;
  border-top: 1px solid var(--subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.see-details-btn {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s;
}

.see-details-btn:hover { gap: 10px; }
.see-details-btn .arrow { transition: transform .3s; }
.see-details-btn.open .arrow { transform: rotate(90deg); }

.card-status {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  padding: .2rem .5rem;
  border-radius: 20px;
  border: 1px solid;
  letter-spacing: 1px;
}

.card-status.live { color: var(--green); border-color: var(--green); }
.card-status.building { color: var(--accent); border-color: var(--accent); }
.card-status.shipped { color: var(--blue); border-color: var(--blue); }

/* Swing animation */
@keyframes gentleSwing {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}

.card-swing { transform-origin: top center; animation: gentleSwing 3s ease-in-out infinite; }
.card-swing:nth-child(2n) { animation-delay: -1s; animation-duration: 3.5s; }
.card-swing:nth-child(3n) { animation-delay: -.5s; animation-duration: 2.8s; }


/* ============================================================
   PROJECT MODAL
   ============================================================ */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.project-modal-overlay.open { display: flex; }

.project-modal {
  background: #111;
  border: 1px solid var(--subtle);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(.92);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}

.project-modal-overlay.open .project-modal {
  transform: scale(1);
  opacity: 1;
}

.project-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--modal-accent, var(--accent));
  border-radius: 16px 16px 0 0;
}

.project-modal::-webkit-scrollbar { width: 4px; }
.project-modal::-webkit-scrollbar-thumb { background: var(--subtle); border-radius: 2px; }

.pm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: var(--muted);
  background: rgba(10, 10, 10, .6);
  border: 1px solid var(--subtle);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  z-index: 2;
}

.pm-close:hover { color: var(--accent); border-color: var(--accent); }

.pm-header { padding: 2rem 2rem 1rem; }

.pm-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--bg);
}

.pm-title { font-weight: 800; font-size: 1.6rem; margin-bottom: .3rem; }
.pm-subtitle { font-family: 'Space Mono', monospace; font-size: .7rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.pm-status {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: .6rem;
  padding: .2rem .5rem;
  border-radius: 20px;
  border: 1px solid;
  letter-spacing: 1px;
  margin-top: .6rem;
}

.pm-desc {
  font-family: 'Space Mono', monospace;
  font-size: .8rem;
  line-height: 1.7;
  color: #999;
  padding: 0 2rem 1.5rem;
}

.pm-divider { height: 1px; background: var(--subtle); margin: 0 2rem; }
.pm-section { padding: 1.2rem 2rem; }
.pm-section:last-child { padding-bottom: 2rem; }

/* Shared detail styles */
.detail-section { margin-bottom: 1.2rem; }
.detail-section:last-child { margin-bottom: 0; }

.detail-label {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.detail-text {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  line-height: 1.7;
  color: #999;
}

.tech-stack { display: flex; flex-wrap: wrap; gap: 6px; }

.tech-tag {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  padding: .25rem .6rem;
  border-radius: 4px;
  background: rgba(232, 255, 71, .08);
  color: var(--accent);
  border: 1px solid rgba(232, 255, 71, .15);
}


/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--subtle), transparent);
}

.timeline-item { position: relative; padding-left: 60px; margin-bottom: 2rem; opacity: 0; }

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
  z-index: 2;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .5;
}

.timeline-item:hover .timeline-dot::after { opacity: 1; }

.timeline-item.current .timeline-dot {
  border-color: var(--green);
  box-shadow: 0 0 12px rgba(68, 255, 170, .3);
}

.timeline-item.current .timeline-dot::after { background: var(--green); opacity: 1; }

.timeline-date {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.timeline-date .current-badge {
  font-size: .6rem;
  color: var(--green);
  border: 1px solid var(--green);
  padding: .1rem .4rem;
  border-radius: 10px;
}

.timeline-card {
  background: #111;
  border: 1px solid var(--subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .3s;
}

.timeline-card:hover { border-color: var(--accent); }

.timeline-card-header {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tc-role { font-weight: 800; font-size: 1.1rem; margin-bottom: .2rem; }
.tc-company { font-family: 'Space Mono', monospace; font-size: .8rem; color: var(--accent); }
.tc-location { font-family: 'Space Mono', monospace; font-size: .7rem; color: var(--muted); margin-top: .2rem; }

.exp-toggle {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: .2rem;
  transition: all .3s;
  flex-shrink: 0;
  margin-top: .2rem;
}

.exp-toggle .exp-arrow { display: inline-block; transition: transform .3s; }
.exp-toggle.open .exp-arrow { transform: rotate(90deg); }

.timeline-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4, 0, .2, 1);
}

.timeline-card-body.open { max-height: 800px; }

.timeline-card-body-inner {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--subtle);
}

.exp-highlights { list-style: none; padding: .8rem 0 0; margin: 0; }

.exp-highlights li {
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  line-height: 1.7;
  color: #999;
  padding-left: 1rem;
  position: relative;
  margin-bottom: .6rem;
}

.exp-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.exp-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }


/* ============================================================
   RESUME OVERLAY
   ============================================================ */
.resume-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(10, 10, 10, .95);
  backdrop-filter: blur(20px);
  overflow-y: auto;
}

.resume-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 210;
  font-family: 'Space Mono', monospace;
  font-size: .75rem;
  color: var(--muted);
  background: rgba(10, 10, 10, .8);
  border: 1px solid var(--subtle);
  padding: .5rem 1rem;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all .3s;
}

.resume-close:hover { color: var(--accent); border-color: var(--accent); }

.resume-inner {
  max-width: 800px;
  margin: 3rem auto;
  padding: 3rem;
  background: #111;
  border: 1px solid var(--subtle);
  border-radius: 12px;
  position: relative;
}

.resume-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 12px 12px 0 0;
}

.r-name { font-weight: 800; font-size: 2rem; text-align: center; margin-bottom: .3rem; }
.r-title { font-family: 'Space Mono', monospace; font-size: .8rem; color: var(--accent); text-align: center; letter-spacing: 2px; margin-bottom: .4rem; }

.r-contact { font-family: 'Space Mono', monospace; font-size: .7rem; color: var(--muted); text-align: center; margin-bottom: 1.2rem; }
.r-contact a { color: var(--muted); text-decoration: none; }
.r-contact a:hover { color: var(--accent); }

.r-actions { text-align: center; margin-bottom: 2rem; }

.r-download {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: .5rem 1.2rem;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 700;
  transition: all .3s;
}

.r-download:hover { background: var(--text); transform: translateY(-1px); }

.r-section { margin-bottom: 2rem; }

.r-section-title {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--subtle);
  margin-bottom: 1rem;
}

.r-skills { display: flex; flex-wrap: wrap; gap: 6px; }

.r-skill-tag {
  font-family: 'Space Mono', monospace;
  font-size: .65rem;
  padding: .3rem .6rem;
  border-radius: 4px;
  background: rgba(232, 255, 71, .06);
  color: #bbb;
  border: 1px solid rgba(232, 255, 71, .1);
}

.r-job { margin-bottom: 1.5rem; }
.r-job-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; margin-bottom: .4rem; }
.r-job-role { font-weight: 800; font-size: .95rem; }
.r-job-date { font-family: 'Space Mono', monospace; font-size: .7rem; color: var(--muted); }
.r-job-company { font-family: 'Space Mono', monospace; font-size: .8rem; color: var(--accent); margin-bottom: .5rem; }

.r-job-highlights { list-style: none; padding: 0; }

.r-job-highlights li {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  line-height: 1.7;
  color: #999;
  padding-left: 1rem;
  position: relative;
  margin-bottom: .4rem;
}

.r-job-highlights li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }

.r-edu, .r-cert, .r-activity { font-family: 'Space Mono', monospace; font-size: .8rem; color: #bbb; margin-bottom: .4rem; }
.r-edu span, .r-cert span, .r-activity span { color: var(--text); font-weight: 700; }


/* ============================================================
   PROJECTS GUY (corner mascot)
   ============================================================ */
.projects-guy {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 55;
  opacity: 0;
  cursor: pointer;
  display: none;
  transition: transform .3s;
}

.projects-guy:hover { transform: scale(1.1) rotate(-5deg); }

.guy-bubble {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-family: 'Space Mono', monospace;
  font-size: .6rem;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s;
}

.guy-bubble::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--accent);
}

.projects-guy:hover .guy-bubble { opacity: 1; }


/* ============================================================
   ACCESSIBILITY & RESPONSIVE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .letter, .subtitle, .tagline, .bio, .btn, .corner-label, .char-container {
    opacity: 1 !important;
    transform: none !important;
  }
  .deco-line, .bio-divider { transform: scaleX(1) !important; }
  .card-wrapper, .timeline-item { opacity: 1 !important; }
}

@media (max-width: 700px) {
  .projects-grid { grid-template-columns: 1fr; }
  .card-wrapper { padding-top: 40px; }
  .card-string { height: 40px; }
  .timeline-item { padding-left: 50px; }
  .resume-inner { margin: 1rem; padding: 1.5rem; }
  .work-nav { padding: 1rem 1rem 0; }
  .nav-tab { padding: .6rem .8rem; font-size: .65rem; }
}
