:root {
  --ink: #0f1a14;
  --cream: #f5f0e8;
  --sage: #3d6b52;
  --sage-light: #5a8f6e;
  --gold: #c8a96e;
  --rust: #b85c38;
  --paper: #faf7f2;
  --muted: #7a7a6e;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(61,107,82,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(200,169,110,0.15) 0%, transparent 60%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

nav {
  position: relative;
  z-index: 10;
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.logo-wordmark span { color: var(--gold); }

.nav-cta {
  margin-left: auto;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.75; }

.hero-body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 2rem;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  background: rgba(61,107,82,0.4);
  border: 1px solid rgba(61,107,82,0.6);
  color: #8fcca8;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  width: fit-content;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(245,240,232,0.6);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: var(--cream);
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--sage-light); }

.btn-primary.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(245,240,232,0.7);
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--cream);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(245,240,232,0.45);
  margin-top: 0.2rem;
}

.hero-footer {
  position: relative;
  z-index: 10;
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(245,240,232,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.hero-footer::before {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

/* ─── SECTION BASE ─── */
section {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

h2 em {
  font-style: italic;
  color: var(--sage);
}

/* ─── CONCEPT ─── */
.concept { background: var(--cream); }

.concept > section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.concept-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a3a32;
  margin-bottom: 1.2rem;
}

.concept-callout {
  background: var(--ink);
  color: var(--cream);
  padding: 2.5rem;
  border-radius: 4px;
  margin-top: 2rem;
}

.concept-callout p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.8);
  font-style: italic;
}

.concept-callout strong {
  color: var(--gold);
  font-style: normal;
}

.market-numbers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 4rem;
}

.market-card {
  border: 1px solid #ddd5c4;
  border-radius: 4px;
  padding: 1.8rem;
  background: white;
}

.market-card .big {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.market-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── FEATURES ─── */
.features-section {
  background: var(--paper);
  border-top: 1px solid #e5ddd0;
  border-bottom: 1px solid #e5ddd0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid #e5ddd0;
  border-radius: 6px;
  overflow: hidden;
}

.feature-card {
  padding: 2.5rem;
  border-right: 1px solid #e5ddd0;
  border-bottom: 1px solid #e5ddd0;
  background: white;
  transition: background 0.2s;
}

.feature-card:hover { background: #fdfaf5; }
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-last-child(-n+3) { border-bottom: none; }

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.5rem;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg { width: 20px; height: 20px; }

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.feature-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

/* ─── CTA ─── */
.cta-section {
  background: var(--sage);
  text-align: center;
}

.cta-section h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-section p {
  color: rgba(245,240,232,0.75);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.cta-section .btn-primary:hover { background: #d9bb82; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .logo-wordmark { font-size: 1.1rem; }

footer p {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.3);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-body > * {
  animation: fadeUp 0.8s ease both;
}
.hero-body > *:nth-child(1) { animation-delay: 0.1s; }
.hero-body > *:nth-child(2) { animation-delay: 0.25s; }
.hero-body > *:nth-child(3) { animation-delay: 0.4s; }
.hero-body > *:nth-child(4) { animation-delay: 0.5s; }
.hero-body > *:nth-child(5) { animation-delay: 0.6s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1.5rem 2rem; }
  .hero-body { padding: 3rem 2rem 2rem; }
  .hero-footer { padding: 1.5rem 2rem; }
  .hero-stats { gap: 2rem; }

  .concept > section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .market-numbers { position: static; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(2n) { border-right: none; }
  .feature-card:nth-child(3n) { border-right: 1px solid #e5ddd0; }

  section { padding: 4rem 2rem; }

  footer { padding: 2rem; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none !important; }
}
