/* ==========================================================================
   ABRAHAM F STRAUSS - CINEMATIC PORTFOLIO & CV
   High-end director, filmmaker & visual storyteller portfolio
   ========================================================================== */

/* --- Custom Variables & Design Tokens --- */
:root {
  --bg-primary: #070709;
  --bg-secondary: #0d0d12;
  --bg-tertiary: #13131a;
  --bg-card: rgba(18, 18, 25, 0.7);
  --bg-card-hover: rgba(28, 28, 38, 0.85);
  
  --text-primary: #f5f5f8;
  --text-secondary: #a3a3b2;
  --text-muted: #656575;
  --text-accent: #e59344; /* Warm sunset/amber accent from hero artwork */
  --accent-glow: rgba(229, 147, 68, 0.25);

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.18);
  --border-focus: rgba(229, 147, 68, 0.5);

  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --container-max: 1360px;
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Subtle Film Grain Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: var(--transition-fast);
}

img, video {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header / Navigation (Centered) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.8rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 1.1rem 3rem;
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Logo */
.logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

/* Nav Links (Centered) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding-bottom: 0.35rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
}

/* Header Actions (Top Right Mobile Trigger) */
.header-actions {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1002;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: #ffffff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

body.menu-locked {
  overflow: hidden;
  touch-action: none;
}

/* ==========================================================================
   HERO SECTION (Replication of the Reference Screenshot)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 4rem;
  overflow: hidden;
  background-color: #050507;
}

/* Cinematic Background Artwork */
.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.03);
  animation: subtleZoom 25s infinite alternate ease-in-out;
  filter: contrast(1.05) brightness(0.96);
}

@keyframes subtleZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.07); }
}

/* Atmospheric Vignette and Seamless Gradient Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    linear-gradient(to right, rgba(7, 7, 9, 0.96) 0%, rgba(7, 7, 9, 0.82) 35%, rgba(7, 7, 9, 0.28) 68%, rgba(7, 7, 9, 0.45) 100%),
    linear-gradient(to top, var(--bg-primary) 0%, rgba(7, 7, 9, 0.9) 10%, transparent 35%),
    linear-gradient(to bottom, rgba(7, 7, 9, 0.85) 0%, transparent 22%),
    radial-gradient(circle at 78% 45%, transparent 30%, rgba(7, 7, 9, 0.6) 90%);
  pointer-events: none;
}

/* Hero Content (Left-aligned as in screenshot) */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 620px;
  margin-top: -2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-title span:first-child {
  letter-spacing: 0.12em;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(240, 240, 245, 0.85);
  max-width: 480px;
  margin-bottom: 2.8rem;
  letter-spacing: 0.01em;
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(15, 15, 20, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  border: 1px solid var(--text-accent);
  background: var(--text-accent);
  color: #070709;
  font-weight: 600;
}

.btn-primary:hover {
  background: #f8a85a;
  border-color: #f8a85a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--accent-glow);
}

.btn svg {
  width: 14px;
  height: 14px;
}

/* Bottom Bar of Hero (Matches Screenshot) */
.hero-bottom {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  width: 100%;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 10;
  pointer-events: none;
}

.hero-bottom > * {
  pointer-events: auto;
}

/* Scroll To Explore Indicator (Bottom Left) */
.scroll-explore {
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.scroll-explore:hover {
  color: #ffffff;
}

.scroll-arrow {
  font-size: 1.1rem;
  line-height: 1;
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Sound Switch (Bottom Right) */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.sound-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.sound-toggle-btn.playing {
  border-color: var(--text-accent);
  color: #ffffff;
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.sound-bars span {
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.2s ease;
}

.sound-toggle-btn.playing .sound-bars span:nth-child(1) {
  animation: soundBar 1.2s infinite ease-in-out;
}
.sound-toggle-btn.playing .sound-bars span:nth-child(2) {
  animation: soundBar 0.9s infinite ease-in-out 0.2s;
}
.sound-toggle-btn.playing .sound-bars span:nth-child(3) {
  animation: soundBar 1.4s infinite ease-in-out 0.4s;
}
.sound-toggle-btn.playing .sound-bars span:nth-child(4) {
  animation: soundBar 0.8s infinite ease-in-out 0.1s;
}

@keyframes soundBar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* ==========================================================================
   COMMON SECTION HEADERS & UTILITIES
   ========================================================================== */
section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4.5rem;
  align-items: center;
}

/* About Visual & Actor Stats */
.about-visual {
  position: relative;
  max-width: 330px;
  margin: 0 auto;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  max-width: 330px;
  margin: 0 auto;
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover img {
  transform: scale(1.03);
}

.actor-stats-card {
  margin-top: 1.5rem;
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(18, 18, 25, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.actor-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-name {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-accent);
}

.stat-val {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 500;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: rgba(18, 18, 25, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.badge-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.4;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.highlight-item h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.highlight-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   VOICE-OVER DEMO REELS STUDIO PLAYER
   Professional Interactive Audio Player for 13 Voice-Over Demo Tracks
   ========================================================================== */
.reels-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.reels-section::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 147, 68, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Category Filter Tabs */
.reels-filters {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.reels-filter-btn {
  padding: 0.65rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.reels-filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.reels-filter-btn.active {
  background: var(--text-accent);
  color: #070709;
  border-color: var(--text-accent);
  font-weight: 600;
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* Master Studio Deck */
.reels-master-deck {
  background: linear-gradient(135deg, rgba(22, 22, 32, 0.95), rgba(14, 14, 20, 0.98));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.master-deck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.deck-meta-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.deck-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-accent);
  font-weight: 600;
  background: rgba(229, 147, 68, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(229, 147, 68, 0.3);
}

.deck-live-dot {
  width: 8px;
  height: 8px;
  background: var(--text-accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.deck-current-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.deck-category-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.deck-actions-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.deck-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.deck-download-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.deck-download-btn svg {
  width: 14px;
  height: 14px;
}

/* Scrubber & Controls */
.deck-controls-row {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 1.2rem;
}

.deck-main-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--text-accent);
  color: #070709;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px var(--accent-glow);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.deck-main-play-btn:hover {
  transform: scale(1.08);
  background: #ffffff;
}

.deck-main-play-btn svg {
  width: 20px;
  height: 20px;
}

.deck-progress-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.deck-progress-bar-wrap {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  cursor: pointer;
  overflow: hidden;
}

.deck-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--text-accent), #f5a623);
  border-radius: var(--radius-pill);
  transition: width 0.1s linear;
}

.deck-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.deck-volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 140px;
}

.deck-volume-wrap svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.deck-volume-slider {
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.deck-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-accent);
  cursor: pointer;
}

/* Tracklist Grid */
.reels-tracklist-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.reel-track-item {
  display: grid;
  grid-template-columns: 48px 48px 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  cursor: pointer;
}

.reel-track-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateX(4px);
}

.reel-track-item.active {
  background: rgba(229, 147, 68, 0.1);
  border-color: var(--border-focus);
}

.track-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reel-track-item.active .track-num {
  color: var(--text-accent);
}

.track-item-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.track-item-play-btn:hover {
  background: var(--text-accent);
  color: #070709;
  border-color: var(--text-accent);
}

.reel-track-item.active .track-item-play-btn {
  background: var(--text-accent);
  color: #070709;
  border-color: var(--text-accent);
}

.track-item-play-btn svg {
  width: 14px;
  height: 14px;
}

.track-text-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.track-main-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.track-tag-line {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.track-category-pill {
  font-size: 0.68rem;
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-accent);
  background: rgba(229, 147, 68, 0.12);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}

.track-download-action {
  color: var(--text-muted);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.track-download-action:hover {
  color: var(--text-accent);
  transform: translateY(-2px);
}

.track-download-action svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   FEATURED VIDEO & VOICEOVER SKILLS SECTION
   Specifically tailored for voice-over skill breakdown videos
   ========================================================================== */
.video-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.video-theater {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.video-player-container {
  position: relative;
  background: #000000;
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.main-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8rem;
  pointer-events: none;
}

.video-badge-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.badge-voiceover {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(229, 147, 68, 0.2);
  border: 1px solid var(--text-accent);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.badge-voiceover svg {
  width: 12px;
  height: 12px;
  color: var(--text-accent);
}

.badge-quality {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
}

.video-play-center {
  align-self: center;
  pointer-events: auto;
}

.big-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(229, 147, 68, 0.9);
  color: #070709;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 35px var(--accent-glow);
  transition: var(--transition-smooth);
}

.big-play-btn:hover {
  transform: scale(1.1);
  background: #ffffff;
  color: #000000;
}

.big-play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-bottom-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  margin: -1.8rem;
  padding: 1.8rem;
}

.video-bottom-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.video-bottom-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Video Playlist Sidebar */
.video-playlist-sidebar {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  background: var(--bg-tertiary);
  border-left: 1px solid var(--border-subtle);
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.playlist-header h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.playlist-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.playlist-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  overflow-y: auto;
  max-height: 400px;
}

.playlist-item {
  display: flex;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-subtle);
}

.playlist-item.active {
  background: rgba(229, 147, 68, 0.12);
  border-color: var(--border-focus);
}

.playlist-thumb {
  position: relative;
  width: 90px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-thumb .thumb-duration {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.85);
  font-size: 0.65rem;
  padding: 1px 4px;
  border-radius: 2px;
  color: #fff;
}

.playlist-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.playlist-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.playlist-subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.playlist-subtitle svg {
  width: 10px;
  height: 10px;
  color: var(--text-accent);
}

/* ==========================================================================
   PORTFOLIO WORK GRID
   ========================================================================== */
.portfolio-section {
  background-color: var(--bg-primary);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn.active {
  background: #ffffff;
  color: #070709;
  border-color: #ffffff;
  font-weight: 600;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .card-media img {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 7, 9, 0.95) 0%, rgba(7, 7, 9, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  transition: var(--transition-smooth);
}

.card-category {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 0.4rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.card-roles {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.card-roles span {
  position: relative;
}

.card-roles span:not(:last-child)::after {
  content: '•';
  margin-left: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE CV SECTION ("Like my CV just a lot better")
   ========================================================================== */
.cv-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.cv-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  padding: 1.5rem 2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.cv-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #ffffff;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.cv-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}

/* Timeline */
.cv-block-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cv-block-title svg {
  width: 20px;
  height: 20px;
  color: var(--text-accent);
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--border-subtle);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.8rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--text-accent);
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.2rem;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

/* Credits Timeline (Clean 9 stacked headings) */
.credits-timeline .timeline-item {
  margin-bottom: 1.25rem;
}

.credits-timeline .timeline-item.group-end {
  margin-bottom: 2.6rem;
}

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

.timeline-company {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Skills Matrix */
.skills-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.skill-group {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.skill-header span:last-child {
  color: var(--text-accent);
  font-family: var(--font-mono);
}

.skill-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--text-accent), #f8b368);
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Software & Tools Tag Cloud */
.tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tool-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-meta span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.contact-meta a, .contact-meta strong {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 400;
}

/* Contact Form */
.contact-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--text-accent);
  background: rgba(255, 255, 255, 0.06);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background-color: #040406;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Footer Systect Credit & Neon LED (exact match to aqwake.co.za) --- */
.footer-systect-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer-created-by-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.systect-neon-led {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00f0ff;
  background: rgba(8, 8, 10, 0.78);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px rgba(0, 0, 0, 0.95),
     0 0 5px rgba(0, 240, 255, 0.75),
     0 0 12px rgba(0, 240, 255, 0.35);
  animation: systectNeonPulse 6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.systect-neon-led:hover {
  background: rgba(0, 0, 0, 0.92);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 240, 255, 0.25);
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px #000,
     0 0 6px #fff,
     0 0 14px currentColor;
}

@keyframes systectNeonPulse {
  0%, 100% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 240, 255, 0.75),
       0 0 12px rgba(0, 240, 255, 0.35);
  }
  20% {
    color: #ff3de6;
    border-color: rgba(255, 61, 230, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 61, 230, 0.75),
       0 0 12px rgba(255, 61, 230, 0.35);
  }
  40% {
    color: #44ff26;
    border-color: rgba(68, 255, 38, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(68, 255, 38, 0.75),
       0 0 12px rgba(68, 255, 38, 0.35);
  }
  60% {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 215, 0, 0.75),
       0 0 12px rgba(255, 215, 0, 0.35);
  }
  80% {
    color: #5c6eff;
    border-color: rgba(92, 110, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(92, 110, 255, 0.75),
       0 0 12px rgba(92, 110, 255, 0.35);
  }
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-back-to-top:hover {
  color: #ffffff;
}

/* ==========================================================================
   VIDEO MODAL LIGHTBOX
   ========================================================================== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 2rem;
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 1060px;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid var(--border-light);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--text-accent);
  color: #000;
}

.modal-video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}

.modal-video-wrapper iframe,
.modal-video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Fully Mobile Optimized)
   ========================================================================== */

/* --- Tablet / Medium Screens (<= 1024px) --- */
@media (max-width: 1024px) {
  .site-header {
    padding: 1.4rem 2rem;
  }

  .site-header.scrolled {
    padding: 1rem 2rem;
  }

  .hero-section {
    padding: 0 2.5rem;
  }

  .hero-bottom {
    padding: 0 2.5rem;
  }

  .about-grid,
  .cv-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-visual {
    max-width: 330px;
    margin: 0 auto;
  }

  .video-theater {
    grid-template-columns: 1fr;
  }

  .video-playlist-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .about-badge {
    right: 1rem;
    bottom: -1rem;
  }
}

/* --- Mobile Landscape & Tablets (<= 768px) --- */
@media (max-width: 768px) {
  /* Global Container Padding */
  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.8rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* Header & Mobile Drawer */
  .site-header {
    padding: 1rem 1.25rem;
  }

  .site-header.scrolled {
    padding: 0.85rem 1.25rem;
  }

  .header-actions {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 3rem 2.2rem;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-subtle);
    z-index: 1001;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.7);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    padding: 0.5rem 0;
    width: 100%;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav-link.active::after {
    bottom: -4px;
    height: 2px;
    background-color: var(--text-accent);
  }

  /* Hero Section */
  .hero-section {
    padding: 7.5rem 1.25rem 5rem;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 0;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(2.3rem, 10.5vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    font-size: 0.74rem;
  }

  .hero-bottom {
    position: absolute;
    bottom: 1.3rem;
    left: 1.25rem;
    right: 1.25rem;
    width: auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .scroll-explore {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .scroll-arrow {
    font-size: 0.95rem;
  }

  .sound-toggle-btn {
    font-size: 0.68rem;
    padding: 0.45rem 0.8rem;
    gap: 0.5rem;
  }

  /* About Section */
  .about-visual {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .actor-stats-card {
    max-width: 320px;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    padding: 1.1rem 1.2rem;
  }

  .actor-stat-item .stat-name {
    font-size: 0.62rem;
  }

  .actor-stat-item .stat-val {
    font-size: 0.84rem;
  }

  .about-text h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 1.2rem;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
    padding-top: 1.2rem;
  }

  .highlight-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
  }

  .about-text .btn {
    width: 100%;
    justify-content: center;
  }

  /* Voice Reels Studio Player */
  .reels-filters {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .reels-filter-btn {
    font-size: 0.7rem;
    padding: 0.55rem 0.9rem;
    flex: 1 1 100%;
    text-align: center;
  }

  .reels-master-deck {
    padding: 1.3rem 1.1rem;
    margin-bottom: 2.2rem;
    border-radius: var(--radius-md);
  }

  .master-deck-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .deck-meta-info {
    gap: 0.8rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .deck-current-title {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .deck-category-tag {
    font-size: 0.72rem;
    margin-top: 0.3rem;
  }

  .deck-actions-right {
    width: 100%;
  }

  .deck-download-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.72rem;
  }

  .deck-controls-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
    margin-top: 0.8rem;
  }

  .deck-main-play-btn {
    align-self: center;
    width: 54px;
    height: 54px;
  }

  .deck-volume-wrap {
    min-width: 100%;
    justify-content: center;
  }

  .reels-tracklist-grid {
    gap: 0.65rem;
  }

  .reel-track-item {
    grid-template-columns: 42px 1fr 38px;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
  }

  .track-num {
    display: none;
  }

  .track-category-pill {
    display: none;
  }

  .track-item-play-btn {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .track-main-title {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .track-tag-line {
    font-size: 0.75rem;
  }

  .track-download-action {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  /* CV Section */
  .cv-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
    padding: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .cv-status-indicator {
    justify-content: center;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.4;
  }

  .cv-top-bar .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.74rem;
  }

  .cv-block-title {
    font-size: 1.12rem;
    margin-bottom: 1.5rem;
  }

  .timeline {
    padding-left: 1.25rem;
  }

  .timeline-dot {
    left: -1.55rem;
    width: 8px;
    height: 8px;
    top: 0.4rem;
  }

  .timeline-item {
    margin-bottom: 2rem;
  }

  .credits-timeline .timeline-item {
    margin-bottom: 1.1rem;
  }

  .credits-timeline .timeline-item.group-end {
    margin-bottom: 2.2rem;
  }

  .timeline-year {
    font-size: 0.72rem;
  }

  .timeline-role {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .timeline-company {
    font-size: 0.84rem;
  }

  .timeline-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .tools-tags {
    gap: 0.4rem;
  }

  .tool-tag {
    font-size: 0.74rem;
    padding: 0.4rem 0.75rem;
  }

  /* Contact Section */
  .contact-info h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .contact-info p {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }

  .contact-form {
    padding: 1.6rem 1.2rem;
    border-radius: var(--radius-md);
  }

  .form-group {
    margin-bottom: 1.2rem;
  }

  /* 16px font-size prevents iOS Safari from automatically zooming in on inputs */
  .form-control,
  input.form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px !important;
    padding: 0.85rem 1rem;
  }

  #submitBtn {
    font-size: 0.78rem;
    padding: 0.95rem 1rem;
    width: 100%;
    letter-spacing: 0.15em;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-systect-credit {
    margin: 0.2rem 0;
  }

  .systect-neon-led {
    font-size: 1.05rem;
    padding: 0.2rem 0.6rem;
  }

  .footer-back-to-top {
    font-size: 0.72rem;
  }
}

/* --- Small Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .header-actions {
    right: 1rem;
  }

  .hero-section {
    padding: 6.5rem 1rem 4.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9.5vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: 0.74rem;
  }

  .hero-bottom {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .about-visual {
    max-width: 280px;
  }

  .actor-stats-card {
    max-width: 280px;
    padding: 0.9rem;
    gap: 0.65rem;
  }

  .actor-stat-item .stat-name {
    font-size: 0.58rem;
  }

  .actor-stat-item .stat-val {
    font-size: 0.8rem;
  }

  .reels-master-deck {
    padding: 1.1rem 0.9rem;
  }

  .deck-current-title {
    font-size: 1.02rem;
  }

  .reel-track-item {
    padding: 0.75rem 0.8rem;
    gap: 0.65rem;
    grid-template-columns: 38px 1fr 34px;
  }

  .track-item-play-btn {
    width: 38px;
    height: 38px;
  }

  .track-download-action {
    width: 34px;
    height: 34px;
  }

  .track-main-title {
    font-size: 0.88rem;
  }

  .track-tag-line {
    font-size: 0.72rem;
  }

  .contact-form {
    padding: 1.3rem 0.95rem;
  }
}
