/* ============================================================
   FORTY ACRES — Complete CSS rebuild v2
   Fixes: nav, hero stats, progress bar, scroll link,
          portfolio cards, milestones, journal, footer
   ============================================================ */

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

:root {
  --slate-0:     #06080c;
  --slate-1:     #080c12;
  --slate-2:     #0d1219;
  --slate-3:     #131b25;
  --slate-4:     #1a2535;
  --slate-5:     #243347;
  --slate-6:     #334a66;
  --gold-0:      #6b5118;
  --gold-1:      #8a6820;
  --gold-2:      #b38a2e;
  --gold-3:      #c9a84c;
  --gold-4:      #dfc070;
  --gold-5:      #edd898;
  --cream:       #f0ead8;
  --cream-dim:   #d8d0ba;
  --cream-mute:  rgba(240,234,216,0.55);
  --cream-faint: rgba(240,234,216,0.18);
  --cream-ghost: rgba(240,234,216,0.07);
  --card-bg:     rgba(10,15,25,0.72);
  --card-border: rgba(201,168,76,0.18);
  --glass-bg:    rgba(6,9,15,0.9);
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-mono:   'DM Mono', monospace;
  --container:   1200px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --section-gap: 9rem;
}

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

body {
  background: var(--slate-1);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Grain ────────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.032; pointer-events: none; z-index: 999;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100%{ transform:translate(0,0) } 10%{ transform:translate(-2%,-3%) }
  20%{ transform:translate(3%,2%) } 30%{ transform:translate(-1%,4%) }
  40%{ transform:translate(2%,-1%) } 50%{ transform:translate(-3%,1%) }
  60%{ transform:translate(1%,3%) } 70%{ transform:translate(-2%,-2%) }
  80%{ transform:translate(3%,-3%) } 90%{ transform:translate(-1%,2%) }
}

/* ── Ticker ───────────────────────────────────────────────── */
.ticker-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  height: 32px; max-height: 32px;
  background: var(--slate-0);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  overflow: hidden; z-index: 300;
  white-space: nowrap;
}
.ticker {
  display: flex; width: max-content;
  white-space: nowrap; overflow: hidden;
  animation: ticker-scroll 55s linear infinite;
}
.ticker span {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--gold-3);
  white-space: nowrap; padding: 9px 0; text-transform: uppercase;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 32px; left: 0; right: 0;
  z-index: 200;
  background: rgba(7,11,18,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--cream-ghost);
  transition: background 0.3s var(--ease), border-color 0.3s;
}
.nav.scrolled {
  background: rgba(5,8,14,0.97);
  border-color: rgba(201,168,76,0.12);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 2rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--cream);
}
.nav-logo-mark { font-size: 1.1rem; }
.nav-logo-text {
  font-family: var(--font-serif); font-size: 1.05rem;
  font-weight: 600; letter-spacing: 0.02em;
}
.nav-links {
  display: flex; list-style: none;
  gap: 2rem; align-items: center;
}
.nav-link {
  text-decoration: none; font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream-mute); transition: color 0.2s;
}
.nav-link:hover { color: var(--cream); }
.nav-link-journal {
  color: var(--gold-3) !important;
  border: 1px solid rgba(201,168,76,0.28);
  padding: 0.3rem 0.85rem; border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-link-journal:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold-4) !important;
  border-color: rgba(201,168,76,0.45);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  /* ticker: 32px + nav: 60px = 92px top clearance */
  padding: 120px 1.5rem 100px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,37,53,0.8) 0%, var(--slate-1) 70%);
}

/* Orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px; top: -180px; left: -200px;
  background: radial-gradient(circle, rgba(26,37,53,0.7) 0%, transparent 70%);
  animation: orb1 22s ease-in-out infinite;
}
.hero-orb-2 {
  width: 550px; height: 550px; top: 40%; right: -120px;
  background: radial-gradient(circle, rgba(19,27,37,0.5) 0%, transparent 70%);
  animation: orb2 28s ease-in-out infinite;
}
.hero-orb-3 {
  width: 400px; height: 400px; bottom: -60px; left: 45%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  animation: orb3 18s ease-in-out infinite;
}
@keyframes orb1 {
  0%,100%{ transform:translate(0,0) scale(1) }
  33%{ transform:translate(50px,40px) scale(1.08) }
  66%{ transform:translate(-30px,60px) scale(0.96) }
}
@keyframes orb2 {
  0%,100%{ transform:translate(0,-50%) scale(1) }
  50%{ transform:translate(-50px,calc(-50% + 30px)) scale(1.06) }
}
@keyframes orb3 {
  0%,100%{ transform:translateX(-50%) scale(1) }
  50%{ transform:translateX(calc(-50% + 25px)) scale(1.1) }
}

/* Topo grid */
.hero-topo {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(26,37,53,0.12) 59px, rgba(26,37,53,0.12) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(26,37,53,0.08) 59px, rgba(26,37,53,0.08) 60px);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 860px; width: 100%;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 2rem;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold-3); border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100%{ opacity:1; transform:scale(1) }
  50%{ opacity:0.45; transform:scale(0.65) }
}

/* Hero title */
.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  line-height: 1.08; margin-bottom: 1.5rem;
  display: flex; flex-direction: column;
}
.hero-line {
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  color: var(--cream); display: block;
}
.hero-line-em {
  font-style: italic; color: var(--gold-4);
  font-size: clamp(3.2rem, 7.5vw, 6.7rem);
}

/* Hero sub */
.hero-sub {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream-mute); margin-bottom: 3.5rem;
}

/* Hero stats — FIXED: explicit 5-column grid */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.hero-stat { padding: 0 2rem; text-align: center; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--cream);
  line-height: 1; margin-bottom: 0.45rem;
}
.hero-stat-label {
  font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cream-mute);
}
/* FIXED divider — was nearly invisible */
.hero-stat-divider {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(240,234,216,0.22) 40%, rgba(240,234,216,0.22) 60%, transparent);
}

/* Hero progress — FIXED: 6px height */
.hero-progress {
  max-width: 560px; margin: 0 auto;
}
.hero-progress-track {
  position: relative; height: 6px;
  background: rgba(240,234,216,0.08);
  border-radius: 3px; overflow: visible;
  margin-bottom: 0.7rem;
}
.hero-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-4));
  border-radius: 3px; min-width: 6px;
  transition: width 2s var(--ease-out);
}
.hero-progress-glow {
  position: absolute; top: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: var(--gold-4); border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-3), 0 0 28px rgba(201,168,76,0.45);
  animation: glow-pulse 2s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100%{ box-shadow: 0 0 12px var(--gold-3), 0 0 28px rgba(201,168,76,0.45); }
  50%{ box-shadow: 0 0 20px var(--gold-4), 0 0 44px rgba(201,168,76,0.65); }
}
.hero-progress-labels {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.08em; color: var(--cream-faint);
}

/* Hero scroll — fixed: centered, not overlapping content */
a.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.4rem;
  color: var(--cream-mute) !important;
  text-decoration: none !important;
  font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; z-index: 2;
  transition: color 0.2s;
  white-space: nowrap;
}
a.hero-scroll:hover { color: var(--cream) !important; }
a.hero-scroll:link, a.hero-scroll:visited { color: var(--cream-mute) !important; }
.scroll-dot { animation: scroll-bob 1.6s ease-in-out infinite; }
@keyframes scroll-bob {
  0%,100%{ cy:8 } 50%{ cy:14 }
}

/* ── Shared ───────────────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 2.5rem; }

.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 0.9rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 700; color: var(--cream);
  line-height: 1.18; margin-bottom: 1rem;
}
.section-sub {
  color: var(--cream-mute); font-size: 0.95rem;
  max-width: 560px; margin: 0 auto; line-height: 1.75;
}

/* ── Mission ──────────────────────────────────────────────── */
.mission-section { background: var(--slate-2); }
.mission-layout {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 5rem; align-items: start;
}
.mission-left .section-eyebrow { display: block; margin-bottom: 0.9rem; }
.mission-left .section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  margin-bottom: 2.5rem;
}
.mission-quote {
  font-family: var(--font-serif); font-size: 1.1rem;
  font-style: italic; color: var(--gold-4);
  line-height: 1.65; border-left: 2px solid var(--gold-2);
  padding-left: 1.5rem;
}
.mission-quote cite {
  display: block; font-style: normal;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.08em; color: var(--cream-mute);
  margin-top: 0.75rem;
}
.mission-body {
  color: var(--cream-dim); font-size: 1rem;
  line-height: 1.85; margin-bottom: 1.5rem;
}
/* FIXED: mission stats as proper cards */
.mission-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.875rem; margin-top: 2.5rem;
}
.mission-stat-card {
  background: rgba(13,18,25,0.85);
  border: 1px solid var(--card-border);
  border-radius: 14px; padding: 1.4rem 1.5rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s;
}
.mission-stat-card:hover {
  border-color: rgba(201,168,76,0.38);
  transform: translateY(-2px);
}
.mission-stat-value {
  font-family: var(--font-serif); font-size: 1.55rem;
  font-weight: 700; color: var(--gold-4); margin-bottom: 0.25rem;
}
.mission-stat-label {
  font-size: 0.7rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--cream-mute);
}

/* ── Portfolio ────────────────────────────────────────────── */
.portfolio-section { background: var(--slate-1); }
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* FIXED: CSS animation instead of JS reveal-up */
@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.account-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px; padding: 2rem;
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.account-card:nth-child(1){ animation-delay: 0.05s }
.account-card:nth-child(2){ animation-delay: 0.12s }
.account-card:nth-child(3){ animation-delay: 0.19s }
.account-card:nth-child(4){ animation-delay: 0.26s }
.account-card:hover {
  border-color: rgba(201,168,76,0.32);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.account-type {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 0.35rem;
}
.account-name {
  font-family: var(--font-serif); font-size: 1.15rem;
  font-weight: 600; color: var(--cream); margin-bottom: 0.2rem;
}
.account-total {
  font-family: var(--font-serif); font-size: 2.1rem;
  font-weight: 700; color: var(--cream);
  line-height: 1; margin-bottom: 0.2rem;
}
.account-gain { font-size: 0.78rem; margin-bottom: 1.5rem; }
.account-gain.pos { color: #4ade80; }
.account-gain.neg { color: #f87171; }
.account-gain.neu { color: var(--cream-mute); }

.holdings-list { display: flex; flex-direction: column; gap: 0.35rem; }
.holding-row {
  display: grid;
  grid-template-columns: 52px 1fr 62px 58px;
  align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.7rem; border-radius: 9px;
  background: rgba(240,234,216,0.03);
  transition: background 0.2s;
}
.holding-row:hover { background: rgba(240,234,216,0.06); }
.holding-ticker {
  font-family: var(--font-mono); font-size: 0.78rem;
  font-weight: 500; color: var(--cream);
}
.holding-name {
  font-size: 0.77rem; color: var(--cream-mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.holding-value {
  font-family: var(--font-mono); font-size: 0.77rem;
  color: var(--cream); text-align: right;
}
.holding-pct {
  font-family: var(--font-mono); font-size: 0.73rem;
  text-align: right;
}
.holding-pct.pos { color: #4ade80; }
.holding-pct.neg { color: #f87171; }
.holding-pct.neu { color: var(--cream-mute); }
.account-cash {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(240,234,216,0.06);
  font-size: 0.78rem; color: var(--cream-mute);
  display: flex; justify-content: space-between; align-items: center;
}
.account-cash span:last-child {
  font-family: var(--font-mono); color: var(--cream);
}

/* ── Map ──────────────────────────────────────────────────── */
.map-section { background: var(--slate-2); }
.map-ui { display: flex; justify-content: center; margin-bottom: 2rem; }
.map-legend {
  display: flex; gap: 1.75rem; align-items: center;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 100px; padding: 0.6rem 1.5rem;
  backdrop-filter: blur(12px);
}
.legend-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.73rem; color: var(--cream-mute);
}
.legend-swatch { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.world-map-wrap {
  width: 100%; background: rgba(6,9,15,0.7);
  border: 1px solid var(--card-border); border-radius: 18px;
  overflow: hidden; margin-bottom: 3rem;
}
.world-map-wrap svg { display: block; width: 100%; }
.affordable-section { max-width: 780px; margin: 0 auto; }
.affordable-header { text-align: center; margin-bottom: 1.5rem; }
.affordable-header h3 {
  font-family: var(--font-serif); font-size: 1.25rem;
  font-weight: 600; color: var(--cream); margin-bottom: 0.25rem;
}
.affordable-header p { font-size: 0.82rem; color: var(--cream-mute); }
.affordable-header span { color: var(--gold-4); }
.affordable-list {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  justify-content: center;
}
/* FIXED: better contrast for affordable tags */
.affordable-tag {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  color: #6ee7a0;
  font-size: 0.72rem; font-family: var(--font-mono);
  padding: 0.28rem 0.75rem; border-radius: 100px;
}

/* Map tooltip */
.map-tooltip {
  position: fixed;
  background: rgba(6,9,15,0.96);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px); border-radius: 12px;
  padding: 0.85rem 1.1rem; font-size: 0.8rem;
  pointer-events: none; z-index: 500;
  opacity: 0; transition: opacity 0.15s; min-width: 160px;
}
.map-tooltip.visible { opacity: 1; }
.map-tooltip-name {
  font-family: var(--font-serif); font-size: 0.95rem;
  font-weight: 600; color: var(--cream); margin-bottom: 0.2rem;
}
.map-tooltip-price { color: var(--gold-4); }
.map-tooltip-status { color: var(--cream-mute); font-size: 0.7rem; margin-top: 0.2rem; }

/* ── Milestones — FIXED alignment ────────────────────────── */
.milestones-section { background: var(--slate-1); }
.milestones-track {
  max-width: 680px; margin: 0 auto;
  position: relative;
}
/* Vertical line — fixed positioning */
.milestones-track::before {
  content: '';
  position: absolute;
  left: 128px; top: 20px; bottom: 20px; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--card-border) 8%, var(--card-border) 92%, transparent);
}
@keyframes milestoneIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.milestone-item {
  display: grid;
  grid-template-columns: 120px 16px 1fr;
  align-items: center; gap: 1.5rem;
  padding: 1.1rem 0;
  animation: milestoneIn 0.4s var(--ease-out) both;
}
.milestone-item:nth-child(1){ animation-delay:0.05s }
.milestone-item:nth-child(2){ animation-delay:0.1s }
.milestone-item:nth-child(3){ animation-delay:0.15s }
.milestone-item:nth-child(4){ animation-delay:0.2s }
.milestone-item:nth-child(5){ animation-delay:0.25s }
.milestone-item:nth-child(6){ animation-delay:0.3s }
.milestone-item:nth-child(7){ animation-delay:0.35s }
.milestone-item:nth-child(8){ animation-delay:0.4s }
.milestone-item:nth-child(9){ animation-delay:0.45s }
.milestone-label {
  font-family: var(--font-mono); font-size: 0.83rem;
  color: var(--cream-mute); text-align: right;
  transition: color 0.3s;
}
.milestone-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--slate-4); border: 2px solid rgba(201,168,76,0.2);
  justify-self: center;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; z-index: 1;
}
.milestone-desc {
  font-size: 0.88rem; color: var(--cream-mute);
  transition: color 0.3s;
}
.milestone-item.reached .milestone-label { color: var(--gold-4); }
.milestone-item.reached .milestone-dot {
  background: var(--gold-3); border-color: var(--gold-4);
  box-shadow: 0 0 10px rgba(201,168,76,0.5);
}
.milestone-item.reached .milestone-desc { color: var(--cream); }
.milestone-item.current .milestone-dot {
  background: var(--gold-4); border-color: var(--gold-5);
  box-shadow: 0 0 0 5px rgba(201,168,76,0.12), 0 0 20px rgba(201,168,76,0.45);
  animation: milestone-pulse 2s ease-in-out infinite;
}
@keyframes milestone-pulse {
  0%,100%{ box-shadow: 0 0 0 5px rgba(201,168,76,0.12), 0 0 20px rgba(201,168,76,0.45); }
  50%{ box-shadow: 0 0 0 9px rgba(201,168,76,0.07), 0 0 32px rgba(201,168,76,0.55); }
}

/* ── Journal — FIXED equal heights ───────────────────────── */
.journal-section { background: var(--slate-2); }
.posts-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem; margin-bottom: 3rem;
  align-items: stretch;
}
.post-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 18px; padding: 2.25rem;
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.post-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
}
.post-card-featured {
  background: linear-gradient(140deg, rgba(20,44,22,0.75) 0%, rgba(10,26,12,0.75) 100%);
  border-color: rgba(201,168,76,0.22);
}
.post-card-tag {
  font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 0.35rem;
}
.post-card-date {
  font-size: 0.73rem; color: var(--cream-mute); margin-bottom: 1rem;
}
.post-card-title {
  font-family: var(--font-serif); font-size: 1.25rem;
  font-weight: 600; color: var(--cream);
  line-height: 1.4; margin-bottom: 0.85rem;
}
.post-card-excerpt {
  font-size: 0.85rem; color: var(--cream-mute);
  line-height: 1.75; flex: 1; margin-bottom: 1.5rem;
}
.post-card-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--gold-3); text-decoration: none;
  margin-top: auto;
  transition: color 0.2s, gap 0.2s;
}
.post-card-link:hover { color: var(--gold-4); gap: 0.7rem; }
.journal-cta { text-align: center; }

/* ── Button ───────────────────────────────────────────────── */
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cream-mute);
  text-decoration: none;
  border: 1px solid var(--cream-faint); border-radius: 6px;
  padding: 0.75rem 1.75rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  color: var(--cream); border-color: rgba(240,234,216,0.28);
  background: rgba(240,234,216,0.05);
}

/* ── Footer — FIXED nav layout ───────────────────────────── */
.footer {
  background: var(--slate-0);
  border-top: 1px solid rgba(240,234,216,0.06);
  padding: 5rem 0 2.5rem;
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 4rem;
  margin-bottom: 3.5rem; padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(240,234,216,0.06);
}
.footer-logo {
  font-family: var(--font-serif); font-size: 1.15rem;
  font-weight: 600; color: var(--cream); margin-bottom: 0.75rem;
}
.footer-desc { font-size: 0.83rem; color: var(--cream-mute); line-height: 1.75; }
.footer-nav { display: flex; gap: 4rem; }
.footer-nav-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav-head {
  font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold-3); margin-bottom: 0.2rem;
}
.footer-nav-col a {
  font-size: 0.83rem; color: var(--cream-mute);
  text-decoration: none; transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap;
}
/* FIXED: footer legal text contrast */
.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(240,234,216,0.3);
  line-height: 1.6;
}
.footer-copy { color: rgba(240,234,216,0.45) !important; }

/* ── Scroll reveal — simplified ───────────────────────────── */
.reveal-up {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .mission-layout { grid-template-columns: 1fr; gap: 3rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 2.5rem; }
  .milestones-track::before { left: 88px; }
  .milestone-item { grid-template-columns: 80px 16px 1fr; }
}
@media (max-width: 640px) {
  :root { --section-gap: 5rem; }

  /* Ticker — force single line, no wrap */
  .ticker-wrap { height: 28px; max-height: 28px; }
  .ticker span { font-size: 9px; padding: 7px 0; }

  /* Nav — sits below 28px ticker */
  .nav { top: 28px; }
  .nav-inner { height: 52px; padding: 0 1.25rem; }
  .nav-logo-text { font-size: 0.95rem; }
  .nav-links { gap: 0.85rem; }
  .nav-link { font-size: 0.68rem; letter-spacing: 0.06em; }
  .nav-link-journal { padding: 0.25rem 0.6rem; }

  /* Hero */
  .hero { padding: 140px 1.25rem 90px; }
  .hero-line { font-size: clamp(2.6rem, 11vw, 3.5rem); }

  /* Hide scroll mouse on mobile — too much clutter */
  a.hero-scroll { display: none; }

  /* Hero stats: single column, no dividers */
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 100%;
  }
  .hero-stat-divider { display: none; }
  .hero-stat-num { font-size: 2rem; }

  /* Progress bar */
  .hero-progress { max-width: 100%; }

  /* Portfolio cards */
  .accounts-grid { grid-template-columns: 1fr; }
  .holding-row { grid-template-columns: 48px 1fr 58px 52px; gap: 0.25rem; }
  .holding-name { font-size: 0.7rem; }

  /* Mission */
  .mission-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .mission-stats { grid-template-columns: 1fr 1fr; }
  .mission-stat-value { font-size: 1.2rem; }

  /* Milestones */
  .milestones-track::before { left: 70px; }
  .milestone-item { grid-template-columns: 62px 14px 1fr; gap: 1rem; }
  .milestone-label { font-size: 0.72rem; }
  .milestone-desc { font-size: 0.78rem; }

  /* Section headers */
  .section-title { font-size: 1.65rem; }

  /* Journal */
  .posts-grid { grid-template-columns: 1fr; }
  .post-card { padding: 1.75rem; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-nav { gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--slate-1); }
::-webkit-scrollbar-thumb { background: var(--slate-4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-5); }
::selection { background: rgba(201,168,76,0.22); color: var(--cream); }
