/* === BASE === */
:root {
  --bg: #F5F0E8;
  --bg-alt: #EDE7DB;
  --fg: #111110;
  --fg-muted: #6B6760;
  --fg-faint: #A09D97;
  --accent: #C8943A;
  --accent-dark: #A67720;
  --accent-light: #F0E4C8;
  --forest: #274535;
  --forest-light: #3D6450;
  --border: #D8D0C4;
  --border-light: #EAE4DA;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  line-height: 1.15;
}

/* === HERO === */
.hero {
  padding: 96px 64px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(200, 148, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.6rem, 4vw, 4rem);
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

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

/* Lot Grid */
.hero-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lot-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.lot {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--border-light);
  border: 1.5px solid var(--border);
  position: relative;
  transition: transform 0.2s ease;
}

.lot:hover { transform: scale(1.04); }

.lot-owned {
  background: var(--accent-light);
  border-color: var(--accent);
}

.lot-accumulating {
  background: #F5E5C0;
  border-color: #D4A84A;
  animation: pulse-subtle 3s ease-in-out infinite;
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.lot-label {
  position: absolute;
  bottom: 3px;
  right: 4px;
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
  opacity: 0.7;
}

.grid-legend {
  display: flex;
  gap: 24px;
  padding-left: 4px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.legend-owned { background: var(--accent-light); border: 1.5px solid var(--accent); }
.legend-accumulating { background: #F5E5C0; border: 1.5px solid #D4A84A; }
.legend-vacant { background: var(--bg-alt); border: 1.5px solid var(--border); }

/* Hero Stats */
.hero-stats {
  max-width: 1200px;
  margin: 72px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 48px;
}

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: 2.4rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-right: 48px;
  flex-shrink: 0;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--fg);
  color: #F5F0E8;
  padding: 96px 64px;
}

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

.manifesto-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.manifesto-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #F5F0E8;
  margin-bottom: 48px;
  max-width: 780px;
  line-height: 1.25;
}

.manifesto-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.manifesto-col p {
  font-size: 1rem;
  color: #C8C3BB;
  line-height: 1.75;
  margin-bottom: 16px;
}

.manifesto-col p:last-child { margin-bottom: 0; }

.manifesto-callout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(200, 148, 58, 0.1);
  border: 1px solid rgba(200, 148, 58, 0.3);
  border-radius: 4px;
}

.callout-bar {
  width: 3px;
  min-height: 40px;
  background: var(--accent);
  flex-shrink: 0;
  border-radius: 2px;
}

.callout-text {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #F5F0E8;
  line-height: 1.5;
}

/* === MECHANISM === */
.mechanism {
  padding: 96px 64px;
  background: var(--bg-alt);
}

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

.mech-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.mech-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}

.mech-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 64px;
  line-height: 1.65;
}

.mech-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}

.mech-step {
  flex: 1;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.step-icon {
  margin-bottom: 16px;
  opacity: 0.9;
}

.step-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

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

.mech-arrow {
  flex-shrink: 0;
  padding: 0 16px;
  opacity: 0.5;
}

/* Dashboard Tease */
.mech-dashboard-tease {
  max-width: 360px;
  margin: 0 auto;
  padding: 28px 32px;
  background: var(--fg);
  border-radius: 8px;
  color: #F5F0E8;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.dash-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A09D97;
}

.dash-value {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  color: var(--accent);
}

.dash-bar {
  height: 8px;
  background: #2A2A28;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.dash-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 4px;
  transition: width 1s ease;
}

.dash-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #A09D97;
}

/* === PHASES === */
.phases {
  padding: 96px 64px;
  background: var(--bg);
}

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

.phases-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.phases-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 64px;
  max-width: 600px;
}

.phase-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.phase {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.phase:first-child { border-top: 1px solid var(--border); }

.phase-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  padding-top: 4px;
}

.phase-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}

.phase-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* === CLOSING === */
.closing {
  padding: 96px 64px;
  background: var(--forest);
  color: #F5F0E8;
}

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

.closing-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #F5F0E8;
  margin-bottom: 32px;
  line-height: 1.2;
}

.closing-body {
  font-size: 1.1rem;
  color: #C8C3BB;
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.closing-quote {
  padding: 32px 40px;
  border-left: 3px solid var(--accent);
}

.closing-quote blockquote {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #F5F0E8;
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  padding: 40px 64px;
  background: var(--fg);
  color: #F5F0E8;
}

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

.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  color: #F5F0E8;
  display: block;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: #6B6760;
}

.footer-links {
  font-size: 0.85rem;
  color: #6B6760;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero { padding: 72px 32px 64px; }
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .manifesto-body { grid-template-columns: 1fr; }
  .mech-flow { flex-direction: column; gap: 16px; }
  .mech-arrow { transform: rotate(90deg); padding: 8px 0; }
  .manifesto { padding: 72px 32px; }
  .mechanism { padding: 72px 32px; }
  .phases { padding: 72px 32px; }
  .closing { padding: 72px 32px; }
  .footer { padding: 40px 32px; }
}

@media (max-width: 600px) {
  .hero { padding: 56px 24px 48px; }
  .manifesto { padding: 56px 24px; }
  .mechanism { padding: 56px 24px; }
  .phases { padding: 56px 24px; }
  .closing { padding: 56px 24px; }
  .footer { padding: 32px 24px; }
  .phase { grid-template-columns: 48px 1fr; gap: 16px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 24px; align-items: flex-start; }
}

/* === ANIMATIONS === */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--fg-faint); }

/* Selection */
::selection { background: var(--accent-light); color: var(--fg); }
