/* sdv-build:mpvjjev9 */
/* --- Steve Does Visuals --- */
:root {
  --bg: #0d0d0d;
  --bg-card: #1a1a1a;
  --text: #f2f2f2;
  --text-muted: #a3a3a3;
  --accent: #ff3366;
  --accent-soft: rgba(255, 51, 102, 0.15);
  --logo-blue: #2aa6d6;
  --logo-blue-soft: rgba(42, 166, 214, 0.2);
  --logo-gradient: linear-gradient(105deg, #59b1de 0%, #2aa6d6 40%, #3b91c8 100%);
  --logo-gradient-hover: linear-gradient(105deg, #6bc4f0 0%, #3bb5e8 40%, #4aa0d8 100%);
  --border: #2a2a2a;
  --font-sans: "Outfit", "Space Grotesk", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --space: 1.25rem;
  --radius: 8px;
  --transition: 0.2s ease;
}

/* Page loading overlay — shown until window load, then fades out */
.page-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Main content fades in after load (works with loading overlay) */
main {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-loaded main {
  opacity: 1;
}

.page-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--logo-blue);
  border-radius: 50%;
  animation: pageLoadingSpin 0.8s linear infinite;
}

@keyframes pageLoadingSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .page-loading-spinner {
    animation: none;
    border-top-color: var(--logo-blue);
  }
}

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

html {
 scroll-behavior: smooth;
 overflow-x: hidden;
 touch-action: pan-y;
 -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  touch-action: none;
  z-index: -1;
  /* Oversized layer so background-position drift reads as a slow, subtle wash */
  background:
    radial-gradient(ellipse 90% 70% at 25% 20%, rgba(90, 26, 80, 0.09) 0%, transparent 52%),
    radial-gradient(ellipse 75% 55% at 78% 82%, rgba(180, 40, 50, 0.07) 0%, transparent 52%),
    radial-gradient(ellipse 65% 45% at 50% 48%, rgba(70, 20, 60, 0.05) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 90% 15%, rgba(120, 30, 40, 0.04) 0%, transparent 45%);
  background-size: 160% 160%;
  background-position: 30% 25%;
  animation: siteBgGradientDrift 32s ease-in-out infinite;
}

@keyframes siteBgGradientDrift {
  0% {
    background-position: 28% 22%;
  }
  20% {
    background-position: 62% 38%;
  }
  45% {
    background-position: 48% 72%;
  }
  70% {
    background-position: 18% 58%;
  }
  100% {
    background-position: 28% 22%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
    background-size: 100% 100%;
    background-position: center center;
    background:
      radial-gradient(ellipse 80% 50% at 20% 20%, rgba(80, 30, 70, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 60% 40% at 80% 80%, rgba(140, 35, 45, 0.06) 0%, transparent 50%),
      radial-gradient(ellipse 50% 30% at 50% 50%, rgba(60, 20, 50, 0.04) 0%, transparent 60%);
  }
}
/* SDV Color Wheel Gradient */
/* Sitewide dark page background */
html::before {
 content: "";
 position: fixed;
 inset: 0;
 pointer-events: none;
 touch-action: none;
 z-index: -3;
 background: linear-gradient(135deg, #1a0a2e 0%, #2e0a1a 35%, #1a0a1a 60%, #2e0a0a 100%);
}

body::after {
 content: "";
 position: fixed;
 inset: 0;
 pointer-events: none;
 touch-action: none;
 z-index: -2;
 background:
  radial-gradient(ellipse 75% 60% at 15% 20%, rgba(60, 16, 56, 0.35) 0%, transparent 55%),
  radial-gradient(ellipse 70% 55% at 88% 80%, rgba(46, 10, 26, 0.3) 0%, transparent 52%),
  radial-gradient(ellipse 55% 45% at 50% 45%, rgba(40, 10, 10, 0.22) 0%, transparent 58%);
 opacity: 0.55;
}


main {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition), border-color var(--transition);
}

a:hover {
  color: var(--accent);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space) 1.5rem;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease,
    border-color var(--transition);
}

.header.scrolled,
.header.nav--scrolled {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  min-width: 0;
  transition: opacity 0.2s ease;
}

.logo:active .logo-img {
  transform: scale(0.98);
}

.logo-img {
  height: 2rem;
  width: auto;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(42, 166, 214, 0.35));
}

.logo-img-wide {
  height: 2.25rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--logo-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-links a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--accent);
}

.nav-cta {
  padding: 0.45rem 0.85rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--logo-gradient);
  color: #fff !important;
  border-radius: var(--radius);
  border: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--logo-gradient-hover);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(42, 166, 214, 0.35);
}

.nav-cta:active {
  transform: scale(0.97);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 6rem max(1rem, env(safe-area-inset-left)) 4rem max(1rem, env(safe-area-inset-right));
  opacity: 1;
  transform: none;
  overflow: hidden;
  touch-action: pan-y;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  touch-action: none;
}

/* Home hero: dual video loop (see index.html) + static image fallback */
.hero-slideshow-fallback {
  display: block;
  pointer-events: none;
  touch-action: none;
}

.hero-slideshow-videos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  touch-action: none;
}

.hero-slideshow-videos .hero-bg-video {
  opacity: 0;
}

.hero--video-ready .hero-slideshow-fallback {
  display: none;
}

.hero--video-ready .hero-slideshow-videos .hero-bg-video {
  opacity: 0.48;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.48;
  transform-origin: center center;
  pointer-events: none;
  touch-action: none;
}

.hero-bg-video--inactive {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: none;
}

.hero--video-failed .hero-slideshow-videos {
  display: none;
}

.hero--video-failed .hero-slideshow-fallback {
  display: block !important;
  opacity: 0.48;
}

.hero-video-play-btn {
  display: none;
  margin-top: 1rem;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: rgba(12, 14, 18, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.hero-video-play-btn:hover {
  background: rgba(42, 166, 214, 0.28);
  border-color: rgba(42, 166, 214, 0.52);
}

.hero-video-play-btn:focus-visible {
  outline: 2px solid var(--logo-blue);
  outline-offset: 2px;
}

.hero--video-failed .hero-video-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-intro-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.85s ease;
  pointer-events: none;
  touch-action: none;
}

.hero-intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-intro-skip {
  position: absolute;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  right: max(1.1rem, env(safe-area-inset-right));
  z-index: 2;
  pointer-events: auto;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.hero-intro-skip:hover {
  background: rgba(42, 166, 214, 0.22);
  border-color: rgba(42, 166, 214, 0.45);
  color: #fff;
}

.hero-intro-skip:focus-visible {
  outline: 2px solid var(--logo-blue);
  outline-offset: 2px;
}

.hero-intro-video-wrap--done {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.85s ease, visibility 0s linear 0.85s;
}

.hero-intro-video-wrap--done .hero-intro-skip {
  display: none;
}

.hero-slideshow-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.48;
  transition: opacity 0.3s ease;
  transform-origin: center center;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  pointer-events: none;
  touch-action: none;
}

/* Animated color wash + vignette over the photo */
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  touch-action: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 18% 28%, rgba(42, 166, 214, 0.38) 0%, transparent 52%),
    radial-gradient(ellipse 75% 55% at 88% 72%, rgba(59, 145, 200, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 65% 45% at 48% 52%, rgba(107, 196, 240, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 120% 100% at 50% 100%, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
  background-size: 180% 180%, 160% 160%, 200% 200%, 100% 100%;
  background-position: 20% 30%, 80% 70%, 50% 40%, center bottom;
  mix-blend-mode: screen;
  opacity: 0.92;
  animation: heroBackdropDrift 16s ease-in-out infinite, heroBackdropPulse 7s ease-in-out infinite;
}

@keyframes heroBackdropDrift {
  0%, 100% {
    background-position: 15% 25%, 82% 75%, 45% 55%, center bottom;
    opacity: 0.88;
  }
  33% {
    background-position: 42% 38%, 58% 62%, 62% 35%, center bottom;
    opacity: 1;
  }
  66% {
    background-position: 28% 55%, 75% 40%, 38% 68%, center bottom;
    opacity: 0.94;
  }
}

@keyframes heroBackdropPulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

/* Hero card — single frosted panel (no bezel / scanlines) */
.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 58rem);
  max-width: 100%;
  margin: 0 auto;
  min-width: 0;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.35rem, 4.5vw, 3rem);
  background: rgba(12, 14, 18, 0.78);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-radius: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(42, 166, 214, 0.1),
    0 24px 56px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(20px);
  animation: heroBoxEnter 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

@keyframes heroBoxEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.09) translate(-1.5%, 0.5%);
  }
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, calc(1.1rem + 5.5vw), 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 clamp(1rem, 2vw, 1.35rem);
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  position: relative;
}

.hero-title::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: clamp(0.85rem, 2vw, 1.15rem);
  max-width: min(18rem, 55%);
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    rgba(42, 166, 214, 0.85) 0%,
    rgba(42, 166, 214, 0.15) 85%,
    transparent 100%
  );
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroTitleUnderline 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

@keyframes heroTitleUnderline {
  to {
    transform: scaleX(1);
  }
}

.hero-lead {
  font-size: clamp(1.2rem, calc(0.65rem + 2.2vw), 1.7rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(220, 222, 226, 0.95);
  margin: 0;
  max-width: min(52ch, 100%);
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}

.hero-detail {
  font-size: clamp(1.05rem, calc(0.55rem + 1.6vw), 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  margin: clamp(1.35rem, 3vw, 1.85rem) 0 0;
  padding: clamp(1rem, 2.5vw, 1.35rem) 0 0;
  border-top: 1px solid rgba(42, 166, 214, 0.28);
  color: rgba(210, 215, 222, 0.98);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}

.hero-detail-line {
  display: block;
}

.hero-detail-line--tail {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(42, 166, 214, 0.95);
}

/* Legacy class names (older pages) */
.hero-tagline {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.hero-tagline-support {
  font-size: 1.1rem;
  margin: 0 0 2rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero .btn {
  align-self: flex-start;
}

/* Hero entrance animation — staggered blur + lift */
.hero-content .hero-title {
  opacity: 0;
  animation: heroLineIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.hero-content .hero-lead {
  opacity: 0;
  animation: heroLineIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.58s forwards;
}

.hero-content .hero-detail {
  opacity: 0;
  animation: heroLineIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.82s forwards;
}

.hero-content .hero-tagline,
.hero-content .hero-tagline-support {
  opacity: 0;
  animation: heroLineIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}
.hero-content .hero-tagline-support {
  animation-delay: 0.72s;
}

.hero .btn {
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.35s forwards;
}

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

@keyframes heroLineIn {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  animation: heroScrollHintFade 0.8s ease 1.2s forwards;
  transition: opacity 0.3s ease;
}

.hero-scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes heroScrollHintFade {
  to { opacity: 0.7; }
}

.hero-scroll-hint:hover {
  opacity: 1;
}

.hero-scroll-hint-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-hint-chevron {
  width: 20px;
  height: 12px;
  background: transparent;
  border: none;
  border-left: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint-chevron {
    animation: none;
  }
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform var(--transition);
}

.btn-primary {
  background: var(--logo-gradient);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--logo-gradient-hover);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(42, 166, 214, 0.4);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* --- Sections --- */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered list animations when section becomes visible */
.skills-list li,
.products-list li,
.services-list li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.section.visible .skills-list li,
.section.visible .products-list li,
.section.visible .services-list li {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .skills-list li:nth-child(1) { transition-delay: 0.05s; }
.section.visible .skills-list li:nth-child(2) { transition-delay: 0.1s; }
.section.visible .skills-list li:nth-child(3) { transition-delay: 0.15s; }
.section.visible .skills-list li:nth-child(4) { transition-delay: 0.2s; }
.section.visible .skills-list li:nth-child(5) { transition-delay: 0.25s; }
.section.visible .skills-list li:nth-child(6) { transition-delay: 0.3s; }
.section.visible .skills-list li:nth-child(7) { transition-delay: 0.35s; }
.section.visible .skills-list li:nth-child(8) { transition-delay: 0.4s; }
.section.visible .skills-list li:nth-child(9) { transition-delay: 0.45s; }
.section.visible .skills-list li:nth-child(10) { transition-delay: 0.5s; }
.section.visible .skills-list li:nth-child(n+11) { transition-delay: 0.55s; }

.section.visible .products-list li:nth-child(1) { transition-delay: 0.05s; }
.section.visible .products-list li:nth-child(2) { transition-delay: 0.1s; }
.section.visible .products-list li:nth-child(3) { transition-delay: 0.15s; }
.section.visible .products-list li:nth-child(4) { transition-delay: 0.2s; }
.section.visible .products-list li:nth-child(5) { transition-delay: 0.25s; }
.section.visible .products-list li:nth-child(6) { transition-delay: 0.3s; }
.section.visible .products-list li:nth-child(7) { transition-delay: 0.35s; }
.section.visible .products-list li:nth-child(8) { transition-delay: 0.4s; }
.section.visible .products-list li:nth-child(9) { transition-delay: 0.45s; }
.section.visible .products-list li:nth-child(n+10) { transition-delay: 0.5s; }

.section.visible .services-list li:nth-child(1) { transition-delay: 0.05s; }
.section.visible .services-list li:nth-child(2) { transition-delay: 0.1s; }
.section.visible .services-list li:nth-child(3) { transition-delay: 0.15s; }
.section.visible .services-list li:nth-child(4) { transition-delay: 0.2s; }
.section.visible .services-list li:nth-child(5) { transition-delay: 0.25s; }
.section.visible .services-list li:nth-child(6) { transition-delay: 0.3s; }
.section.visible .services-list li:nth-child(n+7) { transition-delay: 0.35s; }

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

/* Bio page: blended sections */
.bio-page .section-block {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}

.bio-page .section-block:first-child {
  border-top: none;
  padding-top: 4rem;
}

.bio-page .section-block .section-title {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(42, 166, 214, 0.45);
  display: inline-block;
}

.bio-page-title {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.bio-page-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 55ch;
  line-height: 1.65;
}

.bio-page .featured-in,
.bio-page .skills .skills-intro,
.bio-page .products .products-intro {
  max-width: 60ch;
}

.bio-divider {
  height: 1px;
  margin: 1.85rem 0 1.6rem;
  max-width: 60ch;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(42, 166, 214, 0.45), transparent);
}

.bio-text-lead {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.75;
}

.bio-text-sdv {
  font-size: 1.1rem;
}

.bio-sdv-mark {
 color: #00d4ff;
  font-weight: 600;
}

.featured-in-card {
  max-width: 52ch;
  padding: 1.5rem 1.75rem;
  position: relative;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.12) 0%, rgba(26, 26, 26, 0.88) 42%, rgba(26, 26, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.featured-in-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
  pointer-events: none;
}

.featured-in-meta {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--logo-blue);
  margin: 0 0 0.5rem;
}

.featured-in-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.25;
  color: var(--text);
}

.featured-in-summary {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.featured-in-cta {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--logo-blue);
  border-bottom: 2px solid rgba(42, 166, 214, 0.4);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.featured-in-cta:hover {
  color: var(--text);
  border-bottom-color: var(--logo-blue);
}

/* --- Bio + Highlights tabs --- */
.tabs {
  margin-top: 0.5rem;
}

.tab-list {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  padding: 0.55rem 1.1rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--logo-blue);
  border-bottom-color: var(--logo-blue);
}

.tab-panel {
  display: none;
}

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

.bio-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 520px) {
  .bio-layout {
    flex-direction: row;
    gap: 2rem;
  }
}

.bio-headshot {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  flex-shrink: 0;
}

.bio-headshot .headshot,
.bio-headshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-content {
  flex: 1;
  min-width: 0;
}

.bio-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0;
  line-height: 1.75;
}

.bio-text + .bio-text {
  margin-top: 1.15rem;
}

.highlights-blurb {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 62ch;
}

.highlights-blurb + .highlights-blurb {
  margin-top: 0.85rem;
}

.highlights-blurb--lead {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.65;
}

/* Experience counter animation */
.experience-counter {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  position: relative;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.10) 0%, rgba(26, 26, 26, 0.88) 45%, rgba(26, 26, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: center;
  max-width: 320px;
  overflow: hidden;
}

.experience-counter:not(.experience-counter--hero)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
  pointer-events: none;
}

.experience-counter--hero {
  margin: 0 0 1.75rem;
  padding: 2.25rem 1.5rem 2.5rem;
  max-width: none;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(42, 166, 214, 0.38);
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.16) 0%, var(--bg-card) 50%, var(--bg-card) 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.experience-counter-number,
.experience-counter-suffix {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.experience-counter--hero .experience-counter-number,
.experience-counter--hero .experience-counter-suffix {
  font-size: clamp(3.25rem, 14vw, 5.75rem);
  font-weight: 700;
}

.experience-counter-number {
  display: inline-block;
  min-width: 2ch;
}

.experience-counter-label {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.experience-counter--hero .experience-counter-label {
  font-size: 1.1rem;
  margin-top: 0.65rem;
  text-transform: none;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.experience-counter.animated .experience-counter-number {
  animation: experienceCounterPulse 0.5s ease;
}

@keyframes experienceCounterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.experience-seasons,
.experience-events,
.experience-rocket,
.experience-concerts {
  margin-top: 2rem;
}

.experience-concerts-blurb {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.experience-sublurb {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.75rem;
  max-width: 60ch;
}

.experience-concerts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  font-size: 0.9rem;
}

.experience-concerts-list li {
  margin: 0;
}

.experience-concerts-list li::after {
  content: " · ";
  color: var(--text-muted);
  opacity: 0.6;
}

.experience-concerts-list li:last-child::after {
  content: none;
}

.experience-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--logo-blue, var(--text));
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.experience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.experience-list li {
  margin: 0.4rem 0;
  padding-left: 0;
}

.experience-list-compact li {
  margin: 0.2rem 0;
  font-size: 1.05rem;
}

.experience-timeline li {
  display: grid;
  grid-template-columns: minmax(5.75rem, 8.5rem) minmax(0, 1fr);
  gap: 0.35rem 1.15rem;
  align-items: start;
  padding: 0.55rem 0;
  margin: 0;
  border-bottom: 1px solid rgba(42, 42, 42, 0.85);
}

.experience-timeline li:last-child {
  border-bottom: none;
}

.timeline-year {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: #00d4ff;
  line-height: 1.4;
}

.timeline-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.experience-label-sub {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.experience-list li strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 0.25rem;
}

.experience-seasons-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.25rem 1.5rem;
  font-size: 1.05rem;
}

@media (max-width: 520px) {
  .experience-timeline li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.65rem 0;
  }

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

.highlights-press {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 1.5rem 0 0;
  max-width: 60ch;
}

.highlights-press a {
  color: var(--logo-blue, var(--accent));
  font-weight: 500;
}

.highlights-press a:hover {
  text-decoration: underline;
}

.featured-in .section-title {
  margin-bottom: 1rem;
}

.featured-in-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.featured-in-slide {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.featured-in-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.featured-in-slide-img:nth-child(1) { animation: featuredSlide1 12s ease-in-out infinite; }
.featured-in-slide-img:nth-child(2) { animation: featuredSlide2 12s ease-in-out infinite; }
.featured-in-slide-img:nth-child(3) { animation: featuredSlide3 12s ease-in-out infinite; }

@keyframes featuredSlide1 {
  0%, 32% { opacity: 1; }
  33%, 100% { opacity: 0; }
}
@keyframes featuredSlide2 {
  0%, 32% { opacity: 0; }
  33%, 65% { opacity: 1; }
  66%, 100% { opacity: 0; }
}
@keyframes featuredSlide3 {
  0%, 65% { opacity: 0; }
  66%, 99% { opacity: 1; }
  100% { opacity: 0; }
}

.featured-in-link {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
  flex: 1;
  min-width: 0;
}

.featured-in-link a {
  color: var(--logo-blue, var(--accent));
  font-weight: 500;
}

.featured-in-link a:hover {
  text-decoration: underline;
}

.personal-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.personal-championship {
  margin-bottom: 1.5rem;
}

.personal-championship .personal-subtitle {
  margin-top: 0;
}

.personal-championship-caption {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.personal-championship-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 480px;
}

.personal-championship-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

@media (max-width: 480px) {
  .personal-championship-photos {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

.top-ten-records {
  list-style: decimal;
  margin: 0 0 0;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 55ch;
}

.top-ten-records li {
  margin: 0.35rem 0;
}

.top-ten-records strong {
  color: var(--text);
}

/* Hidden easter egg: Taco Bell order (hover the 🌮 in Personal) */
.bio-secret-wrap {
  margin: 1.5rem 0 0;
  padding: 0;
  line-height: 1;
}

.bio-secret {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  cursor: pointer;
  position: relative;
}

.bio-secret-emoji {
  opacity: 0.25;
  transition: opacity 0.2s ease;
}

.bio-secret:hover .bio-secret-emoji {
  opacity: 0.7;
}

.bio-secret-order {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.7rem;
  transition: max-width 0.3s ease, opacity 0.2s ease;
}

.bio-secret:hover .bio-secret-order,
.bio-secret.bio-secret-expanded .bio-secret-order {
  max-width: 20rem;
  white-space: normal;
  opacity: 1;
}

.bio-secret.bio-secret-expanded .bio-secret-emoji {
  opacity: 0.7;
}

/* --- Portfolio --- */
.portfolio-intro {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 55ch;
}

.portfolio-placeholder {
  margin-top: 2rem;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.portfolio-placeholder-text {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.portfolio-loading {
  grid-column: 1 / -1;
  color: var(--text-muted);
  margin: 0;
}

.portfolio-loading-error a {
  color: #00d4ff;
  text-decoration: underline;
}

.portfolio-loading-error code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: var(--bg-card);
  border-radius: 4px;
}

.portfolio-media-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.10) 0%, rgba(26, 26, 26, 0.88) 45%, rgba(26, 26, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1;
  min-height: 160px;
  text-decoration: none;
  color: inherit;
}

.portfolio-media-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
  pointer-events: none;
  z-index: 0;
}

.portfolio-media-card > * {
  position: relative;
  z-index: 1;
}

.portfolio-media-card:hover {
  border-color: rgba(42, 166, 214, 0.6);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(42, 166, 214, 0.2);
}

/* Thumb wrapper: always visible box (like Supervoid-style portfolio grids) */
.portfolio-thumb-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0; /* allow flex shrink; aspect-ratio defines size */
  aspect-ratio: 1 / 1; /* force square so images have a real box to fill */
  background: var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb-wrap .thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle; /* avoid baseline gap */
}

.portfolio-thumb-wrap .thumb.thumb-failed {
  display: none;
}

.portfolio-thumb-wrap .thumb-fallback-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-muted);
  opacity: 0.7;
  background: var(--border);
}

.portfolio-thumb-wrap .thumb-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
}

.portfolio-media-card .label {
  display: block;
  padding: 0.5rem 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--border);
}

/* --- Inner pages (Bio, Skills, Gallery) --- */
.gallery-page,
.inner-page {
  padding-top: 5rem;
}

html[data-sdv-page="work"] .gallery-page,
html[data-sdv-page="bio"] .inner-page,
html[data-sdv-page="capabilities"] .inner-page,
html[data-sdv-page="faq"] .inner-page {
  padding-top: var(--site-top-offset, 90px);
}

/* Gallery sections are injected by JS and don't get .visible from the homepage scroll observer */
.gallery-page .section {
  opacity: 1;
  transform: none;
}

.gallery-intro {
  margin-bottom: 2rem;
}

.gallery-section {
  margin-bottom: 3rem;
}

.gallery-section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.portfolio-sample-visualizer {
  margin-top: 2rem;
}

.portfolio-noise-prompt {
  margin-top: 2rem;
}

.portfolio-noise-prompt .gallery-section-title {
  margin-top: 0;
}

.portfolio-video-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.portfolio-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.portfolio-broadcast-cg,
.portfolio-resolume-mixes {
  margin-top: 2rem;
}

.portfolio-broadcast-cg .gallery-section-title,
.portfolio-resolume-mixes .gallery-section-title {
  margin-top: 0;
}

.portfolio-sample-visualizer .gallery-section-title {
  margin-top: 0;
}

.portfolio-sample-visualizer-caption {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.portfolio-sample-visualizer-photos,
.portfolio-broadcast-cg-photos,
.portfolio-resolume-mixes-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 960px;
}

.portfolio-gallery-item {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.portfolio-gallery-item:focus {
  outline: 2px solid var(--logo-blue);
  outline-offset: 2px;
}

.portfolio-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.portfolio-sample-visualizer-photos .portfolio-gallery-item,
.portfolio-broadcast-cg-photos .portfolio-gallery-item,
.portfolio-resolume-mixes-photos .portfolio-gallery-item {
  aspect-ratio: 16 / 10;
}

.portfolio-sample-visualizer-photos .portfolio-gallery-item img,
.portfolio-broadcast-cg-photos .portfolio-gallery-item img,
.portfolio-resolume-mixes-photos .portfolio-gallery-item img {
  border-radius: 10px;
  border: 1px solid var(--border);
}

.portfolio-sample-visualizer-img,
.portfolio-broadcast-cg-img,
.portfolio-resolume-mixes-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

@media (max-width: 520px) {
  .portfolio-sample-visualizer-photos,
  .portfolio-broadcast-cg-photos,
  .portfolio-resolume-mixes-photos {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

.portfolio-concert-posters {
  margin-top: 2rem;
}

.portfolio-concert-posters .gallery-section-title {
  margin-top: 0;
}

.portfolio-concert-posters-caption {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.portfolio-concert-posters-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

@media (max-width: 600px) {
  .portfolio-concert-posters-photos {
    grid-template-columns: 1fr;
    max-width: min(480px, 100%);
  }
}

.portfolio-concert-posters-photos .portfolio-gallery-item {
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  overflow: hidden;
}

.portfolio-concert-posters-photos .portfolio-gallery-item img {
  object-fit: contain;
}

.portfolio-concert-poster-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.portfolio-championship {
  margin-top: 2rem;
}

.bio-page .bio-arena-floor .portfolio-championship-caption {
  margin-bottom: 1.35rem;
}

.bio-arena-floor-more {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.bio-arena-floor-more a {
  color: #00d4ff;
  font-weight: 500;
  border-bottom: 1px solid rgba(42, 166, 214, 0.35);
  transition: color var(--transition), border-color var(--transition);
}

.bio-arena-floor-more a:hover {
  color: var(--text);
  border-bottom-color: var(--logo-blue);
}

.portfolio-championship .gallery-section-title {
  margin-top: 0;
}

.portfolio-championship-caption {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.portfolio-championship-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
}

.portfolio-championship-photos .portfolio-gallery-item {
  aspect-ratio: 1;
}

.portfolio-championship-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

@media (max-width: 520px) {
  .portfolio-championship-photos {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Demo preview cards: same look as image items, click opens demo in new tab */
.portfolio-demo-preview {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-demo-preview:hover {
  border-color: rgba(42, 166, 214, 0.6);
  box-shadow: 0 4px 16px rgba(42, 166, 214, 0.2);
}

.portfolio-demo-preview img,
.portfolio-demo-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  vertical-align: middle;
}

.portfolio-demo-preview img {
  object-fit: cover;
}

.portfolio-demo-preview iframe {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--bg-card);
}

/* VJ demos grid: same layout as sample visualizer (16/10 previews) */
.portfolio-vj-demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.portfolio-vj-demos-grid .portfolio-demo-preview {
  aspect-ratio: 16 / 10;
}

@media (min-width: 640px) {
  .portfolio-vj-demos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Hide raw file names under gallery thumbnails for a cleaner look */
.gallery-page .portfolio-media-card .label {
  display: none;
}

/* Work page — open layout, glass captions, tight section rhythm */
.work-page.gallery-page {
 overflow: visible;
 isolation: auto;
}

.work-page .work-page-intro {
 max-width: 960px;
 padding: 1.25rem 1.5rem 0;
 margin: 0 auto 60px;
 display: flex;
 flex-direction: column;
 gap: 0.75rem;
 overflow: visible;
}

.work-page .work-page-intro .section-title {
 margin: 0 0 0.25rem;
}

.work-page .work-page-intro .page-lead {
 margin: 0;
 font-size: 1.1rem;
 line-height: 1.65;
 color: var(--text-muted);
}

.work-page .work-stat-strip {
 margin: 0.5rem 0 0;
 padding: 14px 20px;
 text-align: center;
 background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.12);
 border-radius: 8px;
 overflow: visible;
}

.work-page .work-stat-strip-text {
 margin: 0;
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 gap: 0.35rem 0.65rem;
 font-family: "Outfit", system-ui, sans-serif;
 font-size: 0.78rem;
 font-weight: 700;
 font-style: normal;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--tier-live);
 line-height: 1.5;
}

.work-page .work-stat-sep {
 color: rgba(255, 255, 255, 0.35);
 font-weight: 400;
}

.work-page .section.work-block {
 position: relative;
 max-width: 960px;
 margin: 0 auto 60px;
 padding: 0 1.35rem;
 background: transparent;
 border: none;
 border-radius: 0;
 box-shadow: none;
 overflow: visible;
 isolation: auto;
 display: flex;
 flex-direction: column;
 gap: 16px;
}

.work-page .section.work-block::before {
 display: none;
}

.work-page .section.work-block:first-of-type {
 padding-top: 0;
}

.work-page .work-block-title {
 font-family: var(--font-sans);
 font-size: 1.4rem;
 font-weight: 800;
 color: var(--tier-color, var(--text));
 margin: 0;
 padding: 0 0 0.35rem;
 border: none;
 line-height: 1.25;
 letter-spacing: 0.02em;
 text-transform: none;
}

.work-page .work-block-title::after {
 content: "";
 display: block;
 width: 100%;
 max-width: 14rem;
 height: 3px;
 margin-top: 0.5rem;
 border-radius: 2px;
}

.work-page [data-sdv-tier="graphics"] .work-block-title::after {
 background: var(--tier-graphics);
 box-shadow: 0 0 12px rgba(var(--tier-graphics-rgb), 0.45);
}

.work-page [data-sdv-tier="live"] .work-block-title::after {
 background: var(--tier-live);
 box-shadow: 0 0 12px rgba(var(--tier-live-rgb), 0.45);
}

.work-page [data-sdv-tier="led"] .work-block-title::after {
 background: var(--tier-led);
 box-shadow: 0 0 12px rgba(var(--tier-led-rgb), 0.4);
}

.work-page [data-sdv-tier="web"] .work-block-title::after {
 background: var(--tier-web);
 box-shadow: 0 0 12px rgba(var(--tier-web-rgb), 0.45);
}

.work-page .work-block-caption {
 font-size: 1rem;
 line-height: 1.65;
 color: var(--text-muted);
 margin: 0;
 max-width: none;
 padding: 16px 20px;
 background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.12);
 border-radius: 8px;
 overflow: visible;
}

.work-page .work-block .portfolio-broadcast-cg-photos,
.work-page .work-block .portfolio-concert-posters-photos,
.work-page .work-block .portfolio-sample-visualizer-photos,
.work-page .work-block .portfolio-video-wrap,
.work-page .work-block .portfolio-vj-demos-grid,
.work-page .work-block .work-posters-card {
 margin: 0;
}

/* Broadcast CG — 2×2, tall tiles, pink hover */
.work-page .portfolio-broadcast-cg-photos {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 1rem;
 max-width: 960px;
}

.work-page .portfolio-broadcast-cg-photos .portfolio-gallery-item {
 aspect-ratio: unset;
 height: 220px;
 border-radius: 10px;
 overflow: hidden;
 transition: box-shadow 0.3s ease;
}

.work-page .portfolio-broadcast-cg-photos .portfolio-gallery-item img {
 display: block;
 width: 100%;
 height: 220px;
 object-fit: cover;
 border-radius: 10px;
 border: 1px solid rgba(255, 255, 255, 0.1);
 transition: transform 0.3s ease;
}

.work-page .portfolio-broadcast-cg .portfolio-gallery-item:hover,
.work-page .portfolio-broadcast-cg .portfolio-gallery-item:focus-visible {
 transform: none;
 box-shadow: 0 8px 32px rgba(255, 61, 127, 0.3);
}

.work-page .portfolio-broadcast-cg .portfolio-gallery-item:hover img,
.work-page .portfolio-broadcast-cg .portfolio-gallery-item:focus-visible img {
 transform: scale(1.03);
}

/* Generative motion video */
.work-page .portfolio-video-wrap {
 max-width: 960px;
 border-radius: 10px;
 overflow: hidden;
}

.work-page .portfolio-video {
 border-radius: 10px;
 border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Concert visual demos — 4×2, green hover + label */
.work-page .portfolio-vj-demos-grid {
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 1rem;
 max-width: 960px;
}

.work-page .portfolio-vj-demos-grid .portfolio-demo-preview {
 position: relative;
 height: 180px;
 aspect-ratio: unset;
 border-radius: 10px;
 overflow: hidden;
 border: 1px solid rgba(255, 255, 255, 0.1);
 transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.work-page .portfolio-vj-demos-grid .portfolio-demo-preview iframe {
 height: 100%;
 width: 100%;
 border: 0;
 display: block;
}

.work-page .portfolio-vj-loop-label {
 position: absolute;
 left: 0.65rem;
 bottom: 0.65rem;
 z-index: 2;
 padding: 0.25rem 0.5rem;
 font-size: 0.65rem;
 font-weight: 700;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: #fff;
 background: rgba(0, 0, 0, 0.55);
 border-radius: 4px;
 opacity: 0;
 pointer-events: none;
 transition: opacity 0.3s ease;
}

.work-page .portfolio-visual-demos .portfolio-demo-preview:hover,
.work-page .portfolio-visual-demos .portfolio-demo-preview:focus-visible {
 transform: scale(1.02);
 border-color: rgba(var(--tier-led-rgb), 0.45);
 box-shadow: 0 8px 32px rgba(0, 255, 136, 0.25);
}

.work-page .portfolio-visual-demos .portfolio-demo-preview:hover .portfolio-vj-loop-label,
.work-page .portfolio-visual-demos .portfolio-demo-preview:focus-visible .portfolio-vj-loop-label {
 opacity: 1;
}

/* Concert posters — glass card, orange accent, tall images */
.work-page .work-posters-card {
 padding: 1.25rem;
 background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.12);
 border-left: 4px solid var(--tier-web);
 border-radius: 8px;
 overflow: visible;
}

.work-page .portfolio-concert-posters-photos {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 1rem;
 max-width: 100%;
 margin: 0;
}

.work-page .portfolio-concert-posters-photos .portfolio-gallery-item {
 aspect-ratio: unset;
 height: 320px;
 background: rgba(0, 0, 0, 0.22);
 border-radius: 10px;
 overflow: hidden;
 transition: box-shadow 0.3s ease;
}

.work-page .portfolio-concert-posters-photos .portfolio-gallery-item img {
 width: 100%;
 height: 320px;
 object-fit: cover;
 border-radius: 10px;
 border: 1px solid rgba(255, 255, 255, 0.1);
 transition: transform 0.3s ease;
}

.work-page .portfolio-concert-posters .portfolio-gallery-item:hover,
.work-page .portfolio-concert-posters .portfolio-gallery-item:focus-visible {
 transform: none;
 box-shadow: 0 8px 32px rgba(255, 107, 43, 0.28);
}

.work-page .portfolio-concert-posters .portfolio-gallery-item:hover img,
.work-page .portfolio-concert-posters .portfolio-gallery-item:focus-visible img {
 transform: scale(1.03);
}

.work-page .work-cta-panel {
 text-align: center;
 max-width: 42rem;
 padding-top: 1.25rem;
 margin-bottom: 2rem;
}

.work-page .work-cta-panel .work-block-caption {
 margin-left: auto;
 margin-right: auto;
}

.work-page .work-cta-actions {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 gap: 0.75rem 1rem;
 margin-top: 0.25rem;
}

@media (max-width: 900px) {
 .work-page .portfolio-vj-demos-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
 }
}

@media (max-width: 600px) {
 .work-page .portfolio-broadcast-cg-photos,
 .work-page .portfolio-concert-posters-photos {
  grid-template-columns: 1fr;
 }

 .work-page .portfolio-vj-demos-grid {
  grid-template-columns: 1fr;
 }

 .work-page .work-stat-strip-text {
  font-size: 0.72rem;
 }
}


/* --- Gallery lightbox (theater mode) --- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.gallery-lightbox:not(.is-open) {
  pointer-events: none;
  visibility: hidden;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.gallery-lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.gallery-lightbox-media {
  position: relative;
  max-width: min(90vw, 1200px);
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.gallery-lightbox-video {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  display: block;
}

.gallery-lightbox-caption {
  margin: 1rem 0 0;
  text-align: center;
  max-width: 90vw;
}

.gallery-lightbox-caption-category {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.gallery-lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.gallery-lightbox-close:hover {
  background: var(--border);
  color: var(--accent);
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.9);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: var(--logo-blue);
  color: var(--bg);
}

.gallery-lightbox-prev {
  left: -4rem;
}

.gallery-lightbox-next {
  right: -4rem;
}

@media (max-width: 768px) {
  .gallery-lightbox-prev {
    left: 0.5rem;
  }
  .gallery-lightbox-next {
    right: 0.5rem;
  }
  .gallery-lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
  }

  /* Mobile: tap feedback so interactions feel responsive */
  .btn-primary:active,
  .nav-cta:active {
    transform: scale(0.97);
  }
  .nav-links a:active {
    opacity: 0.85;
  }
  .portfolio-gallery-item:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }
  .tab-btn:active {
    opacity: 0.9;
  }
  .logo:active .logo-img {
    transform: scale(0.98);
  }
}

/* Ensure section scroll-in animations run on mobile (no disable) */
@media (max-width: 768px) {
  .section.visible .skills-list li,
  .section.visible .products-list li,
  .section.visible .services-list li {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Skills --- */
.skills-intro {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 55ch;
  line-height: 1.65;
}

.skills-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 620px) {
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.skills-block {
  position: relative;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.12) 0%, rgba(26, 26, 26, 0.88) 42%, rgba(26, 26, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.skills-block::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
}

.skills-block:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 166, 214, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.skills-block-title {
  font-size: clamp(1.35rem, 2.25vw, 1.65rem);
  font-weight: 700;
  color: var(--logo-blue);
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}

.skills-block .skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skills-block .skills-list li {
  position: relative;
  padding-left: 1.25rem;
  margin: 0.4rem 0;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.skills-block--wide .skills-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
}

@media (min-width: 720px) {
  .skills-block--wide .skills-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
  }
}

.skills-block .skills-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--logo-blue);
  opacity: 0.8;
}

/* --- Products / systems & software --- */
.products-intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 55ch;
  line-height: 1.65;
}

.products-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.products-list li {
  padding: 1rem 1.25rem;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.10) 0%, rgba(26, 26, 26, 0.88) 45%, rgba(26, 26, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.55;
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.products-list li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
  pointer-events: none;
}

.products-list li:hover {
  border-color: rgba(42, 166, 214, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.products-list li strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Capabilities: Tools & Systems category cards --- */
.tools-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
}

.tools-category-card {
  padding: 1.35rem 1.15rem 1.25rem;
  border-left: 4px solid var(--tools-cat-border, var(--tier-color));
  margin: 0;
}

.tools-category-card[data-tools-cat="graphics"] {
  --tools-cat-border: var(--tier-graphics);
}

.tools-category-card[data-tools-cat="led-video"] {
  --tools-cat-border: var(--logo-blue);
}

.tools-category-card[data-tools-cat="design"] {
  --tools-cat-border: var(--sdv-green);
}

.tools-category-card[data-tools-cat="web"] {
  --tools-cat-border: var(--sdv-crimson);
}

.tools-category-title {
  margin: 0 0 1rem;
  padding: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}

.tools-category-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.15rem;
}

.tools-grid-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.tools-item-name {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--logo-blue);
}

.tools-item-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 400;
}

.services-page .tools-category-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55);
}

.services-page.visible .tools-category-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.services-page.visible .tools-category-card:nth-child(1) {
  transition-delay: 0.05s;
}
.services-page.visible .tools-category-card:nth-child(2) {
  transition-delay: 0.15s;
}
.services-page.visible .tools-category-card:nth-child(3) {
  transition-delay: 0.25s;
}
.services-page.visible .tools-category-card:nth-child(4) {
  transition-delay: 0.35s;
}

.section.services-page.visible .tools-category-card {
  opacity: 1;
  transform: translateY(0);
}



/* --- Capabilities: Skills tab category cards --- */
.services-page .skills-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
}

.services-page .skills-category-card {
  padding: 1.35rem 1.15rem 1.25rem;
  border-left: 4px solid var(--skills-cat-border, var(--tier-color));
  margin: 0;
}

.services-page .skills-category-card[data-skills-cat="technical"] {
  --skills-cat-border: var(--tier-graphics);
}

.services-page .skills-category-card[data-skills-cat="leadership"] {
  --skills-cat-border: var(--logo-blue);
}

.services-page .skills-category-card[data-skills-cat="ai"] {
  --skills-cat-border: var(--sdv-green);
  grid-column: 1 / -1;
}

.services-page .skills-category-title {
  margin: 0 0 1rem;
  padding: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}

.services-page .skills-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.services-page .skills-category-list li {
  position: relative;
  padding-left: 1rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
}

.services-page .skills-category-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--logo-blue);
  opacity: 0.95;
}

.services-page .skills-category-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55);
}

.services-page.visible .skills-category-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.services-page.visible .skills-category-card:nth-child(1) {
  transition-delay: 0.05s;
}
.services-page.visible .skills-category-card:nth-child(2) {
  transition-delay: 0.15s;
}
.services-page.visible .skills-category-card:nth-child(3) {
  transition-delay: 0.25s;
}

.section.services-page.visible .skills-category-card {
  opacity: 1;
  transform: translateY(0);
}

/* --- Services (numbered blocks — narrow copy; uses site --font-sans / Outfit) --- */
.services-page .section-title {
  font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.services-intro {
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 55ch;
  line-height: 1.65;
}

/* Capabilities page: tabs match About Me; one focused column at a time */
.services-page .capabilities-tabs {
  margin-top: 0.25rem;
}

.services-page .capabilities-tabs .tab-list {
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.services-page .tab-panel .skills-intro,
.services-page .tab-panel .products-intro {
  margin-top: 0;
}

.services-page .services-block {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 0 4rem;
  align-items: start;
  padding: 2rem 1.25rem;
  border-bottom: none;
  margin-bottom: 1rem;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.10) 0%, rgba(26, 26, 26, 0.88) 45%, rgba(26, 26, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
}

.services-page .services-block:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 166, 214, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.services-page .services-block::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
  pointer-events: none;
}

/* Direct-child + nth-of-type: nth-child breaks when whitespace text nodes sit between divs */
.services-page.visible #tab-cap-services > .services-block {
  opacity: 1;
  transform: translateY(0);
}
.services-page.visible #tab-cap-services > .services-block:nth-of-type(1) { transition-delay: 0.05s; }
.services-page.visible #tab-cap-services > .services-block:nth-of-type(2) { transition-delay: 0.15s; }
.services-page.visible #tab-cap-services > .services-block:nth-of-type(3) { transition-delay: 0.25s; }
.services-page.visible #tab-cap-services > .services-block:nth-of-type(4) { transition-delay: 0.35s; }

.services-block-header {
  display: flex;
  flex-direction: column;
}

.services-block-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--logo-blue);
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.services-page .services-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.services-page.visible .services-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.services-cta-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.services-page .services-block-title {
  font-style: normal;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.services-block-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  max-width: 60ch;
}

.services-block-body {
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: min(62ch, 100%);
  margin: 0;
  padding-top: 0.35rem;
}

.services-examples {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-examples li {
  position: relative;
  padding-left: 1.25rem;
  margin: 0.35rem 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.services-examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--logo-blue);
  opacity: 0.8;
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-list li {
  padding: 1rem 1.25rem;
  position: relative;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.10) 0%, rgba(26, 26, 26, 0.88) 45%, rgba(26, 26, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-size: 1rem;
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
  pointer-events: none;
}

.services-list li:hover {
  border-color: rgba(42, 166, 214, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.services-note {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 400;
}


/* Contact page refresh */
.section.contact {
  text-align: center;
  overflow: visible;
}

.section.contact .section-title {
  display: block;
  width: 100%;
}

.section.contact .section-title::after {
 content: "";
 display: block;
 width: 48px;
 height: 3px;
 margin: 8px auto 0;
 border-radius: 2px;
 background: #00d4ff;
}

.contact-intro-card,
.section.contact .contact-form.sdv-glass-card,
.section.contact .contact-form {
  background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  overflow: visible;
}

.contact-intro-card {
  max-width: 42ch;
  margin: 0 auto 1.25rem;
  padding: 1.35rem 1.4rem;
  text-align: center;
}

.section.contact .contact-form {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: left;
}

.section.contact .contact-intro-card .contact-lead {
  margin: 0;
  max-width: none;
}

.contact-form-input,
.contact-form-textarea,
.contact-form select.contact-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form-input:focus,
.contact-form-textarea:focus,
.contact-form select.contact-form-input:focus {
  outline: none;
  border-color: var(--sdv-cyan);
  box-shadow: 0 0 0 3px rgba(var(--sdv-cyan-rgb), 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form-submit {
  margin-top: 0.25rem;
  width: 100%;
  background: var(--sdv-cyan) !important;
  color: #0a0b0e !important;
  border: none !important;
  font-weight: 600;
}

.contact-form-submit:hover {
 background: #00aacc !important;
  box-shadow: 0 6px 24px rgba(var(--sdv-cyan-rgb), 0.4);
  color: #0a0b0e !important;
}

/* --- Contact --- */
.section.contact {
  text-align: center;
}

.section.contact .contact-lead {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  line-height: 1.5;
}

.section.contact .btn {
  margin-top: 0.5rem;
}

.contact-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-social-link:hover {
  opacity: 0.85;
  color: var(--text);
}

.contact-social-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-social-link svg.contact-social-icon {
  color: inherit;
}

.contact-form {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.section.contact .contact-form > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.section.contact.visible .contact-form > * {
  opacity: 1;
  transform: translateY(0);
}

.section.contact.visible .contact-form > *:nth-child(1) { transition-delay: 0.1s; }
.section.contact.visible .contact-form > *:nth-child(2) { transition-delay: 0.15s; }
.section.contact.visible .contact-form > *:nth-child(3) { transition-delay: 0.2s; }
.section.contact.visible .contact-form > *:nth-child(4) { transition-delay: 0.25s; }
.section.contact.visible .contact-form > *:nth-child(5) { transition-delay: 0.3s; }
.section.contact.visible .contact-form > *:nth-child(6) { transition-delay: 0.35s; }
.section.contact.visible .contact-form > *:nth-child(7) { transition-delay: 0.4s; }
.section.contact.visible .contact-form > *:nth-child(8) { transition-delay: 0.45s; }
.section.contact.visible .contact-form > *:nth-child(9) { transition-delay: 0.5s; }
.section.contact.visible .contact-form > *:nth-child(n+10) { transition-delay: 0.55s; }

.contact-resume-links {
  margin-top: 1.5rem;
}

.contact-resume-links .contact-link {
  display: inline-block;
  margin-right: 1rem;
}

.contact-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  text-align: center;
}

/* contact inputs styled in Contact page refresh block */

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 4rem;
}

/* contact submit styled in Contact page refresh block */

.contact-or {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 1rem 0 0.75rem;
}

.contact-link {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-email {
  font-size: 1.25rem;
}

.contact-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Home: added content blocks --- */
.home-services .section-title,
.home-work-preview .section-title {
  margin-bottom: 1rem;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-service-card {
  position: relative;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.12) 0%, rgba(26, 26, 26, 0.9) 38%, rgba(26, 26, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1.25rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
}

.home-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 166, 214, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.home-service-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--logo-blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-service-title {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-service-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.home-metrics {
  padding-top: 1.25rem;
}

.home-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-metric {
  position: relative;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.09) 0%, rgba(26, 26, 26, 0.85) 45%, rgba(26, 26, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.15rem 1.15rem 1.2rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-metric::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
}

.home-metric:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 166, 214, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.home-metric-value {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.3;
}

.home-metric-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.home-work-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.home-work-link {
  color: var(--logo-blue);
  font-weight: 600;
  border-bottom: 1px solid rgba(42, 166, 214, 0.35);
}

.home-work-link:hover {
  color: var(--text);
  border-bottom-color: var(--logo-blue);
}

.home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.home-work-item {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-work-item img,
.home-work-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-work-item--video video {
  pointer-events: none;
}

.home-work-item:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 166, 214, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.home-work-item:hover img,
.home-work-item:hover video {
  transform: scale(1.05);
}

.home-work-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.home-work-item:hover .home-work-overlay {
  transform: translateY(0);
  opacity: 1;
}

.home-work-category {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
  font-size: 1.05rem;
}

.home-work-subtitle {
  margin: 0.25rem 0 0;
  color: rgba(220, 222, 226, 0.9);
  font-size: 0.92rem;
  line-height: 1.35;
}

/* --- Footer --- */
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.footer-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: footerLogoGlow 4s ease-in-out infinite;
}

.footer:hover .footer-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(42, 166, 214, 0.4));
}

@keyframes footerLogoGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(42, 166, 214, 0.15)); }
  50% { filter: drop-shadow(0 0 12px rgba(42, 166, 214, 0.3)); }
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer .contact-social-link {
  color: var(--text);
}

.footer .contact-social-link:hover {
  color: var(--logo-blue);
}

.footer .contact-social-link img.contact-social-icon {
  transition: filter 0.25s ease;
}

.footer .contact-social-link:hover img.contact-social-icon {
  filter: brightness(0) saturate(100%) invert(65%) sepia(40%) saturate(1200%) hue-rotate(180deg);
}

.footer p {
  margin: 0;
}

.footer-client {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-client:hover {
  color: var(--logo-blue);
}


/* SDV Rates Page v2 */
.rates-page .rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 1.75rem;
}

@media (max-width: 768px) {
  .rates-page .rates-grid {
    grid-template-columns: 1fr;
  }
}

.rates-page .rates-card,
.rates-page .rates-travel-block {
  background: rgba(15, 8, 28, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.25rem 1.35rem 1.15rem;
  margin: 0;
  transition: all 0.25s ease;
}

.rates-page .rates-card {
  border-left-width: 3px;
  border-left-style: solid;
}

.rates-page .rates-card[data-sdv-tier="graphics"] {
  border-left-color: #ff3d7f;
}
.rates-page .rates-card[data-sdv-tier="graphics"] .rates-card-title {
  color: #ff3d7f;
}

.rates-page .rates-card[data-sdv-tier="live"] {
  border-left-color: #00d4ff;
}
.rates-page .rates-card[data-sdv-tier="live"] .rates-card-title {
  color: #00d4ff;
}

.rates-page .rates-card[data-sdv-tier="led"] {
  border-left-color: #00ff88;
}
.rates-page .rates-card[data-sdv-tier="led"] .rates-card-title {
  color: #00ff88;
}

.rates-page .rates-card[data-sdv-tier="web"] {
  border-left-color: #ff6b2b;
}
.rates-page .rates-card[data-sdv-tier="web"] .rates-card-title {
  color: #ff6b2b;
}

.rates-page .rates-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  line-height: 1.3;
}

.rates-page .rates-card-desc {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.rates-page .rates-lines {
  margin: 0;
  padding: 0;
}

.rates-page .rates-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rates-page .rates-line--last {
  border-bottom: none;
}

.rates-page .rates-line-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.4;
  flex: 1 1 auto;
  min-width: 0;
}

.rates-page .rates-line-value {
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: right;
  flex: 0 0 auto;
  max-width: 52%;
}

.rates-page .rates-travel-block .rates-line-value {
  max-width: 58%;
}

.rates-page .rates-card-footnote {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-style: italic;
  line-height: 1.5;
}

.rates-page .rates-travel-heading {
  margin-top: 2.25rem;
}

.rates-page .rates-travel-block {
  margin-top: 0.85rem;
  border-left: 3px solid #00d4ff;
}

.rates-page .rates-travel-intro {
  margin: 1rem 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.rates-page .rates-travel-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.55;
}

.rates-page .rates-travel-list li + li {
  margin-top: 0.35rem;
}

.rates-page .rates-disclaimer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.rates-page .rates-card:hover,
.rates-page .rates-travel-block:hover {
  transform: translateY(-2px);
  box-shadow:
   0 10px 28px rgba(0, 0, 0, 0.42),
   0 0 14px rgba(0, 212, 255, 0.18),
   0 0 26px rgba(255, 61, 127, 0.08);
}

/* --- Rates --- */
.rates-intro {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
  line-height: 1.65;
}

.rates-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rates-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  position: relative;
  background: linear-gradient(165deg, rgba(42, 166, 214, 0.10) 0%, rgba(26, 26, 26, 0.88) 45%, rgba(26, 26, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.rates-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(42, 166, 214, 0.95), rgba(107, 196, 240, 0.25));
  pointer-events: none;
}

.rates-service {
  font-weight: 500;
  flex-shrink: 0;
}

.rates-range {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.rates .btn {
  margin-top: 0.5rem;
}

/* --- Mobile --- */
@media (max-width: 700px) {
  .header {
    padding: var(--space) 1rem var(--space);
  }

  .nav {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav .logo {
    flex-shrink: 0;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .logo {
    max-width: 100%;
    display: block;
  }

  .logo-img-wide {
    max-height: 2rem;
    height: auto;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 0.5rem;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border);
    transform: none;
    padding: 0.75rem 0 0;
    margin: 0;
  }

  .nav-links li {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    text-align: center;
  }

  .nav-links .nav-cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 6rem max(0.75rem, env(safe-area-inset-left)) 3.5rem max(0.75rem, env(safe-area-inset-right));
  }

  html[data-sdv-page="index"] .hero {
    padding-top: var(--site-top-offset, 90px);
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: 3.5rem;
  }

  .hero-content {
    width: 100%;
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3.5vw, 1.35rem);
  }

  .home-services-grid,
  .home-metrics-grid,
  .home-work-grid {
    grid-template-columns: 1fr;
  }

  .home-work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .home-work-grid {
    gap: 0.9rem;
  }

  .home-work-overlay {
    padding: 0.8rem 0.9rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .services-page .skills-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-page .skills-category-card[data-skills-cat="ai"] {
    grid-column: auto;
  }

  .tools-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tools-category-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .services-page .services-block {
    grid-template-columns: 1fr;
    gap: 0.75rem 0;
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow-videos {
    display: none !important;
  }

  .hero-slideshow-fallback {
    display: block !important;
    opacity: 0.48;
  }

  .hero-video-play-btn {
    display: none !important;
  }

  .hero-intro-video-wrap {
    display: none;
  }

  .hero-content {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-backdrop {
    animation: none;
    opacity: 0.82;
    filter: none;
  }
  .hero-slideshow-img {
    animation: none;
    transform: none;
  }
  .hero-title,
  .hero-title::after,
  .hero-lead,
  .hero-detail,
  .hero-tagline,
  .hero-tagline-support,
  .hero .btn {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero-title::after {
    transform: scaleX(1);
  }
  .hero-detail {
    border-top-color: rgba(42, 166, 214, 0.22);
  }
  .section {
    transition: none;
  }
  .section.visible .skills-list li,
  .section.visible .products-list li,
  .section.visible .services-list li {
    transition-delay: 0s;
  }
  .services-list li:hover {
    transform: none;
  }
  .portfolio-media-card:hover {
    transform: none;
  }
  .hero-scroll-hint-chevron {
    animation: none;
  }
  .services-page.visible #tab-cap-services > .services-block {
    transition-delay: 0s;
  }
  .services-page .services-cta {
    opacity: 1;
    transform: none;
  }
  .featured-in-slide-img {
    animation: none;
  }
  .featured-in-slide-img:nth-child(1) {
    opacity: 1;
  }
  .logo:hover .logo-img {
    transform: none;
    filter: none;
  }
  .footer-logo {
    animation: none;
    filter: none;
  }
  .footer:hover .footer-logo {
    transform: none;
    filter: none;
  }
  .portfolio-gallery-item:hover {
    transform: none;
    box-shadow: none;
  }
}



/* SDV Site chrome + hero foundation (restored) */
:root {
 --site-header-h: 4.35rem;
 --site-ticker-h: 4.25rem;
 --site-top-offset: calc(var(--site-header-h) + var(--site-ticker-h));
 --sdv-cyan: #00d4ff;
 --sdv-cyan-rgb: 0, 212, 255;
 --sdv-pink: #ff3d7f;
 --sdv-pink-rgb: 255, 61, 127;
 --tier-graphics: #ff3d7f;
 --tier-graphics-rgb: 255, 61, 127;
 --tier-live: #00d4ff;
 --tier-live-rgb: 0, 212, 255;
}

.site-ticker {
 position: fixed;
 top: var(--site-header-h);
 left: 0;
 right: 0;
 z-index: 99;
 display: flex;
 align-items: center;
 min-height: 44px;
 height: var(--site-ticker-h);
 background: rgba(0, 0, 0, 0.8);
 box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.7), inset 0 -3px 10px rgba(0, 0, 0, 0.5);
 border-top: 1px solid rgba(255, 255, 255, 0.05);
 border-bottom: 1px solid rgba(255, 255, 255, 0.05);
 padding: 8px 0;
 overflow: hidden;
}

/* Homepage ticker — spotlight sweep + scan flash overlays */
.site-ticker::after {
 content: "";
 position: absolute;
 top: 0;
 left: -100%;
 width: 60%;
 height: 100%;
 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
 animation: tickerSpotlight 8s linear infinite;
 pointer-events: none;
 touch-action: none;
 z-index: 2;
}

.site-ticker::before {
 content: "";
 position: absolute;
 top: 0;
 left: -100%;
 width: 30%;
 height: 100%;
 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
 animation: tickerScanFlash 12s linear infinite;
 pointer-events: none;
 touch-action: none;
 z-index: 3;
}


.site-ticker-viewport {
 width: 100%;
 max-width: 100%;
 overflow: hidden;
}

.site-ticker-track {
 display: inline-block;
 white-space: nowrap;
 width: max-content;
 will-change: transform;
 animation: tickerScroll 38s linear infinite;
 animation-play-state: running;
}

.hero-bg-media {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: 0;
 overflow: hidden;
 pointer-events: none;
 touch-action: none;
}

.hero-bg-media.hero-slideshow {
 inset: 0;
}

.hero-bg-media .hero-slideshow-fallback {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
 opacity: 0.48;
 pointer-events: none;
 touch-action: none;
}

.hero--video-ready .hero-bg-media .hero-slideshow-fallback {
 display: none;
}

.hero--video-failed .hero-bg-media .hero-slideshow-videos {
 display: none;
}

.hero-bg-video,
#hero-bg-video,
#hero-bg-video-a,
#hero-bg-video-b,
#hero-bg {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
 display: block;
 pointer-events: none;
 touch-action: none;
}

.hero.hero--video-failed .hero-bg-video,
.hero.hero--video-failed #hero-bg-video {
 opacity: 0;
}

.hero-content.sdv-spectrum-panel {
 position: relative;
 z-index: 3;
 isolation: isolate;
 overflow: visible;
 width: 100%;
 max-width: min(52rem, 94vw);
 margin: 0 auto;
 min-width: 0;
 padding: clamp(2rem, 5vw, 3.25rem) clamp(1.35rem, 4.5vw, 3rem);
 background: rgba(10, 5, 25, 0.85);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: none;
 border-radius: 32px 10px 32px 10px;
 --sdv-spectrum-inset: -4px;
 box-shadow:
  0 22px 54px rgba(0, 0, 0, 0.48),
  0 0 28px rgba(0, 212, 255, 0.42),
  0 0 56px rgba(0, 212, 255, 0.24),
  0 0 48px rgba(168, 85, 247, 0.16),
  0 0 72px rgba(255, 61, 127, 0.18),
  inset 0 0 1px rgba(0, 212, 255, 0.28);
}

.hero-content.sdv-spectrum-panel::before {
 content: "";
 position: absolute;
 inset: var(--sdv-spectrum-inset, -4px);
 z-index: -3;
 border-radius: 34px 12px 34px 12px;
 background: linear-gradient(135deg, #00d4ff, #00d4ff, #a855f7, #ff3d7f);
 animation: none;
 filter: none;
 pointer-events: none;
 touch-action: none;
 box-shadow:
  0 0 14px rgba(0, 212, 255, 0.55),
  0 0 32px rgba(0, 212, 255, 0.32),
  0 0 48px rgba(255, 61, 127, 0.24);
}

.hero-content.sdv-spectrum-panel::after {
 content: "";
 position: absolute;
 inset: 2px;
 z-index: -2;
 border-radius: 30px 8px 30px 8px;
 background: rgba(10, 5, 25, 0.85);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 pointer-events: none;
 touch-action: none;
}

/* Subtle spectrum edge glow — selected accent surfaces only (not global) */
html[data-sdv-page="contact"] .contact-intro-card,
html[data-sdv-page="contact"] .section.contact .contact-form,
.bio-page .featured-in-card,
.bio-page #tab-experience .experience-counter--hero,
.bio-page .bio-personal-card--rotation,
.blog-page .blog-card {
 border-color: rgba(0, 212, 255, 0.3);
 box-shadow:
  0 10px 28px rgba(0, 0, 0, 0.4),
  0 0 14px rgba(0, 212, 255, 0.2),
  0 0 28px rgba(0, 212, 255, 0.11),
  0 0 22px rgba(255, 61, 127, 0.09),
  inset 0 0 1px rgba(0, 212, 255, 0.16);
 transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

html[data-sdv-page="contact"] .contact-intro-card:hover,
html[data-sdv-page="contact"] .section.contact .contact-form:hover,
.bio-page .featured-in-card:hover,
.bio-page #tab-experience .experience-counter--hero:hover,
.bio-page .bio-personal-card--rotation:hover,
.blog-page .blog-card:hover {
 box-shadow:
  0 12px 32px rgba(0, 0, 0, 0.44),
  0 0 18px rgba(0, 212, 255, 0.26),
  0 0 34px rgba(0, 212, 255, 0.14),
  0 0 26px rgba(255, 61, 127, 0.11),
  inset 0 0 1px rgba(0, 212, 255, 0.22);
 border-color: rgba(0, 212, 255, 0.4);
}


.hero-inner {
 display: grid;
 grid-template-columns: auto 1fr;
 gap: clamp(1.25rem, 3vw, 2.25rem);
 align-items: center;
 width: 100%;
}

.hero-portrait {
 position: relative;
 flex-shrink: 0;
 width: clamp(7.5rem, 16vw, 11rem);
 border-radius: 12px;
 overflow: visible;
}

.hero-portrait-ring {
 position: absolute;
 inset: -4px;
 border-radius: 16px;
 z-index: 0;
 pointer-events: none;
 touch-action: none;
}

.hero-portrait img {
 position: relative;
 z-index: 1;
 display: block;
 width: 100%;
 height: auto;
 border-radius: 12px;
 object-fit: cover;
 object-position: center top;
}



.hero-content .hero-location--card-foot {
 width: 100%;
 margin: 1rem 0 0;
 padding-top: 0.5rem;
 text-align: center;
 color: #ff3d7f;
 font-size: 0.9rem;
 font-weight: 900;
 letter-spacing: 0.18em;
 text-transform: uppercase;
}

.hero-content .hero-stats-below-cta {
 width: 100%;
 margin-top: 14px;
 padding-top: 14px;
 border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-actions {
 position: relative;
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 gap: 1rem;
 width: 100%;
 margin-top: 1.1rem;
 padding-top: 1.05rem;
 border-top: 1px solid rgba(0, 212, 255, 0.22);
}

.btn-hero-work {
 background: transparent;
 color: #ff3d7f !important;
 border: 2px solid #ff3d7f;
 box-shadow: 0 4px 20px rgba(255, 61, 127, 0.2);
}

.btn-hero-work:hover {
 color: #ff3d7f !important;
 background: rgba(255, 61, 127, 0.12);
}

.hero-content .btn-hero-contact,
.btn-hero-contact {
 background: #00d4ff;
 color: #0a0810 !important;
 box-shadow: 0 6px 26px rgba(0, 212, 255, 0.35);
}

.hero-content .btn-hero-contact:hover,
.btn-hero-contact:hover {
 color: #0a0810 !important;
 background: color-mix(in srgb, #00d4ff 90%, #fff);
}
/* SDV Color System v2 */
/* Canonical tokens */
:root {
 --sdv-primary: #00d4ff;
 --sdv-primary-rgb: 0, 212, 255;
 --sdv-primary-hover: #00aacc;
 --sdv-secondary: #ff3d7f;
 --sdv-secondary-rgb: 255, 61, 127;
 --sdv-gradient-purple: #a855f7;
}

/* Navigation — all pages */
.nav-links a:not(.nav-cta) {
 color: #fff;
}
.nav-links a:not(.nav-cta):hover {
 color: #00d4ff;
}
.nav-links a[aria-current="page"]::after,
.nav-links a[aria-current]::after {
 width: 100%;
 background: #00d4ff;
}
.nav-links a:not(.nav-cta)::after {
 background: #00d4ff;
}
.logo:hover .logo-img {
 filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.4));
}

/* Footer */
.footer,
.footer p,
.footer-client {
 color: rgba(255, 255, 255, 0.4);
}
.footer .contact-social-link {
 color: #fff;
}
.footer .contact-social-link:hover {
 color: #00d4ff;
}
.footer .contact-social-link:hover img.contact-social-icon {
 filter: brightness(0) saturate(100%) invert(72%) sepia(98%) saturate(750%) hue-rotate(152deg) brightness(103%) contrast(101%);
}
.footer-logo {
 width: 80px;
 height: auto;
 margin-bottom: 1rem;
 display: block;
 margin-left: auto;
 margin-right: auto;
 transition: transform 0.3s ease, filter 0.3s ease;
 animation: footerLogoGlow 4s ease-in-out infinite;
}
.footer:hover .footer-logo {
 transform: scale(1.06);
 filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.4));
}
.footer-social {
 display: flex;
 justify-content: center;
 gap: 1rem;
 margin-bottom: 1rem;
}

@keyframes footerLogoGlow {
 0%, 100% { filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.15)); }
 50% { filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.3)); }
}

/* Page title underlines — all pages */
.section-title::after,
.gallery-section-title::after,
.bio-page-title--accent::after,
[data-sdv-page] .section-title::after,
[data-sdv-page] .page-hero h1::after {
 width: 48px;
 max-width: 48px;
 height: 3px;
 margin-top: 8px;
 border-radius: 2px;
 background: #00d4ff;
}

/* Section description / lead copy */
.page-lead,
.section-lead,
.services-page .page-lead,
.rates-intro,
.work-page .work-page-intro .page-lead,
.work-page .work-block-caption,
.highlights-blurb,
.bio-page .bio-text,
.bio-page--scroll .bio-text,
.bio-page #tab-experience .experience-intro .highlights-blurb {
 color: rgba(255, 255, 255, 0.65);
 font-size: 1rem;
 line-height: 1.75;
}

.services-page .services-intro,
.rates-card-desc,
.contact-lead,
.section.contact .contact-lead {
 color: rgba(255, 255, 255, 0.65);
 line-height: 1.7;
}

/* Shared glass card hover */
.sdv-glass-card:hover,
.services-page .services-block:hover,
.rates-card:hover,
.rates-travel-block[data-sdv-tier]:hover,
.bio-page #tab-bio .bio-layout .bio-content:hover,
.tools-category-card:hover,
.skills-category-card:hover {
 transform: translateY(-2px);
 transition: all 0.25s ease;
}

/* Capabilities tabs */
.capabilities-tabs > .tab-list .tab-btn.active,
.bio-page .section.bio .tabs .tab-btn.active {
 color: #00d4ff;
 border-bottom-color: #00d4ff;
}
.capabilities-tabs > .tab-list .tab-btn.active::after,
.bio-page .section.bio .tabs .tab-btn.active::after {
 background: #00d4ff;
}

/* Tools tab — tool names cyan */
.services-page .tools-item-name,
.tools-item-name {
 color: #00d4ff;
}

/* Rates — price values cyan */
.rates-table td {
 color: #00d4ff;
 font-weight: 600;
}
.rates-table th {
 color: rgba(255, 255, 255, 0.45);
}

/* Bio — 3000+ counter, Featured In pink accent */
.bio-page #tab-experience .experience-counter--hero .experience-counter-number,
.bio-page #tab-experience .experience-counter--hero .experience-counter-suffix,
.experience-counter-number,
.experience-counter-suffix {
 color: #00d4ff;
 -webkit-text-fill-color: #00d4ff;
}
.bio-page .featured-in-card,
.featured-in-card.sdv-glass-card {
 border-left: 4px solid #ff3d7f;
}
.bio-page #tab-bio .bio-layout .bio-content {
 border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Contact */
.contact-email,
.contact-link.contact-email {
 color: #00d4ff;
}
.contact-form-input:focus,
.contact-form-textarea:focus,
.contact-form select.contact-form-input:focus {
 border-color: #00d4ff;
 outline-color: #00d4ff;
}
.contact-form-submit {
 background: #00d4ff !important;
 color: #0a0a0a !important;
}
.contact-form-submit:hover {
 background: #00aacc !important;
 color: #0a0a0a !important;
}

/* Primary buttons sitewide */
.btn-primary,
[data-sdv-page] .btn-primary {
 background: #00d4ff;
 color: #0a0a0a !important;
}
.btn-primary:hover,
[data-sdv-page] .btn-primary:hover {
 background: #00aacc;
 color: #0a0a0a !important;
}

/* Sitewide: no standalone purple/green/orange outside tier contexts */
body:not(.services-page):not(.rates-page):not(.work-page) [style*="#9d2ce8"],
body:not(.services-page):not(.rates-page):not(.work-page) [style*="#a855f7"] {
 /* gradient-only purple — avoid inline standalone fills */
}

/* Ticker item color glow */
.site-ticker-item[data-ticker-cat="pink"],
.site-ticker-pill--pink {
 color: #ff3d7f;
 text-shadow: 0 0 8px rgba(255, 61, 127, 0.7), 0 0 20px rgba(255, 61, 127, 0.4);
}

.site-ticker-item[data-ticker-cat="cyan"],
.site-ticker-pill--cyan {
 color: #00d4ff;
 text-shadow: 0 0 8px rgba(0, 212, 255, 0.7), 0 0 20px rgba(0, 212, 255, 0.4);
}

.site-ticker-item[data-ticker-cat="green"],
.site-ticker-pill--green {
 color: #00ff88;
 text-shadow: 0 0 8px rgba(0, 255, 136, 0.7), 0 0 20px rgba(0, 255, 136, 0.4);
}

.site-ticker-item[data-ticker-cat="orange"],
.site-ticker-pill--orange {
 color: #ff6b2b;
 text-shadow: 0 0 8px rgba(255, 107, 43, 0.7), 0 0 20px rgba(255, 107, 43, 0.4);
}

/* Skills tab — bullet dots match card accent */
.services-page .skills-category-list li::before {
 background: var(--skills-cat-border, #00d4ff);
}

/* Bio scroll layout — preserve Featured In pink accent */
.bio-page--scroll .featured-in-card {
 border-left: 4px solid #ff3d7f;
}
/* SDV Bio Page All Tabs */
/* —— All tabs: same gradient wash as Capabilities / Rates —— */
html[data-sdv-page="bio"]::before {
 opacity: 1;
}

html[data-sdv-page="bio"] body::before {
 opacity: 1;
 animation: siteBgGradientDrift 32s ease-in-out infinite;
}

html[data-sdv-page="bio"] body::after {
 opacity: 0.55;
}

/* —— All tabs: gradient visible through transparent page shells —— */
.bio-page > .section.section-block.bio,
.bio-page > .section.section-block.bio.visible,
.bio-page > .section.featured-in,
.bio-page > .section.featured-in.visible,
.bio-page > .section.bio-bottom-row,
.bio-page .bio-bottom-row .bio-bottom-gallery,
.bio-page .bio-bottom-row .bio-bottom-featured,
.bio-page .tabs,
.bio-page .tab-panel,
.bio-page .tab-list,
.bio-page .bio-layout {
 background: transparent;
 box-shadow: none;
 overflow: visible;
}

.bio-page .section-block {
 border-top-color: rgba(255, 255, 255, 0.08);
}

/* —— Bio tab —— */
.bio-page #tab-bio .bio-layout {
 display: grid;
 gap: 1.75rem;
 align-items: start;
}

@media (min-width: 720px) {
 .bio-page #tab-bio .bio-layout {
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  gap: 2rem;
 }
}

.bio-page #tab-bio .bio-headshot {
 border-radius: 50%;
 overflow: hidden;
 border: 2px solid #00d4ff;
 box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
 margin: 0 auto;
 max-width: 14rem;
}

.bio-page #tab-bio .bio-headshot img {
 display: block;
 width: 100%;
 height: auto;
 border-radius: 50%;
}

.bio-page #tab-bio .bio-layout .bio-content {
 border: 1px solid rgba(255, 255, 255, 0.12);
 border-left: 3px solid transparent;
 border-image: linear-gradient(180deg, #00d4ff, #ff3d7f) 1;
 padding: 1.35rem 1.4rem;
 box-shadow: -4px 0 20px rgba(255, 61, 127, 0.15), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.bio-page #tab-bio .bio-layout .bio-content,
.bio-page #tab-bio .bio-layout .bio-content .bio-text {
 font-size: 1rem;
 line-height: 1.8;
 text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.bio-page #tab-bio .bio-sdv-mark,
.bio-page .bio-sdv-mark {
 color: #00d4ff;
 font-weight: 600;
}

.bio-page .section.featured-in {
 margin-bottom: 0;
 padding-bottom: 2rem;
}

.bio-page .section.featured-in .featured-in-card,
.bio-page .bio-bottom-featured .featured-in-card {
 margin-bottom: 0;
}

/* —— Experience tab —— */
.bio-page #tab-experience {
 overflow: visible;
}

.bio-page #tab-experience .experience-counter--hero {
 margin: 0 0 1.5rem;
 padding: 2.25rem 1.5rem 2.5rem;
 max-width: none;
 width: 100%;
 border-radius: 8px;
 border: 1px solid rgba(0, 212, 255, 0.3);
 border-left: 4px solid #00d4ff;
 background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 box-shadow: 0 0 60px rgba(0, 212, 255, 0.2);
 overflow: visible;
 text-align: center;
}

.bio-page #tab-experience .experience-counter--hero .experience-counter-number {
 font-size: 4rem;
 font-weight: 900;
 line-height: 1;
 color: #00d4ff;
 -webkit-text-fill-color: #00d4ff;
 background: none;
}

.bio-page #tab-experience .experience-counter--hero .experience-counter-suffix {
 font-size: 4rem;
 font-weight: 900;
 line-height: 1;
 color: #00d4ff;
 -webkit-text-fill-color: #00d4ff;
}

.bio-page #tab-experience .experience-counter-label {
 display: block;
 margin-top: 0.35rem;
 font-size: 0.95rem;
 font-weight: 600;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: rgba(255, 255, 255, 0.65);
}

.bio-page #tab-experience .experience-intro {
 margin-bottom: 1.5rem;
}

.bio-page #tab-experience .experience-timeline-flow {
 display: flex;
 flex-direction: column;
 gap: 0.25rem;
}

.bio-page #tab-experience .experience-highlights-lead {
 margin: 0 0 1.25rem;
 font-size: clamp(1rem, 1.65vw, 1.0625rem);
 line-height: 1.65;
 color: rgba(255, 255, 255, 0.65);
 text-align: left;
}

.bio-page #tab-experience .experience-category {
 margin-bottom: 1.5rem;
}

.bio-page #tab-experience .experience-category-label {
 margin: 0 0 0.55rem;
 padding: 0;
 font-family: "Outfit", system-ui, sans-serif;
 font-size: 0.7rem;
 font-weight: 800;
 font-style: normal;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: #ff3d7f;
 line-height: 1.35;
}

.bio-page #tab-experience .experience-region-card {
 padding: 1.35rem 1.15rem 1.25rem;
 border-radius: 8px;
 background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.12);
 border-left-width: 4px;
 border-left-style: solid;
 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
 overflow: visible;
}

.bio-page #tab-experience .experience-region-card[data-exp-region="seasons"] {
 border-left-color: #00d4ff;
}

.bio-page #tab-experience .experience-region-card[data-exp-region="northeast"] {
 border-left-color: #00d4ff;
}

.bio-page #tab-experience .experience-region-card[data-exp-region="detroit"] {
 border-left-color: #ff3d7f;
}

.bio-page #tab-experience .experience-region-card[data-exp-region="concerts"] {
 border-left-color: #00ff88;
}

.bio-page #tab-experience .experience-season-grid {
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 0.75rem 0.5rem;
}

.bio-page #tab-experience .experience-season-stat {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: flex-start;
 text-align: center;
 padding: 0.65rem 0.35rem;
}

.bio-page #tab-experience .experience-season-num {
 font-size: 2rem;
 font-weight: 900;
 line-height: 1;
 color: #00d4ff;
}

.bio-page #tab-experience .experience-season-name {
 margin-top: 0.35rem;
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: #fff;
}

.bio-page #tab-experience .experience-season-meta {
 margin-top: 0.2rem;
 font-size: 0.68rem;
 font-weight: 500;
 color: rgba(255, 255, 255, 0.55);
 line-height: 1.35;
}

.bio-page #tab-experience .experience-venue-intro {
 margin: 0 0 1rem;
 font-size: 0.9rem;
 color: rgba(255, 255, 255, 0.65);
 line-height: 1.5;
 text-align: left;
}

.bio-page #tab-experience .experience-concerts-blurb {
 margin: 0;
 color: rgba(255, 255, 255, 0.65);
 font-size: 0.95rem;
 line-height: 1.65;
 text-align: left;
}

.bio-page #tab-experience .experience-timeline--visual {
 list-style: none;
 margin: 0;
 padding: 0 0 0 0.15rem;
}

.bio-page #tab-experience .experience-timeline--visual li {
 display: grid;
 grid-template-columns: minmax(5.75rem, 8.5rem) minmax(0, 1fr);
 gap: 0.35rem 1.15rem;
 align-items: start;
 padding: 6px 0;
 margin: 0;
 border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bio-page #tab-experience .experience-timeline--visual li:last-child {
 border-bottom: none;
}

.bio-page #tab-experience .experience-timeline--visual .timeline-year {
 font-size: 1.05rem;
 font-weight: 700;
 color: #00d4ff;
 line-height: 1.9;
}

.bio-page #tab-experience .experience-timeline--visual .timeline-text {
 font-size: 1rem;
 line-height: 1.9;
 color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 640px) {
 .bio-page #tab-experience .experience-season-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.65rem;
 }
}

/* —— Personal tab —— */
.bio-page #tab-personal {
 overflow: visible;
}

.bio-page #tab-personal > .bio-text:first-child {
 margin-bottom: 1.25rem;
}

.bio-page .bio-personal-card {
 padding: 1.35rem 1.4rem;
 border-radius: 8px;
 background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.12);
 overflow: visible;
}

.bio-page .bio-personal-card--rotation {
 border-left: 4px solid #ff3d7f;
}

.bio-page .bio-personal-card--mentions {
 border-left: 4px solid #ff6b2b;
 margin-top: 24px;
}

.bio-page #tab-personal .personal-subtitle {
 margin: 0 0 0.35rem;
 font-size: clamp(1.05rem, 2vw, 1.2rem);
 font-weight: 700;
 color: #fff;
}

.bio-page #tab-personal .personal-subtitle-note {
 margin: 0 0 1rem;
 font-size: 0.8rem;
 color: rgba(255, 255, 255, 0.45);
 font-style: italic;
}

.bio-page .bio-album-list {
 list-style: none;
 margin: 0;
 padding: 0;
 display: flex;
 flex-direction: column;
 gap: 0.65rem;
}

.bio-page .bio-album-list li {
 display: flex;
 align-items: flex-start;
 gap: 0.75rem;
 margin: 0;
 padding: 0;
}

.bio-page .bio-album-num {
 flex-shrink: 0;
 min-width: 1.5rem;
 font-size: 0.95rem;
 font-weight: 700;
 color: #00d4ff;
 line-height: 1.4;
}

.bio-page .bio-album-body {
 display: flex;
 flex-direction: column;
 gap: 0.1rem;
 min-width: 0;
}

.bio-page .bio-album-title {
 color: #fff;
 font-weight: 700;
}

.bio-page .bio-album-artist {
 display: block;
 font-size: 0.9rem;
 font-weight: 400;
 color: rgba(255, 255, 255, 0.6);
}

.bio-page .bio-personal-note {
 margin: 0;
 color: rgba(255, 255, 255, 0.65);
 line-height: 1.7;
}
/* SDV Inner Pages Gradient */
html[data-sdv-page="work"]::before,
html[data-sdv-page="rates"]::before,
html[data-sdv-page="privacy"]::before,
html[data-sdv-page="capabilities"]::before,
html[data-sdv-page="faq"]::before {
 opacity: 1;
}

html[data-sdv-page="work"] body::before,
html[data-sdv-page="rates"] body::before,
html[data-sdv-page="privacy"] body::before,
html[data-sdv-page="capabilities"] body::before,
html[data-sdv-page="faq"] body::before {
 opacity: 1;
 animation: siteBgGradientDrift 32s ease-in-out infinite;
}

html[data-sdv-page="work"] body::after,
html[data-sdv-page="rates"] body::after,
html[data-sdv-page="privacy"] body::after,
html[data-sdv-page="capabilities"] body::after,
html[data-sdv-page="faq"] body::after {
 opacity: 0.55;
}

html[data-sdv-page="work"] body,
html[data-sdv-page="rates"] body,
html[data-sdv-page="capabilities"] body,
html[data-sdv-page="faq"] body {
 background: transparent;
}

html[data-sdv-page="work"] main,
html[data-sdv-page="rates"] main,
html[data-sdv-page="capabilities"] main,
html[data-sdv-page="capabilities"] .inner-page,
html[data-sdv-page="faq"] main,
html[data-sdv-page="faq"] .inner-page {
 background: transparent !important;
}
/* SDV Homepage Targeted Fixes */
/* Card clearance + vertical center (index only) */
html[data-sdv-page="index"] .hero {
 padding-top: 90px;
 min-height: 100svh;
 box-sizing: border-box;
 display: flex;
 align-items: center;
 justify-content: center;
}

html[data-sdv-page="index"] .hero-layout {
 margin-top: 20px;
 width: 100%;
 max-width: 100%;
 display: flex;
 justify-content: center;
 align-items: center;
}

html[data-sdv-page="index"] .hero-content .hero-lead {
 font-size: 1.1rem;
 line-height: 1.75;
}

html[data-sdv-page="index"] .hero-content .hero-location--card-foot,
html[data-sdv-page="index"] .hero-content .hero-location {
 font-size: 0.62rem;
 letter-spacing: 0.08em;
 text-align: center;
 width: 100%;
 padding: 0 8px;
 box-sizing: border-box;
 white-space: normal;
 word-break: keep-all;
 font-weight: 900;
}

/* Stats row inside hero card */
html[data-sdv-page="index"] .hero-content .home-stats-grid {
 display: flex;
 justify-content: space-between;
 align-items: center;
 text-align: center;
 width: 100%;
 gap: 8px;
}

html[data-sdv-page="index"] .hero-content .home-stat {
 flex: 1;
 text-align: center;
 min-width: 0;
}

html[data-sdv-page="index"] .hero-content .home-stat-value {
 display: block;
 margin: 0;
 color: #00d4ff;
 font-size: 2rem;
 font-weight: 900;
 line-height: 1;
}

html[data-sdv-page="index"] .hero-content .home-stat-label {
 display: block;
 margin-top: 4px;
 color: rgba(255, 255, 255, 0.45);
 font-family: "Outfit", system-ui, sans-serif;
 font-size: 0.65rem;
 font-weight: 700;
 font-style: normal;
 text-transform: uppercase;
 letter-spacing: 0.1em;
 line-height: 1.3;
}

html[data-sdv-page="index"] .hero-content .hero-stat-pills {
 flex: 1.2;
 display: flex;
 flex-wrap: wrap;
 gap: 5px;
 justify-content: center;
 align-items: center;
 margin: 0;
 padding: 0 16px;
 border-left: 1px solid rgba(255, 255, 255, 0.08);
 border-right: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-sdv-page="index"] .hero-content .hero-stat-pill {
 border-radius: 20px;
 padding: 3px 10px;
 font-size: 11px;
 font-weight: 700;
 letter-spacing: 0.5px;
 white-space: nowrap;
 border: 1px solid;
 display: inline-block;
}

html[data-sdv-page="index"] .hero-content .hero-stat-pill--cyan {
 color: #00d4ff;
 border-color: rgba(0, 212, 255, 0.35);
 background: rgba(0, 212, 255, 0.1);
}

html[data-sdv-page="index"] .hero-content .hero-stat-pill--pink {
 color: #ff3d7f;
 border-color: rgba(255, 61, 127, 0.35);
 background: rgba(255, 61, 127, 0.1);
}

html[data-sdv-page="index"] .hero-content .hero-stat-pill--green {
 color: #00ff88;
 border-color: rgba(0, 255, 136, 0.35);
 background: rgba(0, 255, 136, 0.1);
}

html[data-sdv-page="index"] .hero-content .hero-stat-pill--orange {
 color: #ff6b2b;
 border-color: rgba(255, 107, 43, 0.35);
 background: rgba(255, 107, 43, 0.1);
}

/* Selected Work header — index hero card (all breakpoints) */
html[data-sdv-page="index"] .hero-content .home-stats-below-cta {
 margin-bottom: 0;
 padding-bottom: 0;
 border-bottom: none;
}

html[data-sdv-page="index"] .hero-content .hero-card-attachment {
 margin-top: 32px;
 width: 100%;
}

html[data-sdv-page="index"] .hero-content .home-work-preview {
 margin: 0 auto;
 padding: 0;
 width: 100%;
 text-align: center;
}

html[data-sdv-page="index"] .hero-content .home-work-header {
 display: flex;
 flex-direction: row;
 justify-content: center;
 align-items: center;
 gap: 0;
 width: 100%;
 margin: 0 auto 12px;
 padding-top: 20px;
 border-top: 1px solid rgba(255, 255, 255, 0.08);
 text-align: center;
}

html[data-sdv-page="index"] .hero-content .home-work-preview .section-title,
html[data-sdv-page="index"] .hero-content .home-work-title {
 margin: 0;
 padding: 0;
 flex: 0 1 auto;
 min-width: 0;
 font-size: 1.1rem;
 font-weight: 800;
 line-height: 1.2;
 letter-spacing: 0.02em;
 text-align: center;
 color: #00d4ff;
}

html[data-sdv-page="index"] .hero-content .home-work-link {
 flex: 0 0 auto;
 margin: 0;
 padding: 0;
 white-space: nowrap;
 font-size: 0.75rem;
 font-weight: 700;
 line-height: 1.2;
 color: #ff3d7f;
 border-bottom: none;
 text-align: center;
 align-self: center;
}

html[data-sdv-page="index"] .hero-content .home-work-link:hover {
 color: #ff6b9d;
}

html[data-sdv-page="index"] .hero-content .home-work-preview .section-title::after {
 display: block;
 width: 40px;
 max-width: 40px;
 height: 2px;
 margin: 4px auto 12px;
 border-radius: 0;
 background: #ff3d7f;
}

html[data-sdv-page="index"] .hero-content .home-work-grid {
 display: flex;
 justify-content: center;
 align-items: stretch;
 gap: 8px;
 width: 100%;
 margin-top: 0;
}

/* Profile photo (index hero only) */
html[data-sdv-page="index"] .hero-portrait img {
 border-radius: 12px;
 object-fit: cover;
 object-position: center top;
 border: 2px solid #00d4ff;
 box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
 filter: none;
 mix-blend-mode: normal;
 opacity: 1;
 backdrop-filter: none;
 -webkit-backdrop-filter: none;
}

/* SDV Homepage Ticker + Headline Fix */
.site-ticker,
.site-ticker-viewport {
 overflow: hidden;
 width: 100%;
 max-width: 100%;
}

.site-ticker-track,
.site-ticker-track.site-ticker--ready {
 display: inline-block;
 white-space: nowrap;
 animation: tickerScroll 38s linear infinite;
 animation-play-state: running;
}

.site-ticker:hover .site-ticker-track {
 animation-play-state: paused;
}

.site-ticker-group {
 display: inline-block;
 vertical-align: top;
 white-space: nowrap;
}

.site-ticker-item,
.site-ticker-dot {
 display: inline-block;
 vertical-align: middle;
 white-space: nowrap;
}

/* SDV Ticker item typography */
.site-ticker-item {
 margin: 0 64px;
 font-family: "Outfit", system-ui, sans-serif;
 font-size: 1rem;
 font-weight: 700;
 font-style: normal;
 letter-spacing: 0.04em;
 line-height: 1;
 text-transform: uppercase;
 animation: tickerGlow 3s ease-in-out infinite alternate;
}

.site-ticker-item:nth-child(16n+1) {
 animation-delay: 0s;
}

.site-ticker-item:nth-child(16n+3) {
 animation-delay: 0.15s;
}

.site-ticker-item:nth-child(16n+5) {
 animation-delay: 0.35s;
}

.site-ticker-item:nth-child(16n+7) {
 animation-delay: 0.55s;
}

.site-ticker-item:nth-child(16n+9) {
 animation-delay: 0.75s;
}

.site-ticker-item:nth-child(16n+11) {
 animation-delay: 0.95s;
}

.site-ticker-item:nth-child(16n+13) {
 animation-delay: 1.15s;
}

.site-ticker-item:nth-child(16n+15) {
 animation-delay: 1.35s;
}

.site-ticker-dot {
 margin: 0 12px;
}

@keyframes tickerGlow {
 from {
  opacity: 0.8;
 }
 to {
  opacity: 1;
  filter: brightness(1.2);
 }
}

@media (prefers-reduced-motion: reduce) {
 .site-ticker-item {
  animation: none;
  opacity: 1;
  filter: none;
 }

 .site-ticker-track,
 .stm-track {
  animation: none !important;
 }
}

@keyframes tickerScroll {
 from {
  transform: translateX(0);
 }
 to {
  transform: translateX(-50%);
 }
}

@keyframes tickerSpotlight {
 0% { left: -60%; }
 100% { left: 110%; }
}

@keyframes tickerScanFlash {
 0% { left: -30%; opacity: 0; }
 5% { opacity: 1; }
 20% { left: 110%; opacity: 0; }
 100% { left: 110%; opacity: 0; }
}

@media (min-width: 768px) {
 html[data-sdv-page="index"] .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1.5rem;
 }

 html[data-sdv-page="index"] .hero-layout {
  margin-top: 0;
 }

 html[data-sdv-page="index"] .hero-content .hero-title {
  font-size: 1.8rem;
  line-height: 1.12;
 }

 html[data-sdv-page="index"] .hero-content .hero-lead {
  font-size: 1.1rem;
  line-height: 1.75;
 }

 html[data-sdv-page="index"] .hero-content .home-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: #00d4ff;
 }

 html[data-sdv-page="index"] .hero-content .home-stat-label {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
 }

 html[data-sdv-page="index"] .hero-content .home-work-header {
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
 }
}
/* SDV Contact Page Dark Gradient + Text */
/* Same gradient wash as About Me (bio) — exact property values */
html[data-sdv-page="contact"]::before {
 opacity: 1;
}

html[data-sdv-page="contact"] body::before {
 opacity: 1;
 animation: siteBgGradientDrift 32s ease-in-out infinite;
}

html[data-sdv-page="contact"] body::after {
 opacity: 0.55;
}

html[data-sdv-page="contact"] body {
 background: transparent;
}

html[data-sdv-page="contact"] main,
html[data-sdv-page="contact"] .inner-page,
html[data-sdv-page="contact"] .section.contact {
 background: transparent !important;
 box-shadow: none;
}

/* Text contrast (contact page only) */
html[data-sdv-page="contact"] .section.contact .section-title {
 color: #ffffff;
}

html[data-sdv-page="contact"] .contact-intro-card .contact-lead,
html[data-sdv-page="contact"] .section.contact .contact-intro-card .contact-lead {
 color: rgba(255, 255, 255, 0.75);
}

html[data-sdv-page="contact"] .contact-lead-cta {
 margin: 1rem 0 0;
 color: #00d4ff;
 font-weight: 700;
}

html[data-sdv-page="contact"] .contact-form-label {
 color: rgba(255, 255, 255, 0.5);
}

html[data-sdv-page="contact"] .contact-form-input,
html[data-sdv-page="contact"] .contact-form-textarea,
html[data-sdv-page="contact"] .contact-form select.contact-form-input {
 color: #ffffff;
 background: rgba(255, 255, 255, 0.07);
}

html[data-sdv-page="contact"] .contact-form-input::placeholder,
html[data-sdv-page="contact"] .contact-form-textarea::placeholder {
 color: rgba(255, 255, 255, 0.35);
 opacity: 1;
}

#contact-inquiry {
 background-color: rgba(15, 8, 28, 0.9);
 color: #ffffff;
}

#contact-inquiry option {
 background-color: #0f0820;
 color: #ffffff;
}
/* SDV Currently In Rotation */
.bio-page .rotation-card-label {
 margin: 0 0 1rem;
 font-family: "Outfit", system-ui, sans-serif;
 font-size: 0.65rem;
 font-weight: 700;
 font-style: normal;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: #ff3d7f;
}

.bio-page .rotation-player-main {
 display: grid;
 grid-template-columns: 120px minmax(0, 1fr);
 gap: 1rem;
 align-items: start;
}

.bio-page .rotation-art {
 position: relative;
 width: 120px;
 height: 120px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: rgba(255, 255, 255, 0.05);
 border: 1px solid rgba(255, 255, 255, 0.1);
 border-radius: 4px;
 overflow: hidden;
 flex-shrink: 0;
}

.bio-page .rotation-art-img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 border-radius: 4px;
 display: block;
}

.bio-page .rotation-art-img[hidden] {
 display: none;
}

.bio-page .rotation-art--has-image {
 background: transparent;
}

.bio-page .rotation-art-icon {
 font-size: 2.25rem;
 line-height: 1;
 color: rgba(255, 255, 255, 0.2);
}

.bio-page .rotation-art-icon[hidden] {
 display: none;
}

.bio-page .rotation-album-title {
 margin: 0;
 font-size: 1rem;
 font-weight: 700;
 color: #fff;
 line-height: 1.3;
}

.bio-page .rotation-artist {
 margin: 0.2rem 0 0;
 font-size: 0.85rem;
 color: rgba(255, 255, 255, 0.6);
}

.bio-page .rotation-year {
 margin: 0.15rem 0 0;
 font-size: 0.75rem;
 color: rgba(255, 255, 255, 0.3);
}

.bio-page .rotation-note {
 margin: 8px 0 0;
 font-size: 0.78rem;
 font-style: italic;
 color: rgba(255, 255, 255, 0.5);
 line-height: 1.45;
}

.bio-page .rotation-progress {
 margin-top: 1rem;
 width: 100%;
 height: 3px;
 border-radius: 2px;
 background: rgba(255, 255, 255, 0.06);
 overflow: hidden;
}

.bio-page .rotation-progress-fill {
 width: 35%;
 height: 100%;
 border-radius: 2px;
 background: #ff3d7f;
}

.bio-page .rotation-links {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 0.75rem 1.25rem;
 margin-top: 0.85rem;
}

.bio-page .rotation-link {
 font-size: 0.7rem;
 text-decoration: none;
 transition: color 0.2s ease, opacity 0.2s ease;
}

.bio-page .rotation-link--primary {
 color: #ff3d7f;
 font-weight: 600;
}

.bio-page .rotation-link--primary:hover {
 color: #ff6b9d;
}

.bio-page .rotation-link--secondary {
 color: rgba(255, 255, 255, 0.4);
}

.bio-page .rotation-link--secondary:hover {
 color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 480px) {
 .bio-page .rotation-player-main {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
 }
}

/* SDV Blog page (placeholder) */
.blog-page .blog-grid {
 display: grid;
 gap: 1.25rem;
 margin-top: 1.5rem;
}

@media (min-width: 640px) {
 .blog-page .blog-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
 }
}

.blog-page .blog-card {
 padding: 1.35rem 1.4rem;
 border-left: 4px solid #00d4ff;
}

.blog-page .blog-card-tag {
 margin: 0 0 0.5rem;
 font-family: "Outfit", system-ui, sans-serif;
 font-size: 0.65rem;
 font-weight: 700;
 font-style: normal;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: #00d4ff;
}

.blog-page .blog-card-title {
 margin: 0 0 0.5rem;
 font-size: 1.05rem;
 font-weight: 700;
 color: #fff;
 line-height: 1.35;
}

.blog-page .blog-card-desc {
 margin: 0 0 0.75rem;
 font-size: 0.88rem;
 color: rgba(255, 255, 255, 0.6);
 line-height: 1.5;
}

.blog-page .blog-card-date {
 margin: 0 0 0.5rem;
 font-size: 0.75rem;
 color: rgba(255, 255, 255, 0.35);
}

.blog-page .blog-card-cta {
 font-size: 0.75rem;
 color: rgba(255, 255, 255, 0.45);
}
/* SDV Bio Photos Gallery Row */
.bio-page .bio-bottom-row {
 display: grid;
 grid-template-columns: 1.8fr 1fr;
 gap: 32px;
 align-items: start;
 overflow: visible;
 width: 100%;
}

@media (max-width: 767px) {
 .bio-page .bio-bottom-row {
  grid-template-columns: 1fr;
 }
}

.bio-page .bio-bottom-gallery,
.bio-page .bio-bottom-featured {
 width: 100%;
 max-width: 100%;
 align-self: stretch;
 min-width: 0;
 background: transparent;
 box-shadow: none;
}

.bio-page .bio-bottom-gallery .section-title,
.bio-page .bio-bottom-featured .section-title {
 margin-top: 0;
}

.bio-page .bio-bottom-gallery .section-title::after,
.bio-page .bio-bottom-featured .section-title::after {
 content: "";
 display: block;
 width: 48px;
 height: 3px;
 margin: 8px 0 0;
 border-radius: 2px;
 background: #00d4ff;
}

.bio-page .bio-photos-intro {
 margin: 0.35rem 0 0;
 font-size: 0.88rem;
 color: rgba(255, 255, 255, 0.55);
 line-height: 1.45;
}

.bio-page .bio-photos-intro[hidden] {
 display: none;
}

/* Bio page — global body text scale */
.bio-page .bio-text,
.bio-page--scroll .bio-text,
.bio-page #tab-experience .experience-intro .highlights-blurb,
.bio-page .bio-photos-intro,
.bio-page .featured-in-summary {
 font-size: 1rem;
 line-height: 1.75;
}

.bio-page .bio-aoty-album,
.bio-aoty-album {
 font-size: 1rem;
 font-weight: 800;
}

.bio-page .bio-aoty-artist,
.bio-aoty-artist {
 font-size: 0.85rem;
}

.bio-page .rotation-card-label,
.bio-page .bio-photos-caption,
.bio-page .featured-in-meta,
.bio-page .bio-aoty-year-label,
.bio-page .rotation-year,
.bio-page .aoty-year-tab {
 font-size: 0.72rem;
}

.bio-page .rotation-album-title {
 font-size: 1rem;
 font-weight: 800;
 line-height: 1.75;
}

.bio-page .featured-in-headline {
 font-size: 1rem;
 line-height: 1.75;
}

/* Bio Snapshots carousel */
.bio-page .bio-snapshots-carousel {
 width: 100%;
 margin-top: 0.85rem;
}

.bio-page .bio-snapshots-carousel-viewport {
 position: relative;
 width: 100%;
 max-height: 500px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: rgba(0, 0, 0, 0.3);
 border-radius: 8px;
 overflow: hidden;
}

.bio-page .bio-snapshots-carousel-track {
 position: relative;
 width: 100%;
 max-height: 500px;
 margin: 0;
 padding: 0;
 display: flex;
 align-items: center;
 justify-content: center;
}

.bio-page .bio-snapshots-carousel-slide {
 position: absolute;
 width: 100%;
 margin: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 opacity: 0;
 visibility: hidden;
 transition: opacity 0.35s ease;
 pointer-events: none;
}

.bio-page .bio-snapshots-carousel-slide.is-active {
 position: relative;
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
}

.bio-page .bio-snapshots-carousel-img {
 display: block;
 width: 100%;
 max-height: 500px;
 height: auto;
 object-fit: contain;
 object-position: center center;
 background: rgba(0, 0, 0, 0.3);
 border-radius: 8px;
}

.bio-page .bio-snapshots-carousel-img.bio-photos-img--snap-video-wall {
 object-position: center center;
}

.bio-page .bio-snapshots-carousel-img.bio-photos-img--snap-all-star {
 object-position: center 30%;
}

.bio-page .bio-snapshots-carousel-img.bio-photos-img--snap-metroparks {
 object-position: center 25%;
}

.bio-page .bio-snapshots-carousel-img.bio-photos-img--snap-championship {
 object-position: center 30%;
}

.bio-page .bio-snapshots-carousel-arrow {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 z-index: 2;
 display: flex;
 align-items: center;
 justify-content: center;
 width: 36px;
 height: 36px;
 padding: 0;
 font-size: 1rem;
 line-height: 1;
 color: #fff;
 background: rgba(0, 0, 0, 0.5);
 border: 1px solid rgba(255, 255, 255, 0.2);
 border-radius: 50%;
 cursor: pointer;
}

.bio-page .bio-snapshots-carousel-arrow--prev {
 left: 10px;
}

.bio-page .bio-snapshots-carousel-arrow--next {
 right: 10px;
}

.bio-page .bio-snapshots-carousel-arrow:hover,
.bio-page .bio-snapshots-carousel-arrow:focus-visible {
 background: rgba(0, 0, 0, 0.65);
 outline: none;
}

.bio-page .bio-snapshots-carousel-dots {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 8px;
 margin-top: 12px;
}

.bio-page .bio-snapshots-carousel-dot {
 width: 8px;
 height: 8px;
 padding: 0;
 border: none;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.3);
 cursor: pointer;
}

.bio-page .bio-snapshots-carousel-dot.is-active {
 background: #00d4ff;
}

.bio-page .bio-snapshots-carousel-caption {
 margin: 8px 0 0;
 padding: 0;
 font-size: 0.7rem;
 font-style: normal;
 color: rgba(255, 255, 255, 0.45);
 text-align: center;
 line-height: 1.4;
}

.bio-page .bio-snapshots-grid {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 12px;
 margin-top: 0.85rem;
 width: 100%;
}

.bio-page .bio-snapshots-item {
 margin: 0;
}

.bio-page .bio-snapshots-item .bio-photos-img {
 width: 100%;
 height: 220px;
 object-fit: cover;
 border-radius: 6px;
 display: block;
}

.bio-page .bio-photos-grid {
 display: flex;
 flex-direction: column;
 gap: 0;
 margin-top: 0.85rem;
 width: 100%;
}

.bio-page .bio-photos-item,
.bio-page .bio-photos-trigger.bio-photos-item {
 margin: 0 0 12px;
 padding: 0;
 overflow: visible;
 border: none;
 border-radius: 0;
 background: transparent;
 height: auto;
 max-height: none;
 display: flex;
 flex-direction: column;
 align-items: stretch;
 width: 100%;
 cursor: pointer;
}

.bio-page .bio-photos-item--wide {
 grid-column: auto;
}

.bio-page .bio-photos-img {
 display: block;
 width: 100%;
 height: auto;
 max-height: 400px;
 object-fit: cover;
 object-position: center 20%;
 border-radius: 6px;
}
/* Snapshots — per-photo crop (Bio tab) */
.bio-page .bio-photos-img--snap-video-wall {
 object-position: center center;
}

.bio-page .bio-photos-img--snap-all-star {
 object-position: center 25%;
}

.bio-page .bio-photos-img--snap-metroparks {
 object-position: center 20%;
}

.bio-page .bio-photos-img--snap-championship {
 object-position: center 25%;
}


.bio-page .bio-photos-caption {
 display: block;
 margin: 6px 0 0;
 padding: 0;
 font-size: 0.72rem;
 color: rgba(255, 255, 255, 0.4);
 letter-spacing: 0.04em;
 text-align: center;
 line-height: 1.75;
}

.bio-page .bio-bottom-featured .featured-in-card {
 margin-top: 0.85rem;
}

/* SDV 2016 Championship Feature */
/* Bio tab — 2016 championship credential callout */
.bio-page #tab-bio .bio-championship-callout {
 margin-top: 1.75rem;
 padding: 0;
 display: grid;
 grid-template-columns: minmax(9.5rem, 11.5rem) minmax(0, 1fr);
 gap: 0;
 align-items: stretch;
 border-radius: 10px;
 border: 1px solid rgba(255, 215, 0, 0.28);
 border-left: 4px solid #ffd700;
 background: linear-gradient(
  125deg,
  rgba(255, 215, 0, 0.1) 0%,
  rgba(15, 8, 28, 0.55) 38%,
  rgba(15, 8, 28, 0.48) 100%
 );
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 box-shadow:
  0 12px 40px rgba(0, 0, 0, 0.45),
  0 0 28px rgba(255, 215, 0, 0.12);
 overflow: hidden;
}

.bio-page .bio-championship-callout-media {
 margin: 0;
 padding: 0;
 background: rgba(0, 0, 0, 0.35);
 border-right: 1px solid rgba(255, 255, 255, 0.08);
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 100%;
}

.bio-page .bio-championship-callout-img {
 display: block;
 width: 100%;
 height: 100%;
 min-height: 11rem;
 object-fit: cover;
 object-position: center;
}

.bio-page .bio-championship-callout-copy {
 padding: 1.15rem 1.25rem 1.2rem;
 display: flex;
 flex-direction: column;
 justify-content: center;
 gap: 0.35rem;
}

.bio-page .bio-championship-callout-eyebrow {
 margin: 0;
 font-size: 0.65rem;
 font-weight: 700;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: #ffd700;
 line-height: 1.3;
}

.bio-page .bio-championship-callout-title {
 margin: 0;
 font-size: clamp(0.92rem, 2vw, 1.05rem);
 font-weight: 600;
 color: #fff;
 line-height: 1.4;
}



@media (max-width: 560px) {
 .bio-page #tab-bio .bio-championship-callout {
  grid-template-columns: 1fr;
 }

 .bio-page .bio-championship-callout-media {
  border-right: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 14rem;
 }

 .bio-page .bio-championship-callout-img {
  min-height: 14rem;
  max-height: 14rem;
 }
}


/* Experience — 2016 NBA Champions timeline row */
.bio-page #tab-experience .timeline-item--champion {
 box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
 border-radius: 4px;
 padding-left: 0.35rem;
 padding-right: 0.35rem;
 margin: 0 -0.35rem;
 background: rgba(255, 215, 0, 0.04);
}

.bio-page #tab-experience .timeline-year--champion {
 color: #ffd700 !important;
 font-weight: 800;
}

.bio-page #tab-experience .timeline-text--champion {
 color: rgba(255, 255, 255, 0.92);
}

.bio-page #tab-experience .timeline-champion-badge {
 color: #ffd700;
 font-weight: 700;
 margin-right: 0.2rem;
}

/* Homepage — champion achievement chip */
html[data-sdv-page="index"] .home-stat--champion {
 display: flex;
 align-items: center;
 justify-content: center;
}

html[data-sdv-page="index"] .home-stat-value--champion {
 margin: 0;
 padding: 0.45rem 0.65rem;
 font-size: 0.95rem !important;
 font-weight: 800;
 line-height: 1.2;
 color: #ffd700 !important;
 -webkit-text-fill-color: #ffd700;
 background: rgba(255, 215, 0, 0.08);
 border: 1px solid rgba(255, 215, 0, 0.4);
 border-radius: 6px;
 white-space: nowrap;
}

@media (max-width: 520px) {
 html[data-sdv-page="index"] .home-stat-value--champion {
  font-size: 0.78rem !important;
  white-space: normal;
  text-align: center;
 }
}

/* SDV Bio Photos Lightbox Triggers */
.bio-page .bio-photos-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(15, 8, 28, 0.35);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  height: 220px;
  max-height: 220px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bio-page .bio-photos-trigger:hover,
.bio-page .bio-photos-trigger:focus-visible {
  border-color: rgba(42, 166, 214, 0.45);
  box-shadow: 0 0 0 1px rgba(42, 166, 214, 0.25);
}

.bio-page .bio-photos-trigger:focus-visible {
  outline: 2px solid var(--logo-blue, #2aa6d6);
  outline-offset: 2px;
}

.bio-page .bio-photos-trigger:active {
  transform: scale(0.985);
}

.bio-page .bio-photos-item--ring.bio-photos-trigger {
  border: 2px solid #ffd700;
}

.bio-page .bio-photos-img--video {
  filter: brightness(0.88);
}

.bio-page .bio-photos-play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}

.bio-page figure.bio-photos-item[role="button"]:focus-visible {
  outline: 2px solid var(--logo-blue, #2aa6d6);
  outline-offset: 2px;
}

.gallery-lightbox-caption-count {
  opacity: 0.65;
  font-size: 0.9em;
}

/* SDV Bio Photos Ring Cell */
.bio-page .bio-photos-item--ring {
 position: relative;
 border: 2px solid #ffd700;
 box-shadow:
  0 0 0 2px rgba(74, 16, 48, 0.85),
  0 0 18px rgba(255, 215, 0, 0.28),
  inset 0 0 20px rgba(46, 10, 26, 0.45);
 background: linear-gradient(145deg, rgba(74, 16, 48, 0.55) 0%, rgba(26, 10, 26, 0.75) 100%);
}

.bio-page .bio-photos-item--ring .bio-photos-img {
 object-position: center;
}

.bio-page .bio-photos-ring-caption {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 margin: 0;
 padding: 0.45rem 0.5rem 0.5rem;
 display: flex;
 flex-direction: column;
 gap: 0.15rem;
 background: linear-gradient(
  180deg,
  transparent 0%,
  rgba(26, 10, 26, 0.75) 35%,
  rgba(46, 10, 26, 0.92) 100%
 );
 border-top: 1px solid rgba(255, 215, 0, 0.35);
 pointer-events: none;
}

.bio-page .bio-photos-ring-eyebrow {
 font-size: 0.58rem;
 font-weight: 700;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: #ffd700;
 line-height: 1.2;
}

.bio-page .bio-photos-ring-title {
 font-size: 0.62rem;
 font-weight: 600;
 color: rgba(255, 255, 255, 0.92);
 line-height: 1.35;
}


/* SDV Site Tweaks Batch */
/* Capabilities — What I Do card accents */
.services-page #tab-cap-services > .services-block:nth-of-type(1) {
  border-left: 4px solid #ff3d7f;
  background: linear-gradient(135deg, rgba(255, 61, 127, 0.08), rgba(15, 8, 28, 0.45));
}
.services-page #tab-cap-services > .services-block:nth-of-type(1) .services-block-num {
  font-size: 2rem;
  font-weight: 900;
  color: #ff3d7f;
}
.services-page #tab-cap-services > .services-block:nth-of-type(1):hover {
  box-shadow: 0 8px 32px rgba(255, 61, 127, 0.2), 0 12px 30px rgba(0, 0, 0, 0.3);
}

.services-page #tab-cap-services > .services-block:nth-of-type(2) {
  border-left: 4px solid #00d4ff;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(15, 8, 28, 0.45));
}
.services-page #tab-cap-services > .services-block:nth-of-type(2) .services-block-num {
  font-size: 2rem;
  font-weight: 900;
  color: #00d4ff;
}
.services-page #tab-cap-services > .services-block:nth-of-type(2):hover {
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), 0 12px 30px rgba(0, 0, 0, 0.3);
}

.services-page #tab-cap-services > .services-block:nth-of-type(3) {
  border-left: 4px solid #00ff88;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(15, 8, 28, 0.45));
}
.services-page #tab-cap-services > .services-block:nth-of-type(3) .services-block-num {
  font-size: 2rem;
  font-weight: 900;
  color: #00ff88;
}
.services-page #tab-cap-services > .services-block:nth-of-type(3):hover {
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.2), 0 12px 30px rgba(0, 0, 0, 0.3);
}

.services-page #tab-cap-services > .services-block:nth-of-type(4) {
  border-left: 4px solid #ff6b2b;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.08), rgba(15, 8, 28, 0.45));
}
.services-page #tab-cap-services > .services-block:nth-of-type(4) .services-block-num {
  font-size: 2rem;
  font-weight: 900;
  color: #ff6b2b;
}
.services-page #tab-cap-services > .services-block:nth-of-type(4):hover {
  box-shadow: 0 8px 32px rgba(255, 107, 43, 0.2), 0 12px 30px rgba(0, 0, 0, 0.3);
}


/* SDV Bio Personal — What I'm Into & Recent Shows */
.bio-page .bio-whats-into {
  margin-top: 1.5rem;
}

.bio-page .bio-whats-into-heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: #fff;
}

.bio-page .bio-into-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 720px) {
  .bio-page .bio-into-grid {
    grid-template-columns: 1fr;
  }
}

.bio-page .bio-into-card {
  padding: 16px;
  border-radius: 8px;
  background: rgba(15, 8, 28, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left-width: 3px;
  border-left-style: solid;
}

.bio-page .bio-into-card--pink {
  border-left-color: #ff3d7f;
}

.bio-page .bio-into-card--cyan {
  border-left-color: #00d4ff;
}

.bio-page .bio-into-card--green {
  border-left-color: #00ff88;
}

.bio-page .bio-into-icon {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bio-page .bio-into-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.bio-page .bio-into-card--pink .bio-into-label {
  color: #ff3d7f;
}

.bio-page .bio-into-card--cyan .bio-into-label {
  color: #00d4ff;
}

.bio-page .bio-into-card--green .bio-into-label {
  color: #00ff88;
}

.bio-page .bio-into-value {
  margin: 0.35rem 0 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.35;
}

.bio-page .bio-personal-card--shows {
  margin-top: 1rem;
  padding: 16px 1.25rem;
  border-left: 4px solid #ff6b2b;
}

.bio-page .bio-recent-shows-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ff6b2b;
  line-height: 1.3;
}

.bio-page .bio-shows-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bio-page .bio-show-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bio-page .bio-show-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bio-page .bio-show-name {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.bio-page .bio-show-year {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.bio-page .bio-personal-card--mentions {
  margin-top: 1.5rem;
}

/* SDV Personal Year Top 10 Tabs — Apple Music style AOTY */

/* Personal tab — AOTY section heading (outside card) */
.bio-page .personal-aoty-heading {
 margin: 0 0 12px;
 font-size: 1.1rem;
 font-weight: 900;
 color: #fff;
 text-transform: uppercase;
 line-height: 1.2;
}

.bio-page .personal-aoty-heading::after {
 content: "";
 display: block;
 width: 40px;
 height: 2px;
 margin-top: 6px;
 background: #ff3d7f;
}

.bio-page .personal-aoty {
  margin-top: 1.5rem;
}

.bio-page .aoty-year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-bottom: 1.25rem;
}

.bio-page .aoty-year-tab {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0 0 6px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  margin: 0;
  transition: all 0.2s ease;
}

.bio-page .aoty-year-tab:hover {
  color: rgba(255, 255, 255, 0.7);
}

.bio-page .aoty-year-tab.active {
  color: #ffffff;
  border-bottom-color: #ff3d7f;
}

.bio-page .aoty-year-list {
  display: block;
}

.bio-page .bio-aoty-card {
  background: rgba(10, 4, 20, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #ff3d7f;
  border-radius: 4px;
  padding: 20px 24px;
  margin: 0;
}

.bio-page .bio-aoty-year-label {
  font-family: Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff3d7f;
  margin: 0 0 4px;
  line-height: 1.3;
}

.bio-page .bio-aoty-subtitle {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.45;
}

.bio-page .bio-aoty-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bio-page .bio-aoty-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-page .bio-aoty-entry:last-child {
  border-bottom: none;
}

.bio-page .bio-aoty-art {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bio-page .bio-aoty-art-img {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
}

.bio-page .bio-aoty-art-img.is-hidden {
  display: none;
}

.bio-page .bio-aoty-art-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.2rem;
  line-height: 1;
  border-radius: 4px;
}

.bio-page .bio-aoty-art-placeholder.is-visible {
  display: flex;
}

.bio-page .bio-aoty-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.bio-page .bio-aoty-album {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  display: block;
}

.bio-page .bio-aoty-artist {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
  display: block;
}
/* SDV Mobile 767px — nav + homepage hero */
@media (max-width: 767px) {
 body {
  overflow-x: hidden;
 }

 /* Hamburger nav — overrides legacy max-width: 700px mobile nav */
 .nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  gap: 0;
 }

 .nav .logo {
  width: auto;
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
 }

 .nav-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
  width: auto;
  height: auto;
  padding: 4px 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 102;
 }

 .nav-toggle span {
  display: none !important;
 }

 .nav-toggle::before {
  content: "☰";
  display: block;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
 }

 .nav-links {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--site-header-h, 4.35rem);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  list-style: none;
  background: rgba(0, 0, 0, 0.95);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 101;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
 }

 .nav-links.open {
  display: flex !important;
 }

 .nav-links li {
  width: 100%;
  margin: 0;
  border-bottom: none;
 }

 .nav-links a {
  display: block;
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: #fff;
  border-radius: 0;
 }

 .nav-links a:not(.nav-cta)::after {
  display: none !important;
 }

 .nav-links .nav-cta {
  display: block;
  margin: 0;
  width: 100%;
  padding: 16px 24px;
  text-align: left;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
 }

 /* Homepage hero — mobile layout + typography (desktop min-width: 768px unchanged) */
 html[data-sdv-page="index"] .hero {
  padding-top: var(--site-top-offset, 90px);
  min-height: auto;
  align-items: flex-start;
  box-sizing: border-box;
 }

 html[data-sdv-page="index"] .hero-layout {
  margin-top: 0;
  width: 100%;
 }

 html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel,
 html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel.hero-card-with-attachment {
  padding: 20px !important;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  overflow: visible;
  -webkit-overflow-scrolling: auto;
 }

 .hero-card {
  background: rgb(8, 4, 20) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(0, 212, 255, 0.55) !important;
  box-shadow:
   0 18px 40px rgba(0, 0, 0, 0.5),
   0 0 20px rgba(0, 212, 255, 0.38),
   0 0 36px rgba(0, 212, 255, 0.22),
   0 0 32px rgba(255, 61, 127, 0.14) !important;
 }

 html[data-sdv-page="index"] .hero-portrait {
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  border-radius: 12px;
  isolation: isolate;
  overflow: visible;
 }

 html[data-sdv-page="index"] .hero-portrait-ring.sdv-spectrum-ring {
  inset: -4px;
  border-radius: 16px;
 }

 html[data-sdv-page="index"] .hero-portrait img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
 }

 html[data-sdv-page="index"] .hero-content .hero-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
 }

 html[data-sdv-page="index"] .hero-content .hero-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
 }

 html[data-sdv-page="index"] .hero-content .home-stats-below-cta {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
 }

 html[data-sdv-page="index"] .hero-content .btn-hero-contact,
 html[data-sdv-page="index"] .btn-hero-contact {
  color: #ffffff !important;
 }

 html[data-sdv-page="index"] .hero-content .home-stats-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
 }

 html[data-sdv-page="index"] .hero-content .home-stat {
  flex: 1;
  text-align: center;
 }

 html[data-sdv-page="index"] .hero-content .home-stat-value {
  font-size: 1.5rem;
  font-weight: 900;
 }

 html[data-sdv-page="index"] .hero-content .home-stat-label {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
 }

 html[data-sdv-page="index"] .hero-content .hero-stat-pills {
  flex: 1.2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
 }

 html[data-sdv-page="index"] .hero-content .hero-stat-pill {
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 1px solid;
  display: inline-block;
 }

 html[data-sdv-page="index"] .hero-content .hero-stat-pill--cyan {
  color: #00d4ff;
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.1);
 }

 html[data-sdv-page="index"] .hero-content .hero-stat-pill--pink {
  color: #ff3d7f;
  border-color: rgba(255, 61, 127, 0.35);
  background: rgba(255, 61, 127, 0.1);
 }

 html[data-sdv-page="index"] .hero-content .hero-stat-pill--green {
  color: #00ff88;
  border-color: rgba(0, 255, 136, 0.35);
  background: rgba(0, 255, 136, 0.1);
 }

 html[data-sdv-page="index"] .hero-content .hero-stat-pill--orange {
  color: #ff6b2b;
  border-color: rgba(255, 107, 43, 0.35);
  background: rgba(255, 107, 43, 0.1);
 }

 html[data-sdv-page="index"] .hero-content .home-work-header {
  gap: 16px;
 }

 html[data-sdv-page="index"] .hero-content .home-work-preview .section-title,
 html[data-sdv-page="index"] .hero-content .home-work-title {
  font-size: 0.9rem;
 }

 html[data-sdv-page="index"] .hero-content .home-work-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff3d7f;
  border-bottom: none;
 }

 html[data-sdv-page="index"] .hero-content .home-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  width: 100%;
  align-items: stretch;
 }

 html[data-sdv-page="index"] .hero-content .home-work-item {
  width: 100%;
  max-width: none;
  aspect-ratio: unset;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
 }

 html[data-sdv-page="index"] .hero-content .home-work-item img,
 html[data-sdv-page="index"] .hero-content .home-work-item video {
  width: 100%;
  height: 90px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  display: block;
 }

 html[data-sdv-page="index"] .hero-content .hero-location--card-foot,
 html[data-sdv-page="index"] .hero-content .hero-location {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  font-weight: 900;
 }
}
/* SDV Ticker Mobile Pills */
/* Desktop scrolling ticker — visible ≥768px only */
.site-ticker-mobile {
  display: none;
}

@media (max-width: 767px) {
  .site-ticker-mobile {
    display: block !important;
  }

  .stm-track {
    animation: stmScroll 28s linear infinite !important;
    animation-play-state: running !important;
  }
}

@media (min-width: 768px) {
  .site-ticker--desktop {
    display: flex;
  }
  .site-ticker-mobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .site-ticker--desktop {
    display: none !important;
  }
}
/* iOS Safari — opaque homepage hero card (last rule; wins cascade) */
@media (max-width: 767px) {
  html body .hero-card,
  html body [class*="hero-card"],
  html body [class*="hero-wrapper"],
  html body .hero-content.sdv-spectrum-panel,
  html body .hero-content.sdv-spectrum-panel.hero-card,
  html body .hero-content.sdv-spectrum-panel.hero-card-with-attachment,
  html body .hero-layout,
  html body section.hero {
    background: rgb(6, 3, 16) !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.5),
      0 0 20px rgba(0, 212, 255, 0.38),
      0 0 36px rgba(0, 212, 255, 0.22),
      0 0 32px rgba(255, 61, 127, 0.14) !important;
    border: 1px solid rgba(0, 212, 255, 0.55) !important;
  }

  html body .hero-content.sdv-spectrum-panel::before,
  html body .hero-content.sdv-spectrum-panel::after {
    background: rgb(6, 3, 16) !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* iOS Safari — homepage hero: page-level scroll only (no nested scroll containers) */
@media (max-width: 767px) {
  html[data-sdv-page="index"] .hero,
  html[data-sdv-page="index"] section.hero {
    overflow: visible;
  }

  html[data-sdv-page="index"] .hero-layout,
  html[data-sdv-page="index"] .hero-content,
  html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel,
  html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel.hero-card,
  html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel.hero-card-with-attachment,
  html[data-sdv-page="index"] .hero-card,
  html[data-sdv-page="index"] .hero-inner,
  html[data-sdv-page="index"] .hero-copy,
  html[data-sdv-page="index"] .hero-actions,
  html[data-sdv-page="index"] .hero-card-attachment,
  html[data-sdv-page="index"] .hero-content .home-work-preview,
  html[data-sdv-page="index"] .hero-content .home-stats-below-cta,
  html[data-sdv-page="index"] .hero-content .home-work-header,
  html body .hero-layout,
  html body .hero-content.sdv-spectrum-panel,
  html body .hero-content.sdv-spectrum-panel.hero-card,
  html body .hero-content.sdv-spectrum-panel.hero-card-with-attachment,
  html body .hero-card,
  html body [class*="hero-card"] {
    overflow: visible;
    -webkit-overflow-scrolling: auto;
  }

  html[data-sdv-page="index"] .hero-content .home-work-preview {
    padding: 0 4px;
    box-sizing: border-box;
  }
}
/* SDV nav — Client Access link */
.nav-links a.nav-client-access {
 display: inline-flex;
 align-items: center;
 gap: 0.3rem;
 border: 1px solid rgba(255, 255, 255, 0.2);
 border-radius: 4px;
 padding: 3px 8px;
 font-family: "Outfit", system-ui, sans-serif;
 font-size: 0.875rem;
 font-weight: 800;
 font-style: normal;
 text-transform: uppercase;
 letter-spacing: 0.1em;
}

@media (min-width: 768px) {
 .nav .logo {
  flex-shrink: 0;
 }

 .nav-links {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  gap: 1.1rem;
 }

 .logo-img-wide {
  height: 2rem;
 }
}
.nav-links a.nav-client-access::after {
 display: none !important;
}
.nav-client-access-icon {
 flex-shrink: 0;
 width: 12px;
 height: 12px;
 opacity: 0.85;
}

/* SDV rates — public request message */
.rates-public-section {
 display: flex;
 justify-content: center;
 padding: 2rem 1rem 3rem;
}
.rates-public-card {
 max-width: 42ch;
 margin: 0 auto;
 padding: 2rem 1.75rem;
 text-align: center;
 background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.12);
 border-radius: 12px;
 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.rates-public-title {
 margin: 0 0 1rem;
 color: #fff;
 font-size: clamp(1.5rem, 3vw, 2rem);
 font-weight: 700;
 line-height: 1.2;
}
.rates-public-lead {
 margin: 0 0 1.5rem;
 color: rgba(255, 255, 255, 0.65);
 line-height: 1.65;
 font-size: 1rem;
}
.rates-public-cta {
 display: inline-block;
}
.rates-public-access-link {
 margin: 1.25rem 0 0;
 font-size: 0.85rem;
}
.rates-public-access-link a {
 color: rgba(255, 255, 255, 0.55);
 text-decoration: none;
}
.rates-public-access-link a:hover {
 color: #00d4ff;
}

/* SDV access gate — post-login includes */
.access-gate-includes {
 margin: 1.25rem 0 0;
 padding-top: 1.25rem;
 border-top: 1px solid rgba(255, 255, 255, 0.08);
 font-family: "Outfit", system-ui, sans-serif;
 font-size: 0.78rem;
 font-weight: 700;
 font-style: normal;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: rgba(255, 255, 255, 0.45);
 line-height: 1.5;
 text-align: center;
}

/* SDV privacy page + footer link */
.privacy-section {
 display: flex;
 justify-content: center;
 padding: 2rem 1rem 3rem;
}
.privacy-card {
 max-width: 52ch;
 margin: 0 auto;
 padding: 2rem 1.75rem;
 background: rgba(15, 8, 28, 0.45);
 -webkit-backdrop-filter: blur(20px);
 backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.12);
 border-radius: 12px;
 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.privacy-title {
 margin: 0 0 0.5rem;
 color: #fff;
 font-size: clamp(1.5rem, 3vw, 2rem);
 font-weight: 700;
 line-height: 1.2;
}
.privacy-updated {
 margin: 0 0 1.75rem;
 color: rgba(255, 255, 255, 0.5);
 font-size: 0.85rem;
 line-height: 1.4;
}
.privacy-block + .privacy-block {
 margin-top: 0.25rem;
}
.privacy-heading {
 margin: 1.25rem 0 0.5rem;
 color: #00d4ff;
 font-size: 0.8rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.1em;
 line-height: 1.3;
}
.privacy-block:first-of-type .privacy-heading {
 margin-top: 0;
}
.privacy-text {
 margin: 0;
 color: rgba(255, 255, 255, 0.7);
 font-size: 0.9rem;
 line-height: 1.75;
}
.privacy-text a {
 color: #00d4ff;
 text-decoration: none;
}
.privacy-text a:hover {
 text-decoration: underline;
}
.footer-privacy {
 margin: 0 0 0.35rem;
}
.footer-privacy a {
 color: rgba(255, 255, 255, 0.3);
 font-size: 0.7rem;
 text-decoration: none;
}
.footer-privacy a:hover {
 color: rgba(255, 255, 255, 0.45);
}

/* SDV Work — JSON-driven categories */
.work-page .work-categories {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.work-page .work-category {
  margin-bottom: 3.5rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.work-page .work-category-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  color: var(--work-cat-color, var(--text));
  margin: 0 0 0.75rem;
  padding: 0 0 0.35rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
}

.work-page .work-category-title::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 14rem;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: var(--work-cat-color, #00d4ff);
  box-shadow: 0 0 12px rgba(var(--work-cat-rgb, 0, 212, 255), 0.45);
}

.work-page .work-category-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 100%;
  padding: 16px 20px;
  background: rgba(15, 8, 28, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.work-page .work-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.work-page .work-grid-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
}

.work-page .work-grid-item--video {
  cursor: default;
}

.work-page .work-grid-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.work-page .work-grid-media img,
.work-page .work-grid-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.work-page .work-grid-item:hover .work-grid-media img,
.work-page .work-grid-item:focus-visible .work-grid-media img,
.work-page .work-grid-item--video:hover .work-grid-media video,
.work-page .work-grid-item--video:focus-within .work-grid-media video {
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(var(--work-cat-rgb, 0, 212, 255), 0.55);
}

.work-page .work-grid-item:focus-visible {
  outline: 2px solid var(--work-cat-color, var(--logo-blue));
  outline-offset: 4px;
  border-radius: 8px;
}

.work-page .work-grid-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

.work-page .work-load-error {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .work-page .work-category-grid {
    grid-template-columns: 1fr;
  }
}

/* SDV Access landing */
html[data-sdv-page="access-landing"] body,
.access-landing-page {
  min-height: 100vh;
}

.access-landing-main {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.access-landing-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.access-landing-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.access-landing-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 62ch;
}

.access-landing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.access-landing-card {
  padding: 1.35rem 1.25rem 1.5rem;
  background: rgba(15, 8, 28, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  border-left: 4px solid var(--access-card-accent, #00d4ff);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.access-landing-card--pink {
  --access-card-accent: #ff3d7f;
}

.access-landing-card--cyan {
  --access-card-accent: #00d4ff;
}

.access-landing-card--green {
  --access-card-accent: #00ff88;
}

.access-landing-card-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0;
}

.access-landing-card-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.access-landing-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.access-landing-signout {
  text-align: center;
  margin: 0;
}

.access-landing-signout a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.access-landing-signout a:hover {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
  .access-landing-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .site-ticker-mobile {
    position: fixed;
    top: var(--site-header-h, 44px);
    left: 0;
    right: 0;
    z-index: 99;
    overflow: hidden;
    background: rgba(0,0,0,0.85);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
    padding: 7px 0;
    display: block;
  }

  .stm-track {
    display: inline-flex;
    white-space: nowrap;
    animation: stmScroll 28s linear infinite;
  }

  @keyframes stmScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .stm-item {
    display: inline-block;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 12px;
    margin: 0 8px;
    border-radius: 20px;
    border: 1px solid currentColor;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .stm-pink  { color: #ff3d7f; border-color: #ff3d7f; text-shadow: 0 0 8px rgba(255,61,127,0.7); }
  .stm-cyan  { color: #00d4ff; border-color: #00d4ff; text-shadow: 0 0 8px rgba(0,212,255,0.7); }
  .stm-green { color: #00ff88; border-color: #00ff88; text-shadow: 0 0 8px rgba(0,255,136,0.7); }
  .stm-orange{ color: #ff6b2b; border-color: #ff6b2b; text-shadow: 0 0 8px rgba(255,107,43,0.7); }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .stm-track {
    animation: stmScroll 28s linear infinite !important;
  }
}

/* FAQ page */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  --faq-accent: #00d4ff;
  --faq-accent-rgb: 0, 212, 255;
  padding: 0;
  overflow: hidden;
  background: rgba(15, 8, 28, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--faq-accent);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.faq-item:nth-child(4n + 1) {
  --faq-accent: #00d4ff;
  --faq-accent-rgb: 0, 212, 255;
}

.faq-item:nth-child(4n + 2) {
  --faq-accent: #ff3d7f;
  --faq-accent-rgb: 255, 61, 127;
}

.faq-item:nth-child(4n + 3) {
  --faq-accent: #00ff88;
  --faq-accent-rgb: 0, 255, 136;
}

.faq-item:nth-child(4n) {
  --faq-accent: #ff6b2b;
  --faq-accent-rgb: 255, 107, 43;
}

.faq-item.sdv-glass-card:hover {
  transform: none;
}

.faq-item:not(.faq-item--open):hover {
  background: rgba(20, 11, 34, 0.58);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55);
  transform: translateY(-1px);
}

.faq-item--open {
  background: rgba(22, 12, 38, 0.62);
  border: 1px solid rgba(var(--faq-accent-rgb), 0.4);
  border-left: 3px solid var(--faq-accent);
  box-shadow: 0 0 20px rgba(var(--faq-accent-rgb), 0.15);
  transform: none;
}

.faq-item-heading {
  margin: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 1rem 1.15rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #00d4ff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  margin-left: auto;
  color: var(--faq-accent);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: all 0.25s ease;
}

.faq-item--open .faq-question::after {
  content: "×";
  color: var(--faq-accent);
}

.faq-item:not(.faq-item--open) .faq-question:hover,
.faq-item:not(.faq-item--open) .faq-question:focus-visible {
  outline: none;
  filter: brightness(1.12);
}

.faq-question:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(var(--faq-accent-rgb), 0.45);
}

.faq-answer {
  padding: 0 1.15rem 1.15rem;
  transition: all 0.25s ease;
}

.faq-answer p {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-answer a {
  color: #00d4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: #5ce4ff;
}

.faq-cta-wrap {
  margin-top: 2rem;
  text-align: center;
}

/* Index hero card animations — scoped to homepage only */
@media (prefers-reduced-motion: no-preference) {
  html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel {
    opacity: 1;
    transform: none;
    animation: glowPulse 4s ease-in-out infinite alternate;
  }

  html[data-sdv-page="index"] .hero-content .hero-title {
    animation: none;
  }

  html[data-sdv-page="index"] .hero-content .hero-title:not(.hero-title--stacked):not(.hero-title--words-ready) {
    opacity: 0;
  }

  html[data-sdv-page="index"] .hero-content .hero-title.hero-title--words-ready,
  html[data-sdv-page="index"] .hero-content .hero-title.hero-title--stacked {
    opacity: 1;
    transform: none;
  }

  html[data-sdv-page="index"] .hero-content .hero-title.hero-title--stacked::after {
    display: none;
  }

  html[data-sdv-page="index"] .hero-title--stacked .hero-title-line {
    display: block;
  }

  @media (max-width: 767px) {
    html[data-sdv-page="index"] .hero-title--stacked .hero-title-line {
      opacity: 0;
      transform: translateY(12px);
      animation: heroTitleLineIn 0.5s ease-out forwards;
    }

    html[data-sdv-page="index"] .hero-title--stacked .hero-title-line--white {
      animation-delay: 0.35s;
    }

    html[data-sdv-page="index"] .hero-title--stacked .hero-title-line--pink {
      animation-delay: 0.48s;
    }
  }

  @media (min-width: 768px) {
    html[data-sdv-page="index"] .hero-title--stacked:not(.hero-title--typewriter):not(.hero-title--typewriter-done) .hero-title-line {
      opacity: 0;
    }

    html[data-sdv-page="index"] .hero-title--typewriter .hero-title-line,
    html[data-sdv-page="index"] .hero-title--typewriter-done .hero-title-line {
      opacity: 1;
      transform: none;
      animation: none;
    }
  }

  @keyframes heroTitleLineIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel::before {
    animation: heroCardBorderGlowPulse 4s ease-in-out infinite alternate;
  }

  @keyframes glowPulse {
    from {
      box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.48),
        0 0 28px rgba(0, 212, 255, 0.42),
        0 0 56px rgba(0, 212, 255, 0.24),
        0 0 48px rgba(168, 85, 247, 0.16),
        0 0 72px rgba(255, 61, 127, 0.18),
        inset 0 0 1px rgba(0, 212, 255, 0.28);
    }
    to {
      box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.48),
        0 0 17px rgba(0, 212, 255, 0.25),
        0 0 34px rgba(0, 212, 255, 0.14),
        0 0 29px rgba(168, 85, 247, 0.1),
        0 0 43px rgba(255, 61, 127, 0.11),
        inset 0 0 1px rgba(0, 212, 255, 0.17);
    }
  }

  @keyframes heroCardBorderGlowPulse {
    from {
      box-shadow:
        0 0 14px rgba(0, 212, 255, 0.55),
        0 0 32px rgba(0, 212, 255, 0.32),
        0 0 48px rgba(255, 61, 127, 0.24);
    }
    to {
      box-shadow:
        0 0 8px rgba(0, 212, 255, 0.33),
        0 0 19px rgba(0, 212, 255, 0.19),
        0 0 29px rgba(255, 61, 127, 0.14);
    }
  }

  html[data-sdv-page="index"] .home-work-item {
    opacity: 0;
    transform: translateY(20px);
  }

  html[data-sdv-page="index"] .home-work-item.home-work-item--revealed {
    animation: homeWorkItemIn 0.55s ease forwards;
  }

  html[data-sdv-page="index"] .home-work-item.home-work-item--revealed:nth-child(1) {
    animation-delay: 0ms;
  }

  html[data-sdv-page="index"] .home-work-item.home-work-item--revealed:nth-child(2) {
    animation-delay: 150ms;
  }

  html[data-sdv-page="index"] .home-work-item.home-work-item--revealed:nth-child(3) {
    animation-delay: 300ms;
  }

  @keyframes homeWorkItemIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes tickerCenterShimmer {
    0%, 99.2%, 100% {
      text-shadow: none;
    }
    99.46% {
      text-shadow: 0 0 10px currentColor, 0 0 18px currentColor;
    }
    99.73% {
      text-shadow: none;
    }
  }

  html[data-sdv-page="index"] .site-ticker-item {
    animation:
      tickerGlow 3s ease-in-out infinite alternate,
      tickerCenterShimmer 38s linear infinite;
  }

  html[data-sdv-page="index"] .site-ticker-item:nth-child(16n+1) {
    animation-delay: 0s, 0s;
  }

  html[data-sdv-page="index"] .site-ticker-item:nth-child(16n+3) {
    animation-delay: 0.15s, 2.4s;
  }

  html[data-sdv-page="index"] .site-ticker-item:nth-child(16n+5) {
    animation-delay: 0.35s, 4.8s;
  }

  html[data-sdv-page="index"] .site-ticker-item:nth-child(16n+7) {
    animation-delay: 0.55s, 7.2s;
  }

  html[data-sdv-page="index"] .site-ticker-item:nth-child(16n+9) {
    animation-delay: 0.75s, 9.6s;
  }

  html[data-sdv-page="index"] .site-ticker-item:nth-child(16n+11) {
    animation-delay: 0.95s, 12s;
  }

  html[data-sdv-page="index"] .site-ticker-item:nth-child(16n+13) {
    animation-delay: 1.15s, 14.4s;
  }

  html[data-sdv-page="index"] .site-ticker-item:nth-child(16n+15) {
    animation-delay: 1.35s, 16.8s;
  }

  html[data-sdv-page="index"] .stm-item {
    animation: tickerCenterShimmer 28s linear infinite;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+1) {
    animation-delay: 0s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+2) {
    animation-delay: 2.15s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+3) {
    animation-delay: 4.3s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+4) {
    animation-delay: 6.45s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+5) {
    animation-delay: 8.6s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+6) {
    animation-delay: 10.75s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+7) {
    animation-delay: 12.9s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+8) {
    animation-delay: 15.05s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+9) {
    animation-delay: 17.2s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+10) {
    animation-delay: 19.35s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+11) {
    animation-delay: 21.5s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+12) {
    animation-delay: 23.65s;
  }

  html[data-sdv-page="index"] .stm-item:nth-child(13n+13) {
    animation-delay: 25.8s;
  }

  html[data-sdv-page="index"] .hero-portrait {
    opacity: 1;
    transform: translateY(20px);
    animation: heroPortraitEnter 0.8s ease-out 0.2s forwards;
  }

  @keyframes heroPortraitEnter {
    to {
      transform: translateY(0);
    }
  }

  html[data-sdv-page="index"] .hero-portrait-ring.sdv-spectrum-ring {
    inset: -4px;
    border-radius: 16px;
    border: 2px solid rgba(0, 212, 255, 0.85);
    box-shadow:
      0 0 14px rgba(0, 212, 255, 0.55),
      0 0 28px rgba(0, 212, 255, 0.32);
    animation: ringPulse 4s ease-in-out infinite;
  }

  @keyframes ringPulse {
    0%,
    100% {
      opacity: 1;
      transform: scale(1);
      box-shadow:
        0 0 14px rgba(0, 212, 255, 0.55),
        0 0 28px rgba(0, 212, 255, 0.32);
    }
    50% {
      transform: scale(0.98);
      box-shadow:
        0 0 7px rgba(0, 212, 255, 0.28),
        0 0 14px rgba(0, 212, 255, 0.16);
    }
  }

  html[data-sdv-page="index"] .hero-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: heroTitleWordIn 0.45s ease-out forwards;
  }

  @keyframes heroTitleWordIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 767px) {
    html[data-sdv-page="index"] .hero-portrait {
      animation-duration: 0.55s;
      animation-delay: 0.1s;
    }

    html[data-sdv-page="index"] .hero-content .hero-lead {
      animation-duration: 0.45s;
      animation-delay: 0.5s;
    }
  }

  @media (hover: hover) and (pointer: fine) {
    html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel {
      animation:
        heroCardFloat 6s ease-in-out infinite alternate,
        glowPulse 4s ease-in-out infinite alternate;
    }

    html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel.hero-content--tilt {
      animation: glowPulse 4s ease-in-out infinite alternate;
      transition: transform 0.5s ease;
    }

    html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel.hero-content--tilt-active {
      transition: transform 0.08s ease;
    }

    @keyframes heroCardFloat {
      from {
        transform: translateY(0);
      }
      to {
        transform: translateY(-6px);
      }
    }

    html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel.hero-content--cursor-glow {
      --hero-glow-x: 0px;
      --hero-glow-y: 0px;
    }

    html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel.hero-content--cursor-glow::after {
      box-shadow:
        inset 0 0 0 1px rgba(0, 212, 255, 0.12),
        calc(var(--hero-glow-x) + 0px) calc(var(--hero-glow-y) + 0px) 48px rgba(0, 212, 255, 0.14),
        calc(var(--hero-glow-x) * 0.6) calc(var(--hero-glow-y) * 0.6) 72px rgba(255, 61, 127, 0.1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-sdv-page="index"] .hero-portrait,
  html[data-sdv-page="index"] .hero-title-word,
  html[data-sdv-page="index"] .hero-title--stacked .hero-title-line,
  html[data-sdv-page="index"] .hero-portrait-ring.sdv-spectrum-ring,
  html[data-sdv-page="index"] .home-work-item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel,
  html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel::before {
    animation: none;
  }

  html[data-sdv-page="index"] .site-ticker-item,
  html[data-sdv-page="index"] .stm-item {
    animation: none;
    filter: none;
  }

  html[data-sdv-page="index"] .sdv-scroll-progress {
    display: none;
  }
}

/* Index hero portrait — compositing / grain guard (index only) */
html[data-sdv-page="index"] .hero,
html[data-sdv-page="index"] .hero-layout,
html[data-sdv-page="index"] .hero-content,
html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel,
html[data-sdv-page="index"] .hero-content.hero-card,
html[data-sdv-page="index"] .hero-content.hero-card-with-attachment,
html[data-sdv-page="index"] .hero-inner,
html[data-sdv-page="index"] .hero-portrait {
  filter: none;
  mix-blend-mode: normal;
  will-change: auto;
}

html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel {
  isolation: auto;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-sdv-page="index"] .hero-content.sdv-spectrum-panel::after {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: none;
}

html[data-sdv-page="index"] .hero-portrait {
  isolation: isolate;
}

html[data-sdv-page="index"] .hero-portrait img {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Index stacked headline — flyer-style treatment */
html[data-sdv-page="index"] .hero-content .hero-title.hero-title--stacked {
  font-family: "Outfit", var(--font-sans), sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 3.2rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: none;
  color: #f2f2f2;
  margin: 0 0 clamp(0.75rem, 2vw, 1rem);
}

html[data-sdv-page="index"] .hero-title.hero-title--stacked::after {
  display: none;
}

html[data-sdv-page="index"] .hero-title-line--white {
  color: #f2f2f2;
}

html[data-sdv-page="index"] .hero-title-line--pink {
  color: #ff3366;
}

@media (max-width: 767px) {
  html[data-sdv-page="index"] .hero-content .hero-title.hero-title--stacked {
    font-size: 2.2rem;
  }
}

/* Index animation enhancements — homepage only */
@media (prefers-reduced-motion: no-preference) {
  html[data-sdv-page="index"] .sdv-scroll-progress {
    position: fixed;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    z-index: 999;
    pointer-events: none;
  }

  html[data-sdv-page="index"] .sdv-scroll-progress__fill {
    display: block;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, #ff3366, #8b2be8, #2aa6d6);
    transition: height 0.08s linear;
  }

  html[data-sdv-page="index"] .home-work-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  html[data-sdv-page="index"] .home-work-item:hover {
    transform: scale(1.04);
    border-color: rgba(42, 166, 214, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  html[data-sdv-page="index"] .home-work-item:hover img,
  html[data-sdv-page="index"] .home-work-item:hover video {
    transform: none;
  }

  html[data-sdv-page="index"] .home-work-overlay--cta {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transform: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }

  html[data-sdv-page="index"] .home-work-item:hover .home-work-overlay--cta {
    opacity: 1;
  }

  html[data-sdv-page="index"] .home-stat-value {
    transition: color 0.4s ease, text-shadow 0.4s ease;
  }

  html[data-sdv-page="index"] .home-stat-value.home-stat-value--glow {
    color: #2aa6d6;
    text-shadow: 0 0 12px rgba(42, 166, 214, 0.8);
  }

  html[data-sdv-page="index"] .hero-title-line--pink.hero-title-line--glitch {
    animation: heroTitleGlitch 120ms steps(3, end);
  }

  @keyframes heroTitleGlitch {
    0%,
    100% {
      transform: translateX(0);
      opacity: 1;
      text-shadow: none;
    }
    33% {
      transform: translateX(4px);
      opacity: 1;
      text-shadow: -4px 0 rgb(255, 0, 0), 4px 0 rgb(0, 255, 255);
    }
    66% {
      transform: translateX(-4px);
      opacity: 0.7;
      text-shadow: 4px 0 rgb(255, 0, 0), -4px 0 rgb(0, 255, 255);
    }
  }

  @media (hover: hover) and (pointer: fine) {
    html[data-sdv-page="index"] .hero-bg-media::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      touch-action: none;
      background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
      opacity: 0.6;
      animation: heroVignettePulse 6s ease-in-out infinite alternate;
    }

    @keyframes heroVignettePulse {
      from {
        opacity: 0.6;
      }
      to {
        opacity: 0.8;
      }
    }

    html[data-sdv-page="index"] .logo {
      position: relative;
      overflow: visible;
      display: inline-flex;
    }

    html[data-sdv-page="index"] .logo-img {
      position: relative;
      overflow: hidden;
    }

    html[data-sdv-page="index"] .logo-img::after {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 55%;
      height: 100%;
      background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
      pointer-events: none;
      animation: logoShimmer 12s ease-in-out infinite;
    }

    @keyframes logoShimmer {
      0%,
      94.99%,
      100% {
        left: -100%;
        opacity: 0;
      }
      95% {
        left: -100%;
        opacity: 1;
      }
      95.5% {
        left: 200%;
        opacity: 1;
      }
    }

    html[data-sdv-page="index"] .btn-hero-work,
    html[data-sdv-page="index"] .btn-hero-contact {
      transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    html[data-sdv-page="index"] .hero-title-typewriter-cursor {
      display: inline-block;
      color: #ff3366;
      margin-left: 1px;
      animation: heroTypewriterCursorBlink 0.85s step-end infinite;
    }

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

/* ============================================================
   Site-wide animation system
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  body.sdv-page-motion {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  body.sdv-page-motion.sdv-page-entered {
    opacity: 1;
  }

  body.sdv-page-motion.page-exit {
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .nav-links.open li {
    opacity: 0;
    transform: translateY(-8px);
  }

  .nav-links.open.nav-links--stagger li {
    animation: navLinkStaggerIn 0.35s ease forwards;
  }

  @keyframes navLinkStaggerIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .site-ticker-item.ticker-item--active,
  .stm-item.ticker-item--active {
    filter: brightness(1.4);
    transition: filter 0.15s ease;
  }

  /* Inner page entrances */
  body.sdv-page-motion .inner-page .section-title,
  body.sdv-page-motion .gallery-page .section-title,
  body.sdv-page-motion .services-page .section-title,
  body.sdv-page-motion .faq-page-section .section-title {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  body.sdv-page-motion .inner-page .section.visible .section-title,
  body.sdv-page-motion .gallery-page .section.visible .section-title,
  body.sdv-page-motion .services-page .section.visible .section-title,
  body.sdv-page-motion .faq-page-section.visible .section-title,
  body.sdv-page-motion .inner-page .section-title.sdv-reveal-in,
  body.sdv-page-motion .gallery-page .section-title.sdv-reveal-in,
  body.sdv-page-motion .services-page .section-title.sdv-reveal-in {
    opacity: 1;
    transform: translateY(0);
  }

  body.sdv-page-motion .inner-page .sdv-glass-card,
  body.sdv-page-motion .gallery-page .sdv-glass-card,
  body.sdv-page-motion .services-page .sdv-glass-card {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }

  body.sdv-page-motion .inner-page .sdv-glass-card.sdv-reveal-in,
  body.sdv-page-motion .gallery-page .sdv-glass-card.sdv-reveal-in,
  body.sdv-page-motion .services-page .sdv-glass-card.sdv-reveal-in {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  body.sdv-page-motion .inner-page .page-lead,
  body.sdv-page-motion .gallery-page .page-lead,
  body.sdv-page-motion .services-page .services-intro {
    opacity: 0;
    transition: opacity 0.45s ease;
    transition-delay: 0.1s;
  }

  body.sdv-page-motion .inner-page .section.visible .page-lead,
  body.sdv-page-motion .gallery-page .section.visible .page-lead,
  body.sdv-page-motion .services-page .section.visible .services-intro,
  body.sdv-page-motion .inner-page .page-lead.sdv-reveal-in,
  body.sdv-page-motion .gallery-page .page-lead.sdv-reveal-in,
  body.sdv-page-motion .services-page .services-intro.sdv-reveal-in {
    opacity: 1;
  }

  /* Footer stagger */
  .footer.sdv-footer-pending .footer-logo,
  .footer.sdv-footer-pending .footer-social,
  .footer.sdv-footer-pending .footer-privacy,
  .footer.sdv-footer-pending .footer-site,
  .footer.sdv-footer-pending .footer-client {
    opacity: 0;
    transform: translateY(10px);
  }

  .footer.sdv-footer-revealed .footer-logo,
  .footer.sdv-footer-revealed .footer-social,
  .footer.sdv-footer-revealed .footer-privacy,
  .footer.sdv-footer-revealed .footer-site,
  .footer.sdv-footer-revealed .footer-client {
    animation: footerItemIn 0.45s ease forwards;
  }

  .footer.sdv-footer-revealed .footer-social {
    animation-delay: 80ms;
  }

  .footer.sdv-footer-revealed .footer-privacy {
    animation-delay: 160ms;
  }

  .footer.sdv-footer-revealed .footer-site,
  .footer.sdv-footer-revealed .footer-client {
    animation-delay: 240ms;
  }

  @keyframes footerItemIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Work page dynamic tiles */
  .work-page .work-category.sdv-reveal-pending .work-category-title {
    opacity: 0;
    transform: translateY(16px);
  }

  .work-page .work-category.sdv-reveal-in .work-category-title {
    animation: workCategoryIn 0.4s ease forwards;
  }

  @keyframes workCategoryIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .work-page .work-grid-item.sdv-reveal-pending {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  .work-page .work-grid-item.sdv-reveal-in {
    animation: workTileIn 0.45s ease forwards;
  }

  @keyframes workTileIn {
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .work-page .work-grid-media {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .work-page .work-grid-item:hover .work-grid-media,
  .work-page .work-grid-item:focus-visible .work-grid-media {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .work-page .work-grid-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }

  .work-page .work-grid-item:hover .work-grid-overlay,
  .work-page .work-grid-item:focus-visible .work-grid-overlay {
    opacity: 1;
  }

  .work-page .work-grid-item.work-grid-item--border-flash .work-grid-media {
    animation: workTileBorderFlash 0.4s ease;
  }

  @keyframes workTileBorderFlash {
    0%,
    100% {
      border-color: rgba(255, 255, 255, 0.08);
    }
    20% {
      border-color: var(--logo-blue);
    }
  }

  /* FAQ accordion motion */
  body.sdv-page-motion .faq-accordion .faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease 0.1s,
      padding 0.35s ease;
  }

  body.sdv-page-motion .faq-item--open .faq-answer {
    opacity: 1;
    padding-bottom: 1.15rem;
  }

  body.sdv-page-motion .faq-question::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    margin-left: auto;
    border-right: 2px solid var(--faq-accent);
    border-bottom: 2px solid var(--faq-accent);
    font-size: 0;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }

  body.sdv-page-motion .faq-item--open .faq-question::after {
    content: "";
    transform: rotate(-135deg);
  }

  /* Bio tabs */
  .bio-page .tab-list {
    position: relative;
  }

  .bio-page .tab-list-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--logo-blue);
    border-radius: 2px;
    pointer-events: none;
    transition: transform 0.25s ease, width 0.25s ease;
  }

  .bio-page .tab-panel {
    opacity: 1;
    transition: opacity 0.2s ease;
  }

  .bio-page .tab-panel.tab-panel--fading-out {
    opacity: 0;
    transition-duration: 0.15s;
  }

  .bio-page .tab-panel.tab-panel--fading-in {
    opacity: 0;
  }

  .bio-page .tab-panel.tab-panel--fading-in.tab-panel--visible {
    opacity: 1;
    transition-duration: 0.2s;
    transition-delay: 0.15s;
  }

  /* Contact form */
  .contact-form-input,
  .contact-form-textarea,
  .contact-form select.contact-form-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .contact-form-input:focus,
  .contact-form-textarea:focus,
  .contact-form select.contact-form-input:focus {
    border-color: var(--logo-blue);
  }

  .contact-form-submit.is-sending {
    pointer-events: none;
  }

  .contact-form-submit.is-sending .contact-form-submit-label {
    animation: contactSendingPulse 1s ease-in-out infinite;
  }

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

  .contact-form-submit-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pageLoadingSpin 0.7s linear infinite;
    vertical-align: middle;
  }

  .contact-form-submit.is-sending .contact-form-submit-spinner {
    display: inline-block;
  }

  .contact-form-wrap.contact-form-wrap--success .contact-form {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
  }

  .contact-form-success {
    opacity: 0;
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: opacity 0.35s ease;
  }

  .contact-form-wrap.contact-form-wrap--success .contact-form-success {
    opacity: 1;
  }

  .contact-form-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(42, 166, 214, 0.15);
    color: var(--logo-blue);
    font-size: 1.5rem;
    font-weight: 700;
    transform: scale(0);
    animation: contactCheckIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  @keyframes contactCheckIn {
    to {
      transform: scale(1);
    }
  }

  .contact-form-wrap.contact-form-wrap--error {
    animation: formShake 0.4s ease;
  }

  @keyframes formShake {
    0%,
    100% {
      transform: translateX(0);
    }
    20% {
      transform: translateX(-6px);
    }
    40% {
      transform: translateX(6px);
    }
    60% {
      transform: translateX(-4px);
    }
    80% {
      transform: translateX(4px);
    }
  }

  /* 404 page */
  .sdv-error-glitch.sdv-error-glitch--active {
    animation: errorTitleGlitch 120ms steps(3, end);
  }

  @keyframes errorTitleGlitch {
    0%,
    100% {
      transform: translateX(0);
      opacity: 1;
      text-shadow: none;
    }
    33% {
      transform: translateX(4px);
      opacity: 1;
      text-shadow: -4px 0 rgb(255, 0, 0), 4px 0 rgb(0, 255, 255);
    }
    66% {
      transform: translateX(-4px);
      opacity: 0.7;
      text-shadow: 4px 0 rgb(255, 0, 0), -4px 0 rgb(0, 255, 255);
    }
  }

  .inner-page--error .sdv-error-home-btn {
    animation: errorHomeBtnGlow 6s ease-in-out infinite;
  }

  @keyframes errorHomeBtnGlow {
    0%,
    92%,
    100% {
      box-shadow: none;
    }
    94% {
      box-shadow:
        0 0 14px rgba(42, 166, 214, 0.55),
        0 0 28px rgba(42, 166, 214, 0.32);
    }
    96% {
      box-shadow:
        0 0 8px rgba(42, 166, 214, 0.33),
        0 0 16px rgba(42, 166, 214, 0.19);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sdv-page-motion {
    opacity: 1;
    transition: none;
  }

  .nav-links.open li {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* SDV UI Typography — Outfit label system (site-wide) */
.btn-primary,
.btn-secondary {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tab-label {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.flyer-services-label,
.flyer-also-label,
.flyer-cta-label,
.flyer-tag,
.flyer-location {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.flyer-cta-label {
  letter-spacing: 0.12em;
}

.flyer-tag {
  letter-spacing: 0.1em;
}

.hero-stat-label {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
}

.client-section h2,
.rotation-card-label,
.featured-in-meta {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-site,
.footer-copy,
.footer-privacy,
.footer-privacy a {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.05em;
}

.nav-toggle,
.nav-toggle::before {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
