/* =================================
   1. CSS RESET
   ================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

input, button, textarea, select {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

/* =================================
   2. CSS CUSTOM PROPERTIES
   ================================= */

:root {
  /* Core Brand Colors */
  --color-bg: #0A0806;
  --color-white: #FFFFFF;
  --color-gold: #C5A059;

  /* Semantic Color Aliases */
  --color-text-primary: var(--color-white);
  --color-text-accent: var(--color-gold);
  --color-surface: var(--color-bg);
  --color-cta-bg: var(--color-gold);
  --color-cta-text: var(--color-bg);

  /* Error States */
  --color-error: #e74c3c;
  --color-error-bg: rgba(231, 76, 60, 0.05);

  /* Typography */
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 8rem;

  /* Layout */
  --nav-height: 80px;
  --max-width: 1200px;

  /* Visual Effects */
  --grain-opacity: 0.15;
}

/* =================================
   3. BASE STYLES
   ================================= */

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  position: relative;
}

/* Animated background grain canvas */
.bg-grain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

/* =================================
   4. TYPOGRAPHY
   ================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* =================================
   5. UTILITY CLASSES
   ================================= */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

/* =================================
   6. NAVIGATION
   ================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-bg);
  padding: var(--space-md) var(--space-lg);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
}

.logo-antler {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.logo-room {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: var(--font-weight-regular);
  font-size: 1.5rem;
  color: var(--color-gold);
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  transition: color 0.2s ease;
}

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

.nav-links a:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* Nav CTA */
.nav-cta {
  display: inline-block;
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-gold) 0%,
    #D4B06A 50%,
    var(--color-gold) 100%
  );
  color: var(--color-cta-text);
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 2px 12px rgba(197, 160, 89, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 4px 20px rgba(197, 160, 89, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* =================================
   6A. MOBILE NAVIGATION
   ================================= */

/* Hamburger button - hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile menu popover */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background-color: var(--color-bg);
  border: none;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease, display 0.3s ease allow-discrete;
}

.mobile-menu:popover-open {
  opacity: 1;
  transform: translateX(0);
}

@starting-style {
  .mobile-menu:popover-open {
    opacity: 0;
    transform: translateX(100%);
  }
}

.mobile-menu::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu:popover-open::backdrop {
  opacity: 1;
}

/* Close button */
.mobile-menu-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-bottom: var(--space-xl);
  color: var(--color-white);
}

.mobile-menu-close:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Mobile menu links */
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
}

.mobile-menu-links a {
  display: block;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-semibold);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  padding: var(--space-sm) 0;
  min-height: 44px;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus {
  color: var(--color-gold);
}

.mobile-menu-links a:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.mobile-menu-cta {
  margin-top: auto;
  text-align: center;
  min-height: 44px;
}

/* =================================
   7. HERO SECTION
   ================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-height) var(--space-lg) var(--space-xl);
  overflow: hidden;
}

/* Video Background */
.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(70%) contrast(1.3) brightness(0.6) blur(1px);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 6, 0.8) 0%,
    rgba(10, 8, 6, 0.6) 50%,
    rgba(10, 8, 6, 0.95) 100%
  );
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-lg);
  position: relative;
}

.hero-title-antler {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: clamp(3.5rem, 12vw, 7rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  line-height: 0.85;
}

.hero-title-room {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: var(--font-weight-regular);
  font-size: clamp(3.5rem, 12vw, 7rem);
  color: var(--color-gold);
  position: relative;
  z-index: 2;
  margin-top: -0.35em;
  line-height: 1;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.hero-tagline {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
}

/* =================================
   8. CTA BUTTON
   ================================= */

.cta-button {
  display: inline-block;
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-gold) 0%,
    #D4B06A 50%,
    var(--color-gold) 100%
  );
  color: var(--color-cta-text);
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 20px rgba(197, 160, 89, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(197, 160, 89, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  transform: translateY(0);
  box-shadow:
    0 2px 10px rgba(197, 160, 89, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.cta-button:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* =================================
   9. SECTIONS (Placeholder styles)
   ================================= */

.section {
  min-height: 50vh;
  padding: var(--space-2xl) 0;
  scroll-margin-top: var(--nav-height);
}

.section h2 {
  margin-bottom: var(--space-lg);
}

/* =================================
   10. CONTENT SECTIONS
   ================================= */

/* Section Headers */
.section-header-group {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.section-subheader {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: 1rem;
  color: var(--color-text-primary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stats Showcase Section */
.section--stats {
  padding: var(--space-3xl) 0;
}

.stats-showcase {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
}

.stats-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-2xl);
  line-height: 1;
}

.stats-headline-top {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-white);
  position: relative;
  z-index: 2;
}

.stats-headline-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: var(--font-weight-regular);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--color-gold);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: -0.15em;
  position: relative;
  z-index: 1;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
  min-width: 280px;
  flex: 1;
  max-width: 350px;
}

.stat-number {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: clamp(4rem, 12vw, 6rem);
  color: var(--color-gold);
  line-height: 1;
  text-shadow: 0 0 50px rgba(197, 160, 89, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.2em;
}

/* Expandable stat number animation - default shows short version only */
.stat-short {
  transition: opacity 0.3s ease;
}

.stat-full {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.02em;
  font-weight: var(--font-weight-semibold);
  transition: opacity 0.3s ease;
}

.stat-item--expandable:hover .stat-short {
  opacity: 0;
}

.stat-item--expandable:hover .stat-full {
  opacity: 1;
  pointer-events: auto;
}

/* Grain burst canvas for stat transition */
.stat-grain-burst {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Ambient grain canvas for all glass cards */
.card-ambient-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  border-radius: inherit;
}

.stat-label {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-primary);
}

/* Prominent inquiry text */
.stats-inquiry {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

/* Prominent CTA button variant */
.cta-button--prominent {
  font-size: 1rem;
  padding: 1.125rem 2.5rem;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}

/* Mobile adjustments for stats */
@media (max-width: 600px) {
  .stats-row {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .stat-item {
    min-width: unset;
    max-width: 100%;
  }

  .stat-full {
    font-size: clamp(0.9rem, 3.5vw, 1.25rem);
  }
}

.section-note {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--space-lg);
  opacity: 0.8;
}

.section-highlight {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-medium);
  font-size: 0.9375rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.03em;
  opacity: 0.9;
}

.section .cta-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* Strategy Grid */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.strategy-pillar {
  text-align: center;
}

.pillar-title {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.pillar-description {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-primary);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  padding: var(--space-lg);
  border: 1px solid rgba(197, 160, 89, 0.3);
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: var(--color-gold);
}

.service-title {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.service-description {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-primary);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.team-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.team-card-header {
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: var(--space-md);
}

/* Team Card Photos */
.team-card-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(197, 160, 89, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover .team-card-photo {
  border-color: var(--color-gold);
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Individual photo positioning */
.team-card-photo img[src*="Vova"] {
  transform: scale(1.3);
}

.team-card-photo img[src*="Joey"] {
  object-position: center 20%;
}

.team-card:hover .team-card-photo img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-card:hover .team-card-photo img[src*="Vova"] {
  transform: scale(1.35);
}

.team-card-name {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.team-card-role {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-medium);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

.team-card-bio {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-primary);
}

/* Genre Tags (fallback) */
.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.genre-tag {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid var(--color-gold);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  transition: all 0.2s ease;
}

.genre-tag:hover {
  background-color: var(--color-gold);
  color: var(--color-bg);
}

/* Genre 3D Merry-Go-Round Carousel */
.genre-carousel-container {
  position: relative;
  width: 100%;
  height: 320px;
  margin: 0 auto;
  perspective: 1000px;
  overflow: visible;
}

.genre-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.genre-carousel-item {
  position: absolute;
  width: 160px;
  height: 100px;
  left: 50%;
  top: 50%;
  margin-left: -80px;
  margin-top: -50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 16px;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  backface-visibility: visible;
}

.genre-carousel-item:hover {
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(197, 160, 89, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.genre-carousel-text {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
.genre-carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.genre-carousel-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 50%;
  color: var(--color-gold);
  cursor: pointer;
  transition: all 0.2s ease;
}

.genre-carousel-btn:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--color-gold);
  transform: scale(1.05);
}

.genre-carousel-btn:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.partner-card {
  padding: var(--space-lg);
}

.partner-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: var(--space-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover .partner-logo {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.partner-name {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.partner-description {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-semibold);
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.partner-detail {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-primary);
}

/* Contact Section */
.contact-email-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.contact-item {
  padding: var(--space-lg);
}

.contact-role {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.contact-email {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-medium);
  font-size: 1.125rem;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  transition: opacity 0.2s ease;
}

.contact-email:hover {
  opacity: 0.8;
}

.contact-email:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.contact-description {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-text-primary);
  opacity: 0.8;
}

/* =================================
   11. FORM STYLES
   ================================= */

.demo-form {
  max-width: 600px;
  margin: 0 auto;
}

.section-warning {
  color: var(--color-gold);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group-fieldset {
  border: none;
  padding: 0;
}

.form-group label,
.form-group legend {
  display: block;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-semibold);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

/* Input base styles */
.demo-form input[type="text"],
.demo-form input[type="email"],
.demo-form input[type="url"],
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Focus state */
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(197, 160, 89, 0.05);
}

/* Valid state */
.demo-form input.valid,
.demo-form select.valid,
.demo-form textarea.valid {
  border-color: var(--color-gold);
}

/* Invalid state */
.demo-form input.invalid,
.demo-form select.invalid,
.demo-form textarea.invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

/* Error message */
.form-error {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: var(--space-xs);
  min-height: 1.2em;
}

/* Placeholder styling */
.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Select dropdown styling */
.demo-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23C5A059' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.demo-form select option {
  background-color: var(--color-bg);
  color: var(--color-white);
}

/* Checkbox styling */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: var(--font-weight-regular);
  text-transform: none;
  color: var(--color-white);
  user-select: none;
}

.checkbox-custom {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Focus state for checkbox */
.checkbox-group input[type="checkbox"]:focus + .checkbox-custom {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Checked state */
.checkbox-group input[type="checkbox"]:checked + .checkbox-custom {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

/* Checkmark */
.checkbox-group input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--color-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Genre Other input */
.genre-other-input {
  margin-top: var(--space-md);
}

.genre-other-input input {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.genre-other-input input:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(197, 160, 89, 0.05);
}

.genre-other-input input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Submit button */
.form-submit {
  width: 100%;
  margin-top: var(--space-lg);
  border: none;
  cursor: pointer;
}

/* Form Success State */
.form-success {
  text-align: center;
  padding: var(--space-xl) 0;
  max-width: 500px;
  margin: 0 auto;
}

.form-success-grain-container {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 0 auto var(--space-lg);
}

.form-success-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.form-success-title {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 40px rgba(197, 160, 89, 0.4);
}

.form-success-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.form-success-note {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-text-primary);
  opacity: 0.8;
}

/* =================================
   12. FOOTER
   ================================= */

.footer {
  position: relative;
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  margin-top: var(--space-2xl);
}

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

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  margin-bottom: var(--space-md);
}

.footer-logo .logo-antler {
  font-size: 1.25rem;
}

.footer-logo .logo-room {
  font-size: 1.25rem;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-medium);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-text-primary);
  opacity: 0.6;
}

/* =================================
   13. RESPONSIVE BREAKPOINTS
   ================================= */

/* ---------------------------------
   Mobile (base - up to 767px)
   --------------------------------- */

@media (max-width: 767px) {
  /* Hide desktop nav, show hamburger */
  .nav-links--desktop,
  .nav-cta--desktop {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Reduce section padding */
  .section {
    padding: var(--space-xl) 0;
  }

  /* Smaller container padding */
  .container {
    padding: 0 var(--space-md);
  }

  /* Hero adjustments */
  .hero {
    padding: var(--nav-height) var(--space-md) var(--space-lg);
  }

  /* Hero title already stacked, just ensure overlap works on mobile */

  /* Stats grid - 2 columns on mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Strategy grid - single column */
  .strategy-grid {
    gap: var(--space-lg);
  }

  /* Team grid - single column */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Touch-friendly tap targets */
  .genre-tag {
    min-height: 44px;
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
  }

  .contact-email {
    min-height: 44px;
    padding: var(--space-sm) 0;
  }

  .cta-button,
  .nav-cta {
    min-height: 44px;
    padding: 0.875rem 1.75rem;
  }

  .checkbox-label {
    min-height: 44px;
    padding: var(--space-sm) 0;
  }
}

/* ---------------------------------
   Tablet (768px and up)
   --------------------------------- */

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

  .nav-links--desktop,
  .nav-cta--desktop {
    display: flex;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-lg);
  }
}

/* ---------------------------------
   Desktop (1024px and up)
   --------------------------------- */

@media (min-width: 1024px) {
  /* Most desktop styles handled by clamp() and auto-fit */
  /* Add any desktop-specific overrides here if needed */
}

/* =================================
   14. GLASSMORPHISM CARDS
   ================================= */

/* Refined glass effect - elegant and on-brand */
.glass-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: 12px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
}

.glass-card:hover {
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(197, 160, 89, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Glass effect for strategy pillars */
.strategy-pillar {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.strategy-pillar:hover {
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(197, 160, 89, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Enhanced service cards with glass effect */
.service-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Enhanced team cards with glass effect */
.team-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.team-card:hover {
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(197, 160, 89, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Enhanced partner cards with glass effect */
.partner-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: 12px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.partner-card:hover {
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(197, 160, 89, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Contact items with glass effect */
.contact-item {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: 12px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.contact-item:hover {
  border-color: rgba(197, 160, 89, 0.35);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(197, 160, 89, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Stats items with subtle glass effect */
.stat-item {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 160, 89, 0.12);
  border-radius: 12px;
  padding: var(--space-xl) var(--space-lg);
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.stat-item:hover {
  border-color: rgba(197, 160, 89, 0.3);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(197, 160, 89, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* =================================
   15. VISUAL EFFECTS
   ================================= */

/* ---------------------------------
   Grain Texture Overlay
   --------------------------------- */

.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Reduce grain opacity on mobile for performance */
@media (max-width: 767px) {
  :root {
    --grain-opacity: 0.1;
  }
}

/* ---------------------------------
   Sunburst Dividers
   --------------------------------- */

.section-divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.sunburst {
  width: 100%;
  max-width: 800px;
  height: auto;
  opacity: 0.4;
}

@media (min-width: 768px) {
  .section-divider {
    height: 80px;
  }
}

/* ---------------------------------
   Twinkling Stars
   --------------------------------- */

.stars-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  color: var(--color-gold);
  opacity: 0;
  animation: twinkle 4s ease-in-out infinite;
}

.star--1 {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.star--2 {
  width: 6px;
  height: 6px;
  top: 40%;
  right: 15%;
  animation-delay: 1s;
}

.star--3 {
  width: 10px;
  height: 10px;
  bottom: 30%;
  left: 25%;
  animation-delay: 2s;
}

.star--4 {
  width: 5px;
  height: 5px;
  top: 60%;
  right: 30%;
  animation-delay: 2.5s;
}

.star--5 {
  width: 7px;
  height: 7px;
  bottom: 50%;
  left: 70%;
  animation-delay: 3.5s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------------------------------
   Cursor Grain Cloud Effect
   --------------------------------- */

.cursor-grain-canvas {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: screen;
}

/* ---------------------------------
   Nav Item Grain Cloud
   --------------------------------- */

.nav-grain-cloud {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  mix-blend-mode: screen;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .star {
    animation: none;
    opacity: 0.5;
  }

  .cursor-grain-canvas {
    display: none;
  }

  .strategy-pillar,
  .service-card,
  .team-card,
  .partner-card,
  .stat-item {
    transform: none !important;
  }
}
