/* Digital-systems studio. Tokens first; components below. No framework. */
:root {
  --paper: #faf9f6;
  --paper-2: #f0eef9;
  --ink: #171d38;
  --ink-2: #252b4b;
  --ink-3: #5145b5;
  --line: #dedee7;
  --line-ink: #555c7a;
  --text: #1c2441;
  --muted: #5d6173;
  --on-ink: #faf9f6;
  --on-ink-muted: #d9d4ff;
  --signal: #d9d4ff;          /* live accent on dark */
  --signal-ink: #5145b5;      /* accent as text on light, 5.9:1 */
  --st-attract: #d9d4ff; --st-convert: #d9d4ff; --st-automate: #d9d4ff; --st-operate: #d9d4ff;           /* on dark */
  --st-attract-d: #5145b5; --st-convert-d: #5145b5; --st-automate-d: #5145b5; --st-operate-d: #5145b5;   /* on light */
  --focus: #5145b5;
  --err: #b42318;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --r: 14px; --r-sm: 8px;
  --wrap: 1200px;
  --space: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, .h4 { margin: 0 0 .5em; line-height: 1.05; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7vw, 5.75rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
h4, .h4 { font-size: 1.1rem; line-height: 1.25; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--paper); color: var(--text); padding: .6rem 1rem; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: .5rem; }
.ph { background: #fff1c9; color: #5f4300; border: 1px dashed #c39320; border-radius: 4px; padding: 0 .35em; font: 500 .82em/1.5 var(--sans); letter-spacing: 0; white-space: normal; }
.ph-note { background: #fff6dc; border-left: 3px solid #c39320; padding: .85rem 1rem; color: #4f3800; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1.1 var(--sans); padding: .9rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--signal-ink); color: #fff; }
.btn-accent:hover { background: #252b4b; }
.btn-line { border-color: var(--text); color: var(--text); background: transparent; }
.btn-line-light { border-color: rgba(233,239,234,.45); color: var(--on-ink); background: transparent; }
.btn-line-light:hover { border-color: var(--on-ink); }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; color: var(--signal-ink); }
.arrow-link::after { content: ""; display: inline-block; width: .8em; height: .8em; background: currentColor; clip-path: polygon(0 43%, 70% 43%, 40% 13%, 50% 3%, 100% 50%, 50% 97%, 40% 87%, 70% 57%, 0 57%); transition: transform .2s var(--ease); }
a:hover > .arrow-link::after, .arrow-link:hover::after { transform: translateX(3px); }
.arrow-link.light { color: var(--signal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: #faf9f6; backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); color: var(--on-ink); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--on-ink); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { width: 26px; height: 26px; fill: var(--signal); color: var(--on-ink); }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li > a { display: block; padding: .55rem .8rem; text-decoration: none; color: var(--on-ink-muted); font-weight: 500; border-radius: 999px; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--on-ink); background: rgba(255,255,255,.06); }
.has-menu { position: relative; display: flex; align-items: center; }
.submenu-toggle { background: none; border: 0; color: var(--on-ink-muted); width: 28px; height: 28px; cursor: pointer; display: grid; place-items: center; border-radius: 6px; margin-left: -.35rem; }
.submenu-toggle svg { width: 12px; transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 12px); left: -1rem; width: min(900px, 92vw); display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; padding: 1.4rem; background: var(--ink-2); border: 1px solid var(--line-ink); border-radius: var(--r); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; }
.submenu.open { opacity: 1; visibility: visible; transform: none; }
.submenu-stage { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: .6rem; }
.submenu a { display: block; color: var(--on-ink); text-decoration: none; padding: .3rem 0; font-size: .95rem; }
.submenu a:hover { color: var(--signal); }
.submenu-note { color: var(--on-ink-muted); font-size: .9rem; }
.stage-attract .submenu-stage, .submenu-stage.stage-attract { color: var(--st-attract); }
.submenu-stage.stage-convert { color: var(--st-convert); }
.submenu-stage.stage-automate { color: var(--st-automate); }
.submenu-stage.stage-operate { color: var(--st-operate); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--on-ink); cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; margin: auto; content: ""; border-radius: 2px; }
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--ink); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line-ink); max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a { padding: .85rem .5rem; font-size: 1.1rem; }
  .has-menu { flex-wrap: wrap; }
  .has-menu > a { flex: 1; }
  .submenu-toggle { width: 44px; height: 44px; }
  .submenu { position: static; width: 100%; grid-template-columns: 1fr 1fr; opacity: 1; visibility: visible; transform: none; display: none; margin: .25rem 0 .75rem; }
  .submenu.open { display: grid; }
  .has-menu:hover .submenu:not(.open) { display: none; }
  .nav-cta { margin-top: .5rem; }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--on-ink); padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 80% 10%, rgba(61,220,151,.10), transparent 70%),
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: var(--signal); margin-bottom: 1.25rem; }
.hero-title { max-width: 17ch; color: #fff; }
.hero-title em, .page-hero h1 em { color: var(--signal); }
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--on-ink-muted); max-width: 56ch; margin-top: 1.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* System map */
.sysmap { margin-top: clamp(3rem, 6vw, 4.5rem); position: relative; }
.sysmap-lanes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; z-index: 1; }
.lane { --c: var(--st-automate); }
.lane-attract { --c: var(--st-attract); } .lane-convert { --c: var(--st-convert); } .lane-automate { --c: var(--st-automate); } .lane-operate { --c: var(--st-operate); }
.lane-link { display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: 1rem; background: linear-gradient(180deg, var(--ink-2), #171d38); border: 1px solid var(--line-ink); border-radius: var(--r); text-decoration: none; color: var(--on-ink); position: relative; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.lane-link:hover, .lane-link:focus-visible { border-color: var(--c); transform: translateY(-3px); box-shadow: 0 18px 40px -22px var(--c); }
.lane-link::after { content: ""; position: absolute; left: 50%; bottom: -1.75rem; width: 1px; height: 1.75rem; background: linear-gradient(var(--c), var(--line-ink)); }
.lane-label { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--c); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.lane-caption { margin-top: auto; font-size: .9rem; color: var(--on-ink-muted); }
.ui { display: block; background: #252b4b; background: color-mix(in srgb, var(--ink-3) 80%, #000); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: .7rem; font-size: .78rem; color: var(--on-ink); }
.ui small { color: var(--on-ink-muted); font-size: .72rem; display: block; }
.ui-bar { display: flex; align-items: center; gap: 4px; margin-bottom: .6rem; }
.ui-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); }
.ui-url { margin-left: .4rem; font-size: .68rem; color: var(--on-ink-muted); background: rgba(255,255,255,.06); padding: .1rem .5rem; border-radius: 999px; }
.ui-hero-line { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.16); margin-bottom: .4rem; }
.w70 { width: 70%; } .w45 { width: 45%; }
.ui-btn { display: inline-block; margin-top: .3rem; background: var(--c); color: #111; font-weight: 600; font-size: .68rem; padding: .25rem .55rem; border-radius: 999px; }
.ui-post { display: flex; gap: .55rem; align-items: center; }
.ui-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--c), #fff3); flex-shrink: 0; }
.ui-post-text b { display: block; font-weight: 600; }
.ui-form-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.ui-form-head b { font-weight: 600; }
.ui-field { display: block; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: .3rem .5rem; margin-bottom: .35rem; }
.ui-chip-row { display: flex; gap: .3rem; margin-top: .4rem; }
.ui-chip { font-size: .68rem; padding: .15rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.ui-chip.ghost { background: transparent; color: var(--on-ink-muted); border-color: rgba(255,255,255,.12); }
.ui-flow { display: grid; gap: .35rem; }
.flow-step { display: flex; align-items: center; gap: .5rem; padding: .35rem .5rem; border-radius: 6px; background: rgba(255,255,255,.04); position: relative; }
.flow-step + .flow-step::before { content: ""; position: absolute; left: 1.05rem; top: -.4rem; height: .4rem; width: 1px; background: color-mix(in srgb, var(--c) 60%, transparent); }
.flow-ico { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); }
.task { display: flex; gap: .45rem; align-items: center; padding: .2rem 0; color: var(--on-ink-muted); }
.task::before { content: ""; width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,.3); flex-shrink: 0; }
.task.done { color: var(--on-ink); }
.task.done::before { background: var(--c); border-color: var(--c); }
.ui-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: .5rem; }
.ui-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 30%, transparent)); }
.sysmap-rail { position: relative; height: 2px; margin: 1.75rem 10% 0; background: linear-gradient(90deg, var(--st-attract), var(--st-convert), var(--st-sell), var(--st-automate), var(--st-operate)); opacity: .55; border-radius: 2px; }
.rail-token { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(61,220,151,.25), 0 0 22px 4px rgba(61,220,151,.55); opacity: 0; }
.sysmap-os { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin: 1.5rem auto 0; max-width: 820px; padding: .85rem 1rem .85rem 1.25rem; border: 1px solid var(--line-ink); border-radius: 999px; background: rgba(15,31,29,.8); position: relative; }
.sysmap-os::before { content: ""; position: absolute; left: 50%; top: -1.5rem; height: 1.5rem; width: 1px; background: var(--line-ink); }
.os-name { font-weight: 600; letter-spacing: -.01em; display: inline-flex; gap: .55rem; align-items: center; }
.os-name::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(61,220,151,.18); }
.os-mods { display: flex; flex-wrap: wrap; gap: .4rem; }
.os-mods span { font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-ink); color: var(--on-ink-muted); }

/* Hero sequence: CSS-only, runs once; final state is the resting state. */
@media (prefers-reduced-motion: no-preference) {
  .sysmap .lane { animation: lane-on .7s var(--ease) both; animation-delay: calc(.35s + var(--i) * .45s); }
  .sysmap .rail-token { animation: token-run 2.1s var(--ease) .35s both; }
  .sysmap .sysmap-os { animation: lane-on .7s var(--ease) 2.2s both; }
  .os-name::before { animation: pulse 2.4s ease-in-out 2.6s 3; }
}
@keyframes lane-on { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes token-run { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(61,220,151,0); } }

/* Page hero */
.page-hero { background: var(--ink); color: var(--on-ink); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent); -webkit-mask-image: linear-gradient(to bottom, #000, transparent); }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.5rem, 6vw, 4.75rem); }

/* Sections */
.section { padding: var(--space) 0; }
.section-paper2 { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head .eyebrow { width: 100%; margin-bottom: -.25rem; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: var(--signal-ink); margin-bottom: 1rem; }
.eyebrow-light { color: var(--signal); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--muted); }
.lead.light, .section-ink .lead { color: var(--on-ink-muted); }

/* Problem scatter */
.scatter { position: relative; min-height: 360px; border-radius: var(--r); background:
  repeating-linear-gradient(90deg, transparent 0 12px, rgba(13,23,22,.06) 12px 13px); }
.scatter li { position: absolute; left: var(--x); top: var(--y); padding: .6rem 1rem; background: var(--paper); border: 1px dashed #b9b8ab; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); box-shadow: 0 8px 20px -14px rgba(0,0,0,.35); }
.scatter li:nth-child(odd) { transform: rotate(-2deg); } .scatter li:nth-child(even) { transform: rotate(1.5deg); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.pill-row li { padding: .5rem 1rem; border: 1px solid var(--line-ink); border-radius: 999px; color: var(--on-ink); font-weight: 500; }

/* Stage tabs */
.tab-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.tab { --c: var(--st-automate-d); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 1rem .25rem; text-align: left; font: 600 clamp(1.05rem, 2vw, 1.5rem)/1.1 var(--sans); letter-spacing: -.02em; color: var(--muted); cursor: pointer; display: flex; gap: .6rem; align-items: baseline; }
.tab.stage-attract { --c: var(--st-attract-d); } .tab.stage-convert { --c: var(--st-convert-d); } .tab.stage-automate { --c: var(--st-automate-d); } .tab.stage-operate { --c: var(--st-operate-d); }
.tab-num { font-size: .8rem; letter-spacing: .08em; color: var(--c); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--c); }
.tab:hover { color: var(--text); }
.tab-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: start; }
.tab-panel h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.tab-panel p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.panel-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.panel-items { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.panel-items li { padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 600; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.svc-card { grid-column: span 2; --c: var(--st-automate-d); }

.svc-card.stage-attract { --c: var(--st-attract-d); } .svc-card.stage-convert { --c: var(--st-convert-d); } .svc-card.stage-automate { --c: var(--st-automate-d); } .svc-card.stage-operate { --c: var(--st-operate-d); }
.svc-card a { display: flex; flex-direction: column; height: 100%; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.svc-card a::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); }
.svc-card a:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(0,0,0,.35); border-color: #c5c4b7; }
.svc-stage { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--c); margin-bottom: 1.5rem; }
.svc-card h3 { font-size: 1.5rem; letter-spacing: -.025em; }
.svc-card p { color: var(--muted); flex: 1; }

/* Work */
.example-note { color: var(--muted); margin-bottom: 1.5rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.work-card > a, .work-card .work-inner { display: flex; flex-direction: column; height: 100%; padding: 1.6rem; border-radius: var(--r); background: var(--ink); color: var(--on-ink); text-decoration: none; border: 1px solid var(--line-ink); }
.work-card h3 { color: #fff; font-size: 1.5rem; }
.work-sector { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--signal); font-weight: 600; margin-bottom: 1rem; }
.psr div { padding: .85rem 0; border-top: 1px solid var(--line-ink); }
.psr dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--on-ink-muted); margin-bottom: .3rem; }
.psr dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { font-size: .8rem; padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--line-ink); color: var(--on-ink); }
.chips.big li { font-size: .95rem; padding: .45rem .9rem; border-color: var(--line); color: var(--text); }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; counter-reset: t; }
.timeline li { padding-top: 1.25rem; border-top: 1px solid var(--line-ink); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
.t-num { font-size: .8rem; color: var(--signal); font-weight: 600; letter-spacing: .08em; }
.timeline h3 { margin: .5rem 0 .4rem; font-size: 1.2rem; }
.timeline p { color: var(--on-ink-muted); font-size: .95rem; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why-grid li { border-top: 2px solid var(--text); padding-top: 1.25rem; }
.why-grid p { color: var(--muted); }

/* Flow loop */
.flow-loop { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.flow-loop li { position: relative; padding: 1.2rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.flow-loop li:not(:last-child)::after { content: "→"; position: absolute; right: -.7rem; top: 50%; transform: translateY(-50%); width: 1.4rem; height: 1.4rem; display: grid; place-items: center; font-size: .8rem; background: var(--signal); color: #04150e; border-radius: 50%; z-index: 1; }
.flow-loop span { display: block; font-weight: 600; letter-spacing: -.01em; }
.flow-loop small { color: var(--signal-ink); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.flow-return { margin-top: 1.25rem; color: var(--muted); font-weight: 500; }

/* Services overview */
.stage-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem 4rem; padding: 3rem 0; border-top: 1px solid var(--line); --c: var(--st-automate-d); }
.stage-row.stage-attract { --c: var(--st-attract-d); } .stage-row.stage-convert { --c: var(--st-convert-d); } .stage-row.stage-operate { --c: var(--st-operate-d); }
.stage-tag { color: var(--c); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.stage-row h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.stage-row-head p:last-child { color: var(--muted); }
.stage-row-svcs { display: grid; gap: .6rem; align-content: start; }
.svc-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
a.svc-line:hover { border-color: var(--text); transform: translateX(3px); }
.svc-line b { display: block; font-size: 1.15rem; letter-spacing: -.015em; }
.svc-line small { color: var(--muted); font-size: .95rem; }
.svc-line.static small a { color: var(--signal-ink); }
.arrow { font-size: 1.3rem; color: var(--signal-ink); }

/* Service page */
.build-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.build-grid li { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.build-grid p { color: var(--muted); margin: 0; }
.how-list { counter-reset: h; display: grid; gap: .75rem; }
.how-list li { counter-increment: h; display: flex; gap: 1rem; align-items: baseline; padding-bottom: .75rem; border-bottom: 1px solid var(--line); font-weight: 500; }
.how-list li::before { content: counter(h, decimal-leading-zero); color: var(--signal-ink); font-weight: 600; font-size: .85rem; }
.check-list { display: grid; gap: .6rem; }
.check-list li { padding-left: 1.75rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .5rem; border-left: 2px solid var(--signal-ink); border-bottom: 2px solid var(--signal-ink); transform: rotate(-45deg); }
.connect-list li, .usecase-list li { padding: 1rem 0; border-top: 1px solid var(--line-ink); color: var(--on-ink); }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .9rem; font-size: 1.4rem; color: var(--signal-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* Process page */
.process-steps { display: grid; gap: 0; }
.process-steps li { display: grid; grid-template-columns: 5rem 1fr 16rem; gap: 2rem; padding: 2.25rem 0; border-top: 1px solid var(--line); align-items: start; }
.process-steps .t-num { color: var(--signal-ink); font-size: 1rem; }
.process-steps h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .4rem; }
.process-steps p { color: var(--muted); margin: 0; }
.p-output { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem 1rem; font-weight: 600; color: var(--text) !important; }
.p-output small { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--muted); font-weight: 600; }

/* About */
.facts { display: grid; gap: .5rem; margin-top: 1.5rem; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; padding: .6rem 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* Case study */
.case { max-width: 860px; display: grid; gap: 2.5rem; }
.case-block { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.case-quote { margin: 0; padding: 2rem; background: var(--ink); color: var(--on-ink); border-radius: var(--r); font-size: 1.3rem; }

/* Project form */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.project-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.project-form .step > legend { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 1.25rem; padding: 0; }
.project-form.is-stepped .step > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-steps { display: none; gap: .5rem; margin-bottom: 2rem; }
.is-stepped .form-steps { display: flex; }
.form-steps li { flex: 1; padding: .75rem 0; border-top: 3px solid var(--line); color: var(--muted); font-weight: 600; font-size: .95rem; }
.form-steps li.is-current { border-top-color: var(--signal-ink); color: var(--text); }
.step + .step { margin-top: 2.5rem; }
.is-stepped .step + .step { margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { margin-bottom: 1.15rem; }
.field label, .choice > legend { display: block; font-weight: 600; margin-bottom: .45rem; padding: 0; }
.choice > legend small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #a7ada4; border-radius: 10px; padding: .8rem .9rem; min-height: 50px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.choice { margin-bottom: 1.4rem !important; }
.chip-input { display: inline-flex; margin: 0 .4rem .5rem 0; cursor: pointer; position: relative; }
.chip-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-input span { padding: .6rem 1rem; border: 1.5px solid #a7ada4; border-radius: 999px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; background: #fff; min-height: 44px; display: inline-flex; align-items: center; }
.chip-input input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-input input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.req { color: var(--err); }
.field-hint { color: var(--muted); font-size: .92rem; margin: .4rem 0 0; }
.field-err { color: var(--err); font-weight: 600; font-size: .93rem; margin: .35rem 0 0; }
.field-err:empty { display: none; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.form-error-summary { border: 2px solid var(--err); border-radius: var(--r-sm); background: #fdf1f0; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.form-error-summary ul { list-style: disc; padding-left: 1.25rem; }
.form-error-summary a { color: var(--err); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.step-nav { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.consent { color: var(--muted); font-size: .95rem; }
.form-aside { position: sticky; top: 100px; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.next-list { counter-reset: n; display: grid; gap: .5rem; margin-bottom: 1rem; }
.next-list li { counter-increment: n; display: flex; gap: .6rem; }
.next-list li::before { content: counter(n); font-weight: 600; color: var(--signal-ink); }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: clamp(4rem, 8vw, 6rem) 0 2rem; }
.footer-cta { padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line-ink); margin-bottom: 3rem; }
.footer-kicker { color: var(--signal); font-weight: 600; letter-spacing: .08em; font-size: .9rem; }
.footer-big { color: #fff; font-size: clamp(2.2rem, 5.5vw, 4.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; max-width: 16ch; margin-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { color: #fff; font-weight: 600; font-size: 1.15rem; }
.footer-h { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--on-ink); margin-bottom: .9rem; font-weight: 600; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .btn-accent { color: #04150e; }
.footer-legal { margin: 3rem 0 0; font-size: .85rem; }

/* Reveal (enhancement only) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal.pre { opacity: 0; transform: translateY(18px); }
  .js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
}

/* Responsive */
@media (max-width: 1100px) {
  .sysmap-lanes { grid-template-columns: repeat(3, 1fr); }
  .lane-link::after, .sysmap-rail, .sysmap-os::before { display: none; }
  .tab-list { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .build-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-loop { grid-template-columns: repeat(3, 1fr); row-gap: 1.25rem; }
  .flow-loop li:nth-child(3)::after { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sysmap-lanes { grid-template-columns: repeat(2, 1fr); }
  .lane-link::after, .sysmap-rail, .sysmap-os::before { display: none; }
  .two-col, .tab-panel, .stage-row, .form-layout { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-card { grid-column: span 1; }
  .work-grid { grid-template-columns: 1fr; }
  .process-steps li { grid-template-columns: 3.5rem 1fr; }
  .p-output { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-aside { position: static; }
  .scatter { min-height: 0; background: none; display: flex; flex-wrap: wrap; gap: .5rem; }
  .scatter li { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .sysmap-lanes { grid-template-columns: 1fr; }
  .sysmap-os { border-radius: var(--r); }
  .tab-list { grid-template-columns: 1fr 1fr; }
  .panel-items, .related, .field-row, .footer-grid, .timeline, .why-grid, .build-grid, .flow-loop { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }

  .flow-loop li:not(:last-child)::after { content: "↓"; right: auto; left: 1rem; top: auto; bottom: -.95rem; transform: none; }
  .flow-loop li:nth-child(3)::after { display: grid; }
  .hero-ctas .btn { width: 100%; }
  .submenu { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Sell Online stage + e-commerce service page */
:root { --st-sell: #d9d4ff; --st-sell-d: #5145b5; }
.lane-sell { --c: var(--st-sell); }
.submenu-stage.stage-sell { color: var(--st-sell); }
.tab.stage-sell, .svc-card.stage-sell, .stage-row.stage-sell { --c: var(--st-sell-d); }
.dash-list { display: grid; gap: .6rem; }
.dash-list li { padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.x-list { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.x-list li { position: relative; padding-left: 1.75rem; }
.x-list li::before { content: ""; position: absolute; left: .15rem; top: .65em; width: .65rem; border-top: 2px solid var(--err); }
.compliance { font-size: .95rem; color: var(--text); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--text); border-radius: var(--r-sm); padding: 1rem 1.1rem; margin: 0; }
.auto-list { display: grid; gap: .6rem; counter-reset: a; }
.auto-list li { counter-increment: a; display: flex; gap: .9rem; align-items: baseline; padding: 1rem 1.1rem; background: var(--ink); color: var(--on-ink); border-radius: var(--r-sm); }
.auto-list li::before { content: ""; width: .5rem; height: .5rem; border: 1.5px solid currentColor; border-radius: 50%; flex: none; }
.ui-order .ui-form-head b { font-weight: 600; }
.order-line { display: flex; justify-content: space-between; padding: .25rem 0; color: var(--on-ink-muted); }
.order-line b { color: var(--on-ink); font-weight: 600; }
.ecom-needs { margin-top: -.5rem; padding: 1rem 1.1rem 0.5rem; border: 1.5px dashed #b4b9b0; border-radius: var(--r-sm); }
.ecom-needs[hidden] { display: none; }

/* Submenu anchored to the header row, right-aligned, so it never overflows the viewport. */
@media (min-width: 901px) {
  .header-row { position: relative; }
  .has-menu { position: static; }
  .submenu { left: auto; right: 0; top: calc(100% - 4px); width: min(900px, 100%); }
}


/* Editorial refinement: consistent palette, clear hierarchy, quiet motion. */
html { scroll-padding-top: 100px; }
[hidden] { display: none !important; }
.site-header { color: var(--text); border-bottom-color: var(--line); backdrop-filter: none; }
.header-row { min-height: 88px; }
.brand { color: var(--ink); gap: .65rem; }
.brand-mark { width: 38px; height: 38px; fill: var(--ink); flex: none; }
.brand-name { font-size: 1.7rem; line-height: .95; letter-spacing: -.05em; }
.brand-name span { display: block; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; margin-top: .45rem; }
.nav-list > li > a, .submenu-toggle, .nav-toggle { color: var(--text); }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.submenu-toggle { width: 40px; height: 40px; }
.submenu { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(680px, 100%); padding: 1.15rem; background: #fff; border-color: var(--line); box-shadow: 0 20px 40px -20px #1c244144; }
.submenu a { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem; border-radius: 6px; color: var(--text); }
.submenu a:hover { background: var(--paper-2); color: var(--ink); }
.hero { padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: 0; }
.hero::before, .page-hero::before { display: none; }
.hero-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-title { font-size: clamp(2.8rem, 4.65vw, 4.3rem); line-height: 1.07; max-width: 14ch; }
.hero-title em { font-family: var(--sans); font-style: normal; font-weight: 500; }
.hero-sub { font-size: 1.13rem; max-width: 44ch; line-height: 1.65; }
.hero .btn-accent, .page-hero .btn-accent, .site-footer .btn-accent { background: var(--signal); color: var(--ink); }
.hero .btn-accent:hover, .page-hero .btn-accent:hover, .site-footer .btn-accent:hover { background: #fff; color: var(--ink); }
.hero-ctas { align-items: center; gap: 1rem 1.5rem; }
.hero-text-link { color: #fff; text-decoration-thickness: 1px; text-underline-offset: .35rem; font-size: .95rem; }
.hero-text-link span { margin-left: .4rem; }
.hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .section-ink :focus-visible { outline-color: #d9d4ff; }
.connection-demo { background: #faf9f60a; border: 1px solid #676b86; padding: 1.5rem; border-radius: 20px; }
.demo-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; color: #d9d4ff; font-size: .7rem; margin-bottom: 1.5rem; }
.demo-status { font-weight: 600; letter-spacing: .02em; }
.demo-status::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #d9d4ff; border-radius: 50%; margin-right: .45rem; }
.demo-window { border-radius: 12px; overflow: hidden; background: #fff; color: var(--text); }
.demo-window-bar { display: flex; gap: 4px; align-items: center; padding: .75rem 1rem; background: #f0eef9; border-bottom: 1px solid var(--line); }
.demo-window-bar span { width: 5px; height: 5px; border-radius: 50%; background: #9294aa; }
.demo-window-bar b { margin-left: auto; font-size: .65rem; color: var(--muted); font-weight: 500; }
.demo-window-body { padding: 1.8rem; }
.demo-eyebrow { font-size: .65rem; text-transform: uppercase; letter-spacing: .13em; color: var(--signal-ink); }
.demo-window-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .65rem 0; }
.demo-window-body p { font-size: .82rem; color: var(--muted); line-height: 1.55; }
.demo-button { display: inline-flex; align-items: center; gap: 2rem; background: var(--ink); color: #fff; padding: .6rem .8rem; border-radius: 5px; font-size: .7rem; }
.demo-connector { text-align: center; line-height: 1.1; padding: .4rem 0; color: #d9d4ff; }
.demo-event { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: #fff; color: var(--text); border-radius: 9px; }
.demo-event strong { font-size: .8rem; display: block; line-height: 1.3; }
.demo-event div > span { font-size: .7rem; display: block; color: var(--muted); }
.demo-icon { display: grid; place-items: center; width: 30px; height: 30px; background: #d9d4ff; color: var(--ink); border-radius: 50%; flex: none; }
.demo-tag { margin-left: auto; color: var(--signal-ink); font-size: .6rem; font-weight: 600; }
.demo-caption { color: #d9d4ff; font-size: .67rem; margin: 1rem 0 0; }
.journey-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.7rem; margin-top: clamp(3rem, 5vw, 5rem); border-top: 1px solid #676b86; color: #d9d4ff; font-size: .85rem; }
.journey-strip span:not(:last-child)::after { content: ""; display: inline-block; width: .65em; height: .65em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; margin-left: 1rem; }
.section-intro { max-width: 42ch; color: var(--muted); margin: 0; }
.section-head h2 { max-width: 24ch; }
.entry-offers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.entry-offers > li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; }
.offer-number { display: block; font-size: .75rem; color: var(--signal-ink); font-weight: 600; margin-bottom: 2rem; }
.entry-offers h3 { font-size: 1.7rem; }
.entry-offers p { color: var(--muted); }
.entry-offers ul { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-bottom: 1.75rem; font-size: .93rem; }
.entry-offers ul li { padding: .25rem 0; }
.entry-offers .arrow-link { margin-top: auto; font-size: .95rem; }
.scope-note { color: var(--muted); font-size: .85rem; max-width: 94ch; margin: 1.5rem 0 0; }
.svc-grid { gap: 1.5rem; }
.svc-card a { padding: 1.8rem; background: #fff; }
.svc-card a::before { display: none; }
.svc-card a:hover { border-color: var(--signal-ink); box-shadow: none; transform: translateY(-2px); }
.svc-stage { margin-bottom: 1.7rem; }
.svc-card h3 { max-width: 19ch; }
.svc-card p { font-size: 1rem; }
.home-process { display: grid; gap: 1.5rem; }
.home-process li { display: flex; gap: 1.4rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.home-process li > span { font-size: .85rem; color: var(--signal-ink); font-weight: 600; }
.home-process p { margin: .5rem 0 0; color: var(--muted); }
.work-grid { gap: 1.5rem; }
.work-card .work-inner { background: #fff; color: var(--text); border-color: var(--line); padding: 1.5rem; }
.work-card h3 { color: var(--text); font-size: 1.5rem; }
.work-sector { color: var(--signal-ink); font-size: .68rem; }
.work-card p { color: var(--muted); font-size: .95rem; }
.work-card details { margin-top: auto; }
.work-card summary { cursor: pointer; color: var(--signal-ink); padding: .8rem 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.work-card .psr { margin: 0; }
.work-card .psr div { border-color: var(--line); }
.work-card .psr dt { color: var(--muted); }
.work-card .psr dd { font-size: .9rem; }
.work-card .chips li { color: var(--text); border-color: var(--line); }
.example-visual { background: #f0eef9; border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem; margin-bottom: 1.5rem; }
.example-visual-label { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; color: var(--muted); }
.example-flow { display: flex; flex-direction: column; gap: .5rem; }
.example-flow span { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: .6rem .8rem; font-size: .78rem; font-weight: 500; }
.example-flow span::after { content: ""; width: .6em; height: .6em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; color: var(--signal-ink); flex: none; }
.example-flow span:last-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.example-flow span:last-child::after { color: #d9d4ff; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-big { max-width: 23ch; font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }
.footer-grid { grid-template-columns: 1.3fr 1.1fr .8fr 1fr; gap: 2rem; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-muted { max-width: 26ch; }
.footer-kicker { letter-spacing: .01em; }
.btn { min-height: 46px; }
@media (min-width: 901px) { .submenu { width: min(680px,100%); } }
@media (max-width: 1000px) { .hero-layout { gap: 2rem; } .hero-title { font-size: 3.3rem; } .entry-offers > li { padding: 1.4rem; } }
@media (max-width: 900px) {
 .site-nav { inset-block-start: 88px; background: #fff; max-height: calc(100dvh - 88px); border-color: var(--line); }
 .submenu { grid-template-columns: 1fr; box-shadow: none; }
 .hero-layout { grid-template-columns: 1fr; }
 .hero-title { max-width: 20ch; font-size: clamp(2.75rem,7vw,4.3rem); }
 .hero-sub { max-width: 58ch; }
 .connection-demo { max-width: 540px; width: 100%; }
 .entry-offers { grid-template-columns: 1fr; }
 .entry-offers > li { padding: 1.75rem; }
 .entry-offers h3 { max-width: none; }
 .offer-number { margin-bottom: 1rem; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
 .wrap { width: min(100% - 2.5rem, var(--wrap)); }
 .brand-name { font-size: 1.5rem; }
 .brand-name span { font-size: .6rem; }
 .hero-title { font-size: clamp(2.45rem,10.3vw,3.7rem); }
 .hero-ctas { align-items: flex-start; }
 .hero-text-link { margin-top: .4rem; }
 .connection-demo { padding: 1rem; }
 .demo-window-body { padding: 1.4rem; }
 .demo-tag { display: none; }
 .journey-strip { justify-content: flex-start; gap: .6rem 1rem; font-size: .75rem; }
 .journey-strip span:not(:last-child)::after { margin-left: .6rem; }
 .footer-grid { grid-template-columns: 1fr; }
 .footer-cta .btn { width: 100%; }
}
/* Navigation remains usable if JavaScript is unavailable. */
html:not(.js) .nav-toggle, html:not(.js) .submenu-toggle { display: none; }
@media (max-width: 900px) { html:not(.js) .header-row { flex-wrap: wrap; padding-block: 1rem; } html:not(.js) .site-nav { display: flex; position: static; max-height: none; width: 100%; padding: .5rem 0; } }

/* Decorative icons use vectors rather than platform-dependent glyphs. */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; flex: none; }
.demo-icon .icon { width: 17px; height: 17px; }
.demo-connector .icon { width: 18px; height: 18px; }
.demo-button .icon { width: 13px; height: 13px; }
.hero-text-link .icon { margin-left: .4rem; }
.submenu a .icon { margin-top: .2em; }

/* Business redesign: warm white, navy and indigo. Outcome-led, quiet and legible. */
:root { --paper: #faf9f6; --paper-2: #f0eef9; --r: 18px; --space: clamp(4rem, 7.5vw, 6.5rem); }
.site-header { background: var(--paper); }
.header-row { min-height: 84px; }
.brand-mark { fill: var(--signal-ink); }
.brand-name { letter-spacing: -.055em; }
.btn { border-radius: 8px; }
.btn-accent:hover { background: #3d348b; }
.hero { background: var(--paper); color: var(--text); padding-top: clamp(3rem, 6vw, 5.5rem); }
.hero-layout { grid-template-columns: 1.12fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.hero .kicker { color: var(--signal-ink); font-size: .75rem; letter-spacing: .12em; }
.hero-title { max-width: 16ch; font-size: clamp(2.9rem, 4.7vw, 4.25rem); line-height: 1.04; color: var(--ink); letter-spacing: -.05em; }
.hero-title em { color: var(--signal-ink); }
.hero .hero-sub { color: var(--muted); font-size: 1.125rem; max-width: 45ch; }
.hero-ctas { margin-top: 1.8rem; }
.hero .btn-accent { background: var(--signal-ink); color: #fff; }
.hero .btn-accent:hover { background: #3d348b; color: #fff; }
.hero-text-link { color: var(--text); font-size: .95rem; }
.hero :focus-visible { outline-color: var(--signal-ink); }
.connection-demo { position: relative; background: var(--ink); color: #fff; padding: 2rem; border: 0; border-radius: 20px; box-shadow: 0 24px 60px -35px #171d3870; }
.demo-topline { color: #e4dfff; font-size: .75rem; margin-bottom: 2rem; }
.demo-status::before { background: #b9b0f4; }
.connection-heading { display: flex; align-items: center; gap: 1.4rem; padding-bottom: 2rem; border-bottom: 1px solid #444b67; }
.connection-wordmark { display: grid; place-items: center; width: 72px; height: 72px; background: #5145b5; border: 1px solid #8c82df; border-radius: 18px; font-weight: 600; font-size: 3.2rem; line-height: 1; flex: none; }
.connection-heading p { font-size: 1.55rem; line-height: 1.3; color: #c5c8d8; letter-spacing: -.025em; margin: 0; }
.connection-heading strong { color: #fff; font-weight: 500; }
.connection-steps { padding-top: 1.5rem; display: grid; gap: 1.4rem; }
.connection-steps li { display: flex; align-items: center; gap: 1rem; }
.connection-step-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #777b96; color: #e4dfff; font-size: .75rem; flex: none; }
.connection-steps strong { display: block; font-weight: 500; font-size: 1rem; line-height: 1.4; }
.connection-steps div > span { display: block; font-size: .84rem; color: #c5c8d8; margin-top: .2rem; }
.demo-caption { font-size: .75rem; color: #c5c8d8; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #444b67; }
.journey-strip { color: var(--muted); border-color: var(--line); font-size: .85rem; margin-top: 3.5rem; padding-block: 1.5rem; }
.journey-strip span:not(:last-child)::after { display: none; }
.outcome-section { padding-top: 5rem; }
.section-head { align-items: end; gap: 1.5rem; }
.section-head > div > .eyebrow { margin-bottom: .9rem; }
.section-head .section-intro { max-width: 39ch; }
.entry-offers { gap: 1.2rem; }
.entry-offers > li { background: transparent; padding: 2rem 1.7rem; border-color: #d5d5df; }
.entry-offers > .offer-featured { background: #efedf9; border-color: #c3bce7; }
.entry-offers h3 { font-size: clamp(1.65rem,2.3vw,2rem); line-height: 1.12; max-width: 14ch; margin-bottom: 1rem; }
.entry-offers p { font-size: 1rem; }
.entry-offers ul { border: 0; padding-top: .3rem; font-size: .92rem; }
.entry-offers ul li { padding-left: 1rem; position: relative; }
.entry-offers ul li::before { content: ''; position: absolute; left: 0; top: .9em; width: 4px; height: 4px; border-radius: 50%; background: var(--signal-ink); }
.offer-number { font-size: .7rem; letter-spacing: .035em; margin-bottom: 1.8rem; }
.scope-note { font-size: .9rem; }
.clarity-section { background: var(--ink); }
.clarity-section .two-col { align-items: center; }
.clarity-section .lead { max-width: 38ch; margin-block: 1.3rem; }
.clarity-details { border-left: 1px solid #454c67; padding-left: clamp(1.5rem,4vw,3.5rem); }
.clarity-intro { font-size: 1rem; color: #d9d4ff; }
.clarity-details ul { display: grid; gap: 1.5rem; }
.clarity-details li { display: flex; gap: 1rem; }
.clarity-details li > span { color: #beb5ff; font-size: .8rem; padding-top: .15rem; }
.clarity-details h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.clarity-details li p { color: #cbd0e2; font-size: 1rem; margin: 0; }
.clarity-details .example-note { color: #cbd0e2; font-size: .8rem; margin: 1.8rem 0 0; }
.home .svc-grid { gap: 0 2rem; }
.home .svc-card a { border: 0; border-top: 1px solid #d5d5df; border-radius: 0; background: transparent; padding: 1.7rem 0; }
.home .svc-card a:hover { transform: none; background: #f0eef9; }
.home .svc-stage { margin-bottom: 1.2rem; }
.home .svc-card h3 { font-size: 1.55rem; }
.scope-columns { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.scope-columns h3 { font-size: 1.25rem; }
.scope-list { padding-left: 1.1rem; list-style: disc; color: var(--muted); font-size: 1rem; }
.scope-list li { padding-block: .2rem; }
.enquiry-page .page-hero { padding: 2.5rem 0 1.8rem; background: var(--paper); color: var(--text); border-bottom: 1px solid var(--line); }
.enquiry-page .page-hero .kicker { color: var(--signal-ink); }
.enquiry-page .page-hero h1 { color: var(--ink); font-size: clamp(2.25rem, 4vw, 3.1rem); max-width: 28ch; }
.enquiry-page .page-hero .hero-sub { color: var(--muted); max-width: 62ch; margin-bottom: 0; }
.enquiry-page .section { padding-top: 2.5rem; }
.enquiry-page .form-aside { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.enquiry-page .form-aside a { overflow-wrap: anywhere; }
@media (max-width: 1000px) and (min-width: 901px) { .hero-title { font-size: 3.1rem; } .connection-demo { padding: 1.5rem; } }
@media (max-width: 900px) {
 .site-nav { inset-block-start: 84px; max-height: calc(100dvh - 84px); background: var(--paper); }
 .hero-layout { grid-template-columns: 1fr; }
 .hero-title { max-width: 19ch; font-size: clamp(2.7rem,7vw,4rem); }
 .connection-demo { max-width: none; }
 .connection-steps { grid-template-columns: 1fr; }
 .entry-offers { grid-template-columns: 1fr; }
 .entry-offers h3 { max-width: none; }
 .offer-number { margin-bottom: 1rem; }
 .clarity-details { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
 .header-row { min-height: 76px; }
 .site-nav { inset-block-start: 76px; max-height: calc(100dvh - 76px); }
 .hero { padding-top: 2.75rem; }
 .hero-title { font-size: clamp(2.6rem,10.3vw,3.4rem); }
 .hero .kicker { font-size: .7rem; letter-spacing: .08em; }
 .hero-ctas { gap: 1rem; }
 .hero-ctas .btn { width: 100%; }
 .connection-demo { padding: 1.5rem; }
 .connection-heading { gap: 1rem; }
 .connection-wordmark { width: 58px; height: 58px; font-size: 2.6rem; }
 .connection-heading p { font-size: 1.35rem; }
 .demo-topline { font-size: .68rem; }
 .journey-strip { margin-top: 2.5rem; font-size: .8rem; }
 .outcome-section { padding-top: 3.5rem; }
 .enquiry-page .page-hero { padding-top: 2rem; }
 .enquiry-page .form-aside { margin-top: 0; }
}
/* Long service names must not force a narrow form column wider than its grid. */
.field { min-width: 0; }
.field input, .field select, .field textarea { max-width: 100%; }
@media (min-width: 601px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
