/* Trade List Ready — trade-house folio (pine / brass / paper).
   System font stacks only. No external requests, no frameworks.
   Rhythm: 8px base (0.5rem); fluid section spacing via clamp(). */

:root {
  --pine: #1d4436;
  --pine-deep: #163429;
  --pine-ink: #10271f;
  --pine-line: #3b5d53;
  --brass: #7a4a1e;          /* text-safe on paper (6.5:1) */
  --brass-bright: #8a5524;   /* focus ring on paper (5.4:1) */
  --brass-dot: #a8672c;      /* decorative rules/markers only */
  --sand: #d4b68a;           /* text-safe on pine only */
  --paper: #f3efe7;
  --paper-card: #faf7f1;
  --paper-band: #e9e2d5;
  --cream: #f6f0e4;
  --ink: #1c1a16;
  --body: #3a3630;
  --muted: #5a5348;
  --line: #ddd5c6;
  --line-strong: #c9bfad;
  --line-dash: #cfc6b6;
  --on-pine: #e9e2d5;
  --on-pine-muted: #cfc6b3;
  --sand-rule: rgba(212, 182, 138, 0.38);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Charter, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --label: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  --section: clamp(4rem, 2.5rem + 5vw, 7.5rem);
  --col-gap: clamp(2rem, 1rem + 4vw, 5rem);
  --radius: 4px;
  --radius-sm: 2px;
  --shadow-1: 0 1px 0 rgba(28, 26, 22, 0.04), 0 1px 2px rgba(28, 26, 22, 0.06), 0 14px 30px -20px rgba(28, 26, 22, 0.3);
  --shadow-2: 0 1px 0 rgba(28, 26, 22, 0.05), 0 2px 4px rgba(28, 26, 22, 0.08), 0 30px 60px -30px rgba(16, 39, 31, 0.55);
  /* Paper grain: tiny inline SVG noise tile, ~3% ink. Allowed by CSP img-src data:. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .09 0 0 0 0 .07 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(212, 182, 138, 0.5); color: var(--ink); }

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  overflow-wrap: break-word;
  font-variant-numeric: lining-nums;
}
h1 {
  font-size: clamp(2.375rem, 1.4rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.024em;
  hanging-punctuation: first allow-end last;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.2vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }

p { margin: 0 0 1em; text-wrap: pretty; }

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(29, 68, 54, 0.45);
}
a:hover { color: var(--pine-deep); text-decoration-color: currentColor; text-decoration-thickness: 1.5px; }

/* Focus: brass on paper, sand on pine. Always visible, never removed. */
:focus-visible {
  outline: 3px solid var(--brass-bright);
  outline-offset: 3px;
}
.section-pine :focus-visible,
.featured :focus-visible,
.contact-box :focus-visible { outline-color: var(--sand); }
#main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--pine-deep);
  color: var(--cream);
  padding: 0.75rem 1.125rem;
  border-radius: var(--radius-sm);
  font: 600 0.9375rem/1.2 var(--label);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--cream); }

/* Thin pine / brass accent bar (v1 mark) */
.accent-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--pine) 0 42%, var(--brass-bright) 42% 58%, var(--pine) 58% 100%);
}

/* ------------------------------------------------------------ header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 239, 231, 0.96);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(243, 239, 231, 0.88);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    backdrop-filter: saturate(1.2) blur(10px);
  }
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
  min-height: 72px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #22201b;
  font: 600 0.9375rem/1.2 var(--label);
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  height: 1px;
  background: var(--brass-dot);
  transform: scaleX(0);
  transform-origin: left center;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); height: 2px; background: var(--brass-bright); }
.site-nav li:last-child a {
  padding: 0 1.125rem;
  border: 1px solid var(--pine);
  border-radius: var(--radius-sm);
  color: var(--pine);
}
.site-nav li:last-child a::after { display: none; }
.site-nav li:last-child a:hover { background: var(--pine); color: var(--cream); }

/* ------------------------------------------------------------ type kit -- */
.eyebrow {
  font: 600 0.75rem/1.5 var(--label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.25rem;
  overflow-wrap: break-word;
}
.eyebrow .seg { white-space: nowrap; }
.eyebrow .dot { padding: 0 0.5em; }
.eyebrow-rule { display: flex; flex-wrap: wrap; align-items: center; row-gap: 0.25rem; }
.eyebrow-rule::before {
  content: "";
  flex: 0 0 2.5rem;
  height: 1px;
  margin-right: 1rem;
  background: currentColor;
}

.folio {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font: 600 0.75rem/1 var(--label);
  letter-spacing: 0.2em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.folio::after { content: ""; flex: 0 0 3rem; height: 1px; background: currentColor; }

p.lede,
div.lede > p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink);
  hanging-punctuation: first allow-end last;
}
.lede { max-width: 36rem; }
div.lede > p + p { color: var(--body); }

/* Currency mark: a smaller raised $ so the figures carry the weight. */
.cur {
  font-size: 0.5em;
  vertical-align: 0.62em;
  margin-right: 0.06em;
  letter-spacing: 0;
  color: var(--brass);
}

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--pine);
  font: 600 1rem/1.2 var(--label);
  letter-spacing: 0.015em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--pine);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 1px 2px rgba(16, 39, 31, 0.25), 0 10px 20px -12px rgba(16, 39, 31, 0.6);
}
.btn-primary:hover { background: var(--pine-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--pine); }
.btn-outline:hover { background: rgba(29, 68, 54, 0.07); color: var(--pine-deep); }
.btn-cream { background: var(--cream); color: var(--pine-ink); border-color: var(--cream); }
.btn-cream:hover { background: #fff; color: var(--pine-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }

/* ------------------------------------------------------------ hero -- */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 var(--section); }
.hero-mast { padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.hero-mast .eyebrow { margin-bottom: 1.75rem; }
.display {
  font-size: clamp(2.5rem, 1.1rem + 5.6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 19ch;
  margin: 0;
}
.display .accent { font-style: italic; color: var(--brass); letter-spacing: -0.02em; }

.hero-spread {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem var(--col-gap);
  align-items: start;
  border-top: 3px double var(--brass-dot);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  isolation: isolate;
}
.hero-copy { min-width: 0; }

/* Work order: a docket laid on the ruled page, with a second sheet under it. */
.work-order {
  position: relative;
  min-width: 0;
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  border-left: 6px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 1.5rem 1.75rem 1.25rem;
}
.work-order::after {
  content: "";
  position: absolute;
  inset: 12px -10px -12px 10px;
  z-index: -1;
  background: var(--paper-band);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.work-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
  border-bottom: 3px double var(--line-strong);
}
.work-order-title {
  font: 700 0.8125rem/1.2 var(--label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
}
.work-order-sample {
  margin: 0;
  padding: 0.375rem 0.625rem;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-sm);
  font: 700 0.75rem/1.2 var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  transform: rotate(-2deg);
}
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.875rem;
  align-items: start;
  padding: 0.875rem 0;
  border-bottom: 1px dashed var(--line-dash);
  color: #22201b;
  font-size: 1rem;
  line-height: 1.5;
}
.checklist li:last-child { border-bottom: 0; }
.check { width: 18px; height: 18px; margin-top: 0.15em; }
.work-order-foot {
  border-top: 1px solid var(--line);
  margin: 0.25rem 0 0;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Rate card: the plans as a ruled tariff, not three chips. */
.rate-card {
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(9rem, 2fr) minmax(0, 10fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.rate-card-label {
  margin: 0;
  padding: 1.5rem 1.5rem 1.5rem 0;
  font: 600 0.75rem/1.5 var(--label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.rate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rate-list li { min-width: 0; border-left: 1px solid var(--line); }
.rate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name name" "price note";
  align-items: baseline;
  gap: 0.5rem 1rem;
  height: 100%;
  padding: 1.5rem 1.5rem 1.5rem;
  color: var(--ink);
  text-decoration: none;
}
.rate:hover { background: var(--paper-card); color: var(--ink); }
.rate:hover .rate-name { color: var(--pine); }
.rate-name {
  grid-area: name;
  font: 700 0.8125rem/1.3 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  overflow-wrap: break-word;
}
.rate-price {
  grid-area: price;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.5rem + 1.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.rate-note { grid-area: note; font-size: 0.875rem; color: var(--muted); text-align: right; }

/* ------------------------------------------------------------ sections -- */
.section { padding: var(--section) 0; }
.section-tight { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.section:not(.section-band):not(.section-pine) + #contact { padding-top: 0; }
.section-band {
  background-color: var(--paper-band);
  background-image: var(--grain);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-pine {
  background-color: var(--pine-deep);
  background-image: radial-gradient(110% 80% at 0% 0%, rgba(212, 182, 138, 0.09), transparent 60%), var(--grain);
  color: var(--on-pine);
}
.section-pine h2,
.section-pine h3 { color: var(--cream); }
.section-pine p { color: var(--on-pine); }
.section-pine a:not(.btn) { color: var(--cream); }
.section-pine .folio { color: var(--sand); }

/* Section heads: an ink rule, a folio slug, then a split head/standfirst. */
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--col-gap);
  row-gap: 0;
  align-items: end;
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section-intro > .folio { grid-column: 1 / -1; grid-row: 1; }
.section-intro > h2 { grid-column: 1; grid-row: 2; margin: 0; }
.section-intro > p { grid-column: 2; grid-row: 2; margin: 0; max-width: 38rem; padding-bottom: 0.3em; }
.section-pine .section-intro { border-top-color: var(--sand-rule); }

/* Statement band (problem) */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem var(--col-gap);
  align-items: start;
}
.statement-head h2 {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.statement-head p { color: var(--muted); max-width: 24rem; }
.statement-body p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 36em;
}
.statement-body p:last-child { margin-bottom: 0; }
.statement-body p:first-child::first-letter {
  float: left;
  font-size: 3.4em;
  line-height: 0.85;
  padding: 0.06em 0.1em 0 0;
  color: var(--brass);
}

/* Pillars (the work) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 1rem + 2vw, 3rem);
}
.pillar { position: relative; min-width: 0; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.pillar::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--brass-dot);
}
.pillar-num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--brass);
}
.pillar h3 { font-size: 1.5rem; margin-bottom: 0.625rem; }
.pillar p { margin: 0; max-width: 30rem; }

/* What we do not do: a framed notice */
.not-panel {
  position: relative;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem var(--col-gap);
  padding: 2rem clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.not-panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  pointer-events: none;
}
.not-panel h3 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; font-style: italic; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-2 {
  --g: clamp(2rem, 1rem + 5vw, 6rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem var(--g);
}
.grid-2 > *,
.grid-3 > * { min-width: 0; position: relative; }
.grid-2 h2 { font-size: clamp(1.625rem, 1.25rem + 1.2vw, 2.25rem); }

.card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 1.5rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }

/* Lists */
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-top: 1px solid var(--line);
}
.dot-list li:first-child { border-top: 0; }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 1.38em;
  width: 6px;
  height: 6px;
  background: var(--brass-dot);
  transform: rotate(45deg);
}
.no-list li::before { left: 0; top: 1.5em; width: 0.75rem; height: 2px; transform: none; }

/* Steps (home, on pine) */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.25rem, 0.5rem + 2vw, 2.5rem);
}
.steps > li {
  counter-increment: step;
  min-width: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brass);
  font-variant-numeric: lining-nums;
}
.steps h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.steps p { margin: 0; overflow-wrap: break-word; }
.section-pine .steps > li { border-top-color: var(--sand-rule); }
.section-pine .steps > li::before { color: var(--sand); }

ol.plain-steps { list-style: none; counter-reset: ps; margin: 0; padding: 0; }
ol.plain-steps > li {
  counter-increment: ps;
  position: relative;
  padding: 0.75rem 0 0.75rem 2.75rem;
  border-top: 1px dashed var(--line-dash);
}
ol.plain-steps > li:first-child { border-top: 0; }
ol.plain-steps > li::before {
  content: counter(ps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.95rem;
  font: 700 0.8125rem/1.4 var(--label);
  letter-spacing: 0.08em;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------ pricing -- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-top: 3px double var(--brass-dot);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 2rem clamp(1.375rem, 1rem + 1vw, 2rem) 1.75rem;
  scroll-margin-top: 6.5rem;
}
.price-card .eyebrow { margin-bottom: 0.75rem; letter-spacing: 0.14em; }
.price-card h3 { font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2rem); font-weight: 500; margin: 0 0 1.25rem; }
.price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 2.4rem + 1.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  font-variant-numeric: lining-nums tabular-nums;
}
.price-period {
  font: 600 0.75rem/1.4 var(--label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.75rem 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.price-card .dot-list { flex: 1; margin-bottom: 1.75rem; font-size: 0.975rem; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card .pay-note { font-size: 0.8125rem; color: var(--muted); text-align: center; margin: 0.75rem 0 0; }

/* Featured (Plus): a deeper sheet with an inset hairline frame. */
.price-card.featured,
.plan-mini.featured {
  background-color: var(--pine-deep);
  background-image: radial-gradient(120% 60% at 50% 0%, rgba(212, 182, 138, 0.13), transparent 70%);
  border: 1px solid var(--pine-ink);
  border-top: 3px solid var(--sand);
  color: var(--on-pine);
  box-shadow: var(--shadow-2);
}
.price-card.featured::after,
.plan-mini.featured::after,
.contact-box::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--sand-rule);
  border-radius: var(--radius-sm);
  pointer-events: none;
}
.featured h3,
.featured .price { color: var(--cream); }
.featured .eyebrow { color: var(--sand); }
.featured .cur { color: var(--sand); }
.featured .price-period { color: var(--on-pine-muted); border-bottom-color: rgba(212, 182, 138, 0.28); }
.featured .dot-list li { border-top-color: rgba(212, 182, 138, 0.2); }
.featured .dot-list li::before { background: var(--sand); }
.featured .pay-note { color: var(--on-pine-muted); }
.featured a:not(.btn) { color: var(--cream); }

.callout {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  max-width: 48rem;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--brass-dot);
  font-size: 0.975rem;
}
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout ul { margin: 0 0 1em; padding-left: 1.25rem; }
.callout li { margin: 0.25rem 0; }
.callout h3 { margin-bottom: 0.5rem; }

/* Compact plan strip (trade pages) */
.plan-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); }
.plan-mini {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-top: 3px double var(--brass-dot);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 1.75rem 1.5rem 1.5rem;
}
.plan-mini h3 { font-size: 1.5rem; font-weight: 500; margin: 0 0 0.75rem; }
.plan-mini .price { font-size: clamp(2.5rem, 2rem + 1vw, 3rem); }
.plan-mini .price small {
  margin-left: 0.375rem;
  font: 600 0.75rem/1 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-mini p:not(.price) {
  flex: 1;
  margin: 1.25rem 0 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.975rem;
}
.plan-mini .btn { width: 100%; }
.plan-mini.featured .price small { color: var(--on-pine-muted); }
.plan-mini.featured p:not(.price) { border-top-color: rgba(212, 182, 138, 0.28); color: var(--on-pine); }

/* Trade index: a ruled directory */
.trade-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  border-top: 1px solid var(--ink);
}
.trade-links li { min-width: 0; border-bottom: 1px solid var(--line-strong); }
.trade-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.125rem 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
}
.trade-links .arrow { display: inline-block; font-family: var(--sans); font-size: 1.1rem; color: var(--brass); }
.trade-links a:hover { color: var(--pine); }
.trade-links a:hover .arrow { transform: translateX(4px); }
.trade-links a[aria-current="page"] { color: var(--brass); font-style: italic; }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2rem var(--col-gap);
  align-items: start;
}
.faq-layout .section-intro { display: block; position: sticky; top: 7rem; margin: 0; }
.faq-layout .section-intro > h2 { margin-bottom: 1rem; }
.faq-layout .section-intro > p { max-width: 22rem; }
.faq { max-width: 50rem; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.375rem 3.5rem 1.375rem 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  line-height: 1.35;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--pine); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font: 400 1.25rem/1 var(--sans);
  color: var(--brass);
}
.faq details[open] summary::after { content: "\2212"; background: var(--pine); border-color: var(--pine); color: var(--cream); }
.faq .answer { padding: 0 3.5rem 1.5rem 0; max-width: 44rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact-box {
  position: relative;
  background-color: var(--pine-deep);
  background-image: radial-gradient(90% 120% at 100% 0%, rgba(212, 182, 138, 0.14), transparent 60%);
  color: var(--on-pine);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: clamp(2rem, 1.25rem + 3vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
}
.contact-box > * { min-width: 0; }
.contact-box h2 { color: var(--cream); margin-bottom: 0.75rem; }
.contact-box p { margin-bottom: 0; max-width: 40rem; color: var(--on-pine); }
.contact-box a:not(.btn) { color: var(--cream); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ inner pages -- */
.page-head { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-head h1 { max-width: 18ch; margin-bottom: 1.25rem; }
.page-head .lede { max-width: 38rem; }
.page-head p:not([class]) { max-width: 40rem; }
.page-head-split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem var(--col-gap);
  align-items: end;
}
.page-head-split .wrap::after {
  content: "";
  grid-column: 1 / -1;
  margin-top: clamp(0.5rem, 0.25rem + 1.5vw, 1.5rem);
  border-top: 3px double var(--brass-dot);
}
.page-head-main, .page-head-aside { min-width: 0; }
.page-head-split h1 { margin-bottom: 0; }
.page-head-aside .lede { margin-bottom: 0; }
.page-head-aside .btn-row { margin-top: 1.75rem; }

/* thank-you.js may lengthen the h1 ("Thank you for choosing Keep-Warm Plus.") */
.page-head-ty h1 { max-width: 20ch; }
.ty-seal {
  display: block;
  width: fit-content;
  margin-bottom: 1.75rem;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper-card);
  box-shadow: var(--shadow-1);
}
.ty-seal .brand-mark { display: block; width: 60px; height: 60px; }

.breadcrumbs {
  font: 600 0.75rem/1.5 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: var(--muted);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.breadcrumbs a { color: var(--pine); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }

/* Sheets and slips (trade detail, thank-you steps) */
.sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  align-items: start;
}
.sheet,
.slip {
  min-width: 0;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-top: 3px double var(--brass-dot);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.h-sheet {
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-dash);
  font-size: 0.9375rem;
  color: var(--muted);
}
.note-tight { margin: 0.875rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.note a, .note-tight a { overflow-wrap: anywhere; }
.after-links { margin-top: 1.5rem; }

/* Prose (legal pages) */
.prose {
  max-width: 42rem;
  padding: 2.5rem 0 var(--section);
  border-top: 3px double var(--brass-dot);
}
.prose h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem);
  margin: 2.75rem 0 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: 0.375rem 0; }
.prose li::marker { color: var(--brass-dot); }
.prose a { overflow-wrap: anywhere; }
.updated {
  font: 600 0.75rem/1.5 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Thank-you */
.ty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); align-items: start; }
.ty-grid > * { min-width: 0; }
.intake-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.intake-list li { border-top: 1px dashed var(--line-dash); padding: 0.75rem 0; }
.intake-list li:first-child { border-top: 0; }
.intake-list label { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; }
.intake-list input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--pine);
  flex: none;
}
.intake-list .hint { display: block; font-size: 0.9rem; color: var(--muted); }

.small { font-size: 0.9375rem; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------ footer -- */
.site-footer {
  position: relative;
  background-color: var(--paper-band);
  background-image: var(--grain);
  border-top: 1px solid var(--line-strong);
  padding: clamp(3rem, 2rem + 3vw, 5rem) 0 2.5rem;
  font-size: 0.9375rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line-strong);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 1rem + 2vw, 3rem);
}
.footer-grid > * { min-width: 0; }
.site-footer h2 {
  font: 600 0.75rem/1.5 var(--label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.5rem 0; }
.site-footer a { color: #22201b; overflow-wrap: anywhere; }
.footer-blurb { margin-top: 1rem; max-width: 22rem; }
.footer-fine {
  border-top: 1px solid var(--line-strong);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
.footer-fine p { margin: 0 0 0.5rem; max-width: 60rem; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pt-sm { padding-top: 1.25rem; }
.mt-1 { margin-top: 0.875rem; }
.mt-2 { margin-top: 1.5rem; }
.h-card { font-size: 1.625rem; }

/* ------------------------------------------------------------ responsive -- */
@media (min-width: 981px) {
  .work-order { margin-top: -4.5rem; }   /* docket crosses the brass rule */
  .price-grid { padding-block: 1.5rem; }
  .price-card.featured { margin-block: -1.5rem; padding-top: 3rem; padding-bottom: 2.75rem; }
  .grid-2 > * + *::before {
    content: "";
    position: absolute;
    top: 0.375rem;
    bottom: 0;
    left: calc(var(--g) / -2);
    width: 1px;
    background: var(--line-strong);
  }
}
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .work-order { margin-top: -2.5rem; }   /* less overlap where the h1 wraps to more lines */
}
@media (max-width: 980px) {
  /* Brand + nav may wrap to two rows here; a static header can't hide anchors. */
  html { scroll-padding-top: 1rem; }
  .site-header { position: static; background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .price-card, .plan-mini { scroll-margin-top: 1rem; }
  .hero-spread,
  .statement,
  .page-head-split .wrap,
  .faq-layout,
  .not-panel { grid-template-columns: minmax(0, 1fr); }
  .work-order { max-width: 36rem; }
  .rate-card { grid-template-columns: minmax(0, 1fr); }
  .rate-card-label { padding: 1rem 0 0.25rem; }
  .rate-list li:first-child { border-left: 0; }
  .rate-list li:first-child .rate { padding-left: 0; }
  .price-grid, .plan-strip { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
  .pillars, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .faq-layout .section-intro { position: static; }
  .section-intro { grid-template-columns: minmax(0, 1fr); }
  .section-intro > p { grid-column: 1; grid-row: 3; margin-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-box { grid-template-columns: minmax(0, 1fr); }
  .contact-box .btn { justify-self: start; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  html { scroll-padding-top: 1rem; }
  .site-header { position: static; background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header .wrap { flex-direction: column; align-items: stretch; gap: 0.25rem; min-height: 0; padding-top: 0.875rem; padding-bottom: 0.375rem; }
  .brand { align-self: flex-start; }
  .site-nav ul { justify-content: space-between; gap: 0 0.75rem; }
  .site-nav li:last-child a { padding: 0 0.875rem; }
  .price-card, .plan-mini { scroll-margin-top: 1rem; }

  .rate-list { grid-template-columns: minmax(0, 1fr); }
  .rate-list li { border-left: 0; border-top: 1px solid var(--line); }
  .rate-list li:first-child { border-top: 0; }
  .rate,
  .rate-list li:first-child .rate {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name price" "note price";
    align-items: center;
    gap: 0.125rem 1rem;
    min-height: 64px;
    padding: 1rem 0.25rem;
  }
  .rate-note { text-align: left; }
  .rate-price { font-size: 2rem; }

  .grid-2, .sheet-grid, .ty-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .faq summary { padding-right: 3rem; }
  .faq .answer { padding-right: 0; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .work-order { padding: 1.25rem 1.25rem 1rem; }
  .work-order::after { inset: 8px -6px -8px 6px; }
  .btn-row .btn, .contact-box .btn { flex: 1 1 100%; width: 100%; }
  .contact-box .btn { justify-self: stretch; }
}
@media (max-width: 360px) {
  .site-nav a { font-size: 0.875rem; }
  .site-nav ul { gap: 0 0.5rem; }
}

/* Motion: quiet, and only when the user has not asked for less. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, .btn, .rate, .faq summary {
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }
  .site-nav a::after, .trade-links .arrow { transition: transform 0.22s ease; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .accent-bar, .site-nav, .skip-link { display: none; }
  .site-header { position: static; }
  body, .section-band, .site-footer { background: #fff; }
  .section-pine, .contact-box, .featured { background: #fff !important; color: #000 !important; box-shadow: none; }
  .section-pine h2, .section-pine h3, .section-pine p, .contact-box h2, .contact-box p, .featured h3, .featured .price { color: #000 !important; }
}
