/* ==========================================================================
   2getherwin — styles.css
   Mobile-first. System fonts only. No frameworks.
   Sections: tokens · base · layout · header/nav · buttons · hero · cards ·
             services · about/process · team · opportunities · paths ·
             contact/form · footer · legal pages · dev placeholders · motion
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --navy: #0B1E46;
  --navy-800: #102756;
  --navy-950: #071431;
  --blue: #1557FF;
  --blue-600: #0E45D8;
  --blue-400: #4D7FFF;
  --blue-300: #8FB0FF;
  --blue-100: #DCE6FF;
  --blue-50: #EEF3FF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --white: #FFFFFF;
  --text: #0B1E46;
  --text-2: #475569;
  --on-navy: #FFFFFF;
  --on-navy-2: #BAC6E0;
  --danger: #B42318;
  --success: #067647;
  --amber-50: #FFFAEB;
  --amber-500: #D97706;
  --amber-900: #7A2E0E;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 30, 70, .06);
  --shadow: 0 1px 2px rgba(11, 30, 70, .04), 0 12px 32px -12px rgba(11, 30, 70, .16);
  --shadow-lg: 0 2px 4px rgba(11, 30, 70, .04), 0 24px 48px -16px rgba(11, 30, 70, .24);

  --header-h: 68px;
  --gutter: 16px;
  --section-y: clamp(4rem, 2.75rem + 5vw, 7.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 76px; } }

/* ---------- Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
html.nav-is-open { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; color: var(--text); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue-600); }
strong { font-weight: 650; }
pre, code { font-family: var(--font-mono); }
button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--blue-300); }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--navy); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Layout ------------------------------------------------------ */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section-tint { background: var(--slate-50); border-block: 1px solid var(--slate-200); }
.section-navy { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.section-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(21, 87, 255, .35), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(21, 87, 255, .18), transparent 70%);
}
.section-navy > .container { position: relative; }

.section-head { max-width: 50rem; margin-bottom: clamp(2.25rem, 1.75rem + 2vw, 3.5rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.875rem, 1.35rem + 2.3vw, 3rem);
  font-weight: 800; letter-spacing: -.032em; line-height: 1.08;
}
.section-head .lead { margin-top: 1.1rem; }
.section-head p + p { margin-top: .9rem; }
.section-head > p:not(.eyebrow) { color: var(--text-2); }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem); color: var(--text-2); line-height: 1.6; }
.section-navy h2, .section-navy h3 { color: var(--on-navy); }
.section-navy .lead, .section-navy .section-head > p:not(.eyebrow) { color: var(--on-navy-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--blue-300); }
.eyebrow-dot { display: none; }

.noscript-note { padding: 1rem 1.25rem; border: 1px dashed var(--slate-300); border-radius: var(--radius); color: var(--text-2); }

/* ---------- Header & navigation ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would become
   the containing block for the position:fixed mobile menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); border-radius: 8px; }
.brand:hover { color: var(--navy); }
.brand-mark { width: 72px; height: auto; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.brand-name span { color: var(--blue); }
@media (min-width: 1024px) { .brand-mark { width: 84px; } .brand-name { font-size: 1.375rem; } }

.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -6px;
  background: transparent; border: 1px solid var(--slate-200); border-radius: 12px; cursor: pointer; color: var(--navy);
}
.nav-toggle .icon { width: 22px; height: 22px; grid-area: 1 / 1; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-links a {
  display: block; text-decoration: none; color: var(--navy); font-weight: 550;
  border-radius: 8px;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.is-active { color: var(--blue); }

/* Mobile panel (JS enabled) */
@media (max-width: 899.98px) {
  .js .nav-menu {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--white); border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 24px 40px -24px rgba(11, 30, 70, .35);
    padding: .5rem var(--gutter) 1.5rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .js .nav-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links li + li { border-top: 1px solid var(--slate-100); }
  .nav-links a { padding: .95rem .25rem; font-size: 1.125rem; }
  .nav-cta { width: 100%; margin-top: 1rem; }
  .nav-backdrop {
    position: fixed; inset: var(--header-h) 0 0; z-index: 90; background: rgba(11, 30, 70, .35);
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility 0s linear .2s;
  }
  .nav-is-open .nav-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }

  /* Without JS: show the links as a simple wrapping row */
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  .no-js .site-nav { width: 100%; }
  .no-js .nav-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
  .no-js .nav-links li + li { border: 0; }
  .no-js .nav-links a { padding: .35rem 0; font-size: 1rem; }
  .no-js .nav-cta { display: none; }
}
@media (min-width: 900px) {
  .nav-toggle, .nav-backdrop { display: none; }
  .nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
  .nav-links { display: flex; gap: clamp(.25rem, 1.4vw, 1.25rem); }
  .nav-links a { padding: .5rem .5rem; font-size: .975rem; position: relative; }
  .nav-links a::after {
    content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .2rem; height: 2px;
    background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
}

/* ---------- Buttons & links --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding: .7rem 1.25rem;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 650; font-size: .975rem; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { min-height: 52px; padding: .9rem 1.5rem; font-size: 1.025rem; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px -8px rgba(21, 87, 255, .65); }
.btn-primary:hover { background: var(--blue-600); color: var(--white); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--slate-300); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-50); color: var(--navy); transform: translateY(-1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; color: var(--blue);
}
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Hero -------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2.5rem + 5vw, 7rem);
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 30, 70, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 30, 70, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 25%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -18vw; top: -20vw; pointer-events: none;
  background: radial-gradient(closest-side, rgba(21, 87, 255, .12), transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.hero-copy { max-width: 40rem; container-type: inline-size; }
.hero-title {
  font-size: clamp(2.25rem, 1.45rem + 4vw, 4.25rem);
  font-size: clamp(2.25rem, 11cqi, 5rem); /* scales with the text column so each line stays on one line */
  font-weight: 850; letter-spacing: -.045em; line-height: 1.02;
}
.hero-title span { display: block; }
.hero-title .accent {
  color: var(--blue);
  background: linear-gradient(92deg, var(--blue) 10%, #3B6FFF 60%, var(--blue-600));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem); color: var(--text-2); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 479.98px) { .hero-actions .btn { width: 100%; } }
/* Compact rows in a narrow text column; three divided columns once the column is wide enough */
.hero-facts {
  display: grid; grid-template-columns: 1fr; gap: .55rem;
  margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-200);
}
.hero-facts li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; }
.hero-facts strong { font-size: 1.0625rem; font-weight: 750; letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.hero-facts span { font-size: .9rem; color: var(--text-2); }
@container (min-width: 560px) {
  .hero-facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 2.5rem; padding-top: 1.75rem; }
  .hero-facts li { flex-direction: column; flex-wrap: nowrap; gap: .1rem; padding-inline: 1.5rem; border-left: 1px solid var(--slate-200); }
  .hero-facts li:first-child { padding-left: 0; border-left: 0; }
}

.hero-visual { position: relative; width: 100%; max-width: 480px; margin-inline: auto; aspect-ratio: 520 / 480; }
.network { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network .orbit { fill: none; stroke: var(--slate-300); stroke-width: 1.2; stroke-dasharray: 3 7; }
.network .orbit-inner { stroke: rgba(21, 87, 255, .3); }
.network .edge { fill: none; stroke: url(#line); stroke-width: 1.6; opacity: .55; stroke-linejoin: round; }
.network .edge-faint { stroke: var(--slate-300); stroke-width: 1; opacity: .9; stroke-dasharray: 2 6; }
.network .spokes path { fill: none; stroke: url(#line); stroke-width: 1.4; opacity: .45; }
.network .flow path { fill: none; stroke: var(--blue); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1 26; opacity: .9; }
.network .nodes circle { fill: var(--white); stroke: var(--navy); stroke-width: 2.4; }
.network .node-dots circle { fill: var(--blue); }
.network .node-dots .alt { fill: var(--navy); }
.network .satellite { fill: var(--blue-400); opacity: .65; }
.network .hub-ring { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: .35; }
.network .hub { fill: var(--navy); }
.network .hub-text { fill: var(--white); font-family: var(--font-mono); font-size: 21px; font-weight: 700; }

.hero-chip {
  position: absolute; right: 2%; top: 3%;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow);
  font-size: clamp(.72rem, .65rem + .3vw, .85rem); font-weight: 650; color: var(--navy); white-space: nowrap;
}
.hero-chip .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(21, 87, 255, .15); }

.terminal {
  position: absolute; left: 0; bottom: 0; width: min(300px, 64%);
  background: var(--navy-950); color: #D7E1F7; border-radius: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .75rem; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.terminal-bar em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: .68rem; color: #8C9AB8; }
.terminal-body { margin: 0; padding: .8rem .95rem .95rem; font-size: clamp(.64rem, .5rem + .55vw, .8rem); line-height: 1.75; white-space: pre; overflow: hidden; }
.t-ok { color: #6EE7B7; }
.t-run { color: var(--blue-300); }
.t-mute { color: #8C9AB8; }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .hero-visual { max-width: none; }
}

/* ---------- Cards (shared) ---------------------------------------------- */
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card h3, .card h4 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 750; letter-spacing: -.02em; }
.card p { color: var(--text-2); }

.icon-tile {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100);
}
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }

.tag {
  display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--blue-50); color: var(--blue-600);
}
.tag-alt { background: var(--slate-100); color: var(--text-2); }

.ticks { display: grid; gap: .55rem; margin-top: 1.25rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .95rem; color: var(--navy); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-25%) rotate(-45deg) scale(.8);
}

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li {
  padding: .3rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--slate-100); color: var(--navy); border: 1px solid var(--slate-200);
}
.chips-lg li { padding: .45rem .95rem; font-size: .92rem; background: var(--white); }

/* ---------- Services ---------------------------------------------------- */
.service-group + .service-group { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.group-label {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem;
  margin-bottom: 1.25rem; padding-bottom: .9rem; border-bottom: 1px solid var(--slate-200);
  font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em;
}
.group-label small { font-size: .9rem; font-weight: 450; color: var(--text-2); letter-spacing: 0; }
.service-card .card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.service-card p { margin-top: .6rem; }
.card-alt { background: var(--slate-50); }
.card-alt .icon-tile { background: var(--white); color: var(--navy); border-color: var(--slate-200); }

/* ---------- About / process --------------------------------------------- */
.about-grid { display: grid; gap: 2.5rem; }
.about-grid .section-head { margin-bottom: 0; }
.principles { display: grid; gap: 1rem; }
.principle {
  display: flex; gap: 1.1rem; padding: 1.4rem;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
}
.principle h3 { font-size: 1.1rem; font-weight: 750; letter-spacing: -.015em; }
.principle p { margin-top: .35rem; color: var(--text-2); font-size: .975rem; }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
}

.process { margin-top: clamp(3rem, 2.5rem + 2.5vw, 4.5rem); }
.process-title { font-size: 1.05rem; font-weight: 750; margin-bottom: 1.5rem; letter-spacing: -.01em; }
.process-steps { display: grid; gap: 0; counter-reset: step; }
.process-steps li { position: relative; padding: 0 0 1.75rem 4rem; }
.process-steps li:last-child { padding-bottom: 0; }
.process-steps li::before {
  content: ""; position: absolute; left: 1.4rem; top: 2.8rem; bottom: .25rem; width: 2px;
  background: linear-gradient(var(--blue-100), var(--slate-200));
}
.process-steps li:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue); color: var(--blue);
  font-family: var(--font-mono); font-size: .85rem; font-weight: 700;
}
.process-steps li:last-child .step-num { background: var(--blue); color: var(--white); }
.process-steps h4 { font-size: 1.15rem; font-weight: 750; padding-top: .55rem; }
.process-steps p { margin-top: .3rem; color: var(--text-2); font-size: .95rem; }
@media (min-width: 900px) {
  .process-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
  .process-steps li { padding: 0; }
  .process-steps li::before { left: 3.4rem; right: -1.25rem; top: 1.45rem; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--blue-100), var(--slate-200)); }
  .step-num { position: relative; margin-bottom: 1rem; }
  .process-steps h4 { padding-top: 0; }
}

/* ---------- Team -------------------------------------------------------- */
.team-note { font-size: .95rem; }
/* Centred flex rows so any team size balances (7 members: 4 + 3 on wide screens) */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.team-grid > li { flex: 1 1 100%; min-width: 0; }
@media (min-width: 640px) { .team-grid { gap: 1.5rem; } .team-grid > li { flex: 0 1 calc((100% - 1.5rem) / 2); } }
@media (min-width: 1024px) { .team-grid > li { flex-basis: calc((100% - 3rem) / 3); } }
@media (min-width: 1200px) {
  .team-grid > li { flex-basis: calc((100% - 4.5rem) / 4); }
  /* Narrower 4-column cards: avatar above the name so names/roles get the full width */
  .team-grid .team-card-head { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .team-grid .avatar { width: 72px; height: 72px; border-radius: 20px; }
}
.team-card { padding: 1.5rem; }
.team-card-head { display: flex; align-items: center; gap: 1rem; }
.avatar {
  flex: none; width: 80px; height: 80px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(145deg, var(--blue-50), var(--slate-100));
  border: 1px solid var(--slate-200);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.avatar svg { width: 100%; height: 100%; }
.avatar .ph-head, .avatar .ph-body { fill: var(--slate-300); }
.avatar .ph-ring { fill: none; stroke: rgba(21, 87, 255, .18); stroke-width: 1.5; }
.team-card h3 { font-size: 1.15rem; font-weight: 750; letter-spacing: -.015em; }
.team-role { margin-top: .15rem; font-size: .925rem; font-weight: 600; color: var(--blue-600) !important; }
.team-loc { display: flex; align-items: center; gap: .3rem; margin-top: .2rem; font-size: .875rem; }
.team-loc .icon { width: 1rem; height: 1rem; }
.team-bio { margin-top: 1rem; font-size: .95rem; }
.team-card .chips { margin-top: 1rem; }
.team-links { display: flex; gap: .5rem; margin-top: auto; padding-top: 1.1rem; }
.team-links a {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--slate-200); color: var(--navy); transition: border-color .2s, color .2s, background-color .2s;
}
.team-links a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.team-links .icon { width: 20px; height: 20px; }
.team-card.is-pending p { margin-top: .2rem; font-size: .925rem; color: var(--text-2); }

/* ---------- Opportunities ----------------------------------------------- */
.opps-intro { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.opps-intro .section-head { margin-bottom: 0; }
.ecosystem {
  align-self: start; padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm);
}
.ecosystem h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.005em; }
.eco-group { margin-top: 1.1rem; }
.eco-label { margin-bottom: .5rem; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.disclaimer {
  display: flex; gap: .6rem; margin-top: 1.4rem; padding: .85rem 1rem;
  border-radius: var(--radius-sm); background: var(--slate-50); border: 1px solid var(--slate-200);
  font-size: .875rem; line-height: 1.5; color: var(--text-2);
}
.disclaimer .icon { width: 1.15rem; height: 1.15rem; margin-top: .1rem; color: var(--blue); }
@media (min-width: 1024px) { .opps-intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; align-items: center; } }

.audience-card { gap: .1rem; }
.audience-card .icon-tile { margin-bottom: 1.25rem; }
.audience-kicker { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600) !important; }
.audience-card h3 { margin-top: .3rem; }
.audience-card > p:not(.audience-kicker) { margin-top: .6rem; margin-bottom: 1.4rem; }
.audience-card .text-link { margin-top: auto; }

.commitments {
  display: grid; gap: 1.5rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--slate-200);
}
.commitments-head { display: flex; gap: 1.1rem; }
.commitments h3 { font-size: 1.2rem; font-weight: 750; }
.commitments-head p { margin-top: .35rem; color: var(--text-2); font-size: .95rem; }
.never-list { display: grid; gap: .7rem; }
.never-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; font-weight: 550; color: var(--navy); }
.never-list .icon { width: 1.25rem; height: 1.25rem; margin-top: .12rem; padding: .18rem; border-radius: 50%; background: #FEE4E2; color: var(--danger); stroke-width: 2.6; }
@media (min-width: 900px) { .commitments { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; } }

/* ---------- Two paths (navy) -------------------------------------------- */
.paths { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.path-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .14);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.path-card:hover { border-color: rgba(143, 176, 255, .55); background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.path-kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); }
.path-card h3 { margin-top: .9rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); font-weight: 800; letter-spacing: -.03em; }
.path-card > p { margin-top: .75rem; color: var(--on-navy-2); }
.path-card .ticks li { color: var(--on-navy); }
.path-card .ticks li::before { border-color: var(--blue-300); }
.path-inquiry { margin: 1.6rem 0 1.25rem !important; padding: .5rem .85rem; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: .875rem; color: var(--on-navy-2) !important; }
.path-inquiry strong { color: var(--on-navy); }
.path-card .btn { margin-top: auto; }
.paths-foot { margin-top: 2rem; text-align: center; color: var(--on-navy-2); font-size: .95rem; }
.paths-foot a { color: var(--white); font-weight: 650; }
.paths-foot a:hover { color: var(--blue-300); }

/* ---------- Contact & form ---------------------------------------------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; } }
.contact-intro .section-head { margin-bottom: 2rem; }
.contact-list { display: grid; gap: .75rem; }
.contact-item {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem;
  border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--white);
  text-decoration: none; color: var(--navy); transition: border-color .2s, box-shadow .2s, transform .2s;
  min-width: 0;
}
a.contact-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--navy); }
.contact-item .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.contact-item .icon-tile .icon { width: 20px; height: 20px; }
.contact-item-text { display: flex; flex-direction: column; min-width: 0; }
.contact-item-label { font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.contact-item-value { font-weight: 650; overflow-wrap: anywhere; }
.contact-empty { color: var(--text-2); font-size: .95rem; }

.form-card {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 1.25rem; }
.inquiry-types { margin: 0; padding: 0; border: 0; min-width: 0; }
.inquiry-types legend { padding: 0; margin-bottom: .75rem; font-weight: 700; font-size: 1rem; }
.radio-cards { display: grid; gap: .6rem; }
@media (min-width: 560px) { .radio-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-card-body {
  display: flex; flex-direction: column; gap: .1rem; height: 100%;
  padding: .8rem .95rem .8rem 2.6rem; border-radius: 14px;
  border: 1.5px solid var(--slate-200); background: var(--white);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  position: relative;
}
.radio-card-body::before {
  content: ""; position: absolute; left: .95rem; top: 1.05rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  border: 2px solid var(--slate-400); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.radio-card-body strong { font-size: .95rem; color: var(--navy); }
.radio-card-body small { font-size: .82rem; color: var(--text-2); line-height: 1.35; }
.radio-card:hover .radio-card-body { border-color: var(--blue-400); }
.radio-card input:checked + .radio-card-body { border-color: var(--blue); background: var(--blue-50); }
.radio-card input:checked + .radio-card-body::before { border-color: var(--blue); box-shadow: inset 0 0 0 3.5px var(--white); background: var(--blue); }
.radio-card input:focus-visible + .radio-card-body { outline: 3px solid var(--blue); outline-offset: 2px; }

.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-weight: 650; font-size: .95rem; }
.req { color: var(--danger); }
.optional { font-weight: 450; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem;
  border: 1.5px solid var(--slate-300); border-radius: 12px; background: var(--white);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: var(--slate-400); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 87, 255, .16); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field-hint { font-size: .85rem; color: var(--text-2); }
.field-error { font-size: .875rem; font-weight: 600; color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: .75rem; justify-items: start; }
@media (max-width: 479.98px) { .form-actions .btn { width: 100%; white-space: normal; } }
.form-mode-note, .form-privacy { font-size: .875rem; color: var(--text-2); }
.form-status:empty { display: none; }
.form-status {
  padding: 1rem 1.1rem; border-radius: 14px; font-size: .95rem;
  background: var(--slate-50); border: 1px solid var(--slate-200);
}
.form-status.is-info { background: var(--blue-50); border-color: var(--blue-100); }
.form-status.is-success { background: #ECFDF3; border-color: #ABEFC6; color: var(--success); }
.form-status.is-error { background: #FEF3F2; border-color: #FECDCA; color: var(--danger); }
.form-status strong { display: block; margin-bottom: .25rem; color: var(--navy); }
.form-status.is-error strong { color: var(--danger); }
.form-status .status-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .65rem; }
.form-status .status-actions a, .form-status .status-actions button {
  background: none; border: 0; padding: 0; font-weight: 650; color: var(--blue); text-decoration: underline; cursor: pointer;
  text-underline-offset: .2em;
}
.status-details { margin-top: .75rem; }
.status-details summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.status-details pre { margin: .5rem 0 0; padding: .75rem; border-radius: 10px; background: var(--white); border: 1px solid var(--slate-200); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; color: var(--navy); }
/* Without JavaScript the form cannot deliver anything (and a native GET submit would put
   the message in the URL), so it is hidden and the <noscript> note is shown instead. */
.no-js [data-form-wrap] { display: none; }
.form-unavailable { padding: 1.25rem; border-radius: var(--radius); background: var(--slate-50); border: 1px solid var(--slate-200); color: var(--text-2); }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { background: var(--navy-950); color: var(--on-navy-2); padding-top: clamp(3.5rem, 3rem + 2vw, 5rem); font-size: .95rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.brand-footer { color: var(--white); }
.brand-footer:hover { color: var(--white); }
.brand-footer .brand-name span { color: var(--blue-300); }
.brand-tile { display: inline-grid; place-items: center; padding: .45rem .55rem; border-radius: 12px; background: var(--white); }
.brand-tile img { width: 58px; height: auto; }
.footer-tagline { margin-top: 1.1rem; font-weight: 650; color: var(--white); }
.footer-small { margin-top: .6rem; font-size: .875rem; max-width: 26rem; }
.footer-heading { font-size: .75rem; font-family: var(--font-mono); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: var(--on-navy-2); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col .icon { width: 1.05rem; height: 1.05rem; }
.footer-col .is-placeholder-inline { color: #FCD34D; font-size: .85rem; }
.footer-bottom {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.5rem; font-size: .875rem;
}
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .12); }
.to-top { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-navy-2); text-decoration: none; }
.to-top:hover { color: var(--white); }
.to-top .icon { transform: rotate(-90deg); width: 1rem; height: 1rem; }

/* ---------- Legal / simple pages ---------------------------------------- */
.page-hero { padding-block: clamp(3rem, 2.5rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem); background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.page-hero h1 { font-size: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem); font-weight: 850; letter-spacing: -.04em; }
.page-hero p { margin-top: .9rem; color: var(--text-2); }
.prose { max-width: 46rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--section-y); }
.prose h2 { margin-top: 2.5rem; font-size: 1.4rem; font-weight: 750; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; font-size: 1.1rem; font-weight: 700; }
.prose p, .prose ul { margin-top: .9rem; color: #334155; }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; }
.prose li::marker { color: var(--blue); }
.prose .callout { padding: 1rem 1.2rem; border-left: 3px solid var(--blue); background: var(--blue-50); border-radius: 0 12px 12px 0; }
.error-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.error-page .code { font-family: var(--font-mono); color: var(--blue); font-weight: 700; letter-spacing: .14em; }
.error-page h1 { margin-top: .75rem; font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem); font-weight: 850; letter-spacing: -.04em; }
.error-page p { margin-top: .9rem; color: var(--text-2); }
.error-page .btn { margin-top: 2rem; }
.error-page img { width: 140px; margin: 0 auto 2rem; }

/* ---------- Development placeholders ------------------------------------ */
.is-placeholder { border: 2px dashed var(--amber-500) !important; background: var(--amber-50) !important; }
.ph-badge {
  display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: 6px;
  background: #FEF0C7; color: var(--amber-900); font-family: var(--font-mono);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.team-card .ph-badge { align-self: flex-start; margin-bottom: 1rem; }
.contact-item.is-placeholder .contact-item-value { font-size: .9rem; font-weight: 550; }
.ph-text { color: var(--amber-900) !important; }
.dev-banner {
  position: fixed; right: 12px; bottom: 12px; z-index: 150; max-width: calc(100vw - 24px);
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; border-radius: 10px;
  background: #FEF0C7; color: var(--amber-900); border: 1px solid #FEC84B;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600; box-shadow: var(--shadow);
  cursor: pointer;
}

/* ---------- Motion (CSS only, opt-in) ----------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* Finite on purpose: SVG stroke animations repaint every frame, so they run a few
     cycles after load and then rest on the static diagram. */
  .network .flow path { animation: flow 3.2s linear 4; }
  .network .flow path:nth-child(2) { animation-delay: -.5s; }
  .network .flow path:nth-child(3) { animation-delay: -1.1s; }
  .network .flow path:nth-child(4) { animation-delay: -1.7s; }
  .network .flow path:nth-child(5) { animation-delay: -2.3s; }
  .network .flow path:nth-child(6) { animation-delay: -2.8s; }
  .network .hub-ring { animation: pulse 4s var(--ease) 3; transform-origin: 300px 220px; }
  .hero-visual .terminal { animation: rise .8s var(--ease) .15s both; }
  .hero-visual .hero-chip { animation: rise .8s var(--ease) .3s both; }
  .terminal .t-run { animation: blink 1.6s steps(2, start) 8; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes flow { to { stroke-dashoffset: -27; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.12); opacity: .1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes blink { to { opacity: .35; } }
/* Uses the independent `translate` property so hover `transform`s still work after the reveal */
@keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: none; } }

/* Reduced motion: switch transitions/animations off entirely (content is always visible
   without them). `transition: none` rather than a tiny duration, because a near-zero
   `all` transition delays inherited visibility and breaks focus in the mobile menu. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print -------------------------------------------------------- */
@media print {
  .site-header, .hero-visual, .nav-toggle, .form-card, .dev-banner, .skip-link { display: none !important; }
  .section-navy, .site-footer { background: none; color: #000; }
  .section-navy h2, .section-navy h3, .section-navy p { color: #000; }
}
