/* Archivo variable font, self-hosted (SIL Open Font License, see assets/fonts/OFL.txt) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../assets/fonts/archivo-latin-var.woff2") format("woff2-variations"), url("../assets/fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ITOPENER — site.css
   Palette taken from the ITO logo: navy ink + signal red, on cool paper. */
:root {
  --ink: #0f1d3d;          /* headings, footer */
  --navy: #1d3a8f;         /* brand, links, primary buttons */
  --navy-dark: #152c6e;
  --signal: #d3313a;       /* logo red: status marks only */
  --paper: #f6f7f9;        /* alternate section background */
  --white: #ffffff;
  --line: #d8dde6;
  --text: #2b3445;
  --muted: #5b6678;
  --tint: #e9eefa;         /* navy tint for chips and highlights */

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;

  /* Type scale: one family (Archivo), one size per level */
  --fs-h1-hero: clamp(2.6rem, 5vw, 4rem);
  --fs-h1: clamp(2.3rem, 4.2vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-h4: 1.0625rem;
  --fs-lead: 1.15rem;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-xs: 14px;
  --fs-micro: 13px;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 4px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-stretch: 85%;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--fs-h1-hero); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.2; font-stretch: 92%; }
h4 { font-size: var(--fs-h4); font-weight: 650; font-stretch: 100%; letter-spacing: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-top: 3px solid var(--red, #d3313a);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 24px -18px rgba(15,29,61,.6);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 36px; width: auto; display: block; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.25rem; font-stretch: 85%; letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--text); text-decoration: none; font-size: var(--fs-small); font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--white); background: var(--navy); }
.nav .btn-primary:hover { background: var(--navy-dark); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 var(--fs-small)/1 var(--body); padding: 14px 20px; border-radius: var(--radius-sm);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 720px; margin-bottom: 48px; }
.section-intro p { color: var(--muted); font-size: var(--fs-lead); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 640px; }
.kicker { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--navy); margin-bottom: 10px; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 20px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--muted); }
.facts strong { color: var(--ink); font-weight: 600; }

/* The traveler: purchase-to-pay flow card */
.traveler {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(15,29,61,.35);
  overflow: hidden;
}
.traveler-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; background: var(--ink); color: #c9d3ea; font-size: var(--fs-xs); }
.traveler-head b { color: var(--white); font-weight: 600; font-size: var(--fs-xs); }
.traveler ol { list-style: none; margin: 0; padding: 8px 0; counter-reset: step; }
.traveler li {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 20px; border-bottom: 1px dashed var(--line); counter-increment: step;
}
.traveler li:last-child { border-bottom: 0; }
.traveler li::before {
  content: counter(step); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 600 var(--fs-micro)/1 var(--body);
  border: 1.5px solid var(--line); color: var(--muted); background: var(--white);
  transition: background .3s, border-color .3s, color .3s;
}
.traveler .t-name { font-weight: 600; color: var(--ink); font-size: var(--fs-small); line-height: 1.3; }
.traveler .t-obj { display: block; font-size: var(--fs-micro); color: var(--muted); font-weight: 400; }
.traveler .t-state { font-size: var(--fs-micro); color: var(--muted); white-space: nowrap; }
.traveler li.done::before { background: var(--navy); border-color: var(--navy); color: var(--white); }
.traveler .t-state { opacity: .35; transition: opacity .3s, color .3s; }
.traveler li.done .t-state { color: var(--navy); font-weight: 600; opacity: 1; }
.traveler li.active::before { border-color: var(--signal); color: var(--signal); }
.traveler-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: var(--fs-micro); color: var(--muted); background: var(--paper); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero h1 { max-width: 20ch; font-size: var(--fs-h1); }
.crumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* ---------- Service index (home) ---------- */
.svc-list { border-top: 1px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 32px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.svc-row h3 { margin: 0; }
.svc-row p { margin: 0; color: var(--muted); }
.svc-row .go { font-size: var(--fs-xs); font-weight: 600; color: var(--navy); white-space: nowrap; padding-top: 4px; }
.svc-row:hover h3 { color: var(--navy); }
.svc-row:hover .go { text-decoration: underline; }

/* ---------- Spec sheet ---------- */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.spec > div { padding: 24px 28px 24px 0; border-bottom: 1px solid var(--line); }
.spec > div:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--line); }
.spec > div:nth-child(even) { padding-left: 40px; }
.spec h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.spec p { margin: 0; color: var(--muted); font-size: var(--fs-small); }

/* ---------- Split / two audiences ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.panel.dark { background: var(--ink); border-color: var(--ink); color: #c9d3ea; }
.panel.dark h3 { color: var(--white); }
.panel.dark .ticks li::before { border-color: #8fa4d6; }
.panel p { color: inherit; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px;
  border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}

/* ---------- Process (true sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.steps > div { padding: 24px 24px 8px 0; counter-increment: s; position: relative; }
.steps > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.steps > div::before { content: counter(s); font: 700 2.4rem/1 var(--display); font-stretch: 80%; color: var(--navy); display: block; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Experience table ---------- */
.exp { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.exp th, .exp td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.exp thead th { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--ink); }
.exp td:first-child { font-weight: 600; color: var(--ink); width: 26%; }
.exp td:nth-child(2) { color: var(--muted); }
.note { font-size: var(--fs-xs); color: var(--muted); margin-top: 16px; }

/* ---------- Service detail blocks ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail h2 { font-size: var(--fs-h2); }
.detail .aside { color: var(--muted); }
.detail .aside p { margin-top: 12px; }
.callout { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--navy); background: var(--tint); color: var(--ink); font-size: var(--fs-small); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cols-2 { columns: 2; column-gap: 32px; }
.cols-2 li { break-inside: avoid; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { font-size: var(--fs-xs); font-weight: 500; text-decoration: none; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--white); }
.jump a:hover { border-color: var(--navy); color: var(--navy); }

/* P2P flow strip (Epicor page) */
.flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; counter-reset: f; }
.flow li { counter-increment: f; padding: 16px 12px 16px 0; border-top: 3px solid var(--navy); position: relative; font-size: var(--fs-xs); }
.flow li { padding-left: 0; padding-right: 16px; }
.flow li::before { content: counter(f); display: block; font: 700 1.6rem/1 var(--display); font-stretch: 80%; color: var(--navy); margin-bottom: 8px; }
.flow b { display: block; color: var(--ink); font-weight: 600; font-size: var(--fs-small); }
.flow span { color: var(--muted); font-size: var(--fs-xs); }

/* ---------- Pricing / engagement ---------- */
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.engage .panel h3 { margin-bottom: 8px; }
.engage .panel p { color: var(--muted); }
.engage .panel.dark p { color: #c9d3ea; }
.engage .btn { margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; color: var(--ink); position: relative; font-size: var(--fs-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--body); color: var(--navy); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 12px; max-width: 70ch; }

/* ---------- About ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); }
.timeline li:last-child::before { background: var(--navy); }
.timeline .yr { font: 700 1.25rem/1.2 var(--display); font-stretch: 85%; color: var(--navy); display: block; }
.timeline h4 { margin: 4px 0 4px; }
.timeline p { color: var(--muted); margin: 0; font-size: var(--fs-small); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.values h3 { font-size: var(--fs-h3); }
.values p { color: var(--muted); font-size: var(--fs-small); }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.person .mono { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); font: 700 1.05rem/1 var(--display); margin-bottom: 16px; }
.person.lead .mono { background: var(--navy); color: var(--white); }
.person h3 { margin-bottom: 2px; font-size: var(--fs-h3); }
.person .role { font-size: var(--fs-xs); font-weight: 600; color: var(--navy); margin-bottom: 12px; display: block; }
.person p { color: var(--muted); font-size: var(--fs-small); margin: 0; }

.stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stack > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); }
.stack > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.stack h4 { margin: 0; }
.stack p { margin: 0; color: var(--muted); font-size: var(--fs-small); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--tint); }
textarea { min-height: 150px; resize: vertical; }
.field .err { display: none; font-size: var(--fs-xs); color: var(--signal); margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: var(--signal); }
.field.invalid .err { display: block; }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin: 14px 0 0; }
.form-status { display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--tint); color: var(--ink); font-size: var(--fs-small); border-left: 3px solid var(--navy); }
.form-status.show { display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { display: block; font-size: var(--fs-xs); color: var(--muted); }
.contact-list .v { font-weight: 600; color: var(--ink); }
.contact-list a.v { color: var(--navy); }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-h2); margin-top: 1.8em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #dbe3f6; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: var(--white); margin: 0 0 6px; font-size: var(--fs-h2); }
.cta-band p { margin: 0; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab6cf; font-size: var(--fs-small); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: var(--fs-small); margin-bottom: 14px; font-stretch: 100%; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #d5ddef; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-brand .brand { color: var(--white); margin-bottom: 14px; }
.foot-brand .brand img { height: 34px; }
.foot-brand p { max-width: 34ch; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-xs); }
.disclaimer { margin-top: 16px; font-size: var(--fs-micro); color: #8391ad; max-width: 90ch; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engage { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .stack { grid-template-columns: 1fr; }
  .stack > div:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .spec { grid-template-columns: 1fr; }
  .spec > div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .spec > div:nth-child(even) { padding-left: 0; }
  .split, .detail, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .cols-2 { columns: 1; }
  .exp td:first-child { width: 38%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .team, .values, .foot-grid, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps > div + div { padding-left: 0; border-left: 0; }
  .flow { grid-template-columns: 1fr 1fr; }
  .stack > div { grid-template-columns: 1fr; gap: 4px; }
  .traveler .t-state { display: none; }
  .traveler li { grid-template-columns: 34px 1fr; }
  .exp thead { display: none; }
  .exp tr { display: block; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .exp td { display: block; border: 0; padding: 2px 0; width: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Portfolio ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pf-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.pf-hero h1 { margin-bottom: 8px; }
.pf-title { font-size: var(--fs-h3); font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.pf-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.pf-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.pf-facts div:nth-child(odd) { padding-right: 16px; }
.pf-facts dt { font-size: var(--fs-xs); color: var(--muted); }
.pf-facts dd { margin: 2px 0 0; font: 700 2rem/1.1 var(--display); font-stretch: 80%; color: var(--ink); }

.sk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 16px; }
.sk-tools input { max-width: 460px; flex: 1 1 280px; }
.sk-result { margin: 0; font-size: var(--fs-small); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font: 500 var(--fs-xs)/1 var(--body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.sk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--ink); }
.sk-group { padding: 24px 0 20px; border-bottom: 1px solid var(--line); }
.sk-group[hidden] { display: none; }
.sk-group h3 { font-size: var(--fs-h3); margin-bottom: 4px; display: flex; align-items: baseline; gap: 10px; }
.sk-count { font: 600 var(--fs-micro)/1 var(--body); color: var(--muted); }
.sk-group > p { color: var(--muted); font-size: var(--fs-small); margin-bottom: 12px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: var(--fs-xs); padding: 5px 10px; border-radius: var(--radius-sm); background: var(--tint); color: var(--ink); }
.tags li[hidden] { display: none; }
.tags li.hit { background: var(--navy); color: var(--white); }
.sk-empty { color: var(--muted); padding: 20px 0; }

.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proj { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.proj h3 { margin-bottom: 2px; }
.proj .role { font-size: var(--fs-xs); font-weight: 600; color: var(--navy); margin-bottom: 12px; display: block; }
.proj p { color: var(--muted); font-size: var(--fs-small); }
.proj .stack-line { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: var(--fs-xs); color: var(--ink); }

@media (max-width: 1000px) {
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-hero { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 860px) { .sk-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .proj-grid { grid-template-columns: 1fr; } }
.core-stack { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.core-stack span { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin-right: 4px; }
.core-stack a { font-size: var(--fs-xs); font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); color: var(--navy); }
.core-stack a:hover { border-color: var(--navy); }
.sk-group:target h3 { color: var(--navy); }
.sk-group { scroll-margin-top: 90px; }

/* ---------- Home: workflow tabs, practices ---------- */
.t-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--paper); }
.t-tabs button { flex: 1; font: 600 var(--fs-xs)/1 var(--body); padding: 14px 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.t-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); background: var(--white); }
.t-tabs button:hover { color: var(--ink); }
.t-panel[hidden] { display: none; }
.practices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.practices .panel { padding: 24px; }
.practices .panel { display: flex; flex-direction: column; }
.practices .panel .btn { margin-top: auto; align-self: flex-start; }
.practices .ticks { margin-bottom: 24px; }
.kicker-light { color: #9fb3e6; }
.panel.dark .kicker { margin-bottom: 10px; }

/* ---------- Architecture diagrams ---------- */
.figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: clamp(12px, 2vw, 24px); overflow-x: auto; }
.diagram { width: 100%; min-width: 760px; height: auto; display: block; font-family: var(--body); }
.figure figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 14px; }
.d-zone { fill: #f6f7f9; stroke: #d8dde6; }
.d-core { fill: #e9eefa; stroke: #b9c6e8; }
.d-n { fill: #ffffff; stroke: #9aa6ba; }
.d-k { fill: #1d3a8f; stroke: #1d3a8f; }
.d-t { font-size: 14px; font-weight: 600; fill: #0f1d3d; text-anchor: middle; }
.d-s { font-size: 12px; fill: #5b6678; text-anchor: middle; }
.d-tw { fill: #ffffff; } .d-sw { fill: #c9d3ea; }
.d-z { font-size: 13px; font-weight: 600; fill: #5b6678; text-anchor: middle; }
.d-a { stroke: #1d3a8f; stroke-width: 1.6; fill: none; }
@media (max-width: 1100px) { .practices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .practices { grid-template-columns: 1fr; } }
@media (max-width: 1120px) and (min-width: 861px) { .nav a { padding: 8px 8px; font-size: var(--fs-xs); } .nav .btn { margin-left: 4px; } }
.sk-group.wide { grid-column: 1 / -1; }

.req { color: var(--signal); font-weight: 700; }

/* Project examples and navigation fallbacks */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.project h3 { margin: 0; }
.project p { margin: 10px 0 18px; }
.project a { margin-top: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#form, #selected-work, #key-projects, [id^="project-"] { scroll-margin-top: 100px; }

@media (max-width: 860px) {
  .project-grid { grid-template-columns: 1fr; }
  .nav-toggle { min-height: 44px; }
  .nav.open { max-height: calc(100dvh - 72px); overflow-y: auto; }
  html:not(.nav-ready) .site-header .wrap { height: auto; flex-wrap: wrap; }
  html:not(.nav-ready) .nav-toggle { display: none; }
  html:not(.nav-ready) .nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; padding: 0 0 8px; }
  html:not(.nav-ready) .nav .btn { margin: 0; }
}

/* ---------- v11: navy header, tinted heroes, clients, WhatsApp ---------- */
.site-header .nav a { color: #d7def0; }
.site-header .nav a:hover { background: rgba(255,255,255,.08); color: #ffffff; }
.site-header .nav a[aria-current="page"] { color: #ffffff; box-shadow: inset 0 -3px 0 #d3313a; }
.site-header .nav .btn-primary, .site-header .nav .btn-primary:hover { background: #d3313a; color: #ffffff; }
.site-header .nav .btn-primary:hover { background: #b8262f; }
.site-header :focus-visible { outline-color: #ffffff; }
.nav-toggle { border-color: rgba(255,255,255,.3); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: #ffffff; }
.hero {
  background:
    radial-gradient(900px 420px at 88% 30%, rgba(29,58,143,.13), transparent 70%),
    linear-gradient(180deg, #e8edf9 0%, #f6f7f9 100%);
  border-bottom: 0;
}
.page-hero { background: linear-gradient(180deg, #e8edf9 0%, #f3f5fa 100%); border-bottom: 0; }
.clients { background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0 30px; }
.clients p { margin: 0 0 16px; font-size: var(--fs-xs); color: var(--muted); }
.client-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 22px; }
.client-list li { padding: 4px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.client-list li:nth-child(5n+1) { padding-left: 0; border-left: 0; }
.client-list li { padding: 4px 18px; }
.cl-name { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: var(--fs-h4); color: var(--ink); line-height: 1.25; }
.cl-meta { font-size: var(--fs-xs); color: var(--muted); }
.client-list img { height: 36px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: #1f8a4c; color: #ffffff; border-radius: 999px; text-decoration: none;
  font: 600 var(--fs-small)/1 var(--body); box-shadow: 0 10px 24px -10px rgba(15,29,61,.55);
}
.wa-fab:hover { background: #18723e; color: #ffffff; }
.wa-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 860px) {
  .nav { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); top: 72px; }
  .site-header .nav a { border-bottom-color: rgba(255,255,255,.12); }
  .site-header .nav a[aria-current="page"] { box-shadow: none; color: #ffffff; }
  .client-list { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .client-list li:nth-child(n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .client-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .wa-fab { padding: 12px; right: 14px; bottom: 14px; }
  .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media print { .wa-fab { display: none; } }
.cl-work { font-size: var(--fs-xs); color: var(--navy); font-weight: 500; }
.clients-note { margin: 20px 0 0 !important; font-size: var(--fs-xs) !important; }
@media (max-width: 560px) { .client-list { grid-template-columns: 1fr; } .client-list li:nth-child(n) { padding-left: 0; border-left: 0; } }

/* ---------- Company profile ---------- */
.print-cover { display: none; }
.vmv { display: grid; gap: 0; border-top: 1px solid var(--ink); align-self: start; }
.vmv > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.vmv h3 { margin: 0 0 6px; color: var(--navy); }
.vmv p { margin: 0; color: var(--muted); }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.prof-table td:nth-child(3) { color: var(--muted); }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 24px 26px; }
.case-num { margin: 0 0 6px; font-size: var(--fs-xs); font-weight: 600; color: #d3313a; }
.case h3 { margin: 0 0 6px; }
.case-client { margin: 0 0 16px; font-weight: 600; color: var(--ink); font-size: var(--fs-small); }
.case-client span { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
.case dl { margin: 0; }
.case dt { font-size: var(--fs-xs); font-weight: 600; color: var(--navy); margin-top: 12px; }
.case dd { margin: 2px 0 0; color: var(--text); font-size: var(--fs-small); line-height: 1.55; }
.foot-social a { display: inline-block; margin-top: 4px; }
@media (max-width: 1000px) { .steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps-5 > div:nth-child(4) { padding-left: 0; border-left: 0; } }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps-5 { grid-template-columns: 1fr; } .steps-5 > div { padding-left: 0 !important; border-left: 0 !important; } }

@media print {
  @page { size: A4; margin: 16mm 14mm 16mm; }
  html { font-size: 12px; }
  body { background: #fff; color: #1d2433; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .site-footer, .no-print, .skip, .wa-fab, .crumbs, .page-hero .btn-row { display: none !important; }
  .print-cover { display: block; padding: 0 0 18px; margin-bottom: 8px; border-bottom: 3px solid #d3313a; }
  .print-cover img { height: 44px; width: auto; }
  .pc-kind { margin: 18px 0 2px; font-weight: 600; color: #1d3a8f; font-size: 14px; }
  .pc-title { margin: 0; font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 26px; color: #0f1d3d; line-height: 1.15; }
  .pc-meta { margin: 8px 0 0; color: #5b6678; font-size: 12.5px; }
  .page-hero { background: none !important; padding: 14px 0 6px; }
  .page-hero h1 { display: none; }
  .section, .section.alt { padding: 12px 0; background: none !important; border: 0; }
  .wrap { max-width: none; padding: 0; }
  .section-intro { margin-bottom: 14px; }
  h2 { font-size: 21px; margin-bottom: 8px; }
  h3 { font-size: 15px; }
  .split { grid-template-columns: 1fr 1fr; gap: 24px; }
  .spec { grid-template-columns: 1fr 1fr; }
  .steps-5 { grid-template-columns: repeat(5, 1fr); }
  .steps > div::before { font-size: 22px; margin-bottom: 6px; }
  .steps > div { padding: 12px 10px 4px 0; } .steps > div + div { padding-left: 10px; }
  .exp th, .exp td { padding: 7px 10px 7px 0; }
  .cases { grid-template-columns: 1fr 1fr; gap: 12px; }
  .case { padding: 14px 16px; break-inside: avoid; box-shadow: none; }
  .case dd { font-size: 12px; line-height: 1.45; }
  .case dt { margin-top: 7px; font-size: 11.5px; }
  .contact-list li { padding: 5px 0; font-size: 12px; }
  .ticks li { margin-bottom: 4px; }
  a { color: inherit; text-decoration: none; }
  table, .steps, .vmv, .spec > div { break-inside: avoid; }
  .pb-before { break-before: page; }
  .steps-5 > div + div { padding-left: 10px !important; border-left: 1px solid var(--line) !important; }
  .ticks li { font-size: 12px; }
  .spec { grid-template-columns: 1fr 1fr 1fr !important; }
  .spec > div { padding: 10px 12px 10px 0 !important; border: 0 !important; }
  .steps-5 p { font-size: 11px; line-height: 1.4; }
  .prof-table td { font-size: 11.5px; }
  .case:nth-child(2n+1) { break-before: auto; }
  .section-intro, h2 { break-after: avoid; }
  .split > div { break-inside: avoid; }
}
@media (max-width: 1100px) and (min-width: 861px) { .client-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .client-list li:nth-child(n) { padding-left: 18px; border-left: 1px solid var(--line); } .client-list li:nth-child(3n+1) { padding-left: 0; border-left: 0; } }

/* Contact map */
.map-box { margin-top: 24px; }
.map-frame { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(0deg, rgba(29,58,143,.06) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(29,58,143,.06) 1px, transparent 1px) 0 0 / 28px 28px, #eef2fa; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 4px; }
.map-placeholder::before { content: ""; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #d3313a; box-shadow: 0 0 0 6px rgba(211,49,58,.15); margin-bottom: 14px; }
.map-title { margin: 0; font-weight: 600; color: var(--ink); font-size: var(--fs-small); }
.map-note { margin: 0 0 12px; color: var(--muted); font-size: var(--fs-xs); max-width: 34ch; }
.map-open { display: inline-block; margin-top: 10px; font-size: var(--fs-xs); font-weight: 600; }
@media print { .map-box { display: none; } }

/* ---------- Insights ---------- */
.article-head { background: linear-gradient(180deg, #e8edf9 0%, #f3f5fa 100%); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.article-wrap { max-width: 800px; }
.article-head h1 { font-size: var(--fs-h1); max-width: 22ch; margin: 10px 0 16px; }
.article-tags { margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--navy); }
.article-meta { margin: 18px 0 0; font-size: var(--fs-xs); color: var(--muted); }
.article-body { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); }
.article-body > h2 { font-size: var(--fs-h2); margin: 1.8em 0 .5em; }
.article-body > h2:first-child { margin-top: 0; }
.article-body > h3 { margin: 1.6em 0 .4em; }
.article-body > p, .article-body > ul, .article-body > ol { max-width: 70ch; }
.article-body .figure { margin: 28px 0 8px; }
.article-body .figure, .article-body .table-wrap { width: min(1000px, calc(100vw - 40px)); margin-left: 50%; transform: translateX(-50%); }
.article-body code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em; background: #eef1f6; padding: .1em .35em; border-radius: 4px; color: var(--ink); }
.stat-row { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat-row li { padding: 16px 16px 16px 0; }
.stat-row li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.stat-row b { display: block; font-family: var(--display); font-stretch: 85%; font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.stat-row span { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.rule-list { padding-left: 1.4em; }
.rule-list li { margin: 6px 0; padding-left: 4px; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.table-wrap .exp { min-width: 640px; }
.callout-warn { border-left-color: #d3313a; background: #fbf1f1; }
.article-body .callout { max-width: 70ch; font-size: var(--fs-body); }
.article-cta { margin-top: 48px; padding: 28px 30px; background: var(--ink); color: #d7def0; border-radius: var(--radius); }
.article-cta h2 { color: #ffffff; margin: 0 0 8px; font-size: var(--fs-h3); }
.article-cta p { margin: 0; }
.article-cta .btn-line { color: #ffffff; border-color: rgba(255,255,255,.6); }
.post-list { display: grid; gap: 20px; max-width: 860px; }
.post-card { padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); }
.post-card h2 { font-size: var(--fs-h3); margin: 8px 0 8px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--navy); text-decoration: underline; }
.post-card p { margin: 0; color: var(--text); }
.post-card .article-meta { margin-top: 14px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } .stat-row li:nth-child(3) { padding-left: 0; border-left: 0; } .stat-row li:nth-child(n+3) { border-top: 1px solid var(--line); } }
.article-cta .btn-primary { background: #d3313a; border-color: #d3313a; color: #ffffff; }
.article-cta .btn-primary:hover { background: #b8262f; border-color: #b8262f; }
.article-body pre { max-width: 100%; margin: 20px 0; padding: 18px 20px; background: #0f1d3d; color: #e3e9f7; border-radius: var(--radius); overflow-x: auto; font-size: 14px; line-height: 1.55; }
.article-body pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.article-body .faq { max-width: 72ch; }
.article-body .table-wrap code { font-size: .85em; }
.small-note { font-size: var(--fs-xs); color: var(--muted); margin-top: -6px; }
