/* ============================================================
   erikmadsen.com — main stylesheet
   Design spec: 2026-07-05
   Palette: void / beam / starburst / cobalt / stage-wash
   Type: Bebas Neue (display) + Outfit (body)
   ============================================================ */

/* --- 0. Custom Properties (Tokens) --- */
:root {
  /* Primary palette */
  --void: #0a0e17;
  --beam: #edebe6;
  --starburst: #d4963a;
  --cobalt: #4d8ed8;
  --stage-wash: #c4234a;

  /* Extended neutrals */
  --void-raised: #111827;
  --void-mid: #1f2937;
  --smoke: #9ca3af;
  --dim: #6b7280;

  /* Spacing scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --space-10: 160px;

  /* Easing */
  --ease-primary: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-secondary: cubic-bezier(0.22, 1, 0.36, 1);

  /* Hero scroll (set by JS) */
  --hero-scroll: 0;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.125rem);
  line-height: 1.65;
  color: var(--beam);
  background-color: var(--void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

/* --- 2. Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* --- 3. Typography --- */
.font-display {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
}

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--starburst);
}

.caption {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  line-height: 1.5;
  color: var(--smoke);
}

/* --- 4. Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--void-mid);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .nav-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1024px) {
  .nav-inner {
    padding-left: 64px;
    padding-right: 64px;
  }
}

.nav-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--beam);
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--starburst);
  transition: width 0.3s var(--ease-primary);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--beam);
}

.nav-links a.active {
  color: var(--beam);
}

.nav-links a.active::after {
  width: 100%;
}

/* Hamburger (mobile only) */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-hamburger {
    display: none;
  }
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--beam);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay a {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.02em;
  color: var(--beam);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-overlay a:hover,
.nav-overlay a:focus-visible {
  color: var(--starburst);
}

/* Focus ring for keyboard nav */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--cobalt);
  border-radius: 2px;
}

/* --- 5. Section Base --- */
section,
footer {
  position: relative;
}

@media (min-width: 1024px) {
  section {
    min-height: 80vh;
  }
  .gear-section,
  .contact-footer {
    min-height: 0;
  }
}

/* Color zones */
.zone-amber {
  background: radial-gradient(ellipse at center, rgba(212, 150, 58, 0.06) 0%, transparent 70%);
}

.zone-cobalt {
  background: radial-gradient(ellipse at center, rgba(77, 142, 216, 0.04) 0%, transparent 70%);
}

.zone-warm {
  background: radial-gradient(ellipse at center, rgba(212, 150, 58, 0.03) 0%, transparent 70%);
}

.zone-magenta {
  background: radial-gradient(ellipse at center, rgba(196, 35, 74, 0.03) 0%, transparent 70%);
}

.zone-cobalt-light {
  background: radial-gradient(ellipse at center, rgba(77, 142, 216, 0.03) 0%, transparent 70%);
}

/* --- 6. Hero Section --- */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent 0%, var(--void) 100%);
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-9);
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .hero-content {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-left: 64px;
    padding-right: 64px;
  }
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--beam);
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: var(--space-3);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--smoke);
  opacity: 0;
}

.hero-scroll-indicator .chevron {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* --- Hero Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .hero-image-wrap img {
    transform: scale(calc(1.08 - 0.08 * var(--hero-scroll)));
  }

  .hero-gradient {
    opacity: calc(0.3 + 0.7 * var(--hero-scroll));
  }

  .hero-name {
    opacity: 0;
    transform: translateY(24px);
    animation: heroTextIn 1s var(--ease-primary) 0.8s forwards;
  }

  .hero-subtitle {
    opacity: 0;
    transform: translateY(16px);
    animation: heroTextIn 0.8s var(--ease-primary) 1.2s forwards;
  }

  .hero-scroll-indicator {
    animation: heroScrollIn 0.6s var(--ease-primary) 2s forwards,
               scrollPulse 2.4s ease-in-out 2.6s infinite;
  }
}

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

@keyframes heroScrollIn {
  to {
    opacity: 0.5;
  }
}

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

/* --- 7. Credits / Performed With Section --- */
.credits-section {
  padding-top: var(--space-10);
  padding-bottom: var(--space-9);
}

.credits-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.credits-eyebrow span {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--starburst);
  white-space: nowrap;
}

.credits-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--starburst);
  opacity: 0.4;
  flex-shrink: 0;
}

.credits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.credit-name {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--beam);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.credit-name .identifier {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  line-height: 1.5;
  color: var(--smoke);
}

.credit-tier-1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.credit-tier-2 {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
}

.credit-tier-3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

/* Credits animation base state */
@media (prefers-reduced-motion: no-preference) {
  .credit-name {
    opacity: 0.12;
    transform: translateX(-12px);
    transition: opacity 0.6s var(--ease-primary),
                transform 0.6s var(--ease-primary);
  }

  .credit-name.lit {
    opacity: 1;
    transform: translateX(0);
  }

  .credits-eyebrow {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.6s var(--ease-primary),
                transform 0.6s var(--ease-primary);
  }

  .credits-eyebrow.in-view {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- 8. Curtis Salgado Section --- */
.curtis-section {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.curtis-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .curtis-layout {
    flex-direction: row;
    align-items: stretch;
  }
}

.curtis-photo-col {
  width: 100%;
}

@media (min-width: 768px) {
  .curtis-photo-col {
    width: 50%;
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .curtis-photo-col {
    width: 55%;
  }
}

.curtis-photo-col picture,
.curtis-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curtis-text-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .curtis-text-col {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .curtis-text-col {
    width: 45%;
  }
}

.curtis-text-col .section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--beam);
}

.curtis-text-col .section-body {
  color: var(--smoke);
}

.curtis-band-photo {
  border: 1px solid var(--void-mid);
  margin-top: var(--space-4);
}

.curtis-band-photo picture,
.curtis-band-photo img {
  width: 100%;
  display: block;
}

/* Curtis entrance */
@media (prefers-reduced-motion: no-preference) {
  .curtis-photo-col {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-primary),
                transform 0.8s var(--ease-primary);
  }

  .curtis-photo-col.in-view {
    opacity: 1;
    transform: translateX(0);
  }

  .curtis-text-col {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s var(--ease-primary) 0.2s,
                transform 0.7s var(--ease-primary) 0.2s;
  }

  .curtis-text-col.in-view {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- 9. Aaron Carter Section --- */
.aaron-section {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.aaron-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--beam);
  margin-bottom: var(--space-6);
}

/* Aaron media grid */
.aaron-media-grid {
  display: grid;
  gap: var(--space-2);
}

.aaron-video-wide {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.aaron-video-wide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.aaron-photo-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

@media (min-width: 480px) {
  .aaron-photo-row {
    grid-template-columns: 3fr 2fr;
  }
}

.aaron-photo-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.aaron-photo-row picture {
  border-radius: 4px;
  overflow: hidden;
}

.aaron-crew-wrap {
  margin-top: var(--space-2);
}

.aaron-crew-wrap img {
  width: 100%;
  max-width: 600px;
  border-radius: 4px;
}

.aaron-crew-wrap picture {
  display: block;
}

.aaron-video-small {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-top: var(--space-2);
  max-width: 600px;
}

.aaron-video-small video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aaron-body {
  margin-top: var(--space-6);
  color: var(--beam);
  max-width: 64ch;
}

/* Aaron entrance */
@media (prefers-reduced-motion: no-preference) {
  .aaron-heading {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s var(--ease-secondary);
  }

  .aaron-heading.in-view {
    clip-path: inset(0 0 0 0);
  }

  .aaron-media-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-primary),
                transform 0.6s var(--ease-primary);
  }

  .aaron-media-item.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 10. Listen / Watch Section --- */
.watch-section {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.watch-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--starburst);
  margin-bottom: var(--space-2);
}

.watch-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--beam);
  margin-bottom: var(--space-7);
}

.watch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .watch-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.video-card-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--void-raised);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.video-card-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-card-embed:hover img {
  opacity: 0.85;
}

/* Play button overlay */
.video-card-embed .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 14, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.video-card-embed:hover .play-btn {
  background: rgba(212, 150, 58, 0.85);
  transform: translate(-50%, -50%) scale(1.08);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--beam);
  margin-left: 3px;
}

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

.video-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.125rem);
  color: var(--beam);
}

.video-card-context {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  line-height: 1.5;
  color: var(--smoke);
}

/* Facebook link card */
.fb-link-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.fb-link-card-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--void-mid);
  border-radius: 4px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  min-height: 44px;
}

.fb-link-card-inner:hover,
.fb-link-card-inner:focus-visible {
  border-color: var(--cobalt);
  background: var(--void-raised);
}

.fb-link-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--void-raised);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-link-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--cobalt);
}

.fb-link-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fb-link-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--beam);
}

.fb-link-card-context {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  color: var(--smoke);
}

/* Watch entrance */
@media (prefers-reduced-motion: no-preference) {
  .video-card,
  .fb-link-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-primary),
                transform 0.6s var(--ease-primary);
  }

  .video-card.in-view,
  .fb-link-card.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 11. Gallery Section --- */
.gallery-section {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.gallery-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--beam);
  margin-bottom: var(--space-7);
}

.gallery-grid {
  display: grid;
  gap: 4px;
}

/* Mobile: single column */
.gallery-grid {
  grid-template-columns: 1fr;
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

/* Desktop: asymmetric editorial grid (7 items) */
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: 55fr 45fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
      "large1  med1"
      "large1  med2"
      "med3    large2"
      "small1  large2"
      "small2  .";
  }

  .gallery-item:nth-child(1) { grid-area: large1; }
  .gallery-item:nth-child(2) { grid-area: med1; }
  .gallery-item:nth-child(3) { grid-area: med2; }
  .gallery-item:nth-child(4) { grid-area: large2; }
  .gallery-item:nth-child(5) { grid-area: med3; }
  .gallery-item:nth-child(6) { grid-area: small1; }
  .gallery-item:nth-child(7) { grid-area: small2; }
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery parallax depth on large items (desktop only) */
@media (min-width: 1024px) {
  .gallery-item.parallax-depth {
    will-change: transform;
  }
}

/* Gallery entrance */
@media (prefers-reduced-motion: no-preference) {
  .gallery-item {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.5s var(--ease-primary),
                transform 0.5s var(--ease-primary);
  }

  .gallery-item.in-view {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- 12. Gear / Endorsements Section --- */
.gear-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.gear-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--beam);
  text-align: center;
  margin-bottom: var(--space-6);
}

.gear-marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--void-mid);
  border-bottom: 1px solid var(--void-mid);
  background: var(--void-raised);
}

.gear-marquee {
  display: flex;
  width: max-content;
  gap: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .gear-marquee {
    animation: marqueeScroll 35s linear infinite;
  }

  .gear-marquee-wrap:hover .gear-marquee {
    animation-play-state: paused;
  }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gear-marquee-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.gear-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  white-space: nowrap;
  padding: 0 var(--space-4);
  transition: color 0.3s ease;
  cursor: default;
}

.gear-marquee-wrap:hover .gear-brand:hover {
  color: var(--beam);
}

.gear-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--starburst);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Reduced motion: static wrapped grid */
@media (prefers-reduced-motion: reduce) {
  .gear-marquee {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    gap: var(--space-3);
  }

  .gear-marquee-set:last-child {
    display: none;
  }

  .gear-dot {
    display: none;
  }

  .gear-brand {
    padding: var(--space-2) var(--space-3);
  }
}

/* --- 13. Contact / Footer --- */
.contact-footer {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.contact-divider {
  width: 60%;
  max-width: 720px;
  height: 1px;
  background: var(--void-mid);
  margin: 0 auto var(--space-10);
}

.contact-content {
  text-align: center;
}

.contact-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--beam);
  margin-bottom: var(--space-6);
}

.contact-email {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.125rem);
  color: var(--cobalt);
  text-decoration: none;
  position: relative;
  min-height: 44px;
  line-height: 44px;
  transition: color 0.3s ease;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cobalt);
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.contact-email:hover {
  color: var(--starburst);
}

.contact-email:hover::after {
  opacity: 1;
  background: var(--starburst);
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--smoke);
  transition: color 0.3s ease;
}

.contact-social a:hover,
.contact-social a:focus-visible {
  color: var(--beam);
}

.contact-social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-credit {
  margin-top: var(--space-10);
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  line-height: 1.5;
  color: var(--dim);
}

/* Contact entrance */
@media (prefers-reduced-motion: no-preference) {
  .contact-heading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-primary),
                transform 0.8s var(--ease-primary);
  }

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

/* --- 14. Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion global: everything at final state */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-name,
  .hero-subtitle {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-scroll-indicator {
    opacity: 0.5 !important;
  }

  .hero-image-wrap img {
    transform: none !important;
  }

  .hero-gradient {
    opacity: 0.6 !important;
  }

  .credit-name {
    opacity: 1 !important;
    transform: none !important;
  }

  .credits-eyebrow {
    opacity: 1 !important;
    transform: none !important;
  }

  .curtis-photo-col,
  .curtis-text-col {
    opacity: 1 !important;
    transform: none !important;
  }

  .aaron-heading {
    clip-path: none !important;
  }

  .aaron-media-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .video-card,
  .fb-link-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .gallery-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .contact-heading {
    opacity: 1 !important;
    transform: none !important;
  }
}
