/* ==========================================================================
   CSC-WORK — home page
   Brand: graphite + signal orange ("Hi-Vis", decided 2026-10-12).
   Single stylesheet, no external requests: the three fonts below are served
   from this same directory (the site runs on a private network where CDN
   fonts are not guaranteed to resolve).

   Fonts (all SIL Open Font License 1.1, from Google Fonts — see
   FONTS-LICENSE.txt):
     bricolage.woff2       Bricolage Grotesque, variable opsz 12–96, wght 600–800
     figtree.woff2         Figtree, variable wght 400–600
     jetbrains-mono.woff2  JetBrains Mono 500
   All are latin subsets.

   Rules: signal orange is for action only (primary button, logo dash, the
   current step). Steel blue is for links and data. 6px corners, 1px lines,
   no shadows, no gradients.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url('bricolage.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url('figtree.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url('jetbrains-mono.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette */
  --graphite:   #1E2328;   /* dominant surface */
  --panel:      #2A3036;
  --deep:       #15191D;
  --concrete:   #F2F1EE;   /* text on dark, light paper */
  --white:      #FFFFFF;
  --mist:       #B9BEC4;   /* muted text on dark */
  --rule-dark:  #333A41;
  --rule-light: #D2CFC8;
  --slate:      #50585F;   /* muted text on light */
  --rule-strong:#5A636C;   /* ghost-button border, 'before' bars */
  --dim:        #959CA3;   /* small print on deep */

  --signal:     #E0561B;   /* ACTION ONLY */
  --signal-hi:  #F08A5D;   /* orange text on dark */
  --steel:      #2E5A7A;   /* links / data on light */
  --steel-hi:   #7DB5E3;   /* links / data on dark */
  --next-tint:  #E3EDF7;
  --next-ink:   #1E4D73;

  /* product colour tags */
  --p-routeflow:   #E0561B;
  --p-collectflow: #3E8ED0;
  --p-stockflow:   #3FA36B;
  --p-fieldflow:   #D9A21E;
  --p-rentalflow:  #9B6AD6;
  --p-inboxflow:   #2E5A7A;
  --p-intercoflow: #2E8C7F;

  /* semantic, dark by default — .section--alt switches them to light */
  --bg:         var(--graphite);
  --surface:    var(--panel);
  --text:       var(--concrete);
  --text-muted: var(--mist);
  --line:       var(--rule-dark);
  --link:       var(--steel-hi);
  --data:       var(--steel-hi);
  --focus:      var(--steel-hi);

  --radius:     6px;

  --wrap:       1160px;
  --gut:        clamp(20px, 5vw, 40px);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system,
                  "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--graphite);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--text); text-decoration-color: var(--link); }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 800;
  line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.16rem; letter-spacing: -.01em; font-weight: 700; }
p  { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--concrete); color: var(--graphite); padding: 12px 18px;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius); }

/* small mono label used for eyebrows, kickers, tags */
.eyebrow, .kicker, .viz__badge, .tag, .prod__tagline, .access__sub,
.contact-list__label, .kpi__label, .method span, .steps__n {
  font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
}

/* ─────────────────────────── logo ─────────────────────────── */

.wordmark {
  display: inline-flex; align-items: baseline;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  letter-spacing: -.01em; line-height: 1; color: var(--concrete); white-space: nowrap;
}
/* the hyphen is a thick signal-orange bar, not a glyph */
.wordmark__dash {
  display: inline-block; width: .55em; height: .2em; margin: 0 .09em;
  background: var(--signal); border-radius: .04em;
  position: relative; top: -.27em;
}

/* ─────────────────────────── buttons ─────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600;
  padding: 13px 24px; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
/* orange with near-black text: #15191D on #E0561B is 4.6:1 (graphite #1E2328 is 4.2:1) */
.btn--primary { background: var(--signal); color: var(--deep); border-color: var(--signal); }
.btn--primary:hover { background: var(--signal-hi); border-color: var(--signal-hi); color: var(--deep); }
.btn--ghost { border-color: var(--rule-strong); color: var(--concrete); background: transparent; }
.btn--ghost:hover { border-color: var(--concrete); color: var(--concrete); background: var(--panel); }
.btn--sm { padding: 9px 16px; font-size: .93rem; }
.btn--lg { padding: 16px 30px; font-size: 1.03rem; }

/* ─────────────────────────── nav ─────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep);
  border-bottom: 1px solid var(--rule-dark);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand:hover { color: inherit; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a:not(.btn) {
  color: var(--mist); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 9px 13px; border-radius: var(--radius);
}
.nav__links > a:not(.btn):hover { color: var(--concrete); background: var(--panel); }
.nav__links .btn { margin-left: 10px; }

.nav__toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--rule-dark);
  background: transparent; border-radius: var(--radius); cursor: pointer;
  padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--concrete); border-radius: 1px; }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--deep); border-bottom: 1px solid var(--rule-dark);
    padding: 14px var(--gut) 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a:not(.btn) { padding: 12px 10px; font-size: 1rem; }
  .nav__links .btn { margin: 8px 0 0; }
}

/* ─────────────────────────── hero ─────────────────────────── */

.hero { position: relative; background: var(--graphite); color: var(--concrete); overflow: hidden; }
/* flat — the old gradient/grid backdrop is gone; kept as a hook for print rules */
.hero__bg { display: none; }
.hero__inner { position: relative; padding: clamp(64px, 9vw, 120px) var(--gut) clamp(52px, 7vw, 84px); }

.eyebrow { font-size: .78rem; color: var(--mist); margin: 0 0 22px; }
.hero__title { max-width: 20ch; color: var(--concrete); margin-bottom: 24px; }
.hero__title em { font-style: normal; color: var(--signal-hi); }
.hero__lede {
  max-width: 62ch; font-size: clamp(1.03rem, .97rem + .3vw, 1.2rem);
  color: var(--mist); margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.capbar {
  list-style: none; margin: clamp(48px, 6vw, 76px) 0 0; padding: 26px 0 0;
  border-top: 1px solid var(--rule-dark);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.capbar li { display: flex; flex-direction: column; gap: 2px; }
.capbar strong { font-size: 1.02rem; color: var(--concrete); font-weight: 600; }
.capbar span { font-size: .87rem; color: var(--mist); }
@media (max-width: 720px) { .capbar { grid-template-columns: repeat(2, 1fr); } }

/* ─────────────────────────── reach ─────────────────────────── */

.reach { background: var(--graphite); border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.reach__inner {
  padding-block: clamp(52px, 6.5vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.reach__lead h2 { margin-bottom: .55em; }
.reach__lead .sec-lede { max-width: 56ch; }

.reach__figures { display: grid; gap: 18px; }
.figure {
  border-left: 1px solid var(--rule-dark);
  padding: 4px 0 4px 20px;
}
.figure__n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.9rem + 2.4vw, 3.7rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--concrete);
  font-variant-numeric: tabular-nums;
}
.figure__plus { color: var(--data); }
.figure__label {
  display: block; margin-top: 8px;
  font-size: .9rem; color: var(--text-muted); max-width: 24ch;
}

.regions {
  grid-column: 1 / -1;
  list-style: none; margin: 6px 0 0; padding: 26px 0 0;
  border-top: 1px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: 10px 12px;
}
.regions li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .93rem; font-weight: 600; color: var(--concrete);
  background: var(--panel); border: 1px solid var(--rule-dark);
  border-radius: var(--radius); padding: 7px 14px 7px 12px;
}
.regions__dot {
  width: 6px; height: 6px; border-radius: 1px; flex: none;
  background: var(--data);
}

@media (max-width: 820px) {
  .reach__inner { grid-template-columns: 1fr; }
  .reach__figures { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .reach__figures { grid-template-columns: 1fr; }
}

/* ─────────────────────────── sections ─────────────────────────── */

.section { padding: clamp(64px, 8vw, 108px) 0; background: var(--bg); color: var(--text); }

/* light paper sections — every component below reads the semantic tokens,
   so swapping them here is all it takes */
.section--alt {
  --bg:         var(--concrete);
  --surface:    var(--white);
  --text:       var(--graphite);
  --text-muted: var(--slate);
  --line:       var(--rule-light);
  --link:       var(--steel);
  --data:       var(--steel);
  --focus:      var(--signal);
  border-block: 1px solid var(--rule-light);
}
.section--dark { --bg: var(--deep); --surface: var(--graphite); border-block: 1px solid var(--rule-dark); }

.kicker { font-size: .76rem; color: var(--text-muted); margin: 0 0 14px; }
.sec-head { max-width: 68ch; margin-bottom: clamp(38px, 5vw, 58px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-lede { color: var(--text-muted); font-size: 1.06rem; margin: 0; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ─────────────────────────── service cards ─────────────────────────── */

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px;
  transition: border-color .18s ease;
}
.card:hover { border-color: var(--text-muted); }
.card__icon {
  width: 44px; height: 44px; border-radius: var(--radius); margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line);
}
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--data); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--text-muted); font-size: .97rem; margin: 0; }

/* ─────────────────────────── sectors ─────────────────────────── */

.sector {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto;
  column-gap: 16px; row-gap: 4px; align-items: center;
  transition: border-color .18s ease;
}
.sector:hover { border-color: var(--text-muted); }
.sector__icon {
  grid-row: 1; width: 44px; height: 44px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line);
}
.sector__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--data); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sector h3 { grid-column: 2; grid-row: 1; margin: 0; }
.sector p { grid-column: 1 / -1; grid-row: 2; margin: 12px 0 0; color: var(--text-muted); font-size: .95rem; }

/* ─────────────────────────── process improvement ─────────────────────────── */

.method {
  list-style: none; margin: 0 0 clamp(34px, 4.5vw, 52px); padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.method li {
  position: relative; padding: 18px 16px 18px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  display: grid; gap: 6px;
}
.method li::after {
  content: ""; position: absolute; top: 50%; right: -10px; width: 8px; height: 8px;
  border-top: 1px solid var(--rule-strong); border-right: 1px solid var(--rule-strong);
  transform: translateY(-50%) rotate(45deg);
}
.method li:last-child::after { display: none; }
.method span { font-size: .76rem; color: var(--text-muted); }
.method strong { color: var(--concrete); font-size: 1rem; font-weight: 600; }
.method em { font-style: normal; color: var(--text-muted); font-size: .86rem; line-height: 1.5; }
@media (max-width: 1040px) { .method { grid-template-columns: repeat(3, 1fr); } .method li::after { display: none; } }
@media (max-width: 640px)  { .method { grid-template-columns: 1fr; } }

/* dashboard shell */
.viz {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 3vw, 32px);
}
.viz__head { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.viz__head h3 { color: var(--concrete); font-size: 1.28rem; margin-bottom: .35em; }
.viz__head p { margin: 0; color: var(--text-muted); font-size: .93rem; max-width: 62ch; }
.viz__badge {
  flex: none; font-size: .7rem;
  color: var(--steel-hi); border: 1px solid var(--steel);
  border-radius: var(--radius); padding: 5px 11px;
}

/* kpi tiles */
.kpis { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .kpis { grid-template-columns: 1fr; } }
.kpi {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--deep); padding: 18px 18px 16px;
  display: grid; gap: 6px; align-content: start;
}
.kpi__label { font-size: .72rem; color: var(--text-muted); }
.kpi__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.1vw, 2.4rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--concrete); line-height: 1; font-variant-numeric: tabular-nums;
}
.kpi__value small { font-family: var(--font); font-size: .42em; font-weight: 500; letter-spacing: 0; color: var(--text-muted); margin-left: .45em; }
.kpi__delta { font-size: .84rem; font-weight: 600; }
.kpi__delta--good { color: var(--steel-hi); }
.kpi__delta i { font-style: normal; font-weight: 400; color: var(--text-muted); margin-left: .35em; }

/* charts */
.viz__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .viz__grid { grid-template-columns: 1fr; } }

.chart {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--deep); padding: 20px 20px 16px;
}
.chart figcaption { display: grid; gap: 3px; margin-bottom: 16px; }
.chart figcaption strong { color: var(--concrete); font-size: 1rem; font-weight: 600; }
.chart figcaption span { color: var(--text-muted); font-size: .84rem; }

.spark { display: block; width: 100%; height: auto; overflow: visible; }
.spark__grid line { stroke: var(--rule-dark); stroke-width: 1; }
.spark__ylab text, .spark__xlab text {
  fill: var(--mist); font-size: 12px; font-family: var(--mono);
}
.spark__area { fill: var(--steel-hi); fill-opacity: .12; }
.spark__line { fill: none; stroke: var(--steel-hi); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spark__dots circle { r: 4.5; fill: var(--deep); stroke: var(--steel-hi); stroke-width: 2.5; }
.spark__dots circle.is-last { fill: var(--steel-hi); r: 5.5; }

/* Drawn by default. Only once the observer has tagged the panel (JS running,
   motion allowed) do we hide and then animate — so a blocked script or
   prefers-reduced-motion still gets the finished chart, not an empty box. */
.viz.reveal .spark__line { stroke-dasharray: 620; stroke-dashoffset: 620; }
.viz.reveal .spark__area { opacity: 0; }
.viz.reveal.is-in .spark__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.4,.1,.2,1) .15s; }
.viz.reveal.is-in .spark__area { opacity: 1; transition: opacity .9s ease .7s; }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bar { display: grid; gap: 5px; }
.bar__label { font-size: .87rem; color: var(--concrete); font-weight: 600; }
.bar__track { display: block; height: 22px; border-radius: 3px; background: var(--graphite); overflow: hidden; }
.bar__fill {
  display: flex; align-items: center; justify-content: flex-end;
  height: 100%; width: var(--w); border-radius: 3px; padding-right: 9px;
}
.bar__fill i { font-style: normal; font-size: .76rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar__fill--before { background: var(--rule-strong); }
.bar__fill--before i { color: var(--concrete); }
.bar__fill--after  { background: var(--steel-hi); }
.bar__fill--after i { color: var(--deep); }
.viz.reveal .bar__fill { width: 0; }
.viz.reveal.is-in .bar__fill { width: var(--w); transition: width 1.1s cubic-bezier(.35,.1,.2,1) .25s; }
.viz.reveal.is-in .bar__fill--after { transition-delay: .5s; }

.bar__key { display: flex; gap: 18px; padding-top: 4px; font-size: .8rem; color: var(--text-muted); }
.bar__key span { display: inline-flex; align-items: center; gap: 7px; }
.swatch { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.swatch--before { background: var(--rule-strong); }
.swatch--after  { background: var(--steel-hi); }

.viz__note {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .87rem; color: var(--text-muted); max-width: 88ch;
}

/* ─────────────────────────── product colour tags ─────────────────────────── */

.p-cf { --prod: var(--p-collectflow); }
.p-rf { --prod: var(--p-routeflow); }
.p-sf { --prod: var(--p-stockflow); }
.p-ff { --prod: var(--p-fieldflow); }
.p-rnf { --prod: var(--p-rentalflow); }
.p-ibf { --prod: var(--p-inboxflow); }
.p-icf { --prod: var(--p-intercoflow); }

/* product monogram tile: graphite with the product colour as a bottom bar */
.prod__logo, .access__logo {
  width: 46px; height: 46px; border-radius: var(--radius); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: -.01em;
  color: var(--concrete); background: var(--graphite); flex: none;
  border-bottom: 4px solid var(--prod, var(--rule-dark));
}

/* ─────────────────────────── products ─────────────────────────── */

.prod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.prod::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px;
  background: var(--prod, var(--line));
}
.prod__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
/* product sub-brand underline */
.prod h3 {
  text-decoration: underline; text-decoration-color: var(--prod, currentColor);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}

.tag {
  font-size: .68rem;
  padding: 4px 10px; border-radius: var(--radius); border: 1px solid;
}
.tag--live  { color: var(--concrete); border-color: var(--graphite);   background: var(--graphite); }
.tag--early { color: var(--next-ink); border-color: var(--next-tint);  background: var(--next-tint); }
.tag--dev   { color: var(--slate);    border-color: var(--rule-light); background: transparent; }

.prod__tagline {
  font-size: .74rem;
  color: var(--text-muted); margin: .1em 0 .9em;
}
.prod > p { color: var(--text-muted); font-size: .97rem; }

.ticks { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: .93rem; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 7px;
  border-left: 2px solid var(--data); border-bottom: 2px solid var(--data);
  transform: rotate(-45deg);
}
.ticks--lg li { font-size: .98rem; }

.note { margin: 30px 0 0; font-size: .93rem; color: var(--text-muted); }

/* per-card documentation row */
.prod__docs {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--text-muted);
  display: flex; gap: 10px; align-items: baseline;
}
.prod__docs a { font-weight: 600; }

/* --------------------------- documentation --------------------------- */

.docs-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.docs-list__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 10px 22px; align-items: baseline;
  padding: 16px 0 16px 14px; border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--prod, var(--rule-light));
}
.docs-list__name { font-weight: 700; }
.docs-list__for { color: var(--text-muted); font-size: .92rem; }
.docs-list__links { display: inline-flex; gap: 16px; white-space: nowrap; }
.docs-list__links a { font-weight: 600; font-size: .92rem; }
@media (max-width: 760px) {
  .docs-list__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ─────────────────────────── client access ─────────────────────────── */

.access-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .access-grid { grid-template-columns: 1fr; } }

.access {
  display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
  padding: 24px 22px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; color: inherit;
  transition: border-color .18s ease;
}
.access:hover { border-color: var(--link); color: inherit; }

/* The support desk is the one people actually come here for, so it gets the
   full first row rather than being one tile of four. */
.access--support { grid-column: 1 / -1; grid-template-columns: 54px 1fr auto; grid-template-rows: auto; align-items: center; gap: 20px; }
@media (max-width: 600px) { .access--support { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; } }

.access__logo--psa { width: 54px; height: 54px; border: 1px solid var(--line); }
.access__logo--psa svg { width: 26px; height: 26px; fill: none; stroke: var(--concrete); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.access__body { display: grid; gap: 6px; align-content: start; }
.access__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; color: var(--text); }
.access__sub {
  font-size: .66rem;
  color: var(--text-muted); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 3px 8px; margin-left: 8px; vertical-align: middle;
}
.access__text { color: var(--text-muted); font-size: .93rem; line-height: 1.55; }

.access__go {
  display: inline-flex; align-items: center; gap: 8px; align-self: start;
  font-weight: 600; font-size: .92rem; color: var(--link); white-space: nowrap;
}
.access__go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.access:hover .access__go svg { transform: translateX(4px); }

/* ─────────────────────────── approach ─────────────────────────── */

.approach { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(34px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .approach { grid-template-columns: 1fr; } }

.honesty {
  margin-top: 30px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--graphite);
}
.honesty h3 { margin-bottom: .45em; }
.honesty p { margin: 0; color: var(--text-muted); font-size: .97rem; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 68px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: none; padding-top: 0; }
.steps__n { font-size: 1.3rem; color: var(--data); letter-spacing: 0; line-height: 1.3; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--text-muted); font-size: .96rem; }

/* ─────────────────────────── platform stack ─────────────────────────── */

.stack__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.stack__item h3 { color: var(--concrete); margin-bottom: .5em; }
.stack__item p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ─────────────────────────── cta ─────────────────────────── */

.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: baseline; gap: 16px; }
.contact-list__label { font-size: .72rem; color: var(--text-muted); min-width: 56px; }
.contact-list a { font-size: 1.06rem; font-weight: 600; }

.cta__panel {
  background: var(--panel); color: var(--concrete); border-radius: var(--radius);
  border: 1px solid var(--rule-dark);
  padding: 30px 28px;
}
.cta__panel h3 { color: var(--concrete); margin-bottom: 1em; }
.cta__panel .ticks { padding-top: 0; border-top: none; }
.cta__panel .ticks li { color: var(--concrete); }
.cta__panel-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rule-dark); font-size: .9rem; color: var(--mist); }

/* ─────────────────────────── footer ─────────────────────────── */

.footer { background: var(--deep); color: var(--mist); padding: 52px 0 32px; border-top: 1px solid var(--rule-dark); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid var(--rule-dark); }
.footer__brand p { margin: 12px 0 0; font-size: .93rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--mist); text-decoration: none; font-size: .93rem; }
.footer__links a:hover { color: var(--concrete); text-decoration: underline; }
.footer__legal { padding-top: 22px; display: grid; gap: 8px; }
.footer__legal p { margin: 0; font-size: .84rem; }
.footer__disclaimer { color: var(--dim); max-width: 78ch; }

/* ─────────────────────────── reveal on scroll ─────────────────────────── */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .nav, .nav__toggle, .hero__bg, .btn { display: none !important; }
  body, .hero, .section, .reach, .footer { color: #000; background: #fff; }
}
