/* Homepage restyle, from the Figma file "Mobii website, review build 2" (frame "Mobii: video, data and intelligence,
   working as one"). Scoped to body.home so the other pages keep the current look until they move over too. */

/* tokens: a neutral page, Mobii red in place of violet, Inter for text (the hero headline stays TWK Everett) */
body.home {
  --bg: #101012;
  --brand: #EF4444;
  --brand-hover: #F87171;
  --brand-text: #FF8A8A;
  --brand-soft: rgba(239, 68, 68, 0.14);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-tray: #181819;
  --nav-edge: rgba(236, 232, 255, 0.04);
  --quiet-label: rgba(255, 255, 255, 0.08);
  --quiet-ink: #ffffff;
  --cta-solid: #ffffff;
  --cta-solid-hover: #e9e9ee;
  --cta-solid-ink: #000000;
  --cap-fill: rgba(255, 255, 255, 0.04);
  --cap-lift: rgba(255, 255, 255, 0.09);
}
:root[data-theme="light"] body.home {
  --bg: #F8FBFE;
  --brand: #DC2626;
  --brand-hover: #EF4444;
  --brand-text: #B91C1C;
  --brand-soft: rgba(239, 68, 68, 0.10);
  --nav-tray: var(--bg-2);
  --nav-edge: var(--line-2);
  --quiet-label: rgba(20, 16, 48, 0.08);
  --quiet-ink: var(--fg);
  --cta-solid: #17151F;
  --cta-solid-hover: #2c2a36;
  --cta-solid-ink: #ffffff;
  --cap-fill: var(--card);
  --cap-lift: #ffffff;
}

/* header: a neutral nav tray, a square theme button and a compact red "Talk to us" */
.home .pill-nav__bar.pill-nav__surface { background: var(--nav-tray); }
.home .pill-nav__bar .pill-nav__rim { box-shadow: inset 0 0 0 1px var(--nav-edge); }
.home .pill-nav[data-drop] #prodBtn { background: var(--quiet-label); color: var(--fg); font-weight: 600; }
.home .theme-btn { width: 32px; height: 32px; border-radius: 8px; }
.home .header-cta .btn { height: 32px; padding: 0 16px; border-radius: 8px; font-size: 14px; }

/* section labels: all neutral on the home page */
.home .eyebrow, .home .eyebrow.case { background: var(--quiet-label); color: var(--quiet-ink); }

/* capability cards: a neutral fill (the dashed "Start from the problem" card stays unfilled) */
.home .cap:not(.link-cap) { background-color: var(--cap-fill); }
/* a Hairline figure at the top of a card (js/hairline): its plates are filled with the card's own colour, so they
   hide what is behind them without showing a box */
/* The figure's 400 × 320 frame has wide margins, so the stage is drawn larger than the card and cropped to the
   drawing; the pointer is read against the stage's own box, so hovering still lines up. --fig-zoom sets how much
   larger, for a drawing that fills more or less of its frame, and --fig-y where it sits. */
.home .cap-fig { --fig-zoom: 1.3; --fig-y: -52%; position: relative; aspect-ratio: 9 / 7; overflow: hidden; margin: -12px -10px 0; }
.home .cap-fig [data-hairline] { position: absolute; top: 50%; width: calc(var(--fig-zoom) * 100%);
  left: calc((1 - var(--fig-zoom)) * 50%); translate: 0 var(--fig-y);
  --hairline-plate: color-mix(in srgb, #ffffff 4%, var(--bg));
  /* the part a figure is showing (the screen standing up, the ball, the blade, the route under way) is in Mobii red */
  --hl-hi: var(--brand); }
:root[data-theme="light"] .home .cap-fig [data-hairline] { --hairline-plate: var(--card); }
/* a word a figure names beside its drawing (an event on the pitch): a small solid tag over the point */
.home .fig-tag { position: absolute; z-index: 1; transform: translate(-50%, calc(-100% - 8px)); padding: 4px 6px; border-radius: 4px;
  background: var(--fg); color: var(--bg); font: 700 9px/1 var(--font-mono, monospace); letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; pointer-events: none; opacity: 0; }
.home .fig-read { position: absolute; top: 10px; right: 12px; font: 11px/1 var(--font-mono, monospace); letter-spacing: 0.02em;
  color: var(--fg-3); pointer-events: none; }

/* hero */
.home .hero h1 { font-family: "TWK Everett", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 400;
  font-size: clamp(36px, 5.2vw, 64px); }
/* the headline may run into the gap beside it, so it sets in three lines as in the design */
@media (min-width: 961px) { .home .hero h1 { margin-right: -24px; } }
.home .hero .lede { font-size: 16px; line-height: 22px; color: var(--fg-3); max-width: 385px; }
.home .hero .btn { height: 32px; padding: 0 16px; border-radius: 8px; }
.home .hero .btn-brand { background: var(--cta-solid); color: var(--cta-solid-ink); box-shadow: 0 2px 0 rgba(239, 68, 68, 0.12); }
.home .hero .btn-brand:hover { background: var(--cta-solid-hover); }

/* hero visual: the scene video (images/video/hero-scene.webm), muted and looping, filling the panel */
.home .art-signal { aspect-ratio: 469 / 490; min-height: 420px; padding: 0; background: #000; }
.home .art-signal::before { display: none; }
.home .art-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) { .home .art-signal { min-height: 0; aspect-ratio: 4 / 3; padding: 0; } }

/* client logos, after the 21st.dev "logo cloud 2": a checkered grid of eight cells between two hairlines that run
   the full width of the page, with plus marks where the inner lines cross. Logos still to come go in the empty cells. */
.home .logo-band { border-block: 1px solid var(--line-2); overflow-x: clip; }
.home .lb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-inline: 1px solid var(--line-2); }
.home .lb-cell { position: relative; display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 32px 16px;
  background: var(--bg); }
.home .lb-cell img { display: block; width: auto; max-width: 100%; object-fit: contain; height: 42px; pointer-events: none; user-select: none; }
/* the logos are white files: muted in the dark theme, a soft grey in the light theme */
.home .lb-cell img { opacity: 0.6; }
:root[data-theme="light"] body.home .lb-cell img { filter: invert(1); opacity: 0.55; }
.home .lb-plus { position: absolute; z-index: 1; width: 24px; height: 24px; fill: none; stroke: var(--fg-2); stroke-width: 1; }
.home .lb-br { right: -12.5px; bottom: -12.5px; }
.home .lb-bl { left: -12.5px; bottom: -12.5px; }
.home .lb-wide { display: none; }
/* two columns: borders between the cells */
.home .lb-1, .home .lb-3, .home .lb-5, .home .lb-7 { border-right: 1px solid var(--line-2); }
.home .lb-1, .home .lb-2, .home .lb-3, .home .lb-4, .home .lb-5, .home .lb-6 { border-bottom: 1px solid var(--line-2); }
/* four columns from 768px */
@media (min-width: 768px) {
  .home .lb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home .lb-cell { padding: 24px 32px; }
  .home .lb-cell img { height: 48px; }
  .home .lb-2, .home .lb-6 { border-right: 1px solid var(--line-2); }
  .home .lb-5, .home .lb-6 { border-bottom: 0; }
  .home .lb-wide { display: block; }
  .home .lb-narrow { display: none; }
}

/* image frames (the case study): red where they were violet */
.home .frame {
  background:
    radial-gradient(90% 70% at 85% 0%, #4096FF 0%, transparent 60%),
    radial-gradient(80% 80% at 0% 100%, #2BC4B4 0%, transparent 55%),
    linear-gradient(167deg, #EF4444 8%, #7F1D1D 58%, var(--art-ink) 92%); }

/* on air today: coverflow carousel (js/coverflow-carousel.js) */
.cf { --cf-card: clamp(280px, 60vw, 1100px); --cf-h: calc(var(--cf-card) * 9 / 16); }
/* the row runs the full width of the window, past the page's content column, so the neighbours spill off both edges */
.home main { overflow-x: clip; }
.cf-stage { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
/* the frame clips the row at the sides only in effect: 96px of room above and below (taken back by the margins) leave
   the cards' shadows, and the lifted centre card's, whole */
.cf-frame { overflow: hidden; padding: 96px 0; margin: -56px 0; perspective: calc(var(--cf-card) * 3); touch-action: pan-y; cursor: grab; }
.cf-frame.is-dragging { cursor: grabbing; }
.cf-track { position: relative; height: var(--cf-h); transform-style: preserve-3d; user-select: none; -webkit-user-select: none; }
.cf-card { position: absolute; left: 50%; top: 0; width: var(--cf-card); height: var(--cf-h); overflow: hidden; border-radius: 8px; background: var(--card-2); box-shadow: 0 18px 40px rgba(0,0,0,.35); will-change: transform; }
.cf-hit { all: unset; position: relative; display: block; width: 100%; height: 100%; cursor: inherit; }
.cf-hit > img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cf-hit:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.cf-card.is-current .cf-hit { cursor: pointer; }
/* the play control: a small bar in the style of the theatre's control bar (it grows into that bar on open).
   Not scoped to .cf-card, because theatre.js clones it over the page while the morph starts. */
/* sized by its contents (a longer title makes a longer bar), up to the card's width */
.cf-play { position: absolute; left: 50%; bottom: 18px; z-index: 1; transform: translateX(-50%); box-sizing: border-box;
  width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 6px; background: var(--th-bar); color: var(--th-ink);
  box-shadow: inset 0 0 0 1px var(--th-bar-edge), 0 10px 30px -10px rgba(0, 0, 0, .45); white-space: nowrap; }
.cf-play-icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--th-key); transition: background-color .15s var(--ease); }
.cf-play-icon svg { width: 14px; height: 14px; fill: var(--th-ink); margin-left: 2px; }
/* the logos are cropped to their marks (images/logos/clients/trimmed), so the gaps either side are real */
.cf-play-logo { flex: none; height: 22px; width: auto; max-width: 96px; object-fit: contain; filter: var(--th-logo); }
.cf-play-text { display: grid; min-width: 0; line-height: 1.25; text-align: left; }
.cf-play-text > * { overflow: hidden; text-overflow: ellipsis; }
.cf-play-client { font-size: 12px; color: var(--th-ink-2); }
.cf-play-title { font-size: 14px; font-weight: 500; color: var(--th-ink); }
.cf-card .cf-play { opacity: 0; transform: translateX(-50%) translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.cf-card.is-current .cf-play { opacity: 1; transform: translateX(-50%); }
.cf-card.is-current .cf-hit:hover .cf-play-icon { background: var(--th-key-hover); }
@media (max-width: 560px) { .cf-play { bottom: 10px; gap: 8px; padding: 5px 12px 5px 5px; } .cf-play-logo { height: 18px; } }
@media (max-width: 560px) { .cf { --cf-card: 84vw; } }

/* the clips either side of the centre step back: darker, a little desaturated and softened, so the playing one leads */
.cf-card .cf-hit > img { transition: filter .45s var(--ease); }
.cf-card:not(.is-current) .cf-hit > img { filter: brightness(.42) saturate(.55) blur(1.5px); }
:root[data-theme="light"] .cf-card:not(.is-current) .cf-hit > img { filter: brightness(.6) saturate(.5) blur(1.5px); }

/* under the row: a segmented progress bar, one segment per clip. The playing clip's segment is the long one and fills
   over a preview loop (js/coverflow-carousel.js); when the next clip comes in, its segment grows as the last one shrinks.
   Segments before the current one are full; any segment jumps to its clip */
.cf-controls { display: flex; justify-content: center; margin-top: 8px; }
.cf-progress { display: flex; align-items: center; gap: 6px; width: min(320px, 70%); }
.cf-seg { all: unset; position: relative; flex: 1 1 0; min-width: 0; height: 16px; cursor: pointer; transition: flex-grow .6s cubic-bezier(0.22, 1, 0.36, 1); }
.cf-seg.is-current { flex-grow: 5; }
.cf-seg::before, .cf-seg > span { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 4px; border-radius: 4px; }
.cf-seg::before { background: var(--line-2); }
.cf-seg > span { background: var(--fg); transform: scaleX(0); transform-origin: left center; }
.cf-seg.is-done > span { transform: scaleX(1); }
.cf-seg:hover::before { background: var(--fg-3); }
.cf-seg:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .cf-seg { transition: none; } .cf-seg.is-current > span { transform: scaleX(1); } }

/* the playing clip answers the pointer: it lifts a little, its shadow deepens and its play bar grows, so it is plain
   that a click opens it with sound */
@media (hover: hover) and (pointer: fine) {
  .cf-card { transition: translate .35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .35s var(--ease); }
  .cf-card.is-current:hover { translate: 0 -6px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
  .cf-card.is-current .cf-hit:hover .cf-play { transform: translateX(-50%) scale(1.12); }
  .cf-card.is-current .cf-play { transition: opacity .3s var(--ease), transform .35s cubic-bezier(0.22, 1, 0.36, 1); }
}
/* the centre card's muted looping preview fades in over the poster once frames arrive */
.cf-preview { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); background: #000; }
.cf-preview.is-live { opacity: 1; }
.cf-preview mobii-player, .cf-preview .main-container, .cf-preview .player-container, .cf-preview .play-video-container { display: block; width: 100%; height: 100%; }
.cf-preview video { display: block; width: 100%; height: 100%; object-fit: contain; }
.cf-preview .play-overlay, .cf-preview .player-controls-container, .cf-preview .touchable-overlay-blocker { display: none !important; }

/* "Start from the problem": flat (no shadow) and darker than the cards round it: near-black with white words and a
   white button in the dark theme, grey in the light one */
.home .cap.link-cap {
  background: #0b0b0d; border: 1px solid rgba(255, 255, 255, .08); color: #F3F1FB;
  justify-items: center; text-align: center; gap: 14px; box-shadow: none; }
.home .cap.link-cap:hover { border-color: rgba(255, 255, 255, .16); }
.home .cap.link-cap h3 { font-size: 24px; font-weight: 500; color: #fff; }
.home .cap.link-cap p { max-width: 24ch; color: rgba(243, 241, 251, .68); }
.home .cap.link-cap .link { margin-top: 6px; height: 32px; padding: 0 16px; border-radius: 8px; background: #fff; color: #000; font-weight: 500; font-size: 14px; text-decoration: none; transition: background-color .15s var(--ease); }
.home .cap.link-cap:hover .link { background: #e9e9ee; text-decoration: none; }
.home .cap.link-cap:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* light theme: a grey card instead, darker than the white ones round it, with the dark words and the dark button */
:root[data-theme="light"] body.home .cap.link-cap { background: #ECEEF2; border-color: rgba(20, 16, 48, .08); color: var(--fg); }
:root[data-theme="light"] body.home .cap.link-cap:hover { border-color: rgba(20, 16, 48, .16); }
:root[data-theme="light"] body.home .cap.link-cap h3 { color: var(--fg); }
:root[data-theme="light"] body.home .cap.link-cap p { color: var(--fg-2); }
:root[data-theme="light"] body.home .cap.link-cap .link { background: var(--cta-solid); color: var(--cta-solid-ink); }
:root[data-theme="light"] body.home .cap.link-cap:hover .link { background: var(--cta-solid-hover); }

/* the ecosystem (js/eco-flow.js): Prism feeds Fusion, which branches to the four products. Framed like the logo band:
   hairlines above and below run the width of the page, the box between them is the width of the content. The grid and
   the light are drawn on the canvas, the lines in the svg, and each product is a link that opens into a card. */
.home .ef { --ef-line: rgba(236, 232, 255, 0.2); --ef-card: #19191c; border-block: 1px solid var(--line-2); overflow-x: clip; }
:root[data-theme="light"] body.home .ef { --ef-line: rgba(20, 16, 48, 0.22); --ef-card: #ffffff; }
.home .ef-box { --ef-icon: 88px; --ef-pad: 12px; --ef-wide: min(460px, calc(36cqw + 48px)); --ef-tall: 240px; container-type: inline-size;
  position: relative; height: 560px; border-inline: 1px solid var(--line-2); }
.home .ef-box.is-pointing { cursor: pointer; }
.home .ef-gl, .home .ef-lines { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.home .ef-lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* hairline connections, after clerk.com: faint, one pixel, with a small node at each end */
.home .ef-base { stroke: var(--ef-line); stroke-width: 1; transition: opacity .3s var(--ease); }
.home .ef-knot { fill: var(--bg); stroke: var(--ef-line); stroke-width: 1; transition: opacity .3s var(--ease); }
.home .ef-box[data-active] .ef-base, .home .ef-box[data-active] .ef-knot { opacity: 0.5; }
.home .ef-knot-lit { fill: url(#ef-beam); }
.home .ef-lit { stroke: url(#ef-beam); stroke-width: 1.5; }
.home .ef-glow { stroke: url(#ef-beam); stroke-width: 6; }
.home .ef-nodes { margin: 0; padding: 0; list-style: none; }

/* a node is its icon at rest; while it is chosen the clip opens to show the card around it. The icon's centre sits on
   the node's point, so a product's card grows to the right, no taller than the icon and its padding, so it never covers
   the icon below; Prism's and Fusion's grow straight down */
.home .ef-node { position: absolute; left: var(--x); top: var(--y); z-index: 1; isolation: isolate;
  display: flex; align-items: center; gap: 16px; box-sizing: border-box; width: var(--ef-wide); height: calc(var(--ef-icon) + 2 * var(--ef-pad)); padding: var(--ef-pad);
  border-radius: 14px; color: var(--fg); text-decoration: none; outline: none;
  translate: calc(-1 * (var(--ef-pad) + var(--ef-icon) / 2)) calc(-1 * (var(--ef-pad) + var(--ef-icon) / 2));
  clip-path: inset(var(--ef-pad) calc(100% - var(--ef-pad) - var(--ef-icon)) calc(100% - var(--ef-pad) - var(--ef-icon)) var(--ef-pad) round 12px);
  transition: clip-path .5s cubic-bezier(0.22, 1, 0.36, 1); }
.home .ef-down { flex-direction: column; align-items: flex-start; gap: 12px; width: var(--ef-tall); height: auto; }
.home .ef-node.is-active { z-index: 3; clip-path: inset(0 0 0 0 round 14px); }
.home .ef-node::before, .home .ef-node::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
  transition: opacity .25s var(--ease); pointer-events: none; }
.home .ef-node::before { background: var(--ef-card); box-shadow: inset 0 0 0 1px var(--line-2), 0 28px 56px -28px rgba(0, 0, 0, .7); }
/* the card is solid: the glow stays behind it, on the canvas, with no spotlight over the card itself */
.home .ef-node::after { display: none; }
:root[data-theme="light"] body.home .ef-node::before { box-shadow: inset 0 0 0 1px var(--line-2), 0 28px 56px -28px rgba(20, 16, 48, .3); }
.home .ef-node.is-active::before, .home .ef-node.is-active::after { opacity: 1; }
.home .ef-icon { position: relative; z-index: 1; flex: none; width: var(--ef-icon); height: var(--ef-icon); }
.home .ef-icon img { display: block; width: 100%; height: 100%; }
.home .ef-copy { position: relative; z-index: 1; display: grid; gap: 3px; min-width: 0; opacity: 0; translate: -8px 0;
  transition: opacity .2s var(--ease), translate .5s cubic-bezier(0.22, 1, 0.36, 1); }
.home .ef-down .ef-copy { translate: 0 -8px; }
.home .ef-down .ef-desc { -webkit-line-clamp: unset; }
.home .ef-node.is-active .ef-copy { opacity: 1; translate: 0 0; transition-delay: .08s; }
.home .ef-copy b { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
/* the cards say what the product does; the one-liner is for the list on narrow screens */
.home .ef-one { display: none; font-size: 13px; color: var(--fg-2); }
.home .ef-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--fg-2); }
.home .ef-node:focus-visible::before { box-shadow: inset 0 0 0 2px var(--blue); }

/* without WebGL: the grid in CSS and a plain glow behind the chosen icon */
.home .ef-nogl .ef-gl { display: none; }
.home .ef-nogl { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center; }
.home .ef-nogl .ef-icon::before { content: ""; position: absolute; inset: -50%; z-index: -1; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 45%, transparent), transparent); transition: opacity .3s var(--ease); }
.home .ef-nogl .is-active .ef-icon::before { opacity: 1; }

@media (max-width: 1100px) {
  .home .ef-box { height: 520px; --ef-icon: 76px; --ef-wide: min(440px, calc(42cqw + 30px)); --ef-tall: 200px; }
  .home .ef-node[data-node="prism"] { --x: 10% !important; }
  .home .ef-node[data-node="fusion"] { --x: 36% !important; }
  .home .ef-node:not(.ef-down) { --x: 58% !important; }
  .home .ef-desc { font-size: 12px; line-height: 1.4; }
}
/* narrow screens: the same links as a list down a line, Prism first, each with its one-liner */
@media (max-width: 760px) {
  .home .ef-box { height: auto; padding: 20px 0; --ef-icon: 52px; }
  .home .ef-lines { display: none; }
  .home .ef-nodes { position: relative; display: grid; gap: 4px; }
  .home .ef-nodes::before { content: ""; position: absolute; left: calc(var(--ef-pad) + var(--ef-icon) / 2); top: 40px; bottom: 40px; border-left: 1px solid var(--ef-line); }
  .home .ef-node, .home .ef-down { position: relative; left: auto; top: auto; translate: none; clip-path: none; width: auto; height: auto;
    flex-direction: row; align-items: center; gap: 16px; }
  .home .ef-copy, .home .ef-down .ef-copy { opacity: 1; translate: none; gap: 2px; }
  .home .ef-desc { display: none; }
  .home .ef-one { display: block; }
}

/* ways to work with Mobii, laid out like a pricing table: a heading, then three cards in the fill of the capability
   cards. Under the pointer a card lifts and its button turns solid. No prices and no icons in the lists: the big line
   says what you start with, and each card ends in its own link. */
.home .wp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: 24px clamp(32px, 5vw, 72px); margin-bottom: 40px; }
.home .wp-head h2 { font-size: var(--fs-h2); }

.home .wp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home .wp-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--cap-fill); transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.home .wp-card:hover, .home .wp-card:focus-within { background: var(--cap-lift); border-color: var(--line-2); }
:root[data-theme="light"] body.home .wp-card:hover, :root[data-theme="light"] body.home .wp-card:focus-within { box-shadow: 0 20px 50px -24px rgba(20, 16, 48, .28); }
.home .wp-top { position: relative; display: grid; gap: 8px; padding: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.home .wp-top h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.home .wp-top p { font-size: 14px; color: var(--fg-2); }
.home .wp-big { padding-inline: 24px; margin-bottom: 24px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.home .wp-body { display: flex; flex-direction: column; flex: 1; padding: 0 24px 32px; }
.home .wp-label { margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); }
.home .wp-body ul { display: grid; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.home .wp-body .btn { width: 100%; height: 36px; margin-top: auto; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  background: var(--quiet-label); color: var(--fg); transition: background-color .2s var(--ease), color .2s var(--ease); }
.home .wp-card:hover .btn, .home .wp-card:focus-within .btn { background: var(--cta-solid); color: var(--cta-solid-ink); }
.home .wp-card .btn:hover { background: var(--cta-solid-hover); }

@media (max-width: 900px) {
  .home .wp-head { grid-template-columns: 1fr; }
  .home .wp-grid { grid-template-columns: 1fr; }
}

/* the case study, as a banner: the IndyCar showcase clip (images/video/indycar-showcase.mp4) fills it, muted and looping,
   over its poster; a shade runs in from the text side, and deepens a little under the pointer. The whole banner is the link. */
.home .cb { --cb-shade: #0e0e10; position: relative; display: grid; aspect-ratio: 5 / 2; overflow: hidden; isolation: isolate;
  border-radius: 16px; background: var(--cb-shade); color: #fff; text-decoration: none; }
.home .cb:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* the clip is set large and to the right, so the graphic on the car is the subject: its middle sits at about 63% across and
   59% down. The clip ends short of the left edge and fades into the shade there, which fills in the rest. */
.home .cb-frame { position: absolute; left: 10.5%; top: -46%; width: 119%; aspect-ratio: 16 / 9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
.home .cb-media { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.home .cb-shade, .home .cb-shade::after { position: absolute; inset: 0; pointer-events: none; }
.home .cb-shade { background: linear-gradient(90deg, var(--cb-shade), color-mix(in srgb, var(--cb-shade) 70%, transparent) 50%, transparent); }
.home .cb-shade::after { content: ""; background: linear-gradient(90deg, var(--cb-shade), transparent); opacity: 0; transition: opacity .3s var(--ease); }
.home .cb:hover .cb-shade::after, .home .cb:focus-visible .cb-shade::after { opacity: .4; }
.home .cb-body { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  box-sizing: border-box; padding: clamp(20px, 3vw, 36px); }
.home .cb-copy { display: block; min-width: 0; max-width: 440px; }
/* the two clients, by their logos; the files carry wide margins, which the negative margins take back */
.home .cb-logos { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.home .cb-logos img { display: block; width: auto; }
.home .cb-fox { height: 44px; margin: -6px calc(44px * -110 / 150) -6px calc(44px * -109 / 150); }
.home .cb-indy { height: 30px; }
.home .cb-sep { width: 1px; height: 24px; background: rgba(255, 255, 255, .3); }
.home .cb h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; color: #fff; }
.home .cb-sub { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; text-wrap: pretty; color: rgba(255, 255, 255, .8); }
.home .cb-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-size: 14px; font-weight: 500; transition: gap .2s var(--ease); }
.home .cb:hover .cb-cta, .home .cb:focus-visible .cb-cta { gap: 7px; }
.home .cb-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the results, as small frosted chips under the words */
.home .cb-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.home .cb-stats > span { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12px; white-space: nowrap; color: rgba(255, 255, 255, .75); }
.home .cb-stats b { font-weight: 500; font-variant-numeric: tabular-nums; color: #fff; }
/* the award leads the chips, with its trophy in a small gold square */
.home .cb-stats > .cb-emmy { display: inline-flex; align-items: center; gap: 7px; padding-left: 5px; }
.home .cb-trophy { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: rgba(239, 191, 4, .18); color: #EFBF04; }
.home .cb-trophy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* narrow screens: taller, the shade from the foot, the chips above the words */
@media (max-width: 760px) {
  .home .cb { aspect-ratio: auto; min-height: 520px; }
  .home .cb-frame { left: -26%; top: -104px; width: 173%; -webkit-mask-image: none; mask-image: none; }
  .home .cb-shade { background: linear-gradient(0deg, var(--cb-shade), color-mix(in srgb, var(--cb-shade) 75%, transparent) 50%, transparent 85%); }
  .home .cb-shade::after { background: linear-gradient(0deg, var(--cb-shade), transparent); }
  .home .cb-body { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding-top: 240px; }
  .home .cb-sub { font-size: 14px; }
}

/* the closing call to action opens the footer: the full width of the window, the hero's scene video
   (images/video/hero-scene.webm) muted and looping behind the words and the hero's buttons, white and outline, then
   fading through to the footer's black so the two read as one block. It stays dark in the light theme. */
.home .cta { background: #000; border-radius: 0; padding-block: clamp(96px, 12vw, 160px) clamp(120px, 14vw, 200px); }
.home .cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 65%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000); }
.home .cta::before { display: none; }
.home .cta-video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; display: block; }
.home .cta-copy { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; }
.home .cta .btn { height: 32px; padding: 0 16px; border-radius: 8px; }
.home .cta .btn-brand { background: #fff; color: #000; box-shadow: none; }
.home .cta .btn-brand:hover { background: #e9e9ee; }
.home .cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .24); }
.home .cta .btn-ghost:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }

/* no Prism beam along the top of the header on the homepage */
.home .site-header::before { display: none; }

/* footer: black in both themes, the dark theme's inks inside it, the call to action at its head */
.home .footer { --fg: #F3F1FB; --fg-2: rgba(243, 241, 251, 0.68); --fg-3: rgba(243, 241, 251, 0.46);
  --line: rgba(236, 232, 255, 0.12); --line-2: rgba(236, 232, 255, 0.18);
  background: #000; color: var(--fg); border-top: 0; padding-top: 0; }
.home .footer > .wrap { padding-top: clamp(96px, 12vw, 180px); }
.home .footer .logo-svg { color: #fff; }

/* footer: no giant wordmark. The description on the left, then the four link columns close together at the right, with
   the open space between them and the description. Each product and base layer carries its symbol (Prism's in its beam
   colours), and the ecosystem, which has none, takes the menu's layers icon in the muted ink */
/* the legal line's rule runs the width of the page, like the footer's own top border */
.home .footer .legal { position: relative; margin-top: 96px; border-top: 0; }
.home .footer .legal::before { content: ""; position: absolute; top: 0; left: -100vw; right: -100vw; height: 1px; background: var(--line); }
.home .foot-grid { grid-template-columns: minmax(0, 1fr) repeat(4, 160px); column-gap: 24px; }
@media (max-width: 900px) { .home .foot-grid { grid-template-columns: 1fr 1fr; } }
.home .foot-syms a { display: inline-flex; align-items: center; gap: 10px; }
.home .foot-syms .sym { flex: none; width: 16px; height: 16px; }
.home .foot-syms svg.sym { fill: none; stroke: var(--fg-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* follow us: the networks' marks in a row, no names (each link carries its name for screen readers), solid in the link colour */
.home .foot-grid ul.foot-social { display: flex; flex-wrap: wrap; gap: 12px; }
.home .foot-social a { display: flex; color: var(--fg-2); }
.home .foot-social a:hover { color: var(--fg); }
.home .foot-social svg { width: 20px; height: 20px; fill: currentColor; }

/* the browser's default 8px body margin, which mobii.css does not reset, framed the edge-to-edge hero in the page colour */
body.home { margin: 0; }

/* the full-bleed video hero (body.hero-full, on index.html): the scene video fills the whole hero, edge to edge and
   the full height of the window, header included. The words sit centred on it top to bottom (clear of
   the header at the top, and as far again from the foot), in white, over a shade from the left so they stay readable */
/* the video runs up behind the header, which lies over the top of the hero; the hero pads its words clear of it */
.hero-full .hero { --hdr: 68px; position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  padding-block: calc(clamp(24px, 4vw, 48px) + var(--hdr));
  min-height: 100svh; background: #000; }
/* the header lies over the top of the hero and scrolls away with it. It has no backing of its own (case-study.css), so
   over the video only its loose marks change: they turn white. Soon after it has scrolled out of sight the same header
   comes back as a bar fixed to the top (.is-stuck, set by js/sticky-header.js), sliding down with a solid backing in the
   page colour; the nav inside it then drops its tray, so the bar is the only surface. */
.hero-full .site-header { position: absolute; top: 0; left: 0; right: 0; }
.hero-full .site-header:not(.is-stuck) .wordmark, .hero-full .site-header:not(.is-stuck) .wordmark .logo-svg { color: #fff; }
/* over the video the header is always in the dark theme, whatever the page's, so its nav pill (and the menus that open
   from it) are the dark ones; the theme switch lives only in the bar that comes down later */
.hero-full .site-header:not(.is-stuck) { --bg: #101012; --bg-2: #13121C; --card: #181624; --card-2: #1F1D2E;
  --fg: #F3F1FB; --fg-2: rgba(243, 241, 251, 0.68); --fg-3: rgba(243, 241, 251, 0.46);
  --line: rgba(236, 232, 255, 0.09); --line-2: rgba(236, 232, 255, 0.16);
  --nav-tray: #181819; --nav-edge: rgba(236, 232, 255, 0.04); --quiet-label: rgba(255, 255, 255, 0.08); --shadow: 0 6px 16px 0 rgba(0,0,0,0.28), 0 9px 28px 8px rgba(0,0,0,0.18); }
.hero-full .site-header:not(.is-stuck) .pill-nav { --pn-hover: rgba(255, 255, 255, 0.08); }
.hero-full .site-header:not(.is-stuck) .theme-btn { display: none; }
.hero-full .site-header.is-stuck { position: fixed; background: var(--bg);
  backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line);
  animation: header-in .4s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-full .site-header.is-stuck .pill-nav__bar.pill-nav__surface { background: transparent; }
.hero-full .site-header.is-stuck .pill-nav__bar .pill-nav__rim { box-shadow: none; }
@keyframes header-in { from { translate: 0 -100%; } }
@media (prefers-reduced-motion: reduce) { .hero-full .site-header.is-stuck { animation: none; } }
.hero-full .hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-full .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .1) 100%); }
.hero-full .hero > .wrap { width: 100%; }
.hero-full .hero-grid { grid-template-columns: minmax(0, 620px); }
.hero-full .hero h1 { color: #fff; }
.hero-full .hero .lede { color: rgba(255, 255, 255, .74); }
.hero-full .hero .btn-brand { background: #fff; color: #000; box-shadow: none; }
.hero-full .hero .btn-brand:hover { background: #e9e9ee; }
.hero-full .hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero-full .hero .btn-ghost:hover { border-color: rgba(255, 255, 255, .7); color: #fff; }

/* the client logos, moved up into the foot of the full-bleed hero: one quiet line of them over the video, white at 60%,
   dithered into a fine grid of dots (a mask of round cells) to sit with the video's pixel look. No cells, hairlines or
   plus marks here. Every mark stands the same height (--logo-h) and the line runs the full width of the content, the
   first mark on its left edge and the last on its right. The files carry clear margins of their own, measured into each
   image's --t, --b, --l and --r (fractions of the 400 x 150 file); negative margins take them back, so each cell is
   exactly its mark. */
.hero-full .hero { grid-template-rows: minmax(0, 1fr) auto; padding-bottom: clamp(24px, 3vw, 40px); }
.hero-full .hero .logo-band { --logo-h: min(34px, calc((100vw - 232px) / 21.2)); border: 0; margin-top: 40px; }
.hero-full .hero .lb-grid { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 24px; border: 0; }
.hero-full .hero .lb-cell { display: block; flex: none; min-width: 0; min-height: 0; padding: 0; background: transparent; border: 0; line-height: 0; }
.hero-full .hero .lb-plus { display: none; }
.hero-full .hero .lb-cell img { --ih: calc(var(--logo-h) / (1 - var(--t) - var(--b))); --iw: calc(var(--ih) * 400 / 150);
  height: var(--ih); width: var(--iw); max-width: none;
  margin: calc(var(--ih) * var(--t) * -1) calc(var(--iw) * var(--r) * -1) calc(var(--ih) * var(--b) * -1) calc(var(--iw) * var(--l) * -1); }
:root body.home.hero-full .hero .lb-cell img { filter: none; opacity: .6;
  -webkit-mask-image: radial-gradient(circle, #000 0.95px, transparent 1.35px); mask-image: radial-gradient(circle, #000 0.95px, transparent 1.35px);
  -webkit-mask-size: 2.5px 2.5px; mask-size: 2.5px 2.5px; }
/* narrow screens: two lines of four, centred, a little smaller */
@media (max-width: 760px) {
  .hero-full .hero .logo-band { --logo-h: 18px; }
  .hero-full .hero .lb-grid { flex-wrap: wrap; justify-content: center; gap: 18px 22px; }
}

/* the background of "Start from the problem": the app icons drifting slowly sideways in an endless line over the
   diagram's faint grid, fading out at the card's edges. The words and the button sit at the foot of the card, under it;
   the top of the card is kept clear for the line, so on a short card the words never meet it. */
.home .cap.link-cap { position: relative; overflow: hidden; isolation: isolate; align-content: end; padding-top: 200px; }
.home .cap.link-cap::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--lc-grid) 1px, transparent 1px), linear-gradient(90deg, var(--lc-grid) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 75%); }
.home .cap.link-cap { --lc-grid: rgba(236, 232, 255, 0.05); }
:root[data-theme="light"] body.home .cap.link-cap { --lc-grid: rgba(20, 16, 48, 0.05); }
.home .lc-marquee { position: absolute; top: 72px; left: 0; right: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.home .lc-track { display: flex; gap: 16px; width: max-content; animation: lc-drift 24s linear infinite; }
.home .lc-track img { display: block; flex: none; width: 56px; height: 56px; }
/* two identical sets of six: moving the track by one set's length (half of it, gap included) loops without a seam */
@keyframes lc-drift { to { translate: calc(-50% - 8px) 0; } }
@media (prefers-reduced-motion: reduce) { .home .lc-track { animation: none; } }

/* "Runs where you need it": the heading on top, then one card laid out like the "What it makes possible" cards but
   on its side, the Zenith encoder (js/hairline/zenith.js) large on the left and the paragraph with its button on the right */
.home .hz-head { margin-bottom: 40px; }
.home .hz-head h2 { font-size: var(--fs-h2); max-width: 16ch; }
.home .hz-card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0; align-items: stretch; padding: 0; overflow: hidden; }
/* the card splits in two: the encoder standing on its isometric grid, then the words */
.home .hz-fig { --fig-zoom: 1.45; --fig-y: -50%; aspect-ratio: 16 / 10; margin: 0; }
/* the grid panel has its own fill, a light grey in the light theme and darker than the card in the dark one; the
   unit keeps the card's own fill on its plates, so it stands out from the panel and still hides the grid */
.home .hz-fig { --hz-panel: #0c0c0e; background: var(--hz-panel); }
:root[data-theme="light"] .home .hz-fig { --hz-panel: #F1F3F6; }
/* the isometric floor grid the figure draws under the unit */
.home .hz-fig .fig-grid { stroke: var(--line); }
/* the pulse that runs along the encoder's cables at work: a short red dash, moved along by the figure */
.home .hz-fig .cable-pulse { stroke: var(--brand); stroke-width: 2.5px; stroke-dasharray: 0.14 1.2; stroke-dashoffset: 0.14; opacity: 0; }
.home .hz-copy { display: grid; gap: 28px; justify-items: start; }
/* the card's own paragraph styles are smaller and quieter; this one keeps the size of the section's big line */
.home .hz-card p.big-line { font-size: clamp(19px, 1.9vw, 23px); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; max-width: 34ch; color: var(--fg); }
.home .hz-btn { height: 36px; padding: 0 16px; border-radius: 8px; background: var(--cta-solid); color: var(--cta-solid-ink); font-size: 14px; font-weight: 500; }
.home .hz-btn:hover { background: var(--cta-solid-hover); }
.home .hz-copy { align-content: center; padding: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .home .hz-card { grid-template-columns: 1fr; } .home .hz-fig { --fig-zoom: 1.55; }
  .home .hz-copy { padding: 28px 24px; } }

/* clean images: no gradient panel round a framed picture (see case-study.css) */
.home .frame { background: none; }

/* home: two smaller case study cards under the featured one */
.hcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.hcard { position: relative; display: grid; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 10; border-radius: var(--r-lg); color: #fff; text-decoration: none; background: #0e0e10; }
.hcard:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.hc-img { position: absolute; inset: 0; z-index: -2; }
.hc-img img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s var(--ease); }
.hcard:hover .hc-img img { transform: scale(1.03); }
.hcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,14,16,.96) 0%, rgba(14,14,16,.72) 42%, rgba(14,14,16,0) 78%); }
.hc-body { align-self: end; display: grid; gap: 8px; padding: clamp(20px, 2.6vw, 32px); max-width: 520px; }
.hc-logos { display: flex; align-items: center; gap: 14px; min-height: 30px; margin-bottom: 4px; }
.hc-logos img { display: block; width: auto; }
.hc-sep { width: 1px; height: 22px; background: rgba(255,255,255,.3); }
.hc-name { font-size: 18px; font-weight: 600; letter-spacing: .02em; }
.hc-past { padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hcard h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.hc-sub { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.8); }
.hc-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hc-stats span { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.85); }
.hc-stats b { font-weight: 600; color: #fff; }
.hc-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 14px; font-weight: 500; transition: gap .2s var(--ease); }
.hcard:hover .hc-cta { gap: 7px; }
.hc-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 800px) { .hcards { grid-template-columns: 1fr; } .hcard { aspect-ratio: 4 / 5; } }

/* full screen showreel hero (from the designer's build): words anchored low left, over shades that follow them,
   and a soft shade along the top so the header reads over the footage */
.hero.hero--screen { align-items: end; --col: max(32px, (100% - var(--max) - 64px) / 2 + 32px); }
.hero.hero--screen::after { background:
  radial-gradient(ellipse 52% 50% at 0% 100%, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .78) 35%, rgba(0, 0, 0, .5) 62%, rgba(0, 0, 0, .2) 84%, rgba(0, 0, 0, 0) 100%),
  radial-gradient(ellipse 680px 64% at calc(var(--col) + 300px) 100%, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .84) 30%, rgba(0, 0, 0, .62) 55%, rgba(0, 0, 0, .3) 78%, rgba(0, 0, 0, 0) 100%),
  linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .3) 14%, rgba(0, 0, 0, 0) 30%),
  linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .58)); }
.hero.hero--screen::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, 0) 100%); }
/* "Video alone is pictures..." heading: one sentence per line, never wrapping */
.home .h-lines { white-space: nowrap; font-size: clamp(20px, 2.9vw, 42px); line-height: 1.12; }
@media (max-width: 760px) { .home .h-lines { font-size: clamp(20px, 6.6vw, 34px); } }
