/* NexusAI Enterprise Data-AI Platform diagram — v2, site language:
   graphite surfaces, hairlines, one accent colour (follows the colour theme). */
.arch-wrap { position: relative; background: var(--g0); border-radius: var(--r-l); padding: clamp(10px, 1.6vw, 26px); border: 1px solid var(--ln-d); overflow: hidden; isolation: isolate; }
.arch-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .055) 1px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 40%, transparent 90%); }
.arch-stage { position: relative; width: 100%; }
.arch { position: absolute; left: 0; top: 0; transform-origin: top left; transform: scale(var(--s, .7)); font-family: var(--f); color: var(--tx-d); }
.ad-svg { position: absolute; inset: 0; overflow: visible; }

/* ---- surfaces ---- */
.ad-face { fill: url(#ad-face); stroke: rgba(255, 255, 255, .15); stroke-width: 1.2; transition: stroke .35s; }
.ad-depth { fill: #08090c; stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.ad-rim { fill: none; stroke: var(--acc); stroke-opacity: .55; stroke-width: 1.6; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--acc) 50%, transparent)); transition: stroke-opacity .35s; }
.ad-depth-sol { fill: #08090c; stroke: color-mix(in srgb, var(--acc) 40%, transparent); stroke-width: 1.2; }
.ad-face-sol { fill: url(#ad-sol); stroke: color-mix(in srgb, var(--acc) 70%, #fff); stroke-opacity: .7; stroke-width: 1.6; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--acc) 45%, transparent)); }
.ad-ring { fill: none; stroke: rgba(255, 255, 255, .12); stroke-dasharray: 2 6; animation: dash 6s linear infinite; }
.ad-net { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.2; stroke-dasharray: 2 5; }
.ad-diamond { fill: #14161b; stroke: var(--acc-hi); stroke-width: 1.4; animation: dmd 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes dmd { 0%, 70%, 100% { fill: #14161b; } 80% { fill: var(--acc); } }
.ad-dash { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; stroke-dasharray: 3 4; }

/* ---- connectors & flows ---- */
.ad-link { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; stroke-dasharray: 3 4; }
.ad-pin { fill: var(--acc-hi); }
.ad-flow { fill: none; stroke: var(--acc-hi); stroke-opacity: .55; stroke-width: 1.6; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
.ad-head { fill: none; stroke: var(--acc-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ad-pt { fill: var(--acc-hi); filter: drop-shadow(0 0 5px var(--acc)); }
.ad-lead { stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; }
.ad-leaddot { fill: var(--g0); stroke: var(--acc-hi); stroke-width: 1.6; }
.ad-ops { fill: none; stroke: var(--acc); stroke-opacity: .55; stroke-width: 1.4; stroke-dasharray: 4 5; animation: dash 1.8s linear infinite; }
.ad-opshead { fill: none; stroke: var(--acc-hi); stroke-width: 1.6; }

/* light sweep travelling up the stack */
.ad-scan { position: absolute; left: 275px; width: 1038px; height: 140px; top: 760px; pointer-events: none; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--acc) 12%, transparent) 50%, transparent); mix-blend-mode: screen; opacity: 0; animation: scan 9s var(--ease) infinite 2.5s; border-radius: 40px; }
@keyframes scan { 0% { top: 790px; opacity: 0; } 8% { opacity: 1; } 55% { top: 120px; opacity: 1; } 65%, 100% { top: 100px; opacity: 0; } }

/* ---- title ---- */
.ad-title { position: absolute; left: 22px; top: 16px; display: grid; gap: 10px; }
.ad-brand { font: 600 58px/1 var(--f); letter-spacing: -.04em; color: #fff; }
.ad-brand b { font-weight: 400; color: var(--acc-hi); }
.ad-sub { font: 400 14px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--mu-d); }

/* ---- solution tiles ---- */
.ad-tile { position: absolute; width: 98px; height: 78px; display: grid; justify-items: center; align-content: center; gap: 7px; padding: 6px 4px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .13); background: linear-gradient(180deg, #181a20, #111317); text-align: center; transition: border-color .3s, transform .4s var(--ease-o); }
.ad-tile::before { content: ""; position: absolute; left: 12px; right: 12px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc-hi), transparent); opacity: .7; }
.ad-tile .ic { width: 28px; height: 28px; color: var(--acc-hi); }
.ad-tile span { font: 500 10.5px/1.2 var(--f); letter-spacing: .04em; text-transform: uppercase; color: #d5d9e1; }
.ad-tile:hover { border-color: var(--acc-line); transform: translateY(-3px); }

/* ---- left labels ---- */
.ad-label { position: absolute; left: 0; width: 250px; transform: translateY(-50%); display: grid; grid-template-columns: 34px 1fr; column-gap: 6px; align-items: baseline; text-align: left; padding-left: 22px; }
.ad-n { font: 400 13px/1 var(--fm); color: var(--acc-hi); }
.ad-label b { font: 500 15px/1.2 var(--f); letter-spacing: .12em; text-transform: uppercase; color: #eceef2; }
.ad-label small { grid-column: 2; margin-top: 6px; font: 400 13px/1.35 var(--f); color: var(--mu-d); max-width: 20ch; }

/* ---- solutions layer content ---- */
.ad-hub { position: absolute; width: 124px; height: 108px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.ad-hub::before { content: ""; position: absolute; inset: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--acc); filter: drop-shadow(0 0 16px var(--acc)); animation: hubGlow 3.4s ease-in-out infinite; }
.ad-hub::after { content: ""; position: absolute; inset: -14px -16px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); border: 1px solid var(--acc); background: color-mix(in srgb, var(--acc) 10%, transparent); opacity: .5; animation: hubRing 3.4s ease-out infinite; z-index: -1; }
@keyframes hubGlow { 50% { filter: drop-shadow(0 0 28px var(--acc)); } }
@keyframes hubRing { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.18); opacity: 0; } }
.ad-hub-in { position: relative; z-index: 1; width: 98px; height: 86px; display: grid; place-items: center; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: #0d0e11; }
.ad-hub .mk { width: 50px; height: 50px; color: #fff; --logo-bg: #0d0e11; }
.ad-pill { position: absolute; transform: translate(-50%, -50%); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: #121418; font: 500 15px/1 var(--f); color: #eceef2; white-space: nowrap; }
.ad-user { position: absolute; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); background: #121418; }
.ad-user .ic { width: 20px; height: 20px; color: #d5d9e1; }

/* ---- boxed items (reasoning, control) ---- */
.ad-box { position: absolute; display: flex; align-items: center; justify-content: center; gap: 11px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(180deg, #181a20, #111317); transition: border-color .3s, transform .4s var(--ease-o); }
.ad-box .ic { width: 22px; height: 22px; color: var(--acc-hi); }
.ad-box span { font: 400 17px/1 var(--f); color: #eceef2; white-space: nowrap; }
.ad-box:hover { border-color: var(--acc-line); transform: translateY(-2px); }

/* ---- AI engine ---- */
.ad-eng { position: absolute; width: 143px; height: 90px; display: grid; justify-items: center; align-content: center; gap: 9px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .13); background: linear-gradient(180deg, #181a20, #111317); text-align: center; transition: border-color .3s, transform .4s var(--ease-o); }
.ad-eng .ic { width: 30px; height: 30px; color: var(--acc-hi); }
.ad-eng span { font: 400 14.5px/1.2 var(--f); color: #eceef2; }
.ad-eng:hover { border-color: var(--acc-line); transform: translateY(-2px); }
.ad-jobs-h { position: absolute; left: 302px; width: 984px; display: flex; align-items: center; gap: 14px; font: 500 12.5px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--mu-d); }
.ad-jobs-h i { flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
.ad-job { position: absolute; width: 154px; height: 40px; display: grid; place-items: center; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); background: color-mix(in srgb, var(--acc) 9%, #111317); font: 400 16px/1 var(--f); color: #eceef2; }
.ad-compute { position: absolute; left: 302px; width: 984px; height: 44px; display: flex; align-items: center; justify-content: space-evenly; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .1); background: #0f1114; padding-left: 110px; }
.ad-compute em { position: absolute; left: 16px; font: 500 11.5px/1 var(--fm); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--mu-d); }
.ad-compute span { display: inline-flex; align-items: center; gap: 9px; font: 400 16px/1 var(--f); color: #d5d9e1; }
.ad-compute .ic { width: 22px; height: 22px; color: var(--acc-hi); }
.ad-compute i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); }

/* ---- data + deployment items ---- */
.ad-item { position: absolute; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; text-align: center; }
.ad-item .ic { width: 40px; height: 40px; padding: 9px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14); background: #121418; color: var(--acc-hi); transition: border-color .3s, background .3s; }
.ad-item:hover .ic { border-color: var(--acc); background: var(--acc-soft); }
.ad-item span { font: 400 13.5px/1.2 var(--f); color: #d5d9e1; }
.ad-item[data-l="dat"] { top: 692px !important; }
.ad-item[data-l="dat"] .ic { width: 36px; height: 36px; padding: 8px; }
.ad-item[data-l="dat"] span { font-size: 13px; }

/* ---- AI-Ops panel ---- */
.ad-ops-panel { position: absolute; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .13); background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 12%, #111317), #0f1114 30%); overflow: hidden; }
.ad-ops-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.ad-ops-head { position: absolute; left: 18px; right: 18px; top: 22px; display: grid; justify-items: center; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ad-ops-head .ic { width: 56px; height: 56px; color: var(--acc-hi); }
.ad-ops-head b { font: 600 24px/1 var(--f); letter-spacing: -.01em; }
.ad-ops-head small { font: 400 11px/1 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--mu-d); }
.ad-op { position: absolute; left: 12px; right: 12px; height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 10px; border-radius: 8px; animation: opCycle 10.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
.ad-op .ic { width: 28px; height: 28px; flex: none; color: var(--acc-hi); }
.ad-op span { font: 400 16px/1.15 var(--f); color: #d5d9e1; }
@keyframes opCycle { 0%, 12%, 100% { background: transparent; box-shadow: none; } 2%, 10% { background: var(--acc-soft); box-shadow: inset 2px 0 0 var(--acc); } }

/* ---- build-in (bottom layer first) ---- */
[data-l="dep"] { --ld: 0s; } [data-l="dat"] { --ld: .12s; } [data-l="con"] { --ld: .24s; } [data-l="eng"] { --ld: .36s; } [data-l="rea"] { --ld: .48s; } [data-l="sol"] { --ld: .6s; } [data-l="ops"] { --ld: .75s; }
.js .arch-stage [data-l] { opacity: 0; translate: 0 14px; transition: opacity .7s var(--ease-o), translate .8s var(--ease-o); transition-delay: var(--ld); }
.js .arch-stage.in [data-l] { opacity: 1; translate: 0 0; }
.js .arch-stage .ad-flow, .js .arch-stage .ad-head, .js .arch-stage .ad-link, .js .arch-stage .ad-pin, .js .arch-stage .ad-ops, .js .arch-stage .ad-opshead, .js .arch-stage .ad-title, .js .arch-stage .ad-pts { opacity: 0; transition: opacity .8s .9s; }
.js .arch-stage.in .ad-flow, .js .arch-stage.in .ad-head, .js .arch-stage.in .ad-link, .js .arch-stage.in .ad-pin, .js .arch-stage.in .ad-ops, .js .arch-stage.in .ad-opshead, .js .arch-stage.in .ad-title, .js .arch-stage.in .ad-pts { opacity: 1; }
.js .arch-stage.in .ad-flow { opacity: .55; }

/* ---- hover a layer: focus it ---- */
.arch.focusing [data-l] { transition-delay: 0s; }
.arch.focusing [data-l]:not(.hl) { opacity: .25 !important; }
.arch.focusing .ad-band.hl .ad-face { stroke: var(--acc); }
.arch.focusing .ad-band.hl .ad-rim { stroke-opacity: 1; }
.arch.focusing .ad-label.hl b { color: #fff; }
.arch.focusing .ad-scan { display: none; }
.ad-label, .ad-band, .ad-box, .ad-eng, .ad-job, .ad-item, .ad-tile, .ad-op { cursor: default; }

/* ---- hint + small screens ---- */
.arch-hint { display: block; text-align: center; margin: 12px 0 0; font: 400 12.5px/1 var(--fm); color: var(--mu-d); }
@media (max-width: 860px) {
  .arch-stage { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .arch-hint { font-size: 0; }
  .arch-hint::after { content: "Swipe sideways to see the full diagram"; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .arch-stage [data-l], .js .arch-stage .ad-flow { opacity: 1 !important; translate: none !important; }
  .ad-scan, .ad-pts { display: none; }
}

/* ================= ontology explorer (graphite, matches the architecture diagram) ================= */
.ox { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: stretch; }
.ox-graph { position: relative; width: 100%; border-radius: var(--r-l); background: var(--g0); border: 1px solid var(--ln-d); overflow: hidden; isolation: isolate; }
.ox-graph::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 40%, transparent 92%); }
.ox-graph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 380px; translate: -50% -50%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 16%, transparent), transparent); pointer-events: none; }
.ox-art { position: absolute; left: 0; top: 0; transform-origin: top left; transform: scale(var(--s, .9)); font-family: var(--f); color: var(--tx-d); }
.ox-art > svg { position: absolute; inset: 0; overflow: visible; }
.ox-cap { position: absolute; left: 26px; top: 22px; display: flex; align-items: center; gap: 9px; font: 500 11px/1 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: #d5d9e1; }
.ox-cap b { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-hi); box-shadow: 0 0 0 4px var(--acc-soft); animation: oxLive 2s ease-in-out infinite; }
.ox-cap span { color: var(--mu-d); letter-spacing: .06em; margin-left: 6px; }
@keyframes oxLive { 50% { opacity: .35; } }

/* links */
.ox-e path { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.4; transition: stroke .35s, stroke-width .35s; }
.ox-e .ox-glow { stroke: transparent; stroke-width: 7; }
.ox-e circle { fill: var(--acc-hi); filter: drop-shadow(0 0 5px var(--acc)); opacity: 0; transition: opacity .3s; }
.ox-e.on path { stroke: var(--acc-hi); stroke-width: 1.8; stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; }
.ox-e.on .ox-glow { stroke: var(--acc-soft); stroke-dasharray: none; animation: none; }
.ox-e.on circle { opacity: 1; }
.ox-el { position: absolute; translate: -50% -50%; font: 400 11px/1 var(--fm); color: var(--mu-d); background: var(--g0); padding: 4px 7px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; transition: color .3s, border-color .3s, opacity .3s; z-index: 1; }
.ox-el.on { color: var(--acc-hi); border-color: var(--acc-line); }
.ox-graph.focus .ox-el:not(.on) { opacity: .45; }

/* object cards */
.ox-n { position: absolute; translate: -50% -50%; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 184px; padding: 11px 16px 11px 11px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .13); background: linear-gradient(180deg, #181a20, #111317); color: #d5d9e1; text-align: left; cursor: pointer; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9); transition: border-color .3s, box-shadow .3s, opacity .3s, transform .4s var(--ease-o); }
.ox-n::before { content: ""; position: absolute; left: 14px; right: 14px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc-hi), transparent); opacity: .55; }
.ox-n:hover { border-color: var(--acc-line); transform: translateY(-3px); }
.ox-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .12); background: #0d0e12; color: var(--acc-hi); transition: background .3s, color .3s, border-color .3s; }
.ox-ic .ic { width: 22px; height: 22px; }
.ox-tx { display: grid; gap: 4px; }
.ox-tx b { font: 600 15px/1.1 var(--f); letter-spacing: -.01em; color: #fff; }
.ox-tx small { font: 400 10.5px/1 var(--fm); letter-spacing: .04em; color: var(--mu-d); white-space: nowrap; }
.ox-av { display: flex; flex: none; }
.ox-av img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--g1); }
.ox-av img + img { margin-left: -11px; }
.ox-n.core { min-width: 236px; padding: 14px 20px 14px 14px; border-color: var(--acc-line); box-shadow: 0 0 0 6px var(--acc-soft), 0 30px 60px -24px color-mix(in srgb, var(--acc) 55%, transparent); }
.ox-n.core .ox-tx b { font-size: 18px; }
.ox-n.nb { border-color: var(--acc-line); }
.ox-n[aria-pressed="true"] { border-color: var(--acc); box-shadow: 0 0 0 6px var(--acc-soft), 0 30px 60px -24px color-mix(in srgb, var(--acc) 60%, transparent); }
.ox-n[aria-pressed="true"] .ox-ic { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.ox-graph.focus .ox-n:not(.nb):not([aria-pressed="true"]) { opacity: .6; }

/* detail panel */
.ox-card { position: relative; background: var(--g0); color: var(--tx-d); border-radius: var(--r-l); border: 1px solid var(--ln-d); padding: 26px; display: grid; align-content: start; overflow: hidden; }
.ox-card::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc-hi), transparent); }
.ox-obj { display: grid; gap: 8px; animation: panelIn .5s var(--ease-o); }
.ox-obj[hidden] { display: none; }
.ox-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--ln-d); }
.ox-head .ox-ic { width: 48px; height: 48px; border-radius: 11px; background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.ox-head .ox-ic .ic { width: 26px; height: 26px; }
.ox-head .ox-av img { width: 42px; height: 42px; }
.ox-head small { margin: 0 0 6px; display: block; color: var(--acc-hi) !important; }
.ox-obj small { font: 400 11px/1 var(--fm); letter-spacing: .08em; text-transform: uppercase; color: var(--mu-d); margin-top: 12px; }
.ox-obj h3 { font-size: 26px; letter-spacing: -.03em; margin: 0; }
.ox-obj p { margin: 0; }
.ox-props, .ox-links { display: flex; flex-wrap: wrap; gap: 6px; }
.ox-props span { font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--g1); border: 1px solid var(--ln-d2); color: #d5d9e1; }
.ox-links span { display: inline-flex; gap: 6px; font: 400 11.5px/1 var(--fm); padding: 7px 9px; border-radius: 5px; border: 1px solid var(--ln-d2); color: #fff; }
.ox-links em { font-style: normal; color: var(--acc-hi); }
.ox-obj ul { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 8px; }
.ox-obj li { display: grid; grid-template-columns: 20px 1fr 16px; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px; background: linear-gradient(90deg, var(--acc-soft), transparent 85%), var(--g1); border: 1px solid var(--acc-line); font-size: 14px; color: #fff; }
.ox-obj li .ic { width: 18px; height: 18px; color: var(--acc-hi); }
.ox-obj li .ic:last-child { width: 14px; height: 14px; color: var(--mu-d); }
.ox-hint { margin: 20px 0 0; display: flex; align-items: center; gap: 8px; font: 400 12px/1.4 var(--fm); color: var(--mu-d); }
.ox-hint .ic { width: 15px; height: 15px; }

@media (max-width: 1100px) { .ox { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .ox-graph { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .ox-graph::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ox-e circle { display: none; } .ox-e.on path { animation: none; } }

/* ================= audit fixes (9 Nov) ================= */
/* Platform: keep the play hint clear of the diagram's bottom labels */
#ontology-os .hero2-hint { margin-top: 14px; }
/* CTA band: readable body text, photo a little more visible */
.cta .lead, .cta-meta { color: #d5d9e1 !important; }
.cta::after { background: linear-gradient(100deg, rgba(13, 14, 17, .95) 0%, rgba(13, 14, 17, .78) 50%, rgba(13, 14, 17, .22) 100%); }
/* the floating Colour theme button must not sit on the footer's legal links */
@media (min-width: 861px) { .foot-bottom { padding-right: 170px; } }
/* reading progress line along the very top of the window */
.read-prog { position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 2px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--acc), var(--acc-hi)); box-shadow: 0 0 10px var(--acc); pointer-events: none; }
@media print { .read-prog { display: none; } }
/* phones: the hero hint sits below the diagram instead of on top of its labels */
@media (max-width: 860px) { .hero3-foot { position: static; padding: 10px 0 20px; } }

/* ================= PTR Technologies (parent company) ================= */
.ptr-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ptr-copy { display: grid; gap: 18px; justify-items: start; }
.ptr-copy > p:not(.lead) { margin: 0; color: #c3c8d2; font-size: 16px; max-width: 52ch; }
.ptr-copy .lead { margin: 0; }
.ptr-facts { margin: 6px 0 4px; display: grid; gap: 0; width: 100%; border-top: 1px solid var(--ln-d); }
.ptr-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--ln-d); }
.ptr-facts dt { font: 400 11.5px/1.6 var(--fm); letter-spacing: .08em; text-transform: uppercase; color: var(--acc-hi); }
.ptr-facts dd { margin: 0; font-size: 15px; color: #e9ebf0; }
.ptr-map { position: relative; padding: 34px 28px 30px; border-radius: var(--r-l); border: 1px solid var(--ln-d); background: var(--g0); overflow: hidden; isolation: isolate; }
.ptr-map::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .055) 1px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 40%, transparent 92%); }
.ptr-map::after { content: ""; position: absolute; left: 50%; top: 58%; width: 420px; height: 300px; translate: -50% -50%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 14%, transparent), transparent); }
.ptr-node { position: relative; display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .13); background: linear-gradient(180deg, #181a20, #111317); color: #d5d9e1; }
.ptr-node::before { content: ""; position: absolute; left: 14px; right: 14px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc-hi), transparent); opacity: .55; }
.ptr-node b { display: block; font: 600 16px/1.15 var(--f); color: #fff; letter-spacing: -.01em; }
.ptr-node small { display: block; margin-top: 4px; font: 400 11px/1.3 var(--fm); letter-spacing: .03em; color: var(--mu-d); }
.ptr-parent { width: max-content; margin: 0 auto; padding-right: 22px; }
.ptr-mark { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: #0d0e11; font: 700 13px/1 var(--f); letter-spacing: .04em; }
.ptr-wires { display: block; width: 100%; height: 64px; overflow: visible; }
.ptr-wires path { fill: none; stroke: var(--acc-line); stroke-width: 1.4; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; animation: dash 1.4s linear infinite; }
.ptr-wires circle { fill: var(--acc-hi); filter: drop-shadow(0 0 5px var(--acc)); }
.ptr-kids { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ptr-kids .ptr-node { flex-direction: column; align-items: flex-start; gap: 12px; min-height: 100%; }
.ptr-nexus { border-color: var(--acc); box-shadow: 0 0 0 6px var(--acc-soft), 0 30px 60px -24px color-mix(in srgb, var(--acc) 55%, transparent); }
.ptr-logo { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--acc); color: #fff; --logo-bg: var(--acc); }
.ptr-logo svg { width: 26px; height: 26px; }
.ptr-nexus em { font: 500 10.5px/1 var(--fm); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-hi); padding: 5px 8px; border-radius: 999px; border: 1px solid var(--acc-line); background: var(--acc-soft); }
.ptr-suite ul { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ptr-suite li { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .09); background: #0d0e12; font-size: 12.5px; color: #d5d9e1; animation: ptrApp 7.2s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
.ptr-suite li .ic { width: 15px; height: 15px; color: var(--acc-hi); flex: none; }
@keyframes ptrApp { 0%, 14%, 100% { border-color: rgba(255, 255, 255, .09); background: #0d0e12; } 4%, 10% { border-color: var(--acc-line); background: var(--acc-soft); } }
@media (max-width: 960px) { .ptr-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ptr-kids { grid-template-columns: 1fr; } .ptr-wires { display: none; } .ptr-kids { margin-top: 14px; } .ptr-facts div { grid-template-columns: 1fr; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .ptr-suite li, .ptr-wires path { animation: none; } .ptr-wires circle { display: none; } }

/* footer: parent company */
.foot-parent { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--ln-d2); color: var(--tx-d); transition: border-color .3s; }
.foot-parent small { font: 400 11px/1 var(--fm); letter-spacing: .06em; text-transform: uppercase; color: var(--mu-d); }
.foot-parent b { font-weight: 600; font-size: 14px; }
.foot-parent .ic { width: 14px; height: 14px; color: var(--acc-hi); }
.foot-parent:hover { border-color: var(--acc-line); }
.foot-brand .mail { display: flex; }
.foot-bottom > span a { color: var(--tx-d); }
.foot-bottom > span a:hover { color: var(--acc-hi); }

/* ================= founding team (About) ================= */
.team-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tm { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-l); overflow: hidden; background: #fff; border: 1px solid var(--ln); transition: transform .5s var(--ease-o), box-shadow .5s var(--ease-o), border-color .3s; }
.tm:hover { transform: translateY(-4px); border-color: var(--acc-line); box-shadow: 0 30px 60px -36px rgba(18, 20, 24, .45); }
.tm-photo { position: relative; margin: 0; aspect-ratio: 5 / 6; overflow: hidden; background: #e7e7e2; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-o); }
.tm:hover .tm-photo img { transform: scale(1.04); }
.tm-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-o); }
.tm:hover .tm-photo::after { transform: scaleX(1); }
.tm-body { padding: 18px 20px 22px; display: grid; gap: 6px; align-content: start; }
.tm-role { font: 400 11px/1.4 var(--fm); letter-spacing: .06em; text-transform: uppercase; color: var(--acc-lo); }
.tm-body h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; color: var(--tx); }
.tm-body p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--mu); }
@media (max-width: 1060px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .tm-body { padding: 14px 14px 16px; } .tm-body h3 { font-size: 16.5px; } .tm-body p { font-size: 13px; } .tm-role { font-size: 10px; } }

/* ================= PTR office on Contact ================= */
.c3-office { font-style: normal; margin-top: 26px; padding: 18px 20px; border-radius: 10px; border: 1px solid var(--ln-d2); background: color-mix(in srgb, var(--g1) 80%, transparent); display: grid; gap: 10px; max-width: 420px; }
.c3-office small { font: 400 11px/1 var(--fm); letter-spacing: .08em; text-transform: uppercase; color: var(--acc-hi); }
.c3-addr { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.55; color: #d5d9e1; }
.c3-addr .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--acc-hi); }
.c3-office a { display: inline-flex; align-items: center; gap: 6px; width: max-content; font-size: 13.5px; color: #fff; border-bottom: 1px solid var(--acc-line); padding-bottom: 2px; }
.c3-office a .ic { width: 13px; height: 13px; color: var(--acc-hi); }
.c3-office a:hover { border-color: var(--acc-hi); }
/* team: LinkedIn link */
.tm-body { grid-template-rows: auto auto 1fr auto; height: 100%; }
.tm-in { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 8px 12px 8px 10px; border-radius: 8px; border: 1px solid var(--ln); font-size: 13.5px; font-weight: 500; color: var(--tx); transition: border-color .3s, color .3s, background .3s; }
.tm-in .ic { width: 18px; height: 18px; color: #0a66c2; }
.tm-in .ic:last-child { width: 13px; height: 13px; color: var(--mu); transition: transform .4s var(--ease-o); }
.tm-in:hover { border-color: #0a66c2; background: color-mix(in srgb, #0a66c2 6%, #fff); }
.tm-in:hover .ic:last-child { transform: translate(2px, -2px); color: #0a66c2; }
@media (max-width: 520px) { .tm-in { margin-top: 10px; padding: 6px 10px 6px 8px; font-size: 12.5px; } }
