:root {
  --paper: #f1ede3;
  --paper-bright: #faf8f2;
  --ink: #151713;
  --orange: #e94f28;
  --orange-dark: #b93618;
  --green: #596555;
  --line: #aaa69b;
  --muted: #5f625b;
  --white: #fffef9;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .14;
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(21, 23, 19, .08) 31px 32px);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h2 {
  margin-bottom: 0;
  font: 700 clamp(2.2rem, 4.8vw, 5rem)/.96 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
h3 { line-height: 1.12; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: white; padding: 10px 14px; z-index: 20; }
.skip-link:focus { left: 8px; }
.eyebrow { margin-bottom: 14px; font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .05em;
  cursor: pointer;
}
.button-primary { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.button-primary:hover, .button-primary:focus-visible { color: var(--white); background: var(--orange-dark); border-color: var(--orange-dark); }
.button-dark { color: white; background: var(--ink); }
.button-outline { color: var(--ink); background: transparent; }
.text-link, .text-button {
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.choice-row button:focus-visible, .button:focus-visible, .text-button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #1c68bd;
  outline-offset: 3px;
}

.site-header {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 2px solid var(--ink);
  background: rgba(250, 248, 242, .96);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand, .footer-brand { text-decoration: none; font-weight: 950; letter-spacing: -.055em; font-size: 1.25rem; }
.brand span, .footer-brand span { color: var(--orange); }
.site-header nav { display: flex; gap: 24px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.site-header nav a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; color: var(--white); background: var(--ink); padding: 10px 14px; text-decoration: none; font-size: .75rem; font-weight: 900; text-transform: uppercase; }

.hero {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 62px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: center;
}
.hero h1 { max-width: 740px; margin: 18px 0 26px; font: 950 clamp(3.4rem, 6.6vw, 7.2rem)/.82 Arial, Helvetica, sans-serif; letter-spacing: -.085em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 640px; margin-bottom: 0; font: 400 1.12rem/1.58 Georgia, serif; }
.hero-actions { display: flex; gap: 20px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.micro-proof { margin: 21px 0 0; color: var(--muted); font-size: .84rem; }
.hero-visual { margin: 0; border: 2px solid var(--ink); background: var(--ink); box-shadow: 14px 14px 0 var(--green); }
.hero-visual img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.hero-visual figcaption { display: grid; grid-template-columns: 1fr 1fr; color: var(--white); background: var(--ink); text-transform: uppercase; font-weight: 900; font-size: .7rem; letter-spacing: .08em; }
.hero-visual figcaption span { padding: 10px 12px; }
.hero-visual figcaption span:first-child { border-right: 1px solid #777; }
.hero-visual figcaption small { grid-column: 1/-1; padding: 9px 12px; color: #c8c8c2; border-top: 1px solid #777; text-transform: none; letter-spacing: 0; font-weight: 400; }

.start-strip {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  padding: 54px max(24px, calc((100vw - var(--max)) / 2));
  color: white;
  background: var(--ink);
}
.start-strip h2 { color: white; font-size: clamp(2rem, 3vw, 3.2rem); }
.start-strip ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid #70736b; }
.start-strip li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #70736b; font-weight: 800; }
.start-strip li span { color: var(--orange); font: 700 .7rem/1.6 monospace; }
.start-strip li a { text-underline-offset: 4px; }

.planner, .cost-guide, .measure, .bids, .faq {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}
.planner-intro, .section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: end;
}
.planner-intro > p, .section-head > p { margin-bottom: 0; font: 400 1.05rem/1.65 Georgia, serif; }
.planner-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 36px; margin-top: 40px; align-items: start; }
.choices { border-top: 2px solid var(--ink); }
.choices fieldset { margin: 0; padding: 26px 0; border: 0; border-bottom: 1px solid var(--line); }
.choices legend { padding: 0; font-weight: 900; font-size: 1rem; }
.choices legend span { color: var(--orange-dark); margin-right: 12px; font-size: .75rem; letter-spacing: .1em; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.choice-row button { min-height: 44px; padding: 9px 12px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: .82rem; font-weight: 800; }
.choice-row button[aria-pressed="true"] { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.brief { position: sticky; top: 94px; padding: 0 26px 26px; background: var(--paper-bright); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.brief-header { display: flex; justify-content: space-between; gap: 14px; margin: 0 -26px 24px; padding: 9px 12px; color: white; background: var(--ink); font: 700 .75rem/1.2 monospace; letter-spacing: .05em; }
.brief-label { color: var(--orange-dark); margin-bottom: 10px; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.brief h3 { font: 700 1.55rem/1.22 Georgia, serif; }
.brief dl { margin: 24px 0; }
.brief dl div { display: grid; grid-template-columns: 116px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.brief dt { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.brief dd { margin: 0; font-size: .86rem; }
.brief-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brief-actions .text-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; }
.copy-status { min-height: 1.4em; margin: 12px 0 0; color: var(--green); font-size: .78rem; font-weight: 800; }
.email-brief-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.email-brief-form[hidden] { display: none; }
.email-fields { display: grid; grid-template-columns: 1fr 132px; gap: 12px; }
.email-fields label > span { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.email-fields input { width: 100%; min-height: 44px; padding: 10px 11px; color: var(--ink); background: white; border: 1px solid var(--ink); border-radius: 0; }
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; margin: 14px 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.consent-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange-dark); }
.email-note { margin: 10px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }

.cost-guide { border-top: 2px solid var(--ink); }
.scope-table { margin-top: 42px; border: 2px solid var(--ink); background: var(--paper-bright); }
.scope-row { display: grid; grid-template-columns: 1.05fr .75fr .7fr 1.5fr; align-items: center; min-height: 90px; border-bottom: 1px solid var(--ink); }
.scope-row:last-child { border-bottom: 0; }
.scope-row > * { margin: 0; padding: 22px; }
.scope-row > * + * { border-left: 1px solid var(--line); }
.scope-row strong { font-size: 1.14rem; }
.scope-row span { font-weight: 850; }
.scope-row p { color: var(--muted); font-family: Georgia, serif; }
.scope-header { min-height: auto; color: white; background: var(--ink); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.scope-header > * + * { border-color: #555; }
.scope-row.featured { box-shadow: inset 8px 0 0 var(--orange); }
.cost-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; border-block: 2px solid var(--ink); }
.cost-notes article { padding: 28px 28px 28px 0; }
.cost-notes article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.cost-notes span { color: var(--orange-dark); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.cost-notes h3 { margin: 34px 0 10px; font-size: 1.2rem; }
.cost-notes p { margin: 0; color: var(--muted); }

.measure {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.measure-copy { position: sticky; top: 110px; }
.measure-copy > p:not(.eyebrow) { margin: 26px 0; font: 400 1.04rem/1.65 Georgia, serif; }
.check-sheet { background: var(--paper-bright); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--green); }
.sheet-head { display: flex; justify-content: space-between; gap: 20px; padding: 12px 16px; color: white; background: var(--ink); font: 700 .75rem/1.4 monospace; letter-spacing: .06em; }
.check-sheet ul { margin: 0; padding: 0 20px; list-style: none; }
.check-sheet li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.check-sheet li:last-child { border-bottom: 0; }
.check-sheet li > span { color: var(--orange-dark); font-size: 1.2rem; }
.check-sheet strong, .check-sheet small { display: block; }
.check-sheet small { margin-top: 3px; color: var(--muted); font: 400 .84rem/1.45 Georgia, serif; }

.sequence { padding: 90px max(24px, calc((100vw - var(--max)) / 2)); color: white; background: var(--green); }
.section-head.light h2 { color: white; }
.section-head.light > p { color: #e2e5de; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin: 46px 0 34px; padding: 0; list-style: none; border: 1px solid rgba(255, 255, 255, .58); }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; min-height: 150px; padding: 24px; border-right: 1px solid rgba(255, 255, 255, .35); border-bottom: 1px solid rgba(255, 255, 255, .35); }
.timeline li:nth-child(3n) { border-right: 0; }
.timeline li:nth-child(n+4) { border-bottom: 0; }
.timeline li > span { color: var(--white); font: 800 .75rem/1.8 monospace; }
.timeline strong { font-size: 1rem; }
.timeline p { margin: 8px 0 0; color: #e4e7e0; font: 400 .86rem/1.5 Georgia, serif; }
.sequence-visual { margin: 0; border: 1px solid #afb5aa; }
.sequence-visual img { width: 100%; height: auto; }
.sequence-visual figcaption { padding: 9px 12px; color: #e2e5de; background: #414b3f; font-size: .75rem; }

.bids { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; }
.bid-script blockquote { margin: 32px 0; padding-top: 26px; border-top: 2px solid var(--ink); font: 700 clamp(1.25rem, 2.2vw, 2rem)/1.36 Georgia, serif; }
.bid-script blockquote span { color: var(--orange-dark); }
.bid-check { padding: 28px; color: white; background: var(--ink); }
.bid-check ul { margin: 20px 0 0; padding: 0; list-style: none; }
.bid-check li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid #555; font-size: .86rem; }
.bid-check li::before { content: "□"; position: absolute; left: 0; color: var(--orange); }

.articles { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 92px 0; border-top: 2px solid var(--ink); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 2px solid var(--ink); }
.article-card { min-height: 220px; padding: 22px 24px 24px 0; border-bottom: 1px solid var(--line); }
.article-card:nth-child(3n + 2), .article-card:nth-child(3n + 3) { padding-left: 24px; border-left: 1px solid var(--line); }
.article-meta { color: var(--orange-dark); font: 800 .75rem/1.4 monospace; text-transform: uppercase; }
.article-card h3 { margin: 34px 0 24px; font: 700 1.3rem/1.22 Georgia, serif; }
.article-card h3 a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-source { color: var(--muted); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.article-loading { grid-column: 1/-1; margin: 0; padding: 34px 0; color: var(--muted); font-family: Georgia, serif; }
.article-credit { margin: 18px 0 0; color: var(--muted); font-size: .75rem; }

.faq { display: grid; grid-template-columns: .62fr 1.38fr; gap: 70px; border-top: 2px solid var(--ink); }
.faq-head { position: sticky; top: 110px; align-self: start; }
.faq-list { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding: 22px 42px 22px 0; font-weight: 900; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; top: 17px; color: var(--orange); font-size: 1.5rem; }
details[open] summary::after { content: "−"; }
details p { margin: -4px 42px 24px 0; color: var(--muted); font-family: Georgia, serif; }

.help-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px 50px;
  align-items: end;
  padding: 82px max(24px, calc((100vw - 980px)) / 2);
  color: white;
  background: var(--ink);
}
.help-cta h2 { max-width: 780px; color: white; font-size: clamp(2.2rem, 4vw, 4rem); }
.help-cta div > p:last-child { max-width: 700px; margin: 24px 0 0; color: #d8dbd4; font-family: Georgia, serif; }
.help-cta .disclosure { grid-column: 1/-1; margin: 0; padding-top: 18px; color: #aeb1aa; border-top: 1px solid #555; font-size: .75rem; }
footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: center; padding: 42px max(24px, calc((100vw - var(--max)) / 2)); color: white; background: #0b0c0a; }
footer p { margin: 0; color: #c7c9c1; }
footer nav { display: flex; gap: 18px; font-size: .76rem; text-transform: uppercase; }
footer small { grid-column: 1/-1; padding-top: 16px; color: #969990; border-top: 1px solid #55574f; }

.legal { width: min(800px, calc(100% - 40px)); min-height: 70vh; margin: 0 auto; padding: 90px 0 120px; }
.legal h1 { margin: 16px 0 44px; font: 950 clamp(3.5rem, 9vw, 7rem)/.85 Arial, sans-serif; letter-spacing: -.07em; }
.legal h2 { margin: 38px 0 10px; font-size: 1.8rem; letter-spacing: -.02em; }
.legal p { font: 400 1.06rem/1.7 Georgia, serif; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero, .planner-intro, .section-head, .measure, .bids, .faq { grid-template-columns: 1fr; }
  .start-strip { grid-template-columns: 1fr; gap: 30px; }
  .planner-grid { grid-template-columns: 1fr; }
  .brief, .measure-copy, .faq-head { position: static; }
  .cost-notes { grid-template-columns: 1fr; }
  .cost-notes article { padding: 24px 0; }
  .cost-notes article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .cost-notes h3 { margin-top: 18px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li, .timeline li:nth-child(3n), .timeline li:nth-child(n+4) { border-right: 1px solid rgba(255, 255, 255, .35); border-bottom: 1px solid rgba(255, 255, 255, .35); }
  .timeline li:nth-child(2n) { border-right: 0; }
  .timeline li:nth-child(n+5) { border-bottom: 0; }
  .help-cta { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card:nth-child(n) { padding: 22px 24px 24px 0; border-left: 0; }
  .article-card:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1/-1; }
}

@media (max-width: 720px) {
  .site-header { min-height: 62px; padding-inline: 14px; }
  .brand { font-size: 1rem; }
  .header-cta { min-height: 44px; padding: 8px 10px; font-size: .75rem; }
  .hero, .planner, .cost-guide, .measure, .bids, .articles, .faq { width: min(100% - 28px, var(--max)); }
  .hero { padding: 40px 0 48px; gap: 30px; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero-lede { font-size: 1rem; }
  .hero-visual { width: calc(100% - 8px); box-shadow: 8px 8px 0 var(--green); }
  .start-strip, .sequence, .help-cta { padding: 62px 14px; }
  .planner, .cost-guide, .measure, .bids, .articles, .faq { padding-block: 70px; }
  .planner-intro, .section-head { gap: 24px; }
  .planner-grid { margin-top: 28px; }
  .choice-row { display: grid; grid-template-columns: 1fr 1fr; }
  .choice-row button { min-height: 48px; text-align: left; }
  .brief { padding-inline: 18px; box-shadow: 6px 6px 0 var(--ink); }
  .brief-header { margin-inline: -18px; }
  .brief dl div { grid-template-columns: 1fr; gap: 4px; }
  .scope-table { border: 0; background: transparent; }
  .scope-row.scope-header { display: none; }
  .scope-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 14px; min-height: 0; border: 2px solid var(--ink); background: var(--paper-bright); }
  .scope-row > * { padding: 14px; }
  .scope-row > * + * { border-left: 0; }
  .scope-row strong { grid-column: 1/-1; border-bottom: 1px solid var(--line); }
  .scope-row p { grid-column: 1/-1; border-top: 1px solid var(--line); }
  .scope-row span + span { border-left: 1px solid var(--line); }
  .scope-row.featured { box-shadow: inset 6px 0 0 var(--orange); }
  .measure { gap: 34px; }
  .check-sheet { box-shadow: 6px 6px 0 var(--green); }
  .sheet-head { display: grid; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li, .timeline li:nth-child(2n), .timeline li:nth-child(3n), .timeline li:nth-child(n+4), .timeline li:nth-child(n+5) { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
  .timeline li:last-child { border-bottom: 0; }
  .bids { gap: 36px; }
  .article-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .article-card:nth-child(n) { min-height: 0; padding: 22px 0; border-left: 0; }
  .article-card h3 { margin: 22px 0 18px; }
  .faq { gap: 28px; }
  footer { grid-template-columns: 1fr; padding-inline: 14px; }
  footer nav { flex-wrap: wrap; }
}

@media (max-width: 430px) {
  .choice-row { grid-template-columns: 1fr; }
  .hero-visual figcaption { grid-template-columns: 1fr; }
  .hero-visual figcaption span:first-child { border-right: 0; border-bottom: 1px solid #777; }
  .brief-actions .button, .brief-actions .text-button, .help-cta .button, .measure-copy .button { width: 100%; }
  .email-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  body::before { display: none; }
  body[data-print="brief"] *, body[data-print="checklist"] * { visibility: hidden; }
  body[data-print="brief"] #brief, body[data-print="brief"] #brief *,
  body[data-print="checklist"] .check-sheet, body[data-print="checklist"] .check-sheet * { visibility: visible; }
  body[data-print="brief"] #brief, body[data-print="checklist"] .check-sheet {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    color: #000;
    background: #fff;
    border: 2px solid #000;
    box-shadow: none;
  }
  body[data-print="brief"] .brief-actions, body[data-print="brief"] .email-brief-form, body[data-print="brief"] .copy-status { display: none; }
}
