/* Anchored Arrows — site styles (2026 refresh)
   One shared stylesheet for every page. No external fonts or libraries.

   Colour tokens and measured contrast (WCAG 2.x ratio):
     --ink    #17202B on --paper #F7F6F2   15.2:1  body text
     --muted  #4A5563 on --paper           7.0:1   secondary text
     --navy   #0B1F3A on --paper           15.3:1  headings, primary buttons
     white    on --navy                    16.5:1  primary button text, footer
     --tide   #1E6B66 on --paper           5.8:1   links, accent text
     --tide   on --tide-tint #E2EEEC       5.3:1   status pills
     --rule-strong #8C8A82 on --paper      3.2:1   meaningful outlines (>= 3:1)
   Teal is used instead of orange so Anchored Arrows stays distinct from
   Lineup Logix, whose accent is orange (#C8561F). */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: optional;
}

:root {
  --navy: #0B1F3A;
  --navy-2: #16335C;
  --ink: #17202B;
  --muted: #4A5563;
  --paper: #F7F6F2;
  --surface: #FFFFFF;
  --tide: #1E6B66;
  --tide-dark: #164F4B;
  --tide-tint: #E2EEEC;
  --rule: #DDDBD3;
  --rule-strong: #8C8A82;
  --on-navy-muted: #C3CEDB;

  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.45rem + 1.2vw, 2.25rem);
  --step-4: clamp(2.125rem, 1.55rem + 2.6vw, 3.375rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3rem, 2rem + 3.5vw, 5rem);

  --radius-s: 6px;
  --radius-m: 12px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.07);
  --wrap: 1120px;
  --measure: 66ch;
  --focus: 3px solid var(--tide);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p, ul, ol { margin: 0 0 var(--space-2); }
p { max-width: var(--measure); }
li { max-width: var(--measure); }
strong { font-weight: 700; }

a { color: var(--tide); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--tide-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 46rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-2); flex-wrap: wrap; padding-block: 0.75rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--navy); text-decoration: none; font-weight: 750; font-size: 1.2rem;
  letter-spacing: 0.01em; min-height: 44px;
}
.brand:hover { color: var(--navy); }
.brand-mark { width: 31px; height: 44px; display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem;
  color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--radius-s);
}
.site-nav a:hover { background: var(--tide-tint); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--tide); border-radius: 0; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.9rem;
  font: inherit; font-weight: 700; color: var(--navy); background: var(--surface);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-s); cursor: pointer;
}
.nav-toggle:hover { background: var(--tide-tint); }
.nav-toggle-icon { width: 18px; height: 12px; position: relative; display: inline-block; }
.nav-toggle-icon::before, .nav-toggle-icon::after, .nav-toggle-icon span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px;
}
.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon span { top: 5px; }
.nav-toggle-icon::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { bottom: 5px; transform: rotate(-45deg); }

/* With JavaScript, collapse the menu behind a button on narrow screens.
   Without JavaScript the full menu simply wraps under the logo. */
@media (max-width: 52rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js .site-nav[data-open] { display: block; }
  .js .site-nav ul { flex-direction: column; padding-bottom: 0.5rem; }
  .js .site-nav a { display: flex; width: 100%; }
  .js .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--tide); }
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-3); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0.7rem 1.25rem; border-radius: var(--radius-s);
  font: inherit; font-weight: 700; line-height: 1.25; text-decoration: none; cursor: pointer;
  border: 2px solid var(--navy); max-width: 100%;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-quiet { border-color: var(--rule-strong); background: var(--surface); color: var(--navy); }
.btn-quiet:hover { border-color: var(--navy); color: var(--navy); }
@media (prefers-reduced-motion: no-preference) {
  .btn, .site-nav a, .nav-toggle { transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: var(--space-5); }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { margin-bottom: var(--space-4); }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
[id] { scroll-margin-top: 1rem; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; } }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 34ch; }

/* The route: Listen, Understand, Act. The one bold element on the home page. */
.route {
  margin: 0; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius-m); box-shadow: var(--shadow); padding: var(--space-3);
}
.route-title { font-weight: 700; color: var(--navy); margin: 0 0 var(--space-2); font-size: var(--step-0); }
.route ol { list-style: none; margin: 0; padding: 0; position: relative; }
.route li {
  position: relative; display: grid; grid-template-columns: 2.25rem 1fr; gap: 0 1rem;
  padding-bottom: var(--space-3); max-width: none;
}
.route li:last-child { padding-bottom: 0; }
/* the line that runs between the stage markers, ending in an arrowhead */
.route li::before {
  content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.4rem; bottom: 0.15rem;
  width: 2px; background: var(--navy);
}
.route li:last-child::before { display: none; }
.route li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.125rem - 6px); bottom: 0; width: 10px; height: 10px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg);
}
.route-step {
  grid-row: span 2; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 750;
}
.route .route-h { margin: 0.25rem 0 0.25rem; font-size: var(--step-1); font-weight: 700; color: var(--navy); line-height: 1.2; }
.route p { margin: 0 0 0.75rem; color: var(--muted); }
.route-art { grid-column: 2; }
.route-caption { margin: var(--space-3) 0 0; font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--rule); padding-top: 0.75rem; }

/* small drawn illustrations inside the route (decorative) */
.mini { display: grid; gap: 6px; padding: 0.75rem; border-radius: var(--radius-s); background: var(--paper); border: 1px solid var(--rule); }
.mini-q { display: flex; gap: 6px; align-items: center; }
.mini-q b { flex: 0 0 38%; height: 8px; border-radius: 4px; background: #C9CFD8; }
.mini-q i { flex: 0 0 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule-strong); }
.mini-q i.on { background: var(--tide); border-color: var(--tide); }
.mini-bar { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--ink); }
.mini-bar span:last-child { height: 10px; border-radius: 5px; background: var(--tide); }
.mini-check { display: flex; gap: 8px; align-items: center; font-size: var(--step--1); }
.mini-check i { flex: 0 0 16px; height: 16px; border: 2px solid var(--navy); border-radius: 3px; }
.mini-check i.on { background: var(--navy); box-shadow: inset 0 0 0 2px #fff; }

/* ---------- Product blocks ---------- */
.products { display: grid; gap: var(--space-3); }
@media (min-width: 52rem) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m);
  padding: var(--space-3);
}
.product-audience { color: var(--muted); margin-bottom: 0.25rem; font-weight: 600; }
.product h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.product-visual { margin-bottom: var(--space-3); border-radius: var(--radius-s); background: var(--paper); border: 1px solid var(--rule); padding: 1rem; min-height: 9.5rem; display: grid; align-content: center; }
.product .actions { margin-top: auto; padding-top: var(--space-2); }

/* Lineup Logix visual: an abstract rotation grid */
.lineup { display: grid; grid-template-columns: minmax(3.2rem, 4.5rem) repeat(4, minmax(0, 1fr)); gap: 4px; font-size: clamp(0.66rem, 0.4rem + 1.2vw, 0.8rem); font-weight: 700; color: var(--navy); }
.lineup span { padding: 0.3rem 0; text-align: center; border-radius: 4px; background: var(--surface); border: 1px solid var(--rule); }
.lineup .h { background: transparent; border: 0; color: var(--muted); font-weight: 600; }
.lineup .p { text-align: left; padding-left: 0.4rem; background: transparent; border: 0; color: var(--muted); font-weight: 600; }
.lineup .bench { background: var(--tide-tint); border-color: var(--tide-tint); color: var(--tide-dark); }

/* Dear Next visual: an abstract letter */
.letter { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 1rem 1.1rem; max-width: 20rem; margin-inline: auto; width: 100%; transform: rotate(-1.5deg); }
.letter-line { height: 7px; border-radius: 4px; background: #D5D9DF; margin-bottom: 9px; }
.letter-line.w1 { width: 40%; background: var(--navy); opacity: .85; }
.letter-line.w2 { width: 92%; } .letter-line.w3 { width: 84%; } .letter-line.w4 { width: 60%; margin-bottom: 0; }
.letter-dot { width: 10px; height: 10px; border-radius: 50%; background: #8B5CF6; margin-top: 12px; }

/* ---------- Services ---------- */
.services { display: grid; gap: var(--space-3); }
@media (min-width: 60rem) { .services { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.service-feature { background: var(--navy); color: #fff; border-radius: var(--radius-m); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.service-feature h3 { color: #fff; font-size: var(--step-3); }
.service-feature p, .service-feature li { color: var(--on-navy-muted); }
.service-feature strong { color: #fff; }
.service-feature a:not(.btn) { color: #fff; }
.service-feature .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.service-feature .btn-primary:hover { background: var(--tide-tint); border-color: var(--tide-tint); color: var(--navy); }
.service-feature .btn-secondary { color: #fff; border-color: #fff; }
.service-feature .btn-secondary:hover { background: #fff; color: var(--navy); }
.service-feature :focus-visible { outline-color: #fff; }
.service-feature ul { padding-left: 1.2rem; }
.service-small { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: var(--space-3); }
.service-small h3 { margin-bottom: 0.5rem; }

.status {
  display: inline-block; font-size: var(--step--1); font-weight: 700; line-height: 1.2;
  padding: 0.3rem 0.65rem; border-radius: 999px; margin-bottom: 0.9rem;
  background: var(--tide-tint); color: var(--tide-dark); border: 1px solid var(--tide);
}
.status-planned { background: var(--paper); color: var(--muted); border-color: var(--rule-strong); }
.service-feature .status { background: transparent; color: #fff; border-color: #8FC7C0; }

/* ---------- Mission band and contact band ---------- */
.band { display: grid; gap: var(--space-4); }
@media (min-width: 52rem) { .band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.band h2 { font-size: var(--step-2); }
.contact-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: var(--space-3); }
.email-address { font-size: var(--step-1); font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }

/* ---------- Generic page header ---------- */
.page-head { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) var(--space-4); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 22ch; }
.page-head .lead { max-width: 52ch; }
.crumb { margin-bottom: var(--space-2); font-weight: 600; }

/* Prose for articles and long pages */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.prose h3 { margin-top: var(--space-3); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .callout {
  margin: var(--space-3) 0; padding: 1rem 1.25rem; border-left: 4px solid var(--tide);
  background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: var(--step-1); color: var(--navy); font-weight: 600;
}

/* Two-column content blocks on long pages */
.split { display: grid; gap: var(--space-3) var(--space-4); }
@media (min-width: 60rem) { .split { grid-template-columns: 16rem minmax(0, 1fr); } .split > h2 { margin: 0; } }
.split > h2 { font-size: var(--step-2); }
.section-compact { padding-block: var(--space-4); }
.split + .split { margin-top: var(--space-4); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: var(--space-2); }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; max-width: var(--measure); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  border: 2px solid var(--navy); display: grid; place-items: center; font-weight: 750; color: var(--navy);
}
.steps strong { display: block; color: var(--navy); }

.deliverables { display: grid; gap: var(--space-2); }
@media (min-width: 48rem) { .deliverables { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.deliverable { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: var(--space-3); }
.deliverable h3 { font-size: var(--step-0); margin-bottom: 0.4rem; }
.deliverable p { margin: 0; color: var(--muted); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; }
.checklist li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.7rem; height: 0.35rem; border-left: 2px solid var(--tide); border-bottom: 2px solid var(--tide); transform: rotate(-45deg); }
.notlist { list-style: none; padding: 0; }
.notlist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; }
.notlist li::before { content: ""; position: absolute; left: 0.15rem; top: 0.75em; width: 0.85rem; height: 2px; background: var(--rule-strong); }

.note { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--navy); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 1rem 1.25rem; max-width: var(--measure); }
.note p:last-child { margin-bottom: 0; }

/* Fictional-sample marking: must be visible everywhere sample data appears */
.fiction-banner { background: #FFF6D6; border: 2px dashed #8A6D00; color: #3D3000; border-radius: var(--radius-s); padding: 0.9rem 1.1rem; font-weight: 600; max-width: var(--measure); }
.fiction-banner p { margin: 0; }
.fiction-tag { display: inline-block; font-size: var(--step--1); font-weight: 700; color: #5C4900; background: #FFF6D6; border: 1px dashed #8A6D00; border-radius: 4px; padding: 0.1rem 0.5rem; }

/* Sample report */
.stats { display: grid; gap: var(--space-2); margin: var(--space-3) 0; }
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: var(--space-3); }
.stat .stat-figure { overflow-wrap: anywhere; font-size: var(--step-3); font-weight: 750; color: var(--navy); line-height: 1.1; margin-bottom: 0.35rem; }
.stat p { margin: 0; color: var(--muted); }
.finding { border-left: 4px solid var(--navy); padding-left: 1rem; margin-bottom: var(--space-3); }
.finding.issue { border-left-color: var(--tide); }
.finding h3 { margin-bottom: 0.35rem; }
.bars { display: grid; gap: 0.6rem; max-width: 36rem; margin: var(--space-2) 0 var(--space-3); padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr 3.5rem; gap: 0.75rem; align-items: center; max-width: none; }
.bars .track { height: 12px; background: var(--rule); border-radius: 6px; overflow: hidden; }
.bars .fill { display: block; height: 100%; background: var(--navy); border-radius: 6px; }
.bars .val { font-weight: 700; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 30rem) { .bars li { grid-template-columns: 1fr 3.5rem; } .bars .track { grid-column: 1 / -1; grid-row: 2; } }

.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--surface); }
.table-scroll:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; min-width: 44rem; font-size: 0.95rem; }
caption { text-align: left; padding: 0.9rem 1rem; font-weight: 700; color: var(--navy); }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 1rem; border-top: 1px solid var(--rule); }
thead th { background: var(--paper); color: var(--navy); font-weight: 700; }
td:first-child, th:first-child, td:nth-child(5), td:nth-child(6) { white-space: nowrap; }

/* Resource list */
.resource-list { display: grid; gap: var(--space-3); list-style: none; padding: 0; margin: 0; }
@media (min-width: 52rem) { .resource-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.resource { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: var(--space-3); max-width: none; }
.resource h2, .resource h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.resource-kind { color: var(--muted); font-size: var(--step--1); font-weight: 600; margin-bottom: 0.5rem; }

/* Copy-to-clipboard helper */
.copy-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.75rem; }
.copy-status { font-size: var(--step--1); color: var(--tide-dark); font-weight: 600; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: var(--space-4) var(--space-3); margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: var(--space-3); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-brand img { width: 31px; height: 44px; flex: none; }
.footer-brand p { margin: 0; }
.footer-brand strong { color: #fff; display: block; font-size: 1.1rem; }
.footer-col h2 { color: #fff; font-size: var(--step-0); margin-bottom: 0.5rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.25rem; }
.footer-col a { display: inline-block; padding-block: 0.3rem; overflow-wrap: anywhere; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.18); margin-top: var(--space-4); padding-top: var(--space-2); font-size: var(--step--1); }
.footer-legal p { margin: 0; max-width: none; }

/* 404 */
.notfound { padding-block: var(--space-5); }

@media print {
  .site-header nav, .nav-toggle, .skip-link, .site-footer .footer-col { display: none !important; }
  body { background: #fff; }
}

/* Long-form pages: keep the text column left-aligned with the page header */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: var(--measure); }

/* Very narrow phones: keep the logo and Menu button on one row */
@media (max-width: 23rem) {
  .header-inner { gap: 0.5rem; }
  .brand { font-size: 1.05rem; gap: 0.45rem; }
  .nav-toggle { padding: 0 0.65rem; gap: 0.4rem; }
  .lineup span { letter-spacing: -0.02em; }
}

/* Sample action list: cards on phones, table on wider screens.
   Only one version is displayed at a time, so assistive tech gets one copy. */
.actions-table { display: none; }
.action-cards-caption { font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.action-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.action-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 1rem 1.1rem; max-width: none; }
.action-card-title { font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.action-id { display: inline-block; min-width: 2.2rem; padding: 0.05rem 0.4rem; margin-right: 0.35rem; border: 1px solid var(--navy); border-radius: 4px; font-size: var(--step--1); text-align: center; }
.action-card dl { margin: 0; display: grid; gap: 0.35rem; }
.action-card dl div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0.5rem; }
.action-card dt { color: var(--muted); font-weight: 600; }
.action-card dd { margin: 0; }
@media (min-width: 48rem) {
  .actions-table { display: block; }
  .actions-cards { display: none; }
}
/* When the table is wider than its box (for example at large text sizes), show a cue
   and an edge shadow so it is obvious the region scrolls sideways. */
.scroll-cue { font-size: var(--step--1); font-weight: 700; color: var(--tide-dark); margin: 0 0 0.5rem; }
.table-scroll[data-overflowing] {
  background:
    linear-gradient(to right, var(--surface) 30%, rgba(255,255,255,0)) left / 2.5rem 100% no-repeat local,
    linear-gradient(to left, var(--surface) 30%, rgba(255,255,255,0)) right / 2.5rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(11,31,58,.22), transparent) left / 0.9rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(11,31,58,.22), transparent) right / 0.9rem 100% no-repeat scroll,
    var(--surface);
}
.table-scroll[data-overflowing] table { background: transparent; }
@media (max-width: 23rem) { .action-card dl div { grid-template-columns: 1fr; gap: 0; } }

/* ======================================================================
   r6 polish: section contrast, homepage hierarchy, product cards
   Base background is white; warm "paper" and cool "mist" alternate with
   restrained navy so sections read as distinct areas.
   ====================================================================== */
:root { --mist: #EEF2F6; --on-navy: #FFFFFF; }
body { background: var(--surface); }
.site-header { background: var(--surface); }
.section + .section { border-top: 0; }
.section:not(.section-paper):not(.section-mist):not(.section-navy) + .section:not(.section-paper):not(.section-mist):not(.section-navy) { border-top: 1px solid var(--rule); }
.section-paper { background: var(--paper); }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); }
.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { max-width: 52ch; }

/* buttons for navy backgrounds */
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--tide-tint); border-color: var(--tide-tint); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-navy :focus-visible, .service-feature :focus-visible, .section-navy :focus-visible { outline-color: #fff; }

/* homepage hero: company first */
.hero-navy { background: var(--navy); color: var(--on-navy-muted); padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.hero-navy h1 { color: #fff; max-width: 15ch; font-size: clamp(2.375rem, 1.6rem + 3.4vw, 4rem); }
.hero-navy .lead { color: var(--on-navy-muted); max-width: 36ch; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); }
.hero-navy .hero-grid { align-items: center; }
@media (min-width: 60rem) { .hero-navy .hero-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: clamp(120px, 6rem + 10vw, 224px); height: auto; opacity: 0.92; }
@media (max-width: 59.99rem) { .hero-mark { display: none; } }

/* pathways: a plain guide to the three parts of the company */
.pathways { background: var(--surface); border-bottom: 1px solid var(--rule); }
.pathways-grid { display: grid; gap: 0; }
@media (min-width: 52rem) { .pathways-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pathway { display: grid; gap: 0.2rem; padding: 1.5rem 1.25rem; text-decoration: none; color: var(--ink); border-top: 1px solid var(--rule); }
.pathway:first-child { border-top: 0; }
@media (min-width: 52rem) { .pathway { border-top: 0; border-left: 1px solid var(--rule); padding: 2rem 1.75rem; } .pathway:first-child { border-left: 0; padding-left: 0; } }
.pathway:hover { color: var(--ink); background: var(--paper); }
.pathway-kind { color: var(--tide-dark); font-weight: 700; font-size: var(--step--1); }
.pathway-title { color: var(--navy); font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.pathway:hover .pathway-title { text-decoration: underline; text-underline-offset: 0.18em; }
.pathway-text { color: var(--muted); }

/* product cards with real product imagery */
.product { padding: 0; overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow); background: var(--surface); }
.product-media { aspect-ratio: 16 / 10; background: var(--navy); border-bottom: 1px solid var(--rule); overflow: hidden; }
.product-dn .product-media { background: #F6F3FB; }
.product-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-3); }
.product-brand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; min-height: 56px; }
.product-brand img { flex: none; border-radius: 12px; }
.product-brand img.dn-wordmark { border-radius: 0; width: 200px; height: auto; }
.product-brand h2, .product-brand h3 { margin: 0; font-size: var(--step-2); }
.product-brand .product-audience { margin: 0; }
.product-points { list-style: none; padding: 0; margin: 0 0 var(--space-2); }
.product-points li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; color: var(--ink); }
.product-points li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.7rem; height: 0.35rem; border-left: 2px solid var(--tide); border-bottom: 2px solid var(--tide); transform: rotate(-45deg); }
.product .actions { margin-top: auto; padding-top: var(--space-2); }

/* services: give the planned card its own surface */
.service-small { background: var(--paper); }
.services .service-feature { box-shadow: var(--shadow); }
.product-dn .product-brand { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
@media (max-width: 30rem) { .product-brand img.dn-wordmark { width: 170px; } }

/* ---------- r8: the official sample report (dedicated page and on-page viewer) ---------- */
.report-pages { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: var(--space-4); max-width: 860px; }
.report-page { margin: 0; max-width: none; }
.report-page img { display: block; width: 100%; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(11, 31, 58, 0.14), 0 10px 28px rgba(11, 31, 58, 0.12); }
.report-page-label { margin: 0.6rem 0 0; text-align: center; font-size: var(--step--1); color: var(--muted); }
.report-note { max-width: 860px; margin: var(--space-4) auto 0; color: var(--muted); }
.page-head .fiction-banner { margin-top: var(--space-3); }

html.report-open, html.report-open body { overflow: hidden; }
.report-viewer {
  padding: 0; border: 0; border-radius: var(--radius-m); background: var(--mist); color: var(--ink);
  width: min(960px, calc(100vw - 2rem)); height: calc(100vh - 2rem); height: calc(100dvh - 2rem);
  max-width: none; max-height: none; overflow: hidden; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.report-viewer[open] { display: flex; flex-direction: column; }
.report-viewer::backdrop { background: rgba(11, 31, 58, 0.74); }
.report-bar {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.6rem 0.75rem;
  padding: 0.75rem 1rem; background: var(--navy); color: #fff;
}
.report-bar h2 { margin: 0; font-size: var(--step-1); line-height: 1.2; color: #fff; }
.report-bar p { margin: 0.15rem 0 0; font-size: var(--step--1); color: var(--on-navy-muted); }
.report-bar-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.report-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 44px; padding: 0.45rem 0.9rem;
  border-radius: var(--radius-s); border: 2px solid rgba(255, 255, 255, 0.75); background: transparent; color: #fff;
  font: inherit; font-size: var(--step--1); font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.report-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.report-close { background: #fff; border-color: #fff; color: var(--navy); }
.report-close:hover { background: var(--tide-tint); border-color: var(--tide-tint); color: var(--navy); }
.report-close span { font-size: 1.35em; line-height: 1; }
.report-bar :focus-visible { outline-color: #fff; }
.report-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: var(--space-3); }
.report-scroll:focus-visible { outline-offset: -4px; }
.report-scroll .report-pages { gap: var(--space-3); }
@media (max-width: 40rem) {
  .report-viewer { width: 100vw; height: 100vh; height: 100dvh; margin: 0; border-radius: 0; }
  .report-bar { grid-template-columns: 1fr; padding: 0.6rem 0.75rem; }
  .report-bar h2 { font-size: var(--step-0); }
  .report-btn .long { display: none; }
  .report-scroll { padding: 0.75rem 0.5rem; }
  .report-scroll .report-pages { gap: 1rem; }
  .report-pages { gap: var(--space-3); }
}
@media (prefers-reduced-motion: no-preference) { .report-btn { transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; } }
/* The sample figures sit in a narrow column: drop to fewer columns when text is enlarged. */
@media (min-width: 48rem) { .split .stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5em), 1fr)); } }

/* Watch and unified offering grid, November 2026 */
.feedback-preview {background:#e2eeec; padding:1.25rem 3rem 0;}
.feedback-preview img {object-fit:cover; object-position:top; box-shadow:0 3px 20px #0b1f3a20;}
.product-body>.actions {margin-top:auto; padding-top:1rem;}
.product-watch .product-media {background:#e8eeea;}
.planned-strip {border-top:1px solid var(--rule);}
.eyebrow {font-size:.875rem; text-transform:uppercase; letter-spacing:.12em; font-weight:700;}
.watch-hero {display:grid;gap:2.5rem;align-items:center;}
.watch-hero-card {padding:2rem;background:#163c36;border:1px solid #66877b;border-radius:16px;}
.watch-tagline {font-size:clamp(2.6rem,5vw,4.5rem);font-weight:750;line-height:1.1;letter-spacing:-.03em;margin:1.25rem 0; color:#f6f3df;}
.watch-note {font-size:.9rem;color:#d2dbdf;max-width:50ch;margin-top:1.5rem;}
.watch-preview {margin:2rem auto 0;max-width:960px;}
.watch-preview img {display:block;border-radius:12px;width:100%;border:1px solid var(--rule);}
.watch-preview figcaption {font-size:.875rem;text-align:center;color:var(--muted);margin-top:.75rem;}
.watch-steps {padding:0;list-style:none;display:grid;gap:2rem;}
.watch-steps li {border-top:2px solid var(--tide);padding-top:1.25rem;}
.step-number {display:block;color:var(--tide);font-size:1.1rem;font-weight:700;margin-bottom:1.5rem;}
.watch-steps h3,.watch-uses h3 {font-size:1.4rem;}
.watch-uses {display:grid;gap:1.25rem;}
.watch-uses article {padding:1.75rem;border:1px solid var(--rule);border-radius:12px;background:var(--surface);}
.watch-close {max-width:820px;text-align:center;}
.watch-close .actions {justify-content:center;}
.watch-disclaimer {font-size:.875rem;color:var(--muted);margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid var(--rule);}
@media(min-width:52rem){.watch-hero{grid-template-columns:1.45fr 1fr;}.watch-steps,.watch-uses{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:32rem){.product-brand{flex-wrap:wrap;}.feedback-preview{padding:1rem 2rem 0;}.watch-hero-card{padding:1.5rem;}}

/* Owner-requested public polish r10 */
.watch-hero-card {background:#e9dfca;border-color:#e9dfca;color:var(--navy);}
.watch-hero-card .watch-tagline {color:var(--navy);}
.watch-hero-card .status {background:#d6c8a9;color:var(--navy);}
.watch-close>.eyebrow {text-align:center;margin-inline:auto;}
.service-hero h1 {max-width:20ch;}
.service-hero .lead {max-width:49ch;}
.service-hero-summary {max-width:62ch;font-size:1.1rem;}
.watch-steps li {background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:1.75rem;}
.watch-line-icon {display:block;width:64px;height:64px;color:var(--tide);margin-bottom:1.4rem;}
.watch-steps .step-number {font-size:.8rem;letter-spacing:.08em;margin-bottom:1rem;}
.watch-uses article {background:#f0eee5;border:0;}
.watch-uses .watch-line-icon {color:var(--navy);}
.use-examples {display:block;font-size:.85rem;line-height:1.7;color:var(--muted);padding-top:.5rem;}

/* Keep intrinsic content inside responsive grids. */
.watch-hero>*,.split>*,.products>*,.deliverables>* {min-width:0;}
.watch-hero {grid-template-columns:minmax(0,1fr);}
@media(min-width:52rem){.watch-hero{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);}}

/* r12: compact laptop heroes, without fixed heights or clipped mobile copy. */
.hero-navy.hero-compact {padding-block:2.25rem;}
.hero-compact h1 {font-size:clamp(2rem,2.5vw,2.75rem);line-height:1.12;max-width:25ch;margin-bottom:.85rem;}
.hero-compact .lead {font-size:1.15rem;line-height:1.5;max-width:60ch;margin-bottom:.75rem;}
.hero-compact .eyebrow {margin:0 0 .75rem;}
.hero-compact .actions {margin-top:1.15rem;}
.hero-compact .watch-note {margin-top:.85rem;margin-bottom:0;max-width:70ch;font-size:.85rem;}
.hero-compact .service-hero-summary {margin:.6rem 0;font-size:1rem;max-width:80ch;}
.hero-compact .watch-hero {gap:2rem;}
.hero-compact .watch-hero-card {background:transparent;border:0;border-left:1px solid #64758d;border-radius:0;padding:.5rem 0 .5rem 2rem;color:#fff;}
.hero-compact .watch-hero-card .watch-tagline {color:#fff;font-size:clamp(2rem,3.5vw,3.25rem);line-height:1.08;margin:.75rem 0 1rem;}
.hero-compact .watch-hero-card>p:last-child {font-size:.95rem;line-height:1.5;margin-bottom:0;color:var(--on-navy-muted);}
@media(max-width:51.99rem){
 .hero-navy.hero-compact {padding-block:1.75rem;}
 .hero-compact .watch-hero {gap:1.25rem;}
 .hero-compact .watch-hero-card {border-left:0;border-top:1px solid #64758d;padding:1.15rem 0 0;}
 .hero-compact .watch-hero-card .watch-tagline {font-size:1.6rem;line-height:1.3;margin:0;}
 .hero-compact .watch-hero-card .watch-tagline br {display:none;}
 .hero-compact .watch-hero-card .watch-tagline br::after {content:' ';}
 .hero-compact .watch-hero-card .eyebrow,.hero-compact .watch-hero-card>p:last-child {display:none;}
}

/* Center constrained paragraph boxes as well as their text and divider. */
.watch-close > p {margin-inline:auto;text-align:center;}
.watch-close > .watch-disclaimer {width:100%;max-width:66ch;margin-inline:auto;}

/* Homepage: 25% less blue padding, unchanged headline and logo sizes. */
.hero-navy.home-hero {padding-block:clamp(2.25rem,1.5rem + 3.75vw,4.5rem);}
