/* ============================================================
   THE STORM LEDGER — thehomebackup.com
   Field Ledger 031 · civil-preparedness paperwork system
   1  tokens
   2  reset + base type + links
   3  utilities: issuance rule, leader rows, stamps, laminate,
      hazard edge, dimension lines
   4  form header + nav
   5  hero: storm bulletin + load window + manifest
   6  feed laminates (panel schedule)
   7  article pages: page head, section tabs, caution strips
   8  device family: watt plates, runtime bars, chips, gauges
   9  specimen windows
   10 comparison ledger
   11 footer sign-off block
   12 sticky bottom bar
   13 scroll-driven fills (@supports)
   14 breakpoints 900 / 700 / 480
   15 reduced motion
   16 print
   ============================================================ */

/* 1 — TOKENS ------------------------------------------------- */
:root {
  --bg: #E8E6DF;
  --surface: #F8F7F2;
  --ink: #1B1E21;
  --ink-muted: #5C6167;
  --line: #C6C3B8;
  --accent: #E04E00;
  --accent-deep: #A33800;
  --accent-ink: #FFF3EA;
  --grid-blue: #245E9C;

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --w-page: 1120px;
  --w-prose: 68ch;
  --stamp-shadow: 3px 3px 0 rgba(27, 30, 33, 0.32);
}

/* 2 — RESET + BASE ------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.65;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(44px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 2.2em; }
h3 { font-size: 24px; margin-top: 1.6em; }
h4 { font-size: 19px; }

p, ul, ol, dl {
  margin: 0 0 1.1em;
}

strong { font-weight: 600; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 0.3em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--grid-blue);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 0.6rem 1rem;
}

.skip:focus-visible {
  left: 0.5rem;
  top: 0.5rem;
}

/* Content links — grid-blue dotted underline. Buttons/stamps and
   component anchors are excluded via :not() so CSS order can never
   flip a stamp into a text link or vice versa. */
main a:not(.stamp):not(.cta):not(.btn):not(.feed-link):not(.sku-cell):not(.specimen-link):not(.load-window):not(.contents-link),
.site-footer a {
  color: var(--grid-blue);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

main a:not(.stamp):not(.cta):not(.btn):not(.feed-link):not(.sku-cell):not(.specimen-link):not(.load-window):not(.contents-link):hover,
.site-footer a:hover {
  color: var(--accent-deep);
  text-decoration-style: solid;
}

/* 3 — UTILITIES ---------------------------------------------- */

/* Issuance rule: 6px ink bar, 3px gap, hairline. Section opener. */
.issuance-rule,
.page-head,
.rail-head,
.index-block,
.out-of-scope {
  border-top: 6px solid var(--ink);
  position: relative;
  padding-top: 1.4rem;
}

.issuance-rule::before,
.page-head::before,
.rail-head::before,
.index-block::before,
.out-of-scope::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
}

/* Dotted-leader row: LABEL ······· VALUE */
.leader-row {
  display: flex;
  align-items: baseline;
  gap: 0.6ch;
  font-family: var(--font-mono);
  font-size: 13.5px;
  padding: 0.32rem 0;
}

.leader-row .k {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.leader-row .dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
  min-width: 1.5ch;
}

.leader-row .v {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* Stamp plate — every CTA on the site. Hard offset shadow; press
   on hover/active. Hover rules kept separate & scoped per variant. */
.stamp,
.cta,
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.62em 1em 0.66em;
  background: var(--ink);
  color: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: var(--stamp-shadow);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}

.stamp-accent,
.cta {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.stamp-compact {
  font-size: 15px;
  padding: 0.5em 0.75em 0.55em;
  box-shadow: 2px 2px 0 rgba(27, 30, 33, 0.32);
  white-space: nowrap;
}

/* Compact stamps never take the bright accent fill: 15px accent-ink on
   --accent is 3.66:1, under the 4.5:1 AA floor for sub-19px bold text.
   Accent stamps stay at the 19px base size (AA large-text); a compact
   that carries stamp-accent darkens its plate to --accent-deep, where
   accent-ink reads at 6.17:1 (AA) and the plate stays hi-vis orange. */
.stamp-compact.stamp-accent {
  background: var(--accent-deep);
  color: var(--accent-ink);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.stamp:hover,
.cta:hover,
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(27, 30, 33, 0.32);
}

.stamp-accent:hover,
.cta:hover {
  box-shadow: 1px 1px 0 var(--ink);
}

.stamp:active,
.cta:active,
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

/* Laminate — punched, glossed, double-edged sheet */
.laminate {
  position: relative;
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%) no-repeat,
    var(--surface);
  background-size: 260% 100%;
  background-position: 100% 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--line);
  transition: background-position 200ms ease-out, border-color 200ms ease-out;
}

.laminate:hover {
  background-position: 78% 0;
  border-color: var(--ink);
}

/* Hazard chevron edge — caution strips + footer rule only */
.hazard-rule {
  height: 8px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 8px, var(--ink) 8px 16px);
}

/* Dimension line — grid-blue rule, CSS-triangle arrowheads,
   mono annotation chip */
.dim-line {
  position: relative;
  height: 1px;
  background: var(--grid-blue);
  margin: 0.95rem 0 0.9rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.dim-line::before,
.dim-line::after {
  content: "";
  position: absolute;
  top: -3.5px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.dim-line::before {
  left: 0;
  border-right: 7px solid var(--grid-blue);
}

.dim-line::after {
  right: 0;
  border-left: 7px solid var(--grid-blue);
}

.dim-note {
  position: relative;
  top: -0.72em;
  background: var(--surface);
  padding: 0 0.7ch;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grid-blue);
  white-space: nowrap;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mono microtext helpers */
.kicker,
.byline,
.source-note,
.asof {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.kicker {
  color: var(--ink);
  margin: 0 0 0.9rem;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  margin-right: 0.8ch;
}

.byline {
  letter-spacing: 0.05em;
  margin: 0.4rem 0 1.6rem;
}

.source-note {
  letter-spacing: 0.04em;
  text-transform: none;
  margin: 0.9rem 0 1.6rem;
  max-width: var(--w-prose);
}

/* 4 — FORM HEADER -------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--ink);
}

.issuance-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
}

.ledger-nav {
  display: flex;
  align-items: stretch;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  gap: 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35em 0.75em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.site-nav {
  flex: 1;
  display: flex;
}

.silo-cells {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 1;
  border: 1px solid var(--ink);
}

.silo-cells li + li {
  border-left: 1px solid var(--ink);
}

.silo-cells a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  height: 100%;
  padding: 0.45rem 0.9rem 0.5rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
}

.silo-cells a:hover {
  background: var(--bg);
}

.silo-cells a[aria-current="page"],
.silo-cells a[aria-current="page"]:hover {
  background: var(--ink);
  color: var(--surface);
}

.cell-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  white-space: nowrap;
}

/* 5 — HERO: THE STORM BULLETIN ------------------------------- */
.hero {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 2.4rem 1.25rem 1rem;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}

.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  margin-right: 0.8ch;
}

.hero-main {
  display: block;
}

.load-window {
  float: right;
  width: 320px;
  margin: 0.4rem 0 1.2rem 2.4rem;
  padding: 1.5rem 1.15rem 1rem;
}

.lw-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.load-window .leader-row {
  border-bottom: none;
}

.lw-total {
  margin: 0.55rem 0 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  padding: 0.45rem 0.7rem;
  text-align: right;
  letter-spacing: 0.02em;
}

.load-window .dim-line {
  margin-top: 1.35rem;
  margin-bottom: 0.4rem;
}

/* The load calc is a link into the sizing path (buying guide → ledger). */
a.load-window {
  display: block;
  color: inherit;
  text-decoration: none;
}

.lw-cta {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  text-align: right;
}

a.load-window:hover .lw-cta {
  text-decoration: underline;
}

.hero h1 {
  font-size: clamp(64px, 8.4vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 1.8rem;
  max-width: 11em;
}

.manifest {
  clear: none;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
}

.manifest li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.manifest li:last-child {
  border-bottom: 1px solid var(--line);
}

.manifest p {
  margin: 0;
}

.manifest .btn-row {
  margin-top: 0.9rem;
}

.hero-scope {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 760px;
  margin-top: 1.2rem;
}

/* Home sections share the page column */
.rail,
.index-block,
.out-of-scope {
  max-width: var(--w-page);
  margin: 3.2rem auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.rail-head,
.index-block,
.out-of-scope {
  margin-top: 3.2rem;
}

.rail-head {
  margin: 0 0 1.6rem;
  padding-top: 1.4rem;
}

.rail-head p:not(.kicker) {
  max-width: var(--w-prose);
}

/* 6 — FEED LAMINATES (panel schedule) ------------------------ */
.laminate-stack {
  display: grid;
  gap: 1.4rem;
  margin: 1.8rem 0 0.8rem;
}

.product-laminate {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 258px;
  gap: 1.6rem;
  padding: 1.6rem 1.6rem 1.5rem 1.9rem;
  align-items: start;
}

.product-laminate .specimen {
  margin: 0;
}

.laminate-main {
  min-width: 0;
}

.class-plate {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 2px solid var(--accent);
  padding: 0.28rem 0.55rem;
  margin: 0 0 0.85rem;
  background: var(--surface);
}

.card-brand {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.15rem;
}

.card-name {
  font-size: 28px;
  margin: 0 0 0.45rem;
}

.card-job {
  font-size: 15.5px;
  line-height: 1.5;
  margin: 0 0 0.9rem;
  max-width: 46ch;
}

.leader-rows {
  border-top: 1px solid var(--line);
}

.leader-rows .leader-row {
  border-bottom: 1px solid var(--line);
}

.laminate-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.laminate-side .dim-line,
.runtime,
.kwh {
  min-width: 0;
  max-width: 100%;
}

.laminate-side .stamp {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.9ch;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  margin: 0.75rem 0 0.1rem;
}

.price-row .price {
  font-size: 22px;
  font-weight: 500;
}

.price-row s {
  color: var(--ink-muted);
  font-size: 14.5px;
}

.asof {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

/* Home-page silo feed rows */
.silo-feed {
  display: grid;
  gap: 1.3rem;
  margin-top: 1.8rem;
}

.feed-laminate {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 1.6rem;
  padding: 1.5rem 1.6rem 1.4rem 1.9rem;
}

.feed-rail {
  border-right: 1px solid var(--line);
  padding-right: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feed-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.feed-rail .class-plate {
  margin: 0;
}

/* Hub panel-schedule rows: the row's kind label (Best-of, Vs, Guide…) */
.feed-kind {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}

.feed-title {
  font-size: 28px;
  margin: 0 0 0.35rem;
}

/* Hub guide rows (they carry a .feed-kind label) have no runtime/price
   right column, so at desk widths the title and job sentence split into
   two ledger columns — the row reads as a filled form line instead of
   leaving a dead right field (blueprint §4 panel-schedule register). */
@media (min-width: 981px) {
  .feed-laminate:has(.feed-kind) > div:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 2.2rem;
    align-items: start;
  }

  .feed-laminate:has(.feed-kind) .feed-job {
    margin: 0.35rem 0 0;
    padding-left: 1.3rem;
    border-left: 1px solid var(--line);
  }
}

.feed-link {
  color: inherit;
  text-decoration: none;
}

.feed-link:hover {
  color: var(--accent-deep);
}

.feed-link:hover .feed-title {
  color: var(--accent-deep);
}

.feed-job {
  font-size: 15.5px;
  margin: 0 0 0.85rem;
  max-width: 60ch;
}

/* Circuit chips: filled square = powered, hollow + struck = shed */
.circuit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.circuit-chips li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.24rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7ch;
}

.circuit-chips li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}

.circuit-chips li.shed {
  color: var(--ink-muted);
  text-decoration: line-through;
}

.circuit-chips li.shed::before {
  background: transparent;
  border: 1px solid var(--ink-muted);
}

/* Un-numbered schedule (buyer-page index) — ruled left rail + leaders;
   the register lives in the rules, not in numerals. */
.schedule {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  max-width: 760px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--ink);
}

.schedule li {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.55rem 0 0.55rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.schedule li::after {
  content: "";
  order: 2;
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
  min-width: 2ch;
}

.schedule li a {
  order: 1;
}

/* 7 — ARTICLE PAGES ------------------------------------------ */
.page {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 3rem;
}

.page > p,
.page > ul,
.page > ol,
.page > h2,
.page > h3,
.page > blockquote,
.manual > p,
.manual > ul,
.manual > ol,
.manual > h2,
.manual > h3,
.manual > blockquote {
  max-width: var(--w-prose);
}

/* Field-manual spread — product pages. Sticky 300px spec margin holding
   the Load Plate rides beside the manual text (blueprint §4). */
.manual-spread {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2.6rem;
  align-items: start;
  margin-top: 1.2rem;
}

.spec-margin {
  position: sticky;
  top: 1rem;
  min-width: 0;
}

.manual {
  min-width: 0;
}

.manual > :first-child {
  margin-top: 0;
}

.load-plate {
  padding: 1.15rem 1.15rem 1.25rem;
}

.load-plate .specimen {
  margin: 0 0 0.95rem;
}

.load-plate .specimen-well {
  padding: 1rem;
}

.load-plate .specimen-well img {
  max-width: 210px;
}

.load-plate .class-plate {
  margin-bottom: 0.7rem;
}

.plate-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 0.7rem;
}

.load-plate .leader-rows {
  margin-bottom: 0.9rem;
}

/* Price + stamp are the plate's loudest cells (conversion pass). */
.load-plate .price-row .price {
  font-size: 27px;
}

.load-plate .stamp {
  margin-top: 0.35rem;
  display: block;
  text-align: center;
}

.crumbs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
}

.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.crumbs li + li::before {
  content: "→";
  margin-right: 0.5rem;
  color: var(--ink-muted);
}

.crumbs [aria-current="page"] {
  color: var(--ink-muted);
}

.page-head {
  margin: 0.4rem 0 0.8rem;
}

.page-head h1 {
  max-width: 22ch;
}

.lede {
  font-size: 20px;
  line-height: 1.55;
  max-width: var(--w-prose);
  margin-bottom: 0.8em;
}

/* Top-level h2s open on the issuance hairline — the register is the
   rule itself, not a margin figure number. */
.page > h2,
.manual > h2 {
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.toc {
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--line);
  padding: 1.1rem 1.4rem 1rem;
  margin: 1.8rem 0 2.2rem;
  max-width: 560px;
}

.toc > p {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.5rem;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}

.toc li {
  padding: 0.22rem 0;
  font-size: 15px;
  break-inside: avoid;
}

/* SUMMARY laminate — emitted by build.mjs on article pages; hi-vis
   SUMMARY tag (19px bold on accent = AA large text), plain body text. */
.summary {
  max-width: 560px;
  margin: 1.6rem 0 1.2rem;
  padding: 1.05rem 1.3rem 1.1rem;
}

.summary-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28em 0.55em 0.32em;
  margin: 0 0 0.65rem;
}

.summary-text {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 60ch;
}

/* IN THIS LEDGER — dotted-leader contents rows built from the page's
   h2s. Ships open; desk.js collapses the <details> on small screens. */
.contents {
  max-width: 560px;
  margin: 0 0 2.2rem;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--line);
  padding: 1rem 1.4rem 0.9rem;
}

.contents-label {
  display: block;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contents-label::-webkit-details-marker {
  display: none;
}

.contents-label::after {
  content: "§";
  float: right;
  color: var(--accent-deep);
  transition: transform 160ms ease-out;
}

.contents[open] .contents-label::after {
  transform: rotate(90deg);
}

.contents-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}

.contents-list a {
  display: flex;
  align-items: baseline;
  gap: 0.6ch;
  padding: 0.32rem 0;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

.contents-list .c-title {
  color: var(--grid-blue);
}

.contents-list a:hover .c-title {
  color: var(--accent-deep);
}

.contents-list .dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
  min-width: 2ch;
}

/* End-of-section conversion row — issuance-ruled, one dominant stamp
   into the silo's money page plus one quiet link. Emitted by build.mjs
   ({{ctarow:…}}); no urgency copy, ever. */
.cta-row {
  max-width: var(--w-prose);
  margin: 2.6rem 0 1.2rem;
  border-top: 6px solid var(--ink);
  position: relative;
  padding-top: 1.15rem;
}

.cta-row::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
}

.cta-row-lead {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.95rem;
}

.cta-row-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}

.cta-quiet {
  font-size: 15px;
}

@media (max-width: 700px) {
  .cta-row-links .stamp {
    width: 100%;
    text-align: center;
  }
}

/* Checklists & step lists — breaker-glyph markers */
.check,
.steps {
  list-style: none;
  padding-left: 0;
}

.check li,
.steps li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.75em;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.52em;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.steps {
  counter-reset: step;
}

.steps li {
  padding-left: 2.6rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.22em;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
}

/* Two-column who/skip register */
.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--surface);
  margin: 2rem 0;
}

.who > div {
  padding: 1.3rem 1.5rem 1rem;
}

.who > div + div {
  border-left: 1px solid var(--line);
}

.who h2,
.who h3 {
  font-size: 17px;
  margin: 0 0 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.who ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 15.5px;
}

.who li {
  margin-bottom: 0.5em;
}

/* Caution strip — the site's only diagonals besides the footer */
.caveat {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: none;
  padding: 1.15rem 1.4rem 0.9rem 2.1rem;
  margin: 2rem 0;
}

.caveat::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 8px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 8px, var(--ink) 8px 16px);
}

.caveat::after {
  content: "Caution";
  display: block;
  position: absolute;
  top: -0.75em;
  left: 2.1rem;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
}

.caveat h3 {
  font-size: 17px;
  margin: 0.1rem 0 0.5rem;
}

.caveat p {
  font-size: 15.5px;
  margin-bottom: 0.6em;
}

/* Filed note */
.note {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem 1.3rem 0.8rem;
  margin: 1.8rem 0;
}

.note p {
  font-size: 15.5px;
  margin-bottom: 0.5em;
}

.related {
  font-family: var(--font-mono);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 2.4rem;
  color: var(--ink-muted);
}

/* Card grids for silo sub-page indexes */
.silo-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
  margin: 1.6rem 0 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--line);
  padding: 1.15rem 1.3rem 0.9rem;
}

.card h3 {
  font-size: 18px;
  margin: 0 0 0.45rem;
}

.card p {
  font-size: 15px;
  margin: 0 0 0.5em;
}

/* 8 — DEVICE FAMILY ------------------------------------------ */
.watt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.2rem 0 0.4rem;
}

.watt-plate {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--surface);
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}

.watt-plate.surge {
  border-style: dashed;
}

.runtime {
  margin-bottom: 0.1rem;
}

.runtime-bar {
  display: flex;
  gap: 3px;
  height: 18px;
}

.runtime-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.runtime-bar i {
  flex: 1;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.runtime-bar i.part {
  background: var(--accent);
  border-color: var(--accent-deep);
}

.kwh {
  margin: 0.35rem 0 0;
}

.kwh-gauge {
  display: flex;
  gap: 3px;
  height: 22px;
}

.kwh-gauge i {
  flex: 1;
  max-width: 20px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.kwh-gauge i.part {
  background: var(--accent);
  border-color: var(--accent-deep);
}

.kwh-gauge i.ghost {
  background: transparent;
  border: 1px dashed var(--line);
}

.dim-ghost {
  margin-top: 0.85rem;
  margin-bottom: 0.15rem;
}

/* Load math line — panel arithmetic */
.load-math {
  font-family: var(--font-mono);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin: 1.4rem 0;
}

.load-math .lm-total {
  border: 1px solid var(--accent-deep);
  color: var(--accent-deep);
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  margin-left: 0.4ch;
  white-space: nowrap;
}

/* 9 — SPECIMEN WINDOW ---------------------------------------- */
.specimen {
  margin: 1.8rem 0;
}

.specimen-link {
  display: block;
  text-decoration: none;
}

.specimen-well {
  display: block;
  position: relative;
  background:
    linear-gradient(var(--ink), var(--ink)) no-repeat 8px 8px / 12px 1px,
    linear-gradient(var(--ink), var(--ink)) no-repeat 8px 8px / 1px 12px,
    linear-gradient(var(--ink), var(--ink)) no-repeat calc(100% - 8px) 8px / 12px 1px,
    linear-gradient(var(--ink), var(--ink)) no-repeat calc(100% - 8px) 8px / 1px 12px,
    linear-gradient(var(--ink), var(--ink)) no-repeat 8px calc(100% - 8px) / 12px 1px,
    linear-gradient(var(--ink), var(--ink)) no-repeat 8px calc(100% - 8px) / 1px 12px,
    linear-gradient(var(--ink), var(--ink)) no-repeat calc(100% - 8px) calc(100% - 8px) / 12px 1px,
    linear-gradient(var(--ink), var(--ink)) no-repeat calc(100% - 8px) calc(100% - 8px) / 1px 12px,
    #FFFFFF;
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.specimen-well img {
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  object-fit: contain;
}

.specimen figcaption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

.sku-figure {
  max-width: 460px;
  margin: 1.8rem 0 2rem;
}

.sku-figure .specimen-well {
  padding: 2rem;
}

.sku-figure .specimen-well img {
  max-width: 340px;
}

/* 10 — COMPARISON LEDGER ------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin: 2rem 0 2.4rem;
  border: 1px solid var(--ink);
  background: var(--surface);
  position: relative;
}

/* Right-edge fade cue (blueprint §9): shows the ledger continues past
   the fold. The shell sits outside the scroll container so the cue
   stays pinned; it appears only at widths where the table overflows. */
.table-shell {
  position: relative;
  margin: 2rem 0 2.4rem;
}

.table-shell .table-wrap {
  margin: 0;
}

.table-shell::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  right: 1px;
  width: 44px;
  background: linear-gradient(to left, var(--surface) 12%, rgba(248, 247, 242, 0));
  pointer-events: none;
  display: none;
}

@media (max-width: 819px) {
  .table-shell::after {
    display: block;
  }
}

.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 780px;
  font-size: 15px;
}

.compare caption {
  caption-side: bottom;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--line);
}

.compare thead th {
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  padding: 0.6rem 1rem;
  white-space: nowrap;
}

.compare thead th:first-child {
  text-align: left;
}

.compare tbody th,
.compare tbody td {
  border-top: 1px solid var(--line);
  padding: 0.7rem 1rem;
  vertical-align: middle;
}

.compare tbody td {
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.compare tbody th[scope="row"],
.compare thead th:first-child {
  position: sticky;
  left: 0;
  background: var(--surface);
  z-index: 1;
  border-right: 1px solid var(--line);
}

.compare thead th:first-child {
  background: var(--ink);
}

.sku-cell {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  min-width: 210px;
}

.sku-cell:hover .sku-name {
  color: var(--accent-deep);
}

.sku-thumb {
  flex: none;
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.sku-thumb img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.compare td.win {
  color: var(--accent-deep);
  font-weight: 500;
}

.win-mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  margin-right: 0.7ch;
  vertical-align: baseline;
}

/* 11 — FOOTER SIGN-OFF --------------------------------------- */
.site-footer {
  margin-top: 4rem;
}

.signoff-grid {
  max-width: var(--w-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1fr 1fr;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.signoff-cell {
  padding: 1.4rem 1.5rem 1.1rem;
  font-size: 14px;
  line-height: 1.6;
}

.signoff-cell + .signoff-cell {
  border-left: 1px solid var(--line);
}

.signoff-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.signoff-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}

.sheet-line {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.signoff-cell p {
  margin-bottom: 0.7em;
}

.signoff-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.signoff-list li {
  padding: 0.24rem 0;
}

.fineprint {
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* Ruled disclosure block — above the footer sign-off on pages that carry
   affiliate links. Quiet but conspicuous; emitted by build.mjs. */
.disclosure-block {
  max-width: var(--w-page);
  margin: 3rem auto 0;
  padding: 0 1.25rem;
}

.disclosure-block p {
  max-width: var(--w-prose);
  margin: 0;
  border-top: 1px solid var(--ink);
  padding-top: 0.85rem;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.advisory {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 1.3rem 1.25rem 2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* 12 — STICKY BOTTOM BAR ------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--surface);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-top: 2px solid var(--accent);
  transform: translateY(0);
  transition: transform 200ms ease-out;
}

.sticky-cta.is-away {
  transform: translateY(110%);
}

.sticky-lead {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--line);
}

.sticky-cta-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* SKU pages: the bar carries the product's own dated price. Surface on
   ink ≈ 13:1 (AA). */
.sticky-info {
  min-width: 0;
}

.sticky-info .sticky-lead {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-asof {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--surface);
  white-space: nowrap;
}

/* On the ink bar, stamps flip to surface fill for AA contrast at
   compact sizes (accent-ink on accent only passes as large text). */
.sticky-cta .stamp {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.sticky-cta .stamp:hover {
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55);
}

/* Thumb-reachable tap target on the bar (≥44px). */
.sticky-cta .stamp {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .sticky-cta {
    display: flex;
  }
}

/* The bar stays off until desk.js clears [hidden] after the reader
   scrolls past the Load Plate (blueprint §9). */
.sticky-cta[hidden] {
  display: none;
}

/* 13 — SCROLL-DRIVEN FILLS ----------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .runtime-bar,
    .kwh-gauge {
      animation: gauge-fill 1ms linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 70%;
    }
  }
}

@keyframes gauge-fill {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* 14 — BREAKPOINTS ------------------------------------------- */
@media (max-width: 980px) {
  .product-laminate {
    grid-template-columns: 200px minmax(0, 1fr);
    grid-template-areas: none;
  }

  .product-laminate .laminate-side {
    grid-column: 2;
  }

  .signoff-grid {
    grid-template-columns: 1fr 1fr;
  }

  .signoff-cell:nth-child(3) {
    border-left: none;
  }

  .signoff-cell:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  /* §9: the spec margin becomes a Load Plate block at the top of the
     article; sticky riding is a desktop composition. */
  .manual-spread {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .spec-margin {
    position: static;
    max-width: 430px;
  }

  .ledger-nav {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .wordmark {
    align-self: flex-start;
  }

  .site-nav {
    flex-basis: 100%;
  }

  .silo-cells {
    grid-template-columns: 1fr 1fr;
  }

  .silo-cells li + li {
    border-left: none;
  }

  .silo-cells li:nth-child(even) {
    border-left: 1px solid var(--ink);
  }

  .silo-cells li:nth-child(n + 3) {
    border-top: 1px solid var(--ink);
  }

  .hero h1 {
    font-size: clamp(44px, 10vw, 84px);
  }

  /* §9: the Load Window un-floats and stacks BELOW the headline —
     flex order puts the h1 first without touching source order. */
  .hero-main {
    display: flex;
    flex-direction: column;
  }

  .hero-main h1 {
    order: -1;
  }

  .load-window {
    float: none;
    width: 100%;
    max-width: 430px;
    margin: 0 0 2rem;
  }

  .who {
    grid-template-columns: 1fr;
  }

  .who > div + div {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16.5px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 64px);
  }

  .product-laminate {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.4rem 1.2rem 1.3rem;
  }

  .product-laminate .laminate-side {
    grid-column: auto;
  }

  .product-laminate .specimen {
    max-width: 300px;
  }

  .feed-laminate {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.4rem 1.2rem 1.3rem;
  }

  .feed-rail {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 0.9rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .toc ol {
    columns: 1;
  }

  .btn-row .stamp,
  .btn-row .cta,
  .btn-row .btn {
    width: 100%;
    text-align: center;
  }

  /* §9: the four sign-off cells stack single-column with hairlines. */
  .signoff-grid {
    grid-template-columns: 1fr;
  }

  .signoff-cell + .signoff-cell {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  body {
    padding-bottom: 64px; /* room for the sticky bar */
  }
}

@media (max-width: 520px) {
  .issuance-right {
    display: none;
  }

  .cell-name {
    font-size: 13.5px;
    white-space: normal;
  }

  .lede {
    font-size: 18px;
  }

  .page,
  .hero,
  .rail,
  .index-block,
  .out-of-scope {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* 15 — REDUCED MOTION ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .runtime-bar,
  .kwh-gauge {
    clip-path: none !important;
    animation: none !important;
  }
}

/* 16 — PRINT ------------------------------------------------- */
@media print {
  .site-header,
  .sticky-cta,
  .skip,
  .table-shell::after {
    display: none;
  }

  .spec-margin {
    position: static;
  }

  body {
    background: #fff;
  }

  .laminate,
  .card,
  .toc {
    box-shadow: none;
  }

  .stamp,
  .cta,
  .btn {
    background: none !important;
    color: var(--ink) !important;
    box-shadow: none;
    border: 1.5px solid var(--ink);
  }
}

/* 17 — BRAND PLATE (mark integration; scoped additions only) ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 5px 0.75em 5px 5px;
}

.wordmark-mark {
  /* the commissioned linocut tile, stamped onto the ink plate */
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
}

.wordmark-text {
  transform: translateY(-1px);
}

.signoff-brand {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.brand-line-mark {
  display: block;
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--ink);
}

/* 18 — MEASURING-INSTRUMENT CURSOR --------------------------- */
/* The pointer is an engineer's crosshair — the instrument that
   reads the form. Storm slate strokes over a 1px bone halo so it
   registers on both the bone ground and dark ink plates.
   Interactive elements swap to the bracket variant (the jaws of
   the clamp). Coarse/touch pointers keep stock cursors; text
   entry keeps the I-beam; keyboard focus styles are untouched. */
@media (pointer: fine) {
  body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="none" stroke="%23E8E6DF" stroke-width="3"><path d="M16.5 4v8M16.5 21v8M4 16.5h8M21 16.5h8"/><path d="M3.5 8V3.5H8M24 3.5h4.5V8M28.5 24v4.5H24M8 28.5H3.5V24"/></g><rect x="15" y="15" width="3" height="3" fill="%23E8E6DF"/><g fill="none" stroke="%231B1E21" stroke-width="1"><path d="M16.5 4v8M16.5 21v8M4 16.5h8M21 16.5h8"/><path d="M3.5 8V3.5H8M24 3.5h4.5V8M28.5 24v4.5H24M8 28.5H3.5V24"/></g><rect x="16" y="16" width="1" height="1" fill="%231B1E21"/></svg>') 16 16, crosshair;
  }

  a[href],
  button,
  summary,
  select,
  .contents-label,
  .stamp,
  .cta,
  .btn,
  .nav-toggle,
  [role="button"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="none" stroke="%23E8E6DF" stroke-width="3"><path d="M16.5 4v8M16.5 21v8M4 16.5h8M21 16.5h8"/></g><g fill="none" stroke="%23E8E6DF" stroke-width="3.5"><path d="M3.25 9.25V3.25H9.25M22.75 3.25H28.75V9.25M28.75 22.75V28.75H22.75M9.25 28.75H3.25V22.75"/></g><rect x="15" y="15" width="3" height="3" fill="%23E8E6DF"/><g fill="none" stroke="%231B1E21" stroke-width="1"><path d="M16.5 4v8M16.5 21v8M4 16.5h8M21 16.5h8"/></g><g fill="none" stroke="%23245E9C" stroke-width="1.5"><path d="M3.25 9.25V3.25H9.25M22.75 3.25H28.75V9.25M28.75 22.75V28.75H22.75M9.25 28.75H3.25V22.75"/></g><rect x="16" y="16" width="1" height="1" fill="%231B1E21"/></svg>') 16 16, pointer;
  }

  input:not([type]),
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="url"],
  input[type="number"],
  textarea,
  [contenteditable="true"] {
    cursor: text;
  }

  /* Clamp frame — JS-built overlay (desk.js): four corner
     brackets that expand to frame the hovered control's
     border-box +6px. Geometry (left/top/width/height) is set
     once per hover by script; only transform/opacity animate.
     Press = the stamp behavior: translate 2px, shadow collapses. */
  .clamp-frame {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.92);
    filter: drop-shadow(2px 2px 0 rgba(27, 30, 33, 0.28));
    transition: transform 140ms ease-out, opacity 140ms ease-out, filter 140ms ease-out;
    will-change: transform, opacity;
  }

  .clamp-frame.is-on {
    opacity: 1;
    transform: none;
  }

  .clamp-frame.is-press {
    transform: translate(2px, 2px);
    filter: drop-shadow(0 0 0 rgba(27, 30, 33, 0));
  }

  .clamp-frame i {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 0 solid var(--grid-blue);
  }

  .clamp-frame i:nth-child(1) { left: 0; top: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
  .clamp-frame i:nth-child(2) { right: 0; top: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
  .clamp-frame i:nth-child(3) { right: 0; bottom: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
  .clamp-frame i:nth-child(4) { left: 0; bottom: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
}
