/*
 * Six parts, one system (Home E, pass 3, 16 Nov 2026). See includes/sections/hx-system.php.
 * Default = the stacked layout (phones, tablets, reduced motion, no JS): every chapter shows its title, its
 * line and the FINISHED state of its visual. .is-pin (set by hx-six.js on wide screens with motion) turns the
 * right column into one pinned stage where the six scenes play in turn.
 */
.hx-six { position: relative; padding: 140px 0 120px; }
.hx-six__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 4.6vw, 76px); align-items: start; }
.hx-six__side .hx-lede { max-width: 420px; }
.hx-six__list { margin: 40px 0 0; padding: 0; list-style: none; }
.hx-six__li { position: relative; border-top: 1px solid var(--x-line); }
.hx-six__li:last-child { border-bottom: 1px solid var(--x-line); }
.hx-six__li button { display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 15px 0 16px; border: 0; background: none; text-align: left; cursor: pointer; color: #5F5E5A; font: 600 clamp(20px, 1.75vw, 26px)/1.1 var(--x-d); letter-spacing: -.02em; transition: color .45s; }
.hx-six__n { min-width: 28px; font: 600 13px/1 var(--x-d); letter-spacing: .06em; color: #4C4B48; transition: color .45s; }
.hx-six__li.is-done button { color: #8F8D87; }
.hx-six__li.is-on button { color: var(--x-white); }
.hx-six__li.is-on .hx-six__n { color: var(--x-acc); }
.hx-six__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.hx-six__bar b { display: block; height: 100%; background: var(--x-acc); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hx-six__li:not(.is-on) .hx-six__bar b { transform: scaleX(0); }
.hx-six__cap { display: none; }

/* stacked chapters (default) */
.hx-six__stage { display: grid; gap: 22px; }
.six-scene { position: relative; border-radius: 28px; background: radial-gradient(90% 70% at 60% 40%, #17171A 0%, #0B0B0C 70%); box-shadow: inset 0 0 0 1px var(--x-line); overflow: hidden; }
.six-scene__h { position: relative; z-index: 5; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 26px 28px 0; }
.six-scene__h span { grid-row: span 2; font: 600 13px/1.8 var(--x-d); color: var(--x-acc); }
.six-scene__h h3 { margin: 0; font: 600 24px/1.15 var(--x-d); letter-spacing: -.02em; color: var(--x-white); }
.six-scene__h p { margin: 0; max-width: 460px; font-size: 14.5px; line-height: 1.5; color: var(--x-grey); }
.six-vis { position: relative; height: 440px; overflow: hidden; }

/* pinned stage (desktop with motion) */
.hx-six.is-pin { padding: 0; }
.hx-six.is-pin .hx-six__pin { height: 100vh; display: flex; align-items: center; padding-top: calc(var(--x-head) - 6px); }
.hx-six.is-pin .hx-six__grid { align-items: center; }
.hx-six.is-pin .hx-six__stage { position: relative; display: block; height: min(640px, calc(100vh - var(--x-head) - 70px)); border-radius: 32px; background: radial-gradient(80% 70% at 60% 45%, #19191C 0%, #0A0A0B 72%); box-shadow: inset 0 0 0 1px var(--x-line), 0 50px 100px -50px rgba(0, 0, 0, .9); overflow: hidden; isolation: isolate; }
.hx-six.is-pin .six-scene { position: absolute; inset: 0; border-radius: 0; background: none; box-shadow: none; opacity: 0; visibility: hidden; }
.hx-six.is-pin .six-scene.is-vis { visibility: visible; }
.hx-six.is-pin .six-scene__h { display: none; }
.hx-six.is-pin .six-vis { position: absolute; inset: 0; height: auto; }
.hx-six.is-pin .hx-six__cap { position: absolute; z-index: 20; left: 28px; top: 24px; right: 28px; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; pointer-events: none; }
.hx-six__cap span { grid-row: span 2; font: 600 13px/1.6 var(--x-d); color: var(--x-acc); }
.hx-six__cap b { font: 600 19px/1.2 var(--x-d); letter-spacing: -.015em; color: var(--x-white); }
.hx-six__cap em { max-width: 440px; font-style: normal; font-size: 13.5px; line-height: 1.45; color: var(--x-grey); }

/* ---------- 01 paid media: the board ---------- */
.six-iso { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 20%; }
.six-board { position: absolute; left: 50%; top: 56%; width: 540px; height: 420px; margin: -210px 0 0 -270px; transform-style: preserve-3d; transform: rotateX(54deg) rotateZ(-28deg) scale(1); border-radius: 30px; background-color: rgba(255, 255, 255, .015); background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 30px 30px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.six-board > * { position: absolute; }
.six-wires { inset: 0; width: 100%; height: 100%; overflow: visible; }
.six-wires .w { fill: none; stroke: rgba(241, 240, 236, .28); stroke-width: 1.6; stroke-dasharray: 5 6; }
.six-wires .w.hot { stroke: var(--x-acc); stroke-width: 2.2; }
.six-zone { font: 600 10.5px/1 var(--x-d); letter-spacing: .18em; text-transform: uppercase; color: #6E6D69; transform: translateZ(2px); }
.six-chip { padding: 9px 12px; border-radius: 10px; background: #18181B; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), -8px 14px 18px rgba(0, 0, 0, .55); font: 500 12.5px/1 var(--x-d); color: #D9D7D1; white-space: nowrap; transform: translateZ(16px); }
.six-chip--a { color: #BDBBB5; }
.six-ch { display: grid; gap: 4px; width: 100px; padding: 14px 14px 12px; border-radius: 14px; background: linear-gradient(160deg, #26262B, #17171A); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), -14px 26px 30px rgba(0, 0, 0, .7); transform: translateZ(44px); }
.six-ch b { font: 700 16px/1 var(--x-d); color: #fff; }
.six-ch small { font-size: 10.5px; color: #9A9893; }
.six-ch.is-lit { box-shadow: inset 0 0 0 1.5px var(--x-acc), -14px 26px 30px rgba(0, 0, 0, .7), 0 0 30px rgba(var(--x-acc-rgb), .25); }
.six-budget { display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; align-items: center; width: 240px; padding: 10px 12px; border-radius: 10px; background: #141416; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), -6px 10px 14px rgba(0, 0, 0, .5); transform: translateZ(10px); }
.six-budget small { grid-row: span 2; font-size: 10.5px; color: #8A8A86; }
.six-budget i { display: block; height: 7px; border-radius: 4px; }
.six-budget .g { width: var(--g, 66%); background: var(--x-acc); }
.six-budget .m { width: var(--m, 34%); background: #6E6D69; }
.six-conv { display: grid; place-items: center; gap: 8px; width: 80px; height: 80px; border-radius: 18px; background: #1D1D21; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), -16px 30px 34px rgba(0, 0, 0, .75); transform: translateZ(56px); transition: background-color .4s; }
.six-conv i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #fff; }
.six-conv b { font: 700 12px/1 var(--x-d); color: #fff; }
.six-conv.is-lit { background: var(--x-acc); }
.six-conv.is-lit b { color: #0A0A0A; }
.six-conv.is-lit i { box-shadow: inset 0 0 0 7px #0A0A0A; }
.six-dot { left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--x-acc); box-shadow: 0 0 16px 4px rgba(var(--x-acc-rgb), .6); offset-path: path('M150 245 C 220 245, 220 290, 290 290 L 390 292 C 440 292, 440 215, 470 212'); offset-distance: 100%; offset-rotate: 0deg; transform: translateZ(30px); }
.six-toast { position: absolute; right: 30px; bottom: 34px; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 16px; background: rgba(250, 249, 246, .97); color: #141414; font: 600 13.5px/1 var(--x-d); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .9); }
.six-toast i { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }

/* ---------- 02 creative: the Creative Testing Lab ----------
   Every card is a container, so the type, product and offer are sized in cqw and REFLOW per placement
   (9:16, 4:5, 1:1, three hooks) instead of one picture cropped three ways. Default = a swipe row of the
   finished set (phones, reduced motion); .is-pin places the cards in one 3D space for the timeline. */
@font-face { font-family: 'HX Cond'; src: url('../fonts/archivo-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
.six-lab { display: flex; gap: 18px; height: 100%; padding: 50px 28px 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.six-lab::-webkit-scrollbar { display: none; }
.lab-cr { position: relative; flex: 0 0 auto; margin: 0; scroll-snap-align: center; }
.lab-916 { width: 190px; }
.lab-45 { width: 240px; }
.lab-11 { width: 240px; }
.lab-card { position: relative; overflow: hidden; border-radius: 14px; container-type: inline-size; transform-style: preserve-3d; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06); font-family: 'Instrument Sans', Arial, sans-serif; color: #fff; }
.lab-916 .lab-card { aspect-ratio: 9 / 16; }
.lab-45 .lab-card { aspect-ratio: 4 / 5; }
.lab-11 .lab-card { aspect-ratio: 1; }
.lab-ly { position: absolute; inset: 0; display: block; }
.lab-ly--bg { background: radial-gradient(120% 70% at 62% 78%, #3F5CFF 0%, #2343FF 42%, #1531D6 100%); }
.lab-ly--bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 38%); }
.lab-logo { position: absolute; left: 7cqw; top: 6cqw; font: 700 7.4cqw/1 'Instrument Sans', Arial, sans-serif; letter-spacing: -.04em; }
.lab-h { position: absolute; left: 7cqw; right: 7cqw; top: 17cqw; font: 800 14.2cqw/.88 'HX Cond', 'Archivo', Arial, sans-serif; font-stretch: 72%; letter-spacing: -.035em; text-transform: none; }
.lab-sub { position: absolute; display: block; font: 500 4.6cqw/1.3 'Instrument Sans', Arial, sans-serif; }
.lab-prod { position: absolute; left: 6cqw; bottom: 19cqw; width: 60cqw; aspect-ratio: 517 / 900; filter: drop-shadow(-2cqw 4cqw 4cqw rgba(0, 10, 60, .45)); }
.lab-prod img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-label { position: absolute; left: 27%; top: 36%; width: 51%; height: 20%; display: grid; place-content: center; text-align: center; color: #1B1712; font-style: normal; }
.lab-label b { font: 700 calc(var(--pw, 60) * .11cqw)/1 'Instrument Sans', Arial, sans-serif; letter-spacing: -.04em; }
.lab-label small { display: block; margin-top: .4em; font: 600 calc(var(--pw, 60) * .033cqw)/1 'Instrument Sans', Arial, sans-serif; letter-spacing: .2em; }
.lab-stk { position: absolute; right: 6cqw; top: 96cqw; width: 30cqw; height: 30cqw; border-radius: 50%; background: #FFA8DC; color: #1A0F4D; display: grid; place-items: center; text-align: center; padding: 3cqw; font: 800 5.4cqw/.95 'HX Cond', Arial, sans-serif; font-stretch: 76%; font-style: normal; text-transform: uppercase; transform: rotate(-12deg); }
.lab-pill { position: absolute; left: 7cqw; right: 7cqw; bottom: 7cqw; height: 12.5cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 5cqw 0 6cqw; border-radius: 10cqw; background: #fff; color: #1B35E0; font: 600 4.8cqw/1 'Instrument Sans', Arial, sans-serif; font-style: normal; white-space: nowrap; }
.lab-pill svg { width: 5cqw; height: 5cqw; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* 4:5 feed: headline left, product right, offer top right, CTA bottom left */
.lab-45 .lab-logo { left: 6cqw; top: 6cqw; font-size: 5.6cqw; }
.lab-45 .lab-h { left: 6cqw; right: 40cqw; top: 15cqw; font-size: 10.4cqw; }
.lab-45 .lab-prod { left: auto; right: 4cqw; bottom: 3cqw; width: 42cqw; --pw: 42; }
.lab-45 .lab-stk { right: auto; left: 6cqw; top: 62cqw; width: 21cqw; height: 21cqw; font-size: 4cqw; }
.lab-45 .lab-pill { left: 6cqw; right: auto; bottom: 6cqw; width: 46cqw; height: 10cqw; padding: 0 3.6cqw 0 4.4cqw; font-size: 3.7cqw; }
.lab-45 .lab-pill svg { width: 3.8cqw; height: 3.8cqw; }
/* 1:1 square: product left, words right */
.lab-11 .lab-logo { left: 6cqw; top: 6cqw; font-size: 5.6cqw; }
.lab-11 .lab-prod { left: 3cqw; bottom: -6cqw; width: 44cqw; --pw: 44; }
.lab-11 .lab-h { left: 52cqw; right: 6cqw; top: 15cqw; font-size: 9.4cqw; }
.lab-11 .lab-sub { left: 52cqw; right: 6cqw; top: 58cqw; font-size: 4.2cqw; color: #FFA8DC; font-weight: 600; }
.lab-11 .lab-pill { left: 52cqw; right: 6cqw; bottom: 8cqw; height: 10cqw; padding: 0 3.6cqw 0 4.4cqw; font-size: 3.8cqw; }
.lab-11 .lab-pill svg { width: 3.8cqw; height: 3.8cqw; }
/* Hook A (problem): darker, the question leads, product smaller */
.lab-hA .lab-ly--bg { background: radial-gradient(120% 70% at 70% 85%, #2A3FD6 0%, #15238F 50%, #0B1460 100%); }
.lab-hA .lab-h { font-size: 13.4cqw; }
.lab-hA .lab-sub { left: 7cqw; right: 26cqw; top: 76cqw; color: rgba(255, 255, 255, .86); }
.lab-hA .lab-prod { left: auto; right: 5cqw; bottom: 20cqw; width: 46cqw; --pw: 46; }
/* Hook C (offer): the offer is the headline, the product big and close */
.lab-hC .lab-h { top: 16cqw; font-size: 19cqw; color: #FFA8DC; text-transform: uppercase; }
.lab-hC .lab-prod { left: 10cqw; bottom: -12cqw; width: 84cqw; --pw: 84; transform: rotate(-7deg); }

.lab-k { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); display: flex; gap: 8px; font: 600 10.5px/1 var(--x-d); letter-spacing: .1em; text-transform: uppercase; color: #8A8A86; white-space: nowrap; }
.lab-k__f, .lab-k__h { display: none; }
.lab-sel { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); display: none; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: rgba(var(--x-acc-rgb), .1); color: var(--x-acc); font: 600 10.5px/1 var(--x-d); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.lab-sel i { width: 7px; height: 7px; border-radius: 50%; background: var(--x-acc); box-shadow: 0 0 10px rgba(var(--x-acc-rgb), .8); }
.lab-n { display: none; }
.lab-ready { display: none; }
/* finished set in the stacked layout: the master is the selected hook */
.hx-six:not(.is-pin) .lab-cr[data-lab='master'] .lab-card { box-shadow: 0 0 0 2px var(--x-acc), 0 30px 60px -28px rgba(0, 0, 0, .95); }
.hx-six:not(.is-pin) .lab-cr[data-lab='master'] .lab-k__m::after { content: ' · selected'; color: var(--x-acc); }

/* pinned: one 3D space */
.hx-six.is-pin .six-lab { position: absolute; inset: 0; display: block; padding: 0; overflow: visible; perspective: 1700px; perspective-origin: 50% 46%; }
.hx-six.is-pin .lab-cr { position: absolute; left: 50%; top: 55%; transform-style: preserve-3d; will-change: transform, opacity; }
.hx-six.is-pin .lab-916 { width: 264px; margin: -235px 0 0 -132px; }
.hx-six.is-pin .lab-45 { width: 250px; margin: -156px 0 0 -125px; }
.hx-six.is-pin .lab-11 { width: 236px; margin: -118px 0 0 -118px; }
.hx-six.is-pin .lab-card { border-radius: 16px; }
.hx-six.is-pin .lab-k { justify-content: center; }
.hx-six.is-pin .lab-k > span { position: absolute; left: 50%; transform: translateX(-50%); }
.hx-six.is-pin .lab-k__f, .hx-six.is-pin .lab-k__h { display: block; opacity: 0; }
.hx-six.is-pin .lab-sel { display: flex; opacity: 0; }
.hx-six.is-pin .lab-n { display: block; position: absolute; left: calc(100% + 18px); padding: 6px 10px; border-radius: 8px; background: rgba(28, 28, 32, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font: 600 11px/1 var(--x-d); color: #fff; white-space: nowrap; opacity: 0; }
.hx-six.is-pin .lab-n::before { content: ''; position: absolute; right: 100%; top: 50%; width: 14px; height: 1px; background: rgba(255, 255, 255, .35); }
.lab-n--bg { top: 84%; } .lab-n--prod { top: 60%; } .lab-n--head { top: 22%; } .lab-n--cta { top: 92%; }
.hx-six.is-pin .lab-ready { display: flex; position: absolute; left: 0; right: 0; bottom: 22px; justify-content: center; align-items: center; gap: 8px; margin: 0; font: 600 11.5px/1 var(--x-d); letter-spacing: .14em; text-transform: uppercase; color: var(--x-white); opacity: 0; }
.lab-ready i { width: 7px; height: 7px; border-radius: 50%; background: var(--x-acc); }

/* ---------- 03 social ---------- */
.six-post .six-vis { perspective: 1200px; }
.six-reel { background: linear-gradient(160deg, #2A2A2E, #141416); position: absolute; left: 13%; top: 15%; width: 200px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; transform: rotateY(16deg) rotateZ(-2deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.six-reel img { width: 100%; height: 100%; object-fit: cover; }
.six-reel__bar { position: absolute; left: 10px; right: 10px; top: 10px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.six-reel__bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--r, .62)); }
.six-reel__cap { position: absolute; left: 10px; right: 10px; bottom: 14px; padding: 8px 10px; border-radius: 10px; background: rgba(10, 10, 10, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 600 12px/1.3 var(--x-d); }
.six-car { position: absolute; left: 50%; top: 17%; width: 150px; height: 150px; }
.six-car span { position: absolute; inset: 0; border-radius: 14px; background-color: #26262A; background-size: cover; background-position: center; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.six-car span:nth-child(1) { transform: translate(0, 0) rotate(-4deg); }
.six-car span:nth-child(2) { transform: translate(58px, 16px) rotate(2deg); }
.six-car span:nth-child(3) { transform: translate(116px, 32px) rotate(7deg); }
.six-cal { position: absolute; left: 48%; bottom: 16%; display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 14px; background: #161618; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.six-cal b { margin-right: 6px; font: 600 11px/1 var(--x-d); color: #8A8A86; letter-spacing: .06em; text-transform: uppercase; }
.six-cal span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #202023; font: 600 10.5px/1 var(--x-d); color: #9A9893; }
.six-cal span.on { background: rgba(var(--x-acc-rgb), .14); color: var(--x-acc); box-shadow: inset 0 0 0 1px rgba(var(--x-acc-rgb), .5); }
.six-sched { position: absolute; left: 56%; bottom: 31%; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 12px; background: #fff; color: #111; font: 600 12.5px/1 var(--x-d); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .9); }
.six-sched i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.six-eng { position: absolute; left: calc(13% + 214px); width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1) center / 16px no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.six-eng--1 { top: 34%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FAFF00'%3E%3Cpath d='M12 20s-7-4.4-9-8.8C1.6 8 3.6 4.5 7 4.5c2 0 3.4 1.1 5 2.9 1.6-1.8 3-2.9 5-2.9 3.4 0 5.4 3.5 4 6.7-2 4.4-9 8.8-9 8.8z'/%3E%3C/svg%3E"); }
.six-eng--2 { top: 44%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M20 12a8 8 0 0 1-11.7 7.1L4 20l1-4A8 8 0 1 1 20 12z'/%3E%3C/svg%3E"); }
.six-eng--3 { top: 54%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E"); }

/* ---------- 04 website: browser to phone ---------- */
.six-dev { position: absolute; left: 50%; top: 54%; width: 230px; height: 470px; transform: translate(-50%, -50%); border-radius: 36px; background: #0B0B0C; box-shadow: inset 0 0 0 1.5px #3A3A3E, 0 0 0 1px #000, 0 50px 90px -40px rgba(0, 0, 0, .95); overflow: hidden; }
.six-dev__bar { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1E1E21; opacity: 0; }
.six-dev__bar i { width: 8px; height: 8px; border-radius: 50%; background: #4A4A4F; }
.six-dev__isl { position: absolute; z-index: 3; left: 50%; top: 14px; width: 74px; height: 20px; margin-left: -37px; border-radius: 12px; background: #000; }
.six-dev__scr { position: absolute; inset: 8px; border-radius: 28px; overflow: hidden; background: #F6ECE4; }
.six-dev__scr img { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.six-dev__d { opacity: 0; }
.six-tag { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: rgba(20, 20, 22, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font: 600 12px/1 var(--x-d); }
.six-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--x-acc); }
.six-tag--1 { left: 8%; top: 30%; }
.six-tag--2 { right: 8%; top: 46%; }
.six-tag--3 { left: 10%; top: 64%; }
.six-real { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 11.5px; letter-spacing: .04em; color: #6E6D69; }

/* ---------- 05 systems: layered planes in depth ---------- */
.six-flow .six-vis { perspective: 1500px; perspective-origin: 50% 0%; }
.six-stack { position: absolute; left: 50%; top: 62%; width: 270px; height: 120px; margin: -60px 0 0 -135px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-36deg); }
.six-pl { position: absolute; left: 0; top: 0; width: 270px; display: grid; gap: 4px; padding: 15px 16px; border-radius: 16px; background: rgba(26, 26, 30, .9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), -10px 24px 40px rgba(0, 0, 0, .55); transform: translate3d(calc(var(--z) * 18px), calc(var(--z) * -18px), calc(var(--z) * 62px)); font-family: var(--x-d); transition: box-shadow .4s, background-color .4s; }
.six-pl small { font: 600 10px/1 var(--x-d); letter-spacing: .14em; text-transform: uppercase; color: #8A8A86; }
.six-pl b { font: 600 15px/1.2 var(--x-d); color: #fff; }
.six-pl em { font-style: normal; font-size: 12px; color: #A9A7A1; }
.six-pl.is-lit { box-shadow: inset 0 0 0 1.5px var(--x-acc), -10px 24px 40px rgba(0, 0, 0, .55), 0 0 30px rgba(var(--x-acc-rgb), .18); }
.six-pl--end.is-lit { background: var(--x-acc); }
.six-pl--end.is-lit small, .six-pl--end.is-lit b, .six-pl--end.is-lit em { color: #0A0A0A; }
.six-line { position: absolute; left: 135px; top: 60px; width: 2px; height: 250px; transform-origin: 50% 0; transform: rotateX(90deg); background: linear-gradient(rgba(var(--x-acc-rgb), .7), rgba(var(--x-acc-rgb), .1)); }
.six-line i { position: absolute; left: -5px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--x-acc); box-shadow: 0 0 16px 4px rgba(var(--x-acc-rgb), .6); transform: translateY(var(--y, 250px)); }

/* ---------- 06 optimisation: signals refine, the parts close into one ring ---------- */
.six-bars { position: absolute; left: 7%; top: 30%; display: grid; gap: 14px; width: 190px; }
.six-bars span { display: grid; gap: 6px; }
.six-bars small { font: 600 11px/1 var(--x-d); letter-spacing: .08em; text-transform: uppercase; color: #8A8A86; }
.six-bars i { display: block; height: 8px; border-radius: 4px; transform-origin: 0 50%; }
.six-bars .up { width: 100%; background: var(--x-acc); }
.six-bars .mid { width: 62%; background: #BDBBB5; }
.six-bars .dn { width: 22%; background: #4C4B48; }
.six-ring { position: absolute; left: 58%; top: 54%; width: 360px; height: 360px; margin: -180px 0 0 -180px; }
.six-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.six-ring circle { fill: none; stroke-width: 2; }
.six-ring .r0 { stroke: rgba(255, 255, 255, .08); }
.six-ring .r1 { stroke: var(--x-acc); stroke-dasharray: 943; stroke-dashoffset: 0; }
.six-node { position: absolute; left: calc(50% + var(--fx, 0px)); top: calc(50% + var(--fy, 0px)); padding: 8px 12px; border-radius: 999px; background: #1C1C1F; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 5px #0E0E10; color: #fff; font: 600 12.5px/1 var(--x-d); white-space: nowrap; transform: translate(-50%, -50%); }
.six-one { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font: 700 30px/.95 var(--x-d); font-stretch: 88%; letter-spacing: -.04em; color: var(--x-white); }
.six-one em { font-family: var(--x-s); font-style: italic; font-weight: 400; font-size: 1.1em; }

/* ---------- smaller screens: the stacked chapters ---------- */
@media (max-width: 1023px) {   /* the stacked fallback only (reduced motion, no JS); the compact animated stage keeps desktop geometry */
  .hx-six { padding: 100px 0 80px; }
  .hx-six__grid { grid-template-columns: 1fr; }
  .hx-six__list { display: none; }
  .hx-six:not(.is-pin) .six-vis { height: 380px; }
  .hx-six:not(.is-pin) .six-board { transform: rotateX(54deg) rotateZ(-28deg) scale(.66); }
  .hx-six:not(.is-pin) .six-toast { right: 14px; bottom: 16px; }
  .hx-six:not(.is-pin) .six-reel { left: 6%; width: 150px; }
  .hx-six:not(.is-pin) .six-car { left: 52%; width: 110px; height: 110px; }
  .hx-six:not(.is-pin) .six-car span:nth-child(2) { transform: translate(34px, 12px) rotate(2deg); }
  .hx-six:not(.is-pin) .six-car span:nth-child(3) { transform: translate(68px, 24px) rotate(7deg); }
  .hx-six:not(.is-pin) .six-cal { left: 6%; right: 6%; bottom: 6%; justify-content: space-between; }
  .hx-six:not(.is-pin) .six-cal span { width: 30px; height: 30px; }
  .hx-six:not(.is-pin) .six-sched, .hx-six:not(.is-pin) .six-eng, .hx-six:not(.is-pin) .six-tag { display: none; }
  .hx-six:not(.is-pin) .six-dev { width: 180px; height: 360px; }
  .hx-six:not(.is-pin) .six-stack { transform: rotateX(58deg) rotateZ(-36deg) scale(.78); top: 66%; }
  .hx-six:not(.is-pin) .six-bars { left: 6%; top: 12%; width: 150px; }
  .hx-six:not(.is-pin) .six-ring { left: 50%; top: 60%; transform: scale(.72); }
  .hx-six:not(.is-pin) .six-lab { padding: 44px 20px 22px; gap: 14px; }
  .hx-six:not(.is-pin) .lab-916 { width: 168px; }
  .hx-six:not(.is-pin) .lab-45, .hx-six:not(.is-pin) .lab-11 { width: 210px; }
}

/* the master's layers must keep real depth: overflow on the card would flatten them, so each layer is
   clipped to the card's shape instead */
.lab-cr[data-lab='master'] .lab-card { overflow: visible; }
.lab-cr[data-lab='master'] .lab-ly { clip-path: inset(0 round 14px); }
.hx-six.is-pin .lab-cr[data-lab='master'] .lab-ly { clip-path: inset(0 round 16px); }

/* Phones (17 Nov 2026): the Creative Testing Lab's format labels wrap instead of running into each other. */
@media (max-width: 767px) {
  .hx-six:not(.is-pin) .lab-k { white-space: normal; font-size: 9.5px; line-height: 1.25; gap: 4px; flex-wrap: wrap; }
}

/* ---------- compact animated stage (phones and tablets, 17 Nov 2026) ----------
   The same master timeline as desktop (hx-six.js), on a sticky stage instead of a hard pin: the section is tall,
   the stage sticks to the screen, and scroll progress plays the six chapters in turn. Each chapter's visual keeps
   its desktop design size (700 x 600) and is scaled to the screen (--k, set by hx-six.js), so every composition,
   distance and handover is the one approved on desktop. The caption above the visual stays full size. */
.hx-six.is-compact { padding: 0; height: 460svh; }
.hx-six.is-compact .hx-six__pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: flex-start; padding: calc(var(--x-head, 64px) + 14px) 0 18px; overflow: hidden; }
.hx-six.is-compact .hx-six__grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; flex: 1 1 auto; min-height: 0; width: 100%; }
.hx-six.is-compact .hx-six__side .hx-h2 { font-size: clamp(34px, 9.4vw, 46px); }
.hx-six.is-compact .hx-six__side .hx-lede { display: none; }
.hx-six.is-compact .hx-six__stage { flex: 1 1 auto; height: auto; min-height: 0; border-radius: 24px; }
.hx-six.is-compact .hx-six__side { flex: 0 0 auto; }
.hx-six.is-compact .hx-six__cap { left: 18px; right: 18px; top: 16px; }
.hx-six.is-compact .hx-six__cap b { font-size: 17px; }
.hx-six.is-compact .hx-six__cap em { font-size: 12.5px; }
.hx-six.is-compact .six-vis { position: absolute; inset: auto; left: 50%; top: var(--vt, 84px); width: 700px; height: 600px; transform: translateX(-50%) scale(var(--k, .5)); transform-origin: 50% 0; }
/* compact stage: keep the edge pieces inside the visible 580 px core */
.hx-six.is-compact .six-bars { left: 13%; top: 14%; }
.hx-six.is-compact .six-cal { left: 33%; }

/* Launch fix (17 Nov 2026): on phones the callouts and the toast sit inside the visible stage (the design box is
   wider than a phone, so anything near its edges was cut off). */
.hx-six.is-compact .six-tag--1 { left: 13%; }
.hx-six.is-compact .six-tag--2 { right: 13%; }
.hx-six.is-compact .six-tag--3 { left: 13%; }
.hx-six.is-compact .six-toast { right: 84px; }
