/* ── Variables ── */
:root {
  --bg: #f7f3ea;
  --bg-alt: #edebe2;
  --green: #1a3a2a;
  --green-light: #2c5a42;
  --green-subtle: #e8ede9;
  --gold: #c9a84c;
  --gold-light: #dfc57a;
  --ink: #1a1814;
  --ink-soft: #4a4540;
  --ink-muted: #8a857e;
  --border: #d8d4c8;
  --white: #ffffff;
}

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

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

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── Section Shared ── */
.section-label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header { margin-bottom: 3rem; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 600px;
  line-height: 1.75;
}

/* ── HERO ── */
.hero {
  background: var(--green);
  color: var(--bg);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  padding: 5rem 4rem 4rem;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 79px,
    rgba(201,168,76,0.06) 79px,
    rgba(201,168,76,0.06) 80px
  );
  pointer-events: none;
}

.hero-number {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.stat-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.stat-figure {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 1;
  color: var(--bg);
}

.stat-unit {
  font-size: 0.45em;
  vertical-align: super;
  color: var(--gold);
}

.stat-meta {
  font-size: 0.7rem;
  color: rgba(247,243,234,0.45);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.hero-copy { position: relative; }

.hero-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--bg);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(247,243,234,0.75);
  line-height: 1.8;
  max-width: 480px;
}

.hero-visual { display: flex; align-items: center; justify-content: flex-end; position: relative; }

/* ── Folio Mockup ── */
.folio-mockup {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
}

.folio-spine {
  width: 8px;
  background: linear-gradient(180deg, #7a5c28 0%, #c9a84c 40%, #9a7430 100%);
  border-radius: 2px 0 0 2px;
}

.folio-pages {
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform: perspective(800px) rotateY(-8deg);
  transform-origin: right center;
}

.folio-page {
  background: #f5f0e4;
  padding: 0.6rem 0.75rem;
  border-radius: 0 2px 2px 0;
  min-width: 180px;
  border-left: 3px solid var(--gold);
  opacity: 0.5;
}

.folio-page--active {
  opacity: 1;
  border-left-color: var(--green);
  background: #fff;
}

.folio-page--dim { opacity: 0.25; border-left-color: var(--border); }

.page-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.page-lines { display: flex; flex-direction: column; gap: 3px; }
.page-lines span {
  height: 1.5px;
  background: var(--border);
  border-radius: 1px;
  display: block;
}
.page-lines span:nth-child(1) { width: 70%; }
.page-lines span:nth-child(2) { width: 55%; }
.page-lines span:nth-child(3) { width: 40%; }

.folio-hash {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0.4rem;
  justify-content: center;
  background: rgba(201,168,76,0.12);
  border-radius: 0 2px 2px 0;
}

.hash-label {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hash-value {
  font-size: 0.55rem;
  color: rgba(247,243,234,0.5);
  font-family: monospace;
  line-height: 1.5;
}

/* ── FOLIO SECTION ── */
.folio-section {
  padding: 7rem 4rem;
  background: var(--bg);
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.chapter-card {
  background: var(--bg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}

.chapter-card:hover { background: var(--green-subtle); }

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

.chapter-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
}

.chapter-desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ── TRANSPARENCY SECTION ── */
.transparency-section {
  padding: 6rem 4rem;
  background: var(--green);
  color: var(--bg);
}

.transparency-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.transparency-header { }

.transparency-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--bg);
  margin-bottom: 1rem;
}

.transparency-desc {
  font-size: 1rem;
  color: rgba(247,243,234,0.7);
  line-height: 1.8;
}

.ledger-block {
  background: rgba(247,243,234,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  overflow: hidden;
}

.ledger-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  align-items: center;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(247,243,234,0.08);
}

.ledger-row--header {
  background: rgba(201,168,76,0.15);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.6);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
}

.live-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--green);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 600;
}

.ledger-date {
  color: rgba(247,243,234,0.4);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.ledger-entry { color: rgba(247,243,234,0.85); }

.ledger-initials {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.ledger-row--footer {
  border-bottom: none;
  background: rgba(247,243,234,0.04);
  font-size: 0.7rem;
  color: rgba(247,243,234,0.3);
}

.hash-badge {
  font-family: monospace;
  font-size: 0.65rem;
  color: rgba(201,168,76,0.6);
}

.transparency-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 2rem;
}

.trust-stat {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(247,243,234,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-figure {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}

.trust-label {
  font-size: 0.8rem;
  color: rgba(247,243,234,0.55);
  line-height: 1.5;
}

.trust-label em { color: rgba(247,243,234,0.35); font-style: normal; }

/* ── TIERS SECTION ── */
.tiers-section {
  padding: 7rem 4rem;
  background: var(--bg-alt);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tier-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s;
}

.tier-card:hover { border-color: var(--green); }

.tier-card--accent {
  background: var(--green);
  border-color: var(--green);
}

.tier-card--accent .tier-marker { color: var(--gold); }
.tier-card--accent .tier-name { color: var(--bg); }
.tier-card--accent .tier-range { color: var(--gold-light); }
.tier-card--accent .tier-desc { color: rgba(247,243,234,0.7); }

.tier-marker {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.tier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
}

.tier-range {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-light);
  letter-spacing: 0.05em;
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 0.5rem;
}

/* ── APPROACH SECTION ── */
.approach-section {
  padding: 7rem 4rem;
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  padding: 0 2rem 0 0;
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.step-body {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.step-duration {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ── CLOSING ── */
.closing-section {
  background: var(--green);
  color: var(--bg);
  padding: 8rem 4rem;
  text-align: center;
}

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

.closing-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--bg);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.closing-headline em { color: var(--gold-light); font-style: italic; }

.closing-sub {
  font-size: 1.1rem;
  color: rgba(247,243,234,0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.closing-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(247,243,234,0.4);
}

.closing-sep { color: var(--gold); }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  color: rgba(247,243,234,0.4);
  padding: 3rem 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bg);
}

.footer-est {
  font-size: 0.7rem;
  color: rgba(247,243,234,0.3);
  letter-spacing: 0.05em;
}

.footer-disclaimer p {
  font-size: 0.72rem;
  line-height: 1.65;
  color: rgba(247,243,234,0.25);
}

.footer-meta {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-visual { display: none; }

  .chapters-grid { grid-template-columns: repeat(2, 1fr); }

  .transparency-inner { grid-template-columns: 1fr; gap: 3rem; }
  .transparency-aside { position: static; }

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

  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }

  .folio-section,
  .transparency-section,
  .tiers-section,
  .approach-section,
  .closing-section { padding: 4rem 1.5rem; }

  .site-footer { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .chapters-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}