/* ============================================
   FREYSTA - Nordic Immersive Design System
   A complete reimagining from the ground up
   ============================================ */

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

/* ============================================
   CSS CUSTOM PROPERTIES - Design Tokens
   ============================================ */
:root {
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Nordic Color Palette */
  --color-midnight: #0a1628;
  --color-deep-forest: #1a2f23;
  --color-fjord: #2d4a5e;
  --color-pine: #3d5a47;
  --color-moss: #5c7c5c;
  --color-glacier: #8fb8ca;
  --color-aurora: #7dd3c0;
  --color-gold: #d4a574;
  --color-warm-white: #faf8f5;
  --color-cream: #f5f2ed;
  --color-mist: #e8e5e0;

  /* Functional Colors */
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #737373;
  --color-text-inverse: #faf8f5;

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

  /* Typography Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);
  --text-6xl: clamp(3.5rem, 2.5rem + 6vw, 7rem);

  /* 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: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;
  --duration-slowest: 1200ms;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --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.2);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1400px;
  --container-content: 1200px;
  --container-narrow: 800px;
}

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

html {
  scroll-behavior: smooth;
  -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-text-primary);
  background-color: var(--color-warm-white);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   SCROLL ANIMATIONS - Reveal on scroll
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity var(--duration-slower) var(--ease-out-expo),
    transform var(--duration-slower) var(--ease-out-expo);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="slide-left"] {
  transform: translateX(-60px);
}

[data-reveal="slide-left"].revealed {
  transform: translateX(0);
}

[data-reveal="slide-right"] {
  transform: translateX(60px);
}

[data-reveal="slide-right"].revealed {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: scale(0.9);
}

[data-reveal="scale"].revealed {
  transform: scale(1);
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }

/* ============================================
   HEADER - Fjord Horizon Design
   Inspired by mountain silhouettes meeting sky
   Clean, minimal navigation with golden accents
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) var(--space-2xl);
  transition:
    background-color var(--duration-slow) var(--ease-out-quart),
    padding var(--duration-normal) var(--ease-out-quart),
    backdrop-filter var(--duration-slow) var(--ease-out-quart),
    box-shadow var(--duration-slow) var(--ease-out-quart);
}

/* Fjord horizon line - mountain silhouette SVG */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 16' preserveAspectRatio='none'%3E%3Cpath d='M0,16 L0,10 L40,8 L80,11 L120,6 L160,9 L200,4 L240,7 L300,3 L340,6 L400,2 L440,5 L500,1 L540,4 L600,2 L640,5 L700,0 L740,3 L800,1 L840,4 L900,2 L940,5 L1000,1 L1040,4 L1100,2 L1140,6 L1200,3 L1240,7 L1300,4 L1340,9 L1400,6 L1440,10 L1440,16 Z' fill='%238fb8ca' fill-opacity='0.25'/%3E%3Cpath d='M0,16 L0,12 L50,9 L100,12 L160,7 L210,10 L270,5 L320,8 L390,4 L440,7 L510,2 L560,5 L630,1 L680,4 L750,2 L800,5 L870,1 L920,4 L990,2 L1040,6 L1110,3 L1160,7 L1230,4 L1280,9 L1350,5 L1400,10 L1440,8 L1440,16 Z' fill='%237dd3c0' fill-opacity='0.35'/%3E%3Cpath d='M0,16 L0,13 L60,11 L120,13 L180,9 L240,12 L310,7 L370,10 L440,6 L500,9 L570,4 L630,7 L700,3 L760,6 L830,4 L890,7 L960,3 L1020,6 L1090,4 L1150,8 L1220,5 L1280,9 L1350,6 L1400,11 L1440,9 L1440,16 Z' fill='%23d4a574' fill-opacity='0.15'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--duration-slow) var(--ease-out-quart),
    transform var(--duration-slow) var(--ease-out-quart);
  pointer-events: none;
}

/* Scrolled state - frosted glass with horizon line */
.site-header.scrolled {
  padding: var(--space-md) var(--space-2xl);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 30px rgba(10, 22, 40, 0.08);
}

.site-header.scrolled::after {
  opacity: 1;
  transform: translateY(0);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Logo - Fjord Horizon style with nordstjerne accent */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

/* Nordstjerne (North Star) accent - appears on hover */
.logo::before {
  content: '';
  position: absolute;
  top: -4px;
  right: -8px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: scale(0);
  box-shadow:
    0 0 8px var(--color-gold),
    0 0 16px rgba(212, 165, 116, 0.4);
  transition:
    opacity var(--duration-normal) var(--ease-out-expo),
    transform var(--duration-normal) var(--ease-out-expo);
}

.logo:hover::before {
  opacity: 1;
  transform: scale(1);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo img {
  height: 68px;
  width: auto;
  transition:
    height var(--duration-normal) var(--ease-out-quart),
    filter var(--duration-normal);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

.site-header.scrolled .logo img {
  height: 52px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.08));
}

/* Navigation - Fjord Horizon: Clean text links with golden underline */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

/* Nav link - Simple, elegant text with golden underline on hover */
.nav-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text-inverse);
  padding: var(--space-sm) 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: color var(--duration-normal) var(--ease-out-quart);
}

/* Golden underline - grows on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), #e5c89a);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--color-warm-white);
}

/* Scrolled state - dark text */
.site-header.scrolled .nav-link {
  color: var(--color-text-primary);
  text-shadow: none;
}

.site-header.scrolled .nav-link:hover {
  color: var(--color-midnight);
}

/* Active state - underline always visible */
.nav-link.active {
  font-weight: 600;
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown - Fjord Horizon style */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.dropdown-toggle svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition:
    transform var(--duration-fast) var(--ease-out-quart),
    opacity var(--duration-fast);
}

.nav-dropdown:hover .dropdown-toggle svg {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-md));
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  padding: var(--space-md);
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-mist);
  box-shadow:
    0 10px 40px rgba(10, 22, 40, 0.12),
    0 2px 8px rgba(10, 22, 40, 0.06);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-normal) var(--ease-out-quart),
    transform var(--duration-normal) var(--ease-out-quart),
    visibility var(--duration-normal);
}

/* Dropdown arrow/pointer */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-warm-white);
  border-left: 1px solid var(--color-mist);
  border-top: 1px solid var(--color-mist);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  position: relative;
  transition:
    background-color var(--duration-fast),
    color var(--duration-fast),
    padding-left var(--duration-fast);
}

.dropdown-menu a:hover {
  background-color: var(--color-cream);
  color: var(--color-pine);
  padding-left: var(--space-lg);
}

/* Gold accent on hover */
.dropdown-menu a::before {
  content: '';
  position: absolute;
  left: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--color-gold);
  border-radius: var(--radius-full);
  transition: height var(--duration-fast);
}

.dropdown-menu a:hover::before {
  height: 16px;
}

/* User Button - Fjord Horizon: Subtle, refined */
.user-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-inverse);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    color var(--duration-normal) var(--ease-out-quart),
    border-color var(--duration-normal) var(--ease-out-quart),
    background var(--duration-normal) var(--ease-out-quart),
    transform var(--duration-fast),
    box-shadow var(--duration-normal);
}

.user-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.25);
}

.site-header.scrolled .user-btn {
  color: var(--color-midnight);
  border-color: var(--color-mist);
  background: var(--color-cream);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.scrolled .user-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-midnight);
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.35);
}

.user-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Toggle - Clean, minimal */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background-color var(--duration-fast);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .menu-toggle:hover {
  background: var(--color-cream);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-inverse);
  border-radius: var(--radius-full);
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    opacity var(--duration-normal),
    background-color var(--duration-normal);
}

.site-header.scrolled .menu-toggle span {
  background: var(--color-text-primary);
}

/* ============================================
   HERO SECTION - Immersive fullscreen
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      transparent 0%,
      rgba(10, 22, 40, 0.2) 50%,
      rgba(10, 22, 40, 0.6) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(10, 22, 40, 0.25) 0%,
      rgba(10, 22, 40, 0.4) 40%,
      rgba(10, 22, 40, 0.65) 100%
    );
}

.hero-content {
  max-width: var(--container-narrow);
  padding: var(--space-4xl) var(--space-xl);
  text-align: center;
  color: var(--color-text-inverse);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s var(--ease-out-expo) 0.3s forwards;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeIn 1.2s var(--ease-out-expo) 0.5s forwards;
}

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

.hero-description {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s var(--ease-out-expo) 0.8s forwards;
}

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

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   BUTTONS - Design System
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition:
    background-color var(--duration-normal) var(--ease-out-quart),
    color var(--duration-normal) var(--ease-out-quart),
    transform var(--duration-fast) var(--ease-out-quart),
    box-shadow var(--duration-normal) var(--ease-out-quart);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

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

.btn-primary:hover {
  background: #e5b585;
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-inverse);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-text-inverse);
}

.btn-dark {
  background: linear-gradient(135deg, var(--color-midnight) 0%, #1a3a4a 50%, var(--color-midnight) 100%);
  background-size: 200% 200%;
  color: var(--color-text-inverse);
  border: 1px solid rgba(125, 211, 192, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(125, 211, 192, 0.15) 50%,
    transparent 100%
  );
  transition: left var(--duration-slow) var(--ease-out-expo);
}

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

.btn-dark:hover {
  background-position: 100% 100%;
  border-color: var(--color-aurora);
  box-shadow:
    0 10px 30px rgba(10, 22, 40, 0.4),
    0 0 20px rgba(125, 211, 192, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-mist);
}

.btn-outline:hover {
  border-color: var(--color-text-primary);
  background: var(--color-cream);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ============================================
   SECTION - Base styles
   ============================================ */
.section {
  position: relative;
  padding: var(--space-5xl) var(--space-xl);
}

.section-dark {
  background: var(--color-midnight);
  color: var(--color-text-inverse);
}

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

.section-forest {
  background: var(--color-deep-forest);
  color: var(--color-text-inverse);
}

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

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

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

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

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   IMMERSIVE SPLIT SECTION
   ============================================ */
.split-immersive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.split-media {
  position: relative;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slowest) var(--ease-out-expo);
}

.split-immersive:hover .split-media img {
  transform: scale(1.05);
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl);
}

.split-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.split-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-xl);
}

.split-text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.split-dark {
  background: var(--color-midnight);
  color: var(--color-text-inverse);
}

.split-dark .split-text {
  color: rgba(255, 255, 255, 0.7);
}

.split-forest {
  background: var(--color-deep-forest);
  color: var(--color-text-inverse);
}

.split-forest .split-text {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   PARALLAX IMAGE SECTION
   ============================================ */
.parallax-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -10%;
  z-index: -2;
}

.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(26, 47, 35, 0.75) 100%
  );
}

.parallax-content {
  text-align: center;
  color: var(--color-text-inverse);
  padding: var(--space-4xl) var(--space-xl);
  max-width: var(--container-narrow);
}

/* ============================================
   HIGHLIGHT CARDS - Village/Region of the week
   ============================================ */
.highlight-section {
  padding: var(--space-5xl) 0;
}

.highlight-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: 0 var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.highlight-card.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.highlight-card.reverse .highlight-visual {
  order: 2;
}

.highlight-visual {
  position: relative;
}

.highlight-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

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

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

.highlight-info {
  padding: var(--space-xl) 0;
}

.highlight-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.highlight-name {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.highlight-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.highlight-meta::before {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
}

.highlight-description {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* ============================================
   VILLAGE CAROUSEL - Netflix style
   ============================================ */
.carousel-section {
  padding: var(--space-5xl) 0;
  overflow: hidden;
}

.carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto var(--space-2xl);
}

.carousel-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
}

.carousel-nav {
  display: flex;
  gap: var(--space-sm);
}

.carousel-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-midnight);
  color: var(--color-warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-midnight);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.3);
  transition:
    background-color var(--duration-normal),
    border-color var(--duration-normal),
    transform var(--duration-fast),
    box-shadow var(--duration-normal);
}

.carousel-btn:hover {
  background: var(--color-pine);
  border-color: var(--color-pine);
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(61, 90, 71, 0.4);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.carousel-track-wrapper {
  position: relative;
  padding: 0 var(--space-xl);
}

.carousel-track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: var(--space-md) 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Village Card - Larger, elevated design */
.village-card {
  flex: 0 0 420px;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-cream);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.04);
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo),
    border-color var(--duration-normal);
}

.village-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(125, 211, 192, 0.3);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(0, 0, 0, 0.08),
    0 32px 64px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(125, 211, 192, 0.1);
}

.village-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

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

.village-card:hover .village-card-image img {
  transform: scale(1.06);
}

.village-card-body {
  padding: var(--space-xl);
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-cream) 0%,
    rgba(143, 184, 202, 0.08) 100%
  );
}

/* Subtle colored accent line at top of card body */
.village-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-xl);
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-aurora) 0%,
    var(--color-glacier) 100%
  );
  border-radius: 2px;
  opacity: 0.6;
  transition: width var(--duration-normal), opacity var(--duration-normal);
}

.village-card:hover .village-card-body::before {
  width: 60px;
  opacity: 1;
}

.village-card-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-midnight);
}

.village-card-tagline {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ============================================
   FEATURE CARDS - Blind Date, Membership, Finder
   ============================================ */
.feature-cards-section {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-warm-white);
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: var(--container-content);
  margin: 0 auto;
}

.feature-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.feature-card--wide {
  grid-column: span 2;
  min-height: 380px;
}

/* Background image with overlay */
.feature-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.feature-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slowest) var(--ease-out-expo);
}

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

/* Gradient overlays for each card variant */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity var(--duration-normal) var(--ease-out-quart);
}

.feature-card--blind-date::before {
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(45, 74, 94, 0.7) 50%,
    rgba(10, 22, 40, 0.6) 100%
  );
}

.feature-card--membership::before {
  background: linear-gradient(
    135deg,
    rgba(26, 47, 35, 0.88) 0%,
    rgba(61, 90, 71, 0.7) 50%,
    rgba(26, 47, 35, 0.6) 100%
  );
}

.feature-card--finder::before {
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.9) 0%,
    rgba(10, 22, 40, 0.7) 40%,
    rgba(10, 22, 40, 0.4) 100%
  );
}

/* Hover state - lighten overlay */
.feature-card:hover::before {
  opacity: 0.9;
}

/* Content area */
.feature-card__content {
  padding: var(--space-3xl);
  color: var(--color-text-inverse);
  width: 100%;
}

.feature-card--wide .feature-card__content {
  max-width: 650px;
}

/* Icon - hidden */
.feature-card__icon {
  display: none;
}

/* Eyebrow */
.feature-card__eyebrow {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

/* Title */
.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.feature-card--wide .feature-card__title {
  font-size: var(--text-4xl);
}

/* Text */
.feature-card__text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

/* Button */
.feature-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-inverse);
  padding: var(--space-sm) 0;
  position: relative;
}

.feature-card__btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-aurora));
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

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

.feature-card__btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.feature-card:hover .feature-card__btn svg {
  transform: translateX(4px);
}

/* Primary button variant */
.feature-card__btn--primary {
  background: var(--color-gold);
  color: var(--color-midnight);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  transition:
    background-color var(--duration-normal),
    transform var(--duration-fast),
    box-shadow var(--duration-normal);
}

.feature-card__btn--primary::after {
  display: none;
}

.feature-card__btn--primary:hover {
  background: #e5b585;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

/* Decorative elements */
.feature-card--blind-date::after {
  content: '';
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 80px;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='rgba(212,165,116,0.15)' stroke-width='1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.5 12c0-1.232-.046-2.453-.138-3.662a4.006 4.006 0 00-3.7-3.7 48.678 48.678 0 00-7.324 0 4.006 4.006 0 00-3.7 3.7c-.017.22-.032.441-.046.662M19.5 12l3-3m-3 3l-3-3m-12 3c0 1.232.046 2.453.138 3.662a4.006 4.006 0 003.7 3.7 48.656 48.656 0 007.324 0 4.006 4.006 0 003.7-3.7c.017-.22.032-.441.046-.662M4.5 12l3 3m-3-3l-3 3'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.feature-card--membership::after {
  content: '';
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 80px;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='rgba(125,211,192,0.15)' stroke-width='1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--wide {
    grid-column: span 1;
  }

  .feature-card {
    min-height: 400px;
  }

  .feature-card__title {
    font-size: var(--text-2xl);
  }

  .feature-card--wide .feature-card__title {
    font-size: var(--text-3xl);
  }
}

/* ============================================
   EMPLOYERS SECTION
   ============================================ */
.employers-section {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-cream);
}

.employers-section .section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.employers-section .section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.employers-section .section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.employers-section .section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.employers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .employers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================
   ARTICLES - Magazine Layout
   ============================================ */
.articles-section {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-warm-white);
}

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

/* Articles section header - larger and more prominent */
.articles-section .section-header {
  margin-bottom: var(--space-5xl);
}

.articles-section .section-title {
  font-size: var(--text-5xl);
}

/* Featured Article Label */
.article-featured-label {
  max-width: var(--container-max);
  margin: 0 auto var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-pine);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.article-featured-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-pine);
  opacity: 0.3;
}

/* Featured Article - Balanced size */
.article-featured {
  max-width: var(--container-max);
  margin: 0 auto var(--space-4xl);
}

.article-featured a {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.article-featured-image {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.article-featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 74, 94, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

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

.article-featured-content {
  padding: var(--space-lg) 0;
}

.article-featured-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-mist);
  color: var(--color-pine);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.article-featured-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
  transition: color var(--duration-normal);
}

.article-featured:hover .article-featured-title {
  color: var(--color-pine);
}

.article-featured-excerpt {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.article-featured-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-pine);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-featured-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.article-featured:hover .article-featured-link svg {
  transform: translateX(4px);
}

/* Divider with More Stories label */
.articles-divider {
  max-width: var(--container-max);
  margin: 0 auto var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.articles-divider::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-text-muted);
  opacity: 0.4;
}

.articles-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-mist);
}

.articles-divider-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Articles Grid - Uniform cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.article-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-warm-white);
  box-shadow: var(--shadow-md);
  transition:
    transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo);
}

.article-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.article-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

/* Employer Cards - Match village card styling */
.employers-section .article-card {
  background: var(--color-warm-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.04);
}

.employers-section .article-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(125, 211, 192, 0.3);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(0, 0, 0, 0.08),
    0 32px 64px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(125, 211, 192, 0.1);
}

.employers-section .article-card-body {
  padding: var(--space-xl);
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-warm-white) 0%,
    rgba(143, 184, 202, 0.06) 100%
  );
}

/* Accent line matching village cards */
.employers-section .article-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-xl);
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-aurora) 0%,
    var(--color-glacier) 100%
  );
  border-radius: 2px;
  opacity: 0.6;
  transition: width var(--duration-normal), opacity var(--duration-normal);
}

.employers-section .article-card:hover .article-card-body::before {
  width: 60px;
  opacity: 1;
}

/* Make company name most prominent */
.employers-section .article-card-title {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-midnight);
  margin-bottom: var(--space-sm);
  order: -1;
}

/* Category/industry smaller and subdued */
.employers-section .article-card-category {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  display: block;
}

/* Reorder content: title first, then category, then excerpt */
.employers-section .article-card-body {
  display: flex;
  flex-direction: column;
}

.employers-section .article-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  order: 1;
}

.employer-card-logo {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.employer-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(20, 30, 45, 0.25));
}

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

/* ============================================
   VILLAGE PAGE - SOVIK
   ============================================ */
.village-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: var(--space-5xl) var(--space-xl);
  color: var(--color-warm-white);
  overflow: hidden;
}

.village-hero-media {
  position: absolute;
  inset: 0;
}

.village-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.village-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 24, 34, 0.75), rgba(13, 24, 34, 0.25) 55%, rgba(13, 24, 34, 0.05));
}

.village-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  gap: var(--space-md);
}

.village-hero-sigil {
  width: clamp(80px, 12vw, 120px);
  height: clamp(80px, 12vw, 120px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: var(--space-sm);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}

.village-hero-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

.village-hero-badge {
  width: clamp(90px, 14vw, 140px);
  height: clamp(90px, 14vw, 140px);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: var(--space-sm);
  box-shadow: var(--shadow-md);
}

.village-hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.village-hero-sigil img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.village-hero-location {
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.village-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
}

.village-hero-subtitle {
  font-size: var(--text-lg);
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.92);
}

.village-hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.village-gallery-section {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-cream);
}

.village-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-lg);
}

.village-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.village-gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.village-gallery-item:hover img {
  transform: scale(1.05);
}

.village-story {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-warm-white);
}

.village-intro {
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-4xl);
  color: var(--color-text-primary);
}

.story-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin: var(--space-4xl) 0 var(--space-lg);
  color: var(--color-text-primary);
}

.story-block {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.story-block--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.story-block--reverse {
  direction: rtl;
}

.story-block--reverse > * {
  direction: ltr;
}

.story-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-warm-white);
}

.story-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.story-figure figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-md);
  background: var(--color-cream);
}

.story-text p,
.story-block--text p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.story-block--text ul {
  padding-left: var(--space-xl);
  color: var(--color-text-secondary);
}

.story-block--text li {
  margin-bottom: var(--space-xs);
}

.village-tour {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-cream);
}

.village-services {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-warm-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.service-card {
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: var(--color-warm-white);
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-text-secondary);
  display: grid;
  gap: var(--space-xs);
}

.village-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-warm-white);
  aspect-ratio: 16 / 9;
}

.village-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.village-map {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-warm-white);
}

.village-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.village-map-card {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.village-map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 320px;
}

.village-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.village-cta {
  padding: var(--space-5xl) var(--space-xl);
  background: linear-gradient(130deg, rgba(234, 222, 210, 0.9), rgba(242, 243, 239, 0.95));
}

.village-cta-card {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  justify-content: space-between;
  background: var(--color-warm-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
}

.village-cta-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.village-sources {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-cream);
}

.village-sources h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

.village-sources ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
}

.village-sources li {
  margin-bottom: var(--space-sm);
}

.sources-separator {
  margin: 0 var(--space-xs);
  color: var(--color-text-muted);
}

.sources-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================
   POST PAGE - BLOG ARTICLE
   ============================================ */
.post-page {
  background: var(--color-warm-white);
}

.post-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.post-header {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl) var(--space-2xl);
}

.post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.post-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.post-author-label {
  font-weight: 600;
  color: var(--color-text-primary);
}

.post-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.post-details {
  display: flex;
  gap: var(--space-md);
}

.post-updated {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.post-categories {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.post-categories span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-mist);
  color: var(--color-pine);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.post-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-5xl);
  color: var(--color-text-secondary);
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
  margin: var(--space-3xl) 0 var(--space-md);
}

.post-content p {
  font-size: var(--text-base);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
}

.post-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.post-figure {
  margin: var(--space-2xl) 0;
}

.post-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.post-figure figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.post-sources {
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-mist);
}

.post-sources ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
}

.post-sources li {
  margin-bottom: var(--space-sm);
}

@media (max-width: 900px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .post-header,
  .post-content {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  .post-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .village-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .village-map-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .story-block--split {
    grid-template-columns: 1fr;
  }

  .village-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .village-hero {
    padding: var(--space-4xl) var(--space-lg);
  }

  .village-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

.article-card-category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-pine);
  margin-bottom: var(--space-sm);
}

.article-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
  transition: color var(--duration-fast);
}

.article-card:hover .article-card-title {
  color: var(--color-pine);
}

.article-card-excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-mist);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.article-card-meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* ============================================
   MOVING GUIDE CTA - Fullscreen cinematic
   ============================================ */
.cta-fullscreen {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.9) 0%,
    rgba(10, 22, 40, 0.6) 50%,
    rgba(10, 22, 40, 0.3) 100%
  );
}

.cta-content {
  text-align: center;
  color: var(--color-text-inverse);
  padding: var(--space-4xl) var(--space-xl);
  max-width: var(--container-narrow);
}

.cta-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xl);
}

/* ============================================
   FOOTER - Sophisticated dark
   ============================================ */
.site-footer {
  background: var(--color-midnight);
  color: var(--color-text-inverse);
  padding: var(--space-5xl) var(--space-xl) var(--space-2xl);
}

.footer-inner {
  max-width: var(--container-content);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-4xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: var(--space-lg);
  /* No filter - show original colors */
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-column h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: var(--color-gold);
}

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

.footer-column a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-fast);
}

.footer-column a:hover {
  color: var(--color-text-inverse);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition:
    background-color var(--duration-fast),
    transform var(--duration-fast);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-social a:hover {
  color: var(--color-aurora);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: fill var(--duration-fast);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 1024px) {
  .split-immersive {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-media {
    height: 50vh;
  }

  .split-content {
    padding: var(--space-3xl) var(--space-xl);
  }

  .highlight-card {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .highlight-card.reverse {
    grid-template-columns: 1fr;
  }

  .highlight-card.reverse .highlight-visual {
    order: 0;
  }

  .highlight-map-float {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    width: 100%;
    margin-top: var(--space-lg);
  }

  .highlight-card.reverse .highlight-map-float {
    left: auto;
  }

  .articles-section .section-title {
    font-size: var(--text-4xl);
  }

  .article-featured a {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .article-featured-title {
    font-size: var(--text-2xl);
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    padding: var(--space-3xl) var(--space-lg);
  }

  .section {
    padding: var(--space-4xl) var(--space-lg);
  }

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

  .articles-section .section-title {
    font-size: var(--text-3xl);
  }

  .article-featured-label {
    margin-bottom: var(--space-md);
  }

  .article-featured-content {
    padding: var(--space-md) 0;
  }

  .article-featured-title {
    font-size: var(--text-xl);
  }

  .article-featured-excerpt {
    font-size: var(--text-sm);
  }

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

  .articles-divider {
    margin-bottom: var(--space-lg);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
