/* Sightgrid stage 1: the umbrella front page and the product page template. Built on site.css and scenes.css (the
   electrical page's type, reveals, headline entrances, phone frame and ambient light), adding: product accents, the
   laptop frame, the Products menu with its clips, the core scene, the product panels, the shared record, works beside,
   built with the trade, and the template's scenes. Phone layouts are designed, not shrunk: everything below 1000 px
   has its own flow. Reduced motion shows every end state at rest. */

/* Fallback faces sized like Barlow, so a line breaks in the same place before and after the web font arrives (no shift) */
@font-face { font-family: 'Barlow Condensed Fallback'; src: local('Arial Narrow Bold'), local('ArialNarrow-Bold'), local('Arial Bold'), local('Arial-BoldMT'), local('Arial'); font-weight: 600 800; size-adjust: 76.5%; ascent-override: 128%; descent-override: 33%; line-gap-override: 0%; }
/* uppercase labels (buttons) run wider in Arial than in Barlow Condensed: their own, narrower fallback, so a button row never wraps differently before the font arrives */
@font-face { font-family: 'Barlow Condensed Caps Fallback'; src: local('Arial Narrow Bold'), local('ArialNarrow-Bold'), local('Arial Bold'), local('Arial-BoldMT'), local('Arial'); font-weight: 600 800; size-adjust: 69%; ascent-override: 128%; descent-override: 33%; line-gap-override: 0%; }
@font-face { font-family: 'Barlow Fallback'; src: local('Arial'), local('ArialMT'), local('Helvetica'); size-adjust: 93%; ascent-override: 106%; descent-override: 21%; line-gap-override: 0%; }
/* Self-hosted latin subsets (Google Fonts, OFL): Barlow Condensed (display: the lettering of signs and field tags),
   Barlow (body), IBM Plex Mono (tag numbers, labels, data). */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-condensed-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/barlow-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/plex-mono-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/plex-mono-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- product accents (light, then dark) */
[data-accent="amber"] { --pa: #A8670F; --pa-hi: #E39A2B; --pa-soft: rgba(183,121,31,.11); --pa-glow: rgba(227,154,43,.30); }
[data-accent="green"] { --pa: #087A3F; --pa-hi: #3DFF88; --pa-soft: rgba(8,122,63,.10); --pa-glow: rgba(61,255,136,.26); }
[data-accent="blue"] { --pa: #2563A8; --pa-hi: #6FA8F2; --pa-soft: rgba(47,111,181,.11); --pa-glow: rgba(111,168,242,.30); }
:root[data-theme="dark"] [data-accent="amber"] { --pa: #E9B65E; --pa-soft: rgba(233,182,94,.10); }
:root[data-theme="dark"] [data-accent="green"] { --pa: #3DFF88; --pa-soft: rgba(61,255,136,.08); }
:root[data-theme="dark"] [data-accent="blue"] { --pa: #7FB2F5; --pa-soft: rgba(127,178,245,.10); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [data-accent="amber"] { --pa: #E9B65E; --pa-soft: rgba(233,182,94,.10); } :root:not([data-theme="light"]) [data-accent="green"] { --pa: #3DFF88; --pa-soft: rgba(61,255,136,.08); } :root:not([data-theme="light"]) [data-accent="blue"] { --pa: #7FB2F5; --pa-soft: rgba(127,178,245,.10); } }
.ico { display: inline-grid; place-items: center; }
.ico svg { width: 100%; height: 100%; }
.on-dark { display: none; }
:root[data-theme="dark"] .on-light { display: none; } :root[data-theme="dark"] .on-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .on-light { display: none; } :root:not([data-theme="light"]) .on-dark { display: block; } }
.nav .logo .on-dark, .foot .logo .on-dark { display: none; }
:root[data-theme="dark"] .nav .logo .on-dark, :root[data-theme="dark"] .foot .logo .on-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .logo .on-dark, :root:not([data-theme="light"]) .foot .logo .on-dark { display: block; } }

/* ---------- headline entrance: glint (the front page's h1): each word arrives lit in the accent, then cools to ink */
.motion [data-enter="glint"] .wi { transition: color 1.6s ease, text-shadow 1.6s ease; transition-delay: calc(var(--i) * 90ms); }
/* the words are painted from the first frame (the headline is the page's largest paint): only their light changes */
.motion [data-enter="glint"]:not(.in) .wi { color: var(--accent); text-shadow: 0 0 18px var(--accent-soft), 0 0 2px var(--accent-soft); }

/* ---------- the laptop: aluminium lid on a hinge, black bezel, camera, the screen behind glass, the base with its
   thumb notch, and the screen's own light on the surface. It opens on arrival (data-dev="lid") and its screen
   powers on after the lid is up. */
.mac { margin: 0; position: relative; width: 100%; perspective: 2400px; --al1: #d9dcd8; --al2: #a4a8a3; --al3: #7f837e; }
:root[data-theme="dark"] .mac { --al1: #5a5f5b; --al2: #3a3e3b; --al3: #232624; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mac { --al1: #5a5f5b; --al2: #3a3e3b; --al3: #232624; } }
.mac-lid { position: relative; z-index: 2; transform-origin: 50% 100%; padding: .9%; border-radius: 16px 16px 4px 4px; background: linear-gradient(180deg, var(--al1), var(--al2)); box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 50px 80px -46px rgba(0,0,0,.6); transition: transform 1.7s cubic-bezier(.2,.75,.15,1); }
.mac-bezel { position: relative; background: #070908; border-radius: 12px 12px 3px 3px; padding: 2.6% 1.5% 1.6%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.mac-cam { position: absolute; top: 1%; left: 50%; width: 7px; height: 7px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a5b6b, #0b1114 60%); box-shadow: 0 0 0 1.5px #151a18; }
.mac-scr { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #0c100d; }
.mac-scr video, .mac-scr img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .9s ease .8s, filter .9s ease .8s; }
.mac-scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 30%, transparent 46%); }
.mac-base { position: relative; z-index: 1; margin: 0 -6.5%; height: 0; padding-bottom: 2.1%; border-radius: 2px 2px 40% 40% / 2px 2px 100% 100%; background: linear-gradient(180deg, var(--al1) 0%, var(--al2) 55%, var(--al3) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 26px 34px -20px rgba(0,0,0,.55); }
:root[data-theme="dark"] .mac-base { box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 26px 34px -20px rgba(0,0,0,.9); }
.mac-base i { position: absolute; left: 50%; top: 0; width: 13%; height: 46%; transform: translateX(-50%); border-radius: 0 0 9px 9px; background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.04)); }
.mac-light { position: absolute; left: 4%; right: 4%; bottom: -9%; height: 22%; z-index: 0; pointer-events: none; background: radial-gradient(50% 55% at 50% 30%, var(--pa-glow, rgba(61,255,136,.22)), transparent 72%); filter: blur(12px); opacity: .85; transition: opacity 1.2s ease .9s; }
.motion .mac[data-dev="lid"]:not(.open) .mac-lid { transform: rotateX(-86deg); }
.motion .mac[data-dev="lid"]:not(.open) .mac-scr video, .motion .mac[data-dev="lid"]:not(.open) .mac-scr img { opacity: 0; filter: brightness(2); }
.motion .mac[data-dev="lid"]:not(.open) .mac-light { opacity: 0; }
.mac .cap { margin-top: 22px; }
.mac.big { width: min(100%, 1040px); margin: 0 auto; }
/* phone: flat (no motion of its own; its parent scene moves it) */
.phone[data-dev="flat"] .ph-body { transform: none; }

/* ---------- the Products menu: a panel of product cards, each with its own clip (playing only while it is open) */
/* the Products menu: a compact list (icon and name) beside ONE preview pane that plays the clip of the item with the
   focus, the tap or the pointer; past five products the list sorts itself into groups, in columns */
.ddprod { position: fixed; top: calc(var(--nav) + 6px); left: auto; right: 24px; width: min(640px, calc(100vw - 48px)); padding: 10px; }
.ddprod.wide { width: min(900px, calc(100vw - 48px)); }
.ddbody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; }
.ddprod.wide .ddbody { grid-template-columns: minmax(0, 2fr) minmax(0, 1.35fr); }
.ddlist { display: grid; gap: 2px; align-content: start; padding: 4px 0; }
.ddlist.grouped { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.ddcol { display: grid; gap: 2px; align-content: start; }
.ddg { margin: 4px 10px 6px; font: 600 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav ul .ddprod .dditem { display: flex; align-items: center; gap: 11px; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--ink2); white-space: nowrap; min-height: 44px; transition: background .18s, color .18s; }
.nav ul .ddprod .dditem.sel, .nav ul .ddprod .dditem:focus-visible { background: var(--card2); color: var(--ink); }
.nav ul .ddprod .dditem.sel .ico { background: var(--pa); color: var(--card); }
.ddprod .ico { width: 26px; height: 26px; flex: none; border-radius: 8px; padding: 5px; background: var(--pa-soft); color: var(--pa); transition: background .18s, color .18s; }
.ddprod .t { font: 650 14.5px/1.2 var(--body); overflow: hidden; text-overflow: ellipsis; }
.nav ul .ddprod .dditem[aria-current] .t::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 2px; border-radius: 50%; background: var(--pa); }
.ddview { display: flex; flex-direction: column; gap: 10px; padding: 8px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line); }
.ddscr { position: relative; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; background: #0c100d; }
.ddscr video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; transition: opacity .25s; }
.ddscr video.swap { opacity: 0; }
.ddcap { margin: 0 4px 2px; display: grid; gap: 2px; }
.ddcap b { font: 700 15px/1.25 var(--display); font-stretch: 106%; font-variation-settings: "wdth" 106; }
.ddcap span { font: 400 13.5px/1.4 var(--body); color: var(--muted); }
.panelmenu .pgsub { margin: 10px 0 2px; font: 600 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.panelmenu .pgroup .ico { padding: 8px; }

/* ---------- 1. the core scene: the shared core in the middle; each product branches out of it as you scroll and lights
   up with its own clip. Computer: pinned while it plays. Phone: a trunk down the page, each branch lit as it arrives. */
.cs { position: relative; height: 430vh; }
.cs-stick { position: sticky; top: 0; height: 100svh; padding: calc(var(--nav) + 14px) 12px 12px; display: grid; grid-template-columns: minmax(380px, 33%) 1fr; gap: 12px; }
.cs-copy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3vw, 50px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cs-copy h1 { font-size: clamp(40px, 3.9vw, 70px); }
.cs-index { list-style: none; margin: clamp(22px, 3vh, 40px) 0 0; padding: 0; display: grid; gap: 8px; }
.cs-index a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); text-decoration: none; background: color-mix(in srgb, var(--card) 70%, transparent); transition: border-color .4s, background .4s, transform .4s; }
.cs-index .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--card2); color: var(--muted); transition: background .4s, color .4s; }
.cs-index b { display: block; font: 700 15px/1.25 var(--display); font-stretch: 106%; font-variation-settings: "wdth" 106; }
.cs-index i { display: block; font: 400 13.5px/1.35 var(--body); font-style: normal; color: var(--muted); }
.cs-index li.lit .ico { background: var(--pa-soft); color: var(--pa); }
.cs-index li.cur a { border-color: color-mix(in srgb, var(--pa) 55%, var(--line)); background: var(--pa-soft); transform: translateX(4px); }
.cs-stage { position: relative; border-radius: var(--r); overflow: hidden; min-width: 0; background: radial-gradient(70% 60% at 50% 55%, #142019 0%, #0a0f0c 62%, #070a08 100%); border: 1px solid #1d261f; color: #e9efe8; isolation: isolate; }
/* the floor: a lit grid in perspective, under everything */
.cs-floor { position: absolute; left: -20%; right: -20%; bottom: -8%; height: 62%; z-index: -1; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%; background-image: linear-gradient(rgba(61,255,136,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(61,255,136,.10) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 80% at 50% 70%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 80% at 50% 70%, #000 30%, transparent 75%); }
.motion .cs-floor { animation: floor 14s linear infinite; }
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.cs-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.cs-wires .w { fill: none; stroke: rgba(233,239,232,.16); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; }
.motion .cs-wires .w:not(.pulse) { animation: wiredraw 1.5s cubic-bezier(.6,0,.3,1) backwards; animation-delay: calc(1.1s + var(--k, 0) * .28s); }
@keyframes wiredraw { from { stroke-dashoffset: 1; } }
.motion .cs-node { animation: nodein 1s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(1.5s + var(--k, 0) * .28s); }
@keyframes nodein { from { opacity: 0; transform: scale(.92); } }
.cs-wires .w.lit { stroke: var(--wire, #3DFF88); stroke-width: 2; filter: drop-shadow(0 0 6px var(--wire, #3DFF88)); }
.cs-wires .pulse { stroke-dasharray: .06 .94; stroke-dashoffset: 1; opacity: 0; stroke-width: 3.2; }
.motion .cs-wires .pulse.lit { opacity: 1; animation: wirepulse 2.4s linear infinite; }
@keyframes wirepulse { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.cs-core { position: absolute; z-index: 3; left: 50%; top: 64%; width: min(27%, 320px); transform: translate(-50%, -50%); background: linear-gradient(180deg, rgba(23,31,25,.94), rgba(14,19,16,.94)); border: 1px solid rgba(61,255,136,.28); border-radius: 18px; padding: 16px 16px 10px; box-shadow: 0 0 0 6px rgba(61,255,136,.04), 0 30px 80px -30px rgba(0,0,0,.9), 0 0 90px -20px rgba(61,255,136,.35); backdrop-filter: blur(6px); }
.motion .cs-core::before { content: ""; position: absolute; inset: -7px; border-radius: 24px; border: 1px solid rgba(61,255,136,.35); animation: breathe 4.8s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%, 100% { opacity: .25; transform: scale(1); } 50% { opacity: .8; transform: scale(1.012); } }
.cc-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 12px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 6px; }
.cc-head img { width: 34px; height: 34px; }
.cs-stage .on-dark { display: block; } .cs-stage .on-light { display: none; }
.cc-head b { display: block; font: 750 17px/1.1 var(--display); font-stretch: 110%; font-variation-settings: "wdth" 110; letter-spacing: -.01em; }
.cc-head i { display: block; font: 600 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #3DFF88; font-style: normal; }
.cs-core ul { list-style: none; margin: 0; padding: 0; display: grid; }
.cs-core li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 4px; border-radius: 10px; transition: background .5s, opacity .5s; }
.cs-core li .ico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: rgba(61,255,136,.09); color: #3DFF88; }
.cs-core li b { display: block; font: 600 13.5px/1.25 var(--body); }
.cs-core li i { display: block; font: 400 12px/1.35 var(--body); font-style: normal; color: #9aa79c; }
.motion .cs-core li { animation: rowin .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--k) * .13s); }
@keyframes rowin { from { opacity: 0; transform: translateX(-10px); } }
.cs-core li.hot { background: rgba(61,255,136,.07); }
/* the branches: one per product, in the stage's corners (slots), each dim until its turn, then lit with its clip */
.cs-node { position: absolute; z-index: 2; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1), filter .7s ease; --wire: var(--pa-hi); }
.cs-stage [data-slot="0"] { left: 3%; top: 4.5%; width: min(37%, 64vh); transform-origin: 0 0; }
.cs-stage [data-slot="1"] { right: 3%; top: 4.5%; width: min(37%, 64vh); transform-origin: 100% 0; }
.cs-stage [data-slot="2"] { right: 4.5%; bottom: 4%; width: min(15%, 22vh); transform-origin: 100% 100%; }
.cs-stage [data-slot="3"] { left: 4.5%; bottom: 4%; width: min(15%, 22vh); transform-origin: 0 100%; }
.motion .cs.focus .cs-node:not(.cur) { opacity: .42; filter: saturate(.35) brightness(.75); transform: scale(.96); }
.motion .cs.focus .cs-node.cur { transform: scale(1.14); z-index: 4; }
.motion .cs.focus .cs-node[data-kind="phone"].cur { transform: scale(1.22); }
.motion .cs.focus .cs-more { opacity: .3; }
.cs-node.cur .cn-dev { box-shadow: 0 0 0 1.5px var(--pa-hi), 0 0 60px -6px var(--pa-glow), 0 40px 70px -40px #000; }
.cn-dev { position: relative; border-radius: 12px; background: #050706; padding: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 70px -40px #000; transition: box-shadow .7s; }
.cn-scr { position: relative; overflow: hidden; border-radius: 7px; background: #0c100d; }
.cn-lap .cn-scr { aspect-ratio: 16 / 10; }
.cn-render .cn-scr { aspect-ratio: 16 / 9; }
.cn-ph { border-radius: 26px; padding: 6px; } .cn-ph .cn-scr { aspect-ratio: 600 / 1298; border-radius: 21px; }
.cn-scr video, .cn-scr canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cs .vid { display: none; }
.cn-base { display: block; height: 7px; margin: 0 -5% -6px; border-radius: 0 0 9px 9px; background: linear-gradient(180deg, #5c615d, #2a2e2b); }
.cn-label { display: flex; align-items: center; gap: 10px; margin-top: 12px; text-decoration: none; color: #e9efe8; }
.cn-label .ico { width: 30px; height: 30px; flex: none; padding: 6px; border-radius: 9px; background: color-mix(in srgb, var(--pa-hi) 16%, transparent); color: var(--pa-hi); }
.cn-label b { display: block; font: 700 14.5px/1.2 var(--display); font-stretch: 106%; font-variation-settings: "wdth" 106; }
.cn-label i { display: block; font: 400 12.5px/1.3 var(--body); font-style: normal; color: #9aa79c; }
.cs-node[data-kind="phone"] .cn-label { flex-direction: column; align-items: flex-start; }
.cs-more { position: absolute; z-index: 2; transition: opacity .8s, border-color .8s; opacity: .9; background: rgba(61,255,136,.03); display: grid; place-items: center; text-align: center; gap: 10px; padding: 16px; border: 1.5px dashed rgba(233,239,232,.22); border-radius: 22px; color: #9aa79c; font: 500 13px/1.4 var(--body); aspect-ratio: 600 / 1100; }
.cs-more.lit { opacity: 1; border-color: rgba(61,255,136,.45); }
.cs-more { border-color: rgba(61,255,136,.32); }
.cs-more svg { stroke: #3DFF88 !important; }
.cs-more b { display: block; color: #e9efe8; font: 700 14.5px/1.2 var(--display); }
.cs-more svg { width: 34px; height: 34px; stroke: rgba(233,239,232,.45); fill: none; stroke-width: 1.6; }
.cs-cap { position: absolute; left: 18px; bottom: 16px; z-index: 4; margin: 0; max-width: 46%; font: 500 11px/1.45 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #9aa79c; background: rgba(10,14,11,.72); padding: 8px 12px; border-radius: 8px; }
.cs-cap b { color: #e9efe8; font-weight: 600; }
@media (max-width: 999px) {
  .cs { height: auto; }
  .cs-stick { position: static; height: auto; grid-template-columns: 1fr; padding: calc(var(--nav) + 10px) 8px 8px; gap: 8px; }
  .cs-copy { padding: 26px 20px 22px; }
  .cs-copy h1 { font-size: clamp(38px, 10.6vw, 52px); }
  .cs-index { display: none; }
  .cs-stage { padding: 18px 14px 22px; display: flex; flex-direction: column; gap: 0; }
  .cs-floor { height: 30%; }
  .cs-wires { display: none; }
  .cs-core { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  .cs-core li i { font-size: 13px; }
  .cs-node { position: relative; inset: auto !important; width: auto !important; padding: 34px 0 0 30px; }
  /* the trunk: a line down from the core, a branch out to each product */
  .cs-node::before { content: ""; position: absolute; left: 11px; top: 0; bottom: -2px; width: 2px; background: linear-gradient(var(--pa-hi), color-mix(in srgb, var(--pa-hi) 30%, transparent)); transform-origin: 50% 0; transform: scaleY(var(--trunk, 1)); transition: transform 1s cubic-bezier(.3,.7,.2,1); }
  .cs-node::after { content: ""; position: absolute; left: 11px; top: 60px; width: 19px; height: 2px; background: var(--pa-hi); }
  .cs-node:last-of-type::before { bottom: auto; height: 62px; }
  .motion .cs:not(.rest) .cs-node:not(.lit)::before { --trunk: 0; }
  .cs-node[data-kind="phone"] .cn-dev { width: 58%; }
  .cs-node[data-kind="phone"] .cn-label { flex-direction: row; align-items: center; }
  .cs-more { position: relative; inset: auto !important; width: auto !important; aspect-ratio: auto; margin: 26px 0 0 30px; }
  .cs-cap { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 18px; }
  .cn-render .cn-scr { aspect-ratio: 4 / 5; }
  .cn-render canvas { display: none; }
  .cs .cn-render .vid { display: block; }
}

/* ---------- 2. Pick your trade: one large panel per product, a laptop and a phone each playing that product's clip */
.trades { padding-bottom: clamp(40px, 6vw, 80px); }
.tp { position: relative; padding: clamp(36px, 6vw, 90px) 0; }
.tp-in { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.tp.flip .tp-copy { order: 2; }
.tp-name { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 600 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pa); }
.tp-name .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--pa-soft); border: 1px solid color-mix(in srgb, var(--pa) 26%, transparent); }
.tp-h { font-size: clamp(34px, 3.9vw, 62px); line-height: .98; letter-spacing: -.03em; font-weight: 760; margin-bottom: .4em; }
.tp-h em { color: var(--pa); font-style: normal; }
.tp-facts { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.tp-facts li { position: relative; padding-left: 30px; font-weight: 500; }
.tp-facts li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--pa-soft); box-shadow: inset 0 0 0 1.5px var(--pa); }
.tp-facts li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 5px); width: 5px; height: 8px; border: solid var(--pa); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tp-price { font-size: 15.5px; color: var(--ink2); padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); }
.tp-price b { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.tp-go { margin-top: 6px; }
.tp-go .arr { transition: transform .25s; } .tp-go:hover .arr { transform: translateX(4px); }
.tp-stage { position: relative; padding: 4% 10% 9% 0; }
.tp.flip .tp-stage { padding: 4% 0 9% 10%; }
.tp-glow { position: absolute; inset: -6% -4% 0; z-index: -1; pointer-events: none; background: radial-gradient(48% 46% at 52% 50%, var(--pa-glow), transparent 72%); filter: blur(8px); opacity: .9; }
.tp-mac { width: 100%; }
.tp-phone { position: absolute; z-index: 3; right: 0; bottom: 2%; width: 25%; margin: 0; }
.tp.flip .tp-phone { right: auto; left: 0; }
.tp-phone .ph-body { border-radius: 30px; padding: 7px; }
.tp-phone .ph-scr { border-radius: 24px; }
.tp-phone .ph-island { top: 13px; height: 15px; }
.tp-cap { margin-top: 26px; text-align: left; }
@media (max-width: 999px) {
  .tp-in { grid-template-columns: 1fr; }
  .tp.flip .tp-copy { order: 0; }
  .tp-stage, .tp.flip .tp-stage { padding: 0 16% 10% 0; margin-top: 8px; }
  .tp-phone, .tp.flip .tp-phone { right: 0; left: auto; width: 31%; bottom: 0; }
  .tp-h { font-size: clamp(32px, 8.6vw, 44px); }
}

/* ---------- 3. one record, the same on every trade: four beats, a real recording each; the record's rail fills and
   seals at the end. Computer: pinned, the beats change with the scroll. Phone: the beats in order. */
.sh { position: relative; height: 420vh; }
.sh-stick { position: sticky; top: 0; height: 100svh; padding: calc(var(--nav) + 14px) 12px 12px; display: grid; grid-template-columns: minmax(380px, 36%) 1fr; gap: 12px; }
.sh-copy { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3vw, 50px); display: flex; flex-direction: column; min-width: 0; }
.sh-copy h2 { font-size: clamp(32px, 3.2vw, 54px); }
.sh-steps { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 4px; }
.sh-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); opacity: .45; transition: opacity .5s; }
.sh-steps .n { font: 600 12px/1.9 var(--mono); color: var(--muted); letter-spacing: .1em; }
.sh-steps .k { margin: 0; font: 600 11.5px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sh-steps h3 { margin: 2px 0 0; font-size: clamp(20px, 1.6vw, 26px); }
.sh-steps h3 em { font-style: normal; color: var(--accent); }
.sh-steps li > div > p:last-child { display: grid; grid-template-rows: 0fr; margin: 0; overflow: hidden; color: var(--ink2); font-size: 16px; line-height: 1.5; max-height: 0; transition: max-height .6s ease, margin .6s ease; }
.sh-steps li.on { opacity: 1; }
.sh-steps li.on > div > p:last-child { max-height: 8em; margin-top: 8px; }
.sh-stage { position: relative; border-radius: var(--r); overflow: hidden; min-width: 0; background: radial-gradient(60% 70% at 55% 50%, #13201a 0%, #0a0f0c 65%, #070a08 100%); border: 1px solid #1d261f; color: #e9efe8; }
.sh-rail { position: absolute; left: 34px; top: 12%; bottom: 12%; width: 2px; background: rgba(233,239,232,.12); z-index: 3; }
.sh-rail .fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--fill, 0) * 100%); background: #3DFF88; box-shadow: 0 0 12px #3DFF88; transition: height .5s ease; }
.sh-rail b { position: absolute; left: 50%; top: calc(var(--k) * 33.33%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #0a0f0c; border: 2px solid rgba(233,239,232,.25); transition: border-color .4s, background .4s, box-shadow .4s; }
.sh-rail b.on { border-color: #3DFF88; background: #3DFF88; box-shadow: 0 0 14px #3DFF88; }
.sh-rail .seal { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 18px); display: grid; justify-items: center; gap: 6px; width: 120px; }
.sh-rail .seal svg { width: 40px; height: 40px; fill: none; stroke: #3DFF88; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sh-rail .seal circle, .sh-rail .seal path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s cubic-bezier(.6,0,.3,1); }
.sh-rail .seal path { transition-delay: .55s; }
.sh-rail .seal em { font: 600 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #3DFF88; font-style: normal; opacity: 0; transition: opacity .5s .9s; }
.sh.sealed .sh-rail .seal circle, .sh.sealed .sh-rail .seal path { stroke-dashoffset: 0; }
.sh.sealed .sh-rail .seal em { opacity: 1; }
.sh-slide { position: absolute; inset: 0 0 0 70px; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 54px); opacity: 0; visibility: hidden; transform: translateY(26px) scale(.97); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1), visibility .6s; }
.sh-slide.on { opacity: 1; visibility: visible; transform: none; }
.sh-phone { width: min(30%, 300px); margin: 0; }
.sh-slide .sh-phone .ph-body { border-radius: 38px; padding: 9px; }
.sh-slide .sh-phone .ph-scr { border-radius: 30px; }
.sh-phone .cap { color: #9aa79c; text-align: center; }
.sh-phone .cap b { display: block; color: #e9efe8; }
.motion .sh-slide.on .sh-phone + .sh-phone { animation: second .9s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes second { from { transform: translateX(-40px) rotate(-3deg); opacity: 0; } }
@media (max-width: 999px) {
  .sh { height: auto; padding: 0 0 20px; }
  .sh-stick { position: static; height: auto; display: block; padding: 0 8px; }
  .sh-copy { padding: 26px 20px; }
  .sh-steps { margin-top: 18px; }
  .sh-steps li { opacity: 1; }
  .sh-steps li > div > p:last-child { max-height: none; margin-top: 8px; }
  .sh-stage { display: none; }
}
/* the phone version of the beats: each beat's recording under its words (built by p5.js from the same slides) */
.sh-mob { display: none; }
.sh-steps .sh-mob { grid-column: 1 / -1; }
@media (max-width: 999px) {
  .sh-mob { display: flex; gap: 12px; justify-content: center; margin: 16px 0 6px; padding: 22px 12px 14px; border-radius: 18px; background: radial-gradient(70% 70% at 50% 40%, #13201a, #070a08); }
  .sh-mob .sh-phone { width: min(62%, 260px); }
  .sh-mob .sh-phone + .sh-phone { width: min(44%, 200px); }
  .sh-mob:has(.sh-phone + .sh-phone) .sh-phone { width: min(46%, 210px); }
}

/* ---------- 4. works beside: plain words on a wire from the core; a pulse runs the wire and each word lights as it
   passes (only while the strip is on screen) */
.bs-strip { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 0; max-width: 1180px; margin: 0 auto; }
.bs-core { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 2; }
.bs-core img { width: 36px; height: 36px; }
.bs-wire { position: absolute; left: 64px; right: 0; top: 50%; height: 40px; transform: translateY(-50%); width: calc(100% - 64px); overflow: visible; }
.bs-wire path { fill: none; stroke: var(--line2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.bs-wire .pulse { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 60 2000; stroke-dashoffset: 60; opacity: 0; filter: drop-shadow(0 0 5px var(--accent)); }
.motion .bs-strip.on .bs-wire .pulse { opacity: 1; animation: bspulse 6s linear infinite; }
@keyframes bspulse { from { stroke-dashoffset: 60; } to { stroke-dashoffset: -1000; } }
.bs-words { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0 0 0 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.bs-words li { padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font: 600 15px/1 var(--body); color: var(--ink2); white-space: nowrap; transition: border-color .4s, color .4s, box-shadow .4s; }
.motion .bs-strip.on .bs-words li { animation: bsword 6s linear infinite; animation-delay: calc(var(--k) * .62s + .2s); }
@keyframes bsword { 0%, 100% { border-color: var(--line); box-shadow: none; color: var(--ink2); } 3% { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 22px -4px var(--accent); color: var(--ink); } 12% { border-color: var(--line); box-shadow: none; color: var(--ink2); } }
.beside .head { margin-bottom: clamp(36px, 5vw, 64px); }
@media (max-width: 760px) {
  .bs-strip { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
  .bs-wire { display: none; }
  .bs-words { padding: 0; justify-content: center; gap: 10px; }
  .bs-words li { font-size: 14.5px; padding: 11px 15px; }
}

/* ---------- 5. built with the trade */
.bt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bt-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 2.4vw, 36px); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.bt-card:hover { transform: translateY(-3px); border-color: var(--line2); }
.bt-card .init { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; font: 800 20px var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
.bt-card h3 { margin-bottom: 4px; font-size: clamp(21px, 1.7vw, 26px); }
.bt-card .role { font: 600 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.bt-card p:last-child { margin-bottom: 0; }
.bt-more { border-style: dashed; border-width: 1.5px; background: color-mix(in srgb, var(--card) 55%, transparent); box-shadow: none; }
.bt-more .plus { width: 64px; height: 64px; margin-bottom: 22px; }
.bt-more .plus svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.bt-more .plus circle, .bt-more .plus path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .bt-more:not(.in) .plus circle, .motion .bt-more:not(.in) .plus path { stroke-dashoffset: 1; }
.motion .bt-more .plus circle { transition: stroke-dashoffset 1.2s cubic-bezier(.6,0,.3,1) .3s; }
.motion .bt-more .plus path { transition: stroke-dashoffset .6s ease 1.1s; }
.bt-more .btn { margin-top: auto; align-self: flex-start; }
.bt-more p { margin-bottom: 22px; }
@media (max-width: 999px) { .bt-grid { grid-template-columns: 1fr; } }
.band ul.prodlinks { list-style: none; padding: 0; display: grid; gap: 10px; }
.band ul.prodlinks li { margin: 0; }
.band ul.prodlinks a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1px solid #2a352c; color: var(--night-ink); text-decoration: none; font: 600 16px var(--body); transition: border-color .25s, background .25s, transform .25s; }
.band ul.prodlinks a:hover { border-color: var(--pa-hi); background: rgba(255,255,255,.03); transform: translateX(3px); }
.band ul.prodlinks .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: color-mix(in srgb, var(--pa-hi) 16%, transparent); color: var(--pa-hi); flex: none; }
.band ul.prodlinks .arr { margin-left: auto; color: var(--pa-hi); }

/* ---------- the product page template */
.pp-hero { padding: calc(var(--nav) + 18px) 12px 12px; display: grid; grid-template-columns: minmax(360px, 33%) 1fr; gap: 12px; min-height: 100svh; }
.pp-hcopy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3.2vw, 52px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.pp-hcopy .over { color: var(--pa); }
.pp-hcopy .over::before { display: none; }
.pp-hcopy .over .ico { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--pa-soft); }
.pp-hcopy h1 { font-size: clamp(40px, 3.8vw, 66px); }
.pp-hcopy h1 em { color: var(--pa); }
.pp-note { margin: 24px 0 0; font: 500 11.5px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pp-hstage { position: relative; border-radius: var(--r); overflow: hidden; min-width: 0; background: radial-gradient(70% 60% at 45% 50%, #142019, #0a0f0c 62%, #070a08); border: 1px solid #1d261f; display: grid; place-items: center; padding: 6% 15% 9% 7%; isolation: isolate; }
.pp-hstage .tp-glow { inset: 10% 10% 0; }
.pp-hmac { width: 100%; max-width: 980px; }
.pp-hphone { position: absolute; z-index: 3; right: 5%; bottom: 7%; width: 19%; max-width: 230px; margin: 0; }
.pp-hcap { position: absolute; left: 18px; bottom: 14px; margin: 0; color: #9aa79c; background: rgba(10,14,11,.72); padding: 8px 12px; border-radius: 8px; }
.pp-hcap b { color: #e9efe8; }
@media (max-width: 999px) {
  .pp-hero { grid-template-columns: 1fr; padding: calc(var(--nav) + 10px) 8px 8px; gap: 8px; min-height: 0; }
  .pp-hcopy { padding: 26px 20px; }
  .pp-hcopy h1 { font-size: clamp(36px, 10vw, 50px); }
  .pp-hstage { padding: 28px 18% 54px 14px; }
  .pp-hphone { right: 4%; bottom: 46px; width: 30%; }
  .pp-hcap { left: 12px; bottom: 10px; right: 12px; }
}
.pp-scene { position: relative; }
.pp-stick { max-width: 1400px; margin: 0 auto; padding: clamp(80px, 10vw, 150px) var(--gut); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.pp-media { position: relative; min-width: 0; }
.pp-cap { text-align: center; }
.pp-bul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pp-bul li { position: relative; padding-left: 26px; color: var(--ink2); }
.pp-bul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--pa); transform: rotate(45deg) scale(.8); }
.product .split h2 em, .pp-scene h2 em, .pp-offer h2 em, .product .beside h2 em { color: var(--pa); }
.product .over { color: var(--pa); }
/* steps: the phone plays; each step lights while its part of the recording is on screen, its bar filling in time */
.cue-phone { width: min(100%, 340px, calc((100svh - var(--nav) - 120px) * .46)); }
.cue-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 6px; counter-reset: c; }
.cue-list li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 12px 14px 14px; border-radius: 14px; border: 1px solid transparent; transition: background .4s, border-color .4s, opacity .4s; opacity: .55; counter-increment: c; }
.cue-list li::before { content: counter(c, decimal-leading-zero); grid-row: span 2; font: 600 12px/2.1 var(--mono); color: var(--muted); }
.cue-list b { font: 700 17px/1.3 var(--display); font-stretch: 106%; font-variation-settings: "wdth" 106; }
.cue-list span { color: var(--ink2); font-size: 15.5px; }
.cue-list i { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--pa); transform-origin: 0 50%; transform: scaleX(0); }
.cue-list li.on { opacity: 1; background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.cue-list li.on::before { color: var(--pa); }
.motion .cue-list li.on i { animation: cue var(--d) linear forwards; }
@keyframes cue { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .cue-list li { opacity: 1; } }
/* chart: the app's chart, read day by day: a day line sweeps across with the scroll and the days to come wait under a veil */
.pp-chart { height: 260vh; }
.pp-chart .pp-stick { position: sticky; top: 0; height: 100svh; padding-top: calc(var(--nav) + 30px); padding-bottom: 30px; }
.chart-media { padding: 0 0 12% 0; }
.chart-card { position: relative; margin: 0; border-radius: 22px; padding: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow), 0 50px 90px -60px rgba(0,0,0,.5); overflow: hidden; }
.chart-card picture, .chart-card img { display: block; width: 100%; height: auto; border-radius: 12px; }
.chart-plot { position: relative; }
.chart-veil { position: absolute; top: calc(var(--top) * 100%); bottom: 0; right: 0; left: calc(100% * var(--x, 1)); background: linear-gradient(90deg, color-mix(in srgb, var(--card) 35%, transparent), color-mix(in srgb, var(--card) 88%, transparent) 26px); pointer-events: none; }
.chart-day { position: absolute; top: calc(var(--top) * 100% - 26px); bottom: 0; left: calc(100% * var(--x, 1)); width: 2px; margin-left: -1px; background: var(--pa); box-shadow: 0 0 10px var(--pa-glow); pointer-events: none; }
.chart-day b { position: absolute; top: 0; left: 8px; white-space: nowrap; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--pa); padding: 6px 8px; border-radius: 6px; }
.chart-card .cap { margin: 14px 2px 0; }
.chart-phone { position: absolute; right: -4%; bottom: 0; width: 26%; margin: 0; z-index: 2; }
.chart-phone .ph-body { border-radius: 30px; padding: 7px; } .chart-phone .ph-scr { border-radius: 24px; } .chart-phone .ph-island { top: 13px; height: 15px; }
.pp-chart:not(.sweeping) .chart-veil, .pp-chart:not(.sweeping) .chart-day { display: none; }
@media (max-width: 999px) {
  .pp-chart { height: auto; }
  .pp-chart .pp-stick { position: static; height: auto; }
  .chart-media { padding: 0 0 26% 0; }
  .chart-phone { width: 36%; right: 0; }
  .chart-card { padding: 12px; }
}
@media (max-width: 999px) { .pp-stick { grid-template-columns: 1fr; padding-top: clamp(64px, 14vw, 100px); padding-bottom: clamp(40px, 10vw, 70px); } }
/* the split scenes reuse the electrical page's .split; the phone frames take the scene's motion */
.pp-split .phone { width: min(100%, 330px, calc((100svh - var(--nav) - 110px) * .46)); }
/* pricing, apps and the way in */
.of-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.of-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 2.4vw, 36px); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.of-card:last-child { border-color: color-mix(in srgb, var(--pa) 45%, var(--line)); background: linear-gradient(180deg, var(--pa-soft), transparent 70%), var(--card); }
.of-k { font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pa); margin-bottom: 14px; }
.of-card h3 { font-size: clamp(22px, 1.9vw, 30px); margin-bottom: 12px; }
.of-card p { color: var(--ink2); }
.of-card ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.of-card li { position: relative; padding-left: 24px; }
.of-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 6px; border: solid var(--pa); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.of-card .row { margin-top: auto; }
.pp-more { margin: clamp(40px, 5vw, 64px) auto 0; text-align: center; font-size: clamp(18px, 1.4vw, 21px); color: var(--muted); max-width: none; }
.pp-more a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 999px) { .of-grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion: every end state at rest */
@media (prefers-reduced-motion: reduce) {
  .mac-lid, .mac-scr video { transform: none !important; opacity: 1 !important; filter: none !important; }
  .cs-node { opacity: 1 !important; filter: none !important; transform: none !important; }
  .sh-slide { transition: none; }
}
.cs-wires .w.pulse.lit { stroke: #f4fff7; filter: drop-shadow(0 0 6px var(--wire, #3DFF88)) drop-shadow(0 0 2px var(--wire, #3DFF88)); }

/* ---------- round 1 rebuild: panels get a ghost numeral, a lit floor under the devices, and a jump row in the head */
.tp-copy { position: relative; isolation: isolate; }
.tp-num { position: absolute; z-index: -1; top: -.42em; left: -.06em; font: 900 clamp(150px, 15vw, 260px)/1 var(--display); font-stretch: 120%; font-variation-settings: "wdth" 120; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--pa) 24%, transparent); pointer-events: none; user-select: none; }
.tp-stage { isolation: isolate; }
.tp-stage::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -4%; height: 46%; z-index: -1; transform: perspective(600px) rotateX(66deg); transform-origin: 50% 100%; background-image: linear-gradient(color-mix(in srgb, var(--pa) 22%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--pa) 22%, transparent) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(55% 75% at 50% 75%, #000 25%, transparent 72%); mask-image: radial-gradient(55% 75% at 50% 75%, #000 25%, transparent 72%); pointer-events: none; }
.tp-glow { opacity: 1; filter: blur(4px); }
.tp-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tp-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font: 600 14.5px var(--body); transition: border-color .25s, transform .25s; }
.tp-jump a:hover { border-color: var(--pa); transform: translateY(-1px); }
.tp-jump .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--pa-soft); color: var(--pa); }
@media (max-width: 999px) { .tp-num { font-size: 130px; top: -.3em; } .tp-jump a { font-size: 14px; } }

/* ---------- round 1 rebuild: the shared record: larger phones, a chip per beat, the rail beside the phones, a bigger seal */
.sh-steps li { opacity: .62; }
.sh-steps li:not(.on) h3 em { color: var(--ink2); }
.sh-stage .sh-phone { width: min(34%, 330px, calc((100svh - var(--nav) - 190px) * .46)); }
.sh-rail { left: 9%; }
.sh-slide { inset: 0 0 0 calc(9% + 40px); }
.sh-rail .seal { width: 140px; }
.sh-rail .seal svg { width: 58px; height: 58px; }
.sh-chip { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(61,255,136,.08); border: 1px solid rgba(61,255,136,.3); color: #e9efe8; font: 600 13px var(--body); white-space: nowrap; }
.sh-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DFF88; box-shadow: 0 0 10px #3DFF88; }
.motion .sh-slide.on .sh-chip { animation: chip .7s .25s cubic-bezier(.2,.8,.2,1) both; }
@keyframes chip { from { opacity: 0; transform: translate(-50%, -10px); } }
@media (max-width: 999px) { .sh-chip { display: none; } }

/* ---------- round 1 rebuild: works beside on a night panel; the record runs out along the wire in each product's colour */
.bs-panel { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(36px, 5vw, 70px) clamp(22px, 4vw, 60px); border-radius: 26px; background: radial-gradient(70% 90% at 20% 50%, #142019, #0a0f0c 60%, #070a08); border: 1px solid #1d261f; overflow: hidden; }
.bs-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(61,255,136,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(61,255,136,.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.bs-panel .bs-core { background: #121a15; border-color: rgba(61,255,136,.35); box-shadow: 0 0 40px -8px rgba(61,255,136,.45); }
.bs-panel .on-dark { display: block; } .bs-panel .on-light { display: none; }
.bs-panel .bs-wire path { stroke: rgba(233,239,232,.16); }
.bs-panel .bs-wire .p1 { stroke: #E9B65E; filter: drop-shadow(0 0 5px #E9B65E); }
.bs-panel .bs-wire .p2 { stroke: #3DFF88; filter: drop-shadow(0 0 5px #3DFF88); }
.bs-panel .bs-wire .p3 { stroke: #7FB2F5; filter: drop-shadow(0 0 5px #7FB2F5); }
.motion .bs-strip.on .bs-wire .p2 { animation-delay: 2s; } .motion .bs-strip.on .bs-wire .p3 { animation-delay: 4s; }
.bs-panel .bs-words li { background: rgba(255,255,255,.04); border-color: rgba(233,239,232,.14); color: #cfd8ce; }
.bs-out { position: relative; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin: 34px 0 0; padding: 0; list-style: none; color: #9aa79c; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.bs-out li::before { content: "\2192\00a0"; color: #3DFF88; }
@keyframes bsword { 0%, 100% { border-color: rgba(233,239,232,.14); box-shadow: none; color: #cfd8ce; } 3% { border-color: #3DFF88; box-shadow: 0 0 0 4px rgba(61,255,136,.12), 0 0 26px -4px #3DFF88; color: #fff; } 12% { border-color: rgba(233,239,232,.14); box-shadow: none; color: #cfd8ce; } }

/* ---------- round 1 rebuild: built with the trade: initials in a ring that draws itself; cards rise in a stagger */
.bt-card .init { position: relative; background: var(--accent-soft); box-shadow: none; }
.bt-card .init svg { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); fill: none; stroke: var(--accent); stroke-width: 2; }
.bt-card .init circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .bt-card:not(.in) .init circle { stroke-dashoffset: 1; }
.motion .bt-card .init circle { transition: stroke-dashoffset 1.4s cubic-bezier(.6,0,.3,1) .35s; }
.motion .bt-card[data-rv]:not(.in) { transform: translateY(40px) rotateX(8deg); }
.bt-grid { perspective: 1400px; }

/* ---------- round 1 rebuild: template split scenes stand on a stage; the laptop scene goes wide under its copy */
.pp-box { position: relative; border-radius: 26px; padding: clamp(26px, 4vw, 54px); background: radial-gradient(60% 70% at 50% 45%, #142019, #0a0f0c 62%, #070a08); border: 1px solid #1d261f; overflow: hidden; isolation: isolate; }
.pp-box::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -6%; height: 50%; z-index: -1; transform: perspective(600px) rotateX(66deg); transform-origin: 50% 100%; background-image: linear-gradient(color-mix(in srgb, var(--pa-hi) 20%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--pa-hi) 20%, transparent) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(55% 75% at 50% 75%, #000 25%, transparent 72%); mask-image: radial-gradient(55% 75% at 50% 75%, #000 25%, transparent 72%); }
.pp-box .tp-glow { inset: 5%; z-index: -1; }
.pp-box .cap { color: #9aa79c; } .pp-box .cap b { color: #e9efe8; }
.pp-wide .head { max-width: 860px; }
.pp-wide .pp-box { padding: clamp(28px, 5vw, 80px) clamp(22px, 8vw, 140px) clamp(40px, 5vw, 70px); }
.pp-chart .pp-stick { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (max-width: 999px) { .pp-chart .pp-stick { grid-template-columns: 1fr; } }
.tp { overflow-x: clip; }
.motion .cs.focus .cs-node.cur { transform: scale(1.1); }
.bs-words { gap: 8px; }
.bs-words li { padding: 11px 15px; font-size: 14.5px; }
@media (max-width: 999px) { .chart-phone { display: none; } .chart-media { padding: 0; } }

/* ---------- round 2 rebuild */
/* hero: a compact "more trades" link card; the core a little wider so its rows breathe */
.cs-more { text-decoration: none; }
.cs-more:hover { border-color: #3DFF88; }
@media (min-width: 1000px) { .cs-stage .cs-more { aspect-ratio: auto; bottom: 5%; width: min(17%, 230px); padding: 18px 16px; gap: 8px; } .cs-core { width: min(30%, 340px); } }
/* panels: the numeral sits back, top right of the copy, softer */
.tp-num { left: auto; right: 0; top: -.5em; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--pa) 18%, transparent); }
.tp.flip .tp-cap { text-align: right; }
/* the shared record on a phone: every beat at full strength */
@media (max-width: 999px) { .sh-steps li { opacity: 1; } .sh-steps li h3 em { color: var(--accent) !important; } }
/* template stages: a chip naming the moment, like the shared record's */
.pp-box .sh-chip { top: 18px; z-index: 3; }
.pp-split .pp-box { padding-top: 64px; }
/* bands: their lists as ticks */
.band ul:not(.prodlinks) { list-style: none; padding: 0; display: grid; gap: 12px; }
.band ul:not(.prodlinks) li { position: relative; padding-left: 30px; margin: 0; }
.band ul:not(.prodlinks) li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--accent-hi); }
.band ul:not(.prodlinks) li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 8px; border: solid var(--accent-hi); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- stage 1b: works beside, the core handing the field record to the tools a company already runs */
.bs2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.bs2-copy h2 em { color: var(--accent); }
.product .bs2-copy h2 em { color: var(--pa); }
.bs2-out { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.bs2-out li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.bs2-out li span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); padding: 6px; }
.bs2-stage { position: relative; aspect-ratio: 1; width: min(100%, 640px); justify-self: center; border-radius: 50%; isolation: isolate; }
.bs2-stage::before { content: ""; position: absolute; inset: -4%; border-radius: 32px; z-index: -2; background: radial-gradient(closest-side, #14211a 0%, #0b100d 68%, transparent 100%); }
.bs2-rings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.bs2-rings circle { fill: none; stroke: rgba(61,255,136,.14); stroke-width: 1.2; stroke-dasharray: 3 9; transform-origin: 500px 500px; }
.motion .bs2-stage.on .bs2-rings circle { animation: ringspin 60s linear infinite; }
.motion .bs2-stage.on .bs2-rings circle:nth-child(2) { animation-duration: 90s; animation-direction: reverse; }
.motion .bs2-stage.on .bs2-rings circle:nth-child(3) { animation-duration: 140s; }
@keyframes ringspin { to { transform: rotate(360deg); } }
.bs2-net { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bs2-net path { fill: none; stroke: rgba(233,239,232,.16); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.bs2-net .pk { fill: #3DFF88; filter: drop-shadow(0 0 6px #3DFF88); opacity: 0; }
.bs2-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 31%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; background: radial-gradient(circle at 50% 35%, #1b2a20, #0d140f 70%); border: 1px solid rgba(61,255,136,.4); box-shadow: 0 0 0 10px rgba(61,255,136,.05), 0 0 70px -10px rgba(61,255,136,.5), 0 30px 60px -30px #000; color: #e9efe8; }
.bs2-core img { width: 40px; height: 40px; margin-bottom: 6px; }
.bs2-stage .on-dark { display: block; } .bs2-stage .on-light { display: none; }
.bs2-core b { font: 750 clamp(14px, 1.3vw, 18px)/1.15 var(--display); font-stretch: 108%; font-variation-settings: "wdth" 108; }
.bs2-core i { font: 600 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #3DFF88; font-style: normal; }
.motion .bs2-stage.on .bs2-core { animation: corebeat calc(var(--T) / var(--n)) ease-out infinite; }
@keyframes corebeat { 0% { box-shadow: 0 0 0 10px rgba(61,255,136,.05), 0 0 70px -10px rgba(61,255,136,.5), 0 30px 60px -30px #000; } 30% { box-shadow: 0 0 0 16px rgba(61,255,136,.09), 0 0 90px -6px rgba(61,255,136,.65), 0 30px 60px -30px #000; } 100% { box-shadow: 0 0 0 10px rgba(61,255,136,.05), 0 0 70px -10px rgba(61,255,136,.5), 0 30px 60px -30px #000; } }
.bs2-tools { list-style: none; margin: 0; padding: 0; }
.bs2-tools li { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 14px; white-space: nowrap; font: 600 14px var(--body); color: #dfe7de; background: linear-gradient(180deg, rgba(30,40,33,.92), rgba(16,22,18,.92)); border: 1px solid rgba(233,239,232,.14); box-shadow: 0 18px 40px -22px #000, inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.bs2-tools .ico { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: rgba(61,255,136,.1); color: #3DFF88; flex: none; }
.motion .bs2-stage.on .bs2-tools li { animation: toolin var(--T) linear infinite; animation-delay: calc(var(--k) * var(--T) / var(--n) + var(--T) * .4); }
@keyframes toolin { 0%, 100% { border-color: rgba(233,239,232,.14); box-shadow: 0 18px 40px -22px #000, inset 0 1px 0 rgba(255,255,255,.06); } 2% { border-color: #3DFF88; box-shadow: 0 0 0 4px rgba(61,255,136,.12), 0 0 30px -4px rgba(61,255,136,.7), 0 18px 40px -22px #000; } 14% { border-color: rgba(233,239,232,.14); box-shadow: 0 18px 40px -22px #000, inset 0 1px 0 rgba(255,255,255,.06); } }
@media (max-width: 999px) {
  .bs2 { grid-template-columns: 1fr; }
  .bs2-stage { aspect-ratio: auto; width: 100%; border-radius: 26px; padding: 26px 16px 22px; background: radial-gradient(80% 60% at 50% 20%, #14211a, #0a0f0c 70%); }
  .bs2-stage::before, .bs2-net, .bs2-rings { display: none; }
  .bs2-core { position: relative; left: auto; top: auto; transform: none; width: 150px; margin: 0 auto 22px; }
  .bs2-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bs2-tools li { position: relative; left: auto !important; top: auto !important; transform: none; white-space: normal; font-size: 13.5px; }
}

/* ---------- stage 1b: built with the trade, on a night plate: crew badges that swing in on their clips */
.bt2 { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: 28px; background: radial-gradient(70% 90% at 80% 30%, #1a2419, #0b100d 62%, #080b09); border: 1px solid #1d261f; color: #e9efe8; overflow: hidden; isolation: isolate; }
.bt2::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(61,255,136,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(61,255,136,.045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 90% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 70% 40%, #000, transparent 75%); }
.bt2 .over { color: #3DFF88; }
.bt2 h2 { color: #f2f6f1; }
.bt2 .lead { color: #c9d3c8; }
.bt2-way { list-style: none; margin: 30px 0 0; padding: 0; display: grid; counter-reset: w; }
.bt2-way li { position: relative; display: grid; gap: 4px; padding: 16px 0 16px 56px; border-top: 1px solid rgba(233,239,232,.1); counter-increment: w; }
.bt2-way li::before { content: counter(w, decimal-leading-zero); position: absolute; left: 0; top: 15px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(61,255,136,.4); color: #3DFF88; font: 600 12px var(--mono); }
.bt2-way b { font: 700 18px/1.25 var(--display); font-stretch: 106%; font-variation-settings: "wdth" 106; color: #f2f6f1; }
.bt2-way span { color: #aab6a9; font-size: 15.5px; line-height: 1.5; }
.bt2-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; perspective: 1200px; padding-top: 28px; }
.bg-badge { position: relative; padding: 46px 22px 24px; border-radius: 22px; background: linear-gradient(180deg, #f6f5f0, #e7e5de); color: #121412; text-align: center; box-shadow: 0 40px 70px -36px rgba(0,0,0,.9), inset 0 1px 0 #fff; transform-origin: 50% -26px; }
.bg-badge:nth-child(2) { margin-top: 48px; }
.bg-clip { position: absolute; left: 50%; top: -26px; width: 2px; height: 34px; transform: translateX(-50%); background: linear-gradient(#6b726b, #3a3f3b); }
.bg-clip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 44px; height: 14px; transform: translateX(-50%); border-radius: 7px; background: linear-gradient(180deg, #c9ccc8, #8d918d); box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.bg-badge::before { content: ""; position: absolute; left: 50%; top: 14px; width: 36px; height: 7px; transform: translateX(-50%); border-radius: 4px; background: #cfccc3; box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.bg-init { position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin: 6px auto 16px; border-radius: 50%; font: 800 28px var(--display); font-stretch: 114%; font-variation-settings: "wdth" 114; color: #087A3F; background: radial-gradient(circle at 40% 30%, #e9f6ee, #d2ead9); }
.bg-init svg { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); fill: none; stroke: #087A3F; stroke-width: 2.4; }
.bg-init circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.bg-badge h3 { margin: 0 0 4px; font-size: 21px; color: #121412; }
.bg-role { margin: 0 0 12px; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #5c615b; }
.bg-trade { display: inline-block; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: #121412; color: #f2f6f1; font: 600 12.5px var(--body); }
.bg-line { margin: 0; font-size: 14.5px; line-height: 1.5; color: #2b2f2b; }
.motion .bg-badge { transition: transform 1.6s cubic-bezier(.3,1.6,.4,1), opacity .6s; transition-delay: calc(var(--k) * .18s); }
.motion .bg-badge:not(.in) { transform: rotate(calc(-9deg + var(--k) * 16deg)); opacity: 0; }
.motion .bg-badge:not(.in) .bg-init circle { stroke-dashoffset: 1; }
.motion .bg-badge .bg-init circle { transition: stroke-dashoffset 1.3s cubic-bezier(.6,0,.3,1) .7s; }
.bt2-more { margin-top: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: 22px clamp(22px, 3vw, 36px); border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bt2-more p { margin: 0; color: var(--ink2); max-width: 46em; }
.bt2-more p b { color: var(--ink); }
.bt2-slots { display: flex; gap: 8px; }
.bt2-slots .slot { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; }
.bt2-slots .slot.lit { padding: 9px; background: var(--pa-soft); color: var(--pa); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pa) 35%, transparent); }
.bt2-slots .slot.open { border: 1.5px dashed var(--line2); color: var(--faint); font: 700 16px var(--display); }
.motion .bt2-more.in .slot.open { animation: slotpulse 3.6s ease-in-out infinite; animation-delay: calc(var(--k) * .6s); }
@keyframes slotpulse { 0%, 100% { border-color: var(--line2); color: var(--faint); } 40% { border-color: var(--accent); color: var(--accent); } }
@media (max-width: 999px) {
  .bt2 { grid-template-columns: 1fr; padding: 30px 20px; }
  .bt2-badges { padding-top: 20px; gap: 12px; }
  .bg-badge { padding: 40px 14px 20px; }
  .bg-badge:nth-child(2) { margin-top: 30px; }
  .bg-init { width: 70px; height: 70px; font-size: 22px; }
  .bt2-more { grid-template-columns: 1fr; }
}

/* ---------- stage 1b: the close: the way to talk to us beside the three products, each clip in turn */
.cl { position: relative; margin: 0 12px; padding: clamp(36px, 5.5vw, 90px); border-radius: 28px; background: radial-gradient(60% 80% at 85% 40%, #172318, #0b100d 60%, #070a08); color: var(--night-ink); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; overflow: hidden; isolation: isolate; }
.cl::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(61,255,136,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(61,255,136,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 80%); mask-image: linear-gradient(90deg, #000 20%, transparent 80%); }
.cl .over { color: #3DFF88; }
.cl h2 { color: #f2f6f1; font-size: clamp(38px, 4.6vw, 76px); }
.cl h2 em { color: #3DFF88; }
.cl .lead { color: #c9d3c8; }
.cl .btn { border-color: #3a453c; color: var(--night-ink); }
.cl .btn.solid { background: #3DFF88; border-color: #3DFF88; color: #0C100D; }
.cl .btn.solid .dot { background: #0C100D; }
.cl-doors { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cl-door { position: relative; display: grid; grid-template-columns: 148px minmax(0, 1fr) 28px; gap: 18px; align-items: center; padding: 10px 18px 10px 10px; border-radius: 18px; text-decoration: none; color: #e9efe8; background: rgba(255,255,255,.03); border: 1px solid rgba(233,239,232,.1); overflow: hidden; transition: border-color .3s, background .3s, transform .3s; }
.cl-door:hover, .cl-door:focus-visible, .cl-door.on { border-color: color-mix(in srgb, var(--pa-hi) 60%, transparent); background: rgba(255,255,255,.055); }
.cl-door:hover { transform: translateX(4px); }
.cl-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 11px; overflow: hidden; background: #0c100d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.cl-thumb video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; filter: saturate(.6) brightness(.7); transition: filter .4s; }
.cl-door.on .cl-thumb video { filter: none; }
.cl-txt { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.cl-txt .ico { grid-row: span 2; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: color-mix(in srgb, var(--pa-hi) 16%, transparent); color: var(--pa-hi); }
.cl-txt b { font: 700 17px/1.2 var(--display); font-stretch: 106%; font-variation-settings: "wdth" 106; }
.cl-txt i { font: 400 14px/1.35 var(--body); font-style: normal; color: #aab6a9; }
.cl-door .arr { color: var(--pa-hi); font-size: 20px; transition: transform .25s; }
.cl-door:hover .arr, .cl-door.on .arr { transform: translateX(4px); }
.cl-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--pa-hi); transform-origin: 0 50%; transform: scaleX(0); }
.motion .cl-door.on .cl-bar { animation: clbar var(--dur, 5s) linear forwards; }
@keyframes clbar { to { transform: scaleX(1); } }
@media (max-width: 999px) {
  .cl { grid-template-columns: 1fr; margin: 0 8px; padding: 30px 18px; }
  .cl-door { grid-template-columns: 96px minmax(0, 1fr) 20px; gap: 12px; padding: 8px 12px 8px 8px; }
  .cl-txt { grid-template-columns: 1fr; } .cl-txt .ico { display: none; }
  .cl-txt b { font-size: 15.5px; } .cl-txt i { font-size: 13px; }
}
.ddprod:not(.wide) { width: min(600px, calc(100vw - 48px)); }
.panelmenu .pgroup a { font-size: 17px; padding: 7px 2px; }
.panelmenu .pgroup .ico { width: 30px; height: 30px; padding: 7px; }
.ddview { align-self: start; }
.bs2-stage::before { inset: 1%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #18261d 0%, #0c120e 58%, #080b09 100%); border: 1px solid rgba(61,255,136,.22); box-shadow: 0 0 0 10px rgba(61,255,136,.035), 0 60px 110px -50px rgba(0,0,0,.65); }
@media (max-width: 999px) { .bs2-stage::before { display: none; } }
.bg-trade { white-space: nowrap; font-size: 12px; }
@media (max-width: 560px) { .bg-line { font-size: 13px; } .bg-trade { font-size: 11px; padding: 5px 9px; } .bg-badge h3 { font-size: 18px; } }
.cl-thumb video { transition: filter .4s, transform .8s cubic-bezier(.2,.8,.2,1); }
.cl-door.on .cl-thumb video { transform: scale(1.06); }
.nav ul .ddprod .dditem:focus-visible { outline: 2px solid var(--pa); outline-offset: -2px; }
.cl { border: 1px solid #1d261f; box-shadow: 0 50px 100px -60px rgba(0,0,0,.6); }
.cl::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(61,255,136,.10), transparent); pointer-events: none; }

/* performance (round 3 review: product pages lagged on a real GPU). The full-screen grain overlay was a fixed layer
   twice the viewport with a blend mode, re-composited on every scrolled frame: gone (no grain, per the 3D checklist).
   The section tint keeps its colours without a filter or blend mode on fixed full-screen layers. */
body::after { content: none !important; }
.amb-tint i { filter: none !important; mix-blend-mode: normal !important; will-change: opacity; }
:root[data-theme="dark"] .amb-tint { opacity: .42; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .amb-tint { opacity: .42; } }
/* soft gradients need no blur filter (it re-rasterised on every frame the scroll-driven devices moved) */
.tp-glow, .mac-light, .ph-shadow { filter: none !important; }
.bs2-tools li, .sh-led li, .dlx, .float, .cs-core { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
