/* ============================================
   Peter Comandulli - EVS Operator
   "Control Room Cinematic" Design System v2
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-elevated: #1a1a1a;
  --text-primary: #f0f0f0;
  --text-secondary: #8a8a8a;
  --text-muted: #555555;
  --accent: #D4A853;
  --accent-hover: #E8C06A;
  --border: #222222;
  --red-tally: #E53935;

  --font-primary: 'Manrope', sans-serif;
  --font-display: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1200px;
  --section-padding: clamp(4rem, 8vh, 8rem);
  --section-padding-x: clamp(1.25rem, 4vw, 3rem);
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.1;
  font-family: var(--font-display);
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 500;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

section {
  padding: var(--section-padding) 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--bg-primary);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background-color: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.nav-links .btn::after {
  display: none;
}

.nav-links .btn {
  text-shadow: none;
}

.nav-cta {
  margin-left: 1rem;
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

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

.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: var(--section-padding-x);
  cursor: pointer;
  color: var(--text-primary);
  font-size: 2rem;
  line-height: 1;
  padding: 4px;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--section-padding-x) clamp(3rem, 8vh, 6rem);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
  background: rgba(212, 168, 83, 0.25);
  box-shadow: 0 8px 20px rgba(212, 168, 83, 0.2);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-tally);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(229, 57, 53, 0); }
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-number {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

.hero-stat-plus {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  animation: bounce 2s ease infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

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

/* --- About --- */
.about {
  background-color: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about .label {
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: clamp(1.1875rem, 1.8vw, 1.375rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.stat {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Broadcaster Marquee --- */
.broadcasters-section {
  padding: 2rem 0 3rem;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.broadcasters-section .label {
  margin-bottom: 1.5rem;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

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

.marquee-content {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 0 clamp(1rem, 2.5vw, 2rem);
}

.broadcaster-logo {
  height: 50px;
  width: 160px;
  object-fit: contain;
  opacity: 0.85;
  filter: none;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 16px;
  border-radius: 12px;
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
  flex-shrink: 0;
}

.broadcaster-logo.logo-mono {
  filter: brightness(0) invert(1);
}

.broadcaster-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(212, 168, 83, 0.4));
  transform: scale(1.1);
}

.broadcaster-logo.logo-mono:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(212, 168, 83, 0.4));
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Showreel --- */
.showreel {
  background-color: var(--bg-secondary);
}

.showreel .label {
  margin-bottom: 1.5rem;
}

.showreel-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.showreel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.showreel-aside {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.25rem;
  background: var(--bg-elevated);
}

.showreel-aside h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
}

.showreel-aside p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.showreel-aside p:last-child {
  margin-bottom: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-primary);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.4);
  transition: opacity 0.3s ease;
}

.play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(212, 168, 83, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: pulse-play 2s ease infinite;
}

@keyframes pulse-play {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(212, 168, 83, 0); }
}

.play-btn:hover {
  transform: scale(1.1);
  background-color: var(--accent);
}

.play-btn svg {
  width: 36px;
  height: 36px;
  fill: var(--bg-primary);
  margin-left: 6px;
}

/* --- Experience --- */
.experience {
  background-color: var(--bg-primary);
}

.experience .label {
  margin-bottom: 2rem;
}

.experience h2 {
  margin-bottom: 0.75rem;
}

.experience-subtitle {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.sports-showcase {
  margin-bottom: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.sports-header h3 {
  margin-bottom: 0.5rem;
}

.sports-header p {
  color: var(--text-secondary);
  max-width: 520px;
}

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

.sport-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 140px;
}

.sport-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.75) 100%);
}

.sport-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.sport-card:hover img {
  transform: scale(1.08);
}

.sport-card span {
  position: absolute;
  left: 1rem;
  bottom: 0.75rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.event-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.event-card-media {
  position: relative;
  height: 140px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.event-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.7) 100%);
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-card-media img {
  transform: scale(1.08);
}

.event-card-media-label {
  position: absolute;
  left: 1rem;
  bottom: 0.75rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.event-card:hover {
  border-color: var(--accent);
  background-color: rgba(212, 168, 83, 0.03);
}

.event-card.expanded {
  border-color: var(--accent);
  background-color: var(--bg-secondary);
}

.event-card-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.event-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  flex-grow: 1;
}

.event-card-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212, 168, 83, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
}

.event-card-years {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.event-card-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 2;
  transition: transform 0.3s ease, stroke 0.3s ease;
  flex-shrink: 0;
}

.event-card.expanded .event-card-arrow {
  transform: rotate(180deg);
  stroke: var(--accent);
}

.event-card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.event-card.expanded .event-card-details {
  max-height: 900px;
  padding: 0 1.5rem 1.5rem;
}

.event-card-details p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.event-card-details p:last-child {
  margin-bottom: 0;
}

.event-card-details strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Services --- */
.services {
  background-color: var(--bg-secondary);
}

.services .label {
  margin-bottom: 1.5rem;
}

.services h2 {
  margin-bottom: 3rem;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  border-top: 2px solid var(--accent);
  background-color: var(--bg-elevated);
  padding: 2rem;
  border-radius: 0 0 4px 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --- Testimonials --- */
.testimonials {
  background-color: var(--bg-primary);
}

.testimonials .label {
  margin-bottom: 1.5rem;
}

.testimonials h2 {
  margin-bottom: 4rem;
}

.testimonials-track {
  position: relative;
  display: block;
  overflow: visible;
  perspective: 1200px;
  padding: 1.5rem 0 3.5rem;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(680px, 92vw);
  transform-style: preserve-3d;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.3s ease, transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translate(-50%, -6px) scale(1.02);
}

.testimonial-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateZ(60px) scale(1.3);
  z-index: 3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.testimonial-card.is-prev {
  opacity: 0.12;
  filter: blur(2px);
  transform: translateX(calc(-50% - 300px)) translateZ(-200px) rotateY(22deg) scale(0.78);
  z-index: 2;
}

.testimonial-card.is-next {
  opacity: 0.12;
  filter: blur(2px);
  transform: translateX(calc(-50% + 300px)) translateZ(-200px) rotateY(-22deg) scale(0.78);
  z-index: 2;
}

.testimonial-card.is-far-prev {
  opacity: 0.05;
  filter: blur(3px);
  transform: translateX(calc(-50% - 500px)) translateZ(-320px) rotateY(28deg) scale(0.66);
  z-index: 1;
}

.testimonial-card.is-far-next {
  opacity: 0.05;
  filter: blur(3px);
  transform: translateX(calc(-50% + 500px)) translateZ(-320px) rotateY(-28deg) scale(0.66);
  z-index: 1;
}

.testimonial-card.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateZ(-320px) scale(0.6);
  z-index: 0;
}

.testimonial-quote-mark {
  font-family: var(--font-primary);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
}

.testimonial-card blockquote {
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonial-dot:hover {
  transform: scale(1.3);
}

.testimonial-dot.active {
  background-color: var(--accent);
}

/* --- Contact --- */
.contact {
  background-color: var(--bg-secondary);
}

.contact .label {
  margin-bottom: 1.5rem;
}

.contact h2 {
  margin-bottom: 0.75rem;
}

.contact-subtitle {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 500px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-form {
  gap: 1rem;
}

.chat-window {
  min-height: 320px;
  max-height: 420px;
  overflow-y: auto;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  color: var(--text-primary);
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.chat-input {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.chat-input input,
.chat-input select,
.chat-input textarea {
  flex: 1;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.875rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}

.chat-input input:focus,
.chat-input select:focus,
.chat-input textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

.chat-input textarea {
  min-height: 110px;
  resize: vertical;
}

.chat-hidden {
  display: none;
}

.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;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.875rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  align-self: flex-start;
  width: auto;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

.form-status.success {
  color: #4CAF50;
}

.form-status.error {
  color: var(--red-tally);
}

.hidden-honeypot {
  display: none !important;
}

.btn-loading-hidden {
  display: none !important;
}

/* Contact Info Sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  border-color: var(--accent);
  background-color: var(--bg-elevated);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card-value {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

/* --- Footer --- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
}

.footer-socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.scroll-top {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.scroll-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* Parallax floating elements */
.float-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Section divider line animation */
.section-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem 0;
  transform-origin: left;
  animation: grow-line 1s ease forwards;
  opacity: 0;
}

.section-line.visible {
  opacity: 1;
}

@keyframes grow-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* --- Responsive: Tablet (768px+) --- */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showreel-grid {
    grid-template-columns: 1.6fr 1fr;
  }

  .testimonial-card {
    width: min(720px, 80vw);
  }

  .contact-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
  }
}

/* --- Responsive: Desktop (1024px+) --- */
@media (min-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonial-card {
    width: 680px;
  }
}

/* --- Responsive: Mobile (below 768px) --- */
@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-stat-divider {
    height: 30px;
  }

  .broadcaster-logo {
    height: 36px;
    width: 120px;
  }

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

  .testimonial-card.is-prev {
    transform: translateX(calc(-50% - 210px)) translateZ(-200px) rotateY(16deg) scale(0.74);
  }

  .testimonial-card.is-next {
    transform: translateX(calc(-50% + 210px)) translateZ(-200px) rotateY(-16deg) scale(0.74);
  }

  .testimonial-card.is-far-prev {
    transform: translateX(calc(-50% - 340px)) translateZ(-300px) rotateY(20deg) scale(0.62);
  }

  .testimonial-card.is-far-next {
    transform: translateX(calc(-50% + 340px)) translateZ(-300px) rotateY(-20deg) scale(0.62);
  }

  .chat-input {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-input .btn-submit {
    width: 100%;
    justify-content: center;
  }

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

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 420px;
  padding: 0 1.5rem;
}

.preloader-terminal {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.preloader-rec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-tally);
  text-transform: uppercase;
}

.rec-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-tally);
  border-radius: 50%;
  animation: rec-blink 1s ease-in-out infinite;
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.preloader-timecode {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(212, 168, 83, 0.3);
}

.preloader-status {
  margin-bottom: 1rem;
}

.status-line {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-line::before {
  content: '>';
  color: var(--accent);
  animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.preloader-bar-container {
  width: 100%;
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 3px;
  transition: width 0.4s ease-out;
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.5);
}

.preloader-steps {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.step {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: color 0.3s ease;
}

.step .step-icon {
  font-size: 0.5rem;
  color: var(--border);
  transition: color 0.3s ease;
}

.step.active {
  color: var(--text-secondary);
}

.step.active .step-icon {
  color: var(--accent);
  animation: step-pulse 0.5s ease;
}

.step.completed {
  color: var(--accent);
}

.step.completed .step-icon {
  color: var(--accent);
}

@keyframes step-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* --- Screen Reveal Transition --- */
.screen-reveal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  pointer-events: none;
}

.screen-reveal-left,
.screen-reveal-right {
  width: 50%;
  height: 100%;
  background-color: var(--bg-primary);
  transform: scaleX(1);
  transform-origin: left;
}

.screen-reveal-left {
  transform-origin: left;
}

.screen-reveal-right {
  transform-origin: right;
}

.screen-reveal.active .screen-reveal-left {
  animation: reveal-left 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.screen-reveal.active .screen-reveal-right {
  animation: reveal-right 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes reveal-left {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

@keyframes reveal-right {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

.screen-reveal.done {
  display: none;
}
