/*
 * FØROYAR — Islands of Wind, Grass & Stone
 * Global Stylesheet
 * =============================================================================
 */

/* ─── FONTS ─────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,200;0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,200;1,9..144,300;1,9..144,400;1,9..144,600&family=Inter:wght@300;400;500;600&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  --atlantic:   #071013;
  --basalt:     #111513;
  --fog:        #D8DDD8;
  --moss:       #5E7C55;
  --grass:      #233A2A;
  --ocean:      #1D4C55;
  --village:    #D8A45F;
  --cream:      #F2F1E8;
  --cream-dim:  rgba(242, 241, 232, 0.6);
  --cream-faint:rgba(242, 241, 232, 0.12);
  --fog-mid:    rgba(216, 221, 216, 0.08);
  --overlay:    rgba(7, 16, 19, 0.72);
  --overlay-strong: rgba(7, 16, 19, 0.88);

  --font-serif: 'Fraunces', 'Georgia', serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}

body {
  background-color: var(--atlantic);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CUSTOM SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--basalt); }
::-webkit-scrollbar-thumb { background: var(--moss); border-radius: 2px; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

p { line-height: 1.8; }

.label {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--moss);
}

.label-light {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ─── FILM GRAIN ─────────────────────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: grainShift 0.4s steps(1) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 1%); }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(4%, -2%); }
  50%  { transform: translate(-3%, 3%); }
  60%  { transform: translate(2%, -4%); }
  70%  { transform: translate(-4%, 1%); }
  80%  { transform: translate(3%, -1%); }
  90%  { transform: translate(-2%, 4%); }
  100% { transform: translate(1%, -3%); }
}

/* ─── CUSTOM CURSOR ─────────────────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--cream);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo), opacity 0.3s ease;
}

.cursor.expanded {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--cream);
  mix-blend-mode: normal;
}

.cursor-trail {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242,241,232,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: all 0.12s var(--ease-out);
}

@media (hover: none) {
  .cursor, .cursor-trail { display: none; }
  body { cursor: auto; }
}

/* ─── PRELOADER ─────────────────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--atlantic);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.preloader-map-svg {
  width: min(360px, 80vw);
  height: auto;
  opacity: 0.9;
}

.preloader-map-svg path,
.preloader-map-svg polygon {
  fill: none;
  stroke: var(--moss);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preloader-text-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.preloader-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fog);
  opacity: 0.5;
}

.preloader-counter {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 200;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.04em;
}

.preloader-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.preloader-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--moss);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.preloader-dot:nth-child(2) { animation-delay: 0.2s; }
.preloader-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40% { transform: scale(1.5); opacity: 1; }
}

/* ─── SCROLL PROGRESS ───────────────────────────────────────────────────── */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--moss), var(--village));
  z-index: 5000;
  transform-origin: left;
  transform: scaleX(0);
}

/* ─── CHAPTER NAV ───────────────────────────────────────────────────────── */
.chapter-nav {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.chapter-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
  color: rgba(242,241,232,0.3);
  transition: color 0.4s ease;
}

.chapter-nav-item:hover,
.chapter-nav-item.active {
  color: var(--cream);
}

.chapter-nav-line {
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-expo);
}

.chapter-nav-item.active .chapter-nav-line {
  width: 36px;
  background: var(--village);
}

.chapter-nav-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chapter-nav-item:hover .chapter-nav-label,
.chapter-nav-item.active .chapter-nav-label {
  opacity: 1;
}

.chapter-nav-num {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .chapter-nav { display: none; }
}

/* ─── MOBILE PROGRESS BAR ───────────────────────────────────────────────── */
.mobile-chapter-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.05);
  z-index: 5000;
  display: none;
}
.mobile-chapter-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--moss), var(--village));
  transition: width 0.3s ease;
}

@media (max-width: 1024px) {
  .mobile-chapter-progress { display: block; }
}

/* ─── FOG LAYER ─────────────────────────────────────────────────────────── */
.fog-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fog-layer {
  position: absolute;
  width: 160%;
  height: 70%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
}

.fog-layer-1 {
  background: radial-gradient(ellipse, rgba(216,221,216,0.14) 0%, transparent 70%);
  top: 20%;
  left: -30%;
  animation: fogDrift1 18s ease-in-out infinite;
}

.fog-layer-2 {
  background: radial-gradient(ellipse, rgba(216,221,216,0.10) 0%, transparent 70%);
  top: 40%;
  left: 10%;
  animation: fogDrift2 24s ease-in-out infinite;
  animation-delay: -8s;
}

.fog-layer-3 {
  background: radial-gradient(ellipse, rgba(29, 76, 85, 0.08) 0%, transparent 70%);
  top: 10%;
  right: -20%;
  animation: fogDrift3 20s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes fogDrift1 {
  0%, 100% { transform: translateX(0) translateY(0) scale(1); opacity: 0.6; }
  33% { transform: translateX(8%) translateY(-3%) scale(1.05); opacity: 0.9; }
  66% { transform: translateX(-4%) translateY(5%) scale(0.95); opacity: 0.5; }
}
@keyframes fogDrift2 {
  0%, 100% { transform: translateX(0) translateY(0) scale(1); opacity: 0.4; }
  40% { transform: translateX(-10%) translateY(4%) scale(1.1); opacity: 0.8; }
  70% { transform: translateX(6%) translateY(-6%) scale(0.9); opacity: 0.3; }
}
@keyframes fogDrift3 {
  0%, 100% { transform: translateX(0) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-12%) translateY(8%); opacity: 0.2; }
}

/* ─── VIGNETTE ──────────────────────────────────────────────────────────── */
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(7,16,19,0.75) 100%);
  pointer-events: none;
}

.vignette-strong {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(7,16,19,0.92) 100%);
  pointer-events: none;
}

/* ─── SECTION LAYOUTS ───────────────────────────────────────────────────── */
section {
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

/* ─── HERO ──────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 7vh, 6rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,16,19,0.2) 0%,
    rgba(7,16,19,0.1) 40%,
    rgba(7,16,19,0.7) 75%,
    rgba(7,16,19,0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-top-meta {
  position: absolute;
  top: 2rem;
  left: clamp(1.5rem, 5vw, 6rem);
  right: clamp(1.5rem, 5vw, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
}

.hero-coords {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-weather-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(216,221,216,0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  backdrop-filter: blur(8px);
  background: rgba(7,16,19,0.3);
}

.weather-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 6px var(--moss);
  animation: weatherBlink 3s ease-in-out infinite;
}

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

.hero-title-wrapper {
  overflow: hidden;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--cream);
  display: block;
  will-change: transform;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: var(--cream-dim);
  max-width: 640px;
  line-height: 1.5;
  margin-top: 1.5rem;
}

.hero-small-label {
  color: var(--moss);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--cream);
  color: var(--atlantic);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  cursor: none;
  transition: background 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--fog);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(242,241,232,0.3);
  cursor: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--cream);
  background: rgba(242,241,232,0.05);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.scroll-indicator-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--moss));
  animation: scrollLineGrow 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLineGrow {
  0% { transform: scaleY(0); opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

.ocean-wave-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}

.ocean-wave-svg {
  width: 200%;
  height: 100%;
  animation: waveScroll 8s linear infinite;
}

@keyframes waveScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── INTRO ─────────────────────────────────────────────────────────────── */
#intro {
  padding: clamp(6rem, 14vh, 12rem) 0;
  background: var(--atlantic);
  overflow: hidden;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.intro-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--cream);
  position: relative;
}

.intro-quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 8rem;
  color: var(--moss);
  opacity: 0.2;
  position: absolute;
  top: -3rem;
  left: -1rem;
  line-height: 1;
  pointer-events: none;
}

.intro-facts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fact-card {
  border: 1px solid rgba(94,124,85,0.2);
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  background: rgba(35, 58, 42, 0.08);
  transition: border-color 0.4s ease, background 0.4s ease;
}

.fact-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--moss), transparent);
}

.fact-card:hover {
  border-color: rgba(94,124,85,0.5);
  background: rgba(35, 58, 42, 0.15);
}

.fact-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 200;
  color: var(--village);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.fact-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--cream-dim);
  margin-top: 0.35rem;
  letter-spacing: 0.05em;
}

.map-texture-bg {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      0deg, transparent, transparent 59px, rgba(94,124,85,0.04) 59px, rgba(94,124,85,0.04) 60px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 59px, rgba(94,124,85,0.04) 59px, rgba(94,124,85,0.04) 60px
    );
  pointer-events: none;
}

@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ─── MAP SECTION ───────────────────────────────────────────────────────── */
#map-section {
  padding: clamp(5rem, 10vh, 9rem) 0;
  background: var(--basalt);
  overflow: hidden;
}

.map-section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}

.map-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 200;
  color: var(--cream);
  line-height: 1.1;
}

.map-section-copy {
  font-size: 0.875rem;
  color: var(--cream-dim);
  max-width: 400px;
  line-height: 1.8;
  border-left: 1px solid rgba(94,124,85,0.3);
  padding-left: 1.5rem;
}

.map-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.faroe-map-svg {
  width: min(700px, 90vw);
  height: auto;
  overflow: visible;
}

/* Map islands */
.island-path {
  fill: var(--grass);
  stroke: rgba(94,124,85,0.4);
  stroke-width: 0.8;
  transition: fill 0.4s ease;
}

.island-path:hover { fill: #2d4a35; }

/* Contour lines */
.contour-path {
  fill: none;
  stroke: rgba(94,124,85,0.15);
  stroke-width: 0.5;
}

/* Map pin */
.map-pin-group {
  cursor: pointer;
}

.pin-circle-outer {
  fill: none;
  stroke: var(--village);
  stroke-width: 1;
  animation: pinPulse 3s ease-in-out infinite;
}

.pin-circle-inner {
  fill: var(--village);
}

@keyframes pinPulse {
  0%, 100% { r: 8; opacity: 0.3; }
  50% { r: 12; opacity: 0; }
}

/* Map tooltip */
.map-tooltip {
  position: absolute;
  background: var(--basalt);
  border: 1px solid rgba(94,124,85,0.4);
  padding: 1.25rem 1.5rem;
  min-width: 200px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.map-tooltip-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.map-tooltip-known {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--village);
  margin-bottom: 0.5rem;
}

.map-tooltip-desc {
  font-size: 0.78rem;
  color: var(--cream-dim);
  line-height: 1.6;
}

.map-route-path {
  fill: none;
  stroke: var(--village);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: 0.5;
}

.map-you-are-here {
  font-family: var(--font-sans);
  font-size: 7px;
  fill: var(--village);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .map-section-header {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
}

/* ─── LOCATION STORIES ──────────────────────────────────────────────────── */
#location-stories {
  background: var(--atlantic);
}

.location-story {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.location-image-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.location-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.location-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, rgba(7,16,19,0.4) 100%);
}

.location-content-panel {
  padding: clamp(4rem, 8vh, 8rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.location-chapter-num {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--village);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.location-name {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 200;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.25rem;
  overflow: hidden;
}

.location-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--village);
  margin-bottom: 2.5rem;
}

.location-divider {
  width: 40px;
  height: 1px;
  background: var(--moss);
  margin-bottom: 2.5rem;
}

.location-copy {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--cream-dim);
  line-height: 1.9;
  max-width: 440px;
  margin-bottom: 2rem;
}

.location-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(94,124,85,0.15);
}

.location-coord {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--ocean);
}

.location-number-large {
  position: absolute;
  right: -0.5rem;
  top: 4rem;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 16rem);
  font-weight: 200;
  color: rgba(242,241,232,0.02);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}

/* Location-specific accents */
.story-accent-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--moss), transparent);
  margin: 2rem 0;
}

@media (max-width: 900px) {
  .location-story {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .location-image-panel {
    position: relative;
    height: 55vw;
    min-height: 280px;
  }
  .location-content-panel {
    min-height: auto;
    padding: 3rem clamp(1.5rem, 5vw, 4rem);
  }
}

/* ─── WEATHER SECTION ───────────────────────────────────────────────────── */
#weather-section {
  padding: clamp(6rem, 12vh, 10rem) 0;
  background: var(--basalt);
  position: relative;
  overflow: hidden;
  transition: background 1s ease;
}

#weather-section.fog-mode   { background: #0a1216; }
#weather-section.wind-mode  { background: #0d1614; }
#weather-section.rain-mode  { background: #07100e; }
#weather-section.aurora-mode{ background: #080e14; }

.weather-header {
  text-align: center;
  margin-bottom: 5rem;
}

.weather-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 200;
  color: var(--cream);
  margin-bottom: 1rem;
}

.weather-section-eyebrow {
  color: var(--village);
  margin-bottom: 0.75rem;
}

.weather-copy {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--cream-dim);
  line-height: 1.9;
}

.weather-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  margin-bottom: 4rem;
}

.weather-card {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(94,124,85,0.1);
  cursor: pointer;
  overflow: hidden;
  background: rgba(7,16,19,0.5);
  transition: border-color 0.4s ease, background 0.4s ease;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.weather-card:hover,
.weather-card.active {
  border-color: rgba(94,124,85,0.5);
  background: rgba(29,76,85,0.2);
}

.weather-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.weather-card.active .weather-card-bg,
.weather-card:hover .weather-card-bg {
  opacity: 1;
}

/* Fog effect */
.weather-card-fog .weather-card-bg {
  background: radial-gradient(ellipse at 50% 50%, rgba(216,221,216,0.08) 0%, transparent 70%);
  filter: blur(20px);
  animation: fogCardAnim 4s ease-in-out infinite;
}

@keyframes fogCardAnim {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.6; }
  50% { transform: scale(1.1) translateY(-5px); opacity: 1; }
}

/* Wind effect */
.weather-card-wind .weather-card-bg {
  background: repeating-linear-gradient(
    -30deg,
    transparent, transparent 8px,
    rgba(216,221,216,0.03) 8px, rgba(216,221,216,0.03) 9px
  );
  animation: windCardAnim 1s linear infinite;
  background-size: 200% 100%;
}

@keyframes windCardAnim {
  from { background-position: 0 0; }
  to   { background-position: -200px 0; }
}

/* Rain effect */
.weather-card-rain .weather-card-bg {
  background: repeating-linear-gradient(
    90deg,
    transparent, transparent 12px,
    rgba(29,76,85,0.1) 12px, rgba(29,76,85,0.1) 13px
  );
  animation: rainCardAnim 0.8s linear infinite;
}

@keyframes rainCardAnim {
  from { background-position: 0 -100px; }
  to   { background-position: 0 100px; }
}

/* Aurora effect */
.weather-card-aurora .weather-card-bg {
  background: linear-gradient(
    135deg,
    rgba(94,124,85,0.12) 0%,
    rgba(29,76,85,0.15) 30%,
    rgba(7,16,19,0) 60%,
    rgba(94,124,85,0.08) 100%
  );
  animation: auroraCardAnim 6s ease-in-out infinite;
}

@keyframes auroraCardAnim {
  0%, 100% { opacity: 0.5; filter: hue-rotate(0deg); }
  50% { opacity: 1; filter: hue-rotate(30deg); }
}

.weather-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.weather-card-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.weather-card-desc {
  font-size: 0.75rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

.weather-card-active-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--village);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-expo);
}

.weather-card.active .weather-card-active-indicator {
  transform: scaleX(1);
}

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

@media (max-width: 480px) {
  .weather-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── NATURE SECTION ────────────────────────────────────────────────────── */
#nature-section {
  padding: clamp(6rem, 12vh, 10rem) 0;
  background: var(--atlantic);
}

.nature-section-header {
  margin-bottom: 4rem;
}

.nature-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 200;
  color: var(--cream);
  max-width: 700px;
  line-height: 1.15;
}

.nature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.nature-card {
  position: relative;
  overflow: hidden;
  background: var(--basalt);
  cursor: pointer;
}

/* Organic grid sizing */
.nature-card:nth-child(1) { grid-column: 1 / 6; grid-row: 1; }
.nature-card:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.nature-card:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
.nature-card:nth-child(4) { grid-column: 1 / 4; grid-row: 2; }
.nature-card:nth-child(5) { grid-column: 4 / 8; grid-row: 2; }
.nature-card:nth-child(6) { grid-column: 8 / 13; grid-row: 2; }
.nature-card:nth-child(7) { grid-column: 1 / 5; grid-row: 3; }
.nature-card:nth-child(8) { grid-column: 5 / 13; grid-row: 3; }

.nature-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-expo);
  will-change: transform;
}

.nature-card:nth-child(1) .nature-card-image,
.nature-card:nth-child(8) .nature-card-image { aspect-ratio: 16/10; }

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

.nature-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(7,16,19,0.96) 0%, transparent 100%);
}

.nature-card-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.25rem;
}

.nature-card-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.nature-card-note {
  font-size: 0.72rem;
  color: var(--cream-dim);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-expo), opacity 0.4s ease;
  opacity: 0;
}

.nature-card:hover .nature-card-note {
  max-height: 80px;
  opacity: 1;
}

.field-note-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--village);
  margin-top: 0.5rem;
  border: 1px solid rgba(216,164,95,0.2);
  padding: 0.2rem 0.5rem;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.nature-card:hover .field-note-tag {
  opacity: 1;
}

@media (max-width: 900px) {
  .nature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nature-card { grid-column: auto !important; grid-row: auto !important; }
}

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

/* ─── CULTURE SECTION ───────────────────────────────────────────────────── */
#culture-section {
  padding: clamp(6rem, 12vh, 10rem) 0;
  background: #0e1612;
  position: relative;
  overflow: hidden;
}

.culture-paper-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeBlend in='SourceGraphic' mode='multiply'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23paper)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.culture-left {
  position: sticky;
  top: 4rem;
}

.culture-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 200;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.culture-intro {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.9;
  max-width: 380px;
  margin-bottom: 3rem;
}

.culture-collage {
  position: relative;
  height: 500px;
}

.collage-img {
  position: absolute;
  object-fit: cover;
  border: 2px solid rgba(7,16,19,0.8);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.collage-img-1 {
  width: 65%;
  height: 55%;
  top: 0;
  left: 0;
  transform: rotate(-1.5deg);
  z-index: 1;
}

.collage-img-2 {
  width: 50%;
  height: 45%;
  top: 10%;
  right: 0;
  transform: rotate(2deg);
  z-index: 2;
}

.collage-img-3 {
  width: 55%;
  height: 42%;
  bottom: 0;
  left: 8%;
  transform: rotate(1deg);
  z-index: 3;
}

.collage-img-4 {
  width: 42%;
  height: 35%;
  bottom: 5%;
  right: 2%;
  transform: rotate(-2deg);
  z-index: 4;
}

.culture-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 3rem;
}

.culture-item {
  border-left: 1px solid rgba(94,124,85,0.2);
  padding-left: 1.75rem;
  position: relative;
}

.culture-item::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--village);
  transition: height 0.6s var(--ease-expo);
}

.culture-item:hover::before { height: 100%; }

.culture-item-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.culture-item-text {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.85;
}

.culture-warm-quote {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid rgba(216,164,95,0.15);
  background: rgba(216,164,95,0.03);
}

.culture-warm-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--village);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .culture-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .culture-left { position: relative; top: auto; }
  .culture-collage { height: 60vw; min-height: 280px; }
}

/* ─── RESPONSIBLE TRAVEL ────────────────────────────────────────────────── */
#responsible-travel {
  padding: clamp(6rem, 12vh, 10rem) 0;
  background: #060c0f;
  text-align: center;
}

.responsible-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 200;
  font-style: italic;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto 5rem;
  line-height: 1.3;
}

.responsible-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(94,124,85,0.1);
  border: 1px solid rgba(94,124,85,0.1);
  margin-bottom: 4rem;
}

.responsible-card {
  background: #060c0f;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: background 0.4s ease;
}

.responsible-card:hover {
  background: rgba(29,76,85,0.12);
}

.responsible-icon {
  font-size: 1.5rem;
  opacity: 0.6;
}

.responsible-card-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fog);
}

.responsible-card-text {
  font-size: 0.75rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

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

@media (max-width: 480px) {
  .responsible-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── GALLERY ───────────────────────────────────────────────────────────── */
#gallery-section {
  background: var(--basalt);
  overflow: hidden;
}

.gallery-intro {
  padding: clamp(5rem, 10vh, 8rem) 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 200;
  color: var(--cream);
  line-height: 1.1;
}

.gallery-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gallery-scroll-arrow {
  display: flex;
  gap: 3px;
}

.gallery-scroll-arrow span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--moss);
  position: relative;
  animation: arrowSlide 2s ease-in-out infinite;
}

.gallery-scroll-arrow span:nth-child(2) { animation-delay: 0.3s; }

@keyframes arrowSlide {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(8px); opacity: 0.4; }
}

.gallery-track-wrapper {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 clamp(1.5rem, 5vw, 6rem) clamp(4rem, 8vh, 6rem);
  will-change: transform;
}

.gallery-item {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.gallery-item:nth-child(odd) {
  width: min(500px, 75vw);
  height: 65vh;
  min-height: 380px;
}

.gallery-item:nth-child(even) {
  width: min(360px, 60vw);
  height: 50vh;
  min-height: 300px;
  margin-top: 4rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-expo);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(7,16,19,0.9) 0%, transparent 100%);
}

.gallery-caption-category {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--village);
  margin-bottom: 0.3rem;
}

.gallery-caption-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--cream);
  font-weight: 300;
}

.gallery-sound-indicator {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.sound-bar {
  width: 2px;
  background: var(--moss);
  border-radius: 2px;
  animation: soundBarAnim 1.4s ease-in-out infinite;
}

.sound-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.sound-bar:nth-child(2) { height: 70%; animation-delay: 0.2s; }
.sound-bar:nth-child(3) { height: 50%; animation-delay: 0.4s; }
.sound-bar:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.sound-bar:nth-child(5) { height: 40%; animation-delay: 0.3s; }

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

/* ─── ENDING ─────────────────────────────────────────────────────────────── */
#ending {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.ending-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.3) saturate(0.7);
}

.ending-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--atlantic) 0%,
    transparent 25%,
    transparent 75%,
    var(--atlantic) 100%
  );
}

.ending-content {
  position: relative;
  z-index: 10;
  padding: clamp(4rem, 8vh, 8rem) clamp(2rem, 8vw, 10rem);
  max-width: 900px;
}

.ending-eyebrow {
  margin-bottom: 2rem;
}

.ending-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 200;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.ending-title em {
  font-style: italic;
  color: var(--village);
}

.ending-subtext {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  color: var(--cream-dim);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.ending-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.ending-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(242,241,232,0.15), transparent);
  margin: 0 auto 3rem;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--atlantic);
  border-top: 1px solid rgba(94,124,85,0.1);
  padding: 3rem clamp(1.5rem, 5vw, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 200;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.footer-credits {
  font-size: 0.65rem;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
  text-align: center;
}

.footer-note {
  font-size: 0.6rem;
  color: rgba(242,241,232,0.25);
  letter-spacing: 0.12em;
  text-align: right;
}

/* ─── REVEAL ANIMATIONS ─────────────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}

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

.reveal-fade {
  opacity: 0;
  transition: opacity 1s ease;
}

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

/* ─── SECTION LABELS ────────────────────────────────────────────────────── */
.section-label-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-label-line {
  width: 30px;
  height: 1px;
  background: var(--moss);
}

/* ─── GSAP CLIP MASKS ───────────────────────────────────────────────────── */
.clip-mask-wrapper {
  overflow: hidden;
}

.clip-mask-inner {
  display: block;
}

/* ─── REDUCED MOTION ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .grain-overlay { display: none; }
  .fog-layer { display: none; }
  .scroll-indicator-line { animation: none; opacity: 1; }
}

/* ─── UTILITY CLASSES ───────────────────────────────────────────────────── */
.text-cream     { color: var(--cream); }
.text-moss      { color: var(--moss); }
.text-village   { color: var(--village); }
.text-fog       { color: var(--fog); }
.text-cream-dim { color: var(--cream-dim); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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

button {
  font-family: var(--font-sans);
}
