/* ============================================================
   Vistigo by 444Video
   Built on the Tabler UI kit (assets/vendor/tabler, MIT) in its
   dark theme. This file only sets the type, the per-industry
   palettes and the few components Tabler doesn't have:
   the 444Video colour bars, the data-flow diagram and the
   instrument strips.

   Type (from the 444Video website design system in Outline)
     Everything  Inter, self-hosted
     Data        IBM Plex Mono - code and real readouts only
   ============================================================ */

@font-face{font-family:"Inter";font-weight:100 900;font-style:normal;font-display:swap;src:url("../fonts/inter-latin-wght-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:100 900;font-style:italic;font-display:swap;src:url("../fonts/inter-latin-wght-italic.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-weight:400;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-weight:500;font-display:swap;src:url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2")}

/* ---------- tokens (hub) ---------- */
:root,[data-bs-theme=dark]{
  --tblr-font-sans-serif:"Inter",system-ui,sans-serif;
  --tblr-font-monospace:"IBM Plex Mono",ui-monospace,monospace;
  --tblr-body-font-size:1.0625rem;
  --tblr-body-line-height:1.6;
  --display:"Inter",system-ui,sans-serif;
  --display-weight:700;
  --display-stretch:normal;
  --display-track:-.025em;

  /* hub: the 444Video ground, slate-navy */
  --tblr-body-bg:#0B151D;
  --tblr-bg-surface:#111E28;
  --tblr-bg-surface-secondary:#0E1922;
  --tblr-bg-surface-tertiary:#16252F;
  --tblr-border-color:#22384A;
  --tblr-border-color-translucent:rgba(120,160,190,.16);
  --tblr-body-color:#DCE6EC;
  --tblr-secondary:#93A7B4;
  --tblr-primary:#00D9AC;
  --tblr-primary-rgb:0,217,172;
  --tblr-link-color:#3FF0C8;
  --tblr-link-hover-color:#9FFBE6;
  --accent:#3FF0C8;
  --tblr-border-radius:4px;
  --tblr-border-radius-lg:6px;
}
body{font-feature-settings:"ss02" 0;text-rendering:optimizeLegibility}

/* ---------- industry palettes ---------- */
body.p-maritime{
  --tblr-body-bg:#06182A;--tblr-bg-surface:#0A2238;--tblr-bg-surface-secondary:#081C30;--tblr-bg-surface-tertiary:#0E2A44;
  --tblr-border-color:#1A3A58;--tblr-body-color:#DDEBF5;--tblr-secondary:#8FB0C8;
  --tblr-primary:#47D6E8;--tblr-primary-rgb:71,214,232;--tblr-link-color:#6FE6F3;--tblr-link-hover-color:#C2F7FC;
  --accent:#6FE6F3;
}
body.p-broadcast{
  --tblr-body-bg:#0E0B0A;--tblr-bg-surface:#1A1412;--tblr-bg-surface-secondary:#141010;--tblr-bg-surface-tertiary:#231B17;
  --tblr-border-color:#3A2C25;--tblr-body-color:#F1E8E1;--tblr-secondary:#B3A296;
  --tblr-primary:#FF9F1C;--tblr-primary-rgb:255,159,28;--tblr-link-color:#FFB54D;--tblr-link-hover-color:#FFD9A3;
  --accent:#FFB54D;--tally:#FF3B30;
  --display:"Inter",system-ui,sans-serif;--display-weight:700;--display-stretch:normal;--display-track:-.025em;
}
body.p-infra{
  --tblr-body-bg:#0A100D;--tblr-bg-surface:#111A15;--tblr-bg-surface-secondary:#0D1511;--tblr-bg-surface-tertiary:#16221C;
  --tblr-border-color:#26372E;--tblr-body-color:#E1EAE4;--tblr-secondary:#98AA9F;
  --tblr-primary:#4ADE6E;--tblr-primary-rgb:74,222,110;--tblr-link-color:#6BEB8A;--tblr-link-hover-color:#C3F7D0;
  --accent:#6BEB8A;--led:#3DFF6E;
  --display:"Inter",system-ui,sans-serif;--display-weight:700;--display-track:-.025em;
}
.btn-primary{--tblr-btn-color:#071014;--tblr-btn-hover-color:#071014;--tblr-btn-active-color:#071014;font-weight:600}

/* ---------- type ---------- */
h1,h2,h3,.h1,.h2,.h3,.hero-title,.section-title,.navbar-brand{
  font-family:var(--display);font-weight:var(--display-weight);font-stretch:var(--display-stretch);letter-spacing:var(--display-track);
}
.hero-title{font-size:clamp(2.4rem,5.4vw,4.25rem);line-height:1.06;letter-spacing:var(--display-track);max-width:14ch;text-wrap:balance}
.section-title{font-size:clamp(1.75rem,3.4vw,2.6rem);line-height:1.05;text-wrap:balance}
h3,.h3{font-size:1.4rem;line-height:1.15}
.hero-description,.section-description{color:var(--tblr-secondary);text-wrap:pretty}
.hero-description{font-size:1.25rem;line-height:1.55;max-width:38rem;margin:0}
.section-description{font-size:1.125rem;max-width:42rem}
p{max-width:68ch}
.text-secondary{color:var(--tblr-secondary)!important}
.kicker{font-family:var(--display);font-weight:600;font-size:1.05rem;color:var(--accent);margin-bottom:.6rem;letter-spacing:0}

/* ---------- 444Video colour bars and mark ---------- */
.bars{display:flex;height:5px}
.bars i{flex:1}
.bars i:nth-child(1){background:#1200FE}.bars i:nth-child(2){background:#00FEC8}.bars i:nth-child(3){background:#FEA300}.bars i:nth-child(4){background:#FE0000}
.bars i:nth-child(5){background:#B500FE}.bars i:nth-child(6){background:#00FE05}.bars i:nth-child(7){background:#FBFE00}.bars i:nth-child(8){background:#FE009C}
.logo-mark{width:46px;height:auto;flex:none}
.navbar{background:transparent;border-bottom:1px solid var(--tblr-border-color)}
.navbar-brand{display:flex;align-items:center;gap:.75rem;font-size:1.5rem;color:var(--tblr-body-color)}
.navbar-brand small{display:block;font-family:"Inter";font-weight:400;font-style:italic;font-size:.78rem;color:var(--tblr-secondary);letter-spacing:0;margin-top:-.15rem}
.navbar .nav-link{font-weight:500;color:var(--tblr-secondary)}
.navbar .nav-link:hover,.navbar .nav-link.active{color:var(--tblr-body-color)}
.navbar .nav-link.active{box-shadow:inset 0 -2px 0 var(--accent)}

/* ---------- hero ---------- */
.hero{text-align:left;padding:4.5rem 0 4rem;position:relative;overflow:hidden}
.hero .container-xl{position:relative;z-index:1}
.hero .btn-list{margin-top:2rem}

/* screenshots sit in Tabler's browser frame, addressed to the real prototype */
.browser{box-shadow:0 0 0 1px var(--tblr-border-color),0 24px 60px -24px rgba(0,0,0,.7)}
.browser img{display:block;width:100%}
.browser-input{font-family:var(--tblr-font-monospace);font-size:.75rem}
.shot-note{font-size:.8125rem;color:var(--tblr-secondary);margin-top:.6rem}
.shot-note .badge{margin-right:.4rem;vertical-align:1px}

/* ---------- sections ---------- */
.section{padding:4.5rem 0}
.section-header{text-align:left;margin:0 0 2.5rem;max-width:44rem}
.section + .section{border-top:1px solid var(--tblr-border-color)}
.section-alt{background:var(--tblr-bg-surface-secondary)}

/* ---------- data-flow diagram: equipment -> how we read it -> where it's kept -> dashboards ---------- */
.flow{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(0,.8fr) minmax(0,.95fr);column-gap:2.25rem;row-gap:.75rem}
.flow-head{display:contents}
.flow-head span{font-size:.875rem;font-weight:500;color:var(--tblr-secondary);padding-bottom:.4rem;border-bottom:1px solid var(--tblr-border-color)}
.flow-row{display:contents}
.flow .card{margin:0;position:relative;box-shadow:none}
.flow .card-body{padding:.9rem 1rem}
.flow-kit{border-left:3px solid var(--tblr-primary)}
.flow .card strong{display:block;font-weight:600;line-height:1.3}
.flow .card p{font-size:.875rem;line-height:1.45;color:var(--tblr-secondary);margin:.3rem 0 0}
.flow .badge{font-family:var(--tblr-font-monospace);font-weight:500;margin-bottom:.45rem;text-transform:none}
.flow-store{justify-content:center}
.flow-via::before,.flow-store::before{content:"";position:absolute;left:-2.25rem;top:50%;width:calc(2.25rem - 6px);border-top:1px dashed var(--tblr-primary);opacity:.8}
.flow-via::after,.flow-store::after{content:"";position:absolute;left:-7px;top:calc(50% - 4px);border:4px solid transparent;border-left:6px solid var(--tblr-primary)}
.flow-out{grid-column:4;grid-row:2 / span var(--rows);align-self:stretch}
.flow-out .card{height:100%}
.flow-out .list-group-item{background:transparent;padding:.55rem 0;border-color:var(--tblr-border-color)}
.db{display:inline-block;width:.6rem;height:.6rem;margin-right:.5rem;border-radius:2px;vertical-align:.05rem}
.db-vm{background:#00FEC8}.db-zbx{background:#FE3B3B}.db-es{background:#FBFE00}.db-influx{background:#B500FE}
@media (max-width:991.98px){
  .flow{grid-template-columns:1fr;row-gap:0}
  .flow-head{display:none}
  .flow-row{display:grid;row-gap:1.4rem;padding-bottom:1.6rem;margin-bottom:1.6rem;border-bottom:1px solid var(--tblr-border-color)}
  .flow-via::before,.flow-store::before{left:1.5rem;top:-1.4rem;width:0;height:calc(1.4rem - 6px);border-top:0;border-left:1px dashed var(--tblr-primary)}
  .flow-via::after,.flow-store::after{left:calc(1.5rem - 4px);top:-7px;border:4px solid transparent;border-top:6px solid var(--tblr-primary);border-bottom:0}
  .flow-out{grid-column:1;grid-row:auto}
}

/* hub pipeline: Tabler steps above a row of cards */
.steps{--tblr-steps-color:var(--tblr-primary);margin-bottom:1.5rem}
.stage .card{height:100%}
.stage ul{margin:0;padding-left:1.1rem;color:var(--tblr-secondary);font-size:.9375rem}
.stage li{margin-bottom:.35rem}
.stage li strong{color:var(--tblr-body-color);font-weight:500}

/* dashboard cards: mirrors the card home page in the real Grafana build */
.dash-card .card-status-top{height:3px}
.dash-card small{display:block;font-weight:600;font-size:.8125rem;margin-bottom:.25rem}
.dash-card h3{margin-bottom:.4rem}
.dash-card p{color:var(--tblr-secondary);margin:0;font-size:.9375rem}

/* pillar cards on the hub */
.pillar-card{text-decoration:none;color:inherit;height:100%}
.pillar-card:hover{border-color:var(--pc)}
.pillar-card .card-status-start{background:var(--pc);width:3px}
.pillar-card h3{font-size:1.75rem;margin:.25rem 0 .75rem}
.pillar-card .who{font-weight:600;color:var(--pc)}
.pillar-card .go{color:var(--pc);font-weight:600}
.pillar-card .browser{margin:-.25rem 0 1.25rem}
.f-maritime{font-family:"Inter";font-weight:700}
.f-broadcast{font-family:"Inter";font-weight:800;font-stretch:normal}
.f-infra{font-family:"Inter";font-weight:600}

/* figures */
.figure-card .display{font-family:var(--display);font-weight:700;font-stretch:var(--display-stretch);font-size:2.6rem;line-height:1;letter-spacing:-.01em;color:var(--tblr-body-color)}
.figure-card p{margin:.6rem 0 0;color:var(--tblr-secondary);font-size:.9375rem}
.source{font-size:.8125rem;color:var(--tblr-secondary);margin-top:1rem}

/* who it's for */
.audience .card{height:100%;border-left:3px solid var(--tblr-primary)}
.audience h3{font-family:"Inter";font-weight:600;font-size:1.0625rem;letter-spacing:0;margin-bottom:.35rem}
.audience p{margin:0;color:var(--tblr-secondary);font-size:.9375rem}

/* contact */
.contact-band{background:var(--tblr-bg-surface)}
.contact-band .section-title{max-width:18ch}

/* footer */
.footer{background:transparent;border-top:1px solid var(--tblr-border-color);font-size:.875rem;color:var(--tblr-secondary)}
.footer a{color:var(--tblr-secondary)}
.footer a:hover{color:var(--tblr-body-color)}
.footer .legal{font-size:.75rem;max-width:none;margin:0}

/* ---------- illustrative Grafana panels (drawn, not screenshots) ---------- */
.gp{background:#111217;padding:10px;display:grid;gap:8px;color:#ccccdc;font-family:"Inter",sans-serif}
.gp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gp-stat{background:#181b1f;border:1px solid #2c3235;border-radius:2px;padding:8px 10px}
.gp-stat .k{font-size:11.5px;font-weight:500}
.gp-stat .v{font-size:24px;font-weight:500;line-height:1.25;color:#fff}
.gp-stat .v small{font-size:12px;color:#ccccdc}
.gp-stat.ok{background:linear-gradient(120deg,#2d8f3b,#56a64b)}
.gp-stat.warn{background:linear-gradient(120deg,#c98a00,#ff9830)}
.gp-stat.crit{background:linear-gradient(120deg,#d10e1c,#f2495c)}
.gp-stat.ok .k,.gp-stat.warn .k,.gp-stat.crit .k{color:#fff}
.gp-panel{background:#181b1f;border:1px solid #2c3235;border-radius:2px;padding:8px 10px}
.gp-h{display:flex;justify-content:space-between;font-size:11.5px;font-weight:500;margin-bottom:6px}
.gp-h i{font-style:normal;color:#8e8e9e}
.gp-chart{display:block;width:100%;height:92px}
.gp table{width:100%;border-collapse:collapse;font-size:12px}
.gp th{text-align:left;font-weight:500;color:#8e8e9e;padding:5px 6px;border-bottom:1px solid #2c3235}
.gp td{padding:6px;border-bottom:1px solid #22252b;white-space:nowrap}
.gp tr:last-child td{border-bottom:0}
.pill{display:inline-block;padding:0 6px;font-size:11px;font-weight:600;color:#fff;border-radius:2px}
.pill.ok{background:#56a64b}.pill.warn{background:#ff9830}.pill.crit{background:#f2495c}.pill.nodata{background:#8f3bb8}
.gp-scroll{overflow-x:auto}
@media (max-width:575.98px){.gp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-stat .v{font-size:20px}}

/* ============================================================
   One memorable thing per industry, under each pillar's hero.
   ============================================================ */
.readout{border-top:1px solid var(--tblr-border-color);border-bottom:1px solid var(--tblr-border-color);background:var(--tblr-bg-surface-secondary)}
.readout .container-xl{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 2rem;padding-top:1rem;padding-bottom:1rem}
.ro span{display:block;font-size:.75rem;color:var(--tblr-secondary)}
.ro b{display:block;font-family:var(--tblr-font-monospace);font-weight:500;font-size:.98rem;white-space:nowrap}
.readout .example{margin-left:auto;font-size:.75rem;color:var(--tblr-secondary);font-style:italic}

/* maritime: a chart plotter - graticule, a range ring and a compass */
.p-maritime .hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 82% 38%, transparent 0 150px, rgba(111,230,243,.10) 151px 152px, transparent 153px 250px,
      rgba(111,230,243,.08) 251px 252px, transparent 253px 350px, rgba(111,230,243,.06) 351px 352px, transparent 353px),
    linear-gradient(rgba(111,230,243,.05) 1px, transparent 1px) 0 0/96px 96px,
    linear-gradient(90deg, rgba(111,230,243,.05) 1px, transparent 1px) 0 0/96px 96px;
}
.compass{width:34px;height:34px;color:var(--accent)}
.p-maritime .ro b{color:#C9F6FB}

/* broadcast: a tally light and running timecode, with SMPTE bars under the strip */
.tally{display:inline-flex;align-items:center;gap:.6rem;padding:.4rem .9rem;border:1px solid var(--tally);border-radius:3px;
  font-family:"Inter";font-stretch:normal;font-weight:800;font-size:1rem;color:#fff;background:rgba(255,59,48,.18);
  box-shadow:0 0 22px rgba(255,59,48,.35)}
.tally i{width:.6rem;height:.6rem;border-radius:50%;background:var(--tally);box-shadow:0 0 8px var(--tally)}
.tc{color:#FFD08A!important;font-size:1.15rem!important;letter-spacing:.03em}
.smpte{display:flex;height:6px}
.smpte i{flex:1}
.smpte i:nth-child(1){background:#C0C0C0}.smpte i:nth-child(2){background:#C0C000}.smpte i:nth-child(3){background:#00C0C0}.smpte i:nth-child(4){background:#00C000}
.smpte i:nth-child(5){background:#C000C0}.smpte i:nth-child(6){background:#C00000}.smpte i:nth-child(7){background:#0000C0}
.p-broadcast .hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    radial-gradient(70% 80% at 85% 30%, rgba(255,90,20,.10), transparent 70%);
}

/* infra: a 42U rack drawn at the hero's edge, and front-panel LEDs */
.p-infra .hero::before{
  content:"";position:absolute;right:max(1rem,calc(50% - 680px));top:2rem;bottom:2rem;width:150px;pointer-events:none;opacity:.35;
  background:
    radial-gradient(circle, var(--led) 0 2px, transparent 3px) 128px 9px/12px 18px repeat-y,
    repeating-linear-gradient(180deg, rgba(107,235,138,.45) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, rgba(107,235,138,.6) 0 2px, transparent 2px calc(100% - 2px), rgba(107,235,138,.6) calc(100% - 2px));
  -webkit-mask:linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);mask:linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.leds{display:flex;gap:6px;padding:.5rem .6rem;border:1px solid var(--tblr-border-color);border-radius:3px;background:#050906}
.leds i{width:8px;height:8px;border-radius:50%;background:var(--led);box-shadow:0 0 6px var(--led)}
.leds i.amber{background:#FFB13D;box-shadow:0 0 6px #FFB13D}
.p-infra .flow-kit::after{content:"";position:absolute;right:.75rem;top:.8rem;width:6px;height:6px;border-radius:50%;background:var(--led);box-shadow:0 0 5px var(--led)}

@media (max-width:991.98px){
  .p-infra .hero::before{display:none}
  .hero{padding:3rem 0}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* hub product cards: every preview the same shape, cropped from the top */
.pillar-card .browser img,.pillar-card .preview-drawn{aspect-ratio:16/10;object-fit:cover;object-position:top left;overflow:hidden}
.pillar-card .preview-drawn .gp{transform-origin:top left}
/* 16px side gutter on phones, matching the 444Video site */
.container-xl{--tblr-gutter-x:2rem}
.flow .badge{font-size:.72rem;padding:.2rem .45rem}

/* ============================================================
   BROADCAST - a gallery multiviewer.
   Screens sit on black bezels with an under-monitor display
   (UMD) and tally lamps; protocol tags are router-panel keys;
   SMPTE bars mark the section breaks. Square corners throughout.
   ============================================================ */
.p-broadcast{--tblr-border-radius:0;--tblr-border-radius-lg:0;--bezel:#050404;--umd:#FFC247;--pvw:#2BD45B}
.p-broadcast .card{border-radius:0;border-color:#2E2420;background:#15100E}

/* monitor tiles: black bezel, no browser chrome, UMD underneath */
.p-broadcast .browser{border-radius:0;background:var(--bezel);padding:6px;box-shadow:0 0 0 1px #2E2420,0 18px 50px -20px rgba(0,0,0,.9)}
.p-broadcast .browser-header{display:none}
.p-broadcast .shot-note{
  display:flex;align-items:center;gap:.75rem;margin-top:0;padding:.45rem .75rem;
  background:var(--bezel);border:1px solid #2E2420;border-top:0;
  font-family:"Inter";font-stretch:normal;font-weight:600;font-size:.82rem;color:var(--umd);letter-spacing:.02em;
}
.p-broadcast .shot-note .badge{
  flex:none;margin:0;width:.85rem;height:.85rem;padding:0;border-radius:0;font-size:0;overflow:hidden;
  background:var(--tally)!important;box-shadow:0 0 8px var(--tally);
}
.p-broadcast figure:has(.bg-secondary-lt) .shot-note .badge{background:#555!important;box-shadow:none}
.p-broadcast .shot-note::after{content:"";flex:none;margin-left:auto;width:.85rem;height:.85rem;background:var(--pvw);box-shadow:0 0 8px var(--pvw)}

/* the hero sits on a quad-split, like the wall it came from */
.p-broadcast .hero::before{
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,194,71,.06) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(transparent calc(50% - 1px), rgba(255,194,71,.06) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    radial-gradient(70% 80% at 85% 30%, rgba(255,90,20,.10), transparent 70%);
}

/* section breaks are a strip of 75% bars */
.p-broadcast .section + .section{border-top:0}
.p-broadcast .section + .section::before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,#C0C0C0 0 14.28%,#C0C000 0 28.57%,#00C0C0 0 42.85%,#00C000 0 57.14%,#C000C0 0 71.42%,#C00000 0 85.71%,#0000C0 0);
  opacity:.55;
}

/* diagram: each box is a tile with a UMD title bar */
.p-broadcast .flow .card{background:#120D0C;border-color:#2E2420}
.p-broadcast .flow .card-body{padding:0}
.p-broadcast .flow .card strong{
  display:block;padding:.45rem .8rem;background:var(--bezel);border-bottom:1px solid #2E2420;
  font-family:"Inter";font-stretch:normal;font-weight:700;font-size:.95rem;color:var(--umd);
}
.p-broadcast .flow .card p{padding:.55rem .8rem .75rem;margin:0}
.p-broadcast .flow-kit{border-left:0;box-shadow:inset 3px 0 0 var(--tally)!important}
.p-broadcast .flow-store strong{border-bottom:0;background:transparent;color:var(--tblr-body-color)}
.p-broadcast .flow-store .card-body{padding:.6rem .2rem}
.p-broadcast .flow-via .card-body{display:flex;flex-direction:column}
.p-broadcast .flow-via .badge{order:2;align-self:flex-start;margin:.6rem .8rem 0}
.p-broadcast .flow-via strong{order:1}
.p-broadcast .flow-via p{order:3}
/* router-panel keys */
.p-broadcast .flow .badge{
  border-radius:2px;background:linear-gradient(#2A201B,#1A1411)!important;color:var(--umd)!important;
  border:1px solid #4A382E;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 6px rgba(255,180,60,.15);
}
.p-broadcast .flow-out .card{background:var(--bezel)}
.p-broadcast .flow-out .card-status-top{background:var(--tally)!important}

/* dashboard cards and audience: tiles with a tally lamp in the corner */
.p-broadcast .dash-card,.p-broadcast .audience .card,.p-broadcast .pillar-card,.p-broadcast .figure-card{position:relative}
.p-broadcast .dash-card::after,.p-broadcast .audience .card::after{
  content:"";position:absolute;right:.8rem;top:.9rem;width:.55rem;height:.55rem;background:var(--pvw);box-shadow:0 0 6px var(--pvw);
}
.p-broadcast .dash-card:first-child::after,.p-broadcast .row > .col-12:first-child .dash-card::after{background:var(--tally);box-shadow:0 0 8px var(--tally)}
.p-broadcast .audience .card{border-left:0;border-top:3px solid #2E2420}
.p-broadcast .figure-card{background:var(--bezel)}
.p-broadcast .figure-card .display{color:var(--umd);font-stretch:normal}
.p-broadcast .btn{border-radius:0}
.p-broadcast .btn-primary{font-family:"Inter";font-stretch:normal;font-weight:700}

/* ============================================================
   INFRA - a rack elevation.
   Cards are 1U faceplates with screw holes, protocols are
   printed asset-label tape, the diagram is patched with
   coloured cables, and a rack rail runs down the page edge.
   ============================================================ */
.p-infra{--rail:#1A231E;--plate1:#18211C;--plate2:#111814;--tape:#EDEDE4;--cable-a:#3B82F6;--cable-b:#EAB308}
.p-infra .card{
  border-radius:2px;border-color:#2C3B33;
  background:linear-gradient(180deg,var(--plate1),var(--plate2));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 1px 0 rgba(0,0,0,.5);
}
/* screw holes in the four corners of every plate, drawn on the card body */
.p-infra .card-body{
  background:
    radial-gradient(circle,#050806 2.2px,#3A4A41 2.8px,transparent 3.4px) left 6px top 6px/8px 8px no-repeat,
    radial-gradient(circle,#050806 2.2px,#3A4A41 2.8px,transparent 3.4px) right 6px top 6px/8px 8px no-repeat,
    radial-gradient(circle,#050806 2.2px,#3A4A41 2.8px,transparent 3.4px) left 6px bottom 6px/8px 8px no-repeat,
    radial-gradient(circle,#050806 2.2px,#3A4A41 2.8px,transparent 3.4px) right 6px bottom 6px/8px 8px no-repeat;
}
.p-infra .card > *{position:relative;z-index:1}
.p-infra .card-body{padding-left:1.4rem;padding-right:1.4rem}

/* rack rail with square mounting holes down the left edge of each section */
.p-infra .section,.p-infra .hero{position:relative}
.p-infra .section::after{
  content:"";position:absolute;left:0;top:0;bottom:0;width:22px;pointer-events:none;
  background:
    linear-gradient(90deg,transparent 0 6px,rgba(255,255,255,.04) 6px 7px,transparent 7px 15px,rgba(255,255,255,.04) 15px 16px,transparent 16px),
    linear-gradient(#0A0F0C 0 0) 8px 0/6px 100% no-repeat,
    repeating-linear-gradient(180deg,transparent 0 7px,#2C3B33 7px 13px,transparent 13px 15px,#2C3B33 15px 21px,transparent 21px 23px,#2C3B33 23px 29px,transparent 29px 44.45px) 8px 0/6px 100% no-repeat,
    var(--rail);
  border-right:1px solid #2C3B33;
}
@media (max-width:767.98px){.p-infra .section::after{display:none}}

/* asset-label tape */
.p-infra .flow .badge,.p-infra .shot-note .badge{
  background:var(--tape)!important;color:#111!important;border-radius:1px;font-family:var(--tblr-font-monospace);font-weight:500;
  box-shadow:0 1px 0 rgba(0,0,0,.6);letter-spacing:.02em;
}
.p-infra .shot-note .badge{font-family:"Inter"}

/* patch cables between the columns: blue into the collector, yellow into storage */
.p-infra .flow-via::before,.p-infra .flow-store::before{border-top:3px solid var(--cable-a);opacity:1;border-radius:2px;top:calc(50% - 1px)}
.p-infra .flow-store::before{border-top-color:var(--cable-b)}
.p-infra .flow-via::after,.p-infra .flow-store::after{
  border:0;left:-9px;top:calc(50% - 5px);width:9px;height:11px;border-radius:1px;
  background:linear-gradient(90deg,#9AA59E,#C9D1CB);box-shadow:inset -2px 0 0 #6C7770;
}
@media (max-width:991.98px){
  .p-infra .flow-via::before,.p-infra .flow-store::before{border-top:0;border-left:3px solid var(--cable-a);left:calc(1.5rem - 1px)}
  .p-infra .flow-store::before{border-left-color:var(--cable-b)}
  .p-infra .flow-via::after,.p-infra .flow-store::after{left:calc(1.5rem - 4px);top:-9px;width:11px;height:9px}
}
/* each piece of equipment gets a vent grille and a front-panel LED */
.p-infra .flow-kit{border-left:1px solid #2C3B33}
.p-infra .flow-kit .card-body{padding-left:2.4rem}
.p-infra .flow-kit .card-body::before{
  content:"";position:absolute;left:1.1rem;top:1rem;bottom:1rem;width:.6rem;
  background:repeating-linear-gradient(180deg,#050806 0 2px,transparent 2px 5px);opacity:.9;
}
.p-infra .flow-out .card-status-top{background:var(--led)!important;height:2px}
.p-infra .flow-store strong{font-family:"Inter";font-weight:600}

/* dashboard cards read like engraved panel labels */
.p-infra .dash-card .card-status-top{height:2px}
.p-infra .dash-card small{
  display:inline-block;padding:.05rem .4rem;background:var(--tape);color:#111!important;border-radius:1px;
  font-family:var(--tblr-font-monospace);font-weight:500;font-size:.75rem;
}
.p-infra .audience .card{border-left:1px solid #2C3B33}
.p-infra .figure-card .display{font-family:"Inter";color:var(--accent)}
.p-infra .browser{border-radius:2px}
.p-infra .btn{border-radius:2px}

/* fixes after review */
.p-broadcast .browser-header{display:none!important}
.p-broadcast .flow .flow-store .card-body strong{background:transparent;border-bottom:0;color:var(--tblr-body-color)}
.p-broadcast .flow .flow-out .card-body{padding:1rem 1.1rem}
.p-broadcast .flow .flow-out h3{font-family:"Inter";font-stretch:normal;font-weight:800;color:#fff}
.p-broadcast .flow .flow-out p{padding:0}
.p-broadcast .flow-out .list-group-item{font-family:"Inter";font-stretch:normal;font-weight:600}
.p-infra .flow-kit .card-body::before{top:1.1rem;bottom:1.1rem}

/* maritime: the ship sails along the bottom of the hero */
.voyage{position:relative;height:clamp(120px,17vw,220px);margin-top:-1rem;overflow:hidden;
  background:linear-gradient(180deg,transparent,rgba(4,16,30,.6))}
.voyage svg{position:absolute;inset:0;width:100%;height:100%}
.p-maritime .hero{padding-bottom:2rem}

/* ---------- yacht page: money cards, crew Wi-Fi panel, METSTRADE band ---------- */
.money-card{border-top:2px solid var(--accent)}
.money-card h3{font-family:var(--display);font-weight:var(--display-weight);font-size:1.3rem;margin:.35rem 0 .5rem}
.money-card p{color:var(--tblr-secondary);margin-bottom:.75rem}
.money-n{font-family:var(--tblr-font-monospace);font-size:.8rem;color:var(--accent)}
.money-dash{font-size:.8rem;margin:0!important;color:var(--tblr-body-color)!important}
.money-dash::before{content:"Dashboard: ";color:var(--tblr-secondary)}
.ticks{list-style:none;padding:0;margin:0;display:grid;gap:.85rem}
.ticks li{position:relative;padding-left:1.6rem;color:var(--tblr-secondary)}
.ticks li strong{color:var(--tblr-body-color)}
.ticks li::before{content:"";position:absolute;left:0;top:.45em;width:.8rem;height:.45rem;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}
.crew-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#141414;border:1px solid #2c3235;border-top:3px solid #ff8a65;border-radius:4px;padding:12px 14px}
.crew-switch small{display:block;font-size:11px;color:#ff8a65;font-weight:600}
.crew-switch strong{font-size:20px;color:#fff}
.crew-switch p{margin:2px 0 0;font-size:12px;color:#8e8e9e}
.crew-btn{flex-shrink:0;border:1px solid #ff8a65;color:#ff8a65;border-radius:6px;padding:7px 12px;font-size:13px;font-weight:500}
.cb{display:grid;grid-template-columns:56px 1fr 64px;align-items:center;gap:8px;font-size:13px;margin:6px 0}
.cb i{height:22px;background:#22252b;display:block}
.cb b{display:block;height:100%;opacity:.55}
.cb em{font-style:normal;font-weight:600;text-align:right;font-size:16px}
.metstrade{background:linear-gradient(120deg,rgba(71,214,232,.14),rgba(71,214,232,0) 60%),var(--tblr-bg-surface-secondary);border-top:1px solid var(--tblr-border-color);border-bottom:1px solid var(--tblr-border-color)}
@media (max-width:575.98px){.crew-switch{flex-direction:column;align-items:flex-start}}

/* yacht page at laptop sizes: a shorter hero, a bigger screenshot, an illustration that is never cropped */
.p-maritime .hero{padding-top:3.5rem}
.p-maritime .hero-title{font-size:clamp(2.2rem,3.4vw,3.25rem);max-width:none}
.p-maritime .hero-description{font-size:1.125rem}
.p-maritime .voyage{height:clamp(110px,11.875vw,240px);margin-top:0}
