/* AUGM8 AI design tokens (source: design/design-system/tokens.json) */
:root, [data-theme="light"] {
  --midnight-navy: #101b2c;
  --slate-blue: #20364c;
  --signal-teal: #47d9c5;
  --cloud-white: #f5f7fa;
  --steel-grey: #a7b7c7;
  --teal-deep: #0b7a6c;
  --slate-muted: #4a5d72;
  --white: #ffffff;
  --surface: #f5f7fa;
  --surface-raised: #ffffff;
  --surface-sunken: #ebeff4;
  --ink: #101b2c;
  --ink-muted: #4a5d72;
  --line: #d8e0e8;
  --line-strong: #7a8b9e;
  --accent: #0b7a6c;
  --accent-fill: #47d9c5;
  --on-accent: #101b2c;
  --btn-primary: #101b2c;
  --btn-primary-hover: #20364c;
  --btn-primary-ink: #f5f7fa;
  --focus: #0b7a6c;
  --danger: #b42318;
  --accent-glow: rgba(11, 122, 108, 0.08);
  --header-glass: rgba(16, 27, 44, 0.92);
  --grid-line: rgba(16, 27, 44, 0.06);
  --shadow-raise: 0 1px 2px rgba(16, 27, 44, 0.06), 0 8px 24px rgba(16, 27, 44, 0.06);
}
[data-theme="dark"] {
  --midnight-navy: #101b2c;
  --slate-blue: #20364c;
  --signal-teal: #47d9c5;
  --cloud-white: #f5f7fa;
  --steel-grey: #a7b7c7;
  --teal-deep: #0b7a6c;
  --slate-muted: #4a5d72;
  --white: #ffffff;
  --surface: #101b2c;
  --surface-raised: #20364c;
  --surface-sunken: #0b1422;
  --ink: #f5f7fa;
  --ink-muted: #a7b7c7;
  --line: #263d55;
  --line-strong: #7a90a8;
  --accent: #47d9c5;
  --accent-fill: #47d9c5;
  --on-accent: #101b2c;
  --btn-primary: #47d9c5;
  --btn-primary-hover: #8aeadd;
  --btn-primary-ink: #101b2c;
  --focus: #47d9c5;
  --danger: #ff8a80;
  --accent-glow: rgba(71, 217, 197, 0.10);
  --header-glass: rgba(16, 27, 44, 0.92);
  --grid-line: rgba(167, 183, 199, 0.08);
  --shadow-raise: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-full: 999px;
  --container-max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-height: 76px;
  --font-sans: "Instrument Sans", "Instrument Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
.display-xl { font-family: var(--font-sans); font-size: 72px; line-height: 76px; font-weight: 600; letter-spacing: -0.035em; }
.display-lg { font-family: var(--font-sans); font-size: 56px; line-height: 62px; font-weight: 600; letter-spacing: -0.03em; }
.heading-1 { font-family: var(--font-sans); font-size: 44px; line-height: 50px; font-weight: 600; letter-spacing: -0.025em; }
.heading-2 { font-family: var(--font-sans); font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-family: var(--font-sans); font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.heading-4 { font-family: var(--font-sans); font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -0.005em; }
.body-lg { font-family: var(--font-sans); font-size: 20px; line-height: 32px; font-weight: 400; letter-spacing: 0; }
.body { font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400; letter-spacing: 0; }
.body-sm { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 400; letter-spacing: 0; }
.label { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.14em; }
.caption { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0.02em; }

/* Self-hosted fonts (SIL Open Font License 1.1), latin subset */
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans-Variable-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Regular-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Medium-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); }
/* Long-form legal text */
.a8-prose { max-width: 72ch; }
.a8-prose h2 { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; margin: var(--space-7) 0 var(--space-3); }
.a8-prose h2:first-child { margin-top: 0; }
.a8-prose p, .a8-prose li { color: var(--ink-muted); }
.a8-prose ul { margin-top: var(--space-3); }
.a8-prose li { position: relative; padding-left: var(--space-5); margin: var(--space-2) 0; }
.a8-prose li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
.a8-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* AUGM8 AI components. Every value reads a token from tokens.css; fallbacks only where a token is absent. */

/* ---------- Base ---------- */
.a8 { font-family: var(--font-sans); font-size: 17px; line-height: 28px; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.a8 *, .a8 *::before, .a8 *::after { box-sizing: border-box; }
:where(.a8) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
:where(.a8) :where(ul, ol) { padding: 0; list-style: none; }
.a8 a { color: inherit; text-decoration: none; }
.a8 img, .a8 svg { display: block; max-width: 100%; }
.a8 :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
:where(.a8 [data-theme]) { color: var(--ink); background: var(--surface); }
.a8-container { width: 100%; max-width: calc(var(--container-max, 1240px) + 2 * var(--gutter, 32px)); margin-inline: auto; padding-inline: var(--gutter, 32px); }
.a8-section { padding-block: var(--space-10); position: relative; }
.a8-section--tight { padding-block: var(--space-9); }
.a8-section--sunken { background: var(--surface-sunken); }
.a8-section + .a8-section:not([data-theme]):not(.a8-section--sunken) { border-top: 1px solid var(--line); }
.a8-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a8-skip { position: absolute; left: var(--space-4); top: -60px; z-index: 50; padding: var(--space-3) var(--space-4); background: var(--btn-primary); color: var(--btn-primary-ink); border-radius: var(--radius-sm); }
.a8-skip:focus { top: var(--space-4); }

/* Text helpers built on the type tokens */
.a8 .eyebrow { text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: var(--space-2); }
.a8 .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--accent-fill); }
.a8 .eyebrow--plain::before { display: none; }
.a8-muted { color: var(--ink-muted); }
.a8-measure { max-width: 60ch; }
.a8-accent { color: var(--accent); }

/* Responsive steps for the display scale */
@media (max-width: 1024px) {
  .a8 .display-xl { font-size: 52px; line-height: 56px; }
  .a8 .display-lg { font-size: 44px; line-height: 50px; }
  .a8 .heading-1 { font-size: 36px; line-height: 42px; }
  .a8-section { padding-block: var(--space-9); }
}
@media (max-width: 640px) {
  .a8 .display-xl { font-size: 40px; line-height: 44px; }
  .a8 .display-lg { font-size: 36px; line-height: 40px; }
  .a8 .heading-1 { font-size: 30px; line-height: 36px; }
  .a8 .heading-2 { font-size: 26px; line-height: 32px; }
  .a8 .body-lg { font-size: 18px; line-height: 29px; }
  .a8-section, .a8-section--tight { padding-block: var(--space-8); }
}

/* ---------- Technical grid (decorative) ---------- */
.a8-grid-bg { background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: var(--space-8) var(--space-8); background-position: -1px -1px; }

/* ---------- Wordmark (typographic; no logo supplied) ---------- */
.a8-logo { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-sans); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; color: var(--ink); line-height: 1; }
.a8-logo span { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; color: var(--accent); padding: 3px 5px; border: 1px solid currentColor; border-radius: var(--radius-sm); transform: translateY(-3px); }

/* ---------- Buttons ---------- */
.a8-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: var(--space-3) 22px; font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 500; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; white-space: nowrap; }
.a8-btn svg { width: 16px; height: 16px; transition: transform .2s ease; flex: none; }
.a8-btn:hover svg { transform: translateX(3px); }
.a8-btn--primary { background: var(--btn-primary); color: var(--btn-primary-ink); }
.a8-btn--primary:hover { background: var(--btn-primary-hover); }
.a8-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.a8-btn--secondary:hover { border-color: var(--ink); }
.a8-btn--sm { min-height: 40px; padding: 10px 16px; }
.a8-btn--block { width: 100%; }
.a8-btn[disabled] { opacity: .5; cursor: not-allowed; }
.a8-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; line-height: 20px; color: var(--ink); padding-bottom: 4px; background-image: linear-gradient(var(--accent-fill), var(--accent-fill)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.a8-link svg { width: 16px; height: 16px; color: var(--accent); transition: transform .2s ease; }
.a8-link:hover { background-size: 100% 1px; }
.a8-link:hover svg { transform: translateX(3px); }
.a8-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Header ---------- */
.a8-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.a8-header__inner { display: flex; align-items: center; gap: var(--space-6); height: var(--header-height, 76px); }
.a8-nav { display: flex; gap: var(--space-1); margin-left: auto; }
.a8-nav a { position: relative; padding: 10px 12px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--ink-muted); transition: color .2s ease; }
.a8-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--accent-fill); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.a8-nav a:hover { color: var(--ink); }
.a8-nav a:hover::after, .a8-nav a[aria-current="page"]::after { transform: scaleX(1); }
.a8-nav a[aria-current="page"] { color: var(--ink); }
.a8-header__cta { flex: none; }
.a8-menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: 500 14px/20px var(--font-sans); cursor: pointer; }
.a8-menu-btn svg { width: 18px; height: 18px; }
.a8-mobile-nav { display: none; border-top: 1px solid var(--line); padding: var(--space-4) 0 var(--space-6); }
.a8-mobile-nav a:not(.a8-btn) { display: flex; justify-content: space-between; padding: 14px 0; font-size: 20px; line-height: 28px; font-weight: 500; border-bottom: 1px solid var(--line); }
.a8-mobile-nav a[aria-current="page"] { color: var(--accent); }
.a8-mobile-nav .a8-btn { margin-top: var(--space-5); width: 100%; }
.a8-header.is-open .a8-mobile-nav { display: block; }
@media (max-width: 1080px) {
  .a8-nav, .a8-header__cta { display: none; }
  .a8-menu-btn { display: inline-flex; }
}
@media (max-width: 640px) { .a8-header__inner { height: 64px; } }

/* ---------- Hero ---------- */
.a8-hero { position: relative; overflow: hidden; padding-block: var(--space-9) var(--space-10); }
.a8-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: center; }
.a8-hero__copy > * + * { margin-top: var(--space-5); }
.a8-hero__copy .eyebrow { margin-bottom: var(--space-2); }
.a8-hero__copy .a8-actions { margin-top: var(--space-7); }
.a8-hero__lead { color: var(--ink-muted); max-width: 54ch; }
.a8-hero__meta { margin-top: var(--space-9); padding-top: var(--space-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); color: var(--ink-muted); }
.a8-hero__meta strong { color: var(--ink); font-weight: 500; }
.a8-hero--page { padding-block: var(--space-9); }
.a8-hero--page .a8-hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; }
.a8-breadcrumb { display: flex; gap: var(--space-2); color: var(--ink-muted); margin-bottom: var(--space-6); }
.a8-breadcrumb a:hover { color: var(--ink); }
@media (max-width: 960px) {
  .a8-hero__grid, .a8-hero--page .a8-hero__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .a8-hero { padding-block: var(--space-8) var(--space-9); }
}

/* ---------- Connected-systems visual ---------- */
.a8-visual { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.a8-visual svg { width: 100%; height: 100%; overflow: visible; }
.a8-visual .plane { fill: var(--surface-raised); fill-opacity: .55; stroke: var(--line-strong); stroke-width: 1; }
.a8-visual .plane--top { fill-opacity: .8; }
.a8-visual .mesh { stroke: var(--line); stroke-width: 1; fill: none; }
.a8-visual .link { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 4; fill: none; }
.a8-visual .edge { stroke: var(--accent); stroke-width: 1.25; fill: none; opacity: .9; }
.a8-visual .node { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.25; }
.a8-visual .node--on { fill: var(--accent-fill); stroke: none; }
.a8-visual .halo { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .4; }
.a8-visual .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; fill: var(--ink-muted); text-transform: uppercase; }
.a8-visual .tick { stroke: var(--line-strong); stroke-width: 1; }
.a8-visual .pulse { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; fill: none; stroke-dasharray: 10 110; animation: a8-flow 4.8s linear infinite; }
.a8-visual .pulse:nth-of-type(2n) { animation-delay: -1.6s; }
.a8-visual .pulse:nth-of-type(3n) { animation-delay: -3.2s; }
.a8-visual .halo { transform-box: fill-box; transform-origin: center; animation: a8-breathe 4s ease-in-out infinite; }
@keyframes a8-flow { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
@keyframes a8-breathe { 0%, 100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .a8-visual .pulse, .a8-visual .halo { animation: none; } .a8 * { transition: none !important; } }

/* ---------- Section header ---------- */
.a8-sechead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-6) var(--space-8); align-items: end; margin-bottom: var(--space-8); }
.a8-sechead > div > .eyebrow { margin-bottom: var(--space-4); }
.a8-sechead p { color: var(--ink-muted); max-width: 58ch; }
.a8-sechead--stack { grid-template-columns: 1fr; max-width: 820px; }
.a8-sechead__aside { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
@media (max-width: 900px) { .a8-sechead { grid-template-columns: 1fr; margin-bottom: var(--space-7); } }

/* ---------- Proposition / comparison ---------- */
.a8-prop { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); }
.a8-prop__intro > * + * { margin-top: var(--space-5); }
.a8-gap { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised); overflow: hidden; }
.a8-gap__col { padding: var(--space-6); }
.a8-gap__col + .a8-gap__col { border-left: 1px solid var(--line); background: var(--surface); }
.a8-gap__col h3 { margin: var(--space-3) 0 var(--space-5); }
.a8-gap__col li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--line); color: var(--ink-muted); }
.a8-gap__col li svg { width: 16px; height: 16px; margin-top: 6px; }
.a8-gap__col--from li svg { color: var(--ink-muted); }
.a8-gap__col--to li { color: var(--ink); }
.a8-gap__col--to li svg { color: var(--accent); }
@media (max-width: 960px) { .a8-prop { grid-template-columns: 1fr; gap: var(--space-7); } }
@media (max-width: 640px) { .a8-gap { grid-template-columns: 1fr; } .a8-gap__col + .a8-gap__col { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Cards (shared) ---------- */
.a8-cards { display: grid; gap: var(--space-5); }
.a8-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a8-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a8-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1080px) { .a8-cards--4, .a8-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .a8-cards--4, .a8-cards--3, .a8-cards--2 { grid-template-columns: 1fr; } }
.a8-card { position: relative; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.a8-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--accent-fill); border-radius: var(--radius-md) var(--radius-md) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.a8-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-raise); }
.a8-card:hover::before { transform: scaleX(1); }
.a8-card__top { display: flex; justify-content: space-between; align-items: center; color: var(--ink-muted); }
.a8-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--accent); }
.a8-card__icon svg { width: 22px; height: 22px; }
.a8-card p { color: var(--ink-muted); }
.a8-card__foot { margin-top: auto; padding-top: var(--space-4); }
@media (max-width: 640px) { .a8-card { padding: var(--space-5); } }

.a8-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.a8-tag--accent { color: var(--accent); border-color: currentColor; }
.a8-tag .pip { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--accent-fill); }

.a8-checklist li { display: grid; grid-template-columns: 16px 1fr; gap: var(--space-3); padding: 7px 0; font-size: 15px; line-height: 22px; color: var(--ink); }
.a8-checklist li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; border: 1px solid var(--accent); transform: rotate(45deg); }
.a8-checklist--rule li { border-top: 1px solid var(--line); padding: 10px 0; }

/* Service card */
.a8-service h3 { margin-top: var(--space-2); }
.a8-service .a8-checklist { margin-top: var(--space-2); }

/* Solution card (problem / approach / outcomes) */
.a8-solution dl { display: grid; gap: var(--space-4); }
.a8-solution dt { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.a8-solution dd { font-size: 15px; line-height: 24px; color: var(--ink-muted); }

/* ---------- Solution row (detailed) ---------- */
.a8-solrow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-8); padding-block: var(--space-8); border-top: 1px solid var(--line); }
.a8-solrow:last-child { border-bottom: 1px solid var(--line); }
.a8-solrow__head > * + * { margin-top: var(--space-4); }
.a8-solrow__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.a8-solrow__cols h4 { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.a8-solrow__cols h4 .caption { color: var(--accent); }
.a8-solrow__cols p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.a8-solrow__cols > div { padding-top: var(--space-4); border-top: 2px solid var(--line); }
.a8-solrow__cols > div:last-child { border-top-color: var(--accent-fill); }
@media (max-width: 1024px) { .a8-solrow { grid-template-columns: 1fr; gap: var(--space-6); } }
@media (max-width: 720px) { .a8-solrow__cols { grid-template-columns: 1fr; } }

/* ---------- Industry list ---------- */
.a8-industries { border-top: 1px solid var(--line); }
.a8-industry { display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr) 40px; gap: var(--space-6); align-items: center; padding: var(--space-6) var(--space-4); border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.a8-industry:hover { background: var(--surface-raised); }
.a8-industry .caption { color: var(--ink-muted); }
.a8-industry p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.a8-industry__arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-full); color: var(--accent); transition: border-color .2s ease, transform .2s ease; }
.a8-industry__arrow svg { width: 16px; height: 16px; }
.a8-industry:hover .a8-industry__arrow { border-color: var(--accent); transform: translateX(4px); }
@media (max-width: 860px) { .a8-industry { grid-template-columns: 1fr 40px; gap: var(--space-2) var(--space-4); padding-inline: 0; } .a8-industry .caption { grid-column: 1 / -1; } .a8-industry h3 { grid-column: 1; } .a8-industry p { grid-column: 1; } .a8-industry__arrow { grid-column: 2; grid-row: 2 / span 2; } }

/* Industry detail block */
.a8-indblock { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); padding-block: var(--space-8); border-top: 1px solid var(--line); }
.a8-indblock__head > * + * { margin-top: var(--space-4); }
.a8-indblock__areas { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.a8-area { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised); }
.a8-area h4 { margin-bottom: var(--space-2); }
.a8-area p { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.a8-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 960px) { .a8-indblock { grid-template-columns: 1fr; gap: var(--space-6); } }
@media (max-width: 560px) { .a8-indblock__areas { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.a8-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: step; }
.a8-step { position: relative; padding: 0 var(--space-6) 0 0; }
.a8-step__rail { position: relative; height: 24px; margin-bottom: var(--space-6); }
.a8-step__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-strong); }
.a8-step:last-child .a8-step__rail::before { right: auto; width: 40%; background: linear-gradient(90deg, var(--line-strong), transparent); }
.a8-step__node { position: relative; width: 24px; height: 24px; border-radius: var(--radius-full); border: 1px solid var(--accent); background: var(--surface); display: grid; place-items: center; }
.a8-step__node::after { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--accent-fill); }
.a8-step .caption { color: var(--accent); display: block; margin-bottom: var(--space-2); }
.a8-step h3 { margin-bottom: var(--space-3); display: flex; align-items: center; gap: 10px; }
.a8-step h3 .arrow { color: var(--ink-muted); font-weight: 400; }
.a8-step p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.a8-step .a8-checklist { margin-top: var(--space-4); }
@media (max-width: 960px) {
  .a8-process { grid-template-columns: 1fr; }
  .a8-step { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-5); padding: 0 0 var(--space-7); }
  .a8-step__rail { height: auto; margin: 0; }
  .a8-step__rail::before, .a8-step:last-child .a8-step__rail::before { left: 11px; right: auto; top: 24px; bottom: calc(-1 * var(--space-7)); width: 1px; height: auto; background: var(--line-strong); }
  .a8-step:last-child .a8-step__rail::before { display: none; }
  .a8-step h3 .arrow { display: none; }
}

/* ---------- Insights ---------- */
.a8-insight { min-height: 100%; }
.a8-insight__art { height: 148px; margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-2); border-bottom: 1px solid var(--line); border-radius: var(--radius-md) var(--radius-md) 0 0; overflow: hidden; background: var(--surface-sunken); color: var(--accent); }
.a8-insight__art svg { width: 100%; height: 100%; }
.a8-insight__art .ln { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.a8-insight__art .ac { stroke: var(--accent); stroke-width: 1.5; fill: none; }
.a8-insight__art .dot { fill: var(--accent-fill); }
.a8-insight__art .hollow { fill: var(--surface-sunken); stroke: var(--line-strong); }
.a8-insight--feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); padding: 0; overflow: hidden; gap: 0; }
.a8-insight--feature .a8-insight__art { height: auto; min-height: 320px; margin: 0; border-bottom: 0; border-right: 1px solid var(--line); border-radius: 0; }
.a8-insight--feature .a8-insight__body { padding: var(--space-7); display: flex; flex-direction: column; gap: var(--space-4); justify-content: center; }
@media (max-width: 640px) { .a8-insight__art { margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-2); } }
@media (max-width: 860px) { .a8-insight--feature { grid-template-columns: 1fr; } .a8-insight--feature .a8-insight__art { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); } .a8-insight--feature .a8-insight__body { padding: var(--space-6); } }

.a8-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.a8-chip { min-height: 36px; padding: 7px 14px; font: 500 14px/20px var(--font-sans); color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.a8-chip:hover { border-color: var(--ink); }
.a8-chip[aria-pressed="true"] { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }

/* ---------- Principles / feature list ---------- */
.a8-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.a8-principle { padding: var(--space-6); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.a8-principle:hover { background: var(--surface-raised); }
.a8-principle .caption { color: var(--accent); display: block; margin-bottom: var(--space-6); }
.a8-principle h3 { margin-bottom: var(--space-3); }
.a8-principle p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
@media (max-width: 960px) { .a8-principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .a8-principles { grid-template-columns: 1fr; } }

.a8-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
.a8-split > div > * + * { margin-top: var(--space-5); }
.a8-split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .a8-split, .a8-split--even { grid-template-columns: 1fr; gap: var(--space-6); } }

.a8-statement { font-family: var(--font-sans); font-size: 36px; line-height: 46px; font-weight: 500; letter-spacing: -0.02em; max-width: 26ch; }
.a8-statement em { font-style: normal; color: var(--accent); }
@media (max-width: 640px) { .a8-statement { font-size: 26px; line-height: 34px; } }

.a8-isnot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.a8-isnot > div { padding: var(--space-6); border-radius: var(--radius-md); border: 1px solid var(--line); }
.a8-isnot > div:last-child { background: var(--surface-raised); }
.a8-isnot h3 { margin-bottom: var(--space-4); }
.a8-isnot li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 24px; }
.a8-isnot > div:first-child li { color: var(--ink-muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
@media (max-width: 720px) { .a8-isnot { grid-template-columns: 1fr; } }

/* ---------- Engagement models ---------- */
.a8-model { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-top: 2px solid var(--accent-fill); background: var(--surface-raised); }
.a8-model p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }

/* ---------- Service detail ---------- */
.a8-svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); padding-block: var(--space-9); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.a8-svc:first-of-type { border-top: 0; padding-top: 0; }
.a8-svc__head { position: sticky; top: 112px; align-self: start; }
.a8-svc__head > * + * { margin-top: var(--space-4); }
.a8-svc__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--ink-muted); display: flex; gap: var(--space-3); align-items: center; }
.a8-svc__num::after { content: ""; flex: 1; max-width: 80px; height: 1px; background: var(--line-strong); }
.a8-svc__body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.a8-svc__body > div h4 { margin-bottom: var(--space-3); }
.a8-svc__body > .wide { grid-column: 1 / -1; padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
@media (max-width: 960px) { .a8-svc { grid-template-columns: 1fr; gap: var(--space-6); padding-block: var(--space-8); } .a8-svc__head { position: static; } }
@media (max-width: 600px) { .a8-svc__body { grid-template-columns: 1fr; } }

.a8-subnav { position: sticky; top: var(--header-height, 76px); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.a8-subnav__inner { display: flex; gap: var(--space-6); overflow-x: auto; scrollbar-width: none; }
.a8-subnav a { flex: none; padding: 18px 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-muted); border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.a8-subnav a:hover { color: var(--ink); border-bottom-color: var(--accent-fill); }

/* ---------- Forms ---------- */
.a8-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
.a8-form .full { grid-column: 1 / -1; }
.a8-field { display: flex; flex-direction: column; gap: var(--space-2); }
.a8-field label, .a8-field legend { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); padding: 0; }
.a8-field label .opt { color: var(--ink-muted); font-weight: 400; }
.a8-input, .a8-select, .a8-textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/24px var(--font-sans); color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .2s ease, box-shadow .2s ease; appearance: none; -webkit-appearance: none; }
.a8-input::placeholder, .a8-textarea::placeholder { color: var(--ink-muted); opacity: 1; }
.a8-input:hover, .a8-select:hover, .a8-textarea:hover { border-color: var(--ink-muted); }
.a8-input:focus, .a8-select:focus, .a8-textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
.a8-select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.a8-textarea { min-height: 148px; resize: vertical; }
.a8-help { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.a8-error { display: none; align-items: center; gap: 6px; font-size: 13px; line-height: 20px; color: var(--danger); }
.a8-error svg { width: 14px; height: 14px; flex: none; }
.a8-field.is-invalid .a8-input, .a8-field.is-invalid .a8-select, .a8-field.is-invalid .a8-textarea { border-color: var(--danger); }
.a8-field.is-invalid .a8-error { display: flex; }
.a8-check { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); align-items: start; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.a8-check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); display: grid; place-items: center; cursor: pointer; }
.a8-check input:checked { background: var(--accent-fill); border-color: var(--accent-fill); }
.a8-check input:checked::after { content: ""; width: 5px; height: 10px; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: translate(0, -1px) rotate(45deg); }
.a8-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.a8-form__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.a8-success { display: none; grid-column: 1 / -1; padding: var(--space-5); border: 1px solid var(--accent); border-radius: var(--radius-sm); gap: var(--space-3); align-items: start; }
.a8-success svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.a8-form.is-sent .a8-success { display: flex; }
@media (max-width: 640px) { .a8-form { grid-template-columns: 1fr; } }

.a8-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
.a8-contact__intro > * + * { margin-top: var(--space-5); }
.a8-contact__panel { padding: var(--space-7); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.a8-next li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.a8-next .caption { color: var(--accent); }
.a8-next strong { display: block; font-weight: 600; margin-bottom: 2px; }
.a8-next span:not(.caption) { color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.a8-direct { display: grid; gap: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.a8-direct div { display: grid; gap: 2px; }
.a8-direct .caption { color: var(--ink-muted); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
@media (max-width: 960px) { .a8-contact { grid-template-columns: 1fr; gap: var(--space-7); } }
@media (max-width: 640px) { .a8-contact__panel { padding: var(--space-5); } }

/* ---------- CTA band ---------- */
.a8-cta { position: relative; overflow: hidden; }
.a8-cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-7); align-items: end; }
.a8-cta__inner > div:first-child > * + * { margin-top: var(--space-4); }
.a8-cta__inner .a8-actions { justify-content: flex-end; }
@media (max-width: 860px) { .a8-cta__inner { grid-template-columns: 1fr; } .a8-cta__inner .a8-actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.a8-footer { background: var(--surface-sunken); border-top: 1px solid var(--line); padding-block: var(--space-9) var(--space-6); }
.a8-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: var(--space-6); padding-bottom: var(--space-8); border-bottom: 1px solid var(--line); }
.a8-footer__brand > * + * { margin-top: var(--space-4); }
.a8-footer__brand p { color: var(--ink-muted); font-size: 15px; line-height: 24px; max-width: 34ch; }
.a8-footer h4 { margin-bottom: var(--space-4); color: var(--ink); font-size: 14px; line-height: 20px; }
.a8-footer li a { display: inline-block; padding: 5px 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); transition: color .2s ease; }
.a8-footer li a:hover { color: var(--ink); }
.a8-footer__bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-5); color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.a8-footer__bottom nav { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.a8-footer__bottom a:hover { color: var(--ink); }
@media (max-width: 960px) { .a8-footer__top { grid-template-columns: 1fr 1fr; } .a8-footer__brand { grid-column: 1 / -1; } }
.a8-indblock:first-child { border-top: 0; padding-top: 0; }


/* Metric-matched fallback: keeps layout still while Instrument Sans loads (no font-swap shift) */
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); font-weight: 400 500; size-adjust: 99.6%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"); font-weight: 600 700; size-adjust: 104.7%; }

/* =====================================================================
   MOTION & INTERACTION LAYER (v2)
   Timing: fast 0.2s (hover), base 0.35s (state), reveal 0.8s; one easing.
   Everything here is progressive: html.js gates hidden states.
   ===================================================================== */
.a8 { --ease: cubic-bezier(.2, .7, .2, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }
@media (max-width: 640px) { :root { --header-height: 64px; } .a8-header__inner { height: var(--header-height); } }

/* ---------- Reveal ---------- */
@keyframes a8-in { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes a8-word { from { translate: 0 108%; } to { translate: 0 0; } }
@keyframes a8-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes a8-fade { from { opacity: 0; } to { opacity: 1; } }
.js [data-rv]:not(.is-in) { opacity: 0; }
.js [data-rv].is-in { animation: a8-in .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.a8-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.a8-words .w > span { display: inline-block; }
.js .a8-words[data-rv]:not(.is-in) { opacity: 1; }
.js .a8-words[data-rv]:not(.is-in) .w > span { translate: 0 108%; }
.js .a8-words[data-rv].is-in { animation: none; }
.js .a8-words.is-in .w > span { animation: a8-word .9s var(--ease) both; animation-delay: calc(var(--w, 0) * 55ms + 80ms); }

/* Section rule: a hairline that draws in, carrying one signal to its end */
.a8-rule { grid-column: 1 / -1; position: relative; display: block; height: 1px; background: var(--line); transform-origin: left; margin-bottom: var(--space-2); }
.a8-rule::after { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: var(--radius-full); background: var(--accent-fill); }
.js .a8-rule[data-rv]:not(.is-in) { opacity: 1; transform: scaleX(0); }
.js .a8-rule[data-rv].is-in { animation: none; transform: scaleX(1); transition: transform 1.1s var(--ease-io); }
.js .a8-rule.is-in::after { animation: a8-rule-dot 1.1s var(--ease-io) both; }
@keyframes a8-rule-dot { from { left: 0; } to { left: calc(100% - 7px); } }
.a8-section + .a8-section:not([data-theme]):not(.a8-section--sunken) { border-top: 0; }

/* ---------- Header v2: transparent over hero, glass on scroll, hides on scroll down ---------- */
.a8-header { margin-bottom: calc(-1 * var(--header-height, 76px)); background: transparent; border-bottom-color: transparent; transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease), box-shadow .35s var(--ease); }
.a8-header.is-scrolled, .a8-header.is-open { background: var(--header-glass); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.a8-header.is-open { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
.a8-header.is-hidden { transform: translateY(-100%); }
html:not(.js) .a8-header { background: var(--surface); }
.a8-hero { padding-top: calc(var(--header-height, 76px) + var(--space-9)); }
.a8-hero--page { padding-top: calc(var(--header-height, 76px) + var(--space-8)); }
.a8-logo span { transition: background-color .25s var(--ease), color .25s var(--ease); }
.a8-logo:hover span { background: var(--accent-fill); color: var(--on-accent); border-color: var(--accent-fill); }

/* Nav items + dropdowns */
.a8-nav { align-items: center; }
.a8-nav__item { position: relative; display: flex; align-items: center; }
.a8-nav__caret { display: grid; place-items: center; width: 22px; height: 32px; margin-left: -10px; padding: 0; background: none; border: 0; color: var(--ink-muted); cursor: pointer; border-radius: var(--radius-sm); }
.a8-nav__caret svg { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.a8-nav__item.is-open .a8-nav__caret svg { transform: rotate(180deg); }
.a8-nav__item.is-open > a { color: var(--ink); }
.a8-dd { position: absolute; top: calc(100% + 18px); left: 50%; width: 600px; padding: var(--space-3); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 30px 60px rgba(4, 10, 20, 0.45); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s; z-index: 5; }
.a8-dd::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.a8-nav__item.is-open .a8-dd, html:not(.js) .a8-nav__item:hover .a8-dd, html:not(.js) .a8-nav__item:focus-within .a8-dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.a8-dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.a8 .a8-dd a.a8-dd__link { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; padding: 14px; border-radius: var(--radius-sm); color: var(--ink); transition: background-color .2s var(--ease); }
.a8 .a8-dd a::after { display: none; }
.a8-dd__link:hover, .a8-dd__link:focus-visible { background: var(--accent-glow); }
.a8-dd__link .caption { grid-row: span 2; color: var(--accent); padding-top: 1px; }
.a8-dd__link strong { font-weight: 600; font-size: 15px; line-height: 20px; }
.a8-dd__link .d { font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.a8-dd__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-2); padding: 12px 14px 6px; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.a8 .a8-dd__foot a.a8-link { padding: 0 0 4px; color: var(--ink); }

/* Menu button morph + animated mobile panel */
.a8-menu-btn .bars { width: 18px; height: 18px; }
.a8-menu-btn .bars line { transition: transform .3s var(--ease), opacity .2s var(--ease); transform-box: fill-box; transform-origin: center; }
.a8-menu-btn[aria-expanded="true"] .bars .b1 { transform: translateY(5px) rotate(45deg); }
.a8-menu-btn[aria-expanded="true"] .bars .b2 { opacity: 0; }
.a8-menu-btn[aria-expanded="true"] .bars .b3 { transform: translateY(-5px) rotate(-45deg); }
.a8-mobile-nav { display: grid; grid-template-rows: 0fr; padding: 0; border-top: 1px solid transparent; visibility: hidden; transition: grid-template-rows .4s var(--ease), border-color .3s var(--ease), visibility 0s linear .4s; }
.a8-mobile-nav > nav { min-height: 0; overflow: hidden; }
.a8-mobile-nav > nav > :first-child { margin-top: var(--space-3); }
.a8-mobile-nav > nav > :last-child { margin-bottom: var(--space-6); }
.a8-header.is-open .a8-mobile-nav { grid-template-rows: 1fr; border-top-color: var(--line); visibility: visible; transition-delay: 0s; }
.a8-mobile-nav a { opacity: 0; translate: 0 10px; transition: opacity .3s var(--ease), translate .35s var(--ease), color .2s; }
.a8-header.is-open .a8-mobile-nav a { opacity: 1; translate: 0 0; transition-delay: calc(var(--i, 0) * 35ms + 60ms); }
.a8-mobile-nav a:not(.a8-btn):hover { color: var(--accent); }
.a8-mobile-nav a:not(.a8-btn) span { transition: translate .2s var(--ease); }
.a8-mobile-nav a:not(.a8-btn):hover span { translate: 4px 0; }
html:not(.js) .a8-mobile-nav { display: none; }
@media (min-width: 1081px) { .a8-mobile-nav { display: none; } }

/* ---------- Buttons: sheen, press, fill ---------- */
.a8-btn { position: relative; overflow: hidden; isolation: isolate; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), scale .15s var(--ease); }
.a8-btn:active { scale: .98; }
.a8-btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); translate: -120% 0; }
.a8-btn--primary:hover::after { translate: 120% 0; transition: translate .75s var(--ease); }
.a8-btn--secondary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-glow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.a8-btn--secondary:hover::before { transform: scaleX(1); }
.a8-btn--secondary:hover { border-color: var(--accent); }

/* ---------- Hero v2 ---------- */
.a8-hero { isolation: isolate; }
.a8-hero__spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--accent-glow) 1px, transparent 1px), linear-gradient(90deg, var(--accent-glow) 1px, transparent 1px); background-size: var(--space-8) var(--space-8); background-position: -1px -1px; -webkit-mask-image: radial-gradient(320px circle at var(--sx, -999px) var(--sy, -999px), #000, transparent 70%); mask-image: radial-gradient(320px circle at var(--sx, -999px) var(--sy, -999px), #000, transparent 70%); filter: brightness(3); }
.a8-hero__grid--home { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.a8-hero__grid--home .a8-hero__copy { position: relative; z-index: 2; }
.a8-hero__grid--home .a8-visual { width: 128%; margin: calc(-1 * var(--space-8)) -16% calc(-1 * var(--space-7)) -12%; }
.a8-visual { aspect-ratio: auto; }
.a8-visual__canvas { display: block; width: 100%; height: auto; }
.a8-visual.is-live > svg { display: none; }
.a8-visual > svg { aspect-ratio: 600 / 560; height: auto; }
.a8-visual__ticker { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: calc(-1 * var(--space-5)); font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.a8-visual__ticker li { display: inline-flex; align-items: center; gap: 8px; transition: color .35s var(--ease); }
.a8-visual__ticker li::before { content: ""; width: 5px; height: 5px; border-radius: var(--radius-full); border: 1px solid currentColor; transition: background-color .35s var(--ease); }
.a8-visual__ticker li.is-on { color: var(--accent); }
.a8-visual__ticker li.is-on::before { background: var(--accent-fill); border-color: var(--accent-fill); }
.a8-hero__meta { position: relative; border-top: 0; }
.a8-hero__meta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.js .a8-hero__meta[data-rv].is-in::before { animation: a8-scale-x 1.2s var(--ease-io) both; }
@keyframes a8-scale-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.a8-hero__meta span { display: inline-flex; gap: 8px; align-items: baseline; }
.a8-scroll-cue { position: absolute; left: 50%; bottom: var(--space-5); width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.a8-scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent-fill); animation: a8-cue 2.2s var(--ease-io) infinite; }
@keyframes a8-cue { to { top: 100%; } }
@media (max-width: 960px) {
  .a8-hero__grid--home { grid-template-columns: 1fr; }
  .a8-hero__grid--home .a8-visual { width: 100%; margin: 0; max-width: 560px; justify-self: center; }
  .a8-scroll-cue { display: none; }
}

/* Page hero diagram */
.a8-diagram { width: 100%; max-width: 440px; justify-self: end; }
.a8-diagram svg { width: 100%; height: auto; overflow: hidden; }
.a8-diagram .d-ln { fill: none; stroke: var(--line-strong); stroke-width: 1; opacity: .55; }
.a8-diagram .d-dash { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 5; opacity: .6; }
.a8-diagram .d-ac { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.a8-diagram .d-n { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; }
.a8-diagram .d-on { fill: var(--accent-fill); }
.a8-diagram .d-plane { fill: var(--surface-raised); stroke: var(--line-strong); stroke-width: 1; }
.a8-diagram .d-lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; fill: var(--ink-muted); }
.a8-diagram .d-glow { fill: var(--accent-glow); }
.a8-diagram .flow { fill: none; stroke: none; }
.a8-diagram .d-halo { fill: none; stroke: var(--accent); opacity: .5; transform-box: fill-box; transform-origin: center; animation: a8-breathe 3.6s ease-in-out infinite; }
.js .a8-diagram .d-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .a8-diagram.is-in .d-draw { animation: a8-draw 1.6s var(--ease-io) both; animation-delay: calc(var(--d, 0) * 120ms + 200ms); }
.js .a8-diagram:not(.is-in) .d-pop { opacity: 0; }
.js .a8-diagram.is-in .d-pop { animation: a8-fade .6s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 500ms); }
.js .a8-diagram[data-rv].is-in { animation: none; }
.js .a8-diagram[data-rv]:not(.is-in) { opacity: 1; }
.sig__dot { fill: var(--accent-fill); filter: drop-shadow(0 0 4px var(--accent-fill)); }
.a8-hero__aside { max-width: 52ch; }
@media (max-width: 960px) { .a8-diagram { justify-self: start; max-width: 360px; } }

/* ---------- Cards v2: lift, pointer spotlight, illuminated border ---------- */
.a8-card, .a8-area, .a8-model, .a8-principle, .a8-industry, .a8-contact__panel { --mx: -999px; --my: -999px; }
.a8-card, .a8-area, .a8-model, .a8-contact__panel { position: relative; background-image: radial-gradient(380px circle at var(--mx) var(--my), var(--accent-glow), transparent 65%); }
.a8-card { transition: border-color .3s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.a8-card::after, .a8-area::after, .a8-model::after, .a8-contact__panel::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(220px circle at var(--mx) var(--my), var(--accent-fill), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s var(--ease); }
.a8-card:hover::after, .a8-area:hover::after, .a8-model:hover::after, .a8-contact__panel:hover::after { opacity: 1; }
.a8 .a8-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-raise); }
.a8-card:focus-within { border-color: var(--line-strong); }
.a8-area { transition: border-color .3s var(--ease), transform .35s var(--ease); }
.a8-area:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.a8-principle { background-image: radial-gradient(360px circle at var(--mx) var(--my), var(--accent-glow), transparent 65%); }
.a8-industry { position: relative; background-image: radial-gradient(420px circle at var(--mx) var(--my), var(--accent-glow), transparent 65%); }
.a8-industry::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent-fill); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.a8-industry:hover::after { transform: scaleX(1); }
.a8-industry h3 { transition: translate .3s var(--ease); }
.a8-industry:hover h3 { translate: 6px 0; }

/* Service glyphs: minimal motion graphics */
.a8-glyph { width: 48px; height: 48px; flex: none; overflow: visible; }
.a8-glyph * { fill: none; stroke: var(--line-strong); stroke-width: 1.25; vector-effect: non-scaling-stroke; transition: stroke .35s var(--ease), fill .35s var(--ease), transform .5s var(--ease), stroke-dashoffset .9s var(--ease-io), opacity .35s; transform-box: view-box; transform-origin: 24px 24px; }
.a8-glyph .ac { stroke: var(--accent); }
.a8-glyph .fill { fill: var(--accent-fill); stroke: none; }
.a8-glyph .draw { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: 0; }
.js [data-rv].is-in .a8-glyph .draw { animation: a8-draw 1.4s var(--ease-io) .5s both; }
.js .a8 .a8-card:hover .a8-glyph .draw, .js .a8 .a8-svc:hover .a8-glyph .draw, .a8-card:hover .a8-glyph .draw { animation: a8-draw 1s var(--ease-io) both; }
.a8-card:hover .a8-glyph .spin { animation: a8-spin 3.2s linear infinite; }
.a8-glyph .ring2 { transform: scale(.9); }
.a8-card:hover .a8-glyph .ring2 { transform: scale(1.08); stroke: var(--accent); }
.a8-glyph .l1, .a8-glyph .l3 { transition: transform .5s var(--ease), stroke .35s; }
.a8-card:hover .a8-glyph .l1, .a8-svc:hover .a8-glyph .l1 { transform: translateY(-5px); stroke: var(--accent); }
.a8-card:hover .a8-glyph .l3, .a8-svc:hover .a8-glyph .l3 { transform: translateY(5px); }
.a8-glyph .n { fill: var(--surface-raised); }
.a8-card:hover .a8-glyph .n { fill: var(--accent-fill); stroke: var(--accent-fill); }
.a8-card:hover .a8-glyph .n:nth-of-type(2) { transition-delay: .15s; }
.a8-card:hover .a8-glyph .n:nth-of-type(3) { transition-delay: .3s; }
.a8-card:hover .a8-glyph .n:nth-of-type(4) { transition-delay: .45s; }
.a8-glyph .rot { transform: rotate(-90deg); }
@keyframes a8-spin { to { transform: rotate(360deg); } }
.a8-service .a8-card__top { align-items: flex-start; }
.a8-service .a8-card__meta { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.a8-svc__glyph { margin-bottom: var(--space-2); }

/* ---------- Process pathway v2 ---------- */
.a8-process { --p: 1; position: relative; display: block; }
.a8-process__track { position: absolute; left: 12px; width: 75%; top: 11px; height: 2px; background: var(--line); border-radius: 2px; pointer-events: none; }
.a8-process__fill { position: absolute; inset: 0; background: var(--accent-fill); transform: scaleX(var(--p)); transform-origin: left; border-radius: 2px; }
.a8-process__fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); background-size: 30% 100%; background-repeat: no-repeat; animation: a8-sweep 2.4s linear infinite; }
@keyframes a8-sweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.a8-process__head { position: absolute; top: -4px; left: calc(var(--p) * 100% - 5px); width: 10px; height: 10px; border-radius: var(--radius-full); background: var(--accent-fill); box-shadow: 0 0 0 5px var(--accent-glow), 0 0 14px var(--accent-fill); opacity: calc(min(1, var(--p) * 20) * (1 - max(0, var(--p) * 40 - 39))); }
.a8-process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a8-step__rail::before { display: none; }
.a8-step__node { transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .3s var(--ease); z-index: 1; }
.a8-step__node::after { transition: transform .4s var(--ease); }
.a8-step__node::before { content: ""; position: absolute; inset: -1px; border-radius: var(--radius-full); border: 1px solid var(--accent); opacity: 0; }
.a8-step.is-lit .a8-step__node { box-shadow: 0 0 0 6px var(--accent-glow); }
.a8-step.is-lit .a8-step__node::before { animation: a8-ping 1.2s var(--ease) both; }
@keyframes a8-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.a8-step:hover .a8-step__node { transform: scale(1.12); }
.a8-step h3, .a8-step .caption { transition: color .4s var(--ease); }
.a8-step .a8-checklist li { transition: opacity .45s var(--ease), translate .45s var(--ease); transition-delay: calc(var(--j, 0) * 70ms + 150ms); }
.js .a8-step:not(.is-lit) .a8-step__node { border-color: var(--line-strong); }
.js .a8-step:not(.is-lit) .a8-step__node::after { transform: scale(0); }
.js .a8-step:not(.is-lit) h3, .js .a8-step:not(.is-lit) .caption { color: var(--ink-muted); }
.js .a8-step:not(.is-lit) .a8-checklist li { opacity: 0; translate: 0 8px; }
.a8-step__phase { display: block; margin-top: var(--space-4); height: 2px; background: var(--line); position: relative; overflow: hidden; }
@media (max-width: 960px) {
  .a8-process__track { display: none; }
  .a8-process__steps { grid-template-columns: 1fr; }
  .a8-step__rail::before { display: block; background: var(--line) !important; }
  .a8-step__rail::after { content: ""; position: absolute; left: 10.5px; top: 24px; bottom: calc(-1 * var(--space-7)); width: 2px; background: var(--accent-fill); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
  .a8-step.is-lit + .a8-step.is-lit .a8-step__rail::after { transform: scaleY(1); }
  .a8-step:last-child .a8-step__rail::after { display: none; }
}
@media (max-width: 960px) {
  .a8-step.is-lit:has(+ .a8-step.is-lit) .a8-step__rail::after { transform: scaleY(1); }
}

/* ---------- CTA band flow ---------- */
.a8-cta__flow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.a8-cta__flow svg { width: 100%; height: 100%; }
.a8-cta__flow .d-ln { fill: none; stroke: var(--line-strong); stroke-width: 1; opacity: .35; }
.a8-cta__flow .flow { fill: none; stroke: none; }
.a8-cta .a8-container { position: relative; z-index: 1; }

/* ---------- Insight art + misc ---------- */
.a8-insight__art svg { transition: transform .8s var(--ease); }
.a8-insight:hover .a8-insight__art svg { transform: scale(1.04); }
.a8-insight__art .ac { stroke-dasharray: 1; stroke-dashoffset: 0; }
.a8-insight:hover .a8-insight__art .ac { animation: a8-draw 1.2s var(--ease-io) both; }
.a8-chip { transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), scale .15s var(--ease); }
.a8-chip:active { scale: .97; }
[data-topic-card] { animation: a8-fade .4s var(--ease); }
.a8-input, .a8-select, .a8-textarea { transition: border-color .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease); }
.a8-input:focus, .a8-select:focus, .a8-textarea:focus { box-shadow: 0 0 0 1px var(--focus), 0 0 0 5px var(--accent-glow); }
.a8-success { animation: a8-in .5s var(--ease) both; }
.a8-footer li a { transition: color .2s var(--ease), translate .2s var(--ease); }
.a8-footer li a:hover { translate: 3px 0; }
.a8-subnav a { position: relative; }

.a8-form-error { display: none; grid-column: 1 / -1; gap: var(--space-2); align-items: flex-start; padding: var(--space-4); border: 1px solid var(--danger); border-radius: var(--radius-sm); color: var(--danger); font-size: 14px; line-height: 22px; }
.a8-form-error svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.a8-form-error a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.a8-form.is-error .a8-form-error { display: flex; animation: a8-in .4s var(--ease) both; }
.a8-form.is-sent .a8-form-error { display: none; }
.a8-btn[aria-busy="true"] { opacity: .75; cursor: progress; }


/* Link-buttons: beat the generic `.a8 a { color: inherit }` so labels keep their token colours */
.a8 a.a8-btn--primary, .a8 a.a8-btn--primary:hover { color: var(--btn-primary-ink); }
.a8 a.a8-btn--secondary { color: var(--ink); }


/* Home headline: fluid size so "real business impact." always keeps to one line (needs ~9.2x the font size) */
.a8 .a8-hero__grid--home .display-xl { font-size: clamp(52px, 5.4vw, 72px); line-height: 1.05; max-width: 9.6em; }
@media (max-width: 1024px) { .a8 .a8-hero__grid--home .display-xl { font-size: 52px; } }
@media (max-width: 640px) { .a8 .a8-hero__grid--home .display-xl { font-size: clamp(32px, 9.6vw, 40px); } }

/* ---------- Reduced motion: settle to final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .a8 *, .a8 *::before, .a8 *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-rv]:not(.is-in) { opacity: 1; }
  .js .a8-words .w > span { translate: 0 0 !important; }
  .js .a8-rule[data-rv] { transform: none !important; }
  .js .a8-diagram .d-draw { stroke-dashoffset: 0; }
  .js .a8-diagram .d-pop { opacity: 1; }
  .a8-process__head, .a8-scroll-cue { display: none; }
}
