/* ------------------------------------------------------------------
   extra.css – layouts for the slide types added after the first
   sample (case-study media variants, technology flows, product
   cards, tables, maps ...). Look & feel lives in theme.css.
------------------------------------------------------------------- */

/* ---- small helpers ---- */
.head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.head.md h2 { font-size: 60px; }
.head.md { margin-bottom: 28px; }
.badge { font-family: var(--font-mono); font-size: 24px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--accent); color: var(--accent); white-space: nowrap; background: rgba(0, 86, 191, .06); }
.tech { display: flex; gap: 14px; margin-bottom: 26px; }
.tech img { height: 64px; width: auto; display: block; }
.dots li { position: relative; padding-left: 26px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---- photo slides with a caption (slides 2-3) ---- */
section[data-kind="photo"] { padding: 0; }
.photo-caption { position: absolute; z-index: 2; left: var(--px); bottom: 120px; max-width: 1040px; padding: 40px 54px 46px; border-radius: 28px; }
.photo-caption h2 { font-size: 80px; }
.photo-caption p:not(.eyebrow) { font-size: 32px; line-height: 1.4; margin-top: 22px; max-width: 880px; }

/* ---- case studies: P/S/O + flexible media gallery ---- */
/* Problem / Solution / Outcome cards fit their text (they are not stretched over the whole column) */
.prs { align-self: start; }
.case-grid .prs { gap: 16px; }
.case-grid .prs-item { flex: 0 0 auto; padding: 30px 40px 32px; }
.case-grid.no-kpis { grid-template-areas: "prs media" "prs why"; }
.case-kpis { flex-wrap: wrap; gap: 20px 44px; }
.case-kpis.k4, .case-kpis.k3 { flex-wrap: nowrap; gap: 24px; }
.case-kpis.k4 .kpi, .case-kpis.k3 .kpi { flex: 1; min-width: 0; }
.case-kpis.k4 .kpi b { font-size: 56px; }
.case-kpis.k3 .kpi b { font-size: 64px; }
.case-kpis.k4 .kpi span, .case-kpis.k3 .kpi span { white-space: normal; line-height: 1.2; }
.kpi b small { font-size: .5em; font-weight: 700; letter-spacing: .02em; }
.why::before { content: var(--why-label, "Why Industrial RTLS"); }

.case-media { grid-area: media; display: grid; gap: 16px; min-height: 0; position: static; background: none; border: 0; border-radius: 0; overflow: visible; }
.case-media figure { position: relative; min-height: 0; margin: 0; overflow: hidden; background: #fff; border-radius: var(--radius); }
.case-media figure img { box-sizing: border-box; position: static; width: 100%; height: 100%; object-fit: contain; display: block; }
.case-media figure.cover img { object-fit: cover; }
.case-media figure.logo img { object-fit: contain; padding: 38px; }
.case-media figure.pad img { padding: 16px; }
.case-media figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); font-size: 24px; line-height: 1.2; font-weight: 700; padding: 6px 14px; border-radius: 10px; background: rgba(0, 48, 135, .92); color: #fff; }
.cm-1 { grid-template: 1fr / 1fr; }
.cm-2 { grid-template: 1fr / 1fr 1fr; }
.cm-2v { grid-template: 1fr 1fr / 1fr; }
.cm-3 { grid-template: 1fr 1fr / 1.5fr 1fr; }
.cm-3 > figure:first-child { grid-row: span 2; }
.cm-3b { grid-template: 1.5fr 1fr / 1fr 1fr; }
.cm-3b > figure:first-child { grid-column: span 2; }
.cm-4 { grid-template: 1fr 1fr / 1fr 1fr; }

/* ---- 29 technology map ---- */
.techmap { flex: 1; display: grid; grid-template-columns: 1.75fr 1fr; gap: 30px; min-height: 0; position: relative; z-index: 1; }
.tm-panel { display: flex; flex-direction: column; gap: 22px; min-height: 0; }
.tm-title { font-family: var(--font-mono); font-size: 30px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 18px; }
.tm-title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.tm-cards { flex: 1; display: grid; gap: 24px; min-height: 0; }
.tm-prox .tm-cards { grid-template-columns: 1fr 1fr; }
.tm-card { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.tm-logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; min-height: 60px; }
.tm-logos img { height: 52px; width: auto; display: block; }
.tm-visual { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.tm-visual img { max-height: 100%; max-width: 48%; object-fit: contain; }
.tm-visual.one img { max-width: 80%; }
.tm-card h3 { font-size: 36px; }
.tm-card p { font-size: 26px; color: var(--muted); margin-top: -8px; }

/* ---- 30-33 device -> gateway -> engine flow ---- */
.flow { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr) 200px minmax(0, 1fr); min-height: 0; position: relative; z-index: 1; }
.flow-step { padding: 34px 34px 30px; display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.flow-brand { font-family: var(--font-mono); font-size: 26px; font-weight: 700; letter-spacing: .06em; color: var(--accent); margin-bottom: 8px; }
.flow-step h3 { font-size: 42px; line-height: 1.1; }
.flow-visual { flex: 1; min-height: 0; margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 18px; position: relative; }
.flow-visual img { min-width: 0; object-fit: contain; }
.flow-visual.one img { width: 100%; height: 100%; }
.flow-visual.pair img { width: 47%; height: 62%; }
.flow-visual.trio { flex-wrap: wrap; align-content: center; justify-content: center; gap: 14px 16px; }
.flow-visual.trio img { width: 46%; height: 36%; }
.monitor { position: relative; width: 100%; max-width: 440px; aspect-ratio: 2.9 / 2.1; }
.monitor img { position: absolute; max-height: none; }
.monitor .frame { inset: 0; width: 100%; height: 100%; }
.monitor .screen { left: 6.9%; top: 4.8%; width: 86%; height: 66.7%; object-fit: cover; }
.flow-link { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; }
.flow-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 26px); animation: flowdash 1.1s linear infinite; }
.flow-link::after { content: ""; position: absolute; right: -2px; top: 50%; margin-top: -11px; border: solid var(--accent); border-width: 4px 4px 0 0; width: 18px; height: 18px; transform: rotate(45deg); }
@keyframes flowdash { to { background-position: 26px 0; } }
.flow-link .chip { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--card-line); border-radius: 14px; padding: 8px 14px; font-size: 24px; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(0, 48, 135, .35); }
.flow-link .chip img { height: 34px; width: auto; }
.flow-link .chip.logo img { height: auto; max-height: 56px; max-width: 150px; }

/* ---- 34 Zevon value ---- */
.zv { flex: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; min-height: 0; position: relative; z-index: 1; }
.zv-claims { display: flex; flex-direction: column; gap: 18px; }
.zv-claim { flex: 1; padding: 22px 34px; display: flex; flex-direction: column; justify-content: center; }
.zv-claim h3 { font-size: 36px; color: var(--accent); margin-bottom: 6px; }
.zv-claim p { font-size: 28px; line-height: 1.3; }
.zv-right { display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.zv-visual { flex: 1; min-height: 0; padding: 14px; display: flex; align-items: center; justify-content: center; }
.zv-visual img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zv-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.zv-pillar { padding: 16px 20px 18px; }
.zv-pillar b { display: block; font-family: var(--font-mono); font-size: 24px; color: var(--accent); }
.zv-pillar h4 { margin: 2px 0 4px; font-size: 28px; line-height: 1.15; font-weight: 700; }
.zv-pillar span { font-size: 24px; color: var(--muted); }
.zv-sub { font-family: var(--font-mono); font-size: 26px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }

/* ---- 35 objects ---- */
.objects { flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr 1fr; gap: 20px; min-height: 0; position: relative; z-index: 1; }
.obj-card { padding: 18px 24px 20px; display: flex; flex-direction: column; min-height: 0; }
.obj-card h3 { font-size: 30px; color: var(--accent); margin-bottom: 12px; }
.obj-items { flex: 1; display: flex; gap: 14px; min-height: 0; }
.obj-item { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.obj-item .thumb { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border-radius: 12px; padding: 8px; box-sizing: border-box; }
.obj-item img { max-width: 100%; max-height: 100%; object-fit: contain; min-width: 0; }
.obj-item .thumb.two img { max-width: 50%; }
.obj-item span { font-size: 24px; line-height: 1.15; font-weight: 600; }

/* ---- 37 comparison ---- */
.compare { flex: 1; display: grid; grid-template-columns: 520px 1fr; gap: 36px; min-height: 0; position: relative; z-index: 1; }
.vs { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.vs-kpi b { display: block; font-size: 150px; line-height: .95; font-weight: 800; letter-spacing: -.03em; color: var(--num-color); }
.vs-kpi span { font-size: 30px; line-height: 1.3; color: var(--muted); display: block; margin-top: 6px; }
.vs-title { font-size: 56px; font-weight: 700; line-height: 1.05; }
.vs-title i { font-style: normal; color: var(--muted); font-weight: 400; padding: 0 .2em; }
.big-visual { padding: 18px; display: flex; align-items: center; justify-content: center; min-height: 0; flex: 1; position: relative; z-index: 1; }
.big-visual img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---- 38 HW portfolio + PoE daisy chaining on ONE slide (as in the original) ---- */
section[data-kind="portfolio"] .head { margin-bottom: 22px; }
/* top: three product cards, picture on the left, text on the right */
.portfolio { flex: none; height: 392px; display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 22px; position: relative; z-index: 1; }
.pf-card { box-sizing: border-box; min-height: 0; }
.pf-fig { position: relative; display: block; width: 100%; }
.pf-angle { position: absolute; z-index: 1; line-height: 1.25; white-space: nowrap; bottom: 8%; left: calc(50% + 56px); transform: translateX(-50%); font-family: var(--font-mono); font-size: 26px; font-weight: 700; padding: 3px 14px; border-radius: 10px; background: var(--primary); color: #fff; box-shadow: 0 8px 16px -8px rgba(0, 48, 135, .6); }
/* Omni + Direct share one card: picture | one table with a column per product | picture */
.pf-duo { display: grid; grid-template-columns: 215px minmax(0, 1fr) 215px; align-items: center; gap: 14px; padding: 22px 26px; }
.pf-pic { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.pf-pic .pf-fig { line-height: 0; }
.pf-pic::before { content: ""; position: absolute; left: -8%; right: -8%; top: 14%; bottom: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--shade), .14), rgba(var(--shade), 0)); }
.pf-pic img { position: relative; display: block; width: 100%; height: auto; max-height: 330px; object-fit: contain; }
.pf-list { list-style: none; margin: 0 30px; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.pf-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding: 0 6px 0 22px; border-radius: 999px; background: rgba(var(--shade), .07); border: 1px solid var(--card-line); font-size: 24px; line-height: 1.2; color: var(--fg); }
.pf-list li::before { content: none; }
.pf-list li > b { flex: none; padding: 4px 18px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 24px; font-weight: 700; line-height: 1.2; }
.pf-list li.single { justify-content: center; padding: 0 22px; font-weight: 600; background: rgba(var(--shade), .12); }
.pf-pic h3 { position: absolute; top: 0; left: -10px; right: -10px; z-index: 2; margin: 0; text-align: center; font-size: 32px; line-height: 1.1; }
/* Zevon Asset: a much smaller device, so a much smaller picture */
.pf-solo { padding: 24px 26px 24px 30px; display: flex; flex-direction: column; }
.pf-solo h3 { font-size: 40px; margin-bottom: 18px; }
.pf-solo-body { flex: 1; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; align-items: center; }
.pf-solo-body img { width: 100%; height: 160px; object-fit: contain; }
.pf-solo li { font-size: 24px; line-height: 1.22; padding-left: 30px; position: relative; margin-bottom: 9px; }
.pf-solo li::before { content: ""; position: absolute; left: 3px; top: .2em; width: 9px; height: 17px; border: solid var(--accent); border-width: 0 3.5px 3.5px 0; transform: rotate(40deg); }
/* bottom: navy panel with the diagram (white card) on the left and the three benefits on the right */
.daisy { flex: 1; min-height: 0; margin-top: 22px; display: grid; grid-template-columns: 1000px 1fr; column-gap: 40px; padding: 18px 36px 20px 22px; box-sizing: border-box; position: relative; z-index: 1; overflow: hidden; color: #fff;
  border: 1px solid transparent; border-radius: var(--radius);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(124, 200, 255, .20), rgba(124, 200, 255, 0) 62%) padding-box,
    linear-gradient(135deg, rgb(var(--shade)) 0%, rgb(var(--shade-deep)) 100%) padding-box,
    linear-gradient(140deg, rgba(124, 200, 255, .85), rgba(124, 200, 255, .12) 42%, rgba(236, 194, 21, .6)) border-box;
  box-shadow: 0 30px 60px -26px rgba(3, 12, 40, .6); }
.dz-main { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.dz-main h3 { flex: none; font-size: 34px; margin: 0 0 12px 4px; color: #fff; --eyebrow-color: var(--hl); }
.dz-diagram { flex: none; background: #fff; border-radius: 16px; padding: 14px 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 14px 30px -14px rgba(3, 12, 40, .55); }
.dz-diagram img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.dz-benefits { display: flex; flex-direction: column; justify-content: center; min-height: 0; margin: 0; padding: 0; list-style: none; }
.dz-benefits li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.dz-benefits li:first-child { border-top: 0; padding-top: 0; }
.dz-benefits li:last-child { padding-bottom: 0; }
.dz-tick { position: relative; width: 44px; height: 44px; margin-top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px -8px rgba(3, 12, 40, .7); }
.dz-tick::after { content: ""; position: absolute; left: 15px; top: 8px; width: 10px; height: 20px; border: solid var(--brand); border-width: 0 4px 4px 0; transform: rotate(40deg); }
.dz-benefits h4 { font-size: 28px; line-height: 1.15; margin: 0 0 4px; color: #fff; }
.dz-benefits p { font-size: 24px; line-height: 1.26; margin: 0; color: rgba(255, 255, 255, .86); }
/* click: the panel appears, then its three benefits slide in one after another */
.reveal .dz-benefits li { opacity: 0; transform: translateX(-18px); transition: opacity .4s ease, transform .4s ease; transition-delay: 0s; }
.reveal .daisy.visible .dz-benefits li { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i, 0) * .14s); }

/* ---- 41 plant visit ---- */
.pv { flex: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; min-height: 0; position: relative; z-index: 1; }
/* left: three photo cards (title left, photo right with a slanted edge); right: photo banner with the title, then four rows with an icon each */
.pv { grid-template-columns: 1fr 1.08fr; gap: 30px; }
.pv-list { display: flex; flex-direction: column; gap: 22px; min-height: 0; }
.pv-item { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; padding: 0 0 0 42px; box-sizing: border-box; }
.pv-item h3 { position: relative; z-index: 1; width: 44%; font-size: 44px; text-wrap: balance; color: #fff; text-shadow: 0 2px 18px rgba(3, 12, 40, .45); }
.pv-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 76%; }
.pv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* navy gradient over the photo (same family as the banner on the right): solid under the title, clear on the right */
.pv-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--shade-deep)) 0%, rgb(var(--shade-deep)) 24%, rgba(var(--shade), .8) 40%, rgba(var(--shade), .3) 60%, rgba(var(--shade), 0) 84%); }
.pv-main { display: flex; flex-direction: column; overflow: hidden; padding: 0; min-height: 0; }
.pv-banner { position: relative; flex: none; height: 268px; overflow: hidden; }
.pv-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade-deep), .94) 0%, rgba(var(--shade), .66) 34%, rgba(var(--shade), 0) 72%); }
.pv-banner h3 { position: absolute; z-index: 1; left: 54px; bottom: 24px; font-size: 56px; color: #fff; text-shadow: 0 2px 18px rgba(3, 12, 40, .45); }
.pv-main ul { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 4px 54px 8px; }
.pv-main li { flex: 1; display: flex; align-items: center; gap: 30px; font-size: 38px; font-weight: 600; border-top: 1px solid var(--card-line); }
.pv-main li:first-child { border-top: 0; }
.pv-ico { flex: none; width: 68px; height: 68px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(0, 48, 135, .55); }
.pv-ico svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the four rows slide in one after another when the card appears (in ?still mode the fragment is simply visible) */
.reveal .pv-main li { opacity: 0; transform: translateX(-18px); transition: opacity .4s ease, transform .4s ease; transition-delay: 0s; }
.reveal .pv-main.visible li { opacity: 1; transform: none; transition-delay: calc(.22s + var(--i, 0) * .12s); }

/* ---- 43-47 picture slides ---- */
.mm { flex: 1; position: relative; min-height: 0; z-index: 1; }
.mm .big-visual { position: absolute; inset: 0; }
.mm-pip { z-index: 2; position: absolute; right: 24px; bottom: 24px; width: 520px; height: 70%; padding: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 60px -20px rgba(0, 32, 91, .5); }
.mm-pip img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---- 48 data collection table ---- */
.roi.compact { font-size: 27px; }
.roi.compact th, .roi.compact td { padding-left: 22px; padding-right: 22px; }
.roi.compact td { padding-top: 13px; padding-bottom: 13px; }
.roi.compact td:first-child { font-family: var(--font-mono); font-weight: 700; color: var(--accent); width: 90px; }
.roi.compact td.input { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(0, 86, 191, .05) 10px 20px); width: 28%; }
.roi.compact tbody tr:last-child td { border-bottom: 0; }
.table-card { background: #fff; border-radius: var(--radius); overflow: hidden; position: relative; z-index: 1; }

/* ---- 49 data & information processing ---- */
.process { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.ps-label { font-family: var(--font-mono); font-size: 24px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ps-inputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ps-box { padding: 34px 26px; text-align: center; font-size: 36px; font-weight: 700; line-height: 1.15; color: var(--primary); }
/* connector: every input drops a stub onto one shared line; the line ends in an arrow into the FIRST step (as in the original) */
.ps-link { height: 124px; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; }
.ps-link > i { position: relative; display: block; }
.ps-link > i::before { content: ""; position: absolute; left: calc(50% - 2px); width: 4px; top: 0; height: calc(50% + 2px); background: var(--accent); }
.ps-link > i::after { content: ""; position: absolute; top: calc(50% - 2px); height: 4px; left: -24px; right: -24px; background: var(--accent); }
.ps-link > i:nth-of-type(1)::after { left: calc(50% - 2px); }
.ps-link > i:nth-of-type(4)::after { right: calc(50% - 2px); }
.ps-link .ps-down { position: absolute; left: calc((100% - 140px) / 6 - 2px); width: 4px; top: 50%; bottom: 17px; background: var(--accent); }
.ps-link .ps-down::after { content: ""; position: absolute; left: -9px; top: 100%; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 17px solid var(--accent); }
.ps-steps { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: stretch; }
.ps-step { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.ps-step b { font-family: var(--font-mono); font-size: 26px; color: var(--accent); margin-bottom: 10px; }
.ps-step span { font-size: 38px; font-weight: 700; line-height: 1.15; }
.ps-arrow { position: relative; }
.ps-arrow::before { content: ""; position: absolute; left: 0; right: 14px; top: 50%; height: 4px; margin-top: -2px; background: var(--accent); }
.ps-arrow::after { content: ""; position: absolute; right: 0; top: 50%; margin-top: -11px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid var(--accent); }

/* ---- 50 about ---- */
.about { flex: 1; display: flex; flex-direction: column; gap: 22px; min-height: 0; position: relative; z-index: 1; }
.about-row { flex: 1; display: grid; grid-template-columns: 430px 340px 1fr; align-items: center; gap: 38px; padding: 16px 44px 16px 16px; min-height: 0; }
.about-photo { height: 100%; border-radius: 14px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-logo { display: flex; align-items: center; justify-content: center; }
.about-logo img { max-height: 84px; width: 100%; object-fit: contain; }
.about-row li { font-size: 30px; line-height: 1.3; padding-left: 30px; position: relative; margin-bottom: 8px; }
.about-row li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ---- 51 global coverage ---- */
.coverage { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 30px; min-height: 0; position: relative; z-index: 1; }
.cv-map { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.cv-mapcard { flex: 1; min-height: 0; padding: 14px; display: flex; align-items: center; justify-content: center; }
.cv-mapcard img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cv-legend { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: 26px; }
.cv-legend span { display: inline-flex; align-items: center; gap: 12px; }
.cv-legend span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .8), 0 0 0 5px var(--c); }
.cv-coe { font-size: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cv-coe b { font-family: var(--font-mono); font-size: 24px; letter-spacing: .06em; text-transform: uppercase; background: var(--hl); color: #0B0F1A; padding: 6px 14px; border-radius: 8px; }
.cv-right { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.cv-photos { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 14px; min-height: 0; }
.cv-photos figure { border-radius: var(--radius); overflow: hidden; min-height: 0; }
.cv-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-cert { font-size: 26px; color: var(--muted); }
.cv-cert b { color: var(--fg); }

/* long photo lists (5-6 items) */
.photolist-body.dense { max-width: 980px; }
.photolist-body.dense h2 { font-size: 92px; margin-bottom: 30px; }
.photolist-body.dense .checks li { font-size: 34px; padding: 11px 0 11px 64px; }
.photolist-body.dense .checks li::before { width: 38px; height: 38px; margin-top: -19px; }
.photolist-body.dense .checks li::after { left: 13px; margin-top: -14px; width: 9px; height: 17px; border-width: 0 4px 4px 0; }
.photolist-body.dense .tech { margin-bottom: 14px; }
.photolist-body.dense .tech img { height: 54px; }

/* one-line titles on case slides that carry the "Full case study" badge */
.head.row h2 { font-size: 68px; }
/* logo chips: svg without intrinsic size needs an explicit height */
.flow-link .chip.logo img { height: 46px; width: auto; max-width: 150px; max-height: none; }

/* ---- 36 pillar 2: room for the Omni / Direct pictures (they now carry their radiation rings) ---- */
section[data-kind="pillars"] .pillar { padding: 30px 40px 26px; }
section[data-kind="pillars"] .pillar q { margin-bottom: 16px; }
section[data-kind="pillars"] .pillar li { margin-bottom: 6px; }
section[data-kind="pillars"] .pillar-visual.anchors { max-height: 230px; gap: 10px; }

/* ---- 11 Reducing Fleet Size: text cards on top; below them the why-list and both pictures in their natural proportions (the heatmap keeps its "3D Realtime Monitoring with Heatmaps" title bar) ---- */
.case-grid.fleet { grid-template-columns: minmax(0, 1fr) 521px 832px; grid-template-rows: auto 450px; grid-template-areas: "prs prs prs" "why iso heat"; gap: 36px 22px; align-content: start; }
.case-grid.fleet .prs { flex-direction: row; gap: 22px; }
.case-grid.fleet .prs-item { flex: 1 1 0; min-width: 0; justify-content: flex-start; padding: 36px 36px 40px; }
.case-grid.fleet .prs-item.problem { flex-grow: 1.3; }
.case-grid.fleet .prs-item.outcome { flex-grow: .85; }
.case-grid.fleet .prs-item p { font-size: 32px; }
.case-grid.fleet .prs-item .label { font-size: 28px; }
.case-grid.fleet .case-media { display: contents; }
.case-grid.fleet .case-media figure:nth-child(1) { grid-area: iso; }
.case-grid.fleet .case-media figure:nth-child(2) { grid-area: heat; }
.case-grid.fleet .why { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; align-content: center; justify-content: center; gap: 12px; }
.case-grid.fleet .why::before { flex: none; line-height: 1.25; margin-bottom: 2px; }
.case-grid.fleet .why li { border-radius: 20px; line-height: 1.25; padding: 10px 18px; }

/* 14 eKanban: same layout as slide 11, picture row 400 px high (iso GIF 1.25:1 = 500 px, Kanban photo 2.08:1 = 832 px) */
.case-grid.fleet.kanban { grid-template-columns: minmax(0, 1fr) 465px 774px; grid-template-rows: auto 372px; }
.case-grid.fleet.kanban .why li { white-space: nowrap; }
/* 11 with the live 3D plan of the hall: the scene is the big picture (940 x 450, about 2:1 like the plan), the heatmap screenshot keeps its title bar in the middle of a narrower crop */
.case-grid.fleet3d { grid-template-columns: minmax(0, 1fr) 940px 452px; }
.case-grid.fleet3d .case-media figure:nth-child(2) img { object-fit: cover; }
.case-grid.fleet .iso3d { position: relative; }
.case-grid.fleet .iso3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.case-grid.fleet .why-col { grid-area: why; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; min-height: 0; }
/* 16: the wide sensor photo (2.4:1) on top over the full width so its number plate stays visible, iso GIF and container photo below */
.cm-3c { grid-template: 1.3fr 1fr / 1fr 1fr; }
.cm-3c > figure:first-child { grid-column: span 2; }

/* ---- customer logo: small white card (like the picture cards) in the bottom-left of the text column ---- */
.case-logo-card { grid-area: logo; align-self: end; justify-self: start; display: flex; align-items: center; justify-content: center; flex: none; width: 270px; height: 124px; padding: 16px 28px; box-sizing: border-box; background: #fff; border: 1px solid var(--card-line); border-radius: var(--radius); box-shadow: 0 18px 36px -20px rgba(0, 48, 135, .3), 0 2px 6px rgba(0, 48, 135, .06); }
.case-logo-card img { display: block; width: auto; height: auto; max-width: 214px; max-height: 84px; }
.why-col .case-logo-card { align-self: flex-start; }
.case-grid.logo-row { grid-template-areas: "prs media" "logo why"; }

/* ---- case slides with the iso GIF: three columns - text cards | "why" list with the GIF directly under it (big) | other pictures ---- */
.case-grid.tri { grid-template-columns: var(--c1, 620px) var(--c2, 600px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "prs why media" "prs iso media"; gap: 16px 28px; }
.case-grid.tri .prs { align-self: stretch; }
.case-grid.tri .prs .case-logo-card { margin-top: auto; align-self: flex-start; }
.case-grid.tri .why { align-self: end; align-content: flex-start; }
.case-grid.tri .iso { grid-area: iso; margin: 0; min-height: 0; overflow: hidden; display: block; border: 1px solid transparent; border-radius: var(--radius);
  background: linear-gradient(#fff, #fff) padding-box, var(--edge) border-box;
  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); }
.case-grid.tri .iso img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* live 3D scene (js/scenes.js, source in scenes/) instead of a GIF: it fills the same card, the canvas is added by the script */
.case-grid.tri .iso3d { position: relative; }
.case-grid.tri .iso3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.case-grid.tri .case-media { grid-area: media; grid-template: none; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); align-self: stretch; }
.case-grid.tri .case-media > figure { grid-column: auto; grid-row: auto; }
.case-grid.tri .case-media .case-logo-card { grid-area: auto; width: 100%; height: 112px; justify-self: stretch; align-self: end; }

/* 29 Precision card: the Zevon anchors are the hero, the tags are smaller */
.tm-prec .tm-visual img:nth-child(1) { max-height: 300px; max-width: 90%; }
.tm-prec .tm-visual img:nth-child(2) { max-height: 215px; }

/* ---- 30-33 connectors: every protocol sits on its own dashed arrow (no more chips floating around one line) ---- */
.flow { grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr) 220px minmax(0, 1fr); }
.flow-step { padding: 34px 28px 30px; }
.flow-link { align-items: stretch; gap: 22px; }
.flow-link::before, .flow-link::after { content: none; }
.flow-link .lk { position: relative; display: flex; align-items: center; justify-content: center; min-height: 68px; }
.flow-link .lk::before { content: ""; position: absolute; left: 4px; right: 14px; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 26px); animation: flowdash 1.1s linear infinite; }
.flow-link .lk::after { content: ""; position: absolute; right: 8px; top: 50%; margin-top: -10px; width: 16px; height: 16px; border: solid var(--accent); border-width: 4px 4px 0 0; transform: rotate(45deg); }
.flow-link .chip { padding: 8px 16px; }
@media (prefers-reduced-motion: reduce) { .flow-link .lk::before { animation: none; } }
/* 30: Bluzone dashboard mockup (laptop) instead of the old monitor picture; it may reach a little over the card padding */
.flow-visual.mockup img { width: calc(100% + 24px); max-width: none; height: auto; max-height: 100%; margin: 0 -12px; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 30, 90, .18)); }

/* 36 Unique Value Proposition: the middle pillar is wider; the customer "voice" lines get quotation marks; the anchor pictures sit next to the bullet they belong to */
section[data-kind="pillars"] .pillars { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); }
.reveal section[data-kind="pillars"] .pillar q::before { content: "“"; }
.reveal section[data-kind="pillars"] .pillar q::after { content: "”"; }
section[data-kind="pillars"] .pillar li.with-pic { display: flex; align-items: flex-start; gap: 16px; margin: 10px 0 18px; }
section[data-kind="pillars"] .pillar li.with-pic > span:first-child { flex: 1; min-width: 0; }
section[data-kind="pillars"] .li-pics { flex: none; display: flex; align-items: flex-end; gap: 2px; margin-right: -6px; }
section[data-kind="pillars"] .li-pics img { height: 196px; width: auto; display: block; }

/* 36: the three closing tags of the original (dark pills at the bottom of each pillar), all on one baseline */
section[data-kind="pillars"] .pillar { padding-left: 32px; padding-right: 32px; }
section[data-kind="pillars"] .pillar-tag { flex: none; align-self: center; margin-top: 22px; padding: 12px 22px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 24px; font-weight: 700; line-height: 1.15; white-space: nowrap; box-shadow: 0 12px 22px -12px rgba(0, 48, 135, .65); }
section[data-kind="pillars"] :not(.pillar-visual) + .pillar-tag { margin-top: auto; }
section[data-kind="pillars"] .pillar li.with-pic { margin-bottom: 8px; }

/* ---- 30-33 connectors, version 2: rounded dashes that flow along a gradient (soft start -> deep navy), solid rounded arrow head with a soft shadow, glowing pills ---- */
.flow-link .lk::before { left: 4px; right: 24px; height: 8px; margin-top: -4px; border-radius: 4px; background: linear-gradient(90deg, rgba(0, 86, 191, .22) 0%, #0056BF 42%, #003087 100%); animation: flowmask 1.2s linear infinite;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='8'%3E%3Crect width='22' height='8' rx='4'/%3E%3C/svg%3E") 0 0 / 34px 8px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='8'%3E%3Crect width='22' height='8' rx='4'/%3E%3C/svg%3E") 0 0 / 34px 8px repeat-x; }
@keyframes flowmask { to { -webkit-mask-position: 34px 0; mask-position: 34px 0; } }
.flow-link .lk::after { right: -2px; top: 50%; width: 30px; height: 36px; margin-top: -18px; border: 0; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='36' viewBox='0 0 30 36'%3E%3Cpath d='M5 5 L25 18 L5 31 Z' fill='%23003087' stroke='%23003087' stroke-width='6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 5px 6px rgba(0, 48, 135, .35)); }
.flow-link .chip { border-color: rgba(0, 86, 191, .22); box-shadow: 0 0 0 6px rgba(0, 86, 191, .07), 0 14px 26px -12px rgba(0, 48, 135, .5); }
@media (prefers-reduced-motion: reduce) { .flow-link .lk::before { animation: none; } }
/* connectors, version 2b: the pill sits ABOVE the arrow, so the whole arrow stays visible */
.flow-link { gap: 18px; }
.flow-link .lk { align-items: flex-start; min-height: 0; padding-bottom: 30px; }
.flow-link .lk::before { top: auto; bottom: 9px; margin-top: 0; left: 6px; right: 22px; }
.flow-link .lk::after { top: auto; bottom: 0; margin-top: 0; width: 30px; height: 26px; right: 0; }

/* ---- 30-33 reveal: card -> arrow draws itself -> next card (the arrow and the card it leads to come with the same click) ---- */
.reveal .flow-link.fragment { opacity: 1; visibility: visible; transform: none; transition: none; }
.reveal .flow-link .lk::before { clip-path: inset(-10px 100% -10px 0); transition: clip-path .6s cubic-bezier(.25, .75, .25, 1); transition-delay: 0s; }
.reveal .flow-link .lk::after { opacity: 0; transform: translateX(-16px) scale(.5); transform-origin: 20% 50%; transition: opacity .25s ease, transform .45s cubic-bezier(.3, 1.7, .5, 1); transition-delay: 0s; }
.reveal .flow-link .chip { opacity: 0; transform: translateY(12px) scale(.88); transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.5, .5, 1); transition-delay: 0s; }
.reveal .flow-link.visible .lk::before { clip-path: inset(-10px 0 -10px 0); transition-delay: calc(.12s + var(--r, 0) * .14s); }
.reveal .flow-link.visible .lk::after { opacity: 1; transform: none; transition-delay: calc(.58s + var(--r, 0) * .14s); }
.reveal .flow-link.visible .chip { opacity: 1; transform: none; transition-delay: calc(var(--r, 0) * .14s); }
/* the card the arrow leads into lands after the arrow has arrived */
.reveal .flow-step.fragment:nth-child(n+3) { transform: translateX(-26px) scale(.97); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility .5s; }
.reveal .flow-step.fragment.visible:nth-child(n+3) { transform: none; transition-delay: .85s; }

/* ---- audit 2026-11-12: texts of the original that were missing ---- */
/* 36: tags of the original next to the first two bullets */
section[data-kind="pillars"] .pillar li.has-tags { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 8px; }
section[data-kind="pillars"] .pillar .tags { display: flex; gap: 10px; flex-basis: 100%; }
section[data-kind="pillars"] .pillar .tags.inline { flex-basis: auto; }
section[data-kind="pillars"] .pillar .tags b { padding: 3px 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 24px; font-weight: 600; line-height: 1.2; }
/* 36: "UWB 8G" label with its arrow, placed on the chart as in the original (fractions of the chart picture) */
.chart-wrap { position: relative; display: block; height: 100%; aspect-ratio: 3435266 / 1648053; max-width: 100%; }
.chart-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }
.chart-uwb { position: absolute; inset: 0; pointer-events: none; }
.chart-uwb b { position: absolute; left: 72%; top: 43%; font-size: 24px; line-height: 1.1; font-weight: 700; color: var(--fg); white-space: nowrap; }
.chart-uwb i { position: absolute; left: 78.6%; top: 62%; width: 3px; height: 17%; margin-left: -1.5px; background: var(--fg); }
.chart-uwb i::after { content: ""; position: absolute; left: -6px; bottom: -8px; border: 7.5px solid transparent; border-top: 11px solid var(--fg); border-bottom: 0; }
/* 37-38: "Market Standard vs. Zevon" in the colours of the picture legend */
.reveal h2.vs-title { white-space: nowrap; }
.vs-title .t-ms { color: #EA6625; }
.vs-title .t-vs { color: var(--fg); margin: 0 .1em; }
.vs-title .t-zv { color: var(--brand); }

/* ---- 28 Technology stack: the "Business Value" row of the original (Visualize > Measure > Analyze > Optimize) above the supplied diagram ---- */
.stack28-in { width: 1580px; display: flex; flex-direction: column; }
.stack28 .stack28-in > img { display: block; width: 100%; height: auto; max-height: none; }
.bv-row { position: relative; height: 84px; margin-bottom: -4px; }
.bv-label, .bv-panel { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; }
.bv-label { left: 6.1%; width: 30.9%; z-index: 2; justify-content: flex-start; padding-left: 4.4%; box-sizing: border-box; border-radius: 16px; background: var(--brand); color: #fff; font-size: 30px; font-weight: 700; box-shadow: 0 14px 26px -16px rgba(0, 48, 135, .6); }
.bv-panel { left: 33%; right: 3.4%; z-index: 1; padding: 0 28px 0 calc(4% + 28px); box-sizing: border-box; justify-content: space-between; gap: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--card-line); box-shadow: 0 18px 32px -22px rgba(0, 48, 135, .4); }
.bv-chain { list-style: none; margin: 0; padding: 0; display: flex; }
.bv-chain li { position: relative; padding: 12px 30px 12px 44px; margin-left: -14px; font-size: 26px; font-weight: 700; color: #fff; background: var(--brand); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%, 24px 50%); }
.bv-chain li:nth-child(1) { margin-left: 0; background: #2A55A8; }
.bv-chain li:nth-child(2) { background: #1B4799; }
.bv-chain li:nth-child(3) { background: #0E3A8D; }
.bv-chain li:nth-child(4) { background: #003087; }
.bv-cycle { flex: none; width: 52px; height: 52px; color: var(--hl); }

/* connectors, version 3: the labels above the arrows have no pill any more - just the icon / logo and the word, directly on the slide */
.flow-link .chip { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0 4px; gap: 12px; }
.flow-link .chip img { height: 38px; }
.flow-link .chip.logo img { max-height: 54px; max-width: 160px; }
.flow-link .lk { padding-bottom: 24px; }

/* "Full case study here" pills are real links again (they were clickable in the original deck):
   the whole pill is the click target, opens in a new tab so the presentation stays where it is */
a.badge { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer; position: relative; z-index: 3;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
a.badge::after { content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15 15 5M7 5h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15 15 5M7 5h8v8'/%3E%3C/svg%3E") center / contain no-repeat; }
a.badge:hover, a.badge:focus-visible { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -10px rgba(0, 48, 135, .55); transform: translateY(-2px); }
a.badge:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
