/* ============================================================
   HANGIT — Editorial Website Design System
   Premium · Cinematic · Editorial · Luxury
   ============================================================ */

/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Color Palette */
  --ink: #1f6862;
  --ink-soft: #2b847d;
  --cream: #faf8f5;
  --cream-deep: #f3efe8;
  --gold: #fada89;
  --gold-light: #fce7b0;
  --gold-dark: #e0b445;
  --blush: #f0b4c0;
  --blush-soft: #f7d9e0;
  --sage: #9bd8d9;
  --sage-soft: #d3eff0;
  --slate: #4a4a4a;
  --slate-light: #7a7a7a;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  /* Type Scale */
  --text-xs: clamp(0.7rem, 0.8vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.9vw, 0.9rem);
  --text-base: clamp(0.95rem, 1vw, 1.1rem);
  --text-lg: clamp(1.1rem, 1.2vw, 1.3rem);
  --text-xl: clamp(1.3rem, 1.5vw, 1.6rem);
  --text-2xl: clamp(1.6rem, 2vw, 2.2rem);
  --text-3xl: clamp(2rem, 2.8vw, 3rem);
  --text-4xl: clamp(2.5rem, 3.5vw, 4rem);
  --text-5xl: clamp(3rem, 5vw, 5.5rem);
  --text-6xl: clamp(3.5rem, 6.5vw, 7.5rem);
  --text-hero: clamp(4rem, 8vw, 10rem);

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
  --space-4xl: 12rem;

  /* Section Padding */
  --section-py: clamp(5rem, 10vh, 10rem);
  --section-px: clamp(1.5rem, 5vw, 6rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --duration-fast: 300ms;
  --duration-normal: 600ms;
  --duration-slow: 1000ms;
  --duration-glacial: 1500ms;

  /* Layout */
  --max-width: 1400px;
  --max-width-narrow: 900px;
  --max-width-wide: 1600px;
  --border-radius: 8px;
}

/* ===== 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;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

::selection {
  background-color: var(--gold);
  color: var(--white);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10000;
  width: 0%;
  transition: none;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-lg);
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

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

.preloader-logo {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-inner {
  height: 100%;
  background: var(--gold);
  width: 0%;
  animation: preloaderFill 2s var(--ease-out-expo) forwards;
}

@keyframes preloaderFill {
  to { width: 100%; }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: var(--space-md) var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(31, 104, 98, 0.95); /* Deep Teal from Logo */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-sm) var(--section-px);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.2);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color var(--duration-fast);
  position: relative;
}

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

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

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

.nav-cta {
  font-size: var(--text-xs) !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 0.6em 1.8em;
  border-radius: 50px;
  transition: all var(--duration-fast) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ink) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 9999;
}

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

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

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

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

/* ===== TYPOGRAPHY UTILITIES ===== */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-accent { font-family: var(--font-accent); }

.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-white { color: var(--white); }
.text-slate { color: var(--slate); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-subheadline {
  font-family: var(--font-accent);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--slate);
}

.editorial-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.85;
  color: var(--slate);
  max-width: 680px;
}

.editorial-body.light {
  color: rgba(255, 255, 255, 0.75);
}

.pull-quote {
  font-family: var(--font-accent);
  font-size: var(--text-3xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  padding-left: var(--space-xl);
  border-left: 3px solid var(--gold);
}

.pull-quote.light {
  color: var(--white);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1.1em 2.8em;
  border-radius: 50px;
  transition: all var(--duration-fast) var(--ease-out-expo);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 169, 110, 0.3);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--ink);
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-arrow::after {
  content: '→';
  font-size: 1.2em;
  transition: transform var(--duration-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===== SECTION BASE ===== */
.section {
  position: relative;
  padding: var(--section-py) var(--section-px);
  overflow: hidden;
}

.section-dark {
  background-color: var(--ink);
  color: var(--white);
}

.section-cream {
  background-color: var(--cream);
}

.section-deep-cream {
  background-color: var(--cream-deep);
}

.section-white {
  background-color: var(--white);
}

.section-blush {
  background-color: var(--blush-soft);
}

.section-sage {
  background-color: var(--sage-soft);
}

.section-gradient-dark {
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
  color: var(--white);
}

.section-gradient-gold {
  background: linear-gradient(145deg, #0a0a0a 0%, #1a150d 50%, #0a0a0a 100%);
  color: var(--white);
}

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

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

/* ===== DIVIDER ===== */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-lg) 0;
}

.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

.section-divider.light {
  background: rgba(201, 169, 110, 0.5);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-fade {
  opacity: 0;
  transition: opacity var(--duration-glacial) var(--ease-out-expo);
}

.reveal-fade.revealed {
  opacity: 1;
}

/* Stagger delays */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }
.delay-6 { transition-delay: 600ms; }
.delay-7 { transition-delay: 700ms; }
.delay-8 { transition-delay: 800ms; }

/* ===== 1. HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease-out-expo), transform 3s ease-out;
  transform: scale(1.05) translateX(20px);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#scrollDecorations .scroll-img {
  position: absolute;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s var(--ease-out-expo);
  z-index: 0;
  pointer-events: none;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  width: 250px;
  max-width: 30vw;
}

#scrollDecorations .scroll-img.visible {
  opacity: 0.15; /* Subtle opacity so it doesn't block text */
  transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  padding: 0 var(--space-lg);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 1s 0.5s var(--ease-out-expo) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 1s 0.8s var(--ease-out-expo) forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2xl);
  opacity: 0;
  animation: fadeInUp 1s 1.1s var(--ease-out-expo) forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeInUp 1s 1.4s var(--ease-out-expo) forwards;
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeInUp 1s 1.8s var(--ease-out-expo) forwards;
}

.hero-scroll-indicator span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

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

/* ===== 2. OUR STORY ===== */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: center;
}

.story-text {
  padding: var(--space-3xl) var(--space-3xl) var(--space-3xl) var(--section-px);
}

.story-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--duration-glacial) var(--ease-out-expo);
}

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

.story-number {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--cream-deep);
  line-height: 1;
  margin-bottom: var(--space-sm);
  -webkit-text-stroke: 1px var(--gold-light);
  color: transparent;
}

/* ===== 3. HOME OF HANGIT ===== */
.home-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.home-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.3) 100%
  );
}

.home-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: var(--section-py) var(--section-px);
}

.home-word {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--gold);
  font-style: italic;
  display: inline-block;
  position: relative;
}

.home-word::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  opacity: 0.4;
}

/* ===== 4. PHILOSOPHY ===== */
.philosophy-section {
  text-align: center;
  padding: var(--space-4xl) var(--section-px);
}

.philosophy-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-2xl);
  opacity: 0.6;
}

.philosophy-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--gold);
}

.philosophy-quote {
  font-family: var(--font-accent);
  font-size: var(--text-4xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
}

.philosophy-quote .highlight {
  color: var(--gold);
  font-weight: 600;
}

.philosophy-attribution {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate-light);
}

/* ===== 5. COMMUNITY ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.community-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out-expo);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.community-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.community-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.community-card:hover::before {
  transform: scaleX(1);
}

.community-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.community-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.community-card p {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* ===== 6. INNOVATION ===== */
.innovation-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: center;
}

.innovation-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

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

.innovation-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.8));
}

.innovation-text {
  padding: var(--space-3xl);
}

.innovation-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.spec-item {
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: all var(--duration-fast);
}

.spec-item:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
}

.spec-item-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.spec-item h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2xs);
}

.spec-item p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ===== 7. SAFETY & EQUIPMENT ===== */
.safety-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.safety-feature {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.safety-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
}

.safety-feature-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--cream-deep);
  -webkit-text-stroke: 1px var(--gold-light);
  color: transparent;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.safety-feature h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.safety-feature p {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* ===== 8. ELITE TRAINERS ===== */
.trainers-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.trainers-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.trainers-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-glacial) var(--ease-out-expo);
}

.trainers-image:hover img {
  transform: scale(1.04);
}

.trainers-image-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.trainers-expertise {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.expertise-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.expertise-item span {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--slate);
}

/* ===== 9. WHY HANGIT (STATS) ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== 10. WOMEN'S WELLNESS ===== */
.wellness-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
  align-items: stretch;
}

.wellness-image {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

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

.wellness-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(232, 196, 196, 0.3));
}

.wellness-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
  background: var(--blush-soft);
}

.wellness-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.wellness-pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.wellness-pillar-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.wellness-pillar span {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.6;
}

/* ===== 11. REHABILITATION ===== */
.rehab-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.rehab-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

.rehab-image img {
  width: 100%;
  height: auto;
  transition: transform var(--duration-glacial) var(--ease-out-expo);
}

.rehab-image:hover img {
  transform: scale(1.03);
}

.rehab-approach {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.rehab-approach-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  background: rgba(138, 154, 123, 0.08);
  transition: all var(--duration-fast);
}

.rehab-approach-item:hover {
  background: rgba(138, 154, 123, 0.15);
}

.rehab-approach-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--sage);
  flex-shrink: 0;
}

.rehab-approach-item p {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* ===== 12. AERIAL ARTS (GALLERY) ===== */
.aerial-gallery-wrapper {
  overflow: hidden;
  margin-top: var(--space-2xl);
}

.aerial-gallery {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.aerial-gallery::-webkit-scrollbar {
  display: none;
}

.aerial-card {
  flex: 0 0 350px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

.aerial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.aerial-card:hover img {
  transform: scale(1.1);
}

.aerial-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  transition: all var(--duration-normal);
}

.aerial-card:hover .aerial-card-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(10, 10, 10, 0.95));
}

.aerial-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.aerial-card p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ===== 13 & 14. MISSION & VISION ===== */
.mission-section {
  text-align: center;
  padding: var(--space-4xl) var(--section-px);
}

.mission-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.mission-body {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  color: var(--slate);
}

.vision-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.vision-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
}

.vision-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.vision-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-2xl);
}

/* ===== 15. IMPACT ===== */
.impact-achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.achievement-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.achievement-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
}

.achievement-card:hover::after {
  transform: scaleX(1);
}

.achievement-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.achievement-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.achievement-card p {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* ===== 16. INTERNATIONAL RECOGNITION ===== */
.recognition-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin: var(--space-2xl) 0;
  padding: var(--space-2xl);
  background: var(--cream);
  border-radius: var(--border-radius);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.recognition-emblem {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 40px rgba(201, 169, 110, 0.3);
}

.recognition-emblem span {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: 1.1;
}

.recognition-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.recognition-text p {
  font-size: var(--text-base);
  color: var(--slate);
  line-height: 1.7;
}

/* ===== 17. FUTURE (TIMELINE) ===== */
.timeline {
  position: relative;
  margin-top: var(--space-2xl);
  padding-left: var(--space-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201, 169, 110, 0.2));
}

.timeline-item {
  position: relative;
  padding: 0 0 var(--space-2xl) var(--space-2xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) - 5px);
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.2);
}

.timeline-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.timeline-item p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 500px;
}

/* ===== 18. COMPETITION ===== */
.competition-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.competition-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.competition-detail {
  padding: var(--space-md);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--border-radius);
  text-align: center;
  transition: all var(--duration-fast);
}

.competition-detail:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
}

.competition-detail-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.competition-detail h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2xs);
}

.competition-detail p {
  font-size: var(--text-xs);
  color: var(--slate-light);
}

.competition-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.competition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-glacial) var(--ease-out-expo);
}

.competition-image:hover img {
  transform: scale(1.04);
}

/* ===== 19. WHY WE LEAD ===== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.leadership-card {
  padding: var(--space-2xl);
  border-radius: var(--border-radius);
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border-color: var(--gold-light);
}

.leadership-card-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.leadership-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.leadership-card p {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.7;
}

/* ===== 20. CTA / JOIN ===== */
.cta-section {
  text-align: center;
  padding: var(--space-4xl) var(--section-px);
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.cta-subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-2xl);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 21. CLOSING ===== */
.closing-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.closing-content {
  max-width: 800px;
  padding: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.closing-mark {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--gold);
  line-height: 0.9;
  margin-bottom: var(--space-2xl);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.closing-statement {
  font-family: var(--font-accent);
  font-size: var(--text-3xl);
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin-bottom: var(--space-2xl);
}

.closing-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--gold);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-2xl) var(--section-px) var(--space-xl);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-logo span {
  color: var(--gold);
}

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

.footer-links a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--duration-fast);
}

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

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 8000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-fast) var(--ease-out-expo);
  box-shadow: 0 5px 20px rgba(201, 169, 110, 0.3);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .story-section,
  .innovation-section,
  .wellness-layout,
  .rehab-layout,
  .competition-layout {
    grid-template-columns: 1fr;
  }

  .story-text,
  .innovation-text,
  .wellness-text {
    padding: var(--space-2xl) var(--section-px);
  }

  .story-image,
  .innovation-image,
  .wellness-image {
    min-height: 400px;
    order: -1;
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .safety-features {
    grid-template-columns: 1fr;
  }

  .trainers-layout {
    grid-template-columns: 1fr;
  }

  .trainers-image {
    aspect-ratio: 16 / 10;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    z-index: 9998;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: var(--text-lg);
    color: var(--white);
  }

  .nav-toggle {
    display: flex;
  }

  .recognition-badge {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none;
  }

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

  .innovation-specs {
    grid-template-columns: 1fr;
  }

  .wellness-pillars {
    grid-template-columns: 1fr;
  }

  .competition-details {
    grid-template-columns: 1fr;
  }

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

  .aerial-card {
    flex: 0 0 280px;
  }

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

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

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

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* ===== HERO PARTICLE CANVAS ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ===== FLOATING DECORATIVE SHAPES ===== */
.deco-float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.07;
  z-index: 0;
  filter: blur(60px);
}

.deco-float-gold {
  background: var(--gold);
}

.deco-float-blush {
  background: var(--blush);
}

.deco-float-sage {
  background: var(--sage);
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.02); }
}

.deco-float { animation: floatSlow 20s ease-in-out infinite; }

/* ===== GLASSMORPHISM CARDS ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

/* ===== MOUSE-FOLLOW GLOW ON CARDS ===== */
.community-card::after,
.achievement-card::before,
.leadership-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12), transparent 70%);
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.community-card:hover::after,
.achievement-card:hover::before,
.leadership-card:hover::after {
  opacity: 1;
}

/* ===== TEXT CLIP REVEAL ===== */
.text-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-out-expo);
}

.text-reveal.revealed {
  clip-path: inset(0 0% 0 0);
}

/* ===== MARQUEE TICKER ===== */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold);
  opacity: 0.15;
  padding: 0 var(--space-2xl);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.marquee-item .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 var(--space-xl);
  vertical-align: middle;
  opacity: 0.5;
}

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

/* ===== GRAIN TEXTURE OVERLAY ===== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

.preloader ~ .grain-overlay {
  z-index: 9998;
}

/* ===== SECTION CONNECTORS ===== */
.section-connector {
  display: flex;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 5;
}

.section-connector-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ===== ENHANCED PRELOADER ===== */
.preloader-tagline {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeInUp 0.8s 0.8s var(--ease-out-expo) forwards;
}

/* ===== ENHANCED HERO BADGE ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(201, 169, 110, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 0.5em 1.5em;
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 1s 0.3s var(--ease-out-expo) forwards;
}

.hero-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ===== IMAGE PARALLAX WRAPPER ===== */
.img-parallax-wrapper {
  overflow: hidden;
  position: relative;
}

.img-parallax-wrapper img {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ===== NUMBER COUNTER GLOW ===== */
.stat-number {
  text-shadow: 0 0 40px rgba(201, 169, 110, 0.3);
}

/* ===== ENHANCED AERIAL GALLERY ===== */
.gallery-nav {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: 0 var(--space-lg);
}

.gallery-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--duration-fast);
  cursor: pointer;
  background: transparent;
}

.gallery-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
}

/* ===== SECTION NUMBER WATERMARK ===== */
.section-watermark {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 20rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 110, 0.06);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.section-dark .section-watermark {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.03);
}

/* ===== ENHANCED CTA SHIMMER ===== */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

/* ===== TIMELINE ENHANCED ===== */
.timeline-item {
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.timeline-item:hover {
  padding-left: calc(var(--space-2xl) + 10px);
}

.timeline-item:hover::before {
  box-shadow: 0 0 0 8px rgba(201, 169, 110, 0.15);
  transform: scale(1.3);
}

/* ===== RECOGNITION EMBLEM SPIN ===== */
.recognition-emblem {
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.recognition-emblem:hover {
  transform: rotate(15deg) scale(1.05);
}

/* ===== PULL QUOTE ANIMATION ===== */
.pull-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: var(--space-xl);
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}

/* ===== SMOOTH IMAGE HOVER ZOOM ===== */
.img-hover-zoom {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.img-hover-zoom img {
  transition: transform 0.8s var(--ease-out-expo);
}

.img-hover-zoom:hover img {
  transform: scale(1.06);
}

/* ===== ANIMATED GRADIENT BORDER ===== */
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-border {
  position: relative;
  border: none !important;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), var(--blush), var(--gold), var(--sage));
  background-size: 300% 300%;
  animation: gradientBorder 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 1024px) {
  .section-watermark {
    display: none;
  }

  .marquee-item {
    font-size: var(--text-2xl);
  }

  .gallery-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-badge {
    font-size: 0.6rem;
    padding: 0.4em 1em;
  }

  .grain-overlay {
    display: none;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .nav,
  .scroll-progress,
  .preloader,
  .back-to-top,
  .hero-scroll-indicator,
  .grain-overlay,
  .hero-particles,
  .deco-float,
  .marquee-wrapper {
    display: none !important;
  }

  .section {
    page-break-inside: avoid;
  }
}
