*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --maroon: #7B2337; --maroon-dark: #5A1A29;
    --brass: #C4935A; --brass-on-light: #8A5A22;
    --bg: #FAF8F5; --white: #ffffff; --border: #ECE7E1;
    --text: #1A1A1A; --text-soft: #4A4A4A; --text-muted: #7A7A7A;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  html, body { overflow-x: hidden; max-width: 100vw; }
  body { font-family: var(--sans); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.6; }
  a { color: inherit; text-decoration: none; }
  .nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
  .nav__logo { font-family: var(--serif); font-weight: 700; font-size: 18px; }
  .nav__cta { background: var(--maroon); color: #fff; padding: 8px 18px; border-radius: 8px; font-weight: 600; font-size: 13px; }
  .breadcrumbs { padding: 12px 24px; font-size: 12px; color: var(--text-muted); background: #fff; border-bottom: 1px solid var(--border); }
  .breadcrumbs a { color: var(--text-soft); }
  .breadcrumbs span { margin: 0 6px; }
  main { max-width: 820px; margin: 0 auto; padding: 48px 24px 96px; }
  .cost-eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-on-light); font-weight: 700; margin-bottom: 14px; }
  .cost-h1 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 18px; max-width: 22ch; }
  .cost-lede { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; color: var(--text-soft); margin-bottom: 8px; max-width: 60ch; }
  .cost-summary { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin: 32px 0; font-size: 15px; }
  .cost-summary strong { color: var(--maroon); font-weight: 700; }
  .tier-table-wrap { margin: 32px 0; }
  .tier-table { width: 100%; border-collapse: collapse; background: #fff;
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
  .tier-table caption { caption-side: top; text-align: left; font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-on-light);
    font-weight: 700; padding: 0 0 10px; }
  .tier-table thead th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-soft); font-weight: 700; text-align: left;
    padding: 14px 20px; border-bottom: 1px solid var(--border); background: #fbfaf9; }
  .tier-table tbody th { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--brass-on-light); font-weight: 700; text-align: left;
    padding: 20px; vertical-align: top; white-space: nowrap; }
  .tier-table td { padding: 20px; vertical-align: top; font-size: 14.5px; line-height: 1.65;
    color: var(--text-soft); }
  .tier-table tbody tr + tr th, .tier-table tbody tr + tr td { border-top: 1px solid var(--border); }
  .tier-table td.tier-table__range { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 700; color: var(--maroon); white-space: nowrap;
    font-variant-numeric: tabular-nums; }
  /* Phones: keep the DOM a real table (crawlers and answer engines read the
     markup, not the layout) but stack it so nothing scrolls sideways. */
  @media (max-width: 640px) {
    .tier-table, .tier-table tbody, .tier-table tr, .tier-table th, .tier-table td { display: block; }
    .tier-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .tier-table tbody tr { padding: 20px; }
    .tier-table tbody tr + tr { border-top: 1px solid var(--border); }
    .tier-table tbody th, .tier-table td { padding: 0 0 8px; white-space: normal; }
    .tier-table tbody tr td:last-child { padding-bottom: 0; }
  }
  .context { background: #fff; border-left: 3px solid var(--brass); padding: 24px 28px; margin: 32px 0; border-radius: 0 10px 10px 0; font-size: 15px; line-height: 1.7; color: var(--text-soft); }
  h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.015em; margin: 40px 0 16px; color: var(--text); }
  p { font-size: 15px; line-height: 1.7; color: var(--text-soft); margin-bottom: 14px; }
  .cta { display: block; background: var(--maroon); color: #fff; text-align: center; padding: 22px; border-radius: 12px; font-weight: 700; font-size: 16px; margin: 40px 0; }
  .cta:hover { background: var(--maroon-dark); }
  .cta__sub { display: block; font-size: 12px; font-weight: 500; opacity: 0.85; margin-top: 6px; letter-spacing: 0.04em; }
  .footer { background: #0e0a0c; color: #999; padding: 40px 24px 24px; margin-top: 48px; text-align: center; font-size: 13px; }
  .footer a { color: #ccc; }

/* The caption is uppercase with 0.16em tracking, which is fine for "Bathroom
   Remodel Cost in Daniel Island SC (2026)" and falls apart on "Downtown
   Charleston" — six wrapped lines at 390px. Sentence case and normal tracking
   on phones; it is a label, not a banner. */
@media (max-width: 640px) {
  .tier-table caption {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 12.5px;
    line-height: 1.4;
  }
}
