/* ------------------------------------------------------------------
   theme.css – "Corporate Clean, premium"
   HID navy on soft white (concept A) + the effects people liked in
   concept B: gradient-edged cards, blueprint grid, location rings,
   HUD corner brackets, glass panels, scan line on the title.
   Projector rules: text >= 24px, muted text >= 7:1, mid-dark navy.
------------------------------------------------------------------- */
:root {
  /* ===== colour system: one blue family (hue ~221), a few tokens =====
     --brand       HID blue, exactly the logo colour: every solid UI fill (table headers, number circles, total bars, tags)
     --photo-blue  the same family, lifted a little (red channel > 0): used for the multiply overlays on photos, glass panels and
                   dark slides. Pure #003087 has no red at all, which turned photos into an electric, digital blue.
     --ink / --muted   text on light slides (deep navy of the same hue, not grey)
     --accent      azure for small labels, links, numbers; cyan (#7CC8FF) only as a glow on dark
     --hl          HID yellow, only as highlight (eyebrow dot, underline, bullets) */
  --brand: #003087;
  --photo-blue: #1B3F8B;
  --shade: 27, 63, 139;
  --shade-deep: 16, 44, 110;
  --shade-glass: 18, 50, 125;
  --shade-hex: var(--photo-blue);
  --shade-letterbox: #0B2A66;
  --bg: #F3F6FB;
  --bg-alt: var(--tint-2);
  --fg: #0C1F4C;
  --muted: #394B75;
  --primary: var(--brand);
  --accent: #0056BF;
  --hl: #ECC215;
  --card: #fff;
  --card-line: #DCE3F0;
  --tint-0: #F6F9FE;
  --tint-1: #EEF3FC;
  --tint-2: #E9EFFA;
  --radius: 20px;
  --font-head: "Neue Haas Unica Pro", Arial, Helvetica, sans-serif;
  --font-body: "Neue Haas Unica Pro", Arial, Helvetica, sans-serif;
  --font-mono: "Neue Haas Unica Pro", Arial, Helvetica, sans-serif;   /* labels use the brand font too */
  --letterbox: var(--shade-letterbox);
  --hud: rgba(0, 86, 191, .55);
  --edge: linear-gradient(140deg, rgba(0, 86, 191, .55), rgba(0, 48, 135, .10) 42%, rgba(56, 189, 248, .55));
}
section[data-tone="dark"] { --bg: var(--shade-hex); --fg: #fff; --muted: #D3DDF5; --eyebrow-color: var(--hl); --hud: #7CC8FF; }

/* ---- slide canvas: blueprint grid + soft glows ---- */
.reveal .slides section {
  background:
    radial-gradient(1000px 640px at 92% -8%, rgba(0, 86, 191, .11), transparent 60%),
    radial-gradient(800px 560px at -6% 108%, rgba(56, 189, 248, .12), transparent 60%),
    linear-gradient(rgba(0, 48, 135, .05) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(0, 48, 135, .05) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--bg);
}
.reveal .slides section[data-tone="dark"] {
  background:
    radial-gradient(1100px 700px at 88% -12%, rgba(0, 86, 191, .55), transparent 62%),
    radial-gradient(900px 600px at -8% 112%, rgba(56, 189, 248, .18), transparent 62%),
    linear-gradient(rgba(160, 190, 255, .09) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(160, 190, 255, .09) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--bg);
}

/* slow location ping behind light slides */
@keyframes ping { 0% { transform: scale(.35); opacity: 0; } 25% { opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.reveal .slides section[data-tone="light"]::before {
  content: ""; position: absolute; z-index: 0; right: -280px; top: -320px; width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 78px, rgba(0, 86, 191, .16) 78px 80px);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 70%); mask: radial-gradient(circle, #000 0%, transparent 70%);
  animation: ping 6s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) { .reveal .slides section::before, .bg::before, .flow-link::before { animation: none !important; } }

/* ---- eyebrow, headings ---- */
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--hl); box-shadow: 0 0 0 5px rgba(236, 194, 21, .28); }
.head h2 em, .stage-big h3 b { background: linear-gradient(transparent 68%, var(--hl) 68% 94%, transparent 94%); padding: 0 .08em; margin: 0 -.08em; font-style: normal; }
.head h2 em { display: inline-block; }
.stage-big h3 b { display: table; margin: 0 auto 6px; }
.reveal h2 { text-wrap: balance; }

/* ---- premium cards: gradient hairline edge, inner highlight, deep soft shadow ---- */
.app, .stat, .pillar, .prs-item, .step, .layer, .tm-card, .flow-step, .obj-card, .pf-card, .zv-claim, .zv-pillar, .pv-item, .pv-main,
.big-visual, .zv-visual, .about-row, .ps-box, .ps-step, .benefit, .cv-mapcard, .mm-pip, .case-media figure, .table-card {
  background: var(--card-bg, linear-gradient(180deg, #fff 0%, var(--tint-1) 100%)) padding-box, var(--edge) border-box;   /* soft gradient; --card-bg lets a card put its white end under its picture */
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 24px 46px -22px rgba(0, 48, 135, .34), 0 2px 6px rgba(0, 48, 135, .06);
}

/* ---- photo overlays + glass ---- */
.bg { isolation: isolate; }
.bg::after { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; }
section[data-kind="statement"] .bg::after { background: linear-gradient(90deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 90%, #fff) 40%, #fff 82%); }
section[data-kind="photolist"] .bg::after { background: linear-gradient(90deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 92%, #fff) 40%, color-mix(in srgb, var(--shade-hex) 40%, #fff) 62%, #fff 84%); }
section[data-kind="section"] .bg::after { background: linear-gradient(90deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 80%, #fff) 38%, color-mix(in srgb, var(--shade-hex) 25%, #fff) 68%, #fff 92%); }
section[data-kind="end"] .bg::after { background: linear-gradient(90deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 88%, #fff) 55%, color-mix(in srgb, var(--shade-hex) 55%, #fff) 100%); }
section[data-kind="photo"] .bg::after { background: linear-gradient(0deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 40%, #fff) 35%, #fff 70%); }
.glass {
  background: linear-gradient(rgba(var(--shade-glass), .66), rgba(var(--shade-glass), .66)) padding-box, linear-gradient(140deg, rgba(124, 200, 255, .85), rgba(124, 200, 255, .12) 42%, rgba(236, 194, 21, .6)) border-box;
  border: 1px solid transparent; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 60px -24px rgba(3, 12, 40, .7); color: #fff;
}
.glass .eyebrow { --eyebrow-color: var(--hl); }

/* ---- 1 title ---- */
section[data-kind="title"] .bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--shade-hex) 35%, #fff) 0%, #fff 28%); }
@keyframes scan { from { top: -12%; } to { top: 112%; } }
section[data-kind="title"] .bg::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; height: 150px; top: -12%; background: linear-gradient(180deg, transparent, rgba(124, 200, 255, .12) 70%, rgba(124, 200, 255, .45)); border-bottom: 2px solid rgba(124, 200, 255, .85); animation: scan 8s linear infinite; }
.title-block {
  left: 0; bottom: 120px; padding: 54px 96px 58px var(--px); border-radius: 0 28px 28px 0; max-width: 1280px; color: #fff;
  background: linear-gradient(rgba(var(--shade), .94), rgba(var(--shade), .9)) padding-box, linear-gradient(140deg, rgba(124, 200, 255, .8), rgba(124, 200, 255, .1) 45%, rgba(236, 194, 21, .55)) border-box;
  border: 1px solid transparent; border-left: 0; backdrop-filter: blur(14px); box-shadow: 0 30px 70px -20px rgba(3, 12, 40, .7);
}
.title-block .eyebrow { margin-bottom: 26px; }
.title-block h1 { font-size: 144px; }
.title-block .subtitle { color: #D3DDF5; }

/* ---- statement / photo caption ---- */
.statement-body .lead { color: #D3DDF5; }
.pills li { color: var(--hl); background: rgba(236, 194, 21, .08); }

/* ---- 3 adoption ---- */
.stage-tag { color: var(--accent); }
.curve svg { filter: drop-shadow(0 6px 14px rgba(0, 86, 191, .28)); }

/* ---- 4 apps ---- */
.app .icon { color: #fff; background: var(--primary); }
.app-num { color: var(--accent); opacity: .75; }

/* ---- 5 photo list ---- */
.checks li { color: #fff; }
.tech img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }

/* ---- 6 case ---- */
.prs-item .label::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: currentColor; margin-right: 12px; }
.prs-item.problem { --tint: #C2410C; } .prs-item.solution { --tint: var(--accent); } .prs-item.outcome { --tint: #15803D; }
.prs-item { position: relative; }
.prs-item::after { content: ""; position: absolute; right: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, var(--tint), transparent); opacity: .18; }
.kpi b { color: var(--primary); }
.kpi b i { color: var(--muted); }
.why li { background: #fff; }

/* ---- 7 stats (hidden bonus slide) ---- */
.stat-grid { counter-reset: kpi; }
.stat { counter-increment: kpi; position: relative; }
.stat::before { content: "KPI " counter(kpi, decimal-leading-zero); position: absolute; top: 24px; left: 36px; font-family: var(--font-mono); font-size: 24px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.stat .num { color: var(--primary); }

/* ---- 9 stack ---- */
.layer.l1 { --edge: linear-gradient(140deg, rgba(0, 48, 135, .35), rgba(0, 48, 135, .06)); }
.layer.l2 { --card-bg: linear-gradient(var(--tint-2), var(--tint-2)); }
.layer.l3 { --card-bg: linear-gradient(#0056BF, #0056BF); color: #fff; }
.layer.l4 { --card-bg: linear-gradient(var(--brand), var(--brand)); color: #fff; }
.layer.l3 .layer-no, .layer.l4 .layer-no { color: var(--hl); }
.layer.l3 .chips li { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .45); color: #fff; }
.layer.l4 .loop li, .layer.l4 .loop li::after { color: #fff; }
.layer.l4 .loop li::after { color: var(--hl); }
.layer .ctx, .layer .raw { background: #fff; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--card-line); display: inline-block; color: var(--fg); }
.layer-body { display: flex; align-items: center; gap: 22px; min-width: 0; }
.layer-body .ico { height: 82px; width: auto; flex: none; }
.layer-body .logo { height: 60px; width: auto; flex: none; background: #fff; border-radius: 12px; padding: 8px 14px; box-sizing: border-box; }
.layer-body .thumb { height: 128px; width: auto; flex: none; border-radius: 12px; background: #fff; border: 1px solid rgba(255, 255, 255, .5); }

/* ---- 10 pillars ---- */
.pillar-no { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 26px; }
.pillar q, .step q, .zv-claim h3 { color: var(--accent); }

/* ---- 11 journey ---- */
.step:nth-child(-n+3) .step-no { background: var(--primary); }
.step:nth-child(n+4) .step-no { background: var(--accent); }

/* ---- 12 table ---- */
.total { background: var(--primary); color: #fff; }
.total b { color: var(--hl); }

/* ---- section / end ---- */
.section-body h2 { padding-left: 34px; border-left: 5px solid var(--hl); font-size: 124px; }
.end-body h2 { color: #fff; }

/* ---- header: HID logo in one corner, "Industrial RTLS" in the other ---- */
.brand-name { font-size: 30px; font-weight: 400; line-height: 1; letter-spacing: .01em; color: inherit; white-space: nowrap; }
.brand-name b { font-weight: 700; }
.brand-name.big { font-size: 44px; }

/* ---- case KPIs: clearly separated blocks ---- */
.case-kpis { gap: 0; align-items: flex-start; }
.case-kpis .kpi { padding-right: 52px; }
.case-kpis .kpi + .kpi { padding-left: 52px; border-left: 2px solid var(--card-line); }
.case-kpis.k3 .kpi, .case-kpis.k4 .kpi { padding-right: 26px; }
.case-kpis.k3 .kpi + .kpi, .case-kpis.k4 .kpi + .kpi { padding-left: 26px; }

/* ---- journey: no connecting line behind the cards ---- */
.journey::before { display: none; }
.journey { padding-top: 32px; }

/* ---- picture slides: the image fills one plain white card (no card inside a card) ---- */
section[data-kind="picture"] .big-visual { padding: 0; overflow: hidden; }
section[data-kind="picture"] .big-visual img { width: 100%; height: 100%; object-fit: contain; }
.pf-visual { background: none; }

/* ---- tables: navy header band, even padding, zebra rows ---- */
.table-card { overflow: hidden; }
.roi { width: 100%; border-collapse: collapse; background: none; border: 0; box-shadow: none; border-radius: 0; }
.roi thead th { background: var(--primary); color: #fff; font-size: 24px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 24px 32px; border: 0; text-align: left; white-space: nowrap; }
.roi tbody td { padding: 30px 32px; font-size: 30px; border-bottom: 1px solid var(--card-line); vertical-align: middle; }
.roi tbody tr:nth-child(even) td { background: var(--tint-0); }
.roi tbody tr:last-child td { border-bottom: 0; }
.roi th.r, .roi td.r { text-align: right; }
.roi.compact thead th { padding: 20px 32px; }
.roi.compact tbody td { padding: 13px 32px; font-size: 27px; }
.roi.compact td.input { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(0, 86, 191, .06) 10px 20px); }

/* ---- case studies: tighter cards so the KPI row never collides with them ---- */
.case-grid { gap: 22px 40px; }
.prs { gap: 12px; }
.prs-item { padding: 16px 28px; }
.prs-item .label { margin-bottom: 6px; }
.head.row { display: block; position: relative; }
.head.row .badge { position: absolute; right: 0; top: -6px; }
.case-kpis, .case-kpis.k3, .case-kpis.k4 { flex-wrap: nowrap; gap: 0; }
.case-kpis .kpi b { font-size: 68px; }
.case-kpis.k3 .kpi b { font-size: 60px; }
.case-kpis.k4 .kpi b { font-size: 54px; }
.case-kpis .kpi span { white-space: normal; line-height: 1.2; }
.case-kpis .kpi { padding-right: 44px; }
.case-kpis .kpi + .kpi { padding-left: 44px; }
.case-kpis.k3 .kpi, .case-kpis.k4 .kpi { padding-right: 22px; }
.case-kpis.k3 .kpi + .kpi, .case-kpis.k4 .kpi + .kpi { padding-left: 22px; }

/* ---- ROI table ---- */
.roi:not(.compact) td:not(:first-child) { white-space: nowrap; }
.roi:not(.compact) tbody td { font-size: 28px; padding: 28px 28px; }
.roi:not(.compact) thead th { padding: 24px 28px; }

/* ---- pillars: visuals shrink instead of pushing the cards off the slide ---- */
.pillars { grid-template-rows: minmax(0, 1fr); }
.pillar-visual { height: auto; flex: 1 1 0; min-height: 100px; max-height: 190px; }
.pillar-visual.anchors img { max-height: 100%; }
/* ---- ROI table: roomier rows ---- */
.roi:not(.compact) tbody td { padding-top: 40px; padding-bottom: 40px; }
.pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar { min-width: 0; }
.pillar-visual { min-width: 0; }
.pillar-visual img { max-width: 100%; min-width: 0; }
.pillar-visual.anchors img { height: 100%; width: auto; max-width: 48%; object-fit: contain; }

/* ---- photo-list header row: eyebrow + technology badge side by side, away from the HID logo ---- */
.pl-meta { display: flex; align-items: center; gap: 26px; margin-bottom: 20px; }
.pl-meta .eyebrow { margin-bottom: 0; }
.pl-meta .tech { margin: 0; }
.pl-meta .tech img { height: 52px; }
.photolist-body.dense .pl-meta { margin-bottom: 14px; }
.photolist-body.dense .pl-meta .tech img { height: 46px; }

/* ---- footer over photos: soft navy fade so the logo and "Industrial RTLS" stay readable ---- */
section[data-tone="dark"] .brand-name { text-shadow: 0 1px 10px rgba(5, 15, 45, .6); }


section[data-tone="dark"]::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px; z-index: 1; pointer-events: none; mix-blend-mode: multiply; background: linear-gradient(0deg, color-mix(in srgb, var(--shade-hex) 85%, #fff) 0%, #fff 100%); }

/* ---- 34 Zevon value: lighter layout (claims | picture, flat pillar strip underneath) ---- */
.zv { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "claims visual" "pillars pillars"; gap: 28px 34px; }
.zv-claims { grid-area: claims; gap: 20px; }
.zv-claim { padding: 28px 40px; }
.zv-claim h3 { font-size: 34px; margin-bottom: 8px; }
.zv-claim p { font-size: 28px; line-height: 1.3; }
.zv-visual { grid-area: visual; padding: 28px; }
.zv-pillars { grid-area: pillars; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 18px 6px 0; }
.zv-pillar { display: flex; align-items: center; gap: 22px; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
.zv-pillar b { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 28px; font-weight: 700; }
.zv-pillar h4 { margin: 0 0 4px; font-size: 30px; line-height: 1.15; }
.zv-pillar span { font-size: 26px; color: var(--muted); }

/* ---- 35 objects: roomier cards, tiles and labels ---- */
.objects { gap: 24px; }
.obj-card { padding: 30px 38px 32px; }
.obj-card h3 { font-size: 32px; margin-bottom: 20px; }
.obj-items { gap: 22px; }
.obj-item { gap: 14px; }
.obj-item .thumb { padding: 18px; border-radius: 14px; border: 1px solid var(--card-line); }
.obj-item span { font-size: 24px; padding: 0 4px 2px; }

/* ---- gradient direction follows the layout: tinted behind the text, white behind the picture ---- */
.pillar { --card-bg: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-0) 42%, #fff 66%); }
.flow-step { --card-bg: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-0) 22%, #fff 50%); }
.tm-card { --card-bg: linear-gradient(180deg, #fff 0%, #fff 55%, var(--tint-2) 100%); }
.pf-card { --card-bg: linear-gradient(180deg, #fff 0%, #fff 42%, var(--tint-2) 100%); }
.obj-card { --card-bg: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-0) 30%, #fff 62%); }
.about-row { --card-bg: linear-gradient(90deg, #fff 0%, #fff 46%, var(--tint-2) 100%); }
.layer.l1 { --card-bg: linear-gradient(90deg, #fff 0%, #fff 55%, var(--tint-1) 100%); }
/* cards that are just a picture stay white so the picture's own white background disappears */
.zv-visual, .big-visual, .cv-mapcard, .mm-pip, .case-media figure, .table-card { --card-bg: linear-gradient(#fff, #fff); }

/* ---- picture without a card (transparent diagrams sit directly on the slide) ---- */
.free-visual { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.free-visual img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---- slide 1: the supplied factory photo is nearly square, so the title sits on a brand-blue panel and the whole photo
        stays visible on the right (no text over the operators and their labels) ---- */
section[data-kind="title"] .bg { left: 35%; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
section[data-kind="title"] .bg img { object-position: 50% 50%; }
section[data-kind="title"] .bg::after { background: none; }
section[data-kind="title"]::before { height: 130px; }
.title-block { left: var(--px); top: 50%; bottom: auto; transform: translateY(-52%); max-width: 640px; padding: 0; border-radius: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.title-block .eyebrow { margin-bottom: 34px; white-space: nowrap; letter-spacing: .04em; }
.title-block h1 { font-size: 132px; line-height: .98; }
.title-block .subtitle { font-size: 44px; line-height: 1.2; margin-top: 30px; }

/* ---- slide 1 (revised): full-bleed photo, cropped from the top (ceiling is not the story), title sits on the tinted ceiling ---- */
section[data-kind="title"] .bg { left: 0; clip-path: none; }
section[data-kind="title"] .bg img { object-position: 50% 78%; }
section[data-kind="title"] .bg::after { background: linear-gradient(180deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 80%, #fff) 16%, color-mix(in srgb, var(--shade-hex) 40%, #fff) 30%, #fff 46%); }
section[data-kind="title"]::before { height: 150px; }
.title-block { left: var(--px); top: 56px; bottom: auto; transform: none; max-width: 1000px; }
.title-block .eyebrow { margin-bottom: 14px; white-space: normal; letter-spacing: .12em; }
.title-block h1 { font-size: 112px; line-height: 1; }
.title-block .subtitle { font-size: 40px; margin-top: 10px; }

/* ---- slide 29: logos in one calm row, same height, generous spacing ---- */
.tm-logos { flex-wrap: nowrap; gap: 36px; align-items: center; min-height: 76px; }
.tm-logos img { height: 42px; width: auto; flex: none; }
/* slide 1: the wordmark sits on the photo's floor labels, so it gets a small blue pill behind it */
section[data-kind="title"] .brand-name { background: rgba(var(--shade-deep), .78); padding: 10px 20px; margin-right: -20px; border-radius: 12px; backdrop-filter: blur(8px); text-shadow: none; }

/* ---- slide 1 (final): blue panel behind the title block (top-left), full-width blue strip behind the logos ---- */
section[data-kind="title"] .bg::after { background: none; }
.title-block {
  left: 0; top: 0; max-width: none; transform: none; padding: 46px 96px 40px var(--px); border-radius: 0 0 28px 0;
  background: linear-gradient(rgba(var(--shade), .95), rgba(var(--shade), .92)) padding-box, linear-gradient(140deg, rgba(124, 200, 255, .8), rgba(124, 200, 255, .1) 45%, rgba(236, 194, 21, .55)) border-box;
  border: 1px solid transparent; border-top: 0; border-left: 0; backdrop-filter: blur(14px); box-shadow: 0 30px 70px -20px rgba(3, 12, 40, .7);
}
.title-block .eyebrow { margin-bottom: 12px; white-space: nowrap; letter-spacing: .1em; }
.title-block h1 { font-size: 104px; }
.title-block .subtitle { font-size: 40px; margin-top: 8px; }
section[data-kind="title"]::before { height: 110px; mix-blend-mode: normal; background: var(--shade-hex); border-top: 1px solid rgba(124, 200, 255, .45); }
section[data-kind="title"] .brand-name { background: none; padding: 0; margin-right: 0; backdrop-filter: none; }

/* slide 1: the bottom is the same multiply fade as on the other photo slides (no solid strip) */
section[data-kind="title"]::before { height: 240px; mix-blend-mode: multiply; border-top: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--shade-hex) 85%, #fff) 0%, #fff 100%); }

/* slide 1 (revised): panel sits lower (not in the corner), photo shifted down to make room, bottom fade reaches as far as on slide 3 */
section[data-kind="title"] .bg img { object-position: 50% 72%; }
section[data-kind="title"] .bg::after { background: linear-gradient(0deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 40%, #fff) 35%, #fff 70%); }
section[data-kind="title"]::before { height: 240px; mix-blend-mode: multiply; border-top: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--shade-hex) 85%, #fff) 0%, #fff 100%); }
.title-block { top: 84px; padding: 36px 90px 34px var(--px); border-radius: 0 28px 28px 0; border-top: 1px solid transparent; }
.title-block h1 { font-size: 96px; }
.title-block .subtitle { font-size: 38px; }

/* ---- slide 1: signal waves radiate from the anchor in the top-right corner (replaces the scan line) ---- */
section[data-kind="title"] .bg::before { content: none; animation: none; }
/* the photo is cover-fitted (object-position 50% 72%) and always width-limited, so it grows and shifts with the window; .hero-w is the same rectangle (full width, the photo's aspect, top edge at 72% - 72% of its own height)
   and the dot is placed in photo coordinates: the LED of the anchor on the right pillar, below its HID logo, is at x 3635 / 3840, y 1026 / 3263 of title-hero.jpg (if the photo changes, move these two numbers) */
.hero-push { position: absolute; inset: 0; z-index: 2; pointer-events: none; }                 /* the photo pushes in slowly (scene-push, css/motion.css); this layer gets the same animation, so the dot stays on the LED */
.hero-w { position: absolute; left: 0; top: 72%; width: 100%; aspect-ratio: 3840 / 3263; transform: translateY(-72%); pointer-events: none; }
.waves { position: absolute; z-index: 2; left: 94.66%; top: 31.44%; width: 0; height: 0; pointer-events: none; }
.waves::before { content: ""; position: absolute; width: 12px; height: 12px; left: -6px; top: -6px; border-radius: 50%; background: #BFE6FF; box-shadow: 0 0 0 5px rgba(124, 200, 255, .16), 0 0 26px 8px rgba(124, 200, 255, .38); }
/* soft, feathered ring instead of a hard outline: it fades in and out like a real signal front.
   Speed (2026-11-27): the rings used to animate width / height up to 2100 px, which re-laid-out and re-painted four huge gradients every frame (47 fps on the 4K laptop with the AMD iGPU, the whole deck stuttered).
   Now every ring is ONE fixed 1000 px element that only scales and fades (transform + opacity = compositor only, nothing is repainted). */
.waves i { position: absolute; left: -500px; top: -500px; width: 1000px; height: 1000px; border-radius: 50%; box-sizing: border-box; transform: scale(.02); will-change: transform, opacity;
  background: radial-gradient(closest-side, rgba(170, 225, 255, 0) 91%, rgba(170, 225, 255, .26) 96%, rgba(170, 225, 255, .5) 99%, rgba(170, 225, 255, 0) 100%);
  opacity: 0; animation: wave 8s cubic-bezier(.3, .5, .4, 1) infinite; }
.waves i:nth-child(2) { animation-delay: 2s; }
.waves i:nth-child(3) { animation-delay: 4s; }
.waves i:nth-child(4) { animation-delay: 6s; }
@keyframes wave { 0% { transform: scale(.02); opacity: 0; } 10% { opacity: .85; } 70% { opacity: .35; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .waves i { animation: none; opacity: 0; } }

/* slide 1: "Industrial" bold + "RTLS" regular; the title panel is the exact brand blue (#003087, opaque) */
.title-block h1 .light { font-weight: 400; }
/* same frosted-glass panel as on slides 2 and 3 */
.title-block {
  background: linear-gradient(rgba(var(--shade-glass), .72), rgba(var(--shade-glass), .72)) padding-box, linear-gradient(140deg, rgba(124, 200, 255, .85), rgba(124, 200, 255, .12) 42%, rgba(236, 194, 21, .6)) border-box;
  border: 1px solid transparent; border-left: 0; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 60px -24px rgba(3, 12, 40, .7);
}

/* ---- colour harmonisation ----
   closing slide: same deep navy mood as the other photo slides (was a flat, bright cobalt) */
section[data-kind="end"] .bg::after { background: linear-gradient(90deg, color-mix(in srgb, var(--shade-hex) 58%, #000) 0%, color-mix(in srgb, var(--shade-hex) 74%, #000) 50%, color-mix(in srgb, var(--shade-hex) 92%, #000) 100%); }
/* progress bar: palette cyan on a brand-tinted track (the default white bar was invisible on light slides) */
.reveal .progress { color: #38BDF8; background-color: rgba(0, 48, 135, .16); }

/* ---- audit against the original deck ----
   5 core applications: original wording, brand-blue header bars with the original technology badges (as on the original slide),
   and the original isometric illustration in the sixth cell */
.apps { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr); height: auto; flex: 1; min-height: 0; gap: 26px; }
.app { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.app h3 { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 12px 26px; min-height: 68px; font-size: 32px; line-height: 1.12; color: #fff; background: var(--brand); }
.app .app-tech { height: 42px; width: auto; flex: none; }
.app ul { padding: 18px 28px 20px; margin: 0; }
.app li { font-size: 24px; line-height: 1.26; margin-bottom: 10px; color: var(--fg); }
.app li:last-child { margin-bottom: 0; }
.apps-visual { display: grid; place-items: center; padding: 12px; min-height: 0; border-radius: var(--radius);
  background: linear-gradient(#fff, #fff) padding-box, var(--edge) border-box; border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 24px 46px -22px rgba(0, 48, 135, .34), 0 2px 6px rgba(0, 48, 135, .06); }
.apps-visual img { width: 100%; height: 100%; object-fit: contain; }

/* case studies without the KPI row: the three cards use the freed height (bigger text), "full case study" badge sits next to the title */
.case-grid.no-kpis .prs-item p { font-size: 30px; line-height: 1.3; }
.case-grid.no-kpis .prs-item .label { font-size: 26px; margin-bottom: 10px; }
.head.row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.head.row .badge { position: static; flex: none; margin: 0; }

/* slide 29: without the invented captions the product pictures use the whole card (stacked, larger) */
.tm-visual { flex-direction: column; gap: 16px; }
.tm-visual img { max-width: 80%; max-height: calc(50% - 8px); width: auto; height: auto; }
.tm-visual.one img { max-width: 84%; max-height: 100%; }

/* ---- unified photo overlay: the gentle gradient of the section slides ("Solutions & Technologies") on every photo ----
   (the old photo-list gradient held ~92 % navy for 40 % of the width and turned dark photos into a flat murky panel).
   Dark photos get a small brightness lift (--lift on .bg) so their detail shows like on the section slides. */
section[data-kind="statement"] .bg::after,
section[data-kind="photolist"] .bg::after { background: linear-gradient(90deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 80%, #fff) 38%, color-mix(in srgb, var(--shade-hex) 25%, #fff) 68%, #fff 92%); }
.bg[style*="--lift"] img { filter: brightness(var(--lift)); }
section[data-kind="end"] .bg::after { background: linear-gradient(90deg, var(--shade-hex) 0%, color-mix(in srgb, var(--shade-hex) 80%, #fff) 38%, color-mix(in srgb, var(--shade-hex) 25%, #fff) 68%, #fff 92%); }
section[data-kind="photo"] .bg::after, section[data-kind="title"] .bg::after { background: linear-gradient(0deg, color-mix(in srgb, var(--shade-hex) 85%, #fff) 0%, color-mix(in srgb, var(--shade-hex) 60%, #fff) 18%, color-mix(in srgb, var(--shade-hex) 18%, #fff) 38%, #fff 56%); }

/* ---- slide 47: table + total panel stay inside the content area, clear of the footer logo ---- */
section[data-kind="table"] .table-wrap { gap: 32px; }
section[data-kind="table"] .roi:not(.compact) tbody td { padding-top: 34px; padding-bottom: 34px; }
section[data-kind="table"] .total { padding: 22px 40px; }

/* ---- slide 51: small blue HID logo above the "Industrial RTLS" wordmark, left-aligned with the text ---- */
.about-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.about-logo .about-hid { width: auto; height: 44px; max-height: none; object-fit: contain; display: block; }

/* ---- slide 48: consolidated ROI projections, built from real elements (was a picture) ---- */
section[data-kind="roimap"] .rm { flex: 1; min-height: 0; padding: 0; display: flex; }   /* no white card behind it: the elements sit straight on the slide background */
.rm-grid { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 306px; column-gap: 22px;
  grid-template-rows: 86px minmax(0, 1fr) 206px 118px minmax(0, 1fr) 86px auto; }
.rm-bar { display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 14px 26px -16px rgba(0, 48, 135, .6); }
.rm-bar.rm-top { grid-row: 1; }
.rm-bar.rm-bottom { grid-row: 6; }
.rm-bar:not(.rm-side-bar) { grid-column: 1 / 6; font-size: 46px; letter-spacing: .005em; }
.rm-bar em { font-style: normal; color: var(--hl); margin-left: .35em; }
.rm-side-bar { grid-column: 6; font-size: 26px; line-height: 1.25; }
.rm-arr { grid-column: var(--c); position: relative; display: block; }
.rm-arr.rm-a1 { grid-row: 2; }
.rm-arr.rm-a2 { grid-row: 5; }
.rm-arr::before { content: ""; position: absolute; left: calc(50% - 1.5px); width: 3px; top: 12px; bottom: 26px; background: #6F88B8; border-radius: 2px; }
.rm-arr::after { content: ""; position: absolute; left: calc(50% - 10px); bottom: 12px; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 16px solid #6F88B8; }
.rm-case, .rm-roi { grid-column: var(--c); background: linear-gradient(180deg, #fff 0%, var(--tint-1) 100%) padding-box, var(--edge) border-box; border: 1px solid transparent; border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 18px 32px -20px rgba(0, 48, 135, .34), 0 2px 6px rgba(0, 48, 135, .06); }
.rm-case { grid-row: 3; padding: 20px 14px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rm-case h3 { font-size: 32px; line-height: 1.1; color: var(--brand); }
.rm-case p { font-size: 25px; line-height: 1.25; color: var(--fg); }
.rm-roi { grid-row: 4; margin: 12px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.rm-roi b { font-size: 30px; font-weight: 700; color: var(--fg); }
.rm-roi span { font-size: 30px; color: var(--fg); }
.rm-costs { grid-column: 6; grid-row: 2 / 6; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 0; }
.rm-cost { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; min-height: 64px; padding: 10px 12px; border-radius: 14px; background: #EAEEF6; border: 1px solid var(--card-line); font-size: 24px; line-height: 1.2; color: var(--fg); }
.rm-cost b, .rm-cost span { font-weight: 700; }
.rm-note { grid-column: 1 / -1; grid-row: 7; margin: 14px 0 0; font-size: 24px; font-style: italic; color: var(--muted); }

/* ---- slide 46: common ROI drivers as chevron rows (was a picture), straight on the slide background ---- */
section[data-kind="drivers"] .dr { flex: 1; min-height: 0; display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)) auto; row-gap: 22px; }
.dr-row { display: flex; min-height: 0; max-height: 168px; align-self: center; width: 100%; height: 100%; }
.dr-lab, .dr-cell { --d: 58px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 var(--d); text-wrap: balance;
  clip-path: polygon(0 0, calc(100% - var(--d)) 0, 100% 50%, calc(100% - var(--d)) 100%, 0 100%, var(--d) 50%); }
.dr-lab { flex: none; width: 344px; background: linear-gradient(135deg, #0A3C9E 0%, var(--brand) 70%); color: #fff; font-size: 34px; font-weight: 700; line-height: 1.12; }
.dr-cell { flex: 1 1 0; min-width: 0; margin-left: calc(10px - var(--d)); font-size: 27px; line-height: 1.22; color: var(--fg); background: var(--dr-fill, #E7EDF8); }
.dr-row:nth-child(1) { --dr-fill: #E3EAF7; }
.dr-row:nth-child(2) { --dr-fill: #DEE6F5; }
.dr-row:nth-child(3) { --dr-fill: #D9E2F3; }
.dr-row:nth-child(4) { --dr-fill: #D4DEF1; }
.dr-note { grid-row: 5; margin: 4px 0 0; font-size: 24px; font-style: italic; color: var(--muted); }

/* ---- click-by-click build of slides 46 and 48: parts of one step appear one after another (--st = delay) ---- */
.dr-row .fragment { transform: translateX(-36px); }
.dr-row .fragment.visible { transform: none; }
.dr .fragment.visible, .rm .fragment.visible { transition-delay: var(--st, 0s); }

/* ---- slide 44: KPIs per process stage, built from real cards, straight on the slide background ---- */
.kc { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 64px; }
.kc-card { position: relative; display: flex; flex-direction: column; min-height: 0; border-radius: 24px; transform: translateX(-36px);
  background: linear-gradient(#fff, #fff) padding-box, var(--edge) border-box; border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 30px 54px -26px rgba(0, 48, 135, .46), 0 3px 8px rgba(0, 48, 135, .07); }
.kc-card.visible { transform: none; }
/* header: the blue deepens from stage to stage, with a faint location-ring motif in the corner */
.kc-card > h3 { position: relative; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; text-align: center; height: 100px; margin: -1px -1px 0; padding: 0 18px; border-radius: 24px 24px 0 0;
  font-size: 34px; line-height: 1.1; color: #fff; background: linear-gradient(135deg, var(--h1) 0%, var(--h2) 100%); }
.kc-card > h3::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 0%, rgba(160, 215, 255, .30) 0 1.5px, transparent 1.5px 24px);
  -webkit-mask-image: radial-gradient(circle at 100% 0%, #000 0, transparent 62%); mask-image: radial-gradient(circle at 100% 0%, #000 0, transparent 62%); }
.kc-card > h3 > span { position: relative; }
.kc-card:nth-child(1) > h3 { --h1: #1D4799; --h2: #00338F; }
.kc-card:nth-child(2) > h3 { --h1: #1A4394; --h2: #003189; }
.kc-card:nth-child(3) > h3 { --h1: #173E8F; --h2: #003087; }
.kc-card:nth-child(4) > h3 { --h1: #133A8B; --h2: #002D80; }
.kc-card:nth-child(5) > h3 { --h1: #103686; --h2: #002A78; }
/* section labels with a fading rule */
.kc-card h4 { margin: 0 0 14px; font-size: 30px; line-height: 1.1; color: var(--brand); }
.kc-card ul { margin: 0; padding: 0; list-style: none; }
.kc-track, .kc-kpi { padding: 0 14px; }
.kc-track { margin-top: 24px; min-height: 214px; }
.kc-track li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 24px; line-height: 1.25; color: var(--fg); }
.kc-track li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
/* KPIs are the measurable part: show them as tags */
.kc-kpi li { margin-bottom: 8px; padding: 8px 10px; border-radius: 12px; font-size: 24px; line-height: 1.22; font-weight: 500; color: var(--brand);
  background: linear-gradient(180deg, #F3F7FD, var(--tint-2)); border: 1px solid #D7E2F5; }
.kc-card .kc-logo { margin: auto auto 28px; padding: 12px 0 0; border: 0; background: none; box-shadow: none; display: block; width: auto; height: auto; max-width: 200px; max-height: 56px; object-fit: contain; }
/* connector: a round node with a chevron, centred in the gap at header height */
.kc-arr { position: absolute; z-index: 3; left: -53px; top: calc(50% - 20px); width: 40px; height: 40px; border-radius: 50%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / 22px 22px no-repeat, linear-gradient(140deg, #1A4DAF, var(--brand));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 12px 22px -8px rgba(0, 48, 135, .6); }


/* ---- slide 41: staircase - every step is taller than the one before, all stand on the same baseline ---- */
.journey { flex: 1; height: auto; min-height: 0; padding-top: 0; align-items: end; gap: 22px; }
.journey .step { box-sizing: border-box; padding: 30px 24px 28px; }   /* heights below are the real card heights */
.journey .step:nth-child(1) { height: 368px; }
.journey .step:nth-child(2) { height: 444px; }
.journey .step:nth-child(3) { height: 520px; }
.journey .step:nth-child(4) { height: 596px; }
.journey .step:nth-child(5) { height: 672px; }
.journey .step:nth-child(6) { height: 748px; }

/* ---- slide 45: the small overview inset sits in the empty lower-right corner, below the longest branch of the new impact map ---- */
.mm-pip { height: 47%; }

/* slide 45: the big diagram sits straight on the slide background (no white card) */
.mm .big-visual { background: none; border: 0; box-shadow: none; }

/* ---- slides 37-38 (Zevon vs. market standard): the pictures are transparent, so they sit straight on the slide background, as large as the area allows ---- */
.big-visual.plain { background: none; border: 0; box-shadow: none; }
