/* ============================================================
   HIGHRANGE ESCAPADES - Style Sheet
   Premium cinematic expedition aesthetic
   Mobile-first responsive | GPU-accelerated animations
   ============================================================ */

/* ----------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------- */
:root {
  /* Core palette - rich forest greens, earthy tones, misty greys, warm amber */
  --color-deep: #111e15;
  --color-forest: #1a2e1f;
  --color-moss: #24422c;
  --color-olive: #3c613c;
  --color-fog: #c0cfb8;
  --color-fog-light: rgba(180, 200, 175, 0.1);
  --color-mist: rgba(200, 215, 195, 0.18);
  --color-amber: #c4823e;
  --color-amber-glow: rgba(196, 130, 62, 0.25);
  --color-ember: #d49548;
  --color-earth: #3d2b1f;
  --color-cream: #e8e0d4;
  --color-text: #e2e0d8;
  --color-text-muted: #a0a095;
  --color-white: #f5f1ea;
  --color-black: #0d140d;

  /* Gradients */
  --gradient-hero: linear-gradient(to bottom, rgba(17,30,21,0.2) 0%, rgba(17,30,21,0.55) 55%, rgba(17,30,21,0.9) 100%);
  --gradient-card: linear-gradient(to top, rgba(10,20,14,0.85) 0%, rgba(10,20,14,0.3) 60%, rgba(10,20,14,0.03) 100%);
  --gradient-section: linear-gradient(to bottom, var(--color-deep), var(--color-forest), var(--color-deep));
  --gradient-footer: linear-gradient(to top, rgba(10,16,10,0.92), rgba(18,28,21,0.82), rgba(18,28,21,0.48));

  /* Typography - 4-font hierarchy for depth and polish */
  --font-display: 'Cinzel', 'Georgia', serif;          /* Hero brand name */
  --font-heading: 'Playfair Display', 'Georgia', serif; /* Section titles, taglines */
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;/* Card titles, event names */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Sizing */
  --max-width: 1200px;
  --nav-height: 4.5rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-slow: 1.2s;
  --duration-med: 0.8s;
  --duration-fast: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-deep);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  /* Prevent horizontal scroll from animations */
}

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

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

ul {
  list-style: none;
}

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

/* Selection */
::selection {
  background: var(--color-amber);
  color: var(--color-black);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 2px;
}

/* ----------------------------------------------------------
   UTILITY CLASSES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-amber);
  letter-spacing: 0.01em;
}

/* Reveal animation - controlled by JS IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9em 2.2em;
  border-radius: 6px;
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-amber);
  color: var(--color-black);
  border: 1px solid var(--color-amber);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-ember);
  box-shadow: 0 0 30px var(--color-amber-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-amber);
  border: 1px solid var(--color-amber);
  padding: 0.65em 1.6em;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-amber);
  color: var(--color-black);
}

/* ----------------------------------------------------------
   LOADING SCREEN
   ---------------------------------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

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

.loader-content {
  text-align: center;
  position: relative;
}

.loader-mist {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-amber-glow) 0%, transparent 70%);
  animation: loaderPulse 2s var(--ease-in-out) infinite;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.loader-line {
  width: 60px;
  height: 1px;
  background: var(--color-amber);
  margin: var(--space-sm) auto 0;
  animation: loaderLine 1.5s var(--ease-in-out) infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes loaderLine {
  0%, 100% { width: 0; opacity: 0; }
  50% { width: 80px; opacity: 1; }
}

/* ----------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background var(--duration-med) var(--ease-out),
              padding var(--duration-med) var(--ease-out),
              box-shadow var(--duration-med) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(17, 30, 21, 0.6);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color var(--duration-fast);
}

.nav-logo:hover {
  color: var(--color-amber);
}

.logo-icon {
  font-size: 0.9rem;
  color: var(--color-amber);
}

.logo-icon img {
  width: auto;
  height: 50px;
}

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

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fog);
  position: relative;
  padding: 0.3em 0;
  transition: color var(--duration-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-amber);
  transition: width var(--duration-fast) var(--ease-out);
}

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

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-white);
  transition: all var(--duration-fast) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ----------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Parallax background - single forest image, scaled up for scroll movement */
.hero-bg {
  position: absolute;
  inset: -15% -5%;
  z-index: 1;
  background-image: url('./images/hero_bg.jpg');
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}

/* Fog layers - animated via CSS */
.fog-layer {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  will-change: transform, opacity;
}

.fog-layer-1 {
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(180,200,175,0.12) 0%, transparent 60%);
  animation: fogDrift1 18s ease-in-out infinite;
}

.fog-layer-2 {
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(180,200,175,0.08) 0%, transparent 50%);
  animation: fogDrift2 24s ease-in-out infinite;
}

.fog-layer-3 {
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(200,215,195,0.06) 0%, transparent 40%);
  animation: fogDrift3 20s ease-in-out infinite;
}

@keyframes fogDrift1 {
  0%, 100% { transform: translateX(0) scale(1); opacity: 0.6; }
  25% { transform: translateX(3%) scale(1.05); opacity: 0.8; }
  50% { transform: translateX(-1%) scale(0.98); opacity: 0.5; }
  75% { transform: translateX(-3%) scale(1.03); opacity: 0.7; }
}

@keyframes fogDrift2 {
  0%, 100% { transform: translateX(0) translateY(0); opacity: 0.5; }
  33% { transform: translateX(-4%) translateY(1%); opacity: 0.7; }
  66% { transform: translateX(2%) translateY(-1%); opacity: 0.4; }
}

@keyframes fogDrift3 {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(2%) scale(1.04); opacity: 0.5; }
}

/* Canvas for particles */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

/* Light beam effects */
.light-beam {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  opacity: 0.04;
}

.light-beam-1 {
  top: -20%;
  right: 10%;
  width: 400px;
  height: 140%;
  background: linear-gradient(to bottom, transparent, rgba(220,210,180,0.3), transparent);
  transform: rotate(-15deg);
  animation: lightBeamShift 12s ease-in-out infinite;
}

.light-beam-2 {
  top: -10%;
  left: 5%;
  width: 250px;
  height: 120%;
  background: linear-gradient(to bottom, transparent, rgba(200,215,185,0.2), transparent);
  transform: rotate(-8deg);
  animation: lightBeamShift 16s ease-in-out infinite reverse;
}

@keyframes lightBeamShift {
  0%, 100% { opacity: 0.03; transform: rotate(-15deg) translateX(0); }
  50% { opacity: 0.06; transform: rotate(-15deg) translateX(30px); }
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: var(--gradient-hero);
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 var(--space-md);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  animation: fadeUp 1.5s var(--ease-out) 0.3s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-title-line {
  display: block;
  animation: fadeUp 1.5s var(--ease-out) 0.5s both;
}

.hero-title-line:last-child {
  animation-delay: 0.7s;
  font-weight: 800;
  color: var(--color-amber);
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.05rem, 2.8vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-fog);
  margin-bottom: var(--space-lg);
  animation: fadeUp 1.5s var(--ease-out) 1s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.5s var(--ease-out) 1.2s both;
}

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

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 1.5s var(--ease-out) 1.5s both;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-fog), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ----------------------------------------------------------
   ABOUT SECTION
   ---------------------------------------------------------- */
.about {
  background: var(--color-deep);
  padding: var(--space-2xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 8s var(--ease-out);
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.about-image-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--color-deep), transparent);
  pointer-events: none;
}

.about-copy {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.about-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-amber);
  line-height: 1;
  letter-spacing: 0.05em;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

/* ----------------------------------------------------------
   EXPERIENCE HIGHLIGHTS SECTION
   ---------------------------------------------------------- */
.experiences {
  background: var(--color-forest);
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(180,200,175,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(196,130,62,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.exp-card {
  position: relative;
  height: 320px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration-med) var(--ease-out);
}

.exp-card:hover {
  transform: translateY(-6px);
}

.exp-card-bg {
  position: absolute;
  inset: 0;
}

.exp-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease-out);
}

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

.exp-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
}

.exp-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  z-index: 1;
}

.exp-icon {
  width: 36px;
  height: 36px;
  color: var(--color-amber);
  margin-bottom: 0.8rem;
  transition: transform var(--duration-fast) var(--ease-out);
}

.exp-card:hover .exp-icon {
  transform: translateY(-4px);
}

.exp-card h3 {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.exp-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-fog);
  opacity: 0.85;
}

/* Staggered reveal delays */
.exp-card:nth-child(1) { transition-delay: 0.05s; }
.exp-card:nth-child(2) { transition-delay: 0.1s; }
.exp-card:nth-child(3) { transition-delay: 0.15s; }
.exp-card:nth-child(4) { transition-delay: 0.2s; }
.exp-card:nth-child(5) { transition-delay: 0.25s; }
.exp-card:nth-child(6) { transition-delay: 0.3s; }

/* ----------------------------------------------------------
   UPCOMING EVENTS SECTION
   ---------------------------------------------------------- */
.events {
  background: var(--color-deep);
  padding: var(--space-2xl) 0;
}

.events-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.events-grid .event-card {
  flex: 0 1 340px;
  min-width: 280px;
}

.event-card {
  background: rgba(20, 32, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--duration-med) var(--ease-out),
              border-color var(--duration-med) var(--ease-out),
              box-shadow var(--duration-med) var(--ease-out);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 130, 62, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.event-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease-out);
}

.event-card:hover .event-card-image img {
  transform: scale(1.05);
}

.event-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3em 0.8em;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.event-badge-difficulty {
  background: rgba(196, 130, 62, 0.2);
  color: var(--color-amber);
  border: 1px solid rgba(196, 130, 62, 0.3);
}

.event-badge-completed {
  background: rgba(100, 140, 100, 0.15);
  color: #8a9a8a;
  border: 1px solid rgba(100, 140, 100, 0.25);
}

.event-card-body {
  padding: 1.5rem;
}

.event-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  flex-wrap: wrap;
}

.event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.event-meta-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.event-title {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.event-date {
  font-size: 0.8rem;
  color: var(--color-amber);
  margin-bottom: 0.6rem;
}

.event-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-fog);
  margin-bottom: var(--space-sm);
}

/* ----------------------------------------------------------
   GALLERY / VISUAL STRIP
   ---------------------------------------------------------- */
.gallery {
  background: var(--color-forest);
  padding: var(--space-xl);
  position: relative;
}

/* ----------------------------------------------------------
   CAROUSEL - image gallery slider
   ---------------------------------------------------------- */
.carousel {
  position: relative;
  margin-top: var(--space-lg);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.carousel-slide {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  padding: 0 2px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: #0a100a;
}

.carousel-slide-portrait {
  flex: 0 0 calc(25%);
  aspect-ratio: 3 / 4;
}

.carousel-slide-portrait img {
  object-fit: contain;
  background: #0a100a;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a100a;
  transition: transform 0.4s ease;
}

.carousel-slide:hover img {
  transform: scale(1.04);
}

/* Nav buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 16, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
  padding: 0;
}

.carousel-btn:hover {
  background: rgba(10, 16, 10, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background: var(--color-amber);
  transform: scale(1.3);
}

/* ----------------------------------------------------------
   VIDEO SECTION
   ---------------------------------------------------------- */
.video {
  background: var(--color-deep);
  padding: var(--space-2xl) 0;
}

.video-wrapper {
  position: relative;
  max-width: 800px;
  margin: var(--space-md) auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ----------------------------------------------------------
   MEET THE TEAM SECTION
   ---------------------------------------------------------- */
.team {
  background: var(--color-deep);
  padding: var(--space-2xl) 0;
}

.team-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.team-row {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.team-row-single {
  max-width: 420px;
  width: 100%;
}

.team-card {
  flex: 0 1 360px;
  min-width: 300px;
  text-align: center;
  padding: var(--space-md);
  transition: transform var(--duration-med) var(--ease-out);
}

.team-row-single .team-card {
  flex: 1 1 100%;
  min-width: 0;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-image {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(196, 130, 62, 0.3);
  transition: border-color var(--duration-med);
  cursor: pointer;
  display: block;
  padding: 0;
  background: none;
}

.team-image:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 4px;
}

.team-card:hover .team-image {
  border-color: var(--color-amber);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.team-role {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-sm);
}

.team-bio {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 340px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   LIGHTBOX
   ---------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ----------------------------------------------------------
   CONTACT SECTION
   ---------------------------------------------------------- */
.contact {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--color-black);
}

.contact-bg {
  position: absolute;
  inset: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(20,32,25,0.8) 0%, var(--color-black) 70%);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--color-fog);
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  transition: all var(--duration-fast) var(--ease-out);
  width: fit-content;
}

.contact-link:hover {
  border-color: var(--color-amber);
  color: var(--color-white);
  background: rgba(196, 130, 62, 0.05);
}

/* Contact form */
.contact-form {
  background: rgba(17, 28, 22, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 2.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85em 1em;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-amber);
  background: rgba(255, 255, 255, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(180, 180, 170, 0.35);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%239a9a90' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}

.form-group select option {
  background: var(--color-forest);
  color: var(--color-white);
}

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

.contact-form .btn {
  width: 100%;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--color-black);
  padding: var(--space-xl) 0 var(--space-md);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-amber), transparent);
  opacity: 0.3;
  animation: footerGlow 4s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { opacity: 0.2; width: 400px; }
  50% { opacity: 0.5; width: 600px; }
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-logo img {
  margin-inline: auto;
}

.footer-tagline {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--color-amber);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  border-color: var(--color-amber);
  color: var(--color-amber);
  background: rgba(196, 130, 62, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   RESPONSIVE - TABLET (≤1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrapper img {
    height: 350px;
  }

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

  .events-grid .event-card {
    flex: 0 1 340px;
  }

  .carousel-slide {
    flex: 0 0 50%;
    aspect-ratio: 4 / 3;
  }

  .carousel-slide-portrait {
    flex: 0 0 35%;
    aspect-ratio: 3 / 4;
  }

  .team-row:not(.team-row-single) {
    flex-wrap: nowrap;
  }

  .team-card {
    flex: 1 1 280px;
    min-width: 0;
  }

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

/* ----------------------------------------------------------
   RESPONSIVE - MOBILE (≤768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --nav-height: 3.8rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
  }

  /* Mobile navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 4rem 2rem;
    background: rgba(17, 30, 21, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: right var(--duration-med) var(--ease-out);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  /* Experience cards */
  .exp-grid {
    grid-template-columns: 1fr;
  }

  .exp-card {
    height: 260px;
  }

  /* Events */
  .events-grid .event-card {
    flex: 0 1 100%;
    min-width: 0;
  }

  /* Gallery carousel */
  .carousel-slide {
    flex: 0 0 100%;
    aspect-ratio: 4 / 3;
  }

  .carousel-slide-portrait {
    flex: 0 0 70%;
    aspect-ratio: 3 / 4;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  /* Team */
  .team-card {
    flex: 0 1 100%;
    min-width: 0;
  }

  .team-row:not(.team-row-single) {
    flex-wrap: wrap;
  }

  /* About stats */
  .about-stats {
    gap: var(--space-md);
  }

  .stat-number {
    font-size: 1.5rem;
  }

  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   RESPONSIVE - SMALL MOBILE (≤480px)
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .exp-card {
    height: 240px;
  }

  .about-stats {
    flex-wrap: wrap;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .hero-bg,
  .fog-layer,
  .hero-canvas,
  .light-beam {
    display: none;
  }
}
