/* =========================================================
   DNEPC Technologies | styles
   Light, neutral base with lavender mid-tone bands and indigo depth bands.
   Self-hosted Source Sans Pro (OFL). No third-party requests.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --indigo: #0b2f8f;
  --indigo-deep: #072574;
  --indigo-ink: #051e60;
  --violet: #8b9dc3;        /* slate-blue tint: offset shadows, rules (decoration) */
  --violet-dark: #4a6290;   /* carries white text (6.1:1) */
  --violet-text: #4a5f8a;   /* small slate-blue text on light (5.4-5.9:1) */
  --lavender: #e9edf5;
  --lav-2: #f0f3f8;
  --paper: #f6f7f8;
  --card: #ffffff;
  --text: #1b2333;
  --muted: #5d6573;         /* on paper/card: 5.5-5.8:1 */
  --muted-lav: #4f5766;     /* on light-gray band: 6.3:1 */
  --border: #dde0e5;
  --on-indigo: #ffffff;
  --on-indigo-muted: #c8d0e0;  /* 7.5:1 on navy */
  --accent: #7a6440;           /* focus rings, link hover (bronze-text) */
  --bronze: #a88a5c;           /* attention accent: decoration only (3.0:1 non-text) */
  --bronze-text: #7a6440;      /* bronze for text/links: 5.3:1 paper, 4.8:1 bands */
  --teal-gray: #6f9aa0;        /* receding support accent (decoration) */

  --sans: "Source Sans Pro", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(27, 35, 51, .05), 0 18px 40px -22px rgba(7, 37, 116, .28);
  --shadow-lg: 0 2px 6px rgba(27, 35, 51, .06), 0 40px 70px -30px rgba(7, 37, 116, .38);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; color: var(--text);
  background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--indigo); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, dl, dd { margin: 0; }
::selection { background: var(--lavender); color: var(--indigo-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.band-indigo :focus-visible { outline-color: #fff; }

.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: 1rem; top: -100px; z-index: 100; background: var(--indigo); color: #fff; padding: .7rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 2.5rem); }
.accent {
  color: var(--indigo);
  background: linear-gradient(100deg, var(--indigo) 10%, var(--indigo) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: .9rem 1.45rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad); border-radius: 12px; border: 1.5px solid transparent;
  font: 600 1.05rem/1.1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn-sm { --pad: .6rem 1rem; font-size: .98rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 5px 5px 0 rgba(139, 157, 195, .35); }
.btn-primary:hover { background: var(--indigo-deep); transform: translate(-1px, -1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 7px 7px 0 rgba(139, 157, 195, .4); }
.btn-ghost, .btn-outline { color: var(--indigo); border-color: rgba(11, 47, 143, .35); background: transparent; }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--indigo); background: var(--indigo); color: #fff; }
.btn-light { background: #fff; color: var(--indigo); box-shadow: 5px 5px 0 rgba(139, 157, 195, .55); }
.btn-light:hover { transform: translate(-1px, -1px); box-shadow: 7px 7px 0 rgba(139, 157, 195, .6); }
.btn-arrow { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.text-link { display: inline-flex; gap: .35rem; font-weight: 600; color: var(--indigo); text-decoration: none; border-bottom: 1.5px solid rgba(11, 47, 143, .3); padding-bottom: 1px; transition: border-color .2s; }
.text-link:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background-color .35s, box-shadow .35s; }
.site-header.is-scrolled { background: rgba(246, 247, 248, .92); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); box-shadow: 0 1px 0 var(--border), 0 12px 30px -24px rgba(7, 37, 116, .4); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 41px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav ul a { position: relative; text-decoration: none; font-size: 1.05rem; font-weight: 600; color: var(--muted); padding: .35rem 0; transition: color .2s; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav ul a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav ul a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(233, 237, 245, .95) 0%, rgba(233, 237, 245, 0) 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--lav-2) 100%);
}
.hero-tiles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tile { position: absolute; border-radius: 22%; background: var(--lavender); box-shadow: 14px 14px 0 rgba(233, 237, 245, .55); transform: rotate(-12deg); }
.tile.t1 { width: 210px; height: 210px; right: 6%; top: 56px; opacity: .55; }
.tile.t2 { width: 150px; height: 150px; right: 30%; bottom: -40px; opacity: .45; }
.tile.t3 { width: 120px; height: 120px; left: -40px; top: 210px; opacity: .5; }
.tile.t4 { width: 90px; height: 90px; right: 1%; bottom: 14%; background: #dce6e7; opacity: .45; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--indigo); box-shadow: 4px 4px 0 var(--bronze); flex: none; margin-right: 4px; }
/* Avoid one-word last lines (progressive enhancement). */
h1, h2, h3, .card-sub, .pillar-def { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.heritage { margin-top: .5rem; text-wrap: balance; font-style: italic; font-size: 1.05rem; color: var(--muted); }
.hero h1, .notfound h1 { margin-top: 1.4rem; font-size: clamp(2.6rem, 5vw, 4.1rem); line-height: 1.04; letter-spacing: -.022em; }
.hero h1 .accent { display: inline; }
.hero-lede { margin-top: 1.4rem; max-width: 36rem; font-size: clamp(1.12rem, 1.5vw, 1.28rem); color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: 1rem; font-weight: 600; color: var(--text); }
.hero-assurances li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-assurances svg { width: 1.1rem; height: 1.1rem; color: var(--indigo); }

/* topology illustration */
.hero-art { position: relative; }
.topology { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(7, 37, 116, .2)); }
.topo-card { fill: var(--card); stroke: var(--border); stroke-width: 1.5; }
.topo-title { font: 700 17px var(--sans); fill: var(--text); }
.topo-sep { stroke: var(--border); stroke-width: 1.5; }
.topo-chip rect { fill: #e8f4ec; }
.topo-chip circle { fill: #2e8a52; }
.topo-chip text { font: 600 13px var(--sans); fill: #1f5c37; }
.tile-node { fill: var(--indigo); }
.tile-node.alt { fill: var(--violet-dark); }
.tile-shadow { fill: var(--violet); opacity: .38; }
.ico { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: #fff; }
.ports rect { fill: rgba(255, 255, 255, .85); }
.led { fill: #6fd39a; }
.tile-text { font: 700 14px var(--sans); fill: #fff; letter-spacing: .02em; }
.link { fill: none; stroke: #b3c7ca; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.link.vpn { stroke: var(--teal-gray); stroke-dasharray: 7 7; }
.flow { fill: none; stroke: var(--indigo); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 16; opacity: 0; }
.topo-label { font: 600 15px var(--sans); fill: var(--text); }
.topo-tag { font: 600 13px var(--sans); fill: var(--violet-text); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: currentColor; box-shadow: 3px 3px 0 var(--bronze); }
.section h2, .careful h2, .audience-title, .cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.02em; }
.section-lede { margin-top: 1rem; font-size: 1.2rem; color: var(--muted); max-width: 42rem; }

/* lavender mid-tone band */
.band-lav { background: linear-gradient(180deg, var(--lavender) 0%, #e8eaed 100%); }
.band-lav .section-lede, .band-lav p { color: var(--muted-lav); }
.band-lav .kicker { color: var(--indigo); }

/* ---------- Audience ---------- */
.audience { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.audience-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.audience-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.audience-grid li { padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 16px 30px -24px rgba(7, 37, 116, .45); }
.audience-grid h3 { margin-top: 1rem; font-size: 1.3rem; color: var(--text); }
.audience-grid p { margin-top: .4rem; font-size: 1.05rem; }
.a-icon, .s-icon, .h-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--indigo); color: #fff; box-shadow: 5px 5px 0 rgba(139, 157, 195, .45); }
.a-icon svg, .s-icon svg, .h-icon svg { width: 1.6rem; height: 1.6rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem 1.9rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.service::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--indigo), var(--bronze)); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service:hover::before { transform: scaleX(1); }
.service h3 { margin-top: 1.3rem; font-size: 1.55rem; }
.s-lede { margin-top: .35rem; font-weight: 600; color: var(--violet-text); }
.service > p:not(.s-lede) { margin-top: .9rem; color: var(--muted); font-size: 1.06rem; }
.s-list { margin: 1.25rem 0 1.6rem; display: grid; gap: .55rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.s-list li { position: relative; padding-left: 1.5rem; font-weight: 600; font-size: 1.04rem; }
.s-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2.5px; background: var(--indigo); box-shadow: 2.5px 2.5px 0 var(--bronze); }
.service .text-link { margin-top: auto; align-self: flex-start; }
.studio-note { margin-top: 1.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.15rem 1.4rem 1.15rem 1.6rem; border-radius: var(--radius); background: var(--lav-2); border: 1px solid var(--border); }
.studio-note p { color: var(--muted-lav); }
.studio-note strong { color: var(--text); }

/* ---------- Indigo depth band ---------- */
.band-indigo {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-indigo);
  background: radial-gradient(70% 60% at 90% 0%, rgba(139, 157, 195, .35), transparent 70%), linear-gradient(165deg, var(--indigo) 0%, var(--indigo-deep) 55%, var(--indigo-ink) 100%);
}
.band-indigo::after { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -90px; bottom: -110px; border-radius: 22%; transform: rotate(-12deg); background: rgba(255, 255, 255, .04); box-shadow: 22px 22px 0 rgba(255, 255, 255, .03); }
.band-indigo .kicker { color: var(--lavender); }
.band-indigo .kicker::before { box-shadow: 3px 3px 0 var(--bronze); }
.band-indigo .accent { background: linear-gradient(100deg, #fff 0%, var(--lavender) 100%); -webkit-background-clip: text; background-clip: text; }
.band-indigo .section-lede, .band-indigo p { color: var(--on-indigo-muted); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar { padding: 1.9rem 1.75rem 2rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.pillar h3 { margin-top: 1.15rem; font-size: 1.6rem; color: #fff; }
.pillar-def { margin-top: .35rem; font-size: 1.15rem; font-style: italic; color: var(--lavender) !important; }
.pillar-mark { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: #fff; color: var(--indigo); box-shadow: 5px 5px 0 var(--violet); font-weight: 700; font-size: 1.45rem; line-height: 1; }
.pillar-mark svg { width: 1.6rem; height: 1.6rem; }
.proofs { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: .7rem; }
.proofs li { position: relative; padding-left: 1.4rem; color: #e9ecf2; font-size: 1.05rem; }
.proofs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--lavender); box-shadow: 2px 2px 0 var(--bronze); }
.pillar-security { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(16rem, .8fr) 1.6fr; gap: 1rem 2.5rem; align-items: center; background: rgba(255, 255, 255, .09); }
.pillar-head { display: flex; align-items: center; gap: 1.1rem; }
.pillar-security h3 { margin-top: 0; }
.pillar-security .proofs { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 2.5rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.proofs-2 { grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
.ratio { margin-top: 1.2rem; display: grid; grid-template-columns: 9fr 1fr; height: 2rem; border-radius: 8px; overflow: hidden; font-size: .85rem; font-weight: 700; }
.ratio span { display: flex; align-items: center; }
.ratio-pro { padding-left: .75rem; background: var(--lavender); color: var(--indigo-ink); }
.ratio-re { justify-content: center; background: var(--violet-dark); color: #fff; }

/* ---------- Careful by default ---------- */
.careful { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.careful-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.careful-head p:not(.kicker) { margin-top: .9rem; font-size: 1.15rem; }
.careful-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; counter-reset: c; }
.careful-list li { counter-increment: c; position: relative; padding: 1.3rem 1.3rem 1.35rem 4.1rem; border-radius: 14px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .8); color: var(--muted-lav); font-size: 1.04rem; }
.careful-list li::before { content: counter(c); position: absolute; left: 1.2rem; top: 1.25rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--indigo); color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 3px 3px 0 var(--violet); }
.careful-list strong { display: block; color: var(--text); font-size: 1.12rem; margin-bottom: .15rem; }

/* ---------- How we work ---------- */
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.how-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.how-head .btn { margin-top: 2rem; }
.how-list { display: grid; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.how-list li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.25rem; padding: 1.5rem 1.6rem; border-top: 1px solid var(--border); }
.how-list li:first-child { border-top: 0; }
.how-list .h-icon { grid-row: span 2; width: 2.8rem; height: 2.8rem; box-shadow: 4px 4px 0 rgba(139, 157, 195, .45); }
.how-list .h-icon svg { width: 1.45rem; height: 1.45rem; }
.how-list h3 { font-size: 1.25rem; align-self: end; }
.how-list p { margin-top: .25rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- CTA ---------- */
.cta { padding: clamp(3.5rem, 7vw, 5rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.cta h2 { max-width: 40rem; font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: #fff; }
.cta p { margin-top: .6rem; font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--lavender); color: var(--muted-lav); padding: 3.25rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(11, 47, 143, .16); }
.footer-brand { max-width: 26rem; display: grid; gap: 1rem; }
.footer-brand img { width: 300px; height: auto; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { display: flex; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .98rem; }
.footer-legal a { color: var(--indigo); font-weight: 600; }

/* ---------- Contact page ---------- */
.contact-page {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(4rem, 8vw, 6rem);
  background: radial-gradient(55% 60% at 90% 20%, rgba(233, 237, 245, .9), rgba(233, 237, 245, 0) 70%), linear-gradient(180deg, var(--paper), var(--lav-2));
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.022em; }
.contact-next-title { margin-top: 2.2rem; font-size: 1.4rem; }
.contact-next { margin-top: 1rem; display: grid; gap: .9rem; counter-reset: n; }
.contact-next li { counter-increment: n; display: grid; grid-template-columns: 2.1rem 1fr; gap: .9rem; align-items: start; color: var(--muted); }
.contact-next li::before { content: counter(n); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 8px; background: var(--indigo); color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 3px 3px 0 var(--violet); }
.contact-note { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: 1rem; color: var(--muted); }

.contact-form { position: relative; padding: clamp(1.5rem, 3vw, 2.3rem); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form-body { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: 1rem; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text); background: #fff;
  border: 1.5px solid #c5cad3; border-radius: var(--radius-sm); padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #6f7683; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 157, 195, .28); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field textarea { resize: vertical; min-height: 8rem; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23373594' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem;
}
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b3261e; font-size: 1rem; font-weight: 600; }
.form-error:empty { display: none; }
.form-note { font-size: .95rem; color: var(--muted); text-align: center; }
.form-success { text-align: center; padding: 1.5rem .5rem; outline: none; }
.form-success h3 { font-size: 1.8rem; margin: 1rem 0 .6rem; }
.form-success p { color: var(--muted); max-width: 28rem; margin-inline: auto; }
.success-mark { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 16px; background: var(--indigo); color: #fff; box-shadow: 6px 6px 0 var(--violet); }
.success-mark svg { width: 2rem; height: 2rem; }
.field-captcha altcha-widget {
  --altcha-color-base: #fff;
  --altcha-color-border: #c5cad3;
  --altcha-color-border-focus: var(--indigo);
  --altcha-color-text: var(--text);
  --altcha-color-active: var(--indigo);
  --altcha-color-error-text: #b3261e;
  --altcha-border-radius: var(--radius-sm);
  --altcha-max-width: 100%;
  display: block; width: 100%;
}
.field-captcha .altcha { font: inherit; }
.field-captcha .altcha-checkbox input { accent-color: var(--indigo); }

/* ---------- 404 ---------- */
.notfound { position: relative; overflow: hidden; isolation: isolate; min-height: 72vh; display: grid; align-items: center; padding: calc(var(--header-h) + 4rem) 0 5rem; background: radial-gradient(60% 70% at 80% 30%, rgba(233, 237, 245, .95), rgba(233, 237, 245, 0) 70%), linear-gradient(180deg, var(--paper), var(--lav-2)); }

/* ---------- Motion (reduced-motion safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .flow { opacity: .9; animation: flow 1.6s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -18; } }
  .led { animation: blink 2.4s ease-in-out infinite; }
  @keyframes blink { 50% { opacity: .35; } }
  .hero-copy > *, .hero-art { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .2s; }
  .hero-copy > :nth-child(5) { animation-delay: .28s; }
  .hero-copy > :nth-child(6) { animation-delay: .34s; }
  .hero-art { animation-delay: .2s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: 1fr 1fr; }
  .services .service:last-child { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars .pillar:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: transparent; border: 1.5px solid var(--border); color: var(--indigo); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1.25rem 1.25rem 1.75rem; background: var(--paper); border-bottom: 1px solid var(--border);
    box-shadow: 0 100vmax 0 100vmax rgba(27, 35, 51, .35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--border); color: var(--text); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { align-self: flex-start; }
  .site-header.menu-open { background: var(--paper); }

  .hero-grid, .contact-grid, .how-grid, .careful-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; width: 100%; margin-inline: auto; }
  .how-head { position: static; }
  .pillar-security { grid-template-columns: 1fr; }
  .pillar-security .proofs { padding-left: 0; border-left: 0; padding-top: 1.15rem; border-top: 1px solid rgba(255, 255, 255, .14); }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid li { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1.1rem; }
  .audience-grid .a-icon { grid-row: span 2; }
  .audience-grid h3 { margin-top: 0; align-self: end; }
}
@media (max-width: 680px) {
  body { font-size: 1.0625rem; }
  :root { --header-h: 68px; }
  .brand img { height: 34px; }
  .services, .pillars { grid-template-columns: 1fr; }
  .proofs-2, .careful-list, .field-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .footer-legal { flex-direction: column; }
  .footer-brand img { width: 240px; height: auto; }
  .cta-inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   V3 color layer (colors only): navy = structure, bronze = attention,
   slate-blue = layering, teal-gray = supporting/receding.
   ========================================================= */
:root {
  --teal: #6f9aa0;          /* teal-gray decoration (non-text) */
  --teal-fill: #3f6870;     /* teal that carries white (6.1:1) */
  --teal-text: #3d666d;     /* teal text: 5.4:1 on teal tint */
  --teal-tint: #e7eff0;
  --teal-tint-2: #eef4f4;
  --slate: #4a6290;         /* slate-blue that carries white (6.1:1) */
  --slate-soft: #8b9dc3;    /* slate-blue decoration */
}
/* attention: kickers in bronze text with bronze marks (4.8-5.6:1) */
.kicker, .band-lav .kicker { color: var(--bronze-text); }
.kicker::before { background: var(--bronze); box-shadow: 3px 3px 0 var(--slate-soft); }
.band-indigo .kicker { color: var(--lavender); }
.band-indigo .kicker::before { background: var(--bronze); box-shadow: 3px 3px 0 rgba(255, 255, 255, .25); }
.eyebrow::before { box-shadow: 4px 4px 0 var(--bronze); }

/* bands: pale navy (audience), white (services), navy (approach), pale teal (careful), neutral (how), navy (cta), gray footer */
.audience.band-lav { background: linear-gradient(180deg, #e9edf5 0%, #f0f3f8 100%); }
.careful.band-lav { background: linear-gradient(180deg, var(--teal-tint) 0%, var(--teal-tint-2) 100%); }
.careful.band-lav p, .careful .careful-list li { color: var(--muted-lav); }
#services { background: #ffffff; }
.site-footer { background: #eceef1; }

/* audience tiles: navy / slate-blue / teal, shadows in their soft tones */
.audience-grid li:nth-child(1) .a-icon { background: var(--indigo); box-shadow: 5px 5px 0 rgba(168, 138, 92, .45); }
.audience-grid li:nth-child(2) .a-icon { background: var(--slate); box-shadow: 5px 5px 0 rgba(139, 157, 195, .5); }
.audience-grid li:nth-child(3) .a-icon { background: var(--teal-fill); box-shadow: 5px 5px 0 rgba(111, 154, 160, .45); }
.audience-grid li { box-shadow: 0 16px 30px -24px rgba(74, 98, 144, .45); }

/* services by category: network = bronze, infrastructure = slate-blue, applications = teal */
.service:nth-child(1) .s-icon { background: #7a6440; box-shadow: 5px 5px 0 rgba(168, 138, 92, .4); }
.service:nth-child(1)::before { background: linear-gradient(90deg, #7a6440, var(--bronze)); }
.service:nth-child(1) .s-list li::before { background: #7a6440; box-shadow: 2.5px 2.5px 0 rgba(168, 138, 92, .55); }
.service:nth-child(1) .s-lede { color: var(--bronze-text); }
.service:nth-child(2) .s-icon { background: var(--slate); box-shadow: 5px 5px 0 rgba(139, 157, 195, .5); }
.service:nth-child(2)::before { background: linear-gradient(90deg, var(--slate), var(--slate-soft)); }
.service:nth-child(2) .s-list li::before { background: var(--slate); box-shadow: 2.5px 2.5px 0 rgba(139, 157, 195, .6); }
.service:nth-child(2) .s-lede { color: var(--violet-text); }
.service:nth-child(3) .s-icon { background: var(--teal-fill); box-shadow: 5px 5px 0 rgba(111, 154, 160, .45); }
.service:nth-child(3)::before { background: linear-gradient(90deg, var(--teal-fill), var(--teal)); }
.service:nth-child(3) .s-list li::before { background: var(--teal-fill); box-shadow: 2.5px 2.5px 0 rgba(111, 154, 160, .55); }
.service:nth-child(3) .s-lede { color: var(--teal-text); }
.studio-note { background: var(--teal-tint-2); border-color: #d3e1e3; }

/* approach (navy band): security mark bronze-shadowed (attention), R marks teal (supporting) */
.pillar-security .pillar-mark { box-shadow: 5px 5px 0 var(--bronze); }
.pillar-mark.r { box-shadow: 5px 5px 0 var(--teal); }
.proofs li::before { background: var(--bronze); box-shadow: 2px 2px 0 rgba(255, 255, 255, .25); }
.ratio-re { background: var(--teal-fill); }

/* careful (pale teal band): numbered tiles teal, receding */
.careful-list li::before { background: var(--teal-fill); box-shadow: 3px 3px 0 rgba(111, 154, 160, .5); }

/* how we work: navy icons with alternating slate/teal offsets */
.how-list li:nth-child(odd) .h-icon { box-shadow: 4px 4px 0 rgba(139, 157, 195, .55); }
.how-list li:nth-child(even) .h-icon { background: var(--slate); box-shadow: 4px 4px 0 rgba(111, 154, 160, .5); }

/* CTA: bronze accent on the light button */
.btn-light { box-shadow: 5px 5px 0 var(--bronze); }
.btn-light:hover { box-shadow: 7px 7px 0 var(--bronze); }

/* contact page step numbers: bronze shadow cue */
.contact-next li::before { box-shadow: 3px 3px 0 var(--bronze); }
