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

:root {
  --bg: #F5F0EB;
  --bg-alt: #EDE7DE;
  --fg: #1A1A1A;
  --fg-muted: #6B6258;
  --accent: #B85C38;
  --accent-light: #D4784F;
  --accent-dark: #8F4426;
  --accent-bg: #F8EDE8;
  --white: #FFFFFF;
  --border: #D9D2CA;
  --surface: #FFFFFF;

  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: 'Figtree', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 235, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ===== HERO ===== */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 70vh;
}

.hero-graphic {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.building-cluster {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.building {
  background: var(--accent);
  border-radius: 8px 8px 4px 4px;
  position: relative;
}

.building::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 30%;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.building::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 20%;
  background: rgba(255,255,255,0.12);
  border-radius: 3px 3px 2px 2px;
}

.b1 { width: 60px; height: 200px; background: var(--accent); }
.b2 { width: 80px; height: 280px; background: var(--accent-dark); }
.b3 { width: 70px; height: 160px; background: var(--accent-light); }
.b4 { width: 55px; height: 220px; background: var(--accent); opacity: 0.7; }

.match-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.match-line {
  position: absolute;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 2px;
}

.ml1 { width: 120px; top: 30%; left: 55%; transform: rotate(-30deg); }
.ml2 { width: 80px; top: 50%; left: 30%; transform: rotate(20deg); opacity: 0.5; }
.ml3 { width: 60px; top: 65%; left: 60%; transform: rotate(-15deg); opacity: 0.2; }

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent-bg);
  color: var(--accent-dark);
  border: 1px solid rgba(184, 92, 56, 0.2);
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 56px;
}

.step {
  flex: 1;
  padding: 32px 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.step-connector {
  width: 48px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
  position: relative;
}

.step-connector::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -2px;
  transform: translateY(-50%);
  color: var(--fg-muted);
  font-size: 1rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Market stat */
.market-stat {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 32px 40px;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.stat-src {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.6;
  text-align: center;
  margin-top: 16px;
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 24px;
}

.feature-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: #1A1A1A;
  padding: 80px 24px;
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  align-items: start;
}

.manifesto-mark {
  grid-row: 1;
  grid-column: 1;
}

.manifesto-text {
  grid-row: 1;
  grid-column: 2;
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #F5F0EB;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.manifesto-body {
  font-size: 0.95rem;
  color: rgba(245, 240, 235, 0.65);
  line-height: 1.75;
  margin-bottom: 16px;
}

.manifesto-badges {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(184, 92, 56, 0.2);
  color: var(--accent-light);
  border: 1px solid rgba(184, 92, 56, 0.3);
}

/* ===== CLOSING ===== */
.closing {
  padding: 80px 24px 100px;
  background: var(--bg);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Norway map dots */
.norway-map {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
}

.map-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.map-dots {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--accent-bg) 0%, var(--bg-alt) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 92, 56, 0.12);
  animation: pulse 3s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.4s; }
.dot:nth-child(3) { animation-delay: 0.8s; }
.dot:nth-child(4) { animation-delay: 1.2s; }
.dot:nth-child(5) { animation-delay: 1.6s; }
.dot:nth-child(6) { animation-delay: 2s; }
.dot:nth-child(7) { animation-delay: 2.4s; }

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

.d-oslo { top: 42%; left: 48%; }
.d-bergen { top: 50%; left: 28%; }
.d-trondheim { top: 38%; left: 58%; }
.d-stavanger { top: 60%; left: 22%; }
.d-tromso { top: 15%; left: 70%; }
.d-kristiansand { top: 68%; left: 32%; }
.d-drammen { top: 46%; left: 45%; }
.d-fredrikstad { top: 48%; left: 52%; }
.d-porsgrunn { top: 55%; left: 48%; }
.d-sarpsborg { top: 48%; left: 52%; }
.d-sandefjord { top: 58%; left: 45%; }
.d-tønsberg { top: 56%; left: 47%; }
.d-haugesund { top: 58%; left: 24%; }
.d-moss { top: 46%; left: 50%; }
.d-lillehammer { top: 36%; left: 54%; }
.d-skjervøy { top: 18%; left: 80%; }
.d-bodø { top: 28%; left: 66%; }
.d-mo-i-rana { top: 30%; left: 68%; }
.d-kristiansund { top: 38%; left: 52%; }
.d-alta { top: 18%; left: 78%; }
.d-hamar { top: 40%; left: 53%; }
.d-gjøvik { top: 38%; left: 51%; }

.d-oslo-text { top: 42%; left: 51%; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; font-size: 0.7rem; font-weight: 700; color: var(--fg-muted); animation: none; }
.d-tromsø-text { top: 15%; left: 72%; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; font-size: 0.7rem; font-weight: 700; color: var(--fg-muted); animation: none; }
.d-bergen-text { top: 50%; left: 30%; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; font-size: 0.7rem; font-weight: 700; color: var(--fg-muted); animation: none; }
.d-trondheim-text { top: 38%; left: 60%; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; font-size: 0.7rem; font-weight: 700; color: var(--fg-muted); animation: none; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 40px;
    gap: 40px;
    min-height: auto;
  }

  .hero-graphic { height: 240px; }

  .steps {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector { display: none; }

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

  .manifesto-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .manifesto-mark { grid-row: 1; grid-column: 1; }
  .manifesto-text { grid-row: 2; grid-column: 1; }
  .manifesto-badges { grid-row: 3; }

  .stat-row {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider { display: none; }

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

  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .feature-card { padding: 24px 20px; }
  .map-dots { height: 160px; }
}