/* ============================================================
   STANDARD BUREAU — structural foundation
   Layout, interaction, and responsive rules. Brand values come
   from colors_and_type.css; the identity layer below applies the
   supplied mark's geometry without redefining the token system.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--sb-surface);
  color: var(--sb-text);
  font-family: var(--sb-body);
  -webkit-font-smoothing: antialiased;
  /* component aliases */
  --accent: var(--sb-copper);
  --accent-deep: var(--sb-orange-deep);

  /* fluid vertical rhythm — one scale, varied beat (not metronomic) */
  --bay:        clamp(80px,  4vw + 52px, 148px);  /* standard section band */
  --bay-tight:  clamp(52px,  3vw + 30px, 100px);  /* tighter band (figures, footer) */
  --bay-loose:  clamp(120px, 9vw + 56px, 224px);  /* dramatic pause (the dark statement) */
  --head-gap:   clamp(28px,  3vw,        60px);   /* section-head: label ↔ content */
  --head-stack: clamp(40px,  4.5vw,      80px);   /* section-head ↔ body */
  --flow-sm:    clamp(20px,  2vw,        32px);   /* small stack within a group */
  --flow-md:    clamp(32px,  3.5vw,      52px);   /* medium stack between groups */
}
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

/* keyboard focus — one consistent copper ring, squared to match the system.
   Mouse focus stays clean (focus-visible only); never removed without a replacement. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--sb-accent-ink);
  outline-offset: 3px;
}
/* on dark ink surfaces the copper ring drops to 2.28:1; switch to paper (11.5:1) */
.ledger-dark a:focus-visible,
.ledger-dark button:focus-visible,
.ledger-dark [tabindex]:focus-visible {
  outline-color: var(--sb-paper-soft);
}
/* skip link — first focusable element, slides in from above on focus */
.skip-link {
  position: fixed;
  left: 12px;
  top: -64px;
  z-index: 60;
  background: var(--sb-ink);
  color: var(--sb-paper-soft);
  font-family: var(--sb-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: var(--sb-radius-1);
  transition: top .16s cubic-bezier(.2, .8, .2, 1);
}
.skip-link:focus { top: 12px; }
.skip-link:focus-visible { outline: 2px solid var(--sb-paper-soft); outline-offset: 2px; }
/* main is a programmatic skip target, not a control — no visible ring, but clears the sticky header */
#main { scroll-margin-top: 88px; }
#main:focus, #main:focus-visible { outline: none; }

/* faint ledger gridlines, white-first */
.ledger {
  background-image:
    linear-gradient(90deg, rgba(50,49,41,.035) 1px, transparent 1px),
    linear-gradient(rgba(50,49,41,.028) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
}
.ledger-dark {
  background-image:
    linear-gradient(90deg, rgba(247,240,226,.05) 1px, transparent 1px),
    linear-gradient(rgba(247,240,226,.04) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
}

/* brand serif/accent overridable via these vars */
.display-font { font-family: var(--display-stack, var(--sb-serif)); }

/* ---- buttons ---- */
.sb-btn { font-family: var(--sb-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid var(--sb-ink); cursor: pointer; transition: background .16s ease, color .16s ease, transform .12s ease, border-color .16s ease; text-decoration: none; background: var(--sb-ink); color: var(--sb-paper-soft); border-radius: var(--sb-radius-1); }
.sb-btn:hover { background: #45433a; }
.sb-btn:active { transform: translateY(1px); }
.sb-btn:disabled, .sb-btn[disabled] { opacity: .55; cursor: default; pointer-events: none; }
.sb-btn--secondary { background: transparent; color: var(--sb-ink); }
.sb-btn--secondary:hover { background: var(--sb-surface-filed); }
.sb-btn--ghost { background: transparent; border-color: transparent; color: var(--accent); padding: 0 4px; min-height: 0; }
.sb-btn--ghost:hover { text-decoration: underline; }
.sb-btn--on-ink { background: var(--sb-paper-soft); color: var(--sb-ink); border-color: var(--sb-paper-soft); }
.sb-btn--on-ink:hover { background: #fff; }

.label { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-muted); }
.label--accent { color: var(--sb-accent-ink); }

/* sticky masthead */
.masthead { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.1) blur(8px); border-bottom: 1px solid var(--sb-ink); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.mh-brand { display: flex; align-items: center; gap: 16px; }
.mh-brand img { height: 52px; width: auto; display: block; mix-blend-mode: multiply; }
.mh-tag { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-muted); border-left: 1px solid var(--sb-border-mid); padding-left: 16px; }
.mh-nav { display: flex; gap: 30px; align-items: center; }
.mh-nav a { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--sb-ink); padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .15s ease, color .15s ease; cursor: pointer; }
.mh-nav a:hover { color: var(--accent); }
.mh-nav a.active { border-color: var(--accent); color: var(--accent); }
.mh-nav a.cta { min-height: 44px; padding: 0 18px; }

.anchor { scroll-margin-top: 120px; }

/* ---- signature motifs ---- */
/* dot-leader row: label …… value (table-of-contents grammar) */
.leader { display: flex; align-items: baseline; gap: 0; width: 100%; }
.lead-dots { flex: 1 1 auto; align-self: stretch; border-bottom: 1.5px dotted var(--sb-border-mid); margin: 0 14px; transform: translateY(-5px); min-width: 24px; }

/* running head — the mono section marker that runs down the page */
.runhead { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--sb-muted); }

/* office stamp */
.stamp { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sb-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); border: 1.5px solid var(--accent); padding: 7px 14px; border-radius: var(--sb-radius-1); }

/* document header strip under the masthead */
.docstrip { border-bottom: 1px solid var(--sb-border); }
.docstrip-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 10px 0; flex-wrap: wrap; }
.docstrip span { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--sb-muted); }
.docstrip .sep { color: var(--sb-border-mid); }

/* double rule */
.rule-double { border-top: 1px solid var(--sb-ink); border-bottom: 1px solid var(--sb-ink); height: 4px; }

.hero-toc-row:hover { padding-left: 14px !important; }
.hero-toc-row:hover .lead-dots { border-bottom-color: var(--accent); }

@keyframes sbFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* a pulled record: the panel slides in from the file drawer, not a plain fade */
@keyframes sbPull { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
/* a rubber stamp coming down on paper: drops in larger + rotated, settles */
@keyframes sbStampIn { 0% { opacity: 0; transform: rotate(-9deg) scale(1.28); } 55% { opacity: 1; } 100% { opacity: 1; transform: rotate(-2deg) scale(1); } }
@keyframes sbStampPress { 0% { opacity: 0; transform: rotate(5deg) scale(1.45); } 52% { opacity: 1; transform: rotate(-3deg) scale(.95); } 100% { opacity: 1; transform: rotate(-3deg) scale(1); } }
@keyframes sbRowIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes sbChipPulse { 0% { transform: scale(1); } 40% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ============================================================
   SECTION SCAFFOLD (from Primitives sbStyles)
   ============================================================ */
.section { padding: var(--bay) 0; }
/* Decisive ink rule OPENS each section-head (document grammar) instead of a
   timid soft rule closing each section. The mono label hangs from the rule. */
.section-head { display: grid; grid-template-columns: .5fr 1.5fr; gap: var(--head-gap); margin-bottom: var(--head-stack); align-items: start; border-top: 1px solid var(--sb-ink); padding-top: 22px; }
.section-num { display: block; font-family: var(--sb-mono); font-size: 11px; letter-spacing: .14em; color: var(--sb-accent-ink); margin-bottom: 14px; }
.section-head h2 { margin-bottom: var(--flow-sm); }
.section-head h2.no-lede { margin-bottom: 0; }
.section-head .sb-lede { max-width: 600px; }

/* ============================================================
   HERO (from Hero heroStyles)
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--sb-surface); color: var(--sb-text); }
.hero-watermark { position: absolute; right: -9%; top: 50%; transform: translateY(-50%); height: 150%; width: auto; opacity: .05; mix-blend-mode: multiply; pointer-events: none; user-select: none; }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(72px, 8vw, 136px); padding-bottom: 0; }
.hero-kicker-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-kicker { font-family: var(--sb-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sb-accent-ink); }
.hero-stamp { transform: rotate(-2deg); animation: sbStampIn .55s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 { margin: clamp(28px, 3.5vw, 52px) 0 0; color: var(--sb-text); max-width: 1100px; }
.hero-lede { max-width: 600px; margin-top: var(--flow-sm); color: var(--sb-text-secondary); }
.hero-actions { display: flex; gap: 14px; margin-top: var(--flow-md); flex-wrap: wrap; }

.hero-toc { position: relative; z-index: 1; margin-top: clamp(64px, 8vw, 120px); }
.hero-toc-head { display: flex; justify-content: space-between; border-top: 1px solid var(--sb-ink); padding-top: 12px; font-family: var(--sb-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--sb-text-secondary); }
.hero-toc-row { width: 100%; display: flex; align-items: baseline; gap: 20px; padding: clamp(20px, 2.4vw, 32px) 0; border: none; border-top: 1px solid var(--sb-border-mid); background: transparent; cursor: pointer; text-align: left; transition: padding-left .18s ease; color: var(--sb-text); text-decoration: none; }
.hero-toc-name { font-family: var(--sb-serif); font-weight: 500; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.025em; line-height: 1; flex: 0 0 auto; }
.hero-toc-verb { font-family: var(--sb-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; flex: 0 0 auto; color: var(--sb-text-secondary); }
/* trailing arrow signals these rows NAVIGATE to a full service page,
   unlike the in-page filing-cabinet tabs below (which only swap a panel) */
.hero-toc-go { font-family: var(--sb-mono); font-size: 15px; line-height: 1; flex: 0 0 auto; color: var(--sb-text-muted); transition: transform .18s ease, color .18s ease; }
.hero-toc-row:hover .hero-toc-go { transform: translateX(5px); color: var(--accent); }
.hero-toc-end { height: 1px; background: var(--sb-ink); }
.hero-toc-spacer { height: clamp(64px, 8vw, 104px); }

/* ============================================================
   SERVICES — filing cabinet (from Services svcStyles)
   ============================================================ */
.sb-cabinet { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--sb-ink); border-radius: var(--sb-radius-1); background: var(--sb-surface-filed); }
.sb-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--sb-ink); }
.svc-tab { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border: none; border-bottom: 1px solid var(--sb-border-mid); background: var(--sb-surface-raised); cursor: pointer; text-align: left; transition: background .15s ease; position: relative; }
.svc-tab.on { background: var(--sb-surface-filed); margin-right: -1px; box-shadow: inset 3px 0 0 var(--accent); }
.svc-tab-name { font-family: var(--sb-serif); font-weight: 500; font-size: 22px; letter-spacing: -.02em; flex: 1 1 auto; line-height: 1; color: var(--sb-text-secondary); }
.svc-tab.on .svc-tab-name { color: var(--sb-ink); }
.svc-tab-verb { font-family: var(--sb-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; flex: 0 0 auto; color: transparent; }
.svc-tab.on .svc-tab-verb { color: var(--sb-accent-ink); }

.svc-panel { padding: 40px 44px; animation: sbPull .28s cubic-bezier(.2, .8, .2, 1); }
.svc-panel-head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--sb-line); padding-bottom: 14px; margin-bottom: 24px; }
.svc-panel-no { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-accent-ink); }
.svc-panel-name { font-family: var(--sb-serif); font-weight: 500; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; line-height: 1; color: var(--sb-ink); margin: 0 0 20px; }
.svc-summary { font-family: var(--sb-serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -.015em; line-height: 1.22; color: var(--sb-ink); margin: 0 0 16px; max-width: 640px; }
.svc-fn { font-family: var(--sb-body); font-size: 16px; line-height: 1.62; color: var(--sb-text-secondary); margin: 0 0 30px; max-width: 620px; }
.svc-rows { display: grid; gap: 0; max-width: 620px; }
.svc-leader-row { padding: 13px 0; border-top: 1px solid var(--sb-line); }
.svc-lk { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sb-text-secondary); flex: 0 0 auto; }
.svc-lv { font-family: var(--sb-body); font-size: 15px; color: var(--sb-ink); flex: 0 0 auto; }

/* ============================================================
   METHOD (from Method methodStyles)
   ============================================================ */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--sb-ink); border-bottom: 1px solid var(--sb-ink); }
.method-cell { padding: clamp(32px, 3vw, 48px) clamp(20px, 2vw, 32px) clamp(28px, 3vw, 44px) 0; border-right: 1px solid var(--sb-border); }
/* breathing room between a divider and the next column's text (the first
   cell stays flush so it aligns with the section's top rule) */
.method-cell + .method-cell { padding-left: clamp(24px, 2.4vw, 40px); }
.method-cell:last-child { border-right: none; }
.method-cell h3 { margin: 0 0 var(--flow-sm); }
.method-body { font-family: var(--sb-body); font-size: 15px; line-height: 1.6; color: var(--sb-text-secondary); max-width: 240px; }
/* the pointer from the four-cell summary to the full protocol page */
.method-more { margin-top: 22px; }
.method-more .card-link { margin-top: 0; }

/* ============================================================
   STATEMENT (from Statement stStyles)
   ============================================================ */
.statement { background: var(--sb-ink); color: var(--sb-paper-soft); padding: var(--bay-loose) 0; }
.statement-inner { position: relative; z-index: 1; }
.statement-kicker { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sb-copper-on-ink); }
.statement-quote { font-family: var(--sb-serif); font-weight: 500; font-size: clamp(34px, 5vw, 66px); letter-spacing: -.04em; line-height: 1.04; color: var(--sb-paper-soft); margin: var(--flow-sm) 0 0; max-width: 1000px; text-wrap: balance; }
.statement-foot { display: flex; justify-content: space-between; margin-top: var(--flow-md); padding-top: 22px; border-top: 1px solid rgba(247,240,226,.18); }
.statement-foot span { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-archive); }

/* ============================================================
   FILED WORK — real engagement patterns, anonymized by design
   ============================================================ */
.work-register { border-top: 1px solid var(--sb-ink); }
.work-file {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 16px;
  padding: clamp(34px, 4.6vw, 68px) 0;
  border-bottom: 1px solid var(--sb-ink);
}
.work-file-meta {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--sb-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sb-muted);
}
.work-file-meta span:first-child { color: var(--sb-accent-ink); margin-bottom: 10px; }
.work-file h3 {
  grid-column: 2;
  font-family: var(--sb-serif);
  font-weight: 500;
  font-size: clamp(30px, 4.1vw, 54px);
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: 0;
  max-width: 850px;
}
.work-file > p {
  grid-column: 2;
  max-width: 700px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--sb-text-secondary);
}
.work-file-outcome {
  grid-column: 2;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--sb-border-mid);
}
.work-file-outcome span,
.work-file-outcome strong {
  font-family: var(--sb-mono);
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.work-file-outcome span { color: var(--sb-accent-ink); }
.work-file-outcome strong { color: var(--sb-ink); font-weight: 400; line-height: 1.6; }
.work-register-more { margin-top: 24px; }
.work-register-more .card-link { margin-top: 0; }

/* ============================================================
   CONTACT — premium casefile intake
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(184,111,67,.14), transparent 34%),
    linear-gradient(180deg, var(--sb-surface-raised) 0%, var(--sb-paper-soft) 100%);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(50,49,41,.045) 1px, transparent 1px),
    linear-gradient(rgba(50,49,41,.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.contact .wrap { position: relative; z-index: 1; }
.contact-head { align-items: end; }
.ct-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
  gap: 0;
  border: 1px solid rgba(50,49,41,.92);
  border-radius: 22px;
  background: color-mix(in srgb, var(--sb-surface) 94%, white 6%);
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(50,49,41,.16), 0 2px 0 rgba(255,255,255,.65) inset;
}
.ct-grid::before {
  content: "Filed intake / Standard Bureau";
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 3;
  font-family: var(--sb-mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(50,49,41,.38);
}
.ct-sheet {
  position: relative;
  padding: clamp(32px, 4vw, 56px);
  border-right: 1px solid var(--sb-border);
  background:
    linear-gradient(135deg, rgba(255,255,255,.84), rgba(255,255,255,.36)),
    linear-gradient(180deg, var(--sb-surface) 0%, var(--sb-surface-filed) 100%);
  isolation: isolate;
}
.ct-watermark {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  bottom: clamp(20px, 3vw, 44px);
  z-index: -1;
  font-family: var(--sb-serif);
  font-size: clamp(116px, 13vw, 220px);
  letter-spacing: -.08em;
  line-height: .8;
  color: rgba(184,111,67,.055);
  user-select: none;
}
.ct-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(50,49,41,.16);
  padding-bottom: 18px;
  margin-bottom: 22px;
}
.ct-sheet-no, .ct-eyebrow {
  font-family: var(--sb-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sb-accent-ink);
}
.ct-state-pill {
  font-family: var(--sb-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sb-ink);
  background: rgba(184,111,67,.11);
  border: 1px solid rgba(184,111,67,.34);
  border-radius: 999px;
  padding: 7px 11px;
}
.ct-intro { max-width: 620px; margin-bottom: clamp(24px, 3vw, 38px); }
.ct-intro p {
  margin: 10px 0 0;
  font-family: var(--sb-serif);
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--sb-ink);
}
.ct-form { display: flex; flex-direction: column; gap: 22px; }
.ct-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ct-field { display: flex; flex-direction: column; gap: 9px; }
.ct-field-label { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--sb-muted); }
.ct-field-label .req { color: var(--sb-accent-ink); }
.ct-input {
  font-family: var(--sb-body);
  font-size: 16px;
  color: var(--sb-ink);
  padding: 15px 16px;
  border: 1px solid rgba(50,49,41,.26);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  outline: none;
  width: 100%;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.ct-input::placeholder { color: rgba(50,49,41,.43); }
.ct-input:hover { border-color: rgba(50,49,41,.44); background: rgba(255,255,255,.88); }
.ct-input:focus { border-color: var(--sb-accent-ink); background: #fff; box-shadow: 0 0 0 4px rgba(184,111,67,.12), 0 1px 0 rgba(255,255,255,.9) inset; }
textarea.ct-input { resize: vertical; font-family: var(--sb-body); }
.ct-note { min-height: 128px; }
.ct-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ct-chip {
  position: relative;
  font-family: var(--sb-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid rgba(50,49,41,.22);
  background: rgba(255,255,255,.48);
  color: var(--sb-text-secondary);
  cursor: pointer;
  border-radius: 14px;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.ct-chip span { color: var(--sb-accent-ink); opacity: .72; }
.ct-chip:hover { transform: translateY(-1px); border-color: rgba(50,49,41,.46); background: rgba(255,255,255,.78); }
.ct-chip.on { background: var(--sb-ink); color: var(--sb-paper-soft); border-color: var(--sb-ink); box-shadow: 0 14px 26px rgba(50,49,41,.18); animation: sbChipPulse .25s ease; }
.ct-chip.on span { color: var(--sb-copper-on-ink); opacity: 1; }
.ct-actions { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.ct-submit { min-width: 190px; box-shadow: 0 16px 28px rgba(50,49,41,.18); }
.ct-submit[disabled] { opacity: .74; cursor: wait; transform: none; }
.ct-submit[data-review-only] { cursor: not-allowed; opacity: .78; }
.ct-submit span { font-size: 16px; line-height: 1; transform: translateX(2px); }
.ct-hint { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--sb-muted); }
.ct-confirm { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 8px 0; }
.ct-stamp { font-family: var(--sb-mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); border: 2px solid var(--accent); padding: 9px 19px; border-radius: 9px; transform: rotate(-3deg); background: rgba(255,255,255,.74); box-shadow: 0 12px 24px rgba(184,111,67,.12); animation: sbStampPress .5s cubic-bezier(.2, .8, .2, 1) both; }
.ct-receipt .ct-rspec { animation: sbRowIn .38s ease both; }
.ct-receipt .ct-rspec:nth-child(1) { animation-delay: .14s; }
.ct-receipt .ct-rspec:nth-child(2) { animation-delay: .20s; }
.ct-receipt .ct-rspec:nth-child(3) { animation-delay: .26s; }
.ct-receipt .ct-rspec:nth-child(4) { animation-delay: .32s; }
.ct-confirm-lede { font-family: var(--sb-serif); font-weight: 500; font-size: clamp(27px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.08; color: var(--sb-ink); margin: 0; max-width: 600px; }
.ct-receipt { display: grid; gap: 0; width: 100%; max-width: 560px; margin-bottom: 6px; }
.ct-rspec { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--sb-line); padding: 12px 0; }
.ct-rk { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--sb-muted); }
.ct-rv { font-family: var(--sb-body); font-size: 14px; color: var(--sb-ink); }
.ct-aside { padding: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; gap: 0; color: var(--sb-paper-soft); background: linear-gradient(180deg, rgba(50,49,41,.98), rgba(36,35,30,.96)), radial-gradient(circle at 70% 12%, rgba(184,111,67,.34), transparent 42%); }
.ct-aside-label { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--sb-copper-on-ink); margin-bottom: 14px; }
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(250,247,239,.16); }
.ct-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(250,247,239,.16); }
.ct-steps span { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .14em; color: var(--sb-copper-on-ink); }
.ct-steps p { margin: 0; font-family: var(--sb-body); font-size: 15px; line-height: 1.55; color: rgba(250,247,239,.82); }
.ct-email { font-family: var(--sb-serif); font-weight: 500; font-size: clamp(25px, 2.6vw, 36px); letter-spacing: -.035em; line-height: 1.05; color: var(--sb-paper-soft); text-decoration: none; word-break: break-word; }
.ct-email:hover { color: var(--sb-copper-on-ink); }
.ct-aside-rule { height: 1px; background: rgba(250,247,239,.16); margin: 30px 0; }
.ct-aside-note { font-family: var(--sb-body); font-size: 15px; line-height: 1.62; color: rgba(250,247,239,.76); margin: 18px 0 30px; }
.ct-aside-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(250,247,239,.14); }
.ct-aside-meta-k { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,247,239,.54); }
.ct-aside-meta-v { font-family: var(--sb-body); font-size: 14px; color: var(--sb-paper-soft); }
.hidden { display: none !important; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ============================================================
   FOOTER (from Footer ftStyles)
   ============================================================ */
.footer { background: var(--sb-surface); padding: var(--bay-tight) 0 clamp(40px, 4vw, 56px); border-top: 1px solid var(--sb-ink); }
.ft-top { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: clamp(36px, 4vw, 52px); border-bottom: 1px solid var(--sb-border); }
.ft-logo { height: 150px; width: auto; mix-blend-mode: multiply; }
.ft-tag { font-family: var(--sb-body); font-size: 15px; line-height: 1.6; color: var(--sb-text-secondary); max-width: 460px; margin: 24px 0 0; }
.ft-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ft-col-head { display: block; font-family: var(--sb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-accent-ink); margin-bottom: 16px; }
.ft-link { display: block; font-family: var(--sb-body); font-size: 15px; color: var(--sb-text); text-decoration: none; padding: 5px 0; cursor: pointer; }
.ft-link:hover { color: var(--accent); }
.ft-foot { display: flex; justify-content: space-between; margin-top: 28px; flex-wrap: wrap; gap: 12px; }
.ft-mono { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--sb-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: var(--flow-sm); margin-bottom: var(--head-stack); }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-sheet { border-right: none; border-bottom: 1px solid var(--sb-border); }
  .ft-top { grid-template-columns: 1fr; gap: 36px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-cell:nth-child(odd) { border-right: 1px solid var(--sb-border); padding-left: 0; }
  .method-cell:nth-child(even) { padding-left: clamp(20px, 2.4vw, 32px); }
  .method-cell { padding-right: 20px; }
  .work-file { grid-template-columns: 1fr; }
  .work-file-meta { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .work-file-meta span:first-child { margin-bottom: 0; }
  .work-file h3, .work-file > p, .work-file-outcome { grid-column: 1; }
}

@media (max-width: 760px) {
  .sb-cabinet { grid-template-columns: 1fr !important; }
  .sb-cabinet .sb-tabs { flex-direction: row !important; border-right: none !important; border-bottom: 1px solid var(--sb-ink) !important; overflow-x: auto; }
  .sb-cabinet .sb-tabs button { flex: 1 0 auto; border-bottom: none !important; border-right: 1px solid var(--sb-border-mid) !important; }
  .ct-row2 { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-cell, .method-cell:nth-child(odd), .method-cell:nth-child(even) { border-right: none; border-bottom: 1px solid var(--sb-border); padding: 28px 0 22px; }
  .work-file-outcome { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 860px) {
  /* Hide only the tagline. KEEP the section links reachable — they drop to a
     full-width second row under the brand, like a document sub-header rule.
     (Previously these were display:none, stranding Method/Posture/Contact
     with no way to reach them from the masthead.) */
  .mh-tag, .docstrip-inner span.opt { display: none; }
  .masthead-inner { flex-wrap: wrap; row-gap: 12px; }
  .mh-nav { flex: 1 0 100%; justify-content: flex-start; flex-wrap: wrap; gap: 22px; align-items: center; border-top: 1px solid var(--sb-border); padding-top: 12px; }
  .mh-nav a:not(.cta) { min-height: 44px; display: inline-flex; align-items: center; }  /* 44px tap target */
  .mh-nav a.cta { margin-left: auto; }                /* push CTA to the row's right edge */
}

/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.mh-brand[href] { text-decoration: none; }

/* per-service panel CTA on the homepage cabinet */
.svc-panel-cta { margin-top: 30px; }

/* ---- service hero (title page for a single service) ---- */
.svc-hero { position: relative; overflow: hidden; background: var(--sb-surface); }
.svc-hero-watermark { position: absolute; right: -9%; top: 50%; transform: translateY(-50%); height: 150%; width: auto; opacity: .05; mix-blend-mode: multiply; pointer-events: none; user-select: none; }
.svc-hero-inner { position: relative; z-index: 1; padding: clamp(48px, 5vw, 80px) 0 clamp(72px, 8vw, 128px); }
.svc-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--sb-border-mid); padding-bottom: 16px; margin-bottom: clamp(40px, 5vw, 72px); }
.svc-back { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-muted); text-decoration: none; }
.svc-back:hover { color: var(--accent); }
.svc-hero-verb { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sb-accent-ink); }
.svc-hero-kicker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: var(--flow-sm); }
.svc-hero-kicker .hero-kicker { margin: 0; }
.svc-hero h1 { margin: 0; max-width: 1000px; color: var(--sb-text); }
.svc-hero-lede { max-width: 660px; margin-top: var(--flow-sm); color: var(--sb-text-secondary); }
.svc-hero .hero-actions { margin-top: var(--flow-md); }

/* ---- two-column content block (label / content) ---- */
/* Same document grammar as .section-head: an ink rule opens each block,
   the mono label hangs from it. No timid soft bottom-borders. */
.block { padding: var(--bay) 0; }
.block-grid { display: grid; grid-template-columns: .5fr 1.5fr; gap: var(--head-gap); align-items: start; border-top: 1px solid var(--sb-ink); padding-top: 22px; }
.block-aside .label { display: block; }
.block-title { margin-bottom: var(--flow-md); }
.block-prose { font-family: var(--sb-body); font-size: 17px; line-height: 1.66; color: var(--sb-text-secondary); max-width: 660px; }
.block-prose p { margin: 0 0 18px; }
.block-prose p:last-child { margin-bottom: 0; }
.block-prose strong { color: var(--sb-ink); font-weight: 600; }

/* ---- spec dot-leader list ---- */
.spec { display: grid; gap: 0; max-width: 680px; margin-top: 28px; }
.spec .leader { padding: 14px 0; border-top: 1px solid var(--sb-line); }
.spec .leader:last-child { border-bottom: 1px solid var(--sb-line); }
.spec-k { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sb-muted); flex: 0 0 auto; }
.spec-v { font-family: var(--sb-body); font-size: 15px; color: var(--sb-ink); flex: 0 0 auto; }

/* ---- capability ledger (3-up, ruled — not floating cards) ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--sb-ink); border-bottom: 1px solid var(--sb-ink); margin-top: var(--flow-sm); }
.card { padding: clamp(28px, 2.6vw, 40px) clamp(22px, 2vw, 34px) clamp(28px, 2.6vw, 40px) 0; border-right: 1px solid var(--sb-border); }
.card + .card { padding-left: clamp(24px, 2.4vw, 40px); }
.card:last-child { border-right: none; padding-right: 0; }
.card-k { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-accent-ink); display: block; margin-bottom: clamp(22px, 2.4vw, 34px); }
.card h3 { margin: 0 0 var(--flow-sm); }
.card p { font-family: var(--sb-body); font-size: 15px; line-height: 1.6; color: var(--sb-text-secondary); margin: 0; max-width: 300px; }

/* ---- numbered steps (the GroundFloor loop) ---- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--sb-ink); max-width: 860px; margin-top: var(--flow-sm); }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: clamp(22px, 2.2vw, 32px) 0; border-bottom: 1px solid var(--sb-border); align-items: baseline; }
.step-n { font-family: var(--sb-mono); font-size: 12px; letter-spacing: .1em; color: var(--sb-accent-ink); }
.step h3 { font-family: var(--sb-serif); font-weight: 500; font-size: 23px; letter-spacing: -.02em; margin: 0 0 8px; color: var(--sb-ink); line-height: 1.1; }
.step p { font-family: var(--sb-body); font-size: 15px; line-height: 1.6; color: var(--sb-text-secondary); margin: 0; max-width: 620px; }

/* ---- pricing tiers ---- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--sb-ink); border-radius: var(--sb-radius-1); background: var(--sb-surface-filed); margin-top: var(--flow-sm); }
.tier { padding: clamp(28px, 2.6vw, 40px) clamp(24px, 2.2vw, 34px); border-right: 1px solid var(--sb-border-mid); display: flex; flex-direction: column; }
.tier:last-child { border-right: none; }
.tier-name { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-accent-ink); margin-bottom: 16px; }
.tier-price { font-family: var(--sb-serif); font-weight: 500; font-size: 42px; letter-spacing: -.03em; color: var(--sb-ink); line-height: 1; }
.tier-per { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--sb-muted); margin-top: 10px; }
.tier-line { height: 1px; background: var(--sb-line); margin: 22px 0; }
.tier-feat { font-family: var(--sb-body); font-size: 14.5px; line-height: 1.56; color: var(--sb-text-secondary); margin: 0; }
.tier-note { font-family: var(--sb-body); font-size: 14px; line-height: 1.6; color: var(--sb-text-secondary); margin: 22px 0 0; max-width: 620px; }
.tier-setup { font-family: var(--sb-body); font-size: 16px; line-height: 1.6; color: var(--sb-text-secondary); margin: 0 0 26px; max-width: 660px; }
.tier-setup strong { color: var(--sb-ink); font-weight: 600; }

/* ---- product screenshots ---- */
/* Sits tight under the section it illustrates, generous space after. */
.shotwrap { padding: 0 0 var(--bay); margin-top: calc(var(--bay) * -0.32); }
.figure { margin: 0; }
.shot { border: 1px solid var(--sb-ink); border-radius: var(--sb-radius-1); overflow: hidden; background: var(--sb-surface-filed); box-shadow: var(--sb-shadow-md); }
.shot img { display: block; width: 100%; height: auto; }
.figure figcaption { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-muted); margin-top: 14px; }
.figure figcaption .accent { color: var(--sb-accent-ink); }
.shot-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 880px) { .shot-two { grid-template-columns: 1fr; } }

/* ---- CTA band ---- */
.cta-band { background: var(--sb-surface-raised); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: clamp(28px, 4vw, 56px); flex-wrap: wrap; padding: var(--bay) 0; }
.cta-inner h2 { max-width: 580px; margin: 0; }
.cta-inner .hero-actions { margin: 0; }

@media (max-width: 880px) {
  .block-grid { grid-template-columns: 1fr; gap: var(--flow-sm); }
  .cards { grid-template-columns: 1fr; }
  .card, .card + .card { border-right: none; border-bottom: 1px solid var(--sb-border); padding: clamp(24px,5vw,30px) 0; }
  .card:last-child { border-bottom: none; padding-bottom: 0; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-right: none; border-bottom: 1px solid var(--sb-border-mid); }
  .tier:last-child { border-bottom: none; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
}

/* ============================================================
   FORM ERROR STATES (contact intake) — copper-ink, no jarring red,
   stays inside the bureau palette. Wired by main.js.
   ============================================================ */
.ct-field-error {
  font-family: var(--sb-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-top: 2px;
  display: none;            /* removed from layout AND the a11y tree until active,
                              so aria-describedby only announces a real error */
}
.ct-field-error.show { display: block; }
.ct-input[aria-invalid="true"] { border-color: var(--accent-deep); }
.ct-input[aria-invalid="true"]:focus { border-color: var(--accent-deep); }
/* receipt rows must not blow out with a very long pasted value */
.ct-rspec { gap: 18px; }
.ct-rspec .ct-rv { text-align: right; word-break: break-word; min-width: 0; }
.ct-rspec .ct-rk { flex: 0 0 auto; }

/* ---- the trust ledger as a signed terms sheet (dot-leader rows, not a 4-up grid) ---- */
.hold-terms { max-width: 760px; margin-top: 0; }
.hold-terms .spec-v { flex: 0 1 auto; min-width: 0; text-align: right; }
@media (max-width: 560px) {
  .hold-terms .leader { flex-wrap: wrap; }
  .hold-terms .lead-dots { display: none; }
  .hold-terms .spec-k { flex: 1 0 100%; margin-bottom: 4px; }
  .hold-terms .spec-v { text-align: left; }
}

/* ---- signatory block (the principals of record, under the terms sheet) ---- */
.hold-sign { margin-top: var(--flow-md); border-top: 1px solid var(--sb-ink); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.hold-sign-names { font-family: var(--sb-serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; line-height: 1; color: var(--sb-ink); margin: 6px 0 0; }
.hold-sign-role { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-text-secondary); }

/* ============================================================
   NARROW-VIEWPORT HEADLINE GUARD
   The hero/service H1s carry a forced <br>. At the smallest widths a
   long Didone word + negative tracking can overrun the content box,
   so drop the forced break and let the line wrap naturally.
   ============================================================ */
@media (max-width: 420px) {
  .hero h1 br, .svc-hero h1 br { display: none; }
}

/* ============================================================
   SMALL-VIEWPORT MASTHEAD — the wrapped nav row already ends in
   the Contact link; the boxed CTA wrapping to a third row only
   added height. Drop it and let Contact carry the action.
   ============================================================ */
@media (max-width: 560px) {
  .mh-nav a.cta { display: none; }
  .hero-toc-verb { display: none; }
  .sb-cabinet .sb-tabs { flex-direction: column !important; overflow-x: visible !important; }
  .sb-cabinet .sb-tabs button { width: 100%; border-right: none !important; border-bottom: 1px solid var(--sb-border-mid) !important; }
  .svc-panel { padding: 28px 22px; }
  .svc-leader-row { display: grid; gap: 5px; }
  .svc-leader-row .lead-dots { display: none; }
  .svc-lv { white-space: normal; line-height: 1.45; }
}

/* ============================================================
   BUREAU & METHOD PAGES — register ledger, principals block
   ============================================================ */
/* 2-up variant of the ruled capability ledger */
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .cards--2 { grid-template-columns: 1fr; } }

/* mono file-link inside a ledger cell */
.card-link { display: inline-block; font-family: var(--sb-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sb-accent-ink); text-decoration: none; margin-top: 18px; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .15s ease; }
.card-link:hover { border-bottom-color: var(--sb-accent-ink); }
.card .card-link { margin-top: 18px; }
.card p + .card-link { margin-top: 18px; }

/* the principals — a ruled two-up, like the method grid, not floating cards */
.principals { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--sb-ink); border-bottom: 1px solid var(--sb-ink); margin-top: var(--flow-md); max-width: 760px; }
.principal { display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 2.6vw, 40px) clamp(22px, 2vw, 34px) clamp(28px, 2.6vw, 40px) 0; border-right: 1px solid var(--sb-border); }
.principal + .principal { padding-left: clamp(24px, 2.4vw, 40px); border-right: none; }
.principal-k { font-family: var(--sb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sb-accent-ink); }
.principal-name { font-family: var(--sb-serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; line-height: 1; color: var(--sb-ink); margin: 0; }
.principal-mail { font-family: var(--sb-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sb-text-secondary); text-decoration: none; margin-top: 6px; }
.principal-mail:hover { color: var(--accent); }
.principals--five { grid-template-columns: repeat(3, 1fr); max-width: none; }
.principals--five .principal { border-right: 1px solid var(--sb-border); border-bottom: 1px solid var(--sb-border); }
.principals--five .principal:nth-child(3) { border-right: none; }
.principals--five .principal:nth-child(4),
.principals--five .principal:nth-child(5) { border-bottom: none; }
.principals--five .principal:nth-child(4) { padding-left: 0; }
.principals--five .principal:nth-child(5) { border-right: none; }
@media (max-width: 880px) and (min-width: 621px) {
  .principals--five { grid-template-columns: repeat(2, 1fr); }
  .principals--five .principal { padding-left: clamp(24px, 2.4vw, 40px); border-right: 1px solid var(--sb-border); border-bottom: 1px solid var(--sb-border); }
  .principals--five .principal:nth-child(odd) { padding-left: 0; }
  .principals--five .principal:nth-child(even) { border-right: none; }
  .principals--five .principal:last-child { border-bottom: none; border-right: none; }
}
@media (max-width: 620px) {
  .principals { grid-template-columns: 1fr; }
  .principal { border-right: none; border-bottom: 1px solid var(--sb-border); padding: 24px 0; }
  .principal + .principal { padding-left: 0; }
  .principal:last-child { border-bottom: none; }
  .principals--five { grid-template-columns: 1fr; }
  .principals--five .principal,
  .principals--five .principal:nth-child(4),
  .principals--five .principal:nth-child(5) { padding: 24px 0; border-right: none; border-bottom: 1px solid var(--sb-border); }
  .principals--five .principal:last-child { border-bottom: none; }
}

/* ============================================================
   REDUCED MOTION — honor the user setting across every transition,
   smooth-scroll, and the service-panel fade.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-toc-row:hover { padding-left: 0 !important; }
  .hero-toc-row:hover .hero-toc-go { transform: none; }
}

/* ============================================================
   IDENTITY LAYER — built from the supplied SB lockup
   Flat civic color, broad geometry, paper texture, plain speech.
   ============================================================ */

body {
  --accent: var(--sb-orange);
  --accent-deep: var(--sb-orange-deep);
  background-color: var(--sb-paper-soft);
  background-image: radial-gradient(rgba(39,39,34,.055) .65px, transparent .65px);
  background-size: 5px 5px;
}

.wrap { width: min(1240px, calc(100% - 80px)); }
.display-font { font-family: var(--sb-display); }

/* navigation: the cropped symbol is the compact signature; the full lockup
   remains in the footer where it has room to read as a complete mark. */
.masthead {
  background: color-mix(in srgb, var(--sb-paper-soft) 92%, transparent);
  border-bottom: 3px solid var(--sb-ink);
  backdrop-filter: blur(12px) saturate(.9);
}
.masthead-inner { min-height: 82px; padding: 10px 0; }
.mh-brand { gap: 18px; }
.mh-brand img {
  width: 82px;
  height: 61px;
  object-fit: cover;
  border: 2px solid var(--sb-ink);
  border-radius: 3px;
  mix-blend-mode: multiply;
}
.mh-tag { color: var(--sb-ink); border-left: 0; padding-left: 0; font-weight: 700; }
.mh-nav { gap: 25px; }
.mh-nav a { font-weight: 700; letter-spacing: .08em; }
.mh-nav a.active { border-color: var(--sb-orange); color: var(--sb-orange-deep); }
.mh-nav a.cta { background: var(--sb-teal); border-color: var(--sb-ink); color: var(--sb-paper-soft); }
.mh-nav a.cta:hover { background: var(--sb-ink); color: var(--sb-paper-soft); }

.sb-btn {
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--sb-ink);
  border-radius: 7px;
  background: var(--sb-ink);
  box-shadow: 5px 5px 0 var(--sb-orange);
  font-weight: 700;
}
.sb-btn:hover { background: var(--sb-teal-deep); transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--sb-orange); }
.sb-btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--sb-orange); }
.sb-btn--secondary { background: var(--sb-paper-soft); color: var(--sb-ink); box-shadow: none; }
.sb-btn--secondary:hover { background: var(--sb-orange-field); color: var(--sb-ink); box-shadow: none; }
.sb-btn--ghost { box-shadow: none; border: 0; }
.sb-btn--on-ink { background: var(--sb-paper-soft); color: var(--sb-ink); border-color: var(--sb-paper-soft); }

.label, .sb-label, .sb-kicker, .sb-num, .hero-kicker {
  color: var(--sb-teal-deep);
  font-weight: 700;
}
.label--accent { color: var(--sb-orange-deep); }
.stamp {
  color: var(--sb-ink);
  border: 2px solid var(--sb-ink);
  background: var(--sb-orange-field);
  border-radius: 999px;
  font-weight: 700;
}

/* hero: the right-hand field is a loose echo of the B, with the orange
   registration dot acting as the hinge between the two halves. */
.hero {
  min-height: calc(100vh - 82px);
  background: var(--sb-paper);
  isolation: isolate;
  border-bottom: 3px solid var(--sb-ink);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(330px, 42vw, 700px);
  height: clamp(330px, 48vw, 760px);
  right: max(-9vw, -120px);
  top: clamp(80px, 8vw, 130px);
  background: var(--sb-teal);
  border: 3px solid var(--sb-ink);
  border-radius: 52% 0 0 52%;
  box-shadow: inset 0 -50% 0 rgba(39,39,34,.08);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(82px, 9vw, 138px);
  aspect-ratio: 1;
  right: clamp(27vw, 33vw, 520px);
  top: clamp(305px, 29vw, 465px);
  border-radius: 50%;
  background: var(--sb-orange);
  border: clamp(10px, 1.3vw, 18px) solid var(--sb-paper-soft);
  outline: 3px solid var(--sb-ink);
}
.hero-watermark, .svc-hero-watermark { display: none; }
.hero-inner { padding-top: clamp(72px, 8vw, 132px); }
.hero-kicker-row { max-width: 67%; }
.hero h1 {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 72%;
  margin-top: clamp(34px, 4vw, 60px);
  text-transform: uppercase;
}
.hero-lede {
  position: relative;
  z-index: 2;
  max-width: 670px;
  width: 60%;
  font-size: clamp(19px, 1.7vw, 24px);
  color: var(--sb-ink);
}
.hero-actions { position: relative; z-index: 2; }
.hero-toc { margin-top: clamp(82px, 10vw, 150px); }
.hero-toc-head {
  border-top: 3px solid var(--sb-ink);
  color: var(--sb-ink);
  font-weight: 700;
  padding: 15px 18px;
  background: var(--sb-orange-field);
}
.hero-toc-row {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px) 18px;
  border-top: 2px solid var(--sb-ink);
  background: color-mix(in srgb, var(--sb-paper-soft) 90%, transparent);
}
.hero-toc-row:nth-of-type(3) { background: color-mix(in srgb, var(--sb-teal-soft) 48%, var(--sb-paper-soft)); }
.hero-toc-row:nth-of-type(4) { background: color-mix(in srgb, var(--sb-orange) 14%, var(--sb-paper-soft)); }
.hero-toc-name { font-family: var(--sb-display); font-weight: 700; letter-spacing: -.045em; }
.hero-toc-verb { color: var(--sb-ink); font-weight: 700; }
.hero-toc-go { color: var(--sb-orange-deep); font-weight: 700; }
.hero-toc-end { height: 3px; background: var(--sb-ink); }

/* section grammar: a colored signal and a broad rule replace the old legal
   document hairlines. */
.section { position: relative; }
.section:nth-of-type(even) { background-color: rgba(255,253,247,.48); }
.section-head {
  position: relative;
  grid-template-columns: minmax(170px,.42fr) 1.58fr;
  border-top: 3px solid var(--sb-ink);
  padding-top: 28px;
}
.section-head::before, .block-grid::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--sb-orange);
  border: 2px solid var(--sb-ink);
}
.section-head h2 { max-width: 900px; }

.sb-cabinet {
  grid-template-columns: 330px 1fr;
  border: 3px solid var(--sb-ink);
  border-radius: 24px 24px 4px 24px;
  overflow: hidden;
  background: var(--sb-paper-soft);
  box-shadow: 12px 12px 0 var(--sb-teal);
}
.sb-tabs { border-right: 3px solid var(--sb-ink); background: var(--sb-teal); }
.svc-tab {
  min-height: 104px;
  padding: 26px;
  border-bottom: 2px solid var(--sb-ink);
  background: var(--sb-teal);
}
.svc-tab:hover { background: var(--sb-teal-soft); }
.svc-tab.on { margin-right: 0; background: var(--sb-orange-field); box-shadow: none; }
.svc-tab-name { font-family: var(--sb-display); font-size: 25px; font-weight: 700; color: var(--sb-paper-soft); }
.svc-tab.on .svc-tab-name { color: var(--sb-ink); }
.svc-tab.on .svc-tab-verb { color: var(--sb-ink); font-weight: 700; }
.svc-panel { padding: clamp(34px,4vw,58px); }
.svc-panel-name, .svc-summary { font-family: var(--sb-display); font-weight: 700; }
.svc-panel-head { border-bottom: 2px solid var(--sb-ink); }
.svc-leader-row { border-top: 2px solid var(--sb-border-mid); }

.method-grid { border: 3px solid var(--sb-ink); }
.method-cell {
  min-height: 320px;
  padding: clamp(32px,3vw,46px) clamp(23px,2.2vw,36px);
  border-right: 2px solid var(--sb-ink);
  background: var(--sb-paper);
}
.method-cell:nth-child(2) { background: var(--sb-teal); color: var(--sb-paper-soft); }
.method-cell:nth-child(3) { background: var(--sb-orange-field); }
.method-cell:nth-child(4) { background: var(--sb-ink); color: var(--sb-paper-soft); }
.method-cell:nth-child(2) h3, .method-cell:nth-child(2) .method-body,
.method-cell:nth-child(4) h3, .method-cell:nth-child(4) .method-body { color: var(--sb-paper-soft); }
.method-cell h3 { text-transform: uppercase; }

.statement {
  position: relative;
  overflow: hidden;
  background: var(--sb-teal);
  border-block: 3px solid var(--sb-ink);
}
.statement::after {
  content: "";
  position: absolute;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  right: -14vw;
  bottom: -60%;
  border-radius: 50%;
  background: var(--sb-orange);
  border: 3px solid var(--sb-ink);
}
.statement-kicker { color: var(--sb-paper-soft); font-weight: 700; }
.statement-quote { font-family: var(--sb-display); font-weight: 700; max-width: 1100px; }
.statement-foot { border-top: 2px solid var(--sb-paper-soft); }
.statement-foot span { color: var(--sb-paper-soft); font-weight: 700; }

.work-register { display: grid; gap: 20px; border-top: 0; }
.work-file {
  position: relative;
  padding: clamp(32px,4vw,58px);
  border: 3px solid var(--sb-ink);
  background: var(--sb-paper);
}
.work-file:nth-child(even) { background: color-mix(in srgb, var(--sb-teal-soft) 44%, var(--sb-paper-soft)); }
.work-file::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sb-orange);
  border: 2px solid var(--sb-ink);
}
.work-file h3 { font-family: var(--sb-display); font-weight: 700; }
.work-file-outcome { border-top: 2px solid var(--sb-ink); }
.work-file-proof {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 2px solid var(--sb-ink);
  background: var(--sb-surface-raised);
  color: var(--sb-ink);
  font-size: 15px;
  line-height: 1.5;
}
.work-file-proof span {
  display: block;
  margin-bottom: 4px;
  color: var(--sb-teal-deep);
  font-family: var(--sb-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.spec .leader { border-top: 2px solid var(--sb-border-mid); }
.hold-sign { border-top: 3px solid var(--sb-ink); }
.hold-sign-names, .principal-name { font-family: var(--sb-display); font-weight: 700; }
.fit-note {
  max-width: 860px;
  margin-top: clamp(36px,5vw,64px);
  padding: 24px 0 0;
  border-top: 3px solid var(--sb-ink);
}
.fit-note p { max-width: 760px; margin: 12px 0 0; font-size: 18px; line-height: 1.55; }

/* intake: a sturdy two-color service counter rather than a floating app. */
.contact { background: var(--sb-orange-field); border-block: 3px solid var(--sb-ink); }
.contact::before { display: none; }
.contact .section-head { border-top-color: var(--sb-ink); }
.contact .label--accent { color: var(--sb-ink); }
.contact .sb-lede { color: var(--sb-ink); }
.ct-grid {
  border: 3px solid var(--sb-ink);
  border-radius: 26px 26px 5px 26px;
  box-shadow: 14px 14px 0 var(--sb-ink);
  background: var(--sb-paper-soft);
}
.ct-sheet { background: var(--sb-paper-soft); border-right: 3px solid var(--sb-ink); }
.ct-watermark { color: rgba(207,88,39,.09); font-family: var(--sb-display); font-weight: 700; }
.ct-state-pill { border: 2px solid var(--sb-ink); background: var(--sb-orange-field); border-radius: 999px; }
.ct-intro p, .ct-confirm-lede, .ct-email { font-family: var(--sb-display); font-weight: 700; }
.ct-input, .ct-chip { border: 2px solid var(--sb-ink); border-radius: 8px; background: var(--sb-surface-raised); box-shadow: none; }
.ct-input:focus { border-color: var(--sb-teal-deep); box-shadow: 0 0 0 4px rgba(53,110,112,.22); }
.ct-chip.on { background: var(--sb-orange-field); color: var(--sb-ink); box-shadow: 4px 4px 0 var(--sb-ink); }
.ct-chip.on span { color: var(--sb-ink); }
.ct-aside { background: var(--sb-teal); }
.ct-email { font-size: clamp(18px,1.6vw,24px); white-space: nowrap; }
.ct-aside-label, .ct-steps span { color: var(--sb-paper-soft); font-weight: 700; }
.ct-steps { border-top: 2px solid var(--sb-paper-soft); }
.ct-steps li { border-bottom: 2px solid rgba(248,240,219,.45); }
.ct-aside-rule, .ct-aside-meta { border-color: rgba(248,240,219,.45); }
.ct-privacy {
  margin: 18px 0 0;
  max-width: 690px;
  color: var(--sb-text-secondary);
  font-size: 13px;
  line-height: 1.55;
}
.ct-privacy a { color: var(--sb-teal-deep); font-weight: 700; text-underline-offset: 3px; }

.footer {
  background: var(--sb-ink);
  color: var(--sb-paper-soft);
  border-top: 0;
  padding-top: clamp(72px,8vw,120px);
}
.ft-top { border-bottom: 2px solid rgba(248,240,219,.35); }
.ft-brand-lockup {
  display: inline-grid;
  grid-template-columns: 112px auto;
  gap: 22px;
  align-items: center;
  color: var(--sb-paper-soft);
  text-decoration: none;
}
.ft-brand-lockup img {
  width: 112px;
  height: auto;
  border: 3px solid var(--sb-paper-soft);
  background: var(--sb-paper);
}
.ft-brand-lockup span { display: grid; gap: 12px; }
.ft-brand-lockup strong {
  font-family: var(--sb-display);
  font-size: clamp(34px,4vw,56px);
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.ft-brand-lockup small {
  color: var(--sb-copper-on-ink);
  font-family: var(--sb-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ft-tag, .ft-link, .ft-mono { color: var(--sb-paper-soft); }
.ft-col-head { color: var(--sb-copper-on-ink); font-weight: 700; }
.ft-link:hover { color: var(--sb-copper-on-ink); }
.ft-cols > div { display: flex; flex-direction: column; align-items: flex-start; }
.ft-link { min-height: 44px; display: flex; align-items: center; }
.ft-mono, .card-link, .principal-mail { min-height: 44px; display: inline-flex; align-items: center; }

/* Shared service and bureau pages */
.svc-hero {
  position: relative;
  isolation: isolate;
  background: var(--sb-paper);
  border-bottom: 3px solid var(--sb-ink);
}
.svc-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(240px,35vw,520px);
  aspect-ratio: 1.16;
  right: -7vw;
  bottom: -12%;
  border: 3px solid var(--sb-ink);
  border-radius: 50% 0 0 50%;
  background: var(--sb-teal);
}
.svc-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(58px,7vw,100px);
  aspect-ratio: 1;
  border-radius: 50%;
  right: clamp(24vw,30vw,430px);
  bottom: 18%;
  background: var(--sb-orange);
  border: 10px solid var(--sb-paper-soft);
  outline: 3px solid var(--sb-ink);
}
.svc-hero-inner { z-index: 1; }
.svc-hero-top { border-bottom: 3px solid var(--sb-ink); }
.svc-hero h1 { width: 72%; text-transform: uppercase; }
.svc-hero-lede { width: 58%; color: var(--sb-ink); }
.block-grid { position: relative; border-top: 3px solid var(--sb-ink); padding-top: 28px; }
.cards { border: 3px solid var(--sb-ink); }
.card { padding: clamp(28px,2.6vw,40px); border-right: 2px solid var(--sb-ink); background: var(--sb-paper); }
.card:nth-child(even) { background: color-mix(in srgb, var(--sb-teal-soft) 42%, var(--sb-paper-soft)); }
.card h3 { font-family: var(--sb-display); font-weight: 700; }
.principals { border: 3px solid var(--sb-ink); }
.principal { padding: clamp(28px,2.6vw,40px); border-color: var(--sb-ink); background: var(--sb-paper); }
.principal-k { max-width: 28ch; line-height: 1.45; }
.principal-focus { margin: 16px 0 8px; color: var(--sb-text-secondary); line-height: 1.55; }
.policy-prose { max-width: 820px; }
.policy-prose h2 { margin: clamp(44px,6vw,72px) 0 14px; font-size: clamp(28px,4vw,44px); }
.policy-prose .block-title { margin-top: 0; }
.policy-prose p { max-width: 720px; margin: 0 0 18px; font-size: 18px; line-height: 1.65; }
.policy-updated { margin-top: 48px; color: var(--sb-text-muted); font-family: var(--sb-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 980px) {
  .hero::before { right: -24vw; opacity: .8; }
  .hero::after { right: 25vw; }
  .hero h1 { width: 82%; }
  .hero-lede { width: 66%; }
  .mh-tag { display: none; }
}

@media (max-width: 880px) {
  .wrap { width: min(100% - 40px, 1240px); }
  .section-head { grid-template-columns: 1fr; }
  .ct-sheet { border-right: 0; border-bottom: 3px solid var(--sb-ink); }
  .method-cell { min-height: 260px; }
  .svc-hero h1 { width: 86%; }
  .svc-hero-lede { width: 72%; }
}

@media (max-width: 760px) {
  .masthead-inner { min-height: auto; }
  .mh-brand img { width: 66px; height: 49px; }
  .hero { min-height: auto; }
  .hero::before {
    width: 56vw;
    height: 56vw;
    min-width: 210px;
    min-height: 210px;
    right: -34vw;
    top: 105px;
    opacity: .56;
  }
  .hero::after { width: 66px; right: -3vw; top: 205px; border-width: 8px; }
  .hero-kicker-row, .hero h1, .hero-lede { width: 100%; max-width: 100%; }
  .hero h1 { font-size: clamp(54px,17vw,96px); }
  .hero-lede { background: color-mix(in srgb, var(--sb-paper) 88%, transparent); padding: 10px 0; }
  .hero-toc { margin-top: 76px; }
  .sb-cabinet { box-shadow: 8px 8px 0 var(--sb-teal); }
  .sb-cabinet .sb-tabs { border-bottom: 3px solid var(--sb-ink); }
  .sb-cabinet .sb-tabs button { border-color: var(--sb-ink); }
  .method-grid { grid-template-columns: 1fr; }
  .method-cell { min-height: 0; border-right: 0; border-bottom: 2px solid var(--sb-ink); }
  .work-file { padding: 30px 24px; }
  .ct-grid { box-shadow: 8px 8px 0 var(--sb-ink); }
  .svc-hero::after { opacity: .5; right: -28vw; }
  .svc-hero::before { right: -4vw; bottom: 15%; }
  .svc-hero h1, .svc-hero-lede { width: 100%; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1240px); }
  .masthead-inner { padding: 8px 0; }
  .mh-nav { gap: 9px 18px; padding-top: 8px; }
  .mh-nav a { font-size: 10px; }
  .hero-inner { padding-top: 54px; }
  .hero h1 { letter-spacing: -.075em; }
  .hero-kicker-row { align-items: flex-start; }
  .hero-stamp { margin-top: 8px; }
  .hero-toc-head { gap: 14px; }
  .hero-toc-name { font-size: 27px; }
  .section-head { padding-top: 24px; }
  .work-file::after { width: 14px; height: 14px; top: 14px; right: 14px; }
  .block .spec .leader { display: grid; gap: 5px; }
  .block .spec .lead-dots { display: none; }
  .block .spec .spec-k, .block .spec .spec-v { min-width: 0; max-width: 100%; text-align: left; overflow-wrap: anywhere; }
  .ct-chips { grid-template-columns: 1fr; }
  .ft-brand-lockup { grid-template-columns: 88px auto; gap: 16px; }
  .ft-brand-lockup img { width: 88px; }
}
