/* ------------------------------------------------------
   Cinematic Portfolio — Style
   Dark, warm, AAA trailer aesthetic
------------------------------------------------------ */

/* ---------- Root Tokens ---------- */
:root {
  --bg-body: #050506;
  --bg-elevated: #111015;
  --bg-elevated-soft: #17161e;
  
  /* Smoother gradients for high-res displays */
  --bg-highlight: radial-gradient(circle at top left, rgba(242, 166, 90, 0.12), transparent 60%),
                  radial-gradient(circle at bottom right, rgba(231, 111, 81, 0.08), transparent 60%);
  
  --accent: #f25a5a;
  --accent-strong: #ff4444;
  --accent-soft: rgba(242, 90, 90, 0.6);
  --accent-border: rgba(242, 90, 90, 0.4);
  --accent-solid: rgb(131, 53, 53);
  --accent-linkedin: #326986;

  --text-main: #f7f7f9;
  --text-muted: #a6a6bd; 
  --text-soft: #7c7c94;

  --border-subtle: rgba(255, 255, 255, 0.08);

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  --space-xxxl: 10rem;
  
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --shadow-subtle: 0 8px 24px rgba(0, 0, 0, 0.55);

  --header-height: 70px;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Global ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 2rem);
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Accessible focus states */
:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-solid);
  color: #000;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

h3 { margin: 0 0 0.3rem; font-size: 1.25rem; }

/* ---------- Layout Helpers ---------- */
.container {
  width: min(1320px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  padding-bottom: var(--space-xxxl);
  position: relative;
}

.section--dark { background-color: var(--bg-body); }

.section--gradient {
  background:
    radial-gradient(circle at top left, rgba(242, 166, 90, 0.05), transparent 55%),
    radial-gradient(circle at bottom right, rgba(242, 166, 90, 0.05), transparent 55%),
    linear-gradient(145deg, #0a090e, #141019 60%, #1a131b);
}

.section-header {
  max-width: 630px;
  margin-bottom: var(--space-xxl);
  text-align: center;
  margin-inline: auto;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-soft);
  margin: 0 0 var(--space-xs);
  font-weight: 500;
}

.section-title { font-size: 1.8rem; margin: 0 0 var(--space-sm); }
.section-subtitle { margin: 0; color: var(--text-muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(5, 5, 10, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
  border-top: 2px solid var(--accent-solid);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: var(--text-main);
}

.logo img {
  border-radius: 999px 999px 0 999px;
  box-shadow: 0 0 0 1px rgba(242, 166, 90, 0.3);
}

.logo-text {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav { display: flex; align-items: center; gap: var(--space-sm); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--text-main);
  z-index: 51;
}

.nav-link {
  position: relative;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.nav-link--outline { max-width: 70%; justify-content: center; }

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: -1;
}

.nav-link:hover, .nav-link:focus-visible { color: var(--text-main); }
.nav-link:hover::before { opacity: 0.15; }

.nav-link.active {
  color: var(--text-main);
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.linkedin {
  width: 18px;
  height: 18px;
  fill: var(--text-soft);
  transition: fill 200ms ease, transform 200ms ease;
  display: flex;
}

.linkedin:hover {
  fill: var(--accent-linkedin);
  transform: translateY(-1px);
}

.nav-link--outline {
  border: 1px solid var(--accent-border);
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-link--outline:hover {
  background: rgba(242, 166, 90, 0.1);
  border-color: var(--accent-strong);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(120px, 15vh, 200px);
  padding-bottom: var(--space-xl);
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
  background-color: #050506;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  will-change: opacity, transform;
  transition: opacity 2s ease-in-out, transform 15s ease-out;
  z-index: -2;
  filter: brightness(0.6) contrast(1.1); 
}

.hero-bg-layer.active {
  opacity: 1;
  transform: scale(1);
}

.bg-1 { background-image: url("img/landing_dune.jpg"); }
.bg-2 { background-image: url("img/landing_comanche.jpg"); }
.bg-3 { background-image: url("img/landing_dreadnought.jpg"); }

.hero-bg-noise {
  mix-blend-mode: overlay;
  opacity: 0.3;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 166, 90, 0.15), transparent 50%),
    linear-gradient(to bottom, rgba(5, 5, 10, 0.3), #050506);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: var(--space-xl);
  align-items: center;
  flex: 1;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-strong);
  margin-bottom: var(--space-sm);
  font-weight: 600;
  display: inline-block;
  padding: 4px 8px;
  background: rgba(242, 166, 90, 0.1);
  border-radius: 4px;
}

.hero-title {
  font-size: clamp(2.4rem, 3.2vw + 1.8rem, 3.6rem);
  line-height: 1.1;
  margin: 0 0 var(--space-lg);
  font-weight: 700;
  max-width: 55rem;
}

.accent { color: var(--accent-strong); }

.hero-subtitle {
  color: var(--text-muted);
  max-width: 35rem;
  margin: 0 0 var(--space-xxl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); }
.meta-value { font-size: 0.9rem; color: var(--text-main); font-weight: 500; }

/* Featured Card */
.hero-featured { display: flex; justify-content: flex-end; }

.featured-card {
  position: relative;
  background: rgba(20, 20, 25, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  max-width: 450px;
  overflow: hidden;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
}

.featured-tag {
  display: inline-flex;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background-color: rgba(242, 166, 90, 0.1);
  margin-bottom: var(--space-md);
}

.featured-title { margin: 0 0 0.2rem; font-size: 1.5rem; }
.featured-role { margin: 0 0 var(--space-sm); font-size: 0.9rem; color: var(--accent-soft); }
.featured-body { margin: 0 0 var(--space-md); font-size: 0.95rem; color: var(--text-muted); }

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* -----------------------------------------------------
   FIXED VIDEO CONTAINERS 
----------------------------------------------------- */
.featured-video-shell, 
.project-video, 
.more-video,
.video-ratio-box {
  position: relative;
  background-color: #000;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.featured-video-shell iframe, 
.project-video iframe, 
.more-video iframe,
.video-ratio-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.yt-shell {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.featured-video-shell { border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1); }
.project-video { border-radius: var(--radius-sm); }
.more-video { border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  border-radius: 999px;
  padding: 0.2rem 0.8rem 0.4rem;
  background-color: rgba(3, 3, 6, 0.9);
  color: var(--text-soft);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  opacity: 0.75;
}

.scroll-indicator:hover {
  background: var(--accent-soft);
  color: white;
  border-color: transparent;
  opacity: 1;
}

.scroll-indicator .material-icons { animation: bounce 2s infinite; }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-5px);}
  60% {transform: translateY(-3px);}
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--transition-smooth), box-shadow 0.2s ease;
  text-decoration: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: radial-gradient(circle at top left, var(--accent-strong), #f27632);
  color: #181820;
  box-shadow: 0 10px 25px rgba(242, 118, 50, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-main);
  border: 1px solid transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--accent-border);
  color: var(--text-main);
  background: rgba(242, 166, 90, 0.05);
}

#globalAudioBtn {
  min-width: 175px;
  justify-content: center;
  text-align: center;
}

/* ---------- Experience / Timeline ---------- */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

/* Vertical Line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px; /* Mobile position */
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent-border), transparent);
  z-index: 1;
}

.timeline-item {
  position: relative;
  padding-left: 60px; /* Space for line/dots */
  margin-bottom: var(--space-xl);
}

.timeline-item:last-child { margin-bottom: 0; }

/* The Dot */
.timeline-marker {
  position: absolute;
  left: 13px; /* Center on the 2px line (20px left) -> 20 - (16/2) + 1 = 13 */
  top: 6px;
  width: 16px;
  height: 16px;
  background-color: var(--bg-body);
  border: 2px solid var(--accent-strong);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px rgba(242, 166, 90, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  background-color: var(--accent-strong);
  transform: scale(1.2);
}

.marker-edu {
  border-color: var(--accent-strong);
  box-shadow: none;
}

/* Content Styling */
.timeline-content {
  position: relative;
  z-index: 2;
}

.timeline-date {
  display: block;
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--accent-soft);
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.timeline-role {
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  color: var(--text-main);
  font-weight: 600;
}

.timeline-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.timeline-company { color: var(--text-main); font-weight: 500; }
.timeline-loc::before { content: "•"; margin-right: 0.5rem; color: var(--border-subtle); }

.timeline-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 90%;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
  
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 50px;
    margin-left: 0;
    text-align: right;
    margin-bottom: var(--space-xs);
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 50px;
    text-align: left;
  }
  
  .timeline-marker {
    left: auto;
    right: -8px; /* Center on middle line */
  }
  
  .timeline-item:nth-child(even) .timeline-marker {
    right: auto;
    left: -8px;
  }

  .timeline-meta { justify-content: flex-end; }
  .timeline-item:nth-child(even) .timeline-meta { justify-content: flex-start; }
  
  .timeline-desc { margin-left: auto; }
  .timeline-item:nth-child(even) .timeline-desc { margin-left: 0; }
}

/* ---------- Projects Grid (Was Experience) ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: var(--space-lg);
}

.project-card {
  background: #0e0d12;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
}

.project-role, .more-role { color: var(--accent-strong); display: block; margin-bottom: 0.2rem; font-size: 0.9rem; }
.project-meta { color: var(--text-soft); font-size: 0.8rem; }
.project-body, .more-body { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }

.project-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags li {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: var(--text-soft);
}

.project-hidden { display: none; }

.project-expand-area {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xxl);
}

.section-cta { margin-top: var(--space-xxl); text-align: center; }

/* ---------- More Grid (Was Projects) ---------- */
.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xxl);
}

.more-card {
  background: #0e0d12;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

.more-card:hover { transform: translateY(-5px); }
.more-meta { margin: 0 0 var(--space-xs); font-size: 0.8rem; color: var(--text-soft); }

.more-pill {
  align-self: flex-start;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  color: var(--text-soft);
}

.more-audio iframe { filter: invert(95%) hue-rotate(180deg); }

.more-image,
.more-video {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 380px;  
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.more-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Specificity fix for More/Personal Videos */
.more-card .more-video iframe,
.more-card .more-video .yt-shell {
  width: auto;
  height: 100%;
  aspect-ratio: 16 / 9;
  min-width: 177.77vh; 
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.more-card:hover .more-image img { transform: scale(1.05); }

.more-hidden { display: none; }

.more-expand-area {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: #050507;
  padding: var(--space-md) 0 var(--space-lg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-copy { margin: 0; }

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }

/* ---------- Volume Indicator ---------- */
.volume-indicator {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10;
  pointer-events: none; 
}

.volume-indicator .material-icons { font-size: 1.2rem; }

/* Keep icon visible if audio is playing OR on hover */
.featured-card.audio-active .volume-indicator,
.project-card.audio-active .volume-indicator,
.featured-card:hover .volume-indicator,
.project-card:hover .volume-indicator {   
  opacity: 1;
  transform: translateY(0);
}

.featured-card.audio-active .volume-indicator,
.project-card.audio-active .volume-indicator {
  color: var(--accent-strong);
  border-color: var(--accent-border);
}

/* ---------- Responsive ---------- */
@media (min-width: 2000px) {
  .container { width: min(1600px, 100% - 3rem); }
  .projects-grid { grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)); }
  .more-grid { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-featured { justify-content: flex-start; width: 100%; }
  .featured-card { max-width: 100%; }
  .scroll-indicator {bottom: var(--space-xs); }
  .bg-1 { background-image: url("img/landing_dune_mobile.jpg"); }
  .bg-2 { background-image: url("img/landing_comanche_mobile.jpg"); }
  .bg-3 { background-image: url("img/landing_dreadnought_mobile.jpg"); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #0b0b10;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .main-nav.is-open {
    transform: translateY(-2px);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-actions {
    margin: 0;
    padding: 0.25rem var(--space-sm);
    border: none;
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-link { font-size: 1rem; width: 100%; padding: 0.25rem var(--space-sm); }
  .nav-link::before { display: none; }
  
  .section { padding-bottom: var(--space-xl); }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .featured-card { padding: var(--space-md); }
}

@media (max-width: 600px) {
  .projects-grid { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
}