/* Advanced Orchestration — site styles
   Layout: one centered 1200px column; dark blueprint-grid bands frame light content bands. */
/* Archivo (SIL Open Font License, see /assets/fonts/OFL.txt), self-hosted. Same weights and widths the site used from Google Fonts. */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wdth-wght.woff2') format('woff2');
  font-weight: 400 600;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wdth-wght.woff2') format('woff2');
  font-weight: 600 800;
  font-stretch: 125%;
  font-style: normal;
  font-display: swap;
  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;
}
:root {
  --graphite: #1D2329;
  --graphite-2: #262D34;
  --graphite-line: #4A5560;
  --ink: #1D2329;
  --body: #3E4851;
  --muted: #5B6670;
  --cloud: #F1F3F6;
  --rule: #DDE2E8;
  --white: #FFFFFF;
  --blue: #213C82;
  --blue-light: #8FA8EC;
  --blue-pale: #D3DCF5;
  --on-dark: #C9D2D8;
  --footer: #161A1E;
  --focus: #F5B83D;
  --error: #A3261F;
  --font: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem);
  --step-3: clamp(2.125rem, 1.4rem + 3.4vw, 4rem);
  --gutter: clamp(1rem, 0.5rem + 2vw, 1.5rem);
  --band: clamp(3rem, 2rem + 4vw, 4.5rem);
  --grid-dark: linear-gradient(rgba(143,168,236,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(143,168,236,0.09) 1px, transparent 1px);
  --grid-blue: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-stretch: 125%; font-weight: 700; text-transform: uppercase; line-height: 1.08; text-wrap: balance; letter-spacing: 0.005em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: 1.125rem; line-height: 1.25; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.site-header :focus-visible, .dark :focus-visible, .band-blue :focus-visible, .feature :focus-visible, .site-footer :focus-visible, .skip-link:focus-visible { outline-color: var(--focus); }
.dark .form-card :focus-visible { outline-color: var(--blue); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--blue); padding: 0.75rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.site-header { background: var(--graphite); border-bottom: 1px solid #2E363E; color: var(--white); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.875rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--white); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--white); }
.brand-name { font-stretch: 125%; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.15; }
.nav-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.875rem;
  background: transparent; color: var(--white); border: 1px solid var(--graphite-line); font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.site-nav a { color: #DCE2E8; text-decoration: none; font-size: 0.9375rem; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a:hover { color: var(--white); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--blue-light); }
.site-nav .nav-cta { background: var(--white); color: var(--blue); padding: 0 1.125rem; font-weight: 700; }
.site-nav .nav-cta:hover { background: var(--blue-pale); color: var(--blue); text-decoration: none; }

@media (max-width: 760px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-block: 0.5rem; }
  .site-nav li { border-top: 1px solid #2E363E; }
  .site-nav a { width: 100%; padding-inline: 0.25rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue-light); padding-left: 0.75rem; }
  .site-nav .nav-cta { justify-content: center; margin-top: 0.75rem; }
}

/* Bands */
.dark { background-color: var(--graphite); background-image: var(--grid-dark); background-size: 40px 40px; color: var(--white); }
.band-blue { background-color: var(--blue); background-image: var(--grid-blue); background-size: 40px 40px; color: var(--white); }
.band-cloud { background: var(--cloud); }
.band { padding-block: var(--band); }
.band-tight { padding-block: 1.75rem; }

.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.dark .eyebrow { color: var(--blue-light); }
.lede { font-size: var(--step-1); color: var(--body); max-width: 40rem; }
.dark .lede { color: var(--on-dark); }
.section-head { display: flex; flex-direction: column; gap: 0.625rem; max-width: 44rem; margin-bottom: 2rem; }
h2.eyebrow, h3.group-label { font-stretch: inherit; line-height: inherit; text-wrap: wrap; }
.group-label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.875rem; }
.stack { display: flex; flex-direction: column; gap: 1.375rem; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 0.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.75rem 1.5rem;
  font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #18306A; color: var(--white); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: var(--blue-pale); color: var(--blue); }
.btn-outline-light { color: var(--white); box-shadow: inset 0 0 0 2px var(--blue-light); }
.btn-outline-light:hover { background: rgba(143,168,236,0.15); color: var(--white); }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; padding-block: clamp(3rem, 2rem + 5vw, 5rem); }
.hero-copy { flex: 999 1 30rem; min-width: 0; display: flex; flex-direction: column; gap: 1.375rem; }
.hero-art { flex: 1 1 20rem; min-width: 0; display: flex; justify-content: center; }
.page-hero .wrap { padding-block: clamp(2.75rem, 2rem + 3vw, 4rem); display: flex; flex-direction: column; gap: 1.125rem; }
.page-hero h1 { max-width: 58rem; }
.page-hero.split .wrap { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 3rem; }
.page-hero.split .hero-copy { flex: 999 1 32rem; }
.page-hero.split .hero-art { flex: 1 1 14rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.625rem; margin: 0.5rem 0 0; padding: 0; list-style: none; font-size: 0.875rem; font-weight: 600; }
.tag-row li { padding: 0.4375rem 0.875rem; box-shadow: inset 0 0 0 1px var(--graphite-line); }
.tag-row li.is-accent { background: var(--blue); box-shadow: none; }

/* Orchestration map */
.orch-map { position: relative; width: 100%; max-width: 27.5rem; aspect-ratio: 11 / 10; margin: 0; }
.orch-map svg.orch-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orch-hub {
  position: absolute; left: 39.1%; top: 38%; width: 21.8%; aspect-ratio: 1;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(143,168,236,0.18);
}
.orch-hub svg { width: 70%; height: 70%; }
.orch-node {
  position: absolute; width: 26.4%; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  background: var(--graphite-2); box-shadow: inset 0 0 0 1px var(--graphite-line);
  font-size: clamp(0.75rem, 0.6rem + 0.5vw, 0.875rem); font-weight: 600; text-align: center; line-height: 1.1;
}
.orch-node.is-ai { background: var(--blue); box-shadow: none; font-weight: 700; }
.n1 { left: 7.3%; top: 10%; } .n2 { left: 66.4%; top: 10%; }
.n3 { left: 2.7%; top: 45%; } .n4 { left: 70.9%; top: 45%; }
.n5 { left: 7.3%; top: 80%; } .n6 { left: 66.4%; top: 80%; }
@media (prefers-reduced-motion: no-preference) {
  .orch-lines line { animation: flow 2.4s linear 2; }
  @keyframes flow { to { stroke-dashoffset: -20; } }
}

/* Proof strip */
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.25rem 3rem; }
.proof strong { display: block; font-stretch: 125%; font-size: 1.625rem; line-height: 1.2; }
.proof span { font-size: 0.9375rem; color: var(--blue-pale); }

/* Cards and grids */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.audience { display: flex; flex-direction: column; gap: 0.5rem; border-top: 3px solid var(--ink); padding-top: 1.125rem; }
.audience p, .card p { color: var(--body); }
.card { background: var(--cloud); border-top: 3px solid var(--blue); padding: 1.625rem; display: flex; flex-direction: column; gap: 0.75rem; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.card-white { background: var(--white); }
.icon { width: 32px; height: 32px; color: var(--blue); flex: none; }
.feature {
  background: var(--blue); color: var(--white); padding: 1.625rem 1.75rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem;
}
.feature .icon { width: 40px; height: 40px; color: var(--white); }
.feature-copy { flex: 999 1 24rem; min-width: 0; display: flex; flex-direction: column; gap: 0.375rem; }
.feature p { color: var(--blue-pale); }
.feature a { color: var(--white); font-weight: 600; text-decoration: none; }
.feature a:hover { text-decoration: underline; color: var(--white); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2rem 0; }
.process li { flex: 1 1 16rem; min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; padding-right: 1.5rem; }
.process .track { display: flex; align-items: center; }
.process .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-pale); flex: none; }
.process .line { flex: 1; height: 2px; background: #9DAAC2; margin-left: 10px; }
.process li:last-child .line { display: none; }
.process h3 { font-size: 0.9375rem; color: var(--blue); }
.process p { color: var(--body); }

/* CTA band */
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; padding-block: clamp(2.75rem, 2rem + 3vw, 4rem); }
.cta-copy { flex: 999 1 30rem; min-width: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.cta p { color: var(--blue-pale); max-width: 35rem; }

/* Services detail */
.service { display: flex; flex-wrap: wrap; gap: 1rem 3rem; padding-block: 2.25rem; border-bottom: 1px solid var(--rule); scroll-margin-top: 1rem; }
.service:last-child { border-bottom: 0; }
.service-head { flex: 1 1 16rem; display: flex; flex-direction: column; gap: 0.875rem; }
.service-icon { width: 56px; height: 56px; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.service-icon svg { width: 30px; height: 30px; color: var(--white); }
.service-head h2 { font-size: 1.5rem; line-height: 1.2; }
.service-body { flex: 2 1 28rem; min-width: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.service-body .pitch { font-size: var(--step-1); }
.service-body ul { margin: 0; padding-left: 1.25rem; color: var(--body); display: flex; flex-direction: column; gap: 0.375rem; }
.fit { font-size: 0.9375rem; color: var(--muted); }
.fit strong { color: var(--ink); }
.group-rule { padding-bottom: 0.5rem; border-bottom: 3px solid var(--ink); margin: 0; }

/* About */
.creds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.creds li { display: flex; align-items: center; gap: 0.875rem; background: var(--white); padding: 0.875rem 1rem; }
.creds .sq { width: 10px; height: 10px; background: var(--blue); flex: none; }
.creds span { display: block; font-size: 0.875rem; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.625rem; font-size: 0.9375rem; font-weight: 600; }
.chips li { padding: 0.5rem 0.875rem; background: var(--white); box-shadow: inset 0 0 0 1px #AEB7C1; }
.chips li.dark-chip { background: var(--ink); color: var(--white); box-shadow: none; }
.chips li.blue-chip { background: var(--blue); color: var(--white); box-shadow: none; }
.two-col { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; }
.two-col > * { flex: 1 1 20rem; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.two-col h2 { font-size: 1.625rem; }

/* Contact */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 3rem; align-items: flex-start; padding-block: clamp(2.75rem, 2rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 5rem); }
.contact-info { flex: 1 1 20rem; min-width: 0; display: flex; flex-direction: column; gap: 1.375rem; }
.contact-info p { color: var(--on-dark); }
.contact-list { margin: 0.25rem 0 0; display: flex; flex-direction: column; gap: 0.875rem; }
.contact-list div { border-top: 1px solid var(--graphite-line); padding-top: 0.75rem; }
.contact-list dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-light); }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--blue-pale); }
.form-card { flex: 1.4 1 26rem; min-width: 0; background: var(--white); color: var(--ink); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-top: 4px solid var(--blue); display: flex; flex-direction: column; gap: 1.125rem; }
.form-row { display: flex; flex-wrap: wrap; gap: 1.125rem; }
.field { flex: 1 1 12rem; min-width: 0; display: flex; flex-direction: column; gap: 0.375rem; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid #7C8792; border-radius: 0; padding: 0.75rem 0.875rem; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { font-size: 0.875rem; color: var(--error); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; }
.form-status.is-error { color: var(--error); }
.form-note { font-size: 0.875rem; color: var(--muted); }
.form-card .btn { align-self: flex-start; }

/* Prose pages */
.prose { max-width: 46rem; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: 1.375rem; margin-top: 1rem; }
.prose ul { margin: 0; padding-left: 1.25rem; }
.prose p, .prose li { color: var(--body); }

/* Footer */
.site-footer { background: var(--footer); color: var(--on-dark); font-size: 0.875rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding-block: 2.5rem; }
.site-footer .f-name { font-stretch: 125%; font-weight: 700; color: var(--white); text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .card, .feature, .form-card, .orch-node, .tag-row li, .chips li, .btn, .nav-cta { border: 1px solid CanvasText; }
}
@media print {
  .site-header, .site-footer, .cta, .hero-art { display: none; }
  .dark, .band-blue { background: none; color: #000; }
}

/* Utilities (no inline styles, so the CSP can forbid them) */
.orch-list { list-style: none; margin: 0; padding: 0; }
.flush-top { padding-top: 0; }
.pb-sm { padding-bottom: 1rem; }
.pt-sm { padding-top: 1rem; }
.mt-md { margin-top: 1.75rem; }
.note-muted { margin-top: 1.5rem; color: var(--muted); }
.tag-row a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 1.5rem; }
.tag-row a:hover { text-decoration: underline; }
.req { color: var(--error); }
.btn-outline { color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-outline:hover { background: var(--cloud); color: var(--blue); }
.form-card > .field { flex: none; }
.nav-toggle .icon { color: currentColor; width: 20px; height: 20px; }

/* Small-business page: apps-into-one-screen graphic */
.page-hero.split .hero-art.app-art { flex: 1 1 22rem; }
.app-map { width: 100%; max-width: 27.5rem; margin: 0; }
.app-map svg { display: block; width: 100%; height: auto; }
.app-map figcaption { margin-top: 0.875rem; font-size: var(--step--1); color: var(--on-dark); text-align: center; }
