/* ===================
   WAVELENGTH — THEME
   =================== */

:root {
  --bg: #F8F0E8;
  --bg-alt: #F0E8DC;
  --fg: #1C1917;
  --fg-muted: #78716C;
  --accent: #D4623A;
  --accent-warm: #E8A84B;
  --accent-deep: #B84E28;
  --surface: #FFFFFF;
  --border: rgba(28,25,23,0.1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(28,25,23,0.08);
  --shadow-lg: 0 12px 48px rgba(28,25,23,0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================
   HEADER
   =================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,240,232,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
}

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

.hero {
  position: relative;
  padding: 80px 32px 100px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg .hero-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(232,168,75,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(212,98,58,0.08) 0%, transparent 60%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(212,98,58,0.07);
  top: -100px;
  right: 10%;
}

.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(232,168,75,0.08);
  bottom: -50px;
  left: 20%;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.eyebrow-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.eyebrow-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

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

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

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.culture-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.culture-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.culture-card--1 { transform: rotate(-1.5deg); }
.culture-card--2 { transform: rotate(1deg); margin-left: 24px; }
.culture-card--3 { transform: rotate(-0.8deg); }
.culture-card--4 { transform: rotate(1.2deg); margin-left: 12px; }

.culture-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.culture-card-icon svg { width: 24px; height: 24px; }

.culture-card-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.culture-card-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  text-transform: capitalize;
}

.culture-card-desc {
  font-size: 12px;
  color: var(--fg-muted);
}

.culture-card-reactions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--fg-muted);
}

/* Avatar cluster */
.hero-avatar-cluster {
  display: flex;
  align-items: center;
  padding-left: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.avatar-1 { background: linear-gradient(135deg, #D4623A, #E8A84B); }
.avatar-2 { background: linear-gradient(135deg, #2E7D32, #81C784); }
.avatar-3 { background: linear-gradient(135deg, #1565C0, #64B5F6); }
.avatar-4 { background: linear-gradient(135deg, #6A1B9A, #CE93D8); }
.avatar-5 { background: var(--bg-alt); color: var(--fg-muted); border: 2px solid var(--border); font-size: 11px; }

.hero-avatars-label {
  font-size: 12px;
  color: var(--fg-muted);
  padding-left: 8px;
}

/* ===================
   SECTION LABEL
   =================== */

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ===================
   EXCHANGE (How It Works)
   =================== */

.exchange {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 32px;
}

.exchange-inner { max-width: 1200px; margin: 0 auto; }

.exchange-header {
  max-width: 640px;
  margin-bottom: 72px;
}

.exchange-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--bg);
}

.exchange-sub {
  font-size: 18px;
  color: rgba(248,240,232,0.65);
  line-height: 1.7;
}

.exchange-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step { padding: 32px 24px; }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 20px;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(212,98,58,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg { width: 40px; height: 40px; }

.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: rgba(248,240,232,0.6);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 60px;
  padding-left: 8px;
}

/* ===================
   MOMENTS
   =================== */

.moments {
  padding: 100px 32px;
  background: var(--bg);
}

.moments-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.moments-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 20px;
}

.moments-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.moment-example {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.moment-quote-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 16px;
  font-style: italic;
}

.moment-quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.moment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4623A, #E8A84B);
  flex-shrink: 0;
}

.moment-avatar--2 {
  background: linear-gradient(135deg, #1565C0, #64B5F6);
}

.moment-author-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--fg);
}

.moment-author-culture {
  font-size: 12px;
  color: var(--fg-muted);
}

/* Moment types grid */
.moment-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.moment-type {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.moment-type:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.moment-type-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.moment-type-icon svg { width: 24px; height: 24px; }

.moment-type-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 4px;
}

.moment-type-count {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ===================
   COMPASS
   =================== */

.compass {
  padding: 100px 32px;
  background: var(--bg-alt);
}

.compass-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.compass-rose {
  display: flex;
  justify-content: center;
  align-items: center;
}

.compass-rose svg {
  width: 280px;
  height: 280px;
  animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.compass-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 20px;
}

.compass-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.compass-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compass-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.compass-feat-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.compass-feat strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 4px;
}

.compass-feat p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ===================
   ROOTS (Why Now)
   =================== */

.roots {
  padding: 100px 32px;
  background: var(--surface);
}

.roots-inner { max-width: 1200px; margin: 0 auto; }

.roots-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--fg);
  max-width: 640px;
  margin-bottom: 60px;
}

.roots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.root-stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.root-stat-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.roots-quote {
  border-left: 4px solid var(--accent);
  padding-left: 28px;
  max-width: 640px;
}

.roots-quote blockquote {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
}

/* ===================
   CLOSING
   =================== */

.closing {
  padding: 100px 32px 120px;
  background: var(--fg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.closing-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,98,58,0.2) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(60px);
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--bg);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 18px;
  color: rgba(248,240,232,0.7);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 16px;
}

.closing-vision {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--accent-warm);
  margin-bottom: 56px;
}

.closing-creds {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cred {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(248,240,232,0.6);
}

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

.cred-icon svg { width: 18px; height: 18px; }

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

.site-footer {
  padding: 40px 32px;
  background: var(--fg);
  border-top: 1px solid rgba(248,240,232,0.1);
}

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

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--bg);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(248,240,232,0.5);
  font-style: italic;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links {
  font-size: 13px;
  color: rgba(248,240,232,0.5);
}

.footer-copy {
  font-size: 12px;
  color: rgba(248,240,232,0.3);
}

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

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .exchange-steps { grid-template-columns: 1fr; gap: 0; }
  .step-connector { transform: rotate(90deg); padding: 8px 0; }
  .moments-inner { grid-template-columns: 1fr; }
  .compass-inner { grid-template-columns: 1fr; }
  .compass-visual { display: none; }
  .roots-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 80px; }
  .exchange { padding: 60px 20px; }
  .moments { padding: 60px 20px; }
  .compass { padding: 60px 20px; }
  .roots { padding: 60px 20px; }
  .closing { padding: 60px 20px 80px; }
  .site-header { padding: 0 20px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { width: 32px; height: 1px; }
  .closing-creds { flex-direction: column; align-items: center; gap: 20px; }
  .moment-types { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}