/* =========================================================================
   SkillsBase: Homepage v2  ·  Forge + Kanoptic + App
   Depends on styles.css (tokens, buttons, header/footer, .card, .wave).
   Fresh section styles + custom product animations. Namespaced to avoid
   any collision with the old home.css (which this page does NOT load).
   ========================================================================= */

:root {
  --forge: var(--accent);         /* Forge  = SB blue (was coral; SBWEB-16) */
  --forge-600: var(--accent-600);
  --kan:   var(--teal);           /* Kanoptic = teal      */
  --kan-600: var(--teal-600);
  --app:   #7C5CFC;               /* App = brand violet pop (used sparingly) */
  --app-600: #6544e6;
  --glass: rgba(255,255,255,.06);
  --glass-line: rgba(255,255,255,.12);
}

/* ---------------------------------------------------------------- reveal
   Hidden state only applies once <html> is flagged reveal-ready (set by an
   inline head script when IO is supported + motion allowed + tab visible).
   If JS never runs, everything stays visible. */
html.reveal-ready .ra { opacity: 0; transform: translateY(26px); }
html.reveal-ready .ra.rz { transform: scale(.94); }
html.reveal-ready .ra.rl { transform: translateX(-34px); }
html.reveal-ready .ra.rr { transform: translateX(34px); }
html.reveal-ready .ra {
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.reveal-ready .ra.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .ra { opacity: 1 !important; transform: none !important; }
}

/* ================================================================ HERO shared */
.hx { position: relative; background: var(--deep); color: #DCEAEF; overflow: hidden; isolation: isolate; }
.hx__wave { color: #fff; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4; }
.hx__wave svg { width: 100%; height: clamp(48px, 6vw, 96px); }

/* animated background: drifting brand blobs + grid + slow scan sheen */
.hx__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hx__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hx__blob.b1 { width: 620px; height: 620px; left: -180px; top: -220px; background: rgba(78,194,204,.30); }
.hx__blob.b2 { width: 680px; height: 680px; right: -220px; top: -120px; background: rgba(18,168,182,.30); }
.hx__blob.b3 { width: 520px; height: 520px; left: 38%; bottom: -260px; background: rgba(252,31,93,.24); }
.hx__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
          mask: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.hx__vign { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hx__blob.b1 { animation: blobA 20s var(--ease) infinite alternate; }
  .hx__blob.b2 { animation: blobB 24s var(--ease) infinite alternate; }
  .hx__blob.b3 { animation: blobA 28s var(--ease) infinite alternate; }
}
@keyframes blobA { to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes blobB { to { transform: translate(-50px, 30px) scale(1.08); } }

.hx__inner { position: relative; z-index: 3; }
.hx-eyebrow { color: var(--teal-400); }
.eyebrow::before { background: var(--accent); }
.hx-chalso { color: #9FBcC6; }

/* -------------------------------------------------- HERO A (cinematic) */
#heroA { padding-top: calc(var(--hh) + clamp(40px, 7vw, 92px)); padding-bottom: clamp(90px, 12vw, 150px); }
#heroA .hx__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.hxa__title {
  color: #fff; font-weight: 900; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(40px, 5.6vw, 74px); margin-top: 20px;
}
.hxa__title .type-wrap { display: inline-flex; align-items: baseline; }
.hxa__title .type-word { color: var(--teal-400); }
.hxa__title .type-caret { width: 4px; height: .82em; margin-left: 6px; border-radius: 3px; background: var(--teal-400); display: inline-block; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hxa__sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #B9D2D8; margin-top: 22px; max-width: 560px; }
.hxa__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hxa__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hxa__chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px;
  border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line);
  font-weight: 800; font-size: 14px; color: #EAF6F7; backdrop-filter: blur(6px);
}
.hxa__chip .dot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.hxa__chip .dot.forge { background: var(--forge); }
.hxa__chip .dot.kan { background: var(--kan); }
.hxa__chip .dot.app { background: var(--app); }
@media (prefers-reduced-motion: no-preference) {
  .hxa__chip .dot { animation: pulseDot 2.4s var(--ease) infinite; }
  .hxa__chip:nth-child(2) .dot { animation-delay: .5s; }
  .hxa__chip:nth-child(3) .dot { animation-delay: 1s; }
}
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 3px rgba(255,255,255,.05); } 50% { box-shadow: 0 0 0 7px rgba(255,255,255,.02); } }

/* hero A "field console" object */
.console {
  position: relative; border-radius: var(--r-xl); padding: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--glass-line); box-shadow: 0 40px 90px rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
}
.console__bar { display: flex; align-items: center; gap: 8px; padding: 2px 6px 14px; }
.console__bar .lbl { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #9FBcC6; margin-left: 4px; }
.console__bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--teal-400); }
.console__bar .live b { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 0 rgba(78,194,204,.6); }
@media (prefers-reduced-motion: no-preference) { .console__bar .live b { animation: liveDot 1.6s ease-out infinite; } }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(78,194,204,.55); } 100% { box-shadow: 0 0 0 8px rgba(78,194,204,0); } }
.console__dots { display: flex; gap: 5px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }

/* camera tile with animated detection boxes */
.cam {
  position: relative; height: 230px; border-radius: 16px; overflow: hidden;
  background: #072a3b;
  border: 1px solid rgba(255,255,255,.08);
}
.cam__scene { position: absolute; inset: 0; opacity: .9;
  background: rgba(18,168,182,.06);
}
.cam__scan { position: absolute; top: 0; bottom: 0; width: 40%;
  background: rgba(78,194,204,.20);
  filter: blur(.5px); }
@media (prefers-reduced-motion: no-preference) { .cam__scan { animation: scanX 3.4s var(--ease) infinite; } }
@keyframes scanX { 0% { left: -42%; } 100% { left: 102%; } }
.cam__box { position: absolute; border: 2px solid var(--danger); border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.cam__box span { position: absolute; top: -20px; left: -2px; font-family: var(--mono); font-size: 10px; font-weight: 700;
  background: var(--danger); color: #fff; padding: 1px 7px; border-radius: 5px 5px 5px 0; white-space: nowrap; }
.cam__box.ok { border-color: var(--teal-400); }
.cam__box.ok span { background: var(--teal-400); color: #04222f; }
.cam__box.b-a { left: 12%; top: 24%; width: 30%; height: 34%; }
.cam__box.b-b { left: 56%; top: 46%; width: 30%; height: 40%; }
@media (prefers-reduced-motion: no-preference) {
  .cam__box { opacity: 0; animation: boxIn 6s var(--ease) infinite; }
  .cam__box.b-b { animation-delay: 1.1s; }
}
@keyframes boxIn { 0%,6% { opacity: 0; transform: scale(.9); } 14%,74% { opacity: 1; transform: none; } 84%,100% { opacity: 0; } }

/* console readout row */
.console__read { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.rd { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; }
.rd .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8FAAB4; }
.rd .v { font-weight: 900; font-size: 22px; color: #fff; letter-spacing: -.02em; margin-top: 4px; display: flex; align-items: baseline; gap: 5px; }
.rd .v small { font-size: 12px; font-weight: 700; color: var(--teal-400); }
.rd .v.warn { color: #FFC7CB; }
.rd .v.warn small { color: var(--danger); }

/* floating badge on console */
.console__tag {
  position: absolute; right: -14px; top: 64px; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 11px 15px; box-shadow: var(--sh-xl); z-index: 5;
}
.console__tag .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-100); color: var(--accent-600); }
.console__tag .ic svg { width: 19px; height: 19px; }
.console__tag b { display: block; font-size: 15px; letter-spacing: -.01em; }
.console__tag small { display: block; font-size: 12px; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) { .console__tag { animation: floaty 5s var(--ease) infinite; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* -------------------------------------------------- HERO B (triptych) */
#heroB { padding-top: calc(var(--hh) + clamp(36px, 6vw, 78px)); padding-bottom: clamp(84px, 11vw, 140px); }
#heroB .hx__inner { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hxb__title { color: #fff; font-weight: 900; letter-spacing: -.03em; line-height: 1.04; font-size: clamp(38px, 5vw, 66px); margin-top: 18px; }
.hxb__title em { font-style: normal; color: var(--teal-400); }
.hxb__sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #B9D2D8; margin-top: 20px; max-width: 500px; }
.hxb__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hxb__meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.hxb__meta div { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: #9FBcC6; }
.hxb__meta svg { width: 17px; height: 17px; color: var(--teal-400); }

.trip { display: grid; gap: 14px; }
.tcard {
  position: relative; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 16px;
  padding: 18px; border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--glass-line); backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tcard:hover { transform: translateX(6px); border-color: rgba(255,255,255,.28); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.tcard::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; }
.tcard.forge::before { background: var(--forge); }
.tcard.kan::before { background: var(--kan); }
.tcard.app::before { background: var(--app); }
.tcard__ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; }
.tcard.forge .tcard__ic { background: rgba(78,194,204,.16); color: var(--accent); }
.tcard.kan .tcard__ic { background: rgba(18,168,182,.16); color: var(--teal-400); }
.tcard.app .tcard__ic { background: rgba(124,92,252,.18); color: #B7A6FF; }
.tcard__ic svg { width: 26px; height: 26px; }
.tcard__ic .anvil { width: 27px; height: 27px; background: var(--accent); -webkit-mask: url("/landing/273f7a14.png") center/contain no-repeat; mask: url("/landing/273f7a14.png") center/contain no-repeat; }
.tcard__t { display: block; font-weight: 900; font-size: 18px; color: #fff; letter-spacing: -.02em; }
.tcard__t .badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-400); border: 1px solid rgba(78,194,204,.4); border-radius: 999px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }
.tcard__d { display: block; font-size: 13.5px; color: #A9C4CC; margin-top: 4px; line-height: 1.4; }
.tcard__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s var(--ease), transform .2s var(--ease); }
.tcard__go svg { width: 18px; height: 18px; }
.tcard:hover .tcard__go { background: #fff; color: var(--deep); transform: translateX(3px); }

/* ================================================================ TRUST */
.trust { padding-block: clamp(40px, 5vw, 64px); }
.trust__lead { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 30px; }
/* Narrower than one set of logos, so the looping copy never shows a logo twice */
.marquee { max-width: 900px; margin-inline: auto; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 66px; width: max-content; }
.marquee__track img { flex-shrink: 0; height: 34px; width: auto; opacity: .74; filter: grayscale(1); }
.marquee__track img.is-dark { opacity: .5; } /* black logos (Sky, AFL): match the weight of the greyed colour logos */
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: marq 36s linear infinite; } }
@keyframes marq { to { transform: translateX(-50%); } }

/* ================================================================ PRODUCT ROWS */
.prod { position: relative; }
.prod__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: center; }
.prod__row + .prod__row { margin-top: clamp(64px, 8vw, 120px); }
.prod__row.flip .prod__media { order: -1; }
.prod__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 14px; letter-spacing: -.01em; }
.prod__kicker .tag { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.prod.forge .prod__kicker { color: var(--forge-600); } .prod.forge .prod__kicker .tag { background: var(--accent-100); color: var(--accent-600); }
.prod.kan .prod__kicker { color: var(--kan-600); } .prod.kan .prod__kicker .tag { background: var(--teal-100); color: var(--teal-600); }
.prod.app .prod__kicker { color: var(--app-600); } .prod.app .prod__kicker .tag { background: rgba(124,92,252,.12); color: var(--app-600); }
.prod__h { font-size: clamp(27px, 3.2vw, 40px); font-weight: 900; letter-spacing: -.02em; margin-top: 16px; line-height: 1.08; }
.prod__p { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); margin-top: 16px; line-height: 1.6; max-width: 500px; }
.prod__list { display: grid; gap: 12px; margin-top: 22px; }
.prod__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--ink-2); font-weight: 600; }
.prod__list .ck { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.prod__list .ck svg { width: 13px; height: 13px; stroke-width: 3; }
.prod.forge .ck { background: var(--accent-100); color: var(--accent-600); }
.prod.kan .ck { background: var(--teal-100); color: var(--teal-600); }
.prod.app .ck { background: rgba(124,92,252,.14); color: var(--app-600); }
.prod__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn--app { background: var(--app); color: #fff; }
.btn--app:hover { background: var(--app-600); transform: translateY(-2px); }

/* media frame */
.frame {
  position: relative; border-radius: var(--r-xl); padding: 22px;
  background: #08293a;
  border: 1px solid rgba(255,255,255,.08); box-shadow: var(--sh-xl); overflow: hidden;
}
.frame::after { content: none; }
.frame__glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(80px); opacity: .5; z-index: 0; }
.prod.forge .frame__glow { background: rgba(78,194,204,.45); right: -80px; top: -90px; }
.prod.kan .frame__glow { background: rgba(18,168,182,.5); left: -80px; bottom: -90px; }
.prod.app .frame__glow { background: rgba(124,92,252,.45); right: -80px; bottom: -90px; }
.frame > * { position: relative; z-index: 1; }

/* -------- FORGE demo: Label -> Train -> Deploy -------- */
.fg { display: grid; gap: 16px; }
.fg__cam { position: relative; height: 210px; border-radius: 14px; overflow: hidden; background: #0b3547; border: 1px solid rgba(255,255,255,.08); }
.fg__cam .grain { display: none; }
.fg__scan { position: absolute; top: 0; bottom: 0; width: 46%; background: rgba(240,83,92,.30); }
@media (prefers-reduced-motion: no-preference) { .fg__scan { animation: scanX 3.2s var(--ease) infinite; } }
.fg__box { position: absolute; border: 2px solid var(--danger); border-radius: 6px; }
.fg__box span { position: absolute; top: -19px; left: -2px; font-family: var(--mono); font-size: 10px; font-weight: 700; background: var(--danger); color: #fff; padding: 1px 7px; border-radius: 5px 5px 5px 0; }
.fg__box.ok { border-color: var(--teal-400); } .fg__box.ok span { background: var(--teal-400); color: #04222f; }
.fg__box.x1 { left: 14%; top: 22%; width: 32%; height: 40%; } .fg__box.x2 { left: 58%; top: 40%; width: 28%; height: 42%; }
@media (prefers-reduced-motion: no-preference) { .fg__box { opacity: 0; animation: boxIn 5.6s var(--ease) infinite; } .fg__box.x2 { animation-delay: 1s; } }
.fg__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.fg__step { position: relative; padding: 12px 12px 13px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.fg__step .n { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: #8FAAB4; }
.fg__step .t { font-weight: 800; font-size: 14px; color: #fff; margin-top: 4px; }
.fg__step .bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 10px; overflow: hidden; }
.fg__step .bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--forge); }
@media (prefers-reduced-motion: no-preference) {
  .fg__step.s1 .bar i { animation: fill1 5.6s var(--ease) infinite; }
  .fg__step.s2 .bar i { animation: fill2 5.6s var(--ease) infinite; }
  .fg__step.s3 .bar i { animation: fill3 5.6s var(--ease) infinite; }
  .fg__step.done { animation: stepLit 5.6s step-end infinite; }
}
@keyframes fill1 { 0%,4% { width: 0; } 26%,100% { width: 100%; } }
@keyframes fill2 { 0%,30% { width: 0; } 56%,100% { width: 100%; } }
@keyframes fill3 { 0%,60% { width: 0; } 88%,100% { width: 100%; } }
@keyframes stepLit { 0%,88% { border-color: rgba(255,255,255,.08); } 90%,100% { border-color: rgba(78,194,204,.6); } }
.fg__foot { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: #9FBcC6; }
.fg__foot b { color: var(--teal-400); font-size: 15px; }

/* -------- KANOPTIC demo: OTDR trace + fault -------- */
.kn { display: grid; gap: 14px; }
.kn__screen { position: relative; height: 216px; border-radius: 14px; overflow: hidden; background: #06303c; border: 1px solid rgba(255,255,255,.08); }
.kn__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 34px 30px; }
.kn__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.kn__trace { fill: none; stroke: var(--teal-400); stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(78,194,204,.6)); stroke-dasharray: 620; stroke-dashoffset: 620; }
@media (prefers-reduced-motion: no-preference) { .kn__trace { animation: draw 5s var(--ease) infinite; } }
@keyframes draw { 0% { stroke-dashoffset: 620; } 34%,84% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.kn__cursor { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.45); }
@media (prefers-reduced-motion: no-preference) { .kn__cursor { animation: scanX 5s var(--ease) infinite; } }
.kn__fault { position: absolute; left: 64%; top: 34%; }
.kn__fault .ring { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--danger); }
@media (prefers-reduced-motion: no-preference) { .kn__fault .ring { animation: faultPulse 1.8s var(--ease) infinite; } }
@keyframes faultPulse { 0% { box-shadow: 0 0 0 0 rgba(240,83,92,.5); } 100% { box-shadow: 0 0 0 16px rgba(240,83,92,0); } }
.kn__fault .lab { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 10px; font-weight: 700; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 6px; }
.kn__read { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kn__read .rd { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 11px 13px; }
.kn__read .k { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8FAAB4; }
.kn__read .v { font-weight: 900; font-size: 19px; color: #fff; margin-top: 3px; }
.kn__read .v.hot { color: #FFC7CB; }

/* -------- APP demo: phone checklist -------- */
.ap { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.phone { width: 178px; margin: 0 auto; border-radius: 30px; padding: 10px; background: #071f2b; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.phone__scr { position: relative; border-radius: 22px; overflow: hidden; background: #0a2b39; padding: 16px 13px; min-height: 300px; }
.phone__hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phone__hdr .ttl { font-weight: 800; font-size: 13px; color: #fff; }
.ring { position: relative; width: 40px; height: 40px; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: rgba(255,255,255,.12); }
.ring .fg { stroke: var(--app); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; }
@media (prefers-reduced-motion: no-preference) { .ring .fg { animation: ringFill 6s var(--ease) infinite; } }
@keyframes ringFill { 0%,6% { stroke-dashoffset: 100; } 74%,100% { stroke-dashoffset: 6; } }
.ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; font-weight: 700; color: #fff; }
.task { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 11px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); margin-bottom: 8px; }
.task .bx { width: 20px; height: 20px; border-radius: 6px; border: 2px solid rgba(255,255,255,.25); flex-shrink: 0; display: grid; place-items: center; color: #fff; }
.task .bx svg { width: 12px; height: 12px; stroke-width: 3.4; opacity: 0; }
.task .tx { font-size: 12px; font-weight: 700; color: #CFE3E9; }
@media (prefers-reduced-motion: no-preference) {
  .task.t1 { animation: taskDo 6s step-end infinite; } .task.t2 { animation: taskDo 6s step-end infinite; animation-delay: .1s; }
  .task.t3 { animation: taskDo 6s step-end infinite; }
  .task.t1 .bx svg { animation: tick 6s step-end infinite; } .task.t2 .bx svg { animation: tick2 6s step-end infinite; } .task.t3 .bx svg { animation: tick3 6s step-end infinite; }
  .task.t1 .bx { animation: bxDo 6s step-end infinite; } .task.t2 .bx { animation: bxDo2 6s step-end infinite; } .task.t3 .bx { animation: bxDo3 6s step-end infinite; }
}
@keyframes tick { 0%,16% { opacity: 0; } 22%,100% { opacity: 1; } }
@keyframes tick2 { 0%,36% { opacity: 0; } 42%,100% { opacity: 1; } }
@keyframes tick3 { 0%,56% { opacity: 0; } 62%,100% { opacity: 1; } }
@keyframes bxDo { 0%,16% { background: transparent; border-color: rgba(255,255,255,.25); } 22%,100% { background: var(--app); border-color: var(--app); } }
@keyframes bxDo2 { 0%,36% { background: transparent; border-color: rgba(255,255,255,.25); } 42%,100% { background: var(--app); border-color: var(--app); } }
@keyframes bxDo3 { 0%,56% { background: transparent; border-color: rgba(255,255,255,.25); } 62%,100% { background: var(--app); border-color: var(--app); } }
@keyframes taskDo { 0%,16% { } }
.phone__stamp { margin-top: 12px; text-align: center; font-weight: 900; font-size: 13px; letter-spacing: .04em; color: #fff; border: 1.5px dashed rgba(124,92,252,.6); border-radius: 10px; padding: 8px; opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .phone__stamp { animation: stamp 6s var(--ease) infinite; } }
@keyframes stamp { 0%,70% { opacity: 0; transform: scale(.9); } 78%,96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ap__side { display: grid; gap: 12px; }
.ap__side .mini { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; }
.ap__side .mini .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(124,92,252,.16); color: #B7A6FF; flex-shrink: 0; }
.ap__side .mini .ic svg { width: 18px; height: 18px; }
.ap__side .mini b { display: block; font-size: 14px; color: #fff; }
.ap__side .mini small { font-size: 12px; color: #9FBcC6; }

/* ================================================================ FLOW */
.flow { position: relative; }
.flow__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; position: relative; }
.flow__line { position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); z-index: 0; }
.fstep { position: relative; z-index: 1; text-align: center; }
.fstep__num { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-md); position: relative; }
.fstep__num svg { width: 38px; height: 38px; }
.fstep__num .anvil { width: 38px; height: 38px; -webkit-mask: url("/landing/25ed7d98.png") center/contain no-repeat; mask: url("/landing/25ed7d98.png") center/contain no-repeat; } /* transparent anvil; 9de59e92.png has no alpha, so it masked to a square */
/* children start at 2: .flow__line is the grid's first child */
.fstep:nth-child(2) .fstep__num { color: var(--app-600); } .fstep:nth-child(2) .anvil { background: var(--app-600); }
.fstep:nth-child(3) .fstep__num { color: var(--kan-600); } .fstep:nth-child(3) .fstep__num svg { color: var(--kan-600); }
.fstep:nth-child(4) .fstep__num { color: var(--forge-600); } .fstep:nth-child(4) .anvil { background: var(--forge-600); }
.fstep__num .chip { position: absolute; top: -6px; right: -6px; font-family: var(--mono); font-size: 11px; font-weight: 800; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.fstep:nth-child(2) .chip { background: var(--app); } .fstep:nth-child(3) .chip { background: var(--kan); } .fstep:nth-child(4) .chip { background: var(--forge); }
.fstep h3 { font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.fstep .who { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.fstep p { font-size: 15px; color: var(--ink-2); margin-top: 12px; max-width: 320px; margin-inline: auto; line-height: 1.55; }

/* ================================================================ PROOF */
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { text-align: center; padding: 30px 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pcard .ic { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--teal-400); }
.pcard .ic svg { width: 26px; height: 26px; }
.pcard b { display: block; font-size: 17px; color: #fff; font-weight: 900; letter-spacing: -.01em; }
.pcard small { display: block; font-size: 13.5px; color: #A9C4CC; margin-top: 6px; line-height: 1.4; }
.proof__note { text-align: center; margin-top: 26px; font-size: 14px; color: #90AEB7; }
.proof__note a { color: var(--teal-400); font-weight: 700; }

/* ================================================================ INSIGHTS */
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.post-card__img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__img .tag { position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(4,40,56,.72); color: #fff; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.post-card__body { padding: 20px 20px 22px; }
.post-card__date { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.post-card__body h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin-top: 8px; line-height: 1.25; }
.post-card__body p { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }
.post-card__body .arrow-link { margin-top: 14px; font-size: 14.5px; }
.insights__foot { text-align: center; margin-top: 40px; }

/* ================================================================ CTA band */
.cta2 { position: relative; overflow: hidden; }
.cta2__panel {
  position: relative; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; overflow: hidden;
  background: var(--deep-700); border: 1px solid rgba(255,255,255,.08); box-shadow: var(--sh-xl);
}
.cta2__panel .glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta2__panel .g1 { width: 360px; height: 360px; background: rgba(78,194,204,.35); left: -100px; top: -140px; }
.cta2__panel .g2 { width: 380px; height: 380px; background: rgba(18,168,182,.4); right: -120px; bottom: -150px; }
.cta2__inner { position: relative; z-index: 1; }
.cta2 h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.cta2 p { color: #C6DBE1; font-size: clamp(16px, 1.4vw, 19px); margin: 16px auto 0; max-width: 560px; }
.cta2__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ================================================================ HERO SWITCHER (preview) */
.hswitch {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 600;
  display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 16px;
  background: rgba(4,40,56,.9); color: #fff; border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; box-shadow: 0 18px 40px rgba(0,0,0,.4); backdrop-filter: blur(10px);
}
.hswitch__lbl { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9FBcC6; }
.hswitch__btns { display: flex; gap: 4px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; }
.hswitch button { padding: 7px 15px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #C6DBE1; transition: background .18s var(--ease), color .18s var(--ease); }
.hswitch button.on { background: #fff; color: var(--deep); }

/* ================================================================ RESPONSIVE */
@media (max-width: 960px) {
  #heroA .hx__inner, #heroB .hx__inner { grid-template-columns: 1fr; gap: 40px; }
  #heroA .console, #heroB .trip { max-width: 520px; }
  .console__tag { right: 8px; }
  .prod__row, .prod__row.flip { grid-template-columns: 1fr; gap: 30px; }
  .prod__row.flip .prod__media { order: 0; }
  .flow__grid { grid-template-columns: 1fr; gap: 34px; }
  .flow__line { display: none; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .insights__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .ap { grid-template-columns: 1fr; }
  .phone { margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .proof__grid { grid-template-columns: 1fr; }
  .hxa__cta .btn, .hxb__cta .btn { flex: 1 1 auto; }
  .hswitch__lbl { display: none; }
  .console__read, .kn__read { grid-template-columns: 1fr 1fr; }
  .fg__steps { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- real imagery */
/* hero: field footage (desktop) or its first frame (phones, reduced motion) under a brand-dark shade */
.hx__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hx__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4,40,56,.95) 0%, rgba(4,40,56,.84) 40%, rgba(4,40,56,.5) 100%),
  linear-gradient(180deg, rgba(4,40,56,.35) 0%, rgba(4,40,56,0) 30%, rgba(4,40,56,.55) 100%); }
.hx__bg:has(.hx__video) .hx__blob { opacity: .28; }
.hx__bg:has(.hx__video) .hx__grid { opacity: .5; }
@media (max-width: 960px) { .hx__shade { background: rgba(4,40,56,.86); } }

/* product cards: photo thumbnail in place of the icon */
.tcard { grid-template-columns: 104px 1fr auto; }
.tcard__img { width: 104px; height: 78px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.tcard.app .tcard__img img { object-fit: contain; padding: 4px; }
.tcard:hover .tcard__img img { transform: scale(1.06); }
@media (max-width: 560px) { .tcard { grid-template-columns: 76px 1fr auto; } .tcard__img { width: 76px; height: 60px; } }

/* ISO 27001 badge */
.hxb__iso img { width: auto; height: 42px; border-radius: 3px; display: block; }

/* full-width field photo */
.photo-band { position: relative; height: clamp(260px, 34vw, 480px); overflow: hidden; background: var(--deep); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,40,56,.18), rgba(4,40,56,0) 30%, rgba(4,40,56,0) 70%, rgba(4,40,56,.22)); pointer-events: none; }


/* ---------------------------------------------------------- Forge + Kanoptic product visuals
   Ported from Clodagh's homepage update (development branch, 1ecf3a2): real product photos
   in the Forge scan mock-up and the Splice Fault Detector kit beside the Kanoptic readout. */
.prod.kan .frame {min-height: 480px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;}
.prod.kan .frame__glow {display: none;}
.kn--device {position: relative;
  display: block;
  min-height: 480px;}
.kn__panel {position: absolute;
  top: 26px;
  right: 0;
  z-index: 1;
  width: 84%;
  padding: 16px;
  border-radius: 18px;
  background: #08293a;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 46px rgba(4,40,56,.18);
  margin-left: 0;}
.kn__device {position: absolute;
  z-index: 5;
  left: -22%;
  bottom: 0;
  width: min(74%, 390px);
  aspect-ratio: 1 / 1;
  display: block;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 26px 32px rgba(4,40,56,.26));}
.kn--device::after {content: "";
  position: absolute;
  left: -2%;
  bottom: 2%;
  width: 52%;
  height: 10%;
  border-radius: 50%;
  background: rgba(4,40,56,.12);
  filter: blur(20px);
  z-index: 4;}
@media (max-width: 960px) {
  .prod.kan .frame {min-height: 430px;}
  .kn--device {min-height: 430px;}
  .kn__panel {width: 82%;}
  .kn__device {left: -18%; width: min(72%, 360px);}
}
@media (max-width: 560px) {
  .prod.kan .frame {min-height: 0;}
  .prod.kan .kn--device {display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;}
  .kn__panel {position: relative;
    order: 1;
    top: 0;
    right: auto;
    width: 100%;
    padding: 12px;}
  .kn__device {position: relative;
    order: 2;
    width: min(82%, 290px);
    left: auto;
    bottom: auto;
    margin-inline: auto;
    border-radius: 0;}
  .kn--device::after {display: none;}
  .prod.kan .kn__screen {height: 178px;}
  .prod.kan .kn__read {grid-template-columns: repeat(3, 1fr); gap: 6px; margin-left: 0;}
  .prod.kan .kn__read .rd {padding: 8px; border-radius: 9px;}
  .prod.kan .kn__read .k {font-size: 8px;}
  .prod.kan .kn__read .v {font-size: 13px;}
}
.prod.forge .prod__kicker {color: var(--forge-600);}
.prod.forge .prod__kicker .tag {background: var(--accent-100); color: var(--accent-600);}
.prod.kan .prod__kicker {color: var(--kan-600);}
.prod.kan .prod__kicker .tag {background: var(--teal-100); color: var(--teal-600);}
.prod.forge .ck {background: var(--accent-100); color: var(--accent-600);}
.prod.kan .ck {background: var(--teal-100); color: var(--teal-600);}
.prod.forge .frame__glow {background: rgba(78,194,204,.45); right: -80px; top: -90px;}
.prod.kan .frame__glow {background: rgba(18,168,182,.5); left: -80px; bottom: -90px;}
.fg {display: grid; gap: 16px;}
.fg__cam {position: relative; height: 250px; border-radius: 14px; overflow: hidden; background: #0b3547; border: 1px solid rgba(255,255,255,.08);}
.fg__cam .grain {display: none;}
.fg__scan {position: absolute; top: 0; bottom: 0; left: -18%; width: 44%; background: rgba(110,231,183,.24); z-index: 2; opacity: 0;}
@media (prefers-reduced-motion: no-preference) {
  .fg__scan {animation: trainSweep 6s var(--ease) infinite;}
}
.fg__sample {position: absolute;
  z-index: 1;
  top: 8px;
  width: 49%;
  height: 92%;
  object-fit: contain;
  opacity: .9;
  filter: grayscale(.2) saturate(.9);
  transform: translateY(0) scale(1);}
.fg__sample--fault {left: 4%;}
.fg__sample--pass {right: 3%;}
@media (prefers-reduced-motion: no-preference) {
  .fg__sample--fault {animation: sampleFault 6s var(--ease) infinite;}
  .fg__sample--pass {animation: samplePass 6s var(--ease) infinite;}
}
.fg__box {position: absolute; z-index: 3; border: 2px solid var(--danger); border-radius: 6px;}
.fg__box span {position: absolute; top: -14px; left: -2px; font-family: var(--mono); font-size: 10px; font-weight: 700; background: var(--danger); color: #fff; padding: 1px 7px; border-radius: 5px 5px 5px 0; white-space: nowrap;}
.fg__box .fg__score {display: inline-block;
  margin-left: 3px;
  opacity: 0;
  transform: translateX(-3px);}
.fg__box.ok {border-color: var(--teal-400);}
.fg__box.ok span {background: var(--teal-400); color: #04222f;}
.fg__box.x1 {left: 17%; top: 45%; width: 23%; height: 27%;}
.fg__box.x2 {left: 67%; top: 70%; width: 16%; height: 12%;}
@media (prefers-reduced-motion: no-preference) {
  .fg__box {opacity: 0; animation: forgeBoxCycle 6s var(--ease) infinite;}
  .fg__box .fg__score {animation: scoreIn 6s var(--ease) infinite;}
}
.fg__steps {display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px;}
.fg__step {position: relative; padding: 12px 12px 13px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);}
.fg__step .n {font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: #8FAAB4;}
.fg__step .t {font-weight: 800; font-size: 14px; color: #fff; margin-top: 4px;}
.fg__step .bar {height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 10px; overflow: hidden;}
.fg__step .bar i {display: block; height: 100%; width: 0; border-radius: 3px; background: var(--forge);}
.fg__step.s2 .bar i {background: var(--teal-400);}
.fg__step.s3 .bar i {background: #B7A6FF;}
@media (prefers-reduced-motion: no-preference) {
  .fg__step.s1 {animation: stepLabel 6s linear infinite;}
  .fg__step.s2 {animation: stepTrain 6s linear infinite;}
  .fg__step.s3 {animation: stepDeploy 6s linear infinite;}
  .fg__step.s1 .bar i {animation: fill1 6s var(--ease) infinite;}
  .fg__step.s2 .bar i {animation: fill2 6s var(--ease) infinite;}
  .fg__step.s3 .bar i {animation: fill3 6s var(--ease) infinite;}
}
.fg__confidence {position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(4,40,56,.76);
  border: 1px solid rgba(78,194,204,.34);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  font-family: var(--mono);
  font-size: 10.5px;
  color: #B9D2D8;
  opacity: 1;}
.fg__confidence b {color: var(--teal-400); font-size: 14px;}
@media (prefers-reduced-motion: no-preference) {
  .fg__confidence {opacity: 0; transform: translateY(7px); animation: confidenceIn 6s var(--ease) infinite;}
}
.kn {display: grid; gap: 14px;}
.kn__screen {position: relative; height: 216px; border-radius: 14px; overflow: hidden; background: #06303c; border: 1px solid rgba(255,255,255,.08);}
.kn__grid {position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 34px 30px;}
.kn__svg {position: absolute; inset: 0; width: 100%; height: 100%;}
.kn__trace {fill: none; stroke: var(--teal-400); stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(78,194,204,.6)); stroke-dasharray: 100; stroke-dashoffset: 100;}
@media (prefers-reduced-motion: no-preference) {
  .kn__trace {animation: draw 4.8s linear infinite;}
}
.kn__cursor {position: absolute; top: 0; bottom: 0; left: -8%; width: 2px; background: rgba(255,255,255,.45);}
@media (prefers-reduced-motion: no-preference) {
  .kn__cursor {animation: scanX 5s var(--ease) infinite;}
}
.kn__fault {position: absolute; left: 64%; top: 34%;}
.kn__fault .ring {width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--danger);}
@media (prefers-reduced-motion: no-preference) {
  .kn__fault .ring {animation: faultPulse 1.8s var(--ease) infinite;}
}
.kn__fault .lab {position: absolute; top: -34px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 10px; font-weight: 700; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 6px;}
.kn__read {display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;}
.prod.kan .kn__read {margin-left: clamp(78px, 22%, 104px);}
.kn__read .rd {background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 11px 13px;}
.kn__read .k {font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8FAAB4;}
.kn__read .v {font-weight: 900; font-size: 19px; color: #fff; margin-top: 3px;}
.kn__read .v.hot {color: #FFC7CB;}
.ring .fg {stroke: var(--app); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100;}
@media (prefers-reduced-motion: no-preference) {
  .ring .fg {animation: ringFill 6s var(--ease) infinite;}
}
@media (max-width: 560px) {
  .console__read, .kn__read {grid-template-columns: 1fr 1fr;}
  .fg__steps {grid-template-columns: 1fr;}
}
@keyframes fill1 { 0%,4% { width: 0; } 30%,100% { width: 100%; } }
@keyframes fill2 { 0%,30% { width: 0; } 62%,100% { width: 100%; } }
@keyframes fill3 { 0%,68% { width: 0; } 92%,100% { width: 100%; } }
@keyframes stepLabel {
  0%,29.9% { border-color: rgba(240,83,92,.72); background: rgba(240,83,92,.15); }
  30%,100% { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.05); }
}
@keyframes stepTrain {
  0%,29.9%,62.1%,100% { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.05); }
  30%,62% { border-color: rgba(78,194,204,.72); background: rgba(18,168,182,.15); }
}
@keyframes stepDeploy {
  0%,67.9% { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.05); }
  68%,100% { border-color: rgba(183,166,255,.72); background: rgba(124,92,252,.16); }
}
@keyframes trainSweep {
  0%,30% { left: -18%; opacity: 0; }
  36% { opacity: 1; }
  60% { left: 74%; opacity: 1; }
  62%,100% { left: 112%; opacity: 0; }
}
@keyframes scanX {
  0% { left: -8%; }
  48% { left: 58%; }
  100% { left: 108%; }
}
@keyframes forgeBoxCycle {
  0%,8% { opacity: 0; transform: translateY(8px) scale(.96); }
  16%,67.9% { opacity: 1; transform: none; }
  68%,78% { opacity: 1; transform: scale(1.04); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
  92%,100% { opacity: 1; transform: none; box-shadow: none; }
}
@keyframes scoreIn {
  0%,67.9% { opacity: 0; transform: translateX(-3px); max-width: 0; }
  72%,100% { opacity: 1; transform: none; max-width: 42px; }
}
@keyframes sampleFault {
  0%,8% { opacity: .5; transform: translateY(8px) scale(.96); }
  16%,100% { opacity: .88; transform: translateY(0) scale(1); }
}
@keyframes samplePass {
  0%,8% { opacity: .5; transform: translateY(8px) scale(.96); }
  16%,100% { opacity: .88; transform: translateY(0) scale(1); }
}
@keyframes confidenceIn {
  0%,61.9% { opacity: 0; transform: translateY(7px); }
  64%,100% { opacity: 1; transform: none; }
}
@keyframes draw { 0% { stroke-dashoffset: 100; } 62% { stroke-dashoffset: 0; } 78% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes faultPulse { 0% { box-shadow: 0 0 0 0 rgba(240,83,92,.5); } 100% { box-shadow: 0 0 0 16px rgba(240,83,92,0); } }
@keyframes ringFill { 0%,6% { stroke-dashoffset: 100; } 74%,100% { stroke-dashoffset: 6; } }

/* Award / certification logos on the "Recognised where the work is real" cards */
.pcard__logo { height: 96px; width: fit-content; max-width: 100%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.pcard__logo img { height: 100%; width: auto; max-width: 100%; display: block; }
.pcard__logo--reddot { background: #fff; border-radius: 12px; padding: 12px 16px; }
.pcard__logo--iso img { border-radius: 6px; }
.pcard__logo--patent img, .pcard__logo--cb img { filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }

/* ================================================================ PAUSE MOTION (WCAG 2.2.2)
   One button in the hero pauses the background video and every looping animation. */
.motion-toggle { position: absolute; right: max(var(--gutter), calc((100vw - var(--cw-wide)) / 2 + var(--gutter))); bottom: clamp(70px, 8vw, 110px); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #fff; background: rgba(4,40,56,.55); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(6px); cursor: pointer; }
.motion-toggle:hover { background: rgba(4,40,56,.8); }
.motion-toggle svg { width: 14px; height: 14px; }
.motion-toggle .i-play { display: none; }
body.motion-paused .motion-toggle .i-pause { display: none; }
body.motion-paused .motion-toggle .i-play { display: inline; }
body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { animation-play-state: paused !important; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@media (max-width: 767px) { .motion-toggle { bottom: 64px; } }

/* ---------------------------------------------------------- Forge: animated panel + phone trio
   The scan animation keeps the full panel; the steps take the left 58% so the Forge phones can sit
   in the bottom-right corner, below the camera view, without covering anything. */
.prod.forge .frame { padding: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.fg-stage { position: relative; padding-bottom: 120px; }
.fg-stage .fg { padding: 16px; border-radius: 18px; background: #08293a; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 46px rgba(4,40,56,.18); }
.fg-stage .fg__steps { width: 58%; }
.forge-trio { position: absolute; z-index: 5; right: -3%; bottom: 0; width: min(46%, 280px); height: auto;
  filter: drop-shadow(0 26px 32px rgba(4,40,56,.28)); }
@media (max-width: 560px) {
  .fg-stage { padding-bottom: 0; }
  .fg-stage .fg__steps { width: 100%; }
  .forge-trio { position: relative; right: auto; display: block; width: 80%; margin: -20px auto 0; }
}

/* Kanoptic section: the kanoptic.com hero image stands in for the readout animation until SBWEB-25 */
.prod.kan .frame:has(.kan-hero) { min-height: 0; }
.kan-hero { display: block; width: 100%; max-width: 540px; height: auto; margin-inline: auto; filter: drop-shadow(0 26px 32px rgba(4,40,56,.18)); }
