  :root {
    --bg: #080808; --card: #141414;
    --border: rgba(204,0,0,0.18);
    --red: #cc0000; --red2: #ff2222;
    --gold: #e8d5b0; --text: #f0eaea; /* Brightened base text */
    --muted: #a89f9f; /* Brightened muted text for better contrast */
    --mono: 'Share Tech Mono', monospace;
    --display: 'Bebas Neue', sans-serif;
    --body: 'DM Sans', sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--text); font-family: var(--body); overflow-x: hidden; cursor: none; }

  /* CURSOR */
  #cur { position: fixed; width: 12px; height: 12px; background: #cc0000; border-radius: 50%; pointer-events: none; z-index: 9999; top: -50px; left: -50px; transform: translate(-50%,-50%); }
  #cur-ring { position: fixed; width: 36px; height: 36px; border: 1.5px solid #cc0000; border-radius: 50%; pointer-events: none; z-index: 9998; top: -50px; left: -50px; transform: translate(-50%,-50%); opacity: 0.5; }

  /* GRID BG */
  .grid-bg {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image:
      linear-gradient(rgba(204,0,0,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(204,0,0,0.04) 1px, transparent 1px),
      linear-gradient(rgba(204,0,0,0.015) 1px, transparent 1px),
      linear-gradient(90deg, rgba(204,0,0,0.015) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: flex-end;
    padding: 20px 48px; border-bottom: 1px solid var(--border);
    background: rgba(8,8,8,0.9); backdrop-filter: blur(16px);
  }
  .nav-links { display: flex; gap: 36px; list-style: none; flex-wrap: wrap; }
  .nav-links a {
    font-family: var(--mono); font-size: 14px; color: var(--muted);
    text-decoration: none; letter-spacing: 0.05em; text-transform: uppercase;
    transition: color 0.2s; position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 1px; background: var(--red); transform: scaleX(0); transition: transform 0.25s;
  }
  .nav-links a:hover { color: var(--red); }
  .nav-links a:hover::after { transform: scaleX(1); }

  /* RESUME NAV BUTTON */
  .nav-resume {
    font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
    text-transform: uppercase; color: #fff; background: var(--red);
    border: none; padding: 9px 20px; cursor: none; text-decoration: none;
    clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
    transition: background 0.2s, transform 0.2s; margin-left: 32px; white-space: nowrap;
  }
  .nav-resume:hover { background: var(--red2); transform: translateY(-2px); }

  /* HAMBURGER */
  .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: none; padding: 4px; z-index: 200; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* MOBILE NAV DRAWER */
  .mobile-nav {
    display: none; position: fixed; inset: 0; z-index: 150;
    background: rgba(8,8,8,0.97); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center; gap: 36px;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .mobile-nav.open { opacity: 1; pointer-events: all; }
  .mobile-nav a {
    font-family: var(--display); font-size: 44px; color: var(--text);
    text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
    transition: color 0.2s;
  }
  .mobile-nav a:hover { color: var(--red); }
  .mobile-nav .mobile-resume {
    font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em;
    text-transform: uppercase; color: #fff; background: var(--red);
    border: none; padding: 12px 32px; cursor: none; text-decoration: none;
    clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
    margin-top: 8px;
  }

  section { position: relative; z-index: 2; }

  /* HERO */
  .hero {
    min-height: 100vh; display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 64px 80px;
    position: relative; overflow: hidden; gap: 60px;
  }
  .hero-left { display: flex; flex-direction: column; }
  .hero-right {
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .blueprint-ring {
    width: 100%; max-width: 520px; height: auto;
    opacity: 0.12; pointer-events: none;
  }

  .grad-badge {
    display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px;
    animation: fadeUp 0.8s 0.1s both;
  }
  .grad-badge-inner {
    font-family: var(--mono); font-size: 14px; letter-spacing: 0.05em; /* Increased size, reduced spacing */
    text-transform: uppercase; color: #fff; background: var(--red);
    padding: 7px 18px; clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
  }
  .grad-badge-label { font-family: var(--mono); font-size: 14px; color: var(--muted); letter-spacing: 0.05em; } /* Increased size */

  .hero-tag {
    font-family: var(--mono); font-size: 14px; color: var(--red); /* Increased size */
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px;
    animation: fadeUp 0.8s 0.3s both;
    display: flex; align-items: center; gap: 12px;
  }
  .hero-tag::before { content: ''; display: inline-block; width: 32px; height: 1px; background: var(--red); }

  .hero-name {
    font-family: var(--display); font-size: clamp(80px, 13vw, 180px);
    line-height: 0.9; letter-spacing: 0.02em; color: #fff;
    animation: fadeUp 0.9s 0.5s both;
  }
  .hero-name span { color: var(--red); }

  .hero-title {
    font-family: var(--display); font-size: clamp(24px, 4vw, 56px);
    color: var(--gold); letter-spacing: 0.05em; margin-top: 10px;
    animation: fadeUp 0.9s 0.7s both;
  }

  .hero-desc {
    max-width: 600px; font-size: 18px; font-weight: 300; /* Increased size */
    line-height: 1.8; color: var(--muted); margin-top: 32px; /* Increased line-height */
    animation: fadeUp 0.9s 0.9s both;
  }

  .hero-cta { display: flex; gap: 16px; margin-top: 44px; animation: fadeUp 0.9s 1.1s both; }

  .btn-primary {
    font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; /* Increased size */
    text-transform: uppercase; color: #fff; background: var(--red);
    border: none; padding: 14px 32px; cursor: none; text-decoration: none;
    clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
    transition: background 0.2s, transform 0.2s;
  }
  .btn-primary:hover { background: var(--red2); transform: translateY(-2px); }

  .btn-ghost {
    font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; /* Increased size */
    text-transform: uppercase; color: var(--red); background: transparent;
    border: 1px solid var(--red); padding: 14px 32px; cursor: none; text-decoration: none;
    clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
    transition: background 0.2s, color 0.2s, transform 0.2s;
  }
  .btn-ghost:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

  /* SECTIONS */
  .section-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 64px; }
  .section-num { font-family: var(--mono); font-size: 16px; color: var(--red); letter-spacing: 0.1em; } /* Increased size */
  .section-title { font-family: var(--display); font-size: clamp(40px, 6vw, 80px); color: #fff; letter-spacing: 0.04em; }
  .section-line { flex: 1; height: 1px; background: var(--border); margin-left: 16px; align-self: center; }

  /* EXPERIENCE */
  .experience { padding: 120px 48px; }
  .experience-other { padding: 0 48px 120px; }
  .exp-grid { display: grid; gap: 2px; }

  .exp-card {
    background: var(--card); border: 1px solid var(--border); padding: 40px;
    display: grid; grid-template-columns: 1fr 2fr; gap: 40px;
    position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.3s;
    align-items: start;
  }
  .exp-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--red); transform: scaleY(0); transition: transform 0.4s; transform-origin: top;
  }
  .exp-card:hover { border-color: rgba(204,0,0,0.45); transform: translateX(4px); }
  .exp-card:hover::before { transform: scaleY(1); }

  .exp-company { font-family: var(--display); font-size: 32px; color: #fff; letter-spacing: 0.04em; line-height: 1.1; } /* Increased size */
  .exp-company span { color: var(--red); }
  .exp-loc { font-family: var(--mono); font-size: 14px; color: var(--muted); margin-top: 6px; letter-spacing: 0.05em; } /* Increased size */
  .exp-date {
    display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 14px; /* Increased size */
    color: var(--gold); border: 1px solid rgba(232,213,176,0.35); padding: 6px 12px; letter-spacing: 0.05em;
  }
  .exp-role { font-family: var(--mono); font-size: 15px; color: var(--red); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; } /* Increased size */
  .exp-bullets { list-style: none; }
  .exp-bullets li {
    font-size: 16px; line-height: 1.7; color: var(--muted); /* Increased size & line height */
    padding: 8px 0 8px 20px; position: relative;
    border-bottom: 1px solid rgba(204,0,0,0.06); transition: color 0.2s;
  }
  .exp-bullets li::before { content: '›'; position: absolute; left: 0; color: var(--red); font-size: 18px; }
  .exp-bullets li:hover { color: var(--text); }

  /* PROJECTS */
  .projects { padding: 120px 48px; background: linear-gradient(180deg, transparent, rgba(204,0,0,0.02), transparent); }
  .projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

  .proj-card {
    background: var(--card); border: 1px solid var(--border); padding: 48px;
    position: relative; overflow: hidden; transition: border-color 0.3s;
  }
  .proj-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0); transition: transform 0.4s; transform-origin: left;
  }
  .proj-card:hover { border-color: rgba(204,0,0,0.4); }
  .proj-card:hover::after { transform: scaleX(1); }

  .proj-icon { font-size: 44px; margin-bottom: 20px; display: block; }
  .proj-num { position: absolute; top: 24px; right: 32px; font-family: var(--display); font-size: 80px; color: rgba(204,0,0,0.05); line-height: 1; pointer-events: none; }
  .proj-name { font-family: var(--display); font-size: 36px; color: #fff; letter-spacing: 0.04em; line-height: 1.1; margin-bottom: 8px; }
  .proj-period { font-family: var(--mono); font-size: 14px; color: var(--gold); letter-spacing: 0.05em; margin-bottom: 20px; } /* Increased size */
  .proj-desc { font-size: 16px; line-height: 1.8; color: var(--muted); } /* Increased size and line height */
  .proj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .proj-tag { font-family: var(--mono); font-size: 12px; color: var(--red); border: 1px solid rgba(204,0,0,0.3); padding: 6px 12px; letter-spacing: 0.05em; text-transform: uppercase; } /* Increased size */

  /* SKILLS */
  .skills { padding: 120px 48px; }
  .skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .skill-group { background: var(--card); border: 1px solid var(--border); padding: 40px; transition: border-color 0.3s; }
  .skill-group:hover { border-color: rgba(204,0,0,0.35); }
  .skill-group-name {
    font-family: var(--mono); font-size: 14px; color: var(--red); /* Increased size */
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px;
    display: flex; align-items: center; gap: 10px;
  }
  .skill-group-name::after { content: ''; flex: 1; height: 1px; background: var(--border); }
  .skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
  .skill-pill {
    font-family: var(--mono); font-size: 13px; color: var(--text); /* Increased size */
    background: rgba(204,0,0,0.07); border: 1px solid rgba(204,0,0,0.2);
    padding: 8px 16px; letter-spacing: 0.05em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .skill-pill:hover { background: rgba(204,0,0,0.18); border-color: var(--red); color: #fff; }

  /* HOBBIES */
  .hobbies { padding: 120px 48px; }
  .hobbies-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, auto); gap: 2px; }

  .hobby-card {
    background: var(--card); border: 1px solid var(--border);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
  }
  .hobby-card:hover { border-color: rgba(204,0,0,0.5); transform: translateY(-4px); }

  .hobby-img {
    width: 100%; aspect-ratio: 1/1; background: #1a1010; overflow: hidden;
    position: relative; flex-shrink: 0;
  }
  .hobby-img img {
    width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
    transition: transform 0.5s; opacity: 0.85;
  }
  .hobby-card:hover .hobby-img img { transform: scale(1.06); opacity: 1; }

  .hobby-img-placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    color: rgba(204,0,0,0.3); font-family: var(--mono); font-size: 12px; /* Increased size */
    letter-spacing: 0.1em; text-align: center; padding: 16px;

  }
  .hobby-img-placeholder .ph-icon { font-size: 32px; }
  .hobby-img-placeholder span { color: var(--muted); }

  .hobby-footer {
    padding: 16px 18px; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
  }
  .hobby-name { font-family: var(--display); font-size: 24px; color: #fff; letter-spacing: 0.06em; line-height: 1; }
  .hobby-icon { font-size: 20px; }
  .hobby-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,8,8,0.7) 0%, transparent 55%);
    pointer-events: none;
  }

  .photo-tip {
    margin-top: 24px; background: rgba(204,0,0,0.06);
    border: 1px solid rgba(204,0,0,0.2); border-left: 3px solid var(--red);
    padding: 20px 28px; display: flex; align-items: flex-start; gap: 16px;
  }
  .photo-tip-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
  .photo-tip-title { font-family: var(--mono); font-size: 14px; color: var(--red); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; } /* Increased size */
  .photo-tip-body { font-size: 15px; color: var(--muted); line-height: 1.7; }
  .photo-tip-body code { font-family: var(--mono); font-size: 14px; color: var(--gold); background: rgba(232,213,176,0.08); padding: 2px 8px; border-radius: 2px; }

  /* EDUCATION */
  .edu-band {
    position: relative; z-index: 2; background: var(--card);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  }
  .edu-label { font-family: var(--mono); font-size: 14px; color: var(--red); letter-spacing: 0.1em; margin-bottom: 10px; } /* Increased size */
  .edu-school { font-family: var(--display); font-size: 40px; color: #fff; letter-spacing: 0.04em; } /* Increased size */
  .edu-degree { font-size: 16px; color: var(--muted); margin-top: 4px; } /* Increased size */
  .edu-date-big { font-family: var(--display); font-size: 48px; color: #fff; text-align: right; }
  .edu-location { font-size: 15px; color: var(--muted); text-align: right; margin-top: 2px; } /* Increased size */

  /* CONTACT */
  .contact { padding: 120px 48px; text-align: center; position: relative; }
  .contact::before {
    content: 'CONTACT'; position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
    font-family: var(--display); font-size: clamp(100px,18vw,240px);
    color: rgba(204,0,0,0.03); white-space: nowrap; pointer-events: none; letter-spacing: 0.1em;
  }
  .contact-inner { position: relative; z-index: 2; }
  .contact-headline { font-family: var(--display); font-size: clamp(48px,8vw,100px); color: #fff; letter-spacing: 0.04em; line-height: 0.95; margin-bottom: 24px; }
  .contact-headline span { color: var(--red); }
  .contact-sub { font-size: 18px; color: var(--muted); max-width: 500px; margin: 0 auto 48px; line-height: 1.8; } /* Increased size and width */
  .contact-links { display: flex; flex-direction: column; align-items: center; gap: 28px; }
  .contact-cta { display: flex; justify-content: center; }
  .contact-pills { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
  .contact-link {
    font-family: var(--mono); font-size: 15px; letter-spacing: 0.1em; color: var(--text); /* Increased size */
    text-decoration: none; display: flex; align-items: center; gap: 8px;
    border: 1px solid var(--border); padding: 14px 28px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .contact-link:hover { border-color: var(--red); color: var(--red); background: rgba(204,0,0,0.05); }

  footer {
    border-top: 1px solid var(--border); padding: 24px 48px;
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 2;
  }
  footer p { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.05em; } /* Increased size */

  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--red); }

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

  /* Scroll reveal — starts visible, animates in */
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  @media (hover: none) and (pointer: coarse) {
    body, a, button, .btn-primary, .btn-ghost, .nav-resume, .hamburger,
    .carousel-btn, .capstone-nav, .carousel-dots span { cursor: auto !important; }
    #cur, #cur-ring { display: none !important; }
  }
  @media (max-width: 768px) {
    nav { padding: 16px 24px; justify-content: space-between; }
    .nav-links { display: none; }
    .nav-resume { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }
    .hero { grid-template-columns: 1fr; padding: 100px 24px 60px; }
    .hero-right { display: none; }
    .experience, .experience-other, .projects, .skills, .hobbies, .contact { padding-left: 24px; padding-right: 24px; }
    .exp-card { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .hobbies-grid { grid-template-columns: repeat(2, 1fr); }
    footer { flex-direction: column; gap: 8px; text-align: center; }
    .edu-band { padding: 32px 24px; }
  }
  /* ── MEDIA: VIDEO ── */
.media-video-wrap {
  position: relative; width: 100%; max-width: 400px; border: 1px solid var(--border);
  overflow: hidden; background: #0d0d0d;
}
.exp-video {
  width: 100%; display: block; height: 280px;
  object-fit: cover; opacity: 0.88;
  transition: opacity 0.3s;
}
.exp-video:hover { opacity: 1; }
.video-overlay-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  background: linear-gradient(transparent, rgba(8,8,8,0.85));
  display: flex; align-items: center;
}
.video-label {
  font-family: var(--mono); font-size: 12px;
  color: var(--red); letter-spacing: 0.12em; text-transform: uppercase;
}

/* ── MEDIA: CAROUSEL ── */
.media-carousel {
  position: relative; width: 100%; max-width: 400px; margin-top: 20px;
  border: 1px solid var(--border); overflow: hidden;
  background: #0d0d0d;
}
.carousel-track {
  display: flex; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%; position: relative; aspect-ratio: 1/1;
}
.carousel-slide img {
  width: 100%; display: block;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0.88; transition: opacity 0.3s;
}
.carousel-slide img:hover { opacity: 1; }
.carousel-slide video {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center;
  opacity: 0.88; transition: opacity 0.3s;
}
.carousel-slide video:hover { opacity: 1; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(8,8,8,0.75); border: 1px solid var(--border);
  color: var(--red); font-size: 18px; width: 36px; height: 36px;
  cursor: none; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10; padding: 0; line-height: 1;
}
.carousel-btn:hover { background: rgba(204,0,0,0.18); border-color: var(--red); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  display: flex; justify-content: center; gap: 7px;
  padding: 10px 0; background: rgba(8,8,8,0.6);
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(204,0,0,0.25); border: 1px solid rgba(204,0,0,0.4);
  cursor: none; transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--red); transform: scale(1.25);
}
/* SENIOR DESIGN */
.capstone { padding: 120px 48px; }
.capstone-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.capstone-text { display: flex; flex-direction: column; gap: 24px; }
.capstone-label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 12px;
}
.capstone-label::before { content: ''; width: 32px; height: 1px; background: var(--red); }
.capstone-title {
  font-family: var(--display); font-size: clamp(32px, 4vw, 56px);
  color: #fff; letter-spacing: 0.04em; line-height: 1.05;
}
.capstone-client {
  font-family: var(--mono); font-size: 13px; color: var(--gold);
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(232,213,176,0.3); padding: 6px 14px;
  display: inline-block;
}
.capstone-desc {
  font-size: 16px; line-height: 1.85; color: var(--muted); font-weight: 300;
}
.capstone-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.capstone-tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--red);
  border: 1px solid var(--border); padding: 5px 12px;
}

/* CAPSTONE CAROUSEL */
.capstone-carousel {
  position: relative; background: var(--card);
  border: 1px solid var(--border); overflow: hidden;
}
.capstone-track-wrap { overflow: hidden; }
.capstone-track {
  display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.capstone-slide {
  min-width: 100%; aspect-ratio: 1/1;
  background: #1a1a1a; display: flex; align-items: center; justify-content: center;
}
.capstone-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.capstone-slide-placeholder {
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  letter-spacing: 0.08em; text-align: center;
}
.capstone-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(8,8,8,0.8); border: 1px solid var(--border);
  color: var(--red); font-size: 20px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: border-color 0.2s; z-index: 2;
}
.capstone-nav:hover { border-color: var(--red); }
.capstone-prev { left: 12px; }
.capstone-next { right: 12px; }
.capstone-dots {
  display: flex; justify-content: center; gap: 8px; padding: 14px;
  background: var(--card);
}
.capstone-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); cursor: none; transition: background 0.2s;
}
.capstone-dot.active { background: var(--red); }
/* COMPLETED GOALS */
.completed-header {
  display: flex; align-items: center; gap: 16px;
  margin: 48px 0 24px;
}
.completed-label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(232,213,176,0.3); padding: 5px 14px;
  white-space: nowrap;
}
.completed-line { flex: 1; height: 1px; background: rgba(232,213,176,0.15); }
.completed-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 8px;
}
.completed-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(232,213,176,0.04); border: 1px solid rgba(232,213,176,0.12);
  padding: 16px 20px; transition: border-color 0.25s;
}
.completed-item:hover { border-color: rgba(232,213,176,0.3); }
.completed-check {
  flex-shrink: 0; width: 20px; height: 20px;
  border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.completed-check::after {
  content: '✓'; font-size: 13px; color: var(--gold); line-height: 1;
}
.completed-item span {
  font-size: 15px; line-height: 1.6; color: var(--muted);
  text-decoration: none;
}

/* ── THERMAL FLUIDS LABS ── */
.thermal-labs { padding: 120px 48px; }
.lab-list { display: grid; gap: 2px; }

.lab-entry {
  background: var(--card); border: 1px solid var(--border); padding: 24px 40px;
  display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden; transition: border-color 0.3s;
}
.lab-entry::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transition: transform 0.4s; transform-origin: top;
}
.lab-entry:hover { border-color: rgba(204,0,0,0.45); }
.lab-entry:hover::before { transform: scaleY(1); }

.lab-title-row { display: flex; align-items: baseline; gap: 16px; }
.lab-body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.lab-num { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: 0.1em; flex-shrink: 0; }
.lab-name { font-family: var(--display); font-size: 22px; color: #fff; letter-spacing: 0.04em; line-height: 1.15; }

.lab-desc {
  font-family: var(--body); font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,0.65); margin: 14px 0 18px;
}

.lab-result {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--gold); background: rgba(232,213,176,0.06);
  border-left: 2px solid var(--gold); padding: 10px 14px;
  margin-bottom: 20px; line-height: 1.6;
}

.lab-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.lab-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(204,0,0,0.8); border: 1px solid rgba(204,0,0,0.3);
  padding: 3px 9px;
}

.lab-report-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border: 1px solid rgba(232,213,176,0.3); padding: 7px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.lab-report-link:hover { border-color: var(--gold); background: rgba(232,213,176,0.06); }

.lab-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.lab-media-slot {
  aspect-ratio: 4/3; background: rgba(204,0,0,0.03);
  border: 1px dashed rgba(204,0,0,0.22);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.lab-media-slot img, .lab-media-slot iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none;
}
.lab-media-slot img { object-fit: cover; opacity: 0.88; }
.lab-media-slot iframe { pointer-events: none; }
.lab-slot-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(204,0,0,0.35);
}

@media (max-width: 768px) {
  .thermal-labs { padding-left: 24px; padding-right: 24px; }
  .lab-entry { grid-template-columns: 1fr; }
}
