/* IA SYSTEMS — site stylesheet. (@font-face lives inline in fragments/nav.html:
   the importer rewrites asset paths in page bodies, not inside CSS files.)
   Loaded from fragments/nav.html, so it renders on every page and comes AFTER the
   platform chrome's inline style block: equal specificity, later wins. */


:root {
  --red: #e3262e;
  --red-deep: #b8141c;
  --green: #0a8a4a;
  --ink: #0b1220;
  --ink-2: #131c2e;
  --ink-3: #1d2840;

  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --fg: #141821;
  --muted: #5b6475;
  --line: #e3e6ec;
  --card: #ffffff;

  --radius: 14px;
  --wrap: 72rem;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 8px 24px rgba(11, 18, 32, .06);
  --shadow-up: 0 2px 4px rgba(11, 18, 32, .08), 0 16px 40px rgba(11, 18, 32, .12);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-soft: #0f1728;
    --fg: #e7eaf0;
    --muted: #9aa3b5;
    --line: #222d44;
    --card: #121b2d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-up: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 40px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

/* ---- Undo the platform chrome's narrow column: this site lays out its own sections. */
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
main { max-width: none; margin: 0; padding: 0; }
body > footer { max-width: none; margin: 0; padding: 0; font-size: inherit; opacity: 1; }
.draft-banner { position: relative; z-index: 60; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 650;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 44rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.5rem); max-width: 48rem; }
.section-head.center { margin-inline: auto; }

/* ---- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 20px rgba(227, 38, 46, .35); }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-line { border-color: var(--line); color: var(--fg); background: var(--card); }
.btn-line:hover { border-color: var(--fg); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- Top bar (fragments/nav.html). Pure CSS mobile menu (a details element), no script. */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #fff;
}
.topbar .wrap { display: flex; align-items: center; gap: 1.5rem; height: 4.25rem; }
.brand-mark { display: flex; align-items: center; text-decoration: none; margin-inline-end: auto; }
.brand-mark img { height: 2.35rem; width: auto; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a { text-decoration: none; font-size: .95rem; color: rgba(255, 255, 255, .78); transition: color .15s; }
.menu a:hover { color: #fff; }
.menu .btn { padding: .55rem 1.05rem; color: #fff; font-size: .9rem; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu-toggle summary {
    list-style: none; cursor: pointer; padding: .45rem .7rem;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; font-size: .9rem;
  }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle .menu {
    position: absolute; inset-inline: 0; top: 4.25rem;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .menu-toggle .menu a { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .menu-toggle .menu .btn { margin-top: .9rem; justify-content: center; }
  .menu-desktop { display: none; }
}

/* ---- Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  padding-block: clamp(5rem, 11vw, 8.5rem) clamp(4.5rem, 9vw, 7rem);
  isolation: isolate;
}
.hero::before {
  /* the grid: a quiet engineering texture */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 46rem; height: 46rem; inset-inline-end: -14rem; top: -18rem;
  background: radial-gradient(circle, rgba(227, 38, 46, .38), transparent 62%);
  filter: blur(10px);
}
.hero h1 { max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { color: rgba(255, 255, 255, .72); margin-bottom: 2.2rem; }
.hero-proof {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  margin-top: clamp(3rem, 7vw, 5rem);
  background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
}
.hero-proof div { background: var(--ink-2); padding: 1.3rem 1.4rem; }
.hero-proof strong {
  display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.9rem; font-weight: 650;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.hero-proof span { font-size: .86rem; color: rgba(255, 255, 255, .62); }
@media (max-width: 760px) { .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* page hero (inner pages): the same voice, shorter */
.hero.hero-page { padding-block: clamp(4rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); }
.hero.hero-page h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }

/* ---- Cards & grids */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card { display: block; text-decoration: none; }
a.card:hover, .card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); border-color: transparent; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.icon {
  width: 2.8rem; height: 2.8rem; border-radius: 12px; display: grid; place-items: center;
  background: rgba(227, 38, 46, .1); color: var(--red); margin-bottom: 1.1rem;
}
.icon svg { width: 1.45rem; height: 1.45rem; }

/* domain cards: the work, by sector — maturity shown as a meter */
.domain { display: flex; flex-direction: column; gap: .9rem; }
.domain .tag {
  align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; background: var(--bg-soft); color: var(--muted);
  border: 1px solid var(--line);
}
.domain .tag.live { color: var(--green); border-color: rgba(10, 138, 74, .3); background: rgba(10, 138, 74, .08); }
.domain ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: .93rem; }
.domain li { position: relative; padding-inline-start: 1.35rem; color: var(--fg); }
.domain li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: .5rem; height: .5rem; border-radius: 2px; background: var(--red); opacity: .85;
}
.domain .foot { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); }

/* the feature list on dark: what every system ships with */
.dark { background: var(--ink); color: #fff; }
.dark .lead, .dark p { color: rgba(255, 255, 255, .68); }
.dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.dark .card p { color: rgba(255, 255, 255, .62); }
.dark .card:hover { border-color: rgba(227, 38, 46, .5); }
.dark .icon { background: rgba(227, 38, 46, .16); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-inline-start: 1.9rem; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: rgba(10, 138, 74, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a8a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / .75rem no-repeat;
}

/* split: text beside a visual */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* process steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 3.2rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; inset-inline-start: 0;
  font-family: "Space Grotesk", sans-serif; font-weight: 650; font-size: 1.05rem; color: var(--red);
}
.step::after { content: ""; position: absolute; top: .7rem; inset-inline: 2.6rem 0; height: 1px; background: var(--line); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* the "console" visual: a stylised system screen, drawn in CSS */
.console {
  background: var(--ink-2); border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; color: #fff; font-size: .82rem;
}
.console .bar { display: flex; gap: .4rem; padding: .8rem 1rem; background: var(--ink-3); }
.console .bar i { width: .65rem; height: .65rem; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.console .body { padding: 1.2rem; display: grid; gap: .8rem; }
.console .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.console .kpi { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: .8rem; }
.console .kpi b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.console .kpi small { color: rgba(255, 255, 255, .55); }
.console .row { display: flex; align-items: center; gap: .7rem; background: rgba(255, 255, 255, .035); border-radius: 8px; padding: .6rem .8rem; }
.console .row .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); flex: none; }
.console .row .dot.warn { background: #f59e0b; }
.console .row .dot.red { background: var(--red); }
.console .row span { flex: 1; color: rgba(255, 255, 255, .8); }
.console .row em { font-style: normal; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }

/* ---- References: logo wall, quiet until hovered */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 980px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logos figure {
  margin: 0; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.logos img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logos figure:hover { box-shadow: var(--shadow-up); transform: translateY(-2px); }
.logos figure:hover img { filter: none; opacity: 1; }

.sector-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.sector-list span {
  padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-size: .9rem;
}

/* ---- CTA band */
.cta {
  position: relative; overflow: hidden; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  padding: clamp(2.5rem, 6vw, 4rem); isolation: isolate;
}
.cta::after {
  content: ""; position: absolute; z-index: -1; width: 30rem; height: 30rem; inset-inline-end: -8rem; bottom: -16rem;
  background: radial-gradient(circle, rgba(227, 38, 46, .45), transparent 65%);
}
.cta h2 { max-width: 22ch; }
.cta p { color: rgba(255, 255, 255, .72); max-width: 40rem; }

/* ---- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 4.5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 400; font-size: .98rem; color: var(--fg);
  padding: .8rem .95rem; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 38, 46, .12);
}
.form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.info-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .icon { margin: 0; flex: none; }
.info-list b { display: block; }
.info-list span, .info-list a { color: var(--muted); text-decoration: none; }
.info-list a:hover { color: var(--red); }

/* ---- Footer (fragments/footer.html) */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding-block: 4rem 2rem; font-size: .93rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .66); }
.site-footer a:hover { color: #fff; }
.site-footer .brand-mark img { height: 2.6rem; margin-bottom: 1rem; }
.site-footer .legal {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .45);
}
.flag { display: inline-flex; height: 3px; width: 3rem; margin-top: .4rem; }
.flag i { flex: 1; } .flag i:first-child { background: var(--green); } .flag i:last-child { background: var(--red); }

/* ---- Small things */
.prose { max-width: 46rem; }
.prose p { color: var(--muted); }
.kicker-num { font-family: "Space Grotesk", sans-serif; font-size: 2.6rem; font-weight: 650; color: var(--red); line-height: 1; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Fixes from the first browser pass */
.topbar .wrap { justify-content: space-between; }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form > *, .form .two > * { min-width: 0; }
.form input, .form textarea, .form select { width: 100%; }
.logos img { max-height: 4.2rem; max-width: 100%; }
.hero-proof strong { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
@media (max-width: 760px) { .hero-proof div { padding: 1rem; } }
/* The chrome styles every <nav> (flex, auto margin, dimmed links); the top bar is ours. */
nav.topbar { display: block; margin: 0; gap: 0; flex-wrap: nowrap; }
nav.topbar a { opacity: 1; }
.hero-proof strong { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }

/* ---- Blog and news: the platform renders /blog, /news and their posts into main
   (the newsman listing and post templates). Give them this site's band, width and cards. */
main > h1 {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  padding-block: clamp(3.5rem, 8vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem);
  padding-inline: max(1.25rem, calc((100% - var(--wrap)) / 2 + 1.25rem));
  background: var(--ink); color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}
main > p, main > .cube-news-grid, main > .cube-news-pager {
  max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem;
}
main > p { color: var(--muted); padding-bottom: 5rem; }
main > .cube-news-grid { gap: 1.25rem; padding-bottom: 4rem; }
.cube-news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.cube-news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.cube-news-card-body { padding: 1.2rem 1.4rem 1.5rem; }
.cube-news-date { color: var(--red); opacity: 1; font-weight: 600; font-size: .78rem; letter-spacing: .08em; }
.cube-news-card h2 { font-size: 1.25rem; }
.cube-news-card p { color: var(--muted); opacity: 1; }
main > nav.cube-news-pager { display: flex; padding-bottom: 4rem; }
.cube-news-pager a { color: var(--red); font-weight: 600; text-decoration: none; opacity: 1; }
.cube-post { max-width: 46rem; padding: clamp(3rem, 7vw, 5rem) 1.25rem 5rem; }
.cube-post h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: .4rem; }
.cube-post h2 { font-size: 1.5rem; margin-top: 2rem; }
.cube-post p { font-size: 1.08rem; line-height: 1.75; }
.cube-post-date { color: var(--red); opacity: 1; font-weight: 600; font-size: .8rem; letter-spacing: .08em; }
.cube-post-poster { border-radius: var(--radius); }
.cube-post-file { border-color: var(--line); color: var(--fg); }

/* ---- The hero hub (home): every device on one data core. SVG + CSS only — the CSP
   forbids inline script, and none is needed. The five feed events each light their
   own device: one 15 s cycle, 3 s per event, delays in step. */
.hub { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.hub-svg { width: 100%; height: auto; display: block; overflow: visible; }
.hub-line { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; stroke-dasharray: 4 7; }
.hub-ring { fill: none; stroke: rgba(227, 38, 46, .35); stroke-width: 1.5; stroke-dasharray: 3 9;
  transform-box: fill-box; transform-origin: center; animation: hub-spin 40s linear infinite; }
.hub-ring.slow { stroke: rgba(255, 255, 255, .1); animation-duration: 70s; animation-direction: reverse; }
.hub-glow { fill: rgba(227, 38, 46, .25); transform-box: fill-box; transform-origin: center; animation: hub-breathe 4s ease-in-out infinite; }
.hub-core-t { font-family: "Space Grotesk", sans-serif; font-weight: 650; font-size: 25px; fill: #fff; }
.hub-pulse { fill: #ff5a61; filter: drop-shadow(0 0 6px rgba(255, 77, 85, .9)); }
.hub-pulse.back { fill: #fff; opacity: .8; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .7)); }
.hub-box { fill: #131c2e; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; }
.hub-icon { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hub-icon .fill { fill: rgba(255, 255, 255, .85); stroke: none; }
.hub-label { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 500; fill: rgba(255, 255, 255, .62); }
.hub-node .hub-box { animation: hub-node 15s infinite; }
.hub-node.n-mob .hub-box { animation-delay: 0s; }
.hub-node.n-tel .hub-box { animation-delay: 3s; }
.hub-node.n-desk .hub-box { animation-delay: 6s; }
.hub-node.n-ai .hub-box { animation-delay: 9s; }
.hub-node.n-web .hub-box { animation-delay: 12s; }

.hub-feed { position: relative; height: 3.4rem; margin: .4rem auto 0; max-width: 470px; }
.hub-event {
  position: absolute; inset: 0; display: flex; align-items: center; gap: .7rem;
  padding: .7rem 1rem; border-radius: 12px; font-size: .88rem;
  background: rgba(19, 28, 46, .92); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  opacity: 0; animation: hub-event 15s infinite;
}
.hub-event i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 4px rgba(10, 138, 74, .2); }
.hub-event b { font-family: "Space Grotesk", sans-serif; color: var(--red); font-weight: 650; flex: none; }
.hub-event span { color: rgba(255, 255, 255, .82); line-height: 1.35; }
.hub-event.e2 { animation-delay: 3s; } .hub-event.e3 { animation-delay: 6s; }
.hub-event.e4 { animation-delay: 9s; } .hub-event.e5 { animation-delay: 12s; }

@keyframes hub-spin { to { transform: rotate(360deg); } }
@keyframes hub-breathe { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes hub-event {
  0% { opacity: 0; transform: translateY(8px); }
  3%, 17% { opacity: 1; transform: none; }
  20%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes hub-node {
  0% { stroke: rgba(255, 255, 255, .14); fill: #131c2e; }
  3%, 17% { stroke: #e3262e; fill: #2a1a24; }
  20%, 100% { stroke: rgba(255, 255, 255, .14); fill: #131c2e; }
}
@media (max-width: 900px) { .hub { max-width: 440px; margin-top: 1rem; } }
@media (prefers-reduced-motion: reduce) {
  .hub-ring, .hub-glow, .hub-node .hub-box { animation: none; }
  .hub-pulses { display: none; }
  .hub-event { animation: none; } .hub-event.e1 { opacity: 1; }
}
