/* ==========================================================
   LLC Launchpad — Site 8 — emerald-finance
   Forest green + cream + brass | Lora serif H1 + Inter body
   Heritage / boutique financial advisor feel
   ========================================================== */

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

:root {
  --bg: #fbf8f1;
  --text: #0f2a1f;
  --accent: #1e5e3c;
  --accent-deep: #143f29;
  --accent-soft: #2a7a4f;
  --muted: #6b7568;
  --surface: #eef2e8;
  --brass: #a98548;
  --brass-soft: #c8a26a;
  --line: #d8d3c2;
  --heading-font: 'Lora', Georgia, 'Times New Roman', serif;
  --body-font: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1140px;
  --radius: 4px;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--body-font);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  /* Paper-textured cream background using SVG noise + radial wash */
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at top left, rgba(169,133,72,0.06), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(30,94,60,0.05), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.66  0 0 0 0 0.55  0 0 0 0 0.32  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-attachment: fixed, fixed, fixed;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); text-decoration-color: var(--accent-deep); }

/* ===== HEADER ===== */
.site-header {
  background: var(--accent);
  color: #f4ead4;
  border-bottom: 4px solid var(--brass);
  position: relative;
}
.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--brass-soft);
  opacity: 0.6;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-block img { height: 56px; width: auto; }
.brand-text {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #f7eed8;
  font-weight: 600;
}
.brand-rule {
  width: 1px;
  height: 36px;
  background: rgba(247,238,216,0.35);
}
.brand-tag {
  font-family: var(--body-font);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.site-nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  display: inline-block;
  padding: 8px 14px;
  color: #f4ead4;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.site-nav a:hover { border-bottom-color: var(--brass-soft); }
.site-nav a.active {
  border-bottom-color: var(--brass);
  color: #fff;
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 28px 50px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--body-font);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
  display: inline-block;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 10px;
}
.hero h1 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  color: var(--accent-deep);
}
.hero p.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0;
  max-width: 56ch;
  line-height: 1.6;
}
.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px -22px rgba(15,42,31,0.4);
}
.hero-image::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 0;
}
.hero-image img { position: relative; z-index: 1; }

/* ===== MAIN BODY ===== */
main { padding: 0; }
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 28px;
}
.section.narrow { max-width: 880px; }

.section h2 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--accent-deep);
}
.section h2 + .h2-rule {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--brass);
  margin: 0 0 22px;
}
.section h3 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 26px 0 10px;
  color: var(--accent-deep);
}
.section p {
  margin: 0 0 16px;
  color: var(--text);
}

.brass-divider {
  border: 0;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.brass-divider::before, .brass-divider::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}
.brass-divider::before { left: 28px; }
.brass-divider::after { right: 28px; }

/* Inline figures */
figure.inline {
  margin: 32px auto;
  max-width: 880px;
}
figure.inline img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
figure.inline figcaption {
  font-family: var(--body-font);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* Pull-quote / heritage panel */
.heritage-panel {
  background: var(--surface);
  border-left: 4px solid var(--brass);
  padding: 28px 32px;
  margin: 36px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.heritage-panel p {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--accent-deep);
  font-style: italic;
  margin: 0;
}
.heritage-panel cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Ledger list — numbered checkpoint feel */
ol.ledger {
  list-style: none;
  counter-reset: ledger;
  padding: 0;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
ol.ledger li {
  counter-increment: ledger;
  padding: 18px 0 18px 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
ol.ledger li::before {
  content: counter(ledger, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.05em;
}
ol.ledger li strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.08rem;
  color: var(--accent-deep);
  margin-bottom: 4px;
  font-weight: 600;
}

ul.tick {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}
ul.tick li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
ul.tick li:last-child { border-bottom: none; }
ul.tick li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}

/* Two-column note row */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 28px 0;
}
.two-col .col {
  background: rgba(238,242,232,0.7);
  border: 1px solid var(--line);
  padding: 24px 26px;
  border-radius: var(--radius);
}
.two-col .col h3 {
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 8px;
  display: inline-block;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--accent-deep);
  color: #d9e7df;
  border-top: 4px solid var(--brass);
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 28px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}
.footer-brand .name {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  color: #f7eed8;
  margin: 0 0 8px;
  font-weight: 600;
}
.footer-brand p { margin: 0 0 12px; color: #c4d4cb; max-width: 38ch; }
.footer-brand .copyright {
  font-size: 0.82rem;
  color: #91a59a;
  letter-spacing: 0.04em;
  margin-top: 18px;
  border-top: 1px solid rgba(169,133,72,0.4);
  padding-top: 14px;
}
.footer-pages h4 {
  font-family: var(--heading-font);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-pages ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-pages li { margin-bottom: 8px; }
.footer-pages a {
  color: #d9e7df;
  text-decoration: none;
  font-size: 0.96rem;
}
.footer-pages a:hover { color: var(--brass-soft); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { padding: 14px 18px; gap: 12px; }
  .brand-block img { height: 44px; }
  .brand-rule, .brand-tag { display: none; }
  .site-nav { width: 100%; overflow-x: auto; }
  .site-nav ul { flex-wrap: nowrap; }
  .site-nav a { white-space: nowrap; padding: 6px 10px; font-size: 0.88rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 18px 32px;
  }
  .hero-image::before { display: none; }
  .hero-image img { height: 240px; }

  .section { padding: 36px 18px; }
  .section h2 { font-size: 1.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 18px; }
  figure.inline img { height: 220px; }
  .footer-inner { grid-template-columns: 1fr; padding: 36px 18px 18px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.7rem; }
  .section h2 { font-size: 1.3rem; }
  .heritage-panel { padding: 20px 22px; }
  .heritage-panel p { font-size: 1.05rem; }
  ol.ledger li { padding-left: 48px; }
}
