:root {
  --deep: #161a10;      /* olive-black from the logo */
  --accent: #8a6a32;      /* deep gold accent */
  --sand: #e6d3a3;      /* cream gold */
  --gold: #c9a35c;      /* logo gold */
  --stone: #23261c;     /* dark rock */
  --foam: #f6f1e4;      /* parchment */
  --muted: #5d5f52;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone);
  background: var(--foam);
  overflow-x: hidden;
}

h1, h2, h3, .num { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; line-height: 1.1; font-variant-numeric: lining-nums; }

a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Hero */
.hero {
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(18, 21, 12, .9) 0%, rgba(18, 21, 12, .62) 45%, rgba(18, 21, 12, .12) 80%),
    linear-gradient(to top, rgba(18, 21, 12, .6), transparent 40%),
    url("hero.jpg") center / cover no-repeat var(--deep);
}

@media (max-width: 719px) {
  .hero {
    min-height: 88vh;
    background:
      linear-gradient(rgba(18, 21, 12, .74), rgba(18, 21, 12, .74)),
      url("hero.jpg") 30% center / cover no-repeat var(--deep);
  }
}

.nav { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 1.5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
.brand img { display: block; height: 76px; width: auto; }
@media (max-width: 719px) { .brand { font-size: 1.1rem; gap: 10px; } .brand img { height: 58px; } }
.nav-link { text-decoration: none; font-weight: 500; opacity: .9; }
.nav-link:hover { opacity: 1; text-decoration: underline; }

.hero-copy { margin-top: auto; margin-bottom: auto; padding-top: 40px; padding-bottom: 64px; }
.hero-guide { margin-top: 40px; }
@media (min-width: 960px) {
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: center; }
  .hero-guide { margin-top: 0; }
}
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); max-width: 15ch; margin: 12px 0 18px; }
.lede { font-size: 1.15rem; max-width: 34ch; opacity: .92; margin-bottom: 30px; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.eyebrow.dark { color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--stone);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
  overflow-wrap: anywhere;
}
.btn:hover { background: var(--sand); transform: translateY(-1px); }

/* Sections */
.section { padding-top: 80px; padding-bottom: 80px; }
.section h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 8px 0 36px; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid var(--accent);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(11,61,68,.06);
}
.card h3 { font-size: 1.45rem; margin-bottom: 8px; color: var(--deep); }
.card p { color: var(--muted); }

.band { background: #1e2316; color: #efe9d9; }
.steps { list-style: none; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { position: relative; padding-top: 4px; }
.num {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #1a1d12;
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 1.35rem;
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.7rem; color: #f3e3b8; margin-bottom: 8px; }
.steps p { font-size: 1.05rem; line-height: 1.65; color: #e6dfcc; }

.contact { text-align: center; }
.contact h2 { margin-bottom: 16px; }
.contact p { max-width: 52ch; margin: 0 auto 30px; color: var(--muted); }

.footer { padding-top: 28px; padding-bottom: 36px; border-top: 1px solid #e3ddd2; color: var(--muted); font-size: .9rem; text-align: center; }

/* Nav links and blog */
.nav-links { display: flex; gap: 24px; align-items: center; }
@media (max-width: 719px) { .nav-links { gap: 14px; } }
.site-header { background: var(--deep); color: #fff; }
.post { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.post h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 10px 0 14px; color: var(--deep); }
.post h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin: 44px 0 14px; color: var(--deep); }
.post h3 { font-size: 1.45rem; margin: 28px 0 10px; color: var(--deep); }
.post p, .post li { font-size: 1.06rem; line-height: 1.75; }
.post p { margin-bottom: 18px; }
.post ul, .post ol { margin: 0 0 20px 22px; }
.post li { margin-bottom: 8px; }
.post a { color: #7a5a22; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post .eyebrow a { color: inherit; text-decoration: none; }
.post-meta { color: var(--muted); font-size: .95rem !important; }
.post-lede { font-size: 1.2rem !important; color: var(--stone); }
.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 26px 0 30px; }
.stat { background: var(--deep); color: #efe9d9; border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: 8px; font-variant-numeric: lining-nums; }
.stat span { font-size: .95rem; line-height: 1.45; }
.note { background: #fff; border-left: 4px solid var(--gold); padding: 16px 18px; border-radius: 0 10px 10px 0; }
.post-cta { margin-top: 48px; padding-top: 8px; border-top: 1px solid #e3ddd2; }
.post-cta #lead-widget-inline { margin-top: 20px; }
.sources { margin-top: 48px; }
.sources h2 { font-size: 1.4rem; }
.sources li { font-size: .95rem; color: var(--muted); }
.post-list { list-style: none; margin: 30px 0 0 !important; }
.post-list a { display: block; background: #fff; border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--stone); border-top: 4px solid var(--accent); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(22,26,16,.06); }
.post-list b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; line-height: 1.2; color: var(--deep); margin: 6px 0 8px; font-variant-numeric: lining-nums; }
.post-list-meta { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* Blog chart */
.chart { margin: 28px 0 32px; background: #fff; border-radius: var(--radius); padding: 22px 20px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(22,26,16,.06); }
.chart figcaption b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; line-height: 1.2; color: var(--deep); }
.chart figcaption span { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.chart svg { display: block; width: 100%; height: auto; margin-top: 14px; font-family: "Inter", system-ui, sans-serif; }
.chart .grid { stroke: #ebe5d8; stroke-width: 1; }
.chart .base { stroke: #b9b2a2; stroke-width: 1; }
.chart .tick { fill: #8a8a7e; font-size: 12px; }
.chart .xl { fill: var(--stone); font-size: 14px; font-weight: 500; }
.chart .val { fill: var(--stone); font-size: 16px; font-weight: 600; font-variant-numeric: lining-nums; }
.chart .bar { cursor: default; outline: none; }
.chart .bar:hover path, .chart .bar:focus path { fill: #8f6719; }
.chart details { margin-top: 10px; font-size: .92rem; }
.chart summary { cursor: pointer; color: #7a5a22; font-weight: 500; }
.chart table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .9rem; }
.chart th, .chart td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #ebe5d8; }
.chart th { color: var(--muted); font-weight: 600; }
.post .chart-source { font-size: .85rem !important; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 719px) { .chart { padding: 18px 12px 14px; } .chart table { font-size: .8rem; } }
.chart svg { overflow: visible; }
@media (max-width: 719px) { .chart .tick { font-size: 22px; } .chart .xl { font-size: 24px; } .chart .val { font-size: 28px; } }

/* Blog calculator */
.calc { background: var(--deep); color: #efe9d9; border-radius: var(--radius); padding: 24px 22px; margin: 24px 0 28px; }
.post .calc h3 { color: #f3e3b8; margin: 0 0 4px; }
.post .calc-note { font-size: .9rem !important; color: #c9c2ad; margin-bottom: 18px; }
.calc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.calc label { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; font-size: .92rem; line-height: 1.35; }
.calc input { width: 100%; font: 600 1.1rem "Inter", system-ui, sans-serif; padding: 10px 12px; border-radius: 10px; border: 1px solid #4a4f3c; background: #262b1c; color: #fff; }
.calc input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.calc-out { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 20px; padding-top: 18px; border-top: 1px solid #3a3f2e; }
.calc-out span { display: block; font-size: .85rem; color: #c9c2ad; }
.calc-out b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.2rem; line-height: 1.1; color: var(--gold); font-variant-numeric: lining-nums; }
.post-list li { margin-bottom: 22px; }
.post-list li:last-child { margin-bottom: 0; }
