:root {
  --bg: #F5F0E8;
  --ink: #1A1713;
  --ink-soft: #5C5651;
  --amber: #C48B28;
  --amber-light: #E8C87A;
  --amber-dim: rgba(196, 139, 40, 0.12);
  --warm-border: rgba(26, 23, 19, 0.1);
  --card-bg: #EDE8DE;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  border-bottom: 1px solid var(--warm-border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
}

.nav-link:hover {
  color: var(--ink);
  border-bottom-color: var(--amber);
}

/* Floating Timeline Button */
.fab-timeline {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--bg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(26, 23, 19, 0.25);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.fab-timeline:hover {
  background: var(--amber);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 139, 40, 0.3);
}

/* Hero */
.hero {
  padding: 8rem 4rem 7rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: -5%;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at top right, var(--amber-dim) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 2.5rem;
  max-width: 14ch;
}

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

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta {
  margin-bottom: 2.5rem;
}

.btn-timeline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--bg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn-timeline:hover {
  background: var(--amber);
  color: var(--bg);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

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

/* Section commons */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Ingestion */
.ingestion {
  padding: 7rem 4rem;
  border-top: 1px solid var(--warm-border);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.format-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--warm-border);
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color 0.2s, color 0.2s;
}

.format-item:hover {
  border-color: var(--amber);
  color: var(--ink);
}

.format-icon {
  color: var(--amber);
  flex-shrink: 0;
}

/* Features */
.features {
  padding: 7rem 4rem;
  background: var(--ink);
  color: var(--bg);
}

.features .section-label {
  color: var(--amber-light);
}

.features .section-title {
  color: var(--bg);
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.1);
}

.feature-card {
  padding: 3rem 2.5rem;
  background: var(--ink);
  transition: background 0.2s;
}

.feature-card:hover {
  background: #252220;
}

.feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.15);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--bg);
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.7;
  font-weight: 300;
}

/* Discovery */
.discovery {
  padding: 7rem 4rem;
  border-top: 1px solid var(--warm-border);
  background: var(--bg);
}

.discovery-inner {
  max-width: 1200px;
}

.discovery-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 3rem;
  max-width: 18ch;
  line-height: 1.2;
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.discovery-item {
  padding: 2rem;
  border: 1px solid var(--warm-border);
  border-radius: 2px;
  background: var(--card-bg);
}

.discovery-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  padding: 0.3rem 0.7rem;
  border-radius: 1px;
  margin-bottom: 1rem;
}

.discovery-item p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
}

/* Closing */
.closing {
  padding: 10rem 4rem;
  background: var(--ink);
  text-align: center;
}

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

.closing-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--bg);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.45);
  line-height: 1.7;
  font-weight: 300;
}

/* Footer */
.footer {
  padding: 2.5rem 4rem;
  border-top: 1px solid var(--warm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 1.5rem 2rem; }
  .hero { padding: 5rem 2rem 4rem; }
  .hero::before { display: none; }
  .ingestion, .features, .discovery { padding: 5rem 2rem; }
  .closing { padding: 6rem 2rem; }
  .footer { padding: 2rem; flex-direction: column; gap: 0.5rem; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .discovery-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 2rem; }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 3rem; }
  .format-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; }
  .stat-divider { display: none; }
}