/* Landing page layout (package B, .ld- prefix). Shared components (.btn, .chip, .tag, .kicker, .prose, .verdict,
   .stamp, .total, .money, .data-table, .table-scroll, .sr-only, .skip) are styled by A in style.css. */

/* Deep-linked sectors: hide the static staffing card until the story module renders (§4.2). */
html.js:not([data-sector="staffing"]) [data-mount="hero"]:not([data-ready]):not([data-failed]) .st-answer { visibility: hidden; animation: st-reveal 0s 3s forwards; }
/* Same for the story steps, and on any deep link into the story: the static staffing steps are swapped in place
   when the story renders, so they stay hidden (no wrong numbers, no shift) until then. */
html.js:not([data-sector="staffing"]) [data-mount="story"]:not([data-ready]):not([data-failed]) .st-steps,
html.js.ld-hash-story [data-mount="story"]:not([data-ready]):not([data-failed]) .st-steps { visibility: hidden; animation: st-reveal 0s 3s forwards; }
@keyframes st-reveal { to { visibility: visible; } }

/* ---------- grid and rhythm ---------- */
.ld-wrap { max-width: calc(1200px + 2 * var(--wrap-pad, 16px)); margin: 0 auto; padding: 0 var(--wrap-pad, 16px); }
.ld-main { display: block; overflow-x: clip; }
.ld-section { padding: 56px 0; border-top: var(--rule-w, 1px) solid var(--rule); }
.ld-head { max-width: 64ch; margin-bottom: 32px; }
.ld-head > .kicker { margin: 0 0 12px; }
/* h1-h3 type scale comes from style.css (A); these only set rhythm */
.ld-h1 { margin: 0; }
.ld-h2 { margin: 0 0 18px; }
.ld-h3 { margin: 0 0 10px; }
.ld-dek { color: var(--ink-2); margin: 0; max-width: 60ch; text-wrap: pretty; }
.ld-meta { font-size: .875rem; color: var(--muted); margin: 14px 0 0; }
.ld-meta a, .ld-skip { display: inline-flex; align-items: center; min-height: 44px; }
.ld-main [id] { scroll-margin-top: 24px; }
.ld-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }
.ld-cta-row > p { margin: 0; }
.ld-fallback p { max-width: 70ch; }
.ld-fb-k { font: 500 .75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.ld-fb-cap { color: var(--ink-2); font-size: .875rem; }
.ld-split { display: grid; gap: 24px; }
.ld-split > div { border-top: var(--rule-w, 1px) solid var(--rule); padding-top: 16px; }
.ld-split > div > :last-child { margin-bottom: 0; }

/* ---------- hero ---------- */
.ld-hero { position: relative; isolation: isolate; padding: 12px 0 40px; }
.ld-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 85% 10%, var(--glow-1, transparent), transparent 70%),
              radial-gradient(50% 55% at 0% 100%, var(--glow-2, transparent), transparent 70%);
}
.ld-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ld-hero-grid > * { min-width: 0; margin: 0; }
.ld-hero-kicker { color: var(--accent); }
.ld-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.ld-hero-actions > .ld-hero-next { flex: 1 0 100%; margin: -2px 0 0; font-size: .8125rem; line-height: 1.4; }
.ld-hero-sectors { display: grid; gap: 8px; }
.ld-chips-label { margin: 0; font-size: .875rem; color: var(--ink-2); }
.ld-chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  margin: 0 -16px; padding: 2px 16px 6px; scroll-padding-inline: 16px; scrollbar-width: thin; }
.ld-chips .chip { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; }
.ld-vig { flex: 0 0 auto; width: 32px; height: 21px; color: var(--ink-2); overflow: visible; }
.ld-chips-wrap { margin-bottom: 24px; }
.ld-micro { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; color: var(--ink-2); }
.ld-micro span { display: inline-flex; align-items: center; gap: 7px; }
.ld-micro span::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--st-verified);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cmask id='m'%3E%3Crect width='10' height='10' fill='white'/%3E%3Cpath d='M2.7 5.1l1.6 1.6 3-3.3' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='5' cy='5' r='5' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cmask id='m'%3E%3Crect width='10' height='10' fill='white'/%3E%3Cpath d='M2.7 5.1l1.6 1.6 3-3.3' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='5' cy='5' r='5' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat; }
.ld-lede { max-width: 54ch; text-wrap: pretty; color: var(--ink-2); }
html:not(.js) [data-sector-chips], html:not(.js) .ld-chips-label, html:not(.js) [data-theme-open] { display: none; }

/* card: the motif is a soft-edged texture sheet behind it (no offset, no drop shadow) */
.ld-hero-card { position: relative; min-height: 300px; }
.ld-hero-card::before { content: ""; position: absolute; inset: -14px; z-index: -1; pointer-events: none;
  background: var(--motif, none); opacity: .6;
  -webkit-mask: linear-gradient(90deg, transparent, #000 14px calc(100% - 14px), transparent), linear-gradient(transparent, #000 14px calc(100% - 14px), transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 14px calc(100% - 14px), transparent), linear-gradient(transparent, #000 14px calc(100% - 14px), transparent);
  mask-composite: intersect; }
.ld-answer { background: var(--surface); border-radius: var(--radius-l, 10px);
  padding: 16px 18px 12px; display: grid; gap: 10px; border: var(--rule-w, 1px) solid var(--rule); box-shadow: var(--shadow-pop); }
.ld-answer > * { margin: 0; }
.ld-a-fig { color: var(--muted); margin-right: .5em; }
.ld-a-who { display: none; }
.ld-a-q { font-family: var(--font-display); font-weight: var(--display-wght, 560); font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.15; letter-spacing: -0.01em; font-variation-settings: "SOFT" 0; text-wrap: balance; color: var(--ink); }
.ld-ledger { margin: 0; display: grid; gap: 2px; max-width: 280px; font-variant-numeric: tabular-nums lining-nums; }
.ld-l-row { display: flex; justify-content: space-between; gap: 16px; line-height: 26px; border-bottom: 1px solid var(--rule); }
.ld-l-row dt { color: var(--ink-2); }
.ld-l-row dd { margin: 0; font-weight: 600; color: var(--ink); }
.ld-l-gap { border-bottom: 0; }
.ld-l-sub { display: none; }
.ld-answer .verdict { margin: 2px 0 0; }
.ld-strip { display: flex; height: 10px; width: 100%; gap: 2px; }
.ld-strip i, .ld-k { display: block; height: 100%; border-radius: 2px; }
.ld-s-v { background: var(--st-verified); }
.ld-s-l { background: repeating-linear-gradient(45deg, var(--st-likely) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1.5px var(--st-likely); }
.ld-s-n { background: transparent; border: 1.5px dotted var(--muted); }
.ld-strip-legend { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums lining-nums; }
.ld-strip-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ld-k { display: inline-block; width: 12px; height: 8px; }
.ld-a-stats { display: none; font: 500 .75rem/1.4 var(--font-mono); color: var(--muted); letter-spacing: .02em; }
.ld-first { border-radius: var(--radius-m); background: var(--accent-wash); padding: 12px 14px; }
.ld-first p { margin: 0; }
.ld-first-k { font: 500 .75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 4px !important; }
.ld-first-t { font-size: .9375rem; color: var(--ink); }
.ld-first-meta { color: var(--muted); }
.ld-a-links { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: .875rem; }
.ld-a-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- at a glance ---------- */
.ld-glance { background: var(--surface-2); border-top: var(--rule-w, 1px) solid var(--rule); padding: 48px 0; }
.ld-glance-k { margin: 0 0 20px; }
.ld-commit { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ld-commit li { background: var(--surface); border: var(--rule-w, 1px) solid var(--rule); border-radius: var(--radius-l); padding: 16px 18px; box-shadow: var(--shadow-card); }
.ld-commit b { display: block; font-family: var(--font-display); font-weight: var(--display-wght); font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.ld-commit span { display: block; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); margin-top: 4px; }
.ld-glance-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 32px; }
.ld-glance-line { font-size: 1.0625rem; max-width: 62ch; margin: 0; color: var(--ink); text-wrap: pretty; }
.ld-next { font-size: .875rem; color: var(--ink-2); max-width: 52ch; }
.ld-glance-more { margin: 0; font-size: 1rem; font-weight: 600; }
.ld-glance-more a { display: inline-block; padding: 12px 0; }

/* ---------- story (static fallback state; D styles the rendered story) ---------- */
[data-mount="story"]:not([data-ready]) .st-stage { display: none; }
[data-mount="story"]:not([data-ready]) .st-step { max-width: 760px; padding: 28px 0; border-top: var(--rule-w, 1px) solid var(--rule); }
[data-mount="story"]:not([data-ready]) .st-step:first-child { border-top: 0; padding-top: 0; }
[data-mount="story"]:not([data-ready]) .st-inline { margin-top: 16px; }
.ld-step-k { color: var(--accent); margin: 0 0 8px; }
.st-step .prose p { margin: 0 0 12px; }
.ld-fig-note { font-size: .875rem; color: var(--ink-2); margin: 10px 0 0; font-variant-numeric: tabular-nums lining-nums; }
.ld-fig-sub { font: 500 .75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 20px 0 6px; }
.ld-fig-list { margin: 0 0 12px; padding-left: 1.2em; }
.ld-fig-list li { margin: 4px 0; }
.ld-fig-list span { color: var(--muted); }
.st-inline caption { caption-side: top; text-align: left; font-weight: 600; font-size: .875rem; padding: 0 0 8px; color: var(--ink-2); }
.ld-log { background: var(--surface-2); border-radius: var(--radius-m, 8px); padding: 0 14px; }
.ld-log summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.ld-log-h { font-size: .8125rem; color: var(--muted); margin: 0 0 8px; }
.ld-log-lines { list-style: none; margin: 0; padding: 0 0 14px; font: 400 .8125rem/1.55 var(--font-mono); color: var(--ink); }
.ld-log-lines li { display: grid; grid-template-columns: 3.8em 1fr; gap: 8px; }
.ld-log-lines span { color: var(--muted); }

/* ---------- landscape and other stacked tables ---------- */
.ld-landscape { margin-top: 56px; }
.ld-landscape .ld-dek { margin-bottom: 20px; }
.ld-land { font-size: .9375rem; }
.ld-stack th[scope="row"] { font-weight: 600; color: var(--ink); }
.ld-land tbody th, .ld-land td { line-height: 1.45; }
.ld-land .ld-us > * { background: var(--accent-wash); }
.ld-land .ld-us th, .ld-land .ld-us td { color: var(--ink); font-weight: 600; }
.ld-phases td[data-label="Days"] { white-space: nowrap; }
@media (max-width: 759.98px) {
  .ld-stack, .ld-stack tbody, .ld-stack tr, .ld-stack th, .ld-stack td { display: block; width: auto; min-width: 0; }
  .ld-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .ld-stack tr { border-top: var(--rule-w, 1px) solid var(--rule); padding: 14px 0 10px; }
  .ld-stack th, .ld-stack td { border: 0; padding: 3px 0; text-align: left; }
  .ld-stack th[scope="row"] { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.25; padding-bottom: 6px; }
  .ld-stack td[data-label]::before { content: attr(data-label); display: block; font: 500 .6875rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
  .ld-stack .ld-us { background: var(--accent-wash); border-radius: var(--radius-m, 8px); padding: 14px 12px 10px; border-top: 0; }
  .ld-stack .ld-us > * { background: transparent; }
  .ld-phases td[data-label="Days"] { font: 500 .75rem/1.4 var(--font-mono); color: var(--accent); }
  .ld-phases td[data-label="Days"]::before { display: inline; content: "Days "; }
}

/* ---------- pilot fallback ---------- */
.ld-context { font-size: .9375rem; color: var(--ink-2); margin: 14px 0 0; max-width: 64ch; }
.ld-cite { color: var(--muted); }
.ld-total { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 16px; }
.ld-price { border-top: var(--rule-w, 1px) solid var(--rule); margin-top: 24px; padding-top: 16px; max-width: 70ch; }
.ld-price p { margin: 0 0 8px; }
.ld-m-brief { margin-top: 32px; }

/* ---------- trust ---------- */
.ld-trust { display: grid; gap: 20px; }
.ld-trust-col { background: var(--surface); border: var(--rule-w, 1px) solid var(--rule); border-radius: var(--radius-l); padding: 24px; box-shadow: var(--shadow-card); }
.ld-trust-col > .ld-h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ld-trust-col > .ld-h3::before { content: ""; flex: none; width: 26px; height: 26px; background: var(--st-verified);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cmask id='m'%3E%3Crect width='10' height='10' fill='white'/%3E%3Cpath d='M2.7 5.1l1.6 1.6 3-3.3' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='5' cy='5' r='5' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cmask id='m'%3E%3Crect width='10' height='10' fill='white'/%3E%3Cpath d='M2.7 5.1l1.6 1.6 3-3.3' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='5' cy='5' r='5' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat; }
.ld-trust-col + .ld-trust-col > .ld-h3::before { background: var(--critical); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cmask id='m'%3E%3Crect width='10' height='10' fill='white'/%3E%3Cpath d='M3.3 3.3l3.4 3.4m0-3.4L3.3 6.7' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round'/%3E%3C/mask%3E%3Ccircle cx='5' cy='5' r='5' mask='url(%23m)'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cmask id='m'%3E%3Crect width='10' height='10' fill='white'/%3E%3Cpath d='M3.3 3.3l3.4 3.4m0-3.4L3.3 6.7' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round'/%3E%3C/mask%3E%3Ccircle cx='5' cy='5' r='5' mask='url(%23m)'/%3E%3C/svg%3E"); }
.ld-trust-list { list-style: none; margin: 0; padding: 0; counter-reset: ld; }
.ld-trust-list li { border-top: var(--rule-w, 1px) solid var(--rule); padding: 14px 0; }
.ld-trust-list li:last-child { padding-bottom: 0; }
.ld-trust-list p { margin: 0; }
.ld-check { font-size: .875rem; color: var(--ink-2); margin-top: 4px !important; }
.ld-m-trust { margin-top: 32px; }
.ld-status { margin: 0; max-width: 70ch; }
.ld-trust-link { margin: 16px 0 0; font-weight: 600; }
.ld-trust-link a { display: inline-block; padding: 10px 0; }

/* ---------- faq ---------- */
.ld-faq { max-width: 760px; border-bottom: var(--rule-w, 1px) solid var(--rule); align-self: start; }
.ld-faq details { border-top: var(--rule-w, 1px) solid var(--rule); }
.ld-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 0; font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.3; color: var(--ink); }
.ld-faq summary:hover { color: var(--accent); }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after { content: ""; flex: 0 0 12px; height: 12px; background:
  linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat; color: var(--ink-2); }
.ld-faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat; }
.ld-faq details p { margin: 0 0 20px; max-width: 64ch; color: var(--ink-2); font-size: 1.0625rem; }

/* ---------- people, start, footer ---------- */
.ld-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ld-roles li { border-top: var(--rule-w, 1px) solid var(--rule); padding-top: 14px; }
.ld-roles p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.ld-role { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink) !important; margin-bottom: 6px !important; }
.ld-start .ld-dek { margin-bottom: 24px; }
.ld-foot { border-top: var(--rule-w, 1px) solid var(--rule); background: var(--surface-2); padding: 40px 0 48px; color: var(--ink-2); font-size: .875rem; }
.ld-foot-note { max-width: 70ch; margin: 0 0 24px; }
.ld-sources { margin: 0 0 24px; }
.ld-sources > .kicker { margin: 0 0 8px; }
.ld-src-empty { margin: 0; color: var(--muted); }
.ld-src-list { margin: 0; padding-left: 1.6em; display: grid; gap: 6px; max-width: 90ch; }
.ld-src-meta { color: var(--muted); }
.ld-src-badge { font-size: .75rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--rule); border-radius: var(--radius-pill, 999px); padding: 0 6px; white-space: nowrap; }
.ld-src-list :target, .ld-src-list li:target { background: var(--accent-wash); }
.ld-src-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.ld-foot-nav { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0 -8px; }
.ld-foot-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 8px; }
.ld-start .ld-cta-row > a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- contact form (#contact, assets/contact.js; posts to /api/contact) ---------- */
.ld-contact { max-width: 880px; padding: 24px 20px; background: var(--surface); border: var(--rule-w, 1px) solid var(--rule); border-radius: var(--radius-l); box-shadow: var(--shadow-pop); }
.ld-contact:focus { outline: none; }
.ld-contact-h { font-family: var(--font-display); font-size: 1.5rem; }
.ld-form-note { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
.ld-form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 20px; margin-bottom: 20px; }
.ld-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ld-field > label { font-weight: 600; color: var(--ink); }
.ld-opt { font-weight: 400; color: var(--muted); font-size: .875rem; }
.ld-opt::before { content: "("; } .ld-opt::after { content: ")"; }
.ld-hint { margin: 0; color: var(--muted); font-size: .875rem; max-width: 70ch; }
.ld-field input, .ld-field select, .ld-field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--axis); border-radius: var(--radius-s);
  background: var(--raised); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
}
.ld-field textarea { min-height: 132px; resize: vertical; }
.ld-field input::placeholder, .ld-field textarea::placeholder { color: var(--muted); opacity: 1; }
.ld-field input:focus-visible, .ld-field select:focus-visible, .ld-field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.ld-field [aria-invalid="true"] { border-color: var(--critical); box-shadow: inset 0 0 0 1px var(--critical); }
.ld-err { margin: 0; color: var(--critical); font-size: .875rem; font-weight: 600; }
.ld-err::before { content: "! "; }
.ld-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ld-form .btn[disabled] { opacity: .65; cursor: progress; }
.ld-form-fine { margin: 12px 0 0; color: var(--muted); font-size: .875rem; }
.ld-form-status { margin: 16px 0 0; padding: 10px 14px; border-left: 3px solid var(--critical); background: var(--surface-2); border-radius: 0 var(--radius-m) var(--radius-m) 0; color: var(--ink); }
.ld-form-status a { overflow-wrap: anywhere; }
.ld-sent { padding: 4px 0 0; }
.ld-sent:focus { outline: none; }
.ld-sent-h { margin: 0 0 8px; padding-left: 14px; border-left: 3px solid var(--st-verified); font-family: var(--font-display); font-size: 1.375rem; line-height: 1.3; color: var(--ink); }
.ld-sent p:not(.ld-sent-h) { color: var(--ink-2); max-width: 64ch; }
@media (min-width: 760px) {
  .ld-contact { padding: 32px; }
  .ld-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-field-wide { grid-column: 1 / -1; }
}

/* ---------- CLS reservations and first-render skipping ----------
   --r ~ hydrated mount height (per sector for explore/lands) until data-settled/data-failed (landing.js).
   .ld-cv sections skip layout until data-shown; never on a deep link (html.ld-hash). --ci = measured height. */
html.js [class*="ld-m-"]:not([data-settled]):not([data-failed]) { min-height: var(--r); }
html.js .ld-m-sources:not([data-count]):not([data-failed]) { min-height: var(--r); }
html.js:not(.ld-hash) .ld-cv:not([data-shown]) { content-visibility: auto; contain-intrinsic-size: auto var(--ci, 1000px); }
.ld-m-explore { --r: var(--rx); }
.ld-m-lands { --r: var(--rl); }
.ld-m-versus { --r: 710px; } .ld-m-pilot { --r: 560px; } .ld-m-brief { --r: 250px; } .ld-m-trust { --r: 168px; } .ld-m-people { --r: 160px; } .ld-m-sources { --r: 330px; }
html { --rx: 2160px; --rl: 1300px; }
html[data-sector="logistics"] { --rx: 1960px; --rl: 1252px; }
html[data-sector="healthcare"] { --rx: 1890px; --rl: 1162px; }
html[data-sector="manufacturing"] { --rx: 1878px; --rl: 1189px; }
html[data-sector="distribution"] { --rx: 2045px; --rl: 1234px; }
html[data-sector="lending"] { --rx: 1845px; --rl: 1186px; }
#story { --ci: 2080px; } #different { --ci: 3180px; } #explore { --ci: 2590px; } #lands { --ci: 1650px; }
#pilot { --ci: 2630px; } #trust { --ci: 1320px; } #faq { --ci: 550px; } #people { --ci: 470px; } #start { --ci: 450px; }
@media (min-width: 760px) {
  .ld-m-versus { --r: 570px; } .ld-m-pilot { --r: 1400px; } .ld-m-brief { --r: 168px; } .ld-m-trust { --r: 122px; } .ld-m-people { --r: 118px; } .ld-m-sources { --r: 270px; }
  html { --rx: 1580px; --rl: 890px; }
  html[data-sector="logistics"] { --rx: 1230px; --rl: 890px; }
  html[data-sector="healthcare"] { --rx: 1285px; --rl: 866px; }
  html[data-sector="manufacturing"] { --rx: 1285px; --rl: 890px; }
  html[data-sector="distribution"] { --rx: 1455px; --rl: 930px; }
  html[data-sector="lending"] { --rx: 1270px; --rl: 866px; }
  #story { --ci: 1720px; } #different { --ci: 1800px; } #explore { --ci: 2070px; } #lands { --ci: 1250px; }
  #pilot { --ci: 2140px; } #trust { --ci: 920px; } #faq { --ci: 600px; } #people { --ci: 400px; } #start { --ci: 360px; }
}
@media (min-width: 1024px) {
  .ld-m-pilot { --r: 785px; }
  html { --rx: 1475px; --rl: 808px; }
  html[data-sector="logistics"] { --rx: 1242px; --rl: 808px; }
  html[data-sector="healthcare"] { --rx: 1377px; --rl: 784px; }
  html[data-sector="manufacturing"] { --rx: 1349px; --rl: 808px; }
  html[data-sector="distribution"] { --rx: 1249px; --rl: 849px; }
  html[data-sector="lending"] { --rx: 1289px; --rl: 784px; }
  #story { --ci: 4975px; } #different { --ci: 1770px; } #explore { --ci: 1980px; } #lands { --ci: 1290px; }
  #pilot { --ci: 1590px; } #trust { --ci: 940px; } #faq { --ci: 660px; } #people { --ci: 435px; } #start { --ci: 375px; }
}

/* drag-to-adjust (Acme.adjustable); the -/+ buttons use A's .adj-step */
html.adj-drag, html.adj-drag * { cursor: ew-resize !important; user-select: none; -webkit-user-select: none; }

/* ---------- breakpoints ---------- */
/* Phones: CTA under the H1; H1, verdict and CTA fit 375x667 (§9.1). The card holds the story link. */
@media (max-width: 559.98px) {
  .ld-hero-grid { gap: 14px; }
  .ld-h1 { font-size: 2.125rem; } /* §3.2: 34px, four lines at 375 */
  .ld-hero-actions .btn-ghost { display: none; }
  .ld-hero-actions { row-gap: 8px; }
  .ld-answer { gap: 6px; padding: 12px 14px 8px; }
  .ld-a-q { font-size: 1.25rem; }
  .ld-answer .verdict { font-size: 1.0625rem; line-height: 1.35; }
  .ld-strip-legend { font-size: .75rem; gap: 0 10px; }
  .ld-strip-legend span { gap: 4px; }
  .ld-a-links { gap: 0 14px; }
  .ld-hero { padding-bottom: 28px; }
  .ld-glance { padding: 28px 0 32px; }
  .ld-commit li { padding: 10px 0 10px; }
  .ld-glance-k { margin-bottom: 12px; }
  @media (max-width: 359.98px) { .ld-a-links { font-size: .8125rem; gap: 0 10px; } }
  .ld-commit { margin-bottom: 16px; }
  /* compact card until Details (§3.2); a no-JS or failed card shows everything */
  html.js [data-mount="hero"]:not([data-failed]) .ld-answer:not(.st-open) .ld-a-links a[href="#story"] { display: none; }
}
@media (min-width: 560px) {
  .ld-a-who { display: inline; }
  .ld-l-sub { display: flex; }
  .ld-a-stats { display: block; }
  .ld-answer { padding: 20px 22px 16px; gap: 12px; }
}
@media (min-width: 760px) {
  .ld-section { padding: 88px 0; }
  .ld-head { margin-bottom: 48px; }
  .ld-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .ld-commit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ld-split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .ld-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .ld-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .ld-land { min-width: 980px; }
  .ld-land th[scope="row"] { min-width: 168px; }
  .ld-land td, .ld-land th { min-width: 150px; }
}
/* sticky first column only where the 980px table overflows; otherwise no flat band */
@media (min-width: 760px) and (max-width: 1031.98px) {
  .ld-land th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--paper, var(--surface)); box-shadow: 1px 0 0 var(--rule); }
  .ld-land .ld-us th[scope="row"] { background: var(--accent-wash); }
}
@media (min-width: 1024px) {
  .ld-section { padding: var(--space-section) 0; }
  .ld-hero { padding: 48px 0 88px; }
  .ld-hero .ld-h1 { font-size: clamp(2.75rem, 1.6rem + 2.6vw, 3.5rem); }
  .ld-hero .ld-a-stats { display: none; }
  /* DOM (phone) order: kicker, H1, actions, card, sectors, micro, lede; focus runs top to bottom */
  .ld-hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr repeat(6, auto) 1fr; column-gap: 48px; row-gap: 24px; }
  .ld-hero-grid > * { grid-column: 1 / span 7; }
  .ld-hero-kicker { grid-row: 2; }
  .ld-h1 { grid-row: 3; }
  .ld-lede { grid-row: 4; }
  .ld-hero-actions { grid-row: 5; margin-top: 8px !important; }
  .ld-micro { grid-row: 6; }
  .ld-hero-sectors { grid-row: 7; margin-top: 32px !important; padding-top: 24px; border-top: var(--rule-w, 1px) solid var(--rule); }
  .ld-hero-grid > .ld-hero-card { grid-column: 8 / span 5; grid-row: 1 / -1; align-self: center; min-height: 440px; }
  .ld-glance { padding: 64px 0; }
  .ld-commit { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .ld-landscape { margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-chips { scroll-behavior: auto; }
}
/* forced colours drop gradients and shadows: redraw the strip in system colours */
@media (forced-colors: active) {
  .ld-strip i, .ld-k { forced-color-adjust: none; }
  .ld-s-v { background: CanvasText; }
  .ld-s-l { background: repeating-linear-gradient(45deg, CanvasText 0 2px, Canvas 2px 6px); border: 1.5px solid CanvasText; box-shadow: none; box-sizing: border-box; }
  .ld-s-n { background: Canvas; border: 1.5px dotted CanvasText; box-sizing: border-box; }
  .ld-hero-card::before { display: none; }
}

/* ---------- calmer overview (2026-10 refresh): section bands, disclosures, two-column endings ---------- */
.ld-band { background: var(--surface-2); }
.ld-band + .ld-section, .ld-section + .ld-band { border-top-color: transparent; }
.ld-head-c { margin-inline: auto; text-align: center; }
.ld-head-c .ld-dek { margin-inline: auto; }

/* hero: the lede reads as the subtitle, the card is the proof */
.ld-hero .ld-lede { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); }
.ld-answer .verdict { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.4; }
.ld-a-links { border-top: var(--rule-w, 1px) solid var(--rule); margin-top: 2px !important; }
.ld-hero-sectors .ld-chips .chip { min-height: 40px; padding: 0 12px; font-size: .875rem; }

/* 60-second reel */
.ld-reel-frame { max-width: 920px; margin: 0 auto; }
.ld-reel-more { margin: 20px 0 0; text-align: center; font-weight: 600; }

/* story: the pinned figure is a plate that floats a little above the page */
[data-st-mode="scrolly"] .st-step { padding-left: 28px; }
[data-st-mode="scrolly"] { column-gap: 56px; }
.ld-step-k { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--accent-wash); font-size: .8125rem; }
.ld-story .ld-h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); margin-top: 10px; }

/* "compare the alternatives": closed by default, one tidy row */
.ld-more { margin-top: 48px; border: var(--rule-w, 1px) solid var(--rule); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-card); }
.ld-more > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 20px 24px; cursor: pointer; border-radius: inherit; }
.ld-more > summary::-webkit-details-marker { display: none; }
.ld-more > summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink-2);
  background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat; }
.ld-more[open] > summary::after { background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat; }
.ld-more > summary:hover .ld-more-t { color: var(--accent); }
.ld-more-t { font-family: var(--font-display); font-weight: var(--display-wght); font-size: 1.3125rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.ld-more-s { grid-column: 1; color: var(--ink-2); font-size: .9375rem; margin-top: 2px; }
.ld-more > :not(summary) { margin-left: 24px; margin-right: 24px; }
.ld-more > :last-child { margin-bottom: 24px; }
.ld-more[open] > summary { border-bottom: var(--rule-w, 1px) solid var(--rule); border-radius: var(--radius-l) var(--radius-l) 0 0; margin-bottom: 20px; }

/* FAQ with the team beside it */
.ld-faq-grid { display: grid; gap: 48px; }
.ld-people { align-self: start; background: var(--surface); border: var(--rule-w, 1px) solid var(--rule); border-radius: var(--radius-l); padding: 24px; box-shadow: var(--shadow-card); }
.ld-people > .kicker { margin: 0 0 8px; }
.ld-people .ld-roles, .ld-people .pf-people { grid-template-columns: minmax(0, 1fr) !important; gap: 0; margin-top: 8px; }
.ld-people .ld-roles li { padding: 16px 0 0; margin-top: 16px; }
.ld-people .ld-role { font-size: 1.125rem; }

/* last section: what happens next, then the form */
.ld-start-grid { display: grid; gap: 40px; }
.ld-start-intro > .kicker { margin: 0 0 12px; }
.ld-start .ld-start-intro .ld-dek { margin-bottom: 28px; }
.ld-next-steps { list-style: none; margin: 0; padding: 0; counter-reset: nx; display: grid; gap: 18px; }
.ld-next-steps li { counter-increment: nx; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
.ld-next-steps li::before { content: counter(nx); grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font: 600 .9375rem/1 var(--font-text); }
.ld-next-steps b { font-weight: 600; color: var(--ink); line-height: 1.4; padding-top: 6px; }
.ld-next-steps span { color: var(--ink-2); font-size: .9375rem; }
.ld-start .ld-contact { max-width: none; }

/* footer: quieter, sources read as references */
.ld-foot { padding: 56px 0 64px; }
.ld-src-list { font-size: .875rem; }

@media (min-width: 760px) {
  .ld-commit li { padding: 20px; }
  .ld-trust-col { padding: 28px 32px; }
}
@media (min-width: 1024px) {
  .ld-commit b { font-size: 1.25rem; }
  .ld-faq-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; }
  .ld-start-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .ld-start-intro { position: sticky; top: 104px; }
  .ld-answer { padding: 24px 26px 18px; gap: 14px; }
}
