  :root {
    --steel: #D3D8DA;      /* galvanized panel */
    --steel-dark: #9BA4A8;
    --paper: #FBFBF8;
    --ink: #1D2327;
    --muted: #4E585E;
    --safety: #F2C230;     /* lot-sign yellow */
    --stamp: #B3261E;      /* VOID stamp red */
    --display: "Archivo", "Arial Narrow", sans-serif;
    --body: "Literata", Georgia, serif;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--steel);
    color: var(--ink);
    font: 400 1.125rem/1.7 var(--body);
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
  .measure { max-width: 34em; }

  h1, h2, h3 {
    font-family: var(--display);
    font-stretch: 75%;
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
  }
  h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); }
  h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
  h3 { font-size: 1.5rem; font-stretch: 85%; font-weight: 800; margin-bottom: .3em; }
  p { margin: 0 0 1em; }

  .btn {
    display: inline-block;
    font: 800 1.25rem/1 var(--display);
    font-stretch: 90%;
    text-decoration: none;
    background: var(--safety);
    color: var(--ink);
    padding: 1.05rem 1.6rem;
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .12s, box-shadow .12s;
  }
  .btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
  .btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
  .tagline { font-style: italic; color: var(--muted); margin-top: 1.1rem; }

  /* Hero */
  .hero { padding: 64px 0 80px; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .hero .lede { font-size: 1.3rem; max-width: 30em; }

  .invoice {
    background: var(--paper);
    border: 2px solid var(--ink);
    padding: 28px 26px 26px;
    position: relative;
    transform: rotate(1.2deg);
    font-family: var(--display);
    font-stretch: 100%;
  }
  .invoice-head { display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 14px; font-weight: 800; }
  .invoice-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 1rem; border-bottom: 1px dashed var(--steel-dark); }
  .invoice-row span:last-child { white-space: nowrap; }
  .invoice-total { display: flex; justify-content: space-between; padding-top: 14px; font-weight: 900; font-size: 1.6rem; }
  .invoice-total s { text-decoration-thickness: 3px; text-decoration-color: var(--stamp); }
  .stamp {
    position: absolute; right: 18px; top: 92px;
    font: 900 2.7rem/1 var(--display); font-stretch: 110%;
    color: var(--stamp); border: 5px solid var(--stamp);
    padding: 4px 14px; transform: rotate(-14deg); opacity: .85;
    mix-blend-mode: multiply;
  }
  .price-card {
    margin: 18px -14px -40px auto; width: 72%;
    background: var(--safety); border: 2px solid var(--ink);
    padding: 16px 18px; transform: rotate(-2.5deg);
    font-family: var(--display); font-stretch: 100%;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .price-card strong { display: block; font-size: 2.4rem; font-weight: 900; line-height: 1; }
  .price-card span { font-weight: 700; }

  @media (prefers-reduced-motion: no-preference) {
    .stamp { animation: stamp .45s .6s cubic-bezier(.2,1.6,.4,1) both; }
    @keyframes stamp { from { transform: rotate(-14deg) scale(2.2); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: .85; } }
  }

  /* Sections */
  section { padding: 80px 0; }
  .paper { background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }

  .story { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
  .story ul { padding-left: 1.1em; margin: 0 0 1.4em; }
  .story li { margin-bottom: .6em; }
  .photo {
    margin: 0; position: sticky; top: 24px;
    border: 2px solid var(--ink); background: var(--paper);
    transform: rotate(-1deg); box-shadow: 6px 6px 0 var(--ink);
  }
  .photo img { display: block; width: 100%; height: auto; }
  .photo figcaption { font: italic .95rem/1.4 var(--body); color: var(--muted); padding: 12px 14px; border-top: 2px solid var(--ink); }
  .pull { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 1.7rem; line-height: 1.15; margin: 1.6em 0; }

  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
  .two ul { padding-left: 1.1em; margin: 0; }
  .two .card { border-top: 6px solid var(--ink); padding-top: 18px; }

  .weeks { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--ink); background: var(--paper); }
  .weeks li { padding: 22px 20px 26px; border-right: 2px solid var(--ink); }
  .weeks li:last-child { border-right: 0; }
  .weeks .wk { font: 900 3.4rem/1 var(--display); font-stretch: 62%; color: var(--steel-dark); display: block; margin-bottom: 10px; }
  .weeks p { font-size: 1rem; margin: 0; }
  .each { margin-top: 36px; }
  .each ul { columns: 2; column-gap: 48px; padding-left: 1.1em; }

  .need { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); border: 2px solid var(--ink); margin: 28px 0 20px; }
  .need div { background: var(--paper); padding: 20px 22px; }
  .need h3 { font-size: 1.25rem; }
  .need p { margin: 0; font-size: 1rem; }

  .result blockquote { margin: 0; font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; max-width: 22em; }
  .result blockquote mark { background: var(--safety); color: inherit; padding: 0 .1em; }

  details { border-top: 2px solid var(--ink); padding: 18px 0; }
  details:last-of-type { border-bottom: 2px solid var(--ink); }
  summary { cursor: pointer; font: 800 1.3rem/1.2 var(--display); font-stretch: 90%; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-weight: 900; }
  details[open] summary::after { content: "–"; }
  details p { margin: 12px 0 0; max-width: 34em; }

  .final { text-align: center; padding: 96px 0; }
  .final h2 { max-width: 14em; margin-left: auto; margin-right: auto; }
  .sign { font-style: italic; margin-top: 2rem; }

  footer { padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  @media (max-width: 860px) {
    .hero-grid, .story, .two { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 40px 0 72px; }
    .invoice { max-width: 440px; }
    .photo { position: static; max-width: 340px; }
    .weeks { grid-template-columns: 1fr 1fr; }
    .weeks li:nth-child(2) { border-right: 0; }
    .weeks li:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
    .each ul { columns: 1; }
    section { padding: 60px 0; }
  }
  @media (max-width: 520px) {
    body { font-size: 1.0625rem; }
    .wrap { padding: 0 16px; }
    .weeks { grid-template-columns: 1fr; }
    .weeks li { border-right: 0; border-bottom: 2px solid var(--ink); }
    .weeks li:last-child { border-bottom: 0; }
    .need { grid-template-columns: 1fr; }
    .price-card { width: 86%; margin-right: -6px; }
    .stamp { font-size: 2.1rem; top: 84px; }
  }

  /* Quote calculators */
  .calc-page .hero { padding: 28px 0 8px; }
  .calc-page h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); max-width: 16em; }
  .calc-page h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
  .calc-page section { padding: 36px 0; }
  .calc-page .lede { font-size: 1.22rem; max-width: 38em; }
  .crumb { font-family: var(--display); font-weight: 700; font-stretch: 95%; margin: 0 0 1rem; }
  .callout {
    background: var(--safety);
    border: 2px solid var(--ink);
    padding: 12px 14px;
    font-family: var(--display);
    font-stretch: 92%;
    font-weight: 750;
    line-height: 1.35;
    margin: 0 0 18px;
  }
  .calc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 22px 28px; align-items: start; }
  .calc-result {
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    padding: 18px 18px 16px;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow: auto;
  }
  .eyebrow {
    font-family: var(--display);
    font-weight: 800;
    font-stretch: 90%;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: .85rem;
    margin: 0 0 8px;
  }
  .range {
    font-family: var(--display);
    font-weight: 900;
    font-stretch: 78%;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.05;
    background: var(--safety);
    display: inline-block;
    padding: 4px 8px;
    border: 2px solid var(--ink);
    margin: 0 0 10px;
  }
  .range-empty { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: 1.4rem; margin: 0; }
  .at-rates { margin: 0 0 12px; }
  .lines { list-style: none; padding: 0; margin: 0 0 12px; border-top: 2px solid var(--ink); }
  .lines li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--steel-dark);
  }
  .lines li span:first-child { min-width: 0; }
  .lines li span:last-child { font-family: var(--display); font-weight: 800; white-space: nowrap; }
  .rate-flag { background: var(--safety); border: 2px solid var(--ink); padding: 8px 10px; font-weight: 700; margin: 0 0 12px; }
  .calc-page .help { color: var(--muted); font-size: .98rem; margin: 0 0 10px; }
  .job > * + * { margin-top: 14px; }
  .job-grid, .rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .span2 { grid-column: 1 / -1; }
  .calc-page .field { display: grid; gap: 4px; margin: 0; }
  .calc-page .field span, .rates legend {
    font-family: var(--display);
    font-weight: 750;
    font-stretch: 95%;
    line-height: 1.25;
  }
  .calc-page input, .calc-page select {
    font: 1.05rem/1.3 var(--body);
    padding: 10px 12px;
    border: 2px solid var(--ink);
    background: #fff;
    color: var(--ink);
    width: 100%;
    border-radius: 0;
  }
  .calc-page input[type="checkbox"] { width: auto; accent-color: var(--ink); }
  .checks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 0; }
  .checks label { display: flex; gap: 8px; align-items: center; font-weight: 650; }
  .area { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-bottom: 8px; }
  .rates {
    grid-column: 1 / -1;
    background: var(--paper);
    border: 2px solid var(--ink);
    padding: 16px 16px 18px;
    margin: 0;
  }
  .rates legend { padding: 0 6px; font-size: 1.15rem; }
  .rates .rate-grid { margin-top: 8px; }
  button.btn, button.btn-quiet { cursor: pointer; appearance: none; -webkit-appearance: none; }
  .btn-quiet {
    display: inline-block;
    font: 750 1rem/1 var(--display);
    font-stretch: 92%;
    text-decoration: none;
    background: var(--paper);
    color: var(--ink);
    padding: .75rem 1rem;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
  }
  .btn-quiet:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
  .prompt-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; }
  .prompt {
    background: var(--ink);
    color: var(--paper);
    padding: 16px 18px;
    margin: 0 0 12px;
    overflow-x: auto;
    font: .98rem/1.55 var(--body);
    white-space: pre-wrap;
    border: 2px solid var(--ink);
  }
  .more-calcs { padding-left: 1.1em; }
  .more-calcs li { margin: 0 0 .4em; }
  .calc-page .steps { padding-left: 1.2em; }
  .calc-page .steps li { margin: 0 0 .7em; }
  .next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .next-grid .card { border-top: 6px solid var(--ink); padding-top: 14px; }
  .kit-cta {
    grid-column: 1 / -1;
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    padding: 18px 18px 16px;
  }
  .kit-cta h3 { font-size: clamp(1.45rem, 2.5vw, 1.85rem); margin-bottom: .15em; }
  .kit-name {
    font-family: var(--display);
    font-weight: 850;
    font-stretch: 88%;
    font-size: 1.2rem;
    margin: 0 0 .45em;
  }
  .kit-price {
    font-weight: 900;
    background: var(--safety);
    border: 2px solid var(--ink);
    padding: 1px 7px;
    margin-left: .35em;
  }
  .kit-cta p { max-width: 46em; }
  .kit-inside { margin-bottom: .9em; }
  .kit-cta .btn { font-size: 1.1rem; padding: .85rem 1.15rem; max-width: 100%; }
  .kit-bundle, .kit-site { margin: .85rem 0 0; font-size: .98rem; color: var(--muted); }
  .kit-bundle a, .kit-site a { color: var(--ink); }
  @media (max-width: 860px) {
    .calc-page .hero { padding: 22px 0 4px; }
    .calc-grid, .job-grid, .rate-grid, .next-grid, .area { grid-template-columns: 1fr; }
    .calc-result { position: static; }
    .span2 { grid-column: auto; }
    .kit-cta .btn { display: block; text-align: center; }
  }
