/* ============================================
   CRESTLINE MEDIA — Design System
   Mountain-themed premium design tokens
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Primary Palette — Mountain Blues */
  --color-midnight: #0a1628;
  --color-deep-navy: #0d1b2a;
  --color-navy: #1a2744;
  --color-slate: #1b3a5c;
  --color-blue: #3b7dd8;
  --color-sky: #5bbfed;
  --color-ice: #a8d8f0;

  /* Accent — Summit Gold */
  --color-gold: #d4a853;
  --color-gold-light: #f0d68a;
  --color-gold-dark: #b8892e;

  /* Neutrals */
  --color-snow: #f0f4f8;
  --color-cloud: #e2e8f0;
  --color-mist: #cbd5e1;
  --color-stone: #64748b;
  --color-rock: #475569;
  --color-dark: #1e293b;
  --color-white: #ffffff;

  /* Gradients */
  --gradient-sky: linear-gradient(180deg, #0a1628 0%, #1b3a5c 40%, #3b7dd8 70%, #5bbfed 90%, #f0d68a 100%);
  --gradient-navy: linear-gradient(135deg, #0d1b2a 0%, #1b3a5c 100%);
  --gradient-blue: linear-gradient(135deg, #3b7dd8 0%, #5bbfed 100%);
  --gradient-gold: linear-gradient(135deg, #d4a853 0%, #f0d68a 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-dark-card: linear-gradient(135deg, rgba(13,27,42,0.9) 0%, rgba(27,58,92,0.7) 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-border-light: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --glass-blur: blur(20px);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Borders */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(59, 125, 216, 0.3);
  --shadow-gold-glow: 0 0 40px rgba(212, 168, 83, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 900px;
  --nav-height: 80px;
}


/* ============================================
   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;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-snow);
  overflow-x: hidden;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-sky);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-deep-navy);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-rock);
}


/* ============================================
   UTILITIES
   ============================================ */

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

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

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

.section--dark {
  background: var(--gradient-navy);
  color: var(--color-snow);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-mist);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 1px;
}

.section-title {
  margin-bottom: var(--space-6);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-stone);
  max-width: 640px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: var(--space-8);
}

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

.flex {
  display: flex;
  align-items: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--center {
  justify-content: center;
}

.flex--gap {
  gap: var(--space-4);
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before {
  opacity: 1;
}

.btn--primary {
  background: var(--gradient-gold);
  color: var(--color-deep-navy);
  box-shadow: var(--shadow-gold-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(212, 168, 83, 0.5);
  color: var(--color-deep-navy);
}

.btn--primary::before {
  background: linear-gradient(135deg, #f0d68a 0%, #d4a853 100%);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

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

.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

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


/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  padding: 0 var(--space-8);
}

.nav--transparent {
  background: transparent;
}

.nav--scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.nav__logo-text span {
  color: var(--color-sky);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

.nav__cta {
  margin-left: var(--space-4);
}

/* Mobile Nav */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: var(--glass-blur);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.nav__mobile--open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-white);
  font-weight: 600;
}


/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-midnight);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  background: var(--color-midnight);
}

.hero__video-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 13, 26, 0.55) 0%, rgba(5, 13, 26, 0.28) 45%, rgba(5, 13, 26, 0.55) 100%),
    radial-gradient(ellipse 70% 50% at 50% 45%, rgba(5, 13, 26, 0.15), transparent 70%);
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    /* Still show first frame; autoplay stopped by browser policies / muted loop ok */
  }
}

/* Sky gradient */
.hero__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #050d1a 0%,
    #0a1628 15%,
    #0f2240 30%,
    #1b3a5c 50%,
    #2d5a8e 65%,
    #4a8bc2 78%,
    #7ab8e0 88%,
    #c9a96e 94%,
    #e8c88a 97%,
    #f5dfa8 100%
  );
}

/* Stars */
.hero__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 25% 8%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 40% 20%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 55% 5%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 85% 18%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60% 22%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 90% 8%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 35% 3%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 50% 28%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 78% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 20% 10%, rgba(255,255,255,1), transparent),
    radial-gradient(1px 1px at 95% 15%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 5% 5%, rgba(255,255,255,0.6), transparent);
  opacity: 0.6;
}

/* SVG Mountain Layers */
.hero__mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2;
}

.hero__mountain-layer {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
}

.hero__mountain-layer--1 { z-index: 1; }
.hero__mountain-layer--2 { z-index: 2; }
.hero__mountain-layer--3 { z-index: 3; }
.hero__mountain-layer--4 { z-index: 4; }

/* Fog */
.hero__fog {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 20%,
    rgba(255,255,255,0.06) 50%,
    rgba(255,255,255,0.03) 80%,
    transparent 100%
  );
  filter: blur(30px);
  animation: fogDrift 20s ease-in-out infinite alternate;
}

@keyframes fogDrift {
  0% { transform: translateX(-5%) scaleX(1); opacity: 0.4; }
  50% { transform: translateX(3%) scaleX(1.1); opacity: 0.7; }
  100% { transform: translateX(5%) scaleX(1); opacity: 0.4; }
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--space-8);
  max-width: 860px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__title-gradient {
  background: linear-gradient(120deg, var(--color-sky) 0%, var(--color-ice) 25%, var(--color-gold-light) 50%, var(--color-sky) 75%, var(--color-gold-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: gentleBounce 2s ease-in-out infinite;
}

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

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
}


/* ============================================
   PAGE HERO (for inner pages)
   ============================================ */

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-16);
  background: var(--gradient-navy);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.page-hero__bg-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: var(--color-mist);
  font-size: var(--text-lg);
  max-width: 600px;
}


/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  border: 1px solid var(--color-cloud);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card--glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.card--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--glass-border-light);
}

.card--dark {
  background: var(--gradient-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card--dark:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  background: linear-gradient(135deg, rgba(59,125,216,0.12) 0%, rgba(91,191,237,0.12) 100%);
  color: var(--color-blue);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--color-stone);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-blue);
  transition: all var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-3);
  color: var(--color-sky);
}


/* ============================================
   PEAK CARDS
   ============================================ */

.peak-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  border: 1px solid var(--color-cloud);
  overflow: hidden;
  text-align: center;
}

.peak-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--peak-color, var(--gradient-blue));
  transition: height var(--transition-base);
}

.peak-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.peak-card:hover::before {
  height: 6px;
}

.peak-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(59,125,216,0.08) 0%, rgba(91,191,237,0.08) 100%);
  transition: all var(--transition-base);
}

.peak-card:hover .peak-card__icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.peak-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--color-deep-navy);
}

.peak-card__role {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.peak-card__text {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.7;
}

/* Peak color variants */
.peak-card--ciso { --peak-color: linear-gradient(135deg, #3b7dd8, #5bbfed); }
.peak-card--cio { --peak-color: linear-gradient(135deg, #6366f1, #818cf8); }
.peak-card--cto { --peak-color: linear-gradient(135deg, #0891b2, #22d3ee); }
.peak-card--cfo { --peak-color: linear-gradient(135deg, #d4a853, #f0d68a); }
.peak-card--chro { --peak-color: linear-gradient(135deg, #059669, #34d399); }


/* ============================================
   RIDGE SECTION (cross-Peak)
   ============================================ */

.ridge {
  position: relative;
  padding: var(--space-20) 0;
  background: var(--gradient-navy);
  overflow: hidden;
}

.ridge__bg-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.3), transparent);
}

.ridge__content {
  position: relative;
  z-index: 2;
  text-align: center;
}


/* ============================================
   STATS
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 900;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-stone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.section--dark .stat__number {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section--dark .stat__label {
  color: var(--color-mist);
}


/* ============================================
   BLOG CARDS
   ============================================ */

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--color-cloud);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.blog-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__image-wrapper {
  overflow: hidden;
  position: relative;
}

.blog-card__category {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(10px);
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
}

.blog-card__body {
  padding: var(--space-6);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-stone);
}

.blog-card__meta-dot {
  width: 3px;
  height: 3px;
  background: var(--color-mist);
  border-radius: 50%;
}

.blog-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-deep-navy);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--color-blue);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Blog Featured */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-cloud);
  transition: all var(--transition-base);
}

.blog-featured:hover {
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.blog-featured__image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.blog-featured__body {
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  color: var(--color-deep-navy);
}


/* ============================================
   BLOG POST (article page)
   ============================================ */

.article {
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
}

.article__header {
  max-width: 800px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.article__category {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: rgba(59, 125, 216, 0.1);
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.article__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--color-stone);
  font-size: var(--text-sm);
}

.article__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-sm);
}

.article__cover {
  width: 100%;
  max-width: 960px;
  margin: 0 auto var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.article__cover img {
  width: 100%;
  height: auto;
}

.article__content {
  max-width: 740px;
  margin: 0 auto;
}

.article__content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: var(--text-3xl);
}

.article__content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article__content p {
  margin-bottom: var(--space-5);
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--color-rock);
}

.article__content ul,
.article__content ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.article__content li {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-rock);
  list-style: disc;
}

.article__content ol li {
  list-style: decimal;
}

.article__content blockquote {
  border-left: 4px solid var(--color-gold);
  padding: var(--space-5) var(--space-8);
  margin: var(--space-8) 0;
  background: rgba(212, 168, 83, 0.05);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-navy);
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-cloud);
}

.article__tag {
  padding: var(--space-1) var(--space-4);
  background: var(--color-snow);
  color: var(--color-stone);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.article__tag:hover {
  background: var(--color-blue);
  color: var(--color-white);
}


/* ============================================
   AUTHOR CARD
   ============================================ */

.author-card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-snow);
  border-radius: var(--radius-xl);
  margin-top: var(--space-10);
}

.author-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.author-card__name {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.author-card__bio {
  font-size: var(--text-sm);
  color: var(--color-stone);
  margin-bottom: 0;
}


/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial {
  flex: 0 0 100%;
  padding: var(--space-10);
  text-align: center;
}

.testimonial__quote {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-white);
  margin-bottom: var(--space-8);
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial__quote::before {
  content: '"';
  display: block;
  font-size: var(--text-6xl);
  color: var(--color-gold);
  font-style: normal;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.testimonial__author {
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-weight: 600;
}

.testimonial__role {
  color: var(--color-mist);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

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


/* ============================================
   FORM
   ============================================ */

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-deep-navy);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-dark);
  background: var(--color-white);
  border: 2px solid var(--color-cloud);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(59, 125, 216, 0.1);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
  position: relative;
  background: var(--color-midnight);
  color: var(--color-mist);
  overflow: hidden;
}

.footer__mountains {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.footer__content {
  position: relative;
  z-index: 2;
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand p {
  color: var(--color-stone);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-top: var(--space-4);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  color: var(--color-stone);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__links a:hover {
  color: var(--color-sky);
  transform: translateX(4px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-stone);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-mist);
  transition: all var(--transition-fast);
  font-size: var(--text-lg);
}

.footer__social a:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-3px);
}


/* ============================================
   SECTION DIVIDERS (Mountain Ridge SVGs)
   ============================================ */

.divider-mountain {
  position: relative;
  height: 80px;
  margin-top: -1px;
}

.divider-mountain svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  background: var(--gradient-navy);
  text-align: center;
  overflow: hidden;
}

.cta-section__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-section__content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-5);
}

.cta-section p {
  color: var(--color-mist);
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 auto var(--space-8);
}


/* ============================================
   MEMBERSHIP TIERS
   ============================================ */

.tier-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid var(--color-cloud);
  transition: all var(--transition-base);
}

.tier-card--featured {
  border-color: var(--color-gold);
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.15);
  transform: scale(1.05);
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.tier-card--featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.tier-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-1) var(--space-5);
  background: var(--gradient-gold);
  color: var(--color-deep-navy);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
}

.tier-card__name {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.tier-card__desc {
  font-size: var(--text-sm);
  color: var(--color-stone);
  margin-bottom: var(--space-6);
}

.tier-card__features {
  text-align: left;
  margin-bottom: var(--space-8);
}

.tier-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--color-rock);
  border-bottom: 1px solid var(--color-cloud);
}

.tier-card__feature:last-child {
  border-bottom: none;
}

.tier-card__check {
  color: var(--color-blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-snow);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59,125,216,0.1), rgba(91,191,237,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.contact-info-card p {
  font-size: var(--text-sm);
  color: var(--color-stone);
  margin-bottom: 0;
}

.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid var(--color-cloud);
  box-shadow: var(--shadow-lg);
}


/* ============================================
   ABOUT PAGE
   ============================================ */

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

.about-story__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-story__image img {
  width: 100%;
  height: auto;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.value-card {
  text-align: center;
  padding: var(--space-8);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  background: linear-gradient(135deg, rgba(59,125,216,0.1), rgba(91,191,237,0.1));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.team-card {
  text-align: center;
}

.team-card__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-3xl);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.team-card__name {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 600;
}


/* ============================================
   FILTER TABS (Blog)
   ============================================ */

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.filter-tab {
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-stone);
  background: var(--color-white);
  border: 1px solid var(--color-cloud);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.filter-tab--active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}


/* ============================================
   SCROLL REVEAL (base — detailed motion in animations.css)
   ============================================ */

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-story { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__image { min-height: 260px; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  .section { padding: var(--space-16) 0; }
  
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .stat__number { font-size: var(--text-4xl); }

  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; gap: var(--space-4); text-align: center; }

  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero__actions { flex-direction: column; }
  .hero__scroll { display: none; }

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

  .tier-card--featured { transform: scale(1); }
  .tier-card--featured:hover { transform: translateY(-6px); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
