/* ============================================
   matheusmp4_ — Portfolio
   Black · Red · Bounce · Objective
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --red: #e10600;
  --red-hot: #ff1a12;
  --red-dim: #8b0000;
  --red-glow: rgba(225, 6, 0, 0.45);
  --text: #f5f5f5;
  --text-muted: #9a9a9a;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  animation: pageFade 0.45s ease both;
}

@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

strong {
  color: #fff;
  font-weight: 600;
}

/* ---- Ambient ---- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(225, 6, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 6, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: 500px;
  background: radial-gradient(ellipse, var(--red-glow) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.45; transform: translateX(-50%) scale(1.08); }
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ---- Bounce utilities ---- */
.bounce-hover {
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s ease, background 0.25s ease, border-color 0.25s ease;
}

.bounce-hover:hover {
  transform: translateY(-4px) scale(1.03);
}

.bounce-hover:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.12s;
}

.bounce-in {
  animation: bounceIn 0.85s var(--ease-bounce) both;
  animation-delay: var(--d, 0s);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
  }
  80% {
    transform: translateY(4px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bounce-float {
  animation: floatBounce 3.2s ease-in-out infinite;
}

.bounce-float-slow {
  animation: floatBounce 4.5s ease-in-out infinite;
  animation-delay: 0.6s;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-14px); }
  60% { transform: translateY(-8px); }
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  animation: navDrop 0.7s var(--ease-bounce) both;
}

@keyframes navDrop {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  border-radius: 8px;
  box-shadow: 0 0 20px var(--red-glow);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, transform 0.35s var(--ease-bounce);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  margin-left: 0.5rem;
  box-shadow: 0 4px 20px var(--red-glow);
}

.nav-cta:hover {
  background: var(--red-hot) !important;
  box-shadow: 0 8px 28px var(--red-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-bounce), opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Layout ---- */
main {
  position: relative;
  z-index: 2;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.section-title .accent,
.accent {
  color: var(--red);
}

.section-sub {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 24px var(--red-glow);
}

.btn-primary:hover {
  background: var(--red-hot);
  box-shadow: 0 10px 32px var(--red-glow);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(225, 6, 0, 0.5);
  background: rgba(225, 6, 0, 0.08);
}

.btn-lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  margin-top: 2rem;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0.5rem 0 1.25rem;
}

.title-line {
  display: block;
}

.title-line.accent {
  color: var(--red);
  text-shadow: 0 0 60px var(--red-glow);
}

.hero-bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.04em;
}

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

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.play-orb {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red-hot), var(--red-dim));
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 60px var(--red-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.play-icon {
  width: 48px;
  height: 48px;
  color: #fff;
  margin-left: 6px;
}

.play-orb-ring {
  position: absolute;
  inset: -18px;
  border: 2px solid rgba(225, 6, 0, 0.4);
  border-radius: 50%;
  animation: ringPulse 2.4s ease-out infinite;
}

.play-orb-ring.delay {
  animation-delay: 1.2s;
}

@keyframes ringPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.floating-chip {
  position: absolute;
  padding: 0.55rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.chip-1 {
  top: 12%;
  left: 8%;
  border-color: rgba(225, 6, 0, 0.35);
  color: var(--red-hot);
}

.chip-2 {
  top: 22%;
  right: 6%;
}

.chip-3 {
  bottom: 18%;
  left: 18%;
  background: rgba(225, 6, 0, 0.15);
  border-color: rgba(225, 6, 0, 0.4);
}

/* ---- Carousel ---- */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3.5rem 2rem;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  perspective: 1200px;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s var(--ease-bounce);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 0.25rem;
  opacity: 0.35;
  transform: scale(0.92) rotateY(8deg);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.7s var(--ease-bounce);
  filter: grayscale(0.4) brightness(0.7);
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
  filter: none;
}

.carousel-slide.is-prev {
  transform: scale(0.92) rotateY(-8deg);
}

.slide-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.carousel-slide.is-active .slide-frame img {
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

.slide-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 50%, rgba(0, 0, 0, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.carousel-slide.is-active .slide-overlay,
.slide-frame:hover .slide-overlay {
  opacity: 1;
}

.slide-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px var(--red-glow);
}

.slide-play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.slide-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 60%
  );
  transform: translateX(-100%);
  pointer-events: none;
}

.carousel-slide.is-active .slide-shine {
  animation: shineSweep 3.5s ease-in-out infinite;
}

@keyframes shineSweep {
  0%, 40% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

.slide-meta {
  padding: 1.15rem 0.5rem 0.25rem;
  text-align: center;
}

.slide-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
}

.slide-meta h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  margin: 0.25rem 0 0.4rem;
}

.slide-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.slide-link:hover {
  color: var(--red-hot);
}

.carousel-btn {
  position: absolute;
  top: 32%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.carousel-btn:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 8px 28px var(--red-glow);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.4s var(--ease-bounce), background 0.3s;
}

.dot.is-active {
  width: 28px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}

.carousel-progress {
  margin-top: 1.25rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-dim), var(--red-hot));
  border-radius: 999px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--red-glow);
}

/* Loop bounce pulse on active slide border */
.carousel-slide.is-active .slide-frame {
  animation: borderPulse 2.8s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(225, 6, 0, 0.25);
  }
  50% {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(225, 6, 0, 0.7), 0 0 30px var(--red-glow);
  }
}

/* ---- Player modal ---- */
.player-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  justify-items: center;
  padding: 1.5rem;
}

.player-modal.is-short-modal {
  padding: 1rem;
}

.player-modal[hidden] {
  display: none;
}

.player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.player-box {
  position: relative;
  width: min(960px, 100%);
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(225, 6, 0, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px var(--red-glow);
  background: #000;
}

/*
  Shorts player: size by HEIGHT first, then derive width from 9:16.
  Avoids max-height + fixed width (which left a black bar on the right).
*/
.player-box.is-vertical {
  /* width never exceeds what 9:16 needs for the available height */
  width: min(360px, calc(100vw - 2rem), calc(85vh * 9 / 16));
  height: auto;
  max-height: 85vh;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
}

.player-box.is-vertical .player-embed {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  max-height: none;
  overflow: hidden;
  background: #000;
}

/* Fill the phone frame completely — crop any YT letterboxing inside the iframe */
.player-box.is-vertical .player-embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.12);
  transform-origin: center center;
}

.bounce-modal {
  animation: bounceModal 0.5s var(--ease-bounce);
}

@keyframes bounceModal {
  0% { opacity: 0; transform: scale(0.8) translateY(30px); }
  70% { transform: scale(1.03) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.player-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.player-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-warning {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem;
  text-align: center;
  background: #0d0d0d;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.embed-warning-title {
  color: var(--red-hot);
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
}

.embed-warning code {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: rgba(225, 6, 0, 0.12);
  border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
}

.player-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.player-close:hover {
  background: var(--red);
}

/* ---- Shorts ---- */
.shorts-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  max-width: 720px;
  margin: 0 auto;
  align-items: stretch;
  justify-items: stretch;
}

.short-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.short-card:hover {
  border-color: rgba(225, 6, 0, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(225, 6, 0, 0.15);
}

.short-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

/* Absolute fill + slight zoom crops letterbox bars from YT thumbs */
.short-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.42);
  transition: transform 0.55s var(--ease-out);
}

.short-card:hover .short-thumb img {
  transform: scale(1.5);
}

.short-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
}

.short-card:hover .short-play {
  opacity: 1;
}

.short-play svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 8px 24px var(--red-glow);
  margin-left: 4px;
  animation: microBounce 1.6s ease-in-out infinite;
}

@keyframes microBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.short-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.6rem;
  background: var(--red);
  border-radius: 6px;
}

.short-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.short-info a,
.short-watch {
  color: var(--red-hot);
  font-weight: 600;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

.short-watch:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---- Clients ---- */
.client-card {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
  box-shadow: 0 0 16px var(--red-glow);
}

.client-card:hover {
  border-color: rgba(225, 6, 0, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.client-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red-hot), var(--red-dim));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 0 24px var(--red-glow);
  overflow: hidden;
  border: 2px solid rgba(225, 6, 0, 0.55);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.client-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.client-subs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-hot);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulseDot 1.8s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.6); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.client-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.client-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---- Contact ---- */
.contact {
  padding-bottom: 5rem;
}

.contact-card {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite;
}

.contact-title {
  position: relative;
  margin-bottom: 1rem;
}

.contact-lead {
  position: relative;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  padding: 1.1rem 1.2rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-item:hover {
  border-color: rgba(225, 6, 0, 0.5);
  background: rgba(225, 6, 0, 0.08);
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(225, 6, 0, 0.15);
  border-radius: 10px;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-item small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-item strong {
  font-size: 0.9rem;
  word-break: break-all;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: #fff;
}

/* ---- Entrance / reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-bounce);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger helpers */
.reveal-delay-1 { --reveal-delay: 80ms; }
.reveal-delay-2 { --reveal-delay: 160ms; }
.reveal-delay-3 { --reveal-delay: 240ms; }
.reveal-delay-4 { --reveal-delay: 320ms; }
.reveal-delay-5 { --reveal-delay: 400ms; }
.reveal-delay-6 { --reveal-delay: 480ms; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 1.5rem);
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    min-height: 240px;
  }

  .play-orb {
    width: 120px;
    height: 120px;
  }

  .play-icon {
    width: 36px;
    height: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .client-badge {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.25rem;
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-bounce), opacity 0.3s;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .carousel {
    padding: 0 2.75rem 2rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    top: 28%;
  }

  .shorts-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
    gap: 0.65rem;
  }

  .short-info {
    padding: 0.65rem 0.5rem;
    font-size: 0.72rem;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
}

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

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