/* The Deep Tech page's look (deep navy, Calistoga + Aileron, single-colour headings), with Applied AI's red from the homepage pillar as the accent.
   Built section by section: Manufacturing first. */
@font-face { font-family: Aileron; font-weight: 400; font-display: swap; src: url(fonts/aileron-400.woff2) format('woff2'); }
@font-face { font-family: Aileron; font-weight: 600; font-display: swap; src: url(fonts/aileron-600.woff2) format('woff2'); }
:root { --night: #081128; --deep: #0d1a3a; --navy: #1c305c; --panel: rgba(255, 255, 255, 0.03); --ink: #eef2f8; --muted: #9aa8c3; --haze: #8292b4; --line: rgba(173, 196, 238, 0.16);
  --blue: #34BDE8; --orange: #EA7532; --red: #EC1B23; --yellow: #F5B134; --green: #14A17E; --c: var(--red);
  --display: 'Calistoga', Georgia, serif; --body: 'Aileron', 'Segoe UI', system-ui, sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(120% 80% at 80% 0%, #0f1f48 0%, var(--night) 55%) fixed, var(--night); color: var(--ink); font-family: var(--body); line-height: 1.6; }
.wrap { max-width: 1560px; margin: 0 auto; padding: calc(var(--top) + env(safe-area-inset-top, 0px)) max(16px, 5vw, env(safe-area-inset-right, 0px)) 72px max(16px, 5vw, env(safe-area-inset-left, 0px)); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--c); }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; max-width: 16ch; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; max-width: 20ch; }
.lede { margin: 0; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 58ch; }
.area .lede { font-size: clamp(15px, 1.1vw, 16.5px); max-width: 75%; }   /* the sections' intros sit smaller than the hero's */

/* hero: the line, then the three areas as an index */
.hero { position: relative; display: grid; gap: 22px; align-content: center; min-height: calc(100svh - var(--top)); padding-block: clamp(24px, 4vw, 48px) 56px; }
.hero > * { position: relative; z-index: 1; }
html { overflow-x: clip; }
.areas { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.areas a, .areas span.a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 26, 58, .85); color: var(--ink); text-decoration: none; font-weight: 600; }
.areas b { font-size: 12px; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.areas a { border-color: color-mix(in srgb, var(--red) 55%, transparent); transition: background .3s, transform .3s; }
.areas a::after { content: "↓"; margin-left: auto; color: var(--red); transition: transform .3s; }
.areas a:hover, .areas a:focus-visible { background: rgba(236, 27, 35, .08); outline: none; }
.areas a:hover::after { transform: translateY(3px); }
.areas span.a { color: var(--muted); }

/* a section per area */
section.area { display: grid; gap: 0; border-top: 1px solid var(--line); scroll-margin-top: var(--bars); }
/* the first screen of a section: heading, intro and the four boxes, centred in the space under the menu; the animation follows on the next */
.area-intro { min-height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-block: 48px; }
.area-intro .caps { margin-top: 18px; }
section.area > .stage { margin: 0 0 24px; }
.hook { font-family: var(--display); font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.012em; margin: 0; color: var(--ink); text-wrap: balance; }   /* one line where it fits */

/* the motion: an agent designing a car, in four steps */
.stage { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--deep); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .7); }
/* the CAD console: a status bar, the blueprint floor the car is built on, a status line */
.cad { position: relative; background: #0a1126; border-bottom: 1px solid var(--line); }
.cad-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 9px 22px; border-bottom: 1px solid var(--line); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.cad-bar.foot { border-bottom: 0; border-top: 1px solid var(--line); }
.cad-bar .mode { display: flex; align-items: center; gap: 8px; }
.cad-bar i { width: 6px; height: 6px; border-radius: 2px; background: var(--blue); flex: none; }
.cad-bar b { color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.cad-bar b.full { color: #34d399; }
.cad-bar .cap { color: var(--haze); letter-spacing: 0; }
.cad-floor { padding: 10px 18px; background-image: radial-gradient(rgba(52, 189, 232, .16) 1px, transparent 1.2px); background-size: 18px 18px; }
.cad-floor canvas { display: block; width: 100%; height: auto; max-width: calc((100svh - 400px) * 3.5); margin: 0 auto; }   /* keeps the whole console on one screen */
.steps { margin: 0; padding: 10px 22px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.steps li { position: relative; padding: 9px 14px 13px; border: 1px solid transparent; border-radius: 12px; opacity: .45; transition: opacity .5s, background .5s, border-color .5s; }
.steps li.on { opacity: 1; background: rgba(255, 255, 255, .04); border-color: var(--line); }
.steps li.done { opacity: .8; }
.steps .n { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.steps li.on .n, .steps li.done .n { color: var(--s); }
.steps h3 { margin: 1px 0; font-size: 16px; }
.steps p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps li:not(.on) p { display: none; }   /* only the step running now shows its detail */
.steps .bar { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--s); transform-origin: left; transform: scaleX(0); }
.steps li.done .bar { transform: scaleX(1); opacity: .35; }

/* platform agnostic: one agent, any tool */
.stack { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 11px 22px; border-top: 1px solid var(--line); grid-column: 1 / -1; }
.stack .lbl { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.stack .agent { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; }
.stack .agent::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: beat 1.6s ease-in-out infinite; }
.stack .wire { position: relative; flex: 1 1 40px; max-width: 90px; height: 2px; background: linear-gradient(90deg, var(--red), rgba(173, 196, 238, .3)); }
.stack .wire::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; animation: travel 1.8s linear infinite; }
.stack .tool { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); background: rgba(255, 255, 255, .03); animation: lit 7.5s linear infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes beat { 50% { transform: scale(.55); opacity: .6; } }
@keyframes travel { to { left: calc(100% - 8px); } }
@keyframes lit { 0%, 16%, 100% { border-color: var(--line); box-shadow: none; } 6% { border-color: var(--red); box-shadow: 0 0 18px -4px var(--red); } }

/* Medical: the AI scribe console, transcript on the left, the note it writes on the right, the hospital's departments underneath */

.med { background: #0a1126; border-bottom: 1px solid var(--line); position: relative; }
.med-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.med-col { padding: 14px 22px 16px; height: 336px; overflow: hidden; }   /* fixed: the note never pushes the console off screen */
.med-talk { border-right: 1px solid var(--line); }
.med-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
#med-wave { width: 132px; height: 26px; display: block; }
/* the consultation: a small animated scene (doctor, patient, the AI scribe listening on the desk), and the live captions under it */
.scene { display: block; width: 100%; height: 150px; margin: -4px 0 6px; overflow: visible; }
.scene .char { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 3.4s ease-in-out infinite; }
.scene .pat { animation-delay: -1.7s; }
@keyframes breathe { 50% { transform: scaleY(1.015); } }
.scene .head, .scene .eyes, .scene .mouth { transform-box: fill-box; }
.scene .head { transform-origin: 50% 95%; transition: transform .4s; }
.scene .eyes { transform-origin: center; animation: blink 4.2s infinite; }
.scene .pat .eyes { animation-delay: -1.9s; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.scene .mouth { transform-origin: center; }
.scene .talk .mouth { animation: talk .17s ease-in-out infinite alternate; }
@keyframes talk { from { transform: scale(1, .6); } to { transform: scale(.8, 2.6); } }
.scene .talk .head { animation: nod 1.1s ease-in-out infinite; }
.scene .pat.talk .head { animation-name: nod-back; }
@keyframes nod { 50% { transform: rotate(-4deg) translateY(-1px); } }
@keyframes nod-back { 50% { transform: rotate(4deg) translateY(-1px); } }
.scene .arm { transform-box: view-box; transition: transform .4s; }
.scene .doc .arm { transform-origin: 94px 104px; }
.scene .pat .arm { transform-origin: 306px 104px; }
.scene .doc.talk .arm { animation: gesture 1.3s ease-in-out infinite; }
.scene .pat.talk .arm { animation: gesture-back 1.5s ease-in-out infinite; }
@keyframes gesture { 50% { transform: rotate(-14deg); } }
@keyframes gesture-back { 50% { transform: rotate(12deg); } }
.scene .puff { opacity: 0; }
.scene .pat.cough .head { animation: cough .32s ease-in-out 3; }
.scene .pat.cough .puff { animation: puff .32s ease-out 3; }
@keyframes cough { 40% { transform: rotate(-9deg) translate(-2px, 3px); } }
@keyframes puff { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(-4px); } }
.scene .wv path { fill: none; stroke-width: 1.6; stroke-linecap: round; opacity: 0; }
.scene #wv-dr path { stroke: #34BDE8; } .scene #wv-pt path { stroke: #EA7532; }
.scene .wv.on path { animation: wave 1s ease-out infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes wave { 0% { opacity: 0; } 30% { opacity: .9; } 100% { opacity: 0; } }
.scene .puck .ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.scene .puck.on .ring { animation: listen 1.2s ease-out infinite; }
@keyframes listen { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
.scene .bub { opacity: 0; transition: opacity .25s; }
.scene .bub.on { opacity: 1; }
.scene .bub circle { fill: #34BDE8; animation: dot 1s ease-in-out infinite; }
.scene .bub.pt circle { fill: #EA7532; }
.scene .bub circle:nth-of-type(2) { animation-delay: .15s; } .scene .bub circle:nth-of-type(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.med-lines { list-style: none; margin: 0; padding: 0; height: 112px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; overflow: hidden;
  font-size: 13.5px; line-height: 1.45; position: relative; }
.med-lines::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px; z-index: 1; pointer-events: none; background: linear-gradient(#0a1126, rgba(10, 17, 38, 0)); }   /* older lines fade out at the top */
.med-lines li { display: none; grid-template-columns: 60px minmax(0, 1fr); gap: 8px; }
.med-lines li.on { display: grid; animation: line-in .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes line-in { from { opacity: 0; transform: translateY(8px); } }
.med-lines .who { padding-top: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.med-lines li.pt .who { color: var(--orange); }
.med-lines .w { display: inline-block; opacity: 0; transform: translateY(3px); transition: opacity .3s, transform .3s; }
.med-lines .w.on { opacity: 1; transform: none; }
.kw { border-radius: 4px; transition: background .5s, box-shadow .5s; }
.kw.hit { background: color-mix(in srgb, var(--k) 24%, transparent); padding: 0 2px; margin: 0 -2px; }   /* marked as heard: a soft tint, no underline */
.med-sign { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; color: var(--muted); transition: all .4s; }
.med-sign.ask { color: #fff; border-color: var(--orange); background: rgba(234, 117, 50, .18); animation: ask 1s ease-in-out infinite; }
.med-sign.ok { color: #5fe0bd; border-color: var(--green); background: rgba(20, 161, 126, .16); }
@keyframes ask { 50% { box-shadow: 0 0 0 5px rgba(234, 117, 50, .15); } }
.med-soap { margin: 0; display: grid; }
.med-soap .row { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); min-height: 44px; }
.med-soap dt { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; font-weight: 600; font-size: 13px; color: var(--muted); border: 1px solid var(--line); transition: all .4s; }
.med-soap .row.live dt { color: #fff; border-color: var(--blue); background: rgba(52, 189, 232, .16); }
.med-soap dd { margin: 0; display: grid; gap: 6px; }
.med-soap .tags { display: flex; flex-wrap: wrap; gap: 5px; max-height: 70px; overflow: hidden; transition: max-height .5s, opacity .4s; }
.med-soap .tags.gone { max-height: 0; opacity: 0; }   /* once the line is written, its terms fold into it */
.med-soap .prose { font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.med-soap .prose:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px; border-radius: 999px; font-size: 12px; line-height: 1.5; color: var(--ink); white-space: nowrap;
  border: 1px solid var(--k); background: color-mix(in srgb, var(--k) 16%, #0a1126); }
.chip.code { font-weight: 600; letter-spacing: .04em; }
.fly { position: absolute; z-index: 6; margin: 0; pointer-events: none; transition: transform .75s cubic-bezier(.2, .75, .2, 1), opacity .75s; }
.med-alert { margin: 10px 0 0; padding: 7px 12px; border-radius: 10px; font-size: 13px; border: 1px solid var(--red); background: rgba(236, 27, 35, .1); opacity: 0; transform: translateY(4px); transition: all .4s; }
.med-alert.on { opacity: 1; transform: none; }
.med-alert.ok { border-color: var(--green); background: rgba(20, 161, 126, .12); }
.med-rail { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 18px 22px 16px; border-top: 1px solid var(--line); }
.med-rail::before { content: ""; position: absolute; left: calc(22px + (100% - 44px) / 14); right: calc(22px + (100% - 44px) / 14); top: 24px; height: 2px; background: rgba(173, 196, 238, .16); }
.med-rail .node { position: relative; display: grid; justify-items: center; gap: 2px; padding-top: 20px; text-align: center; font-size: 13px; color: var(--muted); transition: color .4s; }
.med-rail .node::before { content: ""; position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #0a1126; border: 2px solid rgba(173, 196, 238, .3); transition: all .4s; }
.med-rail .node b { font-weight: 600; }
.med-rail .node em { font-style: normal; font-size: 12px; color: var(--haze); opacity: 0; transform: translateY(-3px); transition: all .4s; }
.med-rail .node.done { color: var(--ink); }
.med-rail .node.done::before { border-color: var(--blue); background: var(--blue); }
.med-rail .node.lit { color: #fff; }
.med-rail .node.lit::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 6px rgba(20, 161, 126, .2), 0 0 18px var(--green); }
.med-rail .node.done em, .med-rail .node.lit em { opacity: 1; transform: none; }
.med-rail .pulse { position: absolute; top: 19px; left: 0; transition: opacity .2s; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px var(--blue), 0 0 4px #fff; opacity: 0; z-index: 1; }
@media (max-width: 760px) { .med-body { grid-template-columns: minmax(0, 1fr); } .med-talk { border-right: 0; border-bottom: 1px solid var(--line); } .med-col { height: auto; padding: 14px; } .med-lines { height: 150px; }
  .med-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; padding: 16px 10px; } .med-rail::before, .med-rail .pulse { display: none; } .med-lines { font-size: 14px; } }

/* what it does */
/* each area: what it does, as a column of titles beside the animation; a description opens on hover */
.area-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 14px; }   /* the capabilities, then the animation */
.area-body .stage { margin-top: 0; }
/* the capabilities: four boxes over the animation, in one quiet accent (the brand cyan). They slide in one after another.
   Under the pointer a box lifts, tilts a little and a soft light follows the cursor. */
.caps { --a: 52, 189, 232; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: cap; }
.caps li { position: relative; overflow: hidden; min-height: 240px; padding: 28px 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); counter-increment: cap;
  translate: 0 0; transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1), translate .5s cubic-bezier(.2, .7, .2, 1), border-color .4s, background-color .4s, box-shadow .4s;
  transition-delay: calc(var(--d, 0) * 110ms), 0s, 0s, 0s, 0s, 0s; }
.caps li.reveal:not(.in) { transform: translateX(-28px); }   /* slides in from the left */
.caps li.reveal.in { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }   /* beats the page-wide .reveal.in */
.caps li::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--a), .16), transparent 70%); }
.caps b { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; color: #dfe6f2; transition: color .4s; }
.caps b::before { content: counter(cap, decimal-leading-zero); display: block; margin-bottom: 18px; font-size: 12px; letter-spacing: .16em; color: rgba(var(--a), .7); transition: color .4s; }
.caps .d { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.caps li:hover { translate: 0 -4px; border-color: rgba(var(--a), .55); box-shadow: 0 22px 44px -26px rgba(var(--a), .7); }
.caps li:hover::after { opacity: 1; }
.caps li:hover b { color: #fff; }
.caps li:hover b::before { color: rgb(var(--a)); }
@media (prefers-reduced-motion: reduce) { .caps li, .caps li.reveal:not(.in) { transform: none; } }
@media (min-width: 1001px) { .caps.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } .caps.six li { min-height: 200px; } }   /* six boxes: two rows of three */
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area-intro { min-height: 0; padding-block: 40px 28px; } .caps li { min-height: 0; }
  }   /* no hover on touch screens: descriptions stay open */

/* scroll effects (scroll.js sets --sp, 0 -> 1, as an element comes into view; --hp as the hero leaves it) */
.hero { --hp: 0; }
.hero { opacity: calc(1 - var(--hp) * .85); }
.hero > * { translate: 0 calc(var(--hp) * -70px); }   /* translate, so it adds to the reveal's transform */
/* the consoles open like a window: they rise, tip back from 3D and the clip widens out to the full frame */
[data-scroll="rise"] { --sp: 0; transform: translateY(calc((1 - var(--sp)) * 80px)) scale(calc(.94 + var(--sp) * .06)); opacity: calc(.2 + var(--sp) * .8); transform-origin: 50% 0; }
.hook .wd { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.35em); transition: opacity .7s, filter .7s, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 70ms + 120ms); }
.hook.in .wd { opacity: 1; filter: none; transform: none; }
.eyebrow.reveal::after { content: ""; height: 1px; width: 0; margin-left: 4px; background: var(--line); transition: width 1.2s cubic-bezier(.2, .7, .2, 1) .3s; }
.eyebrow.reveal.in::after { width: 120px; }
@media (prefers-reduced-motion: reduce) { .hero, .hero > *, [data-scroll] { transform: none !important; translate: none !important; opacity: 1 !important; clip-path: none !important; } .hook .wd { opacity: 1; filter: none; transform: none; transition: none; } }

/* things slide in as they reach the screen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 110ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .stack *, .stack *::before, .stack *::after { animation: none !important; } }

@media (max-width: 900px) { .cad-floor { padding: 14px 8px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; } .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .areas, .caps { grid-template-columns: minmax(0, 1fr); } .steps { gap: 6px; } .steps li { padding: 10px 12px 14px; } .steps h3 { font-size: 15px; } .steps p { font-size: 13px; }
  .stack .wire { display: none; } }

/* ===== the next-gen layer: backdrop, headline, marquee, rail, glass consoles, finale ===== */
/* the backdrop (field.js draws the particles; the rest is CSS): everything sits on top of it */
.field { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { .field { opacity: .6; } }   /* on phones the field sits behind the words */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .5; contain: strict; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; }
.aurora i:nth-child(1) { left: 55%; top: 10%; background: radial-gradient(circle, rgba(236, 27, 35, .32), transparent 65%); }
.aurora i:nth-child(2) { left: 15%; top: 45%; background: radial-gradient(circle, rgba(52, 189, 232, .22), transparent 65%); animation-duration: 32s; animation-delay: -9s; }
.aurora i:nth-child(3) { left: 60%; top: 60%; background: radial-gradient(circle, rgba(245, 177, 52, .14), transparent 65%); animation-duration: 38s; animation-delay: -17s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-8vmax, 6vmax) scale(1.15); } 100% { transform: translate(6vmax, -5vmax) scale(.9); } }
.grain { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glow { position: fixed; left: 0; top: 0; z-index: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(52, 189, 232, .12), rgba(236, 27, 35, .05) 40%, transparent 70%); }
.glow.on { opacity: 1; }
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), var(--red) 40%, var(--blue)); box-shadow: 0 0 12px rgba(236, 27, 35, .8); }


/* the headline: a light sweeps across its second line */
.eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px rgba(236, 27, 35, .8); animation: live 2s ease-in-out infinite; margin-right: -4px; }
.hero .eyebrow::before { display: none; }
@keyframes live { 50% { opacity: .35; } }
h1.decode { font-size: clamp(42px, 6.6vw, 96px); line-height: .98; max-width: 13ch; }
h1.decode .ln { display: block; }
h1.decode.done .shine { background: linear-gradient(100deg, #fff 0%, #fff 38%, #ffb38a 45%, var(--red) 50%, #8fdcf5 55%, #fff 62%, #fff 100%) 0 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s ease-in-out 2 forwards; }
@keyframes sheen { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }

/* the area links: a light beam runs around the border, and a glow follows the pointer */
.areas a { position: relative; isolation: isolate; transition: background .3s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.areas a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; opacity: .9; pointer-events: none;
  background: linear-gradient(120deg, rgba(236, 27, 35, .7), transparent 35%, transparent 65%, rgba(52, 189, 232, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.areas a:hover { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(236, 27, 35, .2), rgba(13, 26, 58, .72) 70%); }
@property --beam { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --beam: 360deg; } }

/* the marquee before the footer: one word for each area and platform, outlined, sliding past */
.marquee { position: relative; margin: 0 calc(50% - 50vw); padding: 26px 0; overflow: hidden; border-block: 1px solid var(--line); background: #0a1430; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 12%; pointer-events: none; }   /* the edges fade into the page */
.marquee::before { left: 0; background: linear-gradient(90deg, #0a1430, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, #0a1430, transparent); }
.marquee .row { display: flex; width: max-content; white-space: nowrap; will-change: transform; font-family: var(--display); line-height: 1.05; }
.marquee .row span { padding-right: .3em; }
.marquee .row:first-child { font-size: clamp(40px, 6vw, 96px); color: transparent; -webkit-text-stroke: 1px rgba(238, 242, 248, .5); }
.marquee .row:first-child em { font-style: normal; color: var(--red); -webkit-text-stroke: 0; font-size: .5em; vertical-align: middle; text-shadow: 0 0 24px var(--red); }

/* the section numerals: huge, outlined, drifting behind each intro */
.area-intro { position: relative; }
.area-intro > :not(.bignum) { position: relative; z-index: 1; }
.bignum { --np: .5; position: absolute; right: -2vw; top: 50%; z-index: 0; pointer-events: none; font-family: var(--display); font-size: clamp(200px, 34vw, 520px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(236, 27, 35, .22); background: linear-gradient(180deg, rgba(236, 27, 35, .14), transparent 70%); -webkit-background-clip: text; background-clip: text;
  transform: translateY(calc(-50% + (var(--np) - .5) * -220px)) rotate(calc((var(--np) - .5) * -6deg)); }
#medical .bignum { -webkit-text-stroke-color: rgba(52, 189, 232, .24); background-image: linear-gradient(180deg, rgba(52, 189, 232, .14), transparent 70%); }

/* the capability cards: glass, with a light beam around the border on hover */
.caps li { background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)), rgba(10, 18, 42, .7); isolation: isolate; }
.caps li::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: conic-gradient(from var(--beam, 0deg), transparent 0 65%, rgb(var(--a)) 80%, #fff 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.caps li:hover::before { opacity: 1; animation: beam 3s linear infinite; }
#manufacturing .caps { --a: 234, 117, 50; }

/* the consoles: a holographic edge, a scan line when they arrive, and a light under the pointer */
.stage { position: relative; isolation: isolate; background: rgba(13, 26, 58, .95);
  box-shadow: 0 0 0 1px rgba(52, 189, 232, .08), 0 60px 120px -60px rgba(236, 27, 35, .45), 0 40px 90px -50px rgba(0, 0, 0, .8); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(52, 189, 232, .55), rgba(52, 189, 232, .08) 30%, rgba(52, 189, 232, .08) 70%, rgba(236, 27, 35, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, -999px) var(--gy, -999px), rgba(52, 189, 232, .08), transparent 70%); }
.stage > .scanline { position: absolute; left: 0; right: 0; top: 0; z-index: 6; height: 120px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(52, 189, 232, .18) 85%, rgba(160, 230, 255, .9) 99%, transparent); }
.stage.scan > .scanline { animation: scan 1.8s cubic-bezier(.4, 0, .2, 1) .2s 1; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-120px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--sh, 800px)); } }

/* the close: a call to talk, over the wave of data */
.finale { position: relative; min-height: 92svh; display: grid; align-content: center; justify-items: center; gap: 22px; text-align: center; padding-block: 120px 80px; border-top: 1px solid var(--line); scroll-margin-top: var(--bars); }
.finale .eyebrow { justify-content: center; }
.finale .eyebrow.reveal::after { display: none; }
.finale .hook { font-size: clamp(28px, 3.6vw, 52px); max-width: 22ch; }
.finale .lede { max-width: 52ch; }
/* "Talk to the team": the Deep Tech page's button, a light plate with the chamfered corners of the SupplyChainz mark (the glow sits on the link, the clip on the plate) */
.finale .cta { display: inline-block; margin-top: 16px; text-decoration: none; filter: drop-shadow(0 0 22px rgba(238, 242, 248, .22)); transition: transform .35s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.finale .cta span { display: block; padding: 18px 34px; background: linear-gradient(180deg, #f6f8fc, #dde4f0); color: #0a1430; font-weight: 600; font-size: 17px; letter-spacing: .01em;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px); transition: background .25s; }
.finale .cta:hover, .finale .cta:focus-visible { filter: drop-shadow(0 0 28px rgba(238, 242, 248, .4)); outline: none; }
.finale .cta:hover span, .finale .cta:focus-visible span { background: #fff; }

/* the chapter rail, on wide screens */
.rail { position: fixed; right: 22px; top: 50%; z-index: 20; transform: translateY(-50%); display: grid; gap: 14px; }
.rail a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(173, 196, 238, .45); transition: all .4s; }
.rail a span { position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: 12px; letter-spacing: .08em; color: var(--ink); opacity: 0; pointer-events: none; transition: all .3s;
  padding: 3px 10px; border-radius: 999px; background: rgba(8, 14, 32, .85); border: 1px solid var(--line); }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.rail a.past { background: rgba(173, 196, 238, .45); }
.rail a.on { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(236, 27, 35, .18), 0 0 14px var(--red); transform: scale(1.15); }
@media (max-width: 1100px) { .rail { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .aurora i, .eyebrow .live, .areas a::before, .caps li::before, .stage::before, h1.decode.done .shine { animation: none !important; }
  .bignum { transform: translateY(-50%); }
}
html.no-field .aurora { opacity: .8; }
html.lite .aurora, html.lite .grain, html.lite .glow, html.lite .stage::before, html.lite .stage::after, html.lite .scanline { display: none; }   /* ?lite (see index.html) */
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }   /* ?still: nothing moves, for testing */

/* ===== the overview and the three area pages ===== */
/* the overview: one screen per area, its words on the left and its particle shape on the right; Explore opens the area's page */
.areas a { --v: var(--red); border-color: color-mix(in srgb, var(--v) 55%, transparent); }
.areas a::after { color: var(--v); }
.areas a b { color: var(--v); }
section.vertical { --v: var(--red); position: relative; min-height: 100svh; display: grid; align-content: center; padding-block: 96px; border-top: 1px solid var(--line); scroll-margin-top: var(--bars); }
.vertical .copy { position: relative; z-index: 1; display: grid; gap: 20px; max-width: 640px; }
.vertical .eyebrow::before { background: var(--v); }
.vertical .bignum { -webkit-text-stroke-color: color-mix(in srgb, var(--v) 30%, transparent); background-image: linear-gradient(180deg, color-mix(in srgb, var(--v) 16%, transparent), transparent 70%); }
.vertical .hook { max-width: 14ch; }
.points { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid var(--v); box-shadow: 0 0 10px color-mix(in srgb, var(--v) 60%, transparent); }
.points b { color: var(--ink); font-weight: 600; }
.status { margin-left: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--yellow) 55%, transparent); background: rgba(245, 177, 52, .1); color: #f7c766; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.explore, .btn { position: relative; display: inline-flex; align-items: center; gap: 12px; width: max-content; margin-top: 8px; padding: 15px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; color: #fff;
  background: color-mix(in srgb, var(--v) 18%, rgba(8, 14, 32, .85)); border: 1px solid var(--v); box-shadow: 0 18px 40px -22px var(--v); transition: background .3s, color .3s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.explore b, .btn b { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: -10px; border-radius: 50%; background: var(--v); color: #081128; font-size: 15px; transition: transform .3s; }
.explore:hover, .explore:focus-visible, .btn:hover, .btn:focus-visible { background: var(--v); color: #081128; outline: none; box-shadow: 0 22px 50px -18px var(--v); }
.explore:hover b, .explore:focus-visible b { transform: translateX(4px); background: #081128; color: var(--v); }
.btn:hover b, .btn:focus-visible b { transform: translateY(3px); background: #081128; color: var(--v); }
.btn.ghost { background: transparent; border-color: var(--line); box-shadow: none; }
.btn.ghost:hover, .btn.ghost:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; }
@media (max-width: 900px) { section.vertical { min-height: 0; padding-block: 72px; } .vertical .bignum { opacity: .6; } }

/* the area pages: a breadcrumb, the hero, what it does, the console, then on to the next area */
body.sub { --v: var(--red); }
.sub .eyebrow::before { background: var(--v); }
.sub-hero { gap: 20px; }
.sub-hero h1.decode { font-size: clamp(40px, 6vw, 88px); max-width: 15ch; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-color: var(--v); }
.crumbs [aria-current] { color: var(--v); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-actions .btn { margin-top: 0; }
.sub .area-intro h2 { max-width: 24ch; }
.sub .caps { --a: 52, 189, 232; }
.sub[style*="orange"] .caps { --a: 234, 117, 50; }
.sub[style*="yellow"] .caps { --a: 245, 177, 52; }
section.area.demo { padding-top: 72px; border-top: 0; }
.demo-head { display: grid; gap: 14px; margin-bottom: 26px; }
.lane { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 -4px; font-size: 14px; letter-spacing: .06em; color: var(--muted); }
.lane b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0; color: var(--ink); }
.quote { margin: 26px 0 0; padding: 26px 30px; border-left: 3px solid var(--v); border-radius: 0 14px 14px 0; background: rgba(255, 255, 255, .03); font-family: var(--display); font-size: clamp(20px, 2vw, 28px); line-height: 1.3; max-width: 34ch; }
.quote span { display: block; margin-bottom: 10px; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--v); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.pager a { display: grid; gap: 4px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10, 18, 42, .7); color: var(--ink); text-decoration: none; transition: border-color .3s, background .3s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.pager a.next { text-align: right; }
.pager small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager span { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); }
.pager a:hover, .pager a:focus-visible { border-color: var(--v); background: color-mix(in srgb, var(--v) 10%, rgba(10, 18, 42, .7)); transform: translateY(-3px); outline: none; }
.finale.short { min-height: 0; padding-block: 96px 72px; border-top: 0; }
@media (max-width: 600px) { .pager { grid-template-columns: minmax(0, 1fr); } .pager a.next { text-align: left; } }

/* Enterprise: HR Intelligence's console, the eight stages in two lanes, the candidate's card and the agent's log */
.hr { background: #0a1126; border-bottom: 1px solid var(--line); }
.hr-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.hr-track { position: relative; display: grid; grid-template-columns: 120px repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 120px); align-items: center; padding: 22px; border-right: 1px solid var(--line); }
.hr-lane { grid-column: 1; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hr-lane:nth-of-type(1) { grid-row: 1; } .hr-lane:nth-of-type(2) { grid-row: 2; }
.hr-node { grid-row: var(--r); grid-column: calc(var(--c) + 1); position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; color: var(--muted); transition: color .4s; }
.hr-node::before { content: ""; position: absolute; top: 9px; right: 50%; width: 100%; height: 2px; background: rgba(173, 196, 238, .14); z-index: 0; }
.hr-node[style*="--c: 1"]::before { display: none; }
.hr-node i { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(173, 196, 238, .3); background: #0a1126; transition: all .4s; }
.hr-node b { font-weight: 600; }
.hr-node.done { color: var(--ink); }
.hr-node.done i { border-color: var(--yellow); background: var(--yellow); }
.hr-node.done::before, .hr-node.on::before { background: linear-gradient(90deg, var(--yellow), rgba(245, 177, 52, .4)); }
.hr-node.on { color: #fff; }
.hr-node.on i { border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(245, 177, 52, .18); }
.hr-token { position: absolute; left: 0; top: 0; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: #081128; font-size: 12px; font-weight: 700;
  box-shadow: 0 0 0 4px rgba(8, 17, 40, .9), 0 0 22px rgba(245, 177, 52, .8); opacity: 0; transition: transform .9s cubic-bezier(.6, 0, .25, 1), opacity .4s; }
.hr-token.in { opacity: 1; }
.hr-side { display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 22px; min-width: 0; }
.hr-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.hr-card .av { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #081128; font-weight: 700; }
.hr-card b { display: block; font-weight: 600; }
.hr-card em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.hr-score { display: grid; justify-items: end; line-height: 1.1; }
.hr-score b { font-family: var(--display); font-size: 30px; font-weight: 400; color: var(--yellow); font-variant-numeric: tabular-nums; }
.hr-score small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hr-log { position: relative; margin: 0; padding: 0; list-style: none; display: grid; align-content: start; gap: 8px; height: 190px; overflow: hidden; font-size: 13.5px; line-height: 1.4; }
.hr-log li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); color: var(--muted); animation: line-in .45s cubic-bezier(.2, .8, .2, 1); }
.hr-log li:first-child { color: #fff; background: rgba(245, 177, 52, .1); }
.hr-log li span { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--yellow); padding-top: 2px; }
@media (max-width: 900px) { .hr-body { grid-template-columns: minmax(0, 1fr); } .hr-track { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto 96px auto 96px; padding: 16px 10px; }
  .hr-lane { grid-column: 1 / -1; } .hr-lane:nth-of-type(1) { grid-row: 1; } .hr-lane:nth-of-type(2) { grid-row: 3; }
  .hr-node { grid-column: var(--c); grid-row: calc(var(--r) * 2); font-size: 12px; } }

/* ===== Enterprise Intelligence: the platform pages (Marketing and Training share these blocks) ===== */
.status.vision { border-color: rgba(173, 196, 238, .35); background: rgba(173, 196, 238, .08); color: #c9d6f2; }
.tint { color: var(--v); }
.mk-section { padding-block: 110px 20px; scroll-margin-top: var(--bars); }
.mk-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 44px; }
.mk-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.mk-head.center .eyebrow { justify-content: center; }
.mk-head h2 { font-size: clamp(32px, 4.4vw, 58px); max-width: 22ch; }
.mk-head .lede { max-width: 62ch; }
.mk-copy { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.8; max-width: 52ch; }
.mk-aside { margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: #d0dce8; }
.mk-aside span { color: var(--v); font-weight: 600; }
.mk-foot { margin: 22px 0 0; font-size: 13px; color: var(--haze); line-height: 1.7; max-width: 80ch; }
.mk-note { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 13.5px; color: var(--haze); }
.mk-note .live { background: var(--v); box-shadow: 0 0 8px var(--v); margin: 0; }

/* the hero, in two columns: the words, and the shared intelligence with its agents */
.split-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 40px; overflow-x: clip; overflow-clip-margin: 40px; }   /* the turning rings never widen the page */
.split-hero .hero-copy { display: grid; gap: 20px; align-content: center; }
.split-hero h1.decode { font-size: clamp(40px, 5.2vw, 78px); }
.mk-orbit { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.mk-grid { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(160, 194, 224, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(160, 194, 224, .06) 1px, transparent 1px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.mk-rings { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--v) 22%, transparent); animation: orbit 40s linear infinite; }
.mk-rings::before, .mk-rings::after { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px solid rgba(52, 189, 232, .16); }
.mk-rings::after { inset: 24%; border-color: rgba(245, 177, 52, .14); }
.mk-rings .dot { position: absolute; left: 16%; top: 17%; width: 9px; height: 9px; border-radius: 50%; background: var(--v); box-shadow: 0 0 16px var(--v); }
.mk-rings .dot.two { left: auto; right: 11%; top: 70%; background: var(--blue); box-shadow: 0 0 16px var(--blue); }
@keyframes orbit { to { transform: rotate(360deg); } }
.mk-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mk-links path { stroke-dasharray: 5 9; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.mk-core { position: relative; z-index: 2; width: 34%; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--v) 30%, #0d1a3a), #0d1a3a 62%, #0a1126); border: 1px solid color-mix(in srgb, var(--v) 60%, transparent);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--v) 6%, transparent), 0 0 0 28px color-mix(in srgb, var(--v) 3%, transparent), 0 0 70px color-mix(in srgb, var(--v) 22%, transparent); animation: float 5s ease-in-out infinite; }
.mk-core .ic { font-size: 26px; color: var(--v); line-height: 1; margin-bottom: 4px; }
.mk-core b { font-family: var(--display); font-weight: 400; font-size: clamp(14px, 1.4vw, 19px); line-height: 1.15; }
.mk-core small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }
.mk-node { position: absolute; z-index: 3; display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; min-width: 150px; padding: 11px 13px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(10, 18, 42, .92); box-shadow: 0 14px 40px rgba(0, 0, 0, .25); animation: float 6s ease-in-out infinite; }
.mk-node .ic { grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--v) 14%, transparent); color: var(--v); font-size: 14px; }
.mk-node b { font-size: 13px; font-weight: 600; }
.mk-node small { font-size: 11px; color: var(--haze); }
.mk-node.n1 { top: 12%; left: 4%; animation-delay: -1s; } .mk-node.n2 { top: 13%; right: 0; animation-delay: -3s; } .mk-node.n3 { bottom: 26%; left: 0; animation-delay: -2s; }
.mk-node.n4 { bottom: 13%; right: 3%; animation-delay: -4s; } .mk-node.n5 { top: 44%; right: -4%; animation-delay: -1.5s; }
@media (max-width: 1000px) { .mk-node.n5 { right: 0; } }
.mk-caption { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
@media (max-width: 1000px) { .split-hero { grid-template-columns: minmax(0, 1fr); } .mk-orbit { max-width: 480px; margin-top: 20px; } }
@media (max-width: 600px) { .mk-node { min-width: 0; padding: 8px 9px; } .mk-node small { display: none; } .mk-node b { font-size: 11.5px; } .mk-node .ic { width: 22px; height: 22px; grid-row: auto; } .mk-caption { font-size: 9px; } }

/* the capability ticker */
.mk-ticker { margin: 0 calc(50% - 50vw); overflow: hidden; border-block: 1px solid var(--line); background: rgba(8, 14, 32, .6); }
.mk-ticker .track { display: flex; width: max-content; padding: 18px 0; animation: ticker 40s linear infinite; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mk-ticker span { display: flex; gap: 32px; padding-right: 32px; white-space: nowrap; }
.mk-ticker b { color: var(--v); font-weight: 400; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* the challenge: a statement on the left, the problems on the right */
.mk-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.mk-split > div:first-child { display: grid; gap: 22px; position: sticky; top: calc(var(--bars) + 40px); }
.mk-statement { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; max-width: 18ch; }
.mk-statement em { font-style: normal; color: var(--v); }
.mk-problems { display: grid; gap: 12px; }
.mk-problems article { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(110deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s, background .35s; }
.mk-problems article:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--v) 45%, transparent); background: color-mix(in srgb, var(--v) 5%, transparent); }
.mk-problems article > span { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--v); padding-top: 3px; }
.mk-problems h3 { margin: 0 0 6px; font-size: 17px; }
.mk-problems p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
@media (max-width: 1000px) { .mk-split { grid-template-columns: minmax(0, 1fr); gap: 36px; } .mk-split > div:first-child { position: static; } }

/* the new model: three layers in, the core, three layers out */
.mk-system { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 22px; align-items: center; min-height: 500px; padding: 40px 36px 70px; border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--v) 10%, transparent), transparent 45%), rgba(10, 18, 42, .75); }
.mk-system .mk-grid { -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.mk-system .col { position: relative; z-index: 2; display: grid; gap: 10px; }
.mk-system .chip { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(17, 27, 52, .92); font-size: 14px; color: #d4deea; transition: transform .3s, border-color .3s; }
.mk-system .chip:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--v) 50%, transparent); }
.mk-system .chip small { display: block; font-size: 12px; color: var(--haze); }
.mk-system .g { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(52, 189, 232, .12); color: var(--blue); }
.mk-system .col:last-of-type .g { background: color-mix(in srgb, var(--v) 14%, transparent); color: var(--v); }
.mk-system .centre { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; text-align: center; }
.mk-system .ring { position: relative; width: 200px; height: 200px; display: grid; place-items: center; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--v) 50%, transparent);
  background: radial-gradient(circle, color-mix(in srgb, var(--v) 14%, transparent), rgba(12, 23, 44, .8) 64%); box-shadow: 0 0 70px color-mix(in srgb, var(--v) 12%, transparent); }
.mk-system .ring::before, .mk-system .ring::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--v) 35%, transparent); animation: orbit 28s linear infinite; }
.mk-system .ring::after { inset: -28px; border-style: solid; border-color: rgba(52, 189, 232, .14); animation-direction: reverse; animation-duration: 40s; }
.mk-system .ring b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; }
.mk-system .ring small { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--v); }
.mk-system .centre p { margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
.mk-system .sig { position: absolute; z-index: 1; top: 47%; left: 26%; width: 16%; height: 1px; background: linear-gradient(90deg, transparent, var(--v), transparent); opacity: .6; }
.mk-system .sig.s2 { left: auto; right: 26%; }
.mk-system .sig::after { content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--v); box-shadow: 0 0 12px var(--v); animation: travel-x 3s ease-in-out infinite; }
.mk-system .sig.s2::after { animation-delay: -1.5s; }
@keyframes travel-x { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(calc(16vw)); opacity: 0; } }
.mk-system .legend { position: absolute; left: 28px; right: 28px; bottom: 20px; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--haze); }
.mk-system .legend i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--v); }
@media (max-width: 1000px) { .mk-system { grid-template-columns: 1fr 1fr; } .mk-system .centre { grid-column: 1 / -1; grid-row: 1; } .mk-system .sig { display: none; } }
@media (max-width: 600px) { .mk-system { grid-template-columns: minmax(0, 1fr); padding: 24px 16px; } .mk-system .ring { width: 160px; height: 160px; } .mk-system .legend { position: static; } }

/* the agent workforce */
.mk-agents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mk-agents article { position: relative; overflow: hidden; min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(19, 31, 60, .85), rgba(10, 16, 34, .8));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s; }
.mk-agents article::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--v) 16%, transparent), transparent 45%); }
.mk-agents article:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--v) 45%, transparent); }
.mk-agents article:hover::before { opacity: 1; }
.mk-agents i { position: absolute; right: 18px; top: 22px; font-style: normal; font-size: 11px; letter-spacing: .1em; color: #5f7290; }
.mk-agents .ic { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 13px; font-size: 18px; color: var(--v); background: color-mix(in srgb, var(--v) 12%, transparent); border: 1px solid color-mix(in srgb, var(--v) 22%, transparent); }
.mk-agents article:nth-child(3n+2) .ic { color: var(--blue); background: rgba(52, 189, 232, .1); border-color: rgba(52, 189, 232, .22); }
.mk-agents article:nth-child(3n) .ic { color: var(--yellow); background: rgba(245, 177, 52, .1); border-color: rgba(245, 177, 52, .22); }
.mk-agents h3 { margin: 0 0 8px; font-size: 17px; }
.mk-agents p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
@media (max-width: 1000px) { .mk-agents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mk-agents { grid-template-columns: minmax(0, 1fr); } .mk-agents article { min-height: 0; } }

/* the operating loop: tabs and the step they open */
.mk-loop { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.mk-loop > div:first-child { display: grid; gap: 20px; }
.mk-loop h2 { font-size: clamp(32px, 4.4vw, 56px); }
.mk-steps { padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: rgba(10, 18, 42, .8); }
.mk-steps .tabs { display: grid; gap: 8px; }
.mk-steps button { display: grid; grid-template-columns: 42px minmax(0, 1fr) 24px; align-items: center; gap: 14px; width: 100%; padding: 13px 15px; border: 1px solid transparent; border-radius: 14px; background: transparent;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .3s, border-color .3s; }
.mk-steps button:hover, .mk-steps button.on, .mk-steps button:focus-visible { background: color-mix(in srgb, var(--v) 8%, transparent); border-color: color-mix(in srgb, var(--v) 30%, transparent); outline: none; }
.mk-steps .n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 12px; font-weight: 600; color: var(--v); background: color-mix(in srgb, var(--v) 10%, transparent); border: 1px solid color-mix(in srgb, var(--v) 22%, transparent); }
.mk-steps button b { display: block; font-size: 15px; font-weight: 600; }
.mk-steps button small { display: block; font-size: 13px; color: var(--haze); }
.mk-steps button i { font-style: normal; color: var(--haze); transition: transform .3s, color .3s; }
.mk-steps button.on i { color: var(--v); transform: translateX(4px); }
.mk-steps .detail { position: relative; overflow: hidden; margin-top: 16px; min-height: 120px; padding: 20px 22px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--v) 22%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--v) 10%, transparent), rgba(52, 189, 232, .04)); }
.mk-steps .detail small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--v); }
.mk-steps .detail p { margin: 8px 0 0; font-size: 15px; line-height: 1.7; color: #c8d4e2; }
.mk-steps .timer { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--v); transform-origin: left; transform: scaleX(0); opacity: .7; }
.mk-steps .detail.run .timer { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 1000px) { .mk-loop { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* signature experiences, each with a small drawing */
.mk-sig { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; }
.mk-sig article { position: relative; overflow: hidden; min-height: 320px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(155deg, rgba(19, 31, 60, .92), rgba(10, 16, 34, .85)); }
.mk-sig article.featured { border-color: color-mix(in srgb, var(--v) 30%, transparent); background: radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--v) 14%, transparent), transparent 45%), linear-gradient(155deg, rgba(18, 37, 56, .95), rgba(10, 16, 34, .9)); }
.mk-sig small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--v); }
.mk-sig h3 { margin: 16px 0 10px; font-family: var(--display); font-weight: 400; font-size: 26px; }
.mk-sig p { margin: 0; max-width: 34ch; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.mk-sig .art { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; overflow: hidden; }
.mk-sig .brain i { position: absolute; left: 30px; right: 30px; bottom: -48px; height: 150px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--v) 35%, transparent); transform: rotate(-8deg); }
.mk-sig .brain i::before, .mk-sig .brain i::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--v) 35%, transparent); animation: orbit 30s linear infinite; }
.mk-sig .brain i::after { inset: 36px; border-style: solid; animation: none; background: radial-gradient(circle, var(--v) 0 5px, transparent 6px); }
.mk-sig .road { border-top: 0; }
.mk-sig .road::before { content: ""; position: absolute; left: 24px; right: 24px; bottom: 22px; height: 56px; border-top: 1px solid rgba(52, 189, 232, .45); border-radius: 50%; transform: rotate(-6deg); }
.mk-sig .road i { position: absolute; bottom: 60px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: ping-dot 3.2s ease-in-out infinite; }
.mk-sig .road i:nth-child(1) { left: 16%; bottom: 52px; } .mk-sig .road i:nth-child(2) { left: 38%; bottom: 64px; animation-delay: .8s; } .mk-sig .road i:nth-child(3) { left: 60%; bottom: 70px; animation-delay: 1.6s; } .mk-sig .road i:nth-child(4) { left: 82%; bottom: 72px; animation-delay: 2.4s; }
@keyframes ping-dot { 0%, 100% { opacity: .35; transform: scale(.8); } 20% { opacity: 1; transform: scale(1.3); } }
.mk-sig .bars { display: flex; align-items: flex-end; gap: 8px; padding: 0 26px; }
.mk-sig .bars i { flex: 1; height: 80px; border: 1px solid rgba(245, 177, 52, .35); border-bottom: 0; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, rgba(245, 177, 52, .25), rgba(245, 177, 52, .02));
  transform-origin: bottom; animation: bar 2.8s ease-in-out infinite alternate; }
.mk-sig .bars i:nth-child(1) { transform: scaleY(.45); animation-delay: -.2s; } .mk-sig .bars i:nth-child(2) { animation-delay: -.8s; } .mk-sig .bars i:nth-child(3) { animation-delay: -1.5s; } .mk-sig .bars i:nth-child(4) { animation-delay: -.4s; } .mk-sig .bars i:nth-child(5) { animation-delay: -1.2s; }
@keyframes bar { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
@media (max-width: 1000px) { .mk-sig { grid-template-columns: 1fr 1fr; } .mk-sig .featured { grid-column: 1 / -1; } }
@media (max-width: 600px) { .mk-sig { grid-template-columns: minmax(0, 1fr); } .mk-sig .featured { grid-column: auto; } .mk-sig article { min-height: 280px; } }

/* one core for different needs */
.mk-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mk-scale article { padding: 28px; border-top: 1px solid color-mix(in srgb, var(--v) 55%, transparent); background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent); }
.mk-scale small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--v); }
.mk-scale h3 { margin: 16px 0 10px; font-family: var(--display); font-weight: 400; font-size: 23px; }
.mk-scale p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
@media (max-width: 800px) { .mk-scale { grid-template-columns: minmax(0, 1fr); } }

/* trust by design */
.mk-trust { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; align-items: center; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(110deg, rgba(17, 30, 56, .92), rgba(11, 17, 36, .92)); }
.mk-trust > div { display: grid; gap: 14px; }
.mk-trust h2 { font-size: clamp(26px, 3vw, 38px); }
.mk-trust p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
.mk-trust ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #d0dbe8; }
.mk-trust li::before { content: "✓"; flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; color: var(--v); background: color-mix(in srgb, var(--v) 12%, transparent); }
@media (max-width: 900px) { .mk-trust { grid-template-columns: minmax(0, 1fr); padding: 24px; } .mk-trust ul { grid-template-columns: minmax(0, 1fr); } }
.finale .mk-foot { margin-inline: auto; text-align: center; }

/* ===== Training Intelligence ===== */
.tr-repeat-head { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--haze); }
.tr-repeat article > em { align-self: center; font-style: normal; font-size: 20px; color: var(--v); opacity: .7; animation: orbit 6s linear infinite; }
/* the four stages, joined by a line that fills as you read */
.tr-stages { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.tr-stages::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--v), rgba(52, 189, 232, .1)); opacity: .5; }
.tr-stages li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 26px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.tr-stages .no { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-size: 22px; color: var(--v);
  background: #0a1430; border: 1px solid color-mix(in srgb, var(--v) 50%, transparent); box-shadow: 0 0 0 6px rgba(8, 17, 40, .9), 0 0 30px color-mix(in srgb, var(--v) 25%, transparent); }
.tr-stages small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--v); }
.tr-stages h3 { margin: 8px 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.tr-stages p { margin: 0 0 10px; max-width: 70ch; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.tr-stages .tag { align-self: start; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 700px) { .tr-stages li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-right: 0; } .tr-stages .no { width: 48px; height: 48px; font-size: 17px; } .tr-stages::before { left: 23px; } .tr-stages .tag { display: none; } }

/* the demo console: a fictional application on the left, what the engine does with it on the right */
.tr { background: #0a1126; border-bottom: 1px solid var(--line); }
.tr-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.tr-app { padding: 22px; border-right: 1px solid var(--line); transition: opacity .6s; }
.tr[data-phase="1"] .tr-app { opacity: .45; }
.tr-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #0f1b38; font-size: 12.5px; color: var(--muted); }
.tr-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(173, 196, 238, .25); }
.tr-bar span { margin-left: 8px; } .tr-bar em { font-style: normal; color: var(--ink); }
.tr-bar .rec { margin-left: auto; font-size: 11px; letter-spacing: .1em; color: var(--red); opacity: 0; transition: opacity .4s; }
.tr[data-phase="0"] .tr-bar .rec { opacity: 1; animation: live 1.4s ease-in-out infinite; }
.tr-win { position: relative; display: grid; grid-template-columns: 130px minmax(0, 1fr); min-height: 270px; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: #0c1630; }
.tr-win aside { display: grid; align-content: start; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--line); }
.tr-win aside span { padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--muted); }
.tr-win .main { position: relative; padding: 16px 20px; display: grid; align-content: start; gap: 14px; }
.tr-win .head { display: flex; align-items: center; justify-content: space-between; }
.tr-win .head b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.tr-win .new { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.tr-win .form { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 14px; align-items: center; }
.tr-win .lbl { font-size: 12.5px; color: var(--haze); }
.tr-win .field { height: 34px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 13.5px; }
.tr-win .field em { font-style: normal; opacity: 0; transition: opacity .4s; }
.tr-win .field.done em { opacity: 1; }
.tr-win .submit { grid-column: 2; justify-self: start; padding: 8px 16px; border-radius: 8px; background: rgba(52, 189, 232, .16); border: 1px solid rgba(52, 189, 232, .45); font-size: 13px; font-weight: 600; }
.tr-win [data-t] { position: relative; transition: border-color .3s, background .3s, box-shadow .3s, color .3s; }
.tr-win [data-t].done:not(.field) { color: #fff; background: rgba(52, 189, 232, .14); }
.tr-win [data-t].hit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid var(--v); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.tr-win [data-t].guide { border-color: var(--green) !important; box-shadow: 0 0 0 3px rgba(20, 161, 126, .25), 0 0 18px rgba(20, 161, 126, .45); }
.tr-win aside [data-t].guide { color: #fff; }
.tr-win .tip { position: absolute; right: 20px; top: 104px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #081128; background: var(--orange); opacity: 0; transform: translateY(4px); transition: all .4s; }
.tr-win .tip.on { opacity: 1; transform: none; }
.tr-win .cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 18px; height: 18px; opacity: 0; pointer-events: none; transition: transform .65s cubic-bezier(.5, 0, .2, 1), opacity .3s;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 1l13 7-6 1.5L6.5 16z' fill='%23ffffff' stroke='%23081128' stroke-width='1.2'/%3E%3C/svg%3E"); }
.tr-win .cursor.on { opacity: 1; }
.tr-win .cursor.learner { filter: drop-shadow(0 0 6px rgba(20, 161, 126, .9)); }
.tr-side { position: relative; padding: 22px; min-height: 330px; }
.tr-side .pane { position: absolute; inset: 22px; display: grid; align-content: start; gap: 12px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; pointer-events: none; }
.tr[data-phase="0"] .pane[data-p="0"], .tr[data-phase="1"] .pane[data-p="1"], .tr[data-phase="2"] .pane[data-p="2"], .tr[data-phase="3"] .pane[data-p="3"] { opacity: 1; transform: none; }
.pane-h { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tr .cap { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 8px; }
.tr .cap li { counter-increment: c; display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); opacity: .3; transform: translateX(8px); transition: all .4s; }
.tr .cap li::before { content: counter(c, decimal-leading-zero); font-size: 11px; font-weight: 600; color: var(--v); }
.tr .cap li.on { opacity: 1; transform: none; color: var(--ink); border-color: rgba(52, 189, 232, .4); background: rgba(52, 189, 232, .07); }
.tr .gen { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.tr .gen .ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(245, 177, 52, .14); color: var(--yellow); }
.tr .gen b { display: block; font-size: 14.5px; } .tr .gen small { font-size: 12.5px; color: var(--haze); }
.tr .gen i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.tr[data-phase="1"] .gen i { animation: fill var(--t) cubic-bezier(.4, 0, .2, 1) forwards; }
.tr .msg { margin: 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.tr .msg small { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--haze); }
.tr .msg.q { margin-right: 18%; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.tr .msg.a { margin-left: 10%; background: rgba(234, 117, 50, .12); border: 1px solid rgba(234, 117, 50, .45); }
.tr .msg.on { opacity: 1; transform: none; }
.tr .avatar { position: relative; width: 96px; height: 96px; margin: 10px auto 6px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2bd3a8, #14A17E 55%, #0b5e4b); color: #fff; font-weight: 700; font-size: 20px; box-shadow: 0 0 40px rgba(20, 161, 126, .45); }
.tr .avatar i { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(20, 161, 126, .6); opacity: 0; }
.tr[data-phase="3"] .avatar i { animation: listen 1.6s ease-out infinite; } .tr[data-phase="3"] .avatar i + i { animation-delay: .8s; }
.tr .say { margin: 0; text-align: center; font-family: var(--display); font-size: 19px; line-height: 1.35; min-height: 52px; }
@media (max-width: 900px) { .tr-body { grid-template-columns: minmax(0, 1fr); } .tr-app { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; } .tr-win { grid-template-columns: 96px minmax(0, 1fr); } .tr-win .form { grid-template-columns: 1fr; } .tr-win .submit { grid-column: 1; } .tr-win .tip { top: 8px; } }
@media (prefers-reduced-motion: reduce) { .mk-rings, .mk-links path, .mk-core, .mk-node, .mk-ticker .track, .mk-system .ring::before, .mk-system .ring::after, .mk-system .sig::after, .mk-sig .brain i::before, .mk-sig .road i, .mk-sig .bars i, .tr-repeat article > em { animation: none !important; } }

/* ===== one type scale for every section, taken from the Deep Tech page (same fonts: Calistoga for headings, Aileron for text) ===== */
:root {
  --top: 140px;    /* the site menu (68px) and the section bar under it (45px), with some air */
  --bars: 120px;   /* where an anchored section stops under the two bars */
  --t-title: clamp(2.1rem, 4.2vw, 4.25rem);   /* page title (Deep Tech's hero) */
  --t-section: clamp(2rem, 4.2vw, 4rem);      /* section heading */
  --t-sub: clamp(1.75rem, 2.6vw, 2.5rem);     /* sub-heading, statement */
  --t-card: clamp(1.25rem, 1.6vw, 1.5rem);    /* display title on a card */
  --t-lede: 1.1875rem;   /* intro paragraph */
  --t-body: 1.0625rem;   /* running text */
  --t-small: .9375rem;   /* card text, links in the section bar */
  --t-label: .8125rem;   /* small capitals: labels, numbers */
}
h1, h1.decode, .sub-hero h1.decode, .split-hero h1.decode { font-size: var(--t-title); line-height: 1.02; letter-spacing: -.012em; }
h2, .hook, .mk-head h2, .mk-loop h2, .sub .area-intro h2 { font-size: var(--t-section); line-height: 1.02; }
.mk-statement, .tr-stages h3, .mk-trust h2, .finale .hook { font-size: var(--t-sub); line-height: 1.1; }
.mk-sig h3, .mk-scale h3, .pager span, .lane b, .quote, .mk-system .ring b { font-size: var(--t-card); line-height: 1.2; }
.lede, .area .lede, .sub-hero .lede { font-size: var(--t-lede); line-height: 1.6; }
.eyebrow, .points li, .mk-copy { font-size: var(--t-body); }
.caps b, .mk-problems h3, .mk-agents h3, .mk-steps button b { font-size: 1.125rem; }
.caps .d, .mk-problems p, .mk-agents p, .mk-sig p, .mk-scale p, .mk-trust p, .mk-trust li, .mk-steps .detail p, .tr-stages p, .mk-aside, .crumbs, .mk-steps button small { font-size: var(--t-small); }
.areas b, .caps b::before, .quote span, .pager small, .lane, .status, .mk-sig small, .mk-scale small, .mk-steps .detail small, .tr-stages small, .tr-repeat-head, .pane-h, .mk-problems article > span, .mk-ticker .track, .mk-note, .mk-foot { font-size: var(--t-label); }
.explore, .btn, .finale .cta span { font-size: 1rem; }
@media (max-width: 1100px) { :root { --top: 128px; --bars: 112px; } }
.crumbs { flex-wrap: wrap; row-gap: 4px; } .crumbs > * { white-space: nowrap; }   /* on phones the trail wraps between steps, never inside one */

/* Explore with a choice: Manufacturing opens onto Design Intelligence (its page) or Planning (Digital Supply Chain).
   The two options open under the button on hover or keyboard focus; on touch screens they always show. */
.explore-wrap { position: relative; width: max-content; padding-bottom: 6px; }
button.explore { font-family: inherit; cursor: pointer; }   /* opens the two choices only; it goes nowhere itself */
.explore-menu { position: absolute; left: 0; top: 100%; z-index: 5; display: grid; gap: 4px; min-width: 340px; padding: 8px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(10, 18, 42, .96); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; }
.explore-wrap:hover .explore-menu, .explore-wrap:focus-within .explore-menu { opacity: 1; visibility: visible; transform: none; }
.explore-menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background .2s; }
.explore-menu a:hover, .explore-menu a:focus-visible { background: color-mix(in srgb, var(--v) 16%, transparent); outline: none; }
.explore-menu b { font-size: var(--t-body); font-weight: 600; }
.explore-menu b::after { content: " →"; color: var(--v); }
.explore-menu span { font-size: var(--t-label); color: var(--muted); }
@media (hover: none) { .explore-menu { position: static; margin-top: 10px; opacity: 1; visibility: visible; transform: none; min-width: 0; } }
