/* ══════════════════════════════════════════════════════════════
   FEATURED HERO PROJECT CARD  (SiteShield)  +  animated radar shield
   Namespaced `ph-`. Theme-aware via CSS variables. Mobile-first.
════════════════════════════════════════════════════════════════ */

.project-card--hero {
  grid-column: 1 / -1;                 /* full-width, main starred row */
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  position: relative;
  border-color: var(--accent-medium);
  overflow: hidden;
}
.project-card--hero::after {           /* soft accent wash behind the visual */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 120% at 0% 50%, var(--accent-light), transparent 55%);
}
.project-card--hero > * { position: relative; z-index: 1; }

@media (max-width: 820px) {
  .project-card--hero { grid-template-columns: 1fr; }
}

.ph-content { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }

/* ── visual panel ───────────────────────────────────── */
.ph-visual {
  position: relative; align-self: stretch;
  min-height: 250px;
  display: grid; place-items: center;
  border: 1px solid var(--border-faint);
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 100% at 50% 0%, var(--bg-card-raised), var(--bg-surface));
  overflow: hidden;
  isolation: isolate;
}
/* sweeping scan-bar across the panel */
.ph-visual::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 2px;
  z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px 1px var(--accent);
  opacity: .55;
  animation: ph-scanbar 3.6s cubic-bezier(.45,0,.55,1) infinite;
}
/* depth vignette + top sheen */
.ph-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(130% 120% at 50% 42%, transparent 52%, rgba(0,0,0,.16)),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 30%);
}
@keyframes ph-scanbar {
  0%   { transform: translateY(4px);   opacity: 0; }
  12%  { opacity: .6; }
  88%  { opacity: .6; }
  100% { transform: translateY(244px); opacity: 0; }
}

.ph-radar { width: min(240px, 80%); height: auto; display: block; position: relative; z-index: 1; }

.ph-badge {
  position: absolute; top: .6rem; left: .6rem; z-index: 3;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-card);
  border: 1px solid var(--accent-medium);
  border-radius: var(--r-full);
  padding: .24rem .6rem;
  display: inline-flex; align-items: center; gap: .4rem;
  box-shadow: var(--shadow-sm);
}
.ph-live {
  position: absolute; bottom: .6rem; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-mono); font-size: .68rem;
  color: var(--accent); text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--accent-medium);
  border-radius: var(--r-full);
  padding: .3rem .8rem; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.ph-live:hover {
  background: var(--accent); color: var(--bg-card-raised);
  box-shadow: 0 0 0 3px var(--accent-light);
}
[data-theme="dark"] .ph-live:hover,
[data-theme="terminal"] .ph-live:hover { color: #0A0A0A; }

.ph-live--pending {
  cursor: default;
  opacity: .9;
  animation: ph-pending-pulse 2.6s ease-in-out infinite;
}
.ph-live--pending:hover { background: var(--bg-card); color: var(--accent); box-shadow: none; }
@keyframes ph-pending-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-light); }
  50%      { box-shadow: 0 0 0 4px transparent; }
}

/* ── SVG emblem pieces ──────────────────────────────── */
.ph-s0 { stop-color: var(--accent); stop-opacity: .5; }
.ph-s1 { stop-color: var(--accent); stop-opacity: 0; }
.ph-g0 { stop-color: var(--accent); stop-opacity: .20; }
.ph-g1 { stop-color: var(--accent); stop-opacity: 0; }

.ph-glow  { animation: ph-breathe 3.4s ease-in-out infinite; transform-origin: 120px 116px; }
.ph-grid line { stroke: var(--accent); stroke-opacity: .10; stroke-width: 1; }
.ph-ring      { fill: none; stroke: var(--accent); stroke-opacity: .16; stroke-width: 1; }
.ph-pulse     { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.ph-sweep-line{ stroke: var(--accent); stroke-width: 1.6; opacity: .9; }
.ph-outline {
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-opacity: .6;
  animation: ph-outline-glow 3.4s ease-in-out infinite;
}
.ph-node { fill: var(--accent2); }
.ph-node.n1 { animation: ph-blink 3.4s  .2s infinite; }
.ph-node.n2 { animation: ph-blink 3.4s 1.0s infinite; }
.ph-node.n3 { animation: ph-blink 3.4s 1.8s infinite; }
.ph-node.n4 { animation: ph-blink 3.4s 2.6s infinite; }
@keyframes ph-blink { 0%, 100% { opacity: .22; } 50% { opacity: 1; } }

.ph-core path { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1.6; }
.ph-check {
  stroke: var(--accent); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; fill: none !important;
  stroke-dasharray: 30; stroke-dashoffset: 30;
  animation: ph-draw 3.4s infinite;
}
@keyframes ph-draw {
  0%, 55% { stroke-dashoffset: 30; }
  70%, 92% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 30; }
}
@keyframes ph-outline-glow {
  0%, 100% { filter: drop-shadow(0 0 3px var(--accent-medium)); stroke-opacity: .5; }
  50%      { filter: drop-shadow(0 0 8px var(--accent));        stroke-opacity: .85; }
}
@keyframes ph-breathe {
  0%, 100% { opacity: .7;  transform: scale(1);    }
  50%      { opacity: 1;   transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .ph-pulse, .ph-node, .ph-check, .ph-outline, .ph-glow { animation: none !important; }
  .ph-visual::before { animation: none; opacity: 0; }
}

/* ── featured corner ribbon ─────────────────────────── */
.ph-ribbon {
  position: absolute; top: 15px; right: -36px; z-index: 4;
  transform: rotate(45deg);
  background: var(--accent); color: var(--bg-card-raised);
  font-family: var(--font-mono); font-size: .6rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem 2.75rem;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}
[data-theme="dark"]  .ph-ribbon,
[data-theme="terminal"] .ph-ribbon { color: #0A0A0A; }
/* star-glyph fallback so ★/◆ never render as tofu boxes */
.ph-ribbon, .ph-badge, .star-count { font-family: var(--font-mono), "Segoe UI Symbol", "Apple Color Emoji", sans-serif; }

/* ══════════════════════════════════════════════════════════════
   STUDENT MANAGEMENT SYSTEM — registrar-card hero animation
   Namespaced `sm-`. Shares ph-visual/ph-badge/ph-live/ph-outline/
   ph-check shell with the SiteShield hero for consistent chrome.
════════════════════════════════════════════════════════════════ */

.sm-avatar       { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1.6; }
.sm-avatar-pulse { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.sm-avatar-text  {
  font-family: var(--font-ui, sans-serif); font-size: 13px; font-weight: 700;
  fill: var(--accent); text-anchor: middle;
}

.sm-line-bg { fill: var(--accent); opacity: .12; }
.sm-fill    { fill: var(--accent); }

@keyframes sm-fill-grow {
  0%, 8%   { transform: scaleX(0); }
  30%, 85% { transform: scaleX(1); }
  100%     { transform: scaleX(0); }
}
.sm-fill-a { animation: sm-fill-grow 3.6s ease-in-out infinite; }
.sm-fill-b { animation: sm-fill-grow 3.6s ease-in-out .3s infinite; }

@keyframes sm-row-in {
  0%, 4%   { opacity: 0; transform: translateY(6px); }
  20%, 90% { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(6px); }
}
.sm-row-1 { animation: sm-row-in 3.6s ease-in-out .5s infinite; }
.sm-row-2 { animation: sm-row-in 3.6s ease-in-out .9s infinite; }
.sm-row-3 { animation: sm-row-in 3.6s ease-in-out 1.3s infinite; }

.sm-chip      { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1; }
.sm-chip-text {
  font-family: var(--font-mono); font-size: 6px; font-weight: 600;
  fill: var(--accent); text-anchor: middle;
}
.sm-row-bar    { fill: var(--accent); opacity: .45; }
.sm-row-bar-sm { fill: var(--accent2); opacity: .28; }

.sm-badge { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .sm-fill-a, .sm-fill-b, .sm-row-1, .sm-row-2, .sm-row-3, .sm-avatar-pulse {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ══════════════════════════════════════════════════════════════
   INDUSTRUST BANK — locked-transfer hero animation
   Namespaced `bk-`. Shares ph-visual/ph-badge/ph-live/ph-outline/
   ph-check shell with the other two hero cards for consistent chrome.
════════════════════════════════════════════════════════════════ */

.bk-ref-text {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em;
  fill: var(--accent); opacity: .55; text-anchor: middle; text-transform: uppercase;
}

.bk-chip { fill: var(--accent2); opacity: .85; }
.bk-acct-text {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  fill: var(--accent); text-anchor: middle;
}
.bk-balance {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  fill: var(--accent); text-anchor: middle;
}
@keyframes bk-balance-old { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes bk-balance-new { 0%, 45% { opacity: 0; } 55%, 100% { opacity: 1; } }
.bk-balance-old { animation: bk-balance-old 3.6s ease-in-out infinite; }
.bk-balance-new { animation: bk-balance-new 3.6s ease-in-out infinite; }

.bk-lock-badge   { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1.6; }
.bk-lock-pulse   { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.bk-lock-body    { fill: var(--accent); }
.bk-lock-shackle { fill: none; stroke: var(--accent); stroke-width: 2; }

.bk-coin { fill: var(--accent2); stroke: var(--accent); stroke-width: 1; }

.bk-badge-sm { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1.4; }

@media (prefers-reduced-motion: reduce) {
  .bk-balance-old, .bk-balance-new { animation: none !important; opacity: 1 !important; }
}
/* ══════════════════════════════════════════════════════════════
   FSOCIETY-WEB — terminal recon hero animation
   Namespaced `fs-`. Shares ph-visual/ph-badge/ph-live/ph-outline/
   ph-check shell with the other hero cards for consistent chrome.
════════════════════════════════════════════════════════════════ */

.fs-term-bar { fill: var(--bg-card-raised); opacity: .9; }

.fs-dot { opacity: .8; }
.fs-dot-r { fill: #ff5f56; }
.fs-dot-y { fill: #ffbd2e; }
.fs-dot-g { fill: #27c93f; }

.fs-term-title {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .02em;
  fill: var(--accent); opacity: .55; text-anchor: middle;
}

.fs-rain-col {
  font-family: var(--font-mono); font-size: 10px;
  fill: var(--accent); opacity: .14;
}
.fs-rain-col-b { opacity: .1; }

.fs-line {
  font-family: var(--font-mono); font-size: 9.5px;
  fill: var(--accent); opacity: 0;
}
@keyframes fs-type-in {
  0%, 4%   { opacity: 0; }
  10%, 90% { opacity: 1; }
  96%,100% { opacity: 0; }
}
.fs-line-1 { animation: fs-type-in 4.8s ease-in-out 0s    infinite; }
.fs-line-2 { animation: fs-type-in 4.8s ease-in-out .5s   infinite; }
.fs-line-3 { animation: fs-type-in 4.8s ease-in-out 1.1s  infinite; }
.fs-line-4 { animation: fs-type-in 4.8s ease-in-out 2.6s  infinite; }

.fs-bar-bg   { fill: var(--accent); opacity: .14; }
.fs-bar-fill {
  fill: var(--accent);
  transform-origin: 34px 134px;
  transform: scaleX(0);
  animation: fs-bar-grow 4.8s ease-in-out 1.4s infinite;
}
@keyframes fs-bar-grow {
  0%, 28%  { transform: scaleX(0); }
  60%, 90% { transform: scaleX(1); }
  100%     { transform: scaleX(1); opacity: 0; }
}

.fs-cursor {
  fill: var(--accent);
  animation: fs-blink 1s step-end infinite;
}
@keyframes fs-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .fs-rain-col, .fs-line, .fs-bar-fill, .fs-cursor {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   PERSONAL PORTFOLIO WEBSITE — responsive/Lighthouse hero animation
   Namespaced `pf-`. Shares ph-visual/ph-badge/ph-live/ph-outline/
   ph-check shell with the other hero cards for consistent chrome.
════════════════════════════════════════════════════════════════ */

.pf-browser-bar { fill: var(--bg-card-raised); opacity: .9; }

.pf-dot { opacity: .8; }
.pf-dot-r { fill: #ff5f56; }
.pf-dot-y { fill: #ffbd2e; }
.pf-dot-g { fill: #27c93f; }

.pf-url-text {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .02em;
  fill: var(--accent); opacity: .55; text-anchor: middle;
}

.pf-screen { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1.6; }
.pf-stand  { fill: var(--accent2); opacity: .7; }

@keyframes pf-device-fade-out { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes pf-device-fade-in  { 0%, 45% { opacity: 0; } 55%, 100% { opacity: 1; } }
.pf-device-desktop { animation: pf-device-fade-out 4.4s ease-in-out infinite; }
.pf-device-mobile  { animation: pf-device-fade-in  4.4s ease-in-out infinite; }

.pf-gauge-bg   { stroke: var(--accent); stroke-opacity: .16; stroke-width: 6; }
.pf-gauge-fill {
  stroke: var(--accent); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 188.5; stroke-dashoffset: 188.5;
  animation: pf-gauge-grow 4.4s ease-in-out infinite;
}
@keyframes pf-gauge-grow {
  0%, 10%  { stroke-dashoffset: 188.5; }
  75%, 92% { stroke-dashoffset: 9.4; }
  100%     { stroke-dashoffset: 188.5; }
}

.pf-score-text {
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
  fill: var(--accent); text-anchor: middle; opacity: 0;
  animation: fs-type-in 4.4s ease-in-out .3s infinite;
}

.pf-badge-sm { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1.4; }

@media (prefers-reduced-motion: reduce) {
  .pf-device-desktop, .pf-device-mobile, .pf-gauge-fill, .pf-score-text {
    animation: none !important; opacity: 1 !important;
  }
  .pf-device-mobile { opacity: 0 !important; }
}

/* ══════════════════════════════════════════════════════════════
   DISEASE PREDICTION SYSTEM — vitals-monitor hero animation
   Namespaced `dp-`. Shares ph-visual/ph-badge/ph-live/ph-outline/
   ph-check shell with the other hero cards for consistent chrome.
════════════════════════════════════════════════════════════════ */

.dp-topbar { fill: var(--bg-card-raised); opacity: .9; }

.dp-heart-icon {
  fill: var(--accent2);
  transform-origin: 36px 51px;
  animation: dp-heartbeat 1.6s ease-in-out infinite;
}
@keyframes dp-heartbeat {
  0%, 100% { transform: scale(1); }
  25%      { transform: scale(1.18); }
  40%      { transform: scale(1); }
}

.dp-topbar-text {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .02em;
  fill: var(--accent); opacity: .55; text-anchor: middle;
}

.dp-ecg-line {
  fill: none; stroke: var(--accent); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 210; stroke-dashoffset: 210;
  animation: dp-ecg-draw 3.2s ease-in-out infinite;
}
@keyframes dp-ecg-draw {
  0%       { stroke-dashoffset: 210; }
  55%, 80% { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: -210; }
}
.dp-ecg-dot {
  fill: var(--accent2);
  filter: drop-shadow(0 0 3px var(--accent));
}

@keyframes dp-row-in {
  0%, 4%   { opacity: 0; transform: translateY(6px); }
  20%, 90% { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(6px); }
}
.dp-row-1 { animation: dp-row-in 3.9s ease-in-out .4s infinite; }
.dp-row-2 { animation: dp-row-in 3.9s ease-in-out .8s infinite; }
.dp-row-3 { animation: dp-row-in 3.9s ease-in-out 1.2s infinite; }

.dp-checkbox { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1; }
.dp-symptom-text {
  font-family: var(--font-ui, sans-serif); font-size: 10px; font-weight: 600;
  fill: var(--text-secondary, var(--accent));
}

.dp-conf-bg   { fill: var(--accent); opacity: .14; }
.dp-conf-fill { fill: var(--accent2); }
@keyframes dp-bar-grow {
  0%, 8%   { transform: scaleX(0); }
  30%, 85% { transform: scaleX(1); }
  100%     { transform: scaleX(0); }
}
.dp-conf-a { animation: dp-bar-grow 3.9s ease-in-out .5s infinite; }
.dp-conf-b { animation: dp-bar-grow 3.9s ease-in-out .9s infinite; }
.dp-conf-c { animation: dp-bar-grow 3.9s ease-in-out 1.3s infinite; }

.dp-risk-text {
  font-family: var(--font-mono); font-size: 9.5px;
  fill: var(--accent); opacity: 0;
  animation: fs-type-in 3.9s ease-in-out 1.6s infinite;
}

.dp-gauge-bg   { stroke: var(--accent); stroke-opacity: .16; stroke-width: 5; }
.dp-gauge-fill {
  stroke: var(--accent2); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 125.7; stroke-dashoffset: 125.7;
  animation: dp-gauge-grow 3.9s ease-in-out infinite;
}
@keyframes dp-gauge-grow {
  0%, 10%  { stroke-dashoffset: 125.7; }
  75%, 92% { stroke-dashoffset: 7.5; }
  100%     { stroke-dashoffset: 125.7; }
}
.dp-gauge-text {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  fill: var(--accent); text-anchor: middle; opacity: 0;
  animation: fs-type-in 3.9s ease-in-out .3s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .dp-heart-icon, .dp-ecg-line, .dp-row-1, .dp-row-2, .dp-row-3,
  .dp-conf-a, .dp-conf-b, .dp-conf-c, .dp-risk-text, .dp-gauge-fill, .dp-gauge-text {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .dp-ecg-dot { display: none; }
}
/* ══════════════════════════════════════════════════════════════
   CINEROULETTE — slot-machine spin & reveal hero animation
   Namespaced `cr-`. Shares ph-visual/ph-badge/ph-live/ph-outline/
   ph-check shell with the other hero cards for consistent chrome.
════════════════════════════════════════════════════════════════ */

.cr-topbar { fill: var(--bg-card-raised); opacity: .9; }

.cr-dot { opacity: .8; }
.cr-dot-r { fill: #ff5f56; }
.cr-dot-y { fill: #ffbd2e; }
.cr-dot-g { fill: #27c93f; }

.cr-topbar-text {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .02em;
  fill: var(--accent); opacity: .55; text-anchor: middle;
}

.cr-poster-a { fill: var(--accent); opacity: .55; }
.cr-poster-b { fill: var(--accent2); opacity: .45; }
.cr-poster-c { fill: var(--accent); opacity: .28; }

@keyframes cr-spin-side {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-228px); }
}
.cr-reel-1 { animation: cr-spin-side 2.1s linear infinite; }
.cr-reel-3 { animation: cr-spin-side 2.5s linear infinite; }

@keyframes cr-spin-center {
  0%       { transform: translateY(0); }
  45%      { transform: translateY(-152px); }
  75%      { transform: translateY(-152px); }
  100%     { transform: translateY(-228px); }
}
.cr-reel-2 { animation: cr-spin-center 3.6s cubic-bezier(.22,.8,.28,1) infinite; }

.cr-select-ring {
  stroke: var(--accent2); stroke-width: 2;
  opacity: 0;
  animation: cr-ring-glow 3.6s ease-in-out infinite;
}
@keyframes cr-ring-glow {
  0%, 42%   { opacity: 0; filter: none; }
  48%, 72%  { opacity: 1; filter: drop-shadow(0 0 6px var(--accent2)); }
  80%, 100% { opacity: 0; filter: none; }
}

@keyframes cr-reveal-in {
  0%, 44%   { opacity: 0; transform: translateY(4px); }
  50%, 74%  { opacity: 1; transform: translateY(0); }
  82%, 100% { opacity: 0; transform: translateY(4px); }
}
.cr-result-text {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  fill: var(--accent); text-anchor: middle;
  animation: cr-reveal-in 3.6s ease-in-out infinite;
}
.cr-why-text {
  font-family: var(--font-mono); font-size: 8px;
  fill: var(--accent); opacity: 0; text-anchor: middle;
  animation: cr-reveal-in 3.6s ease-in-out .08s infinite;
}
.cr-badge-sm {
  fill: var(--accent-light); stroke: var(--accent2); stroke-width: 1.4;
  opacity: 0;
  animation: cr-reveal-in 3.6s ease-in-out .12s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cr-reel-1, .cr-reel-2, .cr-reel-3, .cr-select-ring, .cr-result-text, .cr-why-text, .cr-badge-sm {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   LIFEOS — universal command-palette search hero animation
   Namespaced `los-`. Shares ph-visual/ph-badge/ph-live/ph-outline/
   ph-check shell with the other hero cards for consistent chrome.
════════════════════════════════════════════════════════════════ */

.los-widget { fill: var(--accent); opacity: .22; }

.los-palette {
  fill: var(--bg-card-raised);
  stroke: var(--accent); stroke-width: 1.4; stroke-opacity: .5;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
  transform-origin: 120px 122px;
  animation: los-palette-in 4.2s ease-in-out infinite;
}
@keyframes los-palette-in {
  0%, 6%   { opacity: 0; transform: scale(.94) translateY(-6px); }
  16%, 92% { opacity: 1; transform: scale(1) translateY(0); }
  100%     { opacity: 0; transform: scale(.94) translateY(-6px); }
}

.los-search-icon-ring, .los-search-icon-handle {
  stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; fill: none;
}
.los-search-text {
  font-family: var(--font-mono); font-size: 9px; fill: var(--accent); opacity: .85;
}
.los-cursor { fill: var(--accent); animation: fs-blink 1s step-end infinite; }

@keyframes los-row-in {
  0%, 4%   { opacity: 0; transform: translateX(-4px); }
  20%, 88% { opacity: 1; transform: translateX(0); }
  100%     { opacity: 0; transform: translateX(-4px); }
}
.los-row-1 { animation: los-row-in 4.2s ease-in-out .5s infinite; }
.los-row-2 { animation: los-row-in 4.2s ease-in-out .9s infinite; }
.los-row-3 { animation: los-row-in 4.2s ease-in-out 1.3s infinite; }

.los-icon-chip { fill: var(--accent-light); stroke: var(--accent); stroke-width: 1; }
.los-icon-glyph {
  font-family: var(--font-ui, sans-serif); font-size: 10px;
  fill: var(--accent); text-anchor: middle;
}
.los-row-text {
  font-family: var(--font-ui, sans-serif); font-size: 9px; font-weight: 600;
  fill: var(--text-secondary, var(--accent));
}

@media (prefers-reduced-motion: reduce) {
  .los-palette, .los-cursor, .los-row-1, .los-row-2, .los-row-3 {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}
/* ══════════════════════════════════════════════════════════════
   NETSCOPE — live packet capture & threat-scoring hero animation
   Namespaced `ns-`. Shares ph-visual/ph-badge/ph-live/ph-outline/
   ph-check shell with the other hero cards for consistent chrome.
════════════════════════════════════════════════════════════════ */

.ns-topbar { fill: var(--bg-card-raised); opacity: .9; }

.ns-dot { opacity: .8; }
.ns-dot-r { fill: #ff5f56; }
.ns-dot-y { fill: #ffbd2e; }
.ns-dot-g { fill: #27c93f; }

.ns-topbar-text {
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .02em;
  fill: var(--accent); opacity: .55; text-anchor: middle;
}

.ns-radar-glow { transform-origin: 88px 132px; animation: ph-breathe 3.6s ease-in-out infinite; }
.ns-radar-ring { fill: none; stroke: var(--accent); stroke-opacity: .16; stroke-width: 1; }
.ns-radar-cross { stroke: var(--accent); stroke-opacity: .10; stroke-width: 1; }
.ns-radar-sweep { opacity: .85; }

@keyframes ns-node-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.ns-node {
  stroke-width: 1;
  filter: drop-shadow(0 0 3px currentColor);
  animation: ns-node-blink 3.6s ease-in-out infinite;
}
.ns-node.n2 { animation-delay: .5s; }
.ns-node.n3 { animation-delay: 1s; }
.ns-node.n4 { animation-delay: 1.5s; }

.ns-host-clean      { fill: #31F2A0; stroke: #31F2A0; }
.ns-host-suspicious { fill: #FFB13C; stroke: #FFB13C; }
.ns-host-malicious  { fill: #FF3E6C; stroke: #FF3E6C; }

@keyframes ns-row-in {
  0%, 4%   { opacity: 0; transform: translateX(-4px); }
  20%, 88% { opacity: 1; transform: translateX(0); }
  100%     { opacity: 0; transform: translateX(-4px); }
}
.ns-row-1 { animation: ns-row-in 4s ease-in-out .4s infinite; }
.ns-row-2 { animation: ns-row-in 4s ease-in-out .8s infinite; }
.ns-row-3 { animation: ns-row-in 4s ease-in-out 1.2s infinite; }

.ns-host-text {
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 600;
  fill: var(--text-secondary, var(--accent));
}

.ns-alert-text {
  font-family: var(--font-mono); font-size: 9px;
  fill: var(--accent); opacity: 0;
  animation: fs-type-in 4s ease-in-out 1.7s infinite;
}

.ns-gauge-bg   { stroke: var(--accent); stroke-opacity: .16; stroke-width: 5; }
.ns-gauge-fill {
  stroke: var(--accent2); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 100.5; stroke-dashoffset: 100.5;
  animation: ns-gauge-grow 4s ease-in-out infinite;
}
@keyframes ns-gauge-grow {
  0%, 10%  { stroke-dashoffset: 100.5; }
  75%, 92% { stroke-dashoffset: 26.1; }
  100%     { stroke-dashoffset: 100.5; }
}
.ns-gauge-text {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  fill: var(--accent); text-anchor: middle; opacity: 0;
  animation: fs-type-in 4s ease-in-out .3s infinite;
}
.ns-gauge-label {
  font-family: var(--font-mono); font-size: 6.5px; letter-spacing: .06em;
  fill: var(--accent); opacity: .5; text-anchor: middle;
}

@media (prefers-reduced-motion: reduce) {
  .ns-radar-glow, .ns-radar-sweep, .ns-node, .ns-row-1, .ns-row-2, .ns-row-3,
  .ns-alert-text, .ns-gauge-fill, .ns-gauge-text {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}