/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS — Light Beige + Colorful Curiosity Theme
═══════════════════════════════════════════════════════════ */
:root {
  --cream:       #faf7f0;
  --cream-mid:   #f2ece0;
  --cream-dark:  #e8e0d0;
  --white:       #ffffff;

  --green:       #3a7d56;
  --green-mid:   #5aa674;
  --green-light: #a8d5b5;
  --green-pale:  #e8f5ed;

  --coral:       #e8674d;
  --coral-pale:  #fde8e3;
  --sky:         #3d8bb5;
  --sky-pale:    #ddeef7;
  --amber:       #d4932a;
  --amber-pale:  #fdf0d9;
  --purple:      #7c5cbf;
  --purple-pale: #ede8f8;
  --teal:        #2e9aa8;
  --teal-pale:   #daf2f5;

  --ink:         #1e2030;
  --ink-mid:     #3c3c52;
  --ink-dim:     #6b6b80;
  --ink-faint:   #a0a0b0;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'Space Mono', monospace;
  --font-hand:  'Caveat', cursive;

  --section-gap: 110px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --trans:       0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--green); font-weight: 600; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-mid); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ═══════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  transition: background var(--trans), box-shadow var(--trans);
}

#navbar.scrolled {
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07), 0 4px 20px rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.compass-icon {
  color: var(--green);
  font-size: 1rem;
  display: inline-block;
  animation: spin-slow 20s linear infinite;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  transition: color var(--trans);
  position: relative;
}

.nav-links a:hover { color: var(--green); }

.nav-links a.active {
  color: var(--green);
  font-weight: 700;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  transition: background var(--trans), color var(--trans), transform var(--trans) !important;
}

.nav-cta svg { display: block; }

.nav-cta-email {
  background: var(--green-pale);
  color: var(--green) !important;
  border: 1.5px solid var(--green-light);
}

.nav-cta-email:hover {
  background: var(--green-light) !important;
  transform: translateY(-2px);
}

.nav-cta-linkedin {
  background: var(--green);
  color: var(--white) !important;
}

.nav-cta-linkedin:hover {
  background: var(--green-mid) !important;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--trans);
}

/* ═══════════════════════════════════════════════════════════
   HERO / MAP (home page)
═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.leaflet-container { background: #c8d8e8 !important; }
.leaflet-control-zoom { display: none; }
.leaflet-attribution-flag { display: none !important; }
.leaflet-control-attribution {
  background: rgba(250,247,240,0.8) !important;
  color: var(--ink-dim) !important;
  font-size: 10px !important;
}
.leaflet-popup-content-wrapper {
  background: var(--white) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08) !important;
  color: var(--ink) !important;
  font-family: var(--font-sans) !important;
}
.leaflet-popup-tip { background: var(--white) !important; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 68px 6% 0 40px;
  background: linear-gradient(
    90deg,
    rgba(250,247,240,0.92) 0%,
    rgba(250,247,240,0.7) 40%,
    transparent 65%
  );
  pointer-events: none;
  overflow-y: auto;
}

.hero-content {
  max-width: 480px;
  pointer-events: all;
}

.hero-intro {
  font-size: 0.92rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  width: fit-content;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-top: 3px;
  display: block;
  font-family: var(--font-mono);
}

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

/* ── Hero Deal Spotlight (on-map carousel) ── */
.hero-deal-spotlight {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 16px 18px 14px;
  max-width: 400px;
}

/* (map-deal-spotlight removed — deals back inside hero-content) */

.hero-deal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hero-deal-header h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.hero-deal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-deal-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-dim);
  transition: border-color var(--trans), background var(--trans), color var(--trans);
}

.hero-deal-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}

.hero-deal-counter {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

.hero-deal-card .deal-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

.hero-deal-card .deal-card::before {
  display: none;
}

.hero-deal-card .deal-card:hover {
  transform: none;
  box-shadow: none;
}

.hero-deal-card .deal-card-header {
  margin-bottom: 8px;
}

.hero-deal-card .deal-title {
  font-size: 0.95rem;
}

.hero-deal-card .deal-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-deal-card .deal-facts {
  margin-bottom: 8px;
}

.hero-deal-card .deal-insight {
  font-size: 0.78rem;
  padding: 10px 12px;
  border-radius: 8px;
}

/* ── Toggle Tabs (Deal Spotlight ↔ Lessons) ── */
.hero-toggle-section {
  margin-top: 16px;
}

.hero-toggle-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius);
  padding: 3px;
  width: fit-content;
}

.hero-toggle-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-dim);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--trans);
}

.hero-toggle-tab svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero-toggle-tab:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.6);
}

.hero-toggle-tab.active {
  color: var(--green);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.hero-toggle-panel {
  display: none;
}

.hero-toggle-panel.active {
  display: block;
}

/* Deal card icon + tags */
.deal-card-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-right: 8px;
}

.deal-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.deal-stage-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--green-pale);
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.deal-sector-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--sky-pale);
  color: var(--sky);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.map-legend {
  position: absolute;
  bottom: 24px;
  right: 30px;
  z-index: 3;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  color: var(--ink-dim);
  font-family: var(--font-sans);
  font-weight: 500;
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-invest  { background: var(--green); box-shadow: 0 0 6px rgba(58,125,86,0.5); }
.dot-support { background: var(--ink-faint); box-shadow: 0 0 6px rgba(160,160,176,0.5); }
.dot-star    { background: var(--amber); box-shadow: 0 0 6px rgba(212,147,42,0.5); }

.dot-early   { background: var(--green); box-shadow: 0 0 6px rgba(58,125,86,0.5); }
.dot-growth  { background: var(--sky); box-shadow: 0 0 6px rgba(61,139,181,0.5); }
.dot-portfolio { background: var(--teal); box-shadow: 0 0 6px rgba(46,154,168,0.5); }
.dot-fund    { background: var(--purple); box-shadow: 0 0 6px rgba(124,92,191,0.5); }
.dot-ops     { background: var(--amber); box-shadow: 0 0 6px rgba(212,147,42,0.5); }

.legend-note {
  font-size: 0.6rem;
  color: var(--ink-faint);
  font-style: italic;
  margin-top: 4px;
}

/* Showcase note — subtle disclaimer */
.showcase-note {
  font-size: 0.72rem;
  color: var(--ink-faint);
  font-style: italic;
  font-family: var(--font-sans);
  margin-top: 6px;
}

/* Map pin markers */
.pin-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid white;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  position: relative;
}

.pin-marker:hover { transform: scale(1.5); }

.pin-marker::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2.5s ease-out infinite;
}

.pin-invest  { background: var(--green); }
.pin-invest::after  { border: 2px solid var(--green); }

.pin-origin {
  width: 10px;
  height: 10px;
  background: var(--ink-faint);
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.pin-origin::after { display: none; }

.pin-star {
  width: 20px;
  height: 20px;
  background: var(--amber);
  border: 2.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  line-height: 1;
  border-radius: 50%;
}
.pin-star::after { border: 2px solid var(--amber); }

.pin-early  { background: var(--green); }
.pin-early::after  { border: 2px solid var(--green); }

.pin-growth { background: var(--sky); }
.pin-growth::after { border: 2px solid var(--sky); }

.pin-fund   { background: var(--purple); }
.pin-fund::after   { border: 2px solid var(--purple); }

.pin-ops {
  width: 20px;
  height: 20px;
  background: var(--amber);
  border: 2.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  line-height: 1;
  border-radius: 50%;
}
.pin-ops::after { border: 2px solid var(--amber); }

.origin-tooltip {
  background: rgba(30,32,48,0.85) !important;
  color: white !important;
  border: none !important;
  font-size: 0.72rem !important;
  font-family: var(--font-mono) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.origin-tooltip::before { border-top-color: rgba(30,32,48,0.85) !important; }

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

/* Map popup — deal spotlight */
.pin-popup { min-width: 200px; }
.popup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.popup-flag-img {
  width: 28px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.pin-popup h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
}
.popup-deal-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
  font-weight: 600;
}
.popup-spotlight {
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 500;
}
.popup-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.popup-stage {
  display: inline-block;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--amber-pale);
  color: var(--amber);
  border: 1px solid #f0d49a;
  font-weight: 500;
}
.popup-sector {
  display: inline-block;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid var(--green-light);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS — SHARED
═══════════════════════════════════════════════════════════ */
.section { padding: var(--section-gap) 40px; }
.section-alt { background: var(--white); }
.section > * { max-width: 1140px; margin-left: auto; margin-right: auto; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--green-light);
  border-radius: 2px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--ink-dim);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ═══════════════════════════════════════════════════════════
   DEAL SPOTLIGHT CARDS
═══════════════════════════════════════════════════════════ */
.deal-cards {
  display: flex;
  gap: 28px;
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.deal-cards::-webkit-scrollbar { display: none; }

.deal-card {
  flex: 1 0 calc(33.33% - 19px);
  min-width: 280px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}

.deal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-radius: 4px 4px 0 0;
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.09);
  border-color: var(--green-light);
}

.deal-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.deal-flag {
  width: 30px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.deal-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.deal-stage-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--amber-pale);
  color: var(--amber);
  border: 1px solid #f0d49a;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.deal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.deal-fact {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--cream-mid);
  color: var(--ink-dim);
  font-weight: 500;
}

.deal-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.deal-desc {
  font-size: 0.9rem;
  color: var(--ink-dim);
  line-height: 1.75;
  margin-bottom: 16px;
}

.deal-insight {
  font-size: 0.85rem;
  color: var(--ink-mid);
  line-height: 1.7;
  padding: 12px 16px;
  background: var(--green-pale);
  border-radius: 10px;
  border-left: 3px solid var(--green-mid);
}

.deal-insight strong {
  color: var(--green);
  font-weight: 600;
}

.deal-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* (carousel/insights-grid removed — stacked layout now) */

/* ═══════════════════════════════════════════════════════════
   LESSONS LEARNED — Plain Bullets
═══════════════════════════════════════════════════════════ */
.lessons-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.lessons-plain {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lessons-plain li {
  font-size: 0.85rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.lessons-plain li em {
  font-style: normal;
  color: var(--green);
  font-weight: 600;
}

.lesson-key {
  color: var(--green);
  font-weight: 700;
}

.lessons-plain li::marker {
  color: var(--green);
}

/* ═══════════════════════════════════════════════════════════
   BELOW MAP — Deal Spotlight + Lessons Side by Side
═══════════════════════════════════════════════════════════ */
#below-map {
  padding: 40px 40px 60px;
  background: var(--cream);
}

.below-map-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.below-map-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.below-map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--cream-mid);
  background: var(--green-pale);
}

.below-map-card-lessons .below-map-card-header {
  background: var(--sky-pale);
}

.below-map-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.below-map-card-body {
  padding: 16px 20px 20px;
}

.below-map-card-scroll {
  max-height: 360px;
  overflow-y: auto;
}

.below-map-card-scroll::-webkit-scrollbar {
  width: 5px;
}

.below-map-card-scroll::-webkit-scrollbar-track {
  background: var(--cream-mid);
  border-radius: 3px;
}

.below-map-card-scroll::-webkit-scrollbar-thumb {
  background: var(--green-mid);
  border-radius: 3px;
}

/* Deal card inside below-map */
.below-map-card .deal-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}

.below-map-card .deal-card::before { display: none; }
.below-map-card .deal-card:hover { transform: none; box-shadow: none; }

.below-map-card .deal-card-header { margin-bottom: 8px; }
.below-map-card .deal-title { font-size: 0.95rem; }

.below-map-card .deal-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 10px;
}

.below-map-card .deal-insight {
  font-size: 0.8rem;
  padding: 10px 12px;
  border-radius: 8px;
}

/* Lessons inside below-map */
.below-map-card .lessons-plain {
  gap: 12px;
}

.below-map-card .lessons-plain li {
  font-size: 0.82rem;
  line-height: 1.65;
}

/* Sources — categorized list with links */
.sources-intro {
  font-size: 0.88rem;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.sources-category {
  margin-bottom: 18px;
}

.sources-category-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 8px;
  font-weight: 600;
}

.sources-plain {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sources-plain li {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.sources-plain li::marker {
  color: var(--green);
}

.sources-plain a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--trans);
}

.sources-plain a:hover {
  color: var(--green-mid);
  text-decoration: underline;
}

.sources-fav {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  margin-left: 6px;
  color: var(--coral) !important;
  opacity: 0.8;
}

.sources-fav:hover {
  opacity: 1;
  color: var(--coral) !important;
}

/* ═══════════════════════════════════════════════════════════
   EXPAND ICON (shared)
═══════════════════════════════════════════════════════════ */
.expand-icon {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--ink-faint);
  transition: transform var(--trans);
}

.expanded .expand-icon {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════
   TAGS (shared)
═══════════════════════════════════════════════════════════ */
.tag {
  font-size: 0.67rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid var(--green-light);
  font-weight: 500;
}

.tag-sky    { background: var(--sky-pale);    color: var(--sky);    border-color: #b0d8ee; }
.tag-coral  { background: var(--coral-pale);  color: var(--coral);  border-color: #f5c4b8; }
.tag-amber  { background: var(--amber-pale);  color: var(--amber);  border-color: #f0d49a; }
.tag-purple { background: var(--purple-pale); color: var(--purple); border-color: #ccc0ee; }
.tag-teal   { background: var(--teal-pale);   color: var(--teal);   border-color: #9fe0e8; }

/* ═══════════════════════════════════════════════════════════
   FIELD NOTES — DIARY LAYOUT
═══════════════════════════════════════════════════════════ */
.diary-section {
  padding: 120px 40px 80px;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--cream) 0%, var(--white) 40%, var(--green-pale) 100%);
  position: relative;
  overflow: hidden;
}

/* Faint ruled-paper lines */
.diary-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 38px,
    rgba(168,213,181,0.15) 38px,
    rgba(168,213,181,0.15) 39px
  );
  pointer-events: none;
}

/* Left margin line (journal feel) */
.diary-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 340px);
  width: 2px;
  background: rgba(232,103,77,0.12);
  pointer-events: none;
}

.diary-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Left side — hero text */
.diary-left {
  position: sticky;
  top: 120px;
}

.diary-hero-content {
  position: relative;
}

.diary-hero-content .section-label {
  justify-content: flex-start;
}

.diary-date {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
  opacity: 0.7;
}

.diary-title {
  font-family: var(--font-hand);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 18px;
}

.diary-subtitle {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--ink-dim);
  line-height: 1.7;
}

/* Scribble decorations */
.diary-scribble {
  position: absolute;
  font-family: var(--font-hand);
  color: var(--green-light);
  opacity: 0.35;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}

.diary-scribble-1 {
  top: -20px;
  right: -10px;
  font-size: 3rem;
  transform: rotate(-12deg);
}

.diary-scribble-2 {
  bottom: -30px;
  left: 40px;
  font-size: 2.5rem;
  transform: rotate(8deg);
}

.diary-scribble-3 {
  bottom: 40px;
  right: 20px;
  font-size: 1.8rem;
  transform: rotate(-5deg);
  color: var(--coral);
  opacity: 0.2;
}

/* Right side — tabbed content */
.diary-right {
  min-width: 0;
}

.diary-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 0;
}

.diary-tab {
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-dim);
  background: var(--cream-mid);
  border: 1.5px solid var(--cream-dark);
  border-radius: 24px;
  cursor: pointer;
  transition: all var(--trans);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.diary-tab-icon {
  font-size: 0.9rem;
}

.diary-tab:hover {
  color: var(--green);
  border-color: var(--green-light);
  background: var(--green-pale);
}

.diary-tab.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.diary-panel {
  display: none;
}

.diary-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   FIELD ARTICLES (Learning from the Field) — inside diary
═══════════════════════════════════════════════════════════ */
.field-article {
  background: linear-gradient(180deg, #faf8f2 0%, #f8f5ec 100%);
  border: none;
  border-left: 3px solid var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px 22px 28px;
  cursor: pointer;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans), background var(--trans);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.field-article::before {
  display: none;
}

.field-article:hover {
  border-left-color: var(--green);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  background: rgba(232,245,237,0.15);
}

.field-article-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.field-article-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.field-article-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.field-article-summary {
  font-size: 0.88rem;
  color: var(--ink-dim);
  line-height: 1.6;
}

.field-article-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease;
  opacity: 0;
}

.field-article.expanded .field-article-body {
  max-height: 2000px;
  opacity: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-dark);
}

.field-article-content {
  font-size: 0.9rem;
  color: var(--ink-dim);
  line-height: 1.85;
}

.field-article-content p {
  margin-bottom: 14px;
}

.field-article-content strong {
  color: var(--green);
  font-weight: 600;
}

.field-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

/* ═══════════════════════════════════════════════════════════
   CLASSROOM CARDS — inside diary tabs
═══════════════════════════════════════════════════════════ */
.classroom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.classroom-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}

.classroom-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--purple));
  border-radius: 4px 4px 0 0;
}

.classroom-card:hover {
  border-color: var(--sky-pale);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.classroom-icon { font-size: 1.8rem; margin-bottom: 14px; }

.classroom-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.classroom-learned {
  background: var(--sky-pale);
  border-left: 3px solid var(--sky);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.classroom-learned-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.classroom-learned p {
  font-size: 0.85rem;
  color: var(--ink-mid);
  line-height: 1.6;
  font-weight: 500;
}

.classroom-details {
  font-size: 0.84rem;
  color: var(--ink-dim);
  line-height: 1.75;
  margin-bottom: 14px;
}

.classroom-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ═══════════════════════════════════════════════════════════
   PEOPLE & PERSPECTIVES SOURCES — inside diary tabs
═══════════════════════════════════════════════════════════ */
.sources-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.source-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cream-dark);
  transition: background var(--trans);
}

.source-item:first-child { padding-top: 0; }
.source-item:last-child { border-bottom: none; }

.source-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.source-info { flex: 1; }

.source-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.source-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.source-type {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-why {
  font-size: 0.88rem;
  color: var(--ink-dim);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT HERO
═══════════════════════════════════════════════════════════ */
/* About page main layout — bio left, toggle right */
.about-main {
  padding: 110px 40px 40px;
  background: var(--white);
  min-height: 100vh;
}

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

.about-left {
  position: sticky;
  top: 100px;
}

.about-right {
  min-width: 0;
}

/* About toggle tabs */
.about-toggle-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.03);
  border-radius: var(--radius);
  padding: 3px;
  width: fit-content;
}

.about-toggle-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-dim);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--trans);
}

.about-toggle-tab svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.about-toggle-tab:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.6);
}

.about-toggle-tab.active {
  color: var(--green);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.about-toggle-panel {
  display: none;
}

.about-toggle-panel.active {
  display: block;
}

.about-panel-desc {
  font-size: 0.9rem;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Legacy — keep for hero rendering inside about-left */
.about-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 8px;
}

.about-tagline {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green);
  margin-bottom: 16px;
}

.about-bio {
  font-size: 1rem;
  color: var(--ink-dim);
  line-height: 1.85;
  text-align: justify;
}

.about-bio strong {
  color: var(--ink);
  font-weight: 600;
}

.about-photo-wrap {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: 280px;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--cream-mid);
  border: 2px solid var(--cream-dark);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--green-pale), var(--sky-pale));
}

.about-photo-placeholder span {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 700;
  color: var(--green);
  opacity: 0.4;
}

/* Explore my path button */
/* Hover hint for timeline */
.hover-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-family: var(--font-hand), cursive;
  font-size: 1rem;
  color: var(--green);
  letter-spacing: 0.01em;
  animation: gentle-pulse 2.5s ease-in-out infinite;
}

.squiggly-arrow {
  color: var(--green);
  display: inline-block;
  vertical-align: middle;
  animation: wiggle 1.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes gentle-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes wiggle {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(2px) rotate(2deg); }
  75% { transform: translateX(-1px) rotate(-1deg); }
}

/* ═══════════════════════════════════════════════════════════
   SQUIGGLY ROADMAP — alternating up/down, no scroll
═══════════════════════════════════════════════════════════ */
.rm-track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}

.rm-svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.rm-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.rm-area {
  height: 125px;
  display: flex;
  justify-content: center;
  padding: 0 2px;
}

.rm-area-top { align-items: flex-end; padding-bottom: 16px; }
.rm-area-bottom { align-items: flex-start; padding-top: 16px; }

/* ── Postage stamp dots ── */
.rm-dot {
  --p: 10px;   /* perforation spacing */
  --r: 3px;    /* perforation hole radius */
  width: 66px;
  height: 78px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--trans), filter var(--trans);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));

  /* Aged paper texture */
  background:
    repeating-linear-gradient(
      45deg,
      transparent, transparent 2px,
      rgba(139,119,90,0.04) 2px, rgba(139,119,90,0.04) 4px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent, transparent 3px,
      rgba(139,119,90,0.03) 3px, rgba(139,119,90,0.03) 5px
    ),
    linear-gradient(170deg, #f8f2e6 0%, #f0e6d2 30%, #f4ecda 60%, #ebe0ca 100%);

  /* Circular perforation cutouts on all 4 edges */
  -webkit-mask:
    radial-gradient(circle var(--r) at calc(var(--p)/2) 0,    #0000 97%, #000) calc(var(--p)/-2) 0 / var(--p) 100% repeat-x,
    radial-gradient(circle var(--r) at calc(var(--p)/2) 100%,  #0000 97%, #000) calc(var(--p)/-2) 0 / var(--p) 100% repeat-x,
    radial-gradient(circle var(--r) at 0    calc(var(--p)/2),  #0000 97%, #000) 0 calc(var(--p)/-2) / 100% var(--p) repeat-y,
    radial-gradient(circle var(--r) at 100% calc(var(--p)/2),  #0000 97%, #000) 0 calc(var(--p)/-2) / 100% var(--p) repeat-y;
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--r) at calc(var(--p)/2) 0,    #0000 97%, #000) calc(var(--p)/-2) 0 / var(--p) 100% repeat-x,
    radial-gradient(circle var(--r) at calc(var(--p)/2) 100%,  #0000 97%, #000) calc(var(--p)/-2) 0 / var(--p) 100% repeat-x,
    radial-gradient(circle var(--r) at 0    calc(var(--p)/2),  #0000 97%, #000) 0 calc(var(--p)/-2) / 100% var(--p) repeat-y,
    radial-gradient(circle var(--r) at 100% calc(var(--p)/2),  #0000 97%, #000) 0 calc(var(--p)/-2) / 100% var(--p) repeat-y;
  mask-composite: intersect;
}

/* Inner coloured frame — like real stamp print area */
.rm-dot::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid var(--green);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(58,125,86,0.06), transparent 70%),
    linear-gradient(180deg, var(--green-pale) 0%, rgba(232,245,237,0.5) 100%);
  z-index: -1;
  pointer-events: none;
}

.rm-item:hover .rm-dot {
  transform: scale(1.15) rotate(-3deg);
  filter: drop-shadow(0 6px 16px rgba(58,125,86,0.3));
}

/* Clickable stamp dots */
a.rm-dot-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.rm-dot-link:hover {
  transform: scale(1.2) rotate(-4deg);
  filter: drop-shadow(0 8px 20px rgba(58,125,86,0.4));
}
a.rm-dot-link::after {
  content: '↗';
  position: absolute;
  top: 3px;
  right: 5px;
  font-size: 0.55rem;
  opacity: 0.6;
  color: var(--ink-dim);
}

.rm-future-dot {
  background:
    repeating-linear-gradient(
      45deg,
      transparent, transparent 2px,
      rgba(139,119,90,0.04) 2px, rgba(139,119,90,0.04) 4px
    ),
    linear-gradient(170deg, #fdf8ef 0%, #f8f0de 50%, #f5ecd5 100%);
}

.rm-future-dot::before {
  border-color: var(--amber);
  border-style: dashed;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212,147,42,0.08), transparent 70%),
    linear-gradient(180deg, var(--amber-pale) 0%, rgba(253,240,217,0.5) 100%);
}

.rm-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.rm-emoji {
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

/* ── Stamp-style cards ── */
.rm-card {
  max-width: 120px;
  padding: 6px 8px;
  border: 1.5px dashed transparent;
  border-radius: 6px;
  transition: border-color var(--trans), background var(--trans), transform var(--trans);
}

/* Alternating tilts like stamps in a passport */
.rm-up .rm-card { transform: rotate(-1.5deg); }
.rm-down .rm-card { transform: rotate(1.5deg); }

.rm-item:hover .rm-card {
  border-color: var(--green-light);
  background: var(--green-pale);
  transform: rotate(0deg);
}

.rm-era {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 1px;
}

.rm-title {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}

.rm-why {
  font-size: 0.62rem;
  color: var(--ink-dim);
  line-height: 1.4;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.rm-item:hover .rm-why {
  max-height: 200px;
  opacity: 1;
}

.rm-future .rm-era { color: var(--amber); }
.rm-future .rm-title { color: var(--amber); font-style: italic; }
.rm-future .rm-why { color: var(--ink-faint); font-style: italic; }

/* ── Stamp color variants ── */
.rm-color-sky::before {
  border-color: var(--sky);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(61,139,181,0.06), transparent 70%),
    linear-gradient(180deg, var(--sky-pale) 0%, rgba(221,238,247,0.5) 100%);
}
.rm-color-sky ~ .rm-note,
.rm-item:has(.rm-color-sky):hover .rm-card { border-color: var(--sky-pale); background: var(--sky-pale); }
.rm-item:has(.rm-color-sky) .rm-era { color: var(--sky); }

.rm-color-coral::before {
  border-color: var(--coral);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232,103,77,0.06), transparent 70%),
    linear-gradient(180deg, var(--coral-pale) 0%, rgba(253,232,227,0.5) 100%);
}
.rm-item:has(.rm-color-coral):hover .rm-card { border-color: var(--coral-pale); background: var(--coral-pale); }
.rm-item:has(.rm-color-coral) .rm-era { color: var(--coral); }

.rm-color-amber::before {
  border-color: var(--amber);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212,147,42,0.06), transparent 70%),
    linear-gradient(180deg, var(--amber-pale) 0%, rgba(253,240,217,0.5) 100%);
}
.rm-item:has(.rm-color-amber):hover .rm-card { border-color: var(--amber-pale); background: var(--amber-pale); }
.rm-item:has(.rm-color-amber) .rm-era { color: var(--amber); }

.rm-color-purple::before {
  border-color: var(--purple);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(124,92,191,0.06), transparent 70%),
    linear-gradient(180deg, var(--purple-pale) 0%, rgba(237,232,248,0.5) 100%);
}
.rm-item:has(.rm-color-purple):hover .rm-card { border-color: var(--purple-pale); background: var(--purple-pale); }
.rm-item:has(.rm-color-purple) .rm-era { color: var(--purple); }

.rm-color-green::before {
  border-color: var(--green);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(58,125,86,0.06), transparent 70%),
    linear-gradient(180deg, var(--green-pale) 0%, rgba(232,245,237,0.5) 100%);
}

/* ── Coordinates label (travel flair) ── */
.rm-coords {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.38rem;
  color: var(--ink-faint);
  white-space: nowrap;
  z-index: 2;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

/* ── Handwritten pencil-margin annotations ── */
.rm-note {
  font-family: var(--font-hand), cursive;
  font-size: 0.72rem;
  color: #6b6b7a;
  z-index: 10;
  pointer-events: none;
  line-height: 1.15;
  opacity: 0.65;
  text-shadow: 0 0 0.5px rgba(60,60,80,0.2);
  max-width: 120px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.rm-note-down {
  transform: rotate(1.5deg);
  align-self: center;
  margin-top: auto;
}

.rm-note-up {
  transform: rotate(-1.5deg);
  align-self: center;
  margin-top: auto;
}

/* Squiggly arrow drawn with SVG in the note */
.rm-note-arrow {
  display: block;
  margin: 2px auto 0;
  opacity: 0.55;
}

.rm-note-arrow-up {
  display: block;
  margin: 0 auto 2px;
  opacity: 0.55;
  transform: rotate(180deg);
}

/* (old deal-scroll-wrap removed — deals now in hero overlay) */

/* ═══════════════════════════════════════════════════════════
   COMMUNITIES — 2+ column grid with logos
═══════════════════════════════════════════════════════════ */
.communities-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.community-photo {
  width: 280px;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--cream-mid);
  border: 2px solid var(--cream-dark);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--teal-pale), var(--purple-pale));
  font-size: 4rem;
}

.community-intro {
  font-size: 0.95rem;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.community-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}

.community-card:hover {
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.community-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--cream);
  padding: 4px;
}

.community-logo-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
}

.community-card-text { flex: 1; min-width: 0; }

.community-name {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.community-name a {
  color: var(--green);
  transition: color var(--trans);
}

.community-name a:hover { color: var(--green-mid); }

.community-desc {
  font-size: 0.76rem;
  color: var(--ink-dim);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT CTA
═══════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--green);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 50px 40px;
}

.contact-section em { color: var(--green-light); }
.contact-section .section-label { color: var(--green-light); }
.contact-section .section-label::before,
.contact-section .section-label::after { background: rgba(168,213,181,0.4); }

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.contact-inner { position: relative; z-index: 1; }

.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.85;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  color: var(--green);
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.contact-btn svg { width: 18px; height: 18px; }

.contact-btn:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.2);
}

.contact-btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  box-shadow: none;
}

.contact-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 22px 40px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer-inner .compass-icon { color: var(--green-mid); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-gap: 80px; }

  #navbar { padding: 0 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(250,247,240,0.97);
    border-bottom: 1px solid var(--cream-dark);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-overlay {
    padding: 80px 20px 30px;
    align-items: flex-start;
    background: linear-gradient(
      0deg,
      rgba(250,247,240,0.95) 0%,
      rgba(250,247,240,0.75) 60%,
      transparent 100%
    );
    justify-content: center;
    text-align: center;
  }

  .hero-stats   { margin: 0 auto 16px; }
  .hero-deal-spotlight { max-width: 100%; margin: 0 auto; }
  .hero-deal-header h3 { font-size: 0.9rem; }

  .map-legend     { bottom: 20px; right: 16px; }
  #below-map { padding: 30px 20px 50px; }
  .below-map-grid { grid-template-columns: 1fr; }
  .section        { padding: var(--section-gap) 20px; }
  .contact-links  { flex-direction: column; align-items: center; }
  .nav-cta        { display: none !important; }

  /* insights-grid removed */

  /* Diary layout stacks on mobile */
  .diary-section { padding: 100px 20px 60px; }
  .diary-section::after { display: none; }
  .diary-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .diary-left {
    position: static;
    text-align: center;
  }
  .diary-hero-content .section-label { justify-content: center; }
  .diary-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .diary-tab { white-space: nowrap; font-size: 0.76rem; padding: 8px 14px; }

  .about-main { padding: 100px 20px 40px; }
  .about-main-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-left { position: static; }
  .about-hero-inner { text-align: center; }

  .about-name { font-size: 3rem; }

  .communities-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .community-photo {
    width: 200px;
    height: 240px;
    margin: 0 auto;
  }

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

  .rm-area { height: 80px; }
  .rm-dot { width: 48px; height: 56px; --s: 6px; }
  .rm-dot::before { inset: 4px; }
  .rm-logo { width: 22px; height: 22px; }
  .rm-card { max-width: 100px; padding: 4px 6px; }
  .rm-era { font-size: 0.44rem; }
  .rm-title { font-size: 0.62rem; }
  .hero-deal-card .deal-desc { -webkit-line-clamp: 2; }
}

@media (max-width: 480px) {
  .hero-title  { font-size: 1.8rem; }
  .stat-num    { font-size: 1.7rem; }
}
