/* REELX Master Gallery — isolated redesign from founder-approved 1672x941 reference.
   Source of truth for gallery; no rx15-rx21 dependencies. */
:root{--rx22-red:#fb494d}
.rx22-gallery{position:relative;isolation:isolate;background:radial-gradient(ellipse at 85% 0,rgba(118,19,34,.32),transparent 36%),radial-gradient(ellipse at 5% 93%,rgba(121,17,42,.33),transparent 38%),#070a10;color:#f8f8fa;overflow:hidden;scroll-margin-top:73px;padding:0 0 55px}
.rx22-gallery .rx22-noise{position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(118deg,transparent 0 65px,#fa39470d 66px,transparent 67px 150px),repeating-linear-gradient(0deg,transparent 0 130px,#f1303b07 131px);mask-image:linear-gradient(to bottom,black 0%,transparent 70%)}
.rx22-shell{width:calc(100% - 56px);max-width:1690px;margin:0 auto}
.rx22-hero{height:474px;display:grid;grid-template-columns:minmax(0,34%) minmax(0,66%);align-items:start}
.rx22-copy{padding:28px 0 0 43px;position:relative;z-index:12}
.rx22-eyebrow{color:#ff6364;letter-spacing:.25em;font-size:10px;font-weight:800;display:flex;align-items:center;gap:13px;margin-bottom:13px}
.rx22-eyebrow span{width:23px;height:2px;background:#fa3c46;box-shadow:0 0 13px #f83245}
.rx22-copy h1{font:750 clamp(51px,4.15vw,72px)/.99 'Space Grotesk','Inter',sans-serif;letter-spacing:-.072em;margin:0 0 20px;white-space:nowrap;color:#fff}
.rx22-copy h1 em{font-style:normal;color:#fe4b52}
.rx22-copy>p{font-size:15px;max-width:458px;line-height:1.57;color:#c7c6d1;margin:0 0 24px}
.rx22-stats{display:flex;gap:0;margin:0 0 25px;max-width:458px}
.rx22-stats>div{position:relative;flex:1;min-width:0;padding:1px 8px 0 39px;border-right:1px solid #595260}
.rx22-stats>div:first-child{padding-left:45px}
.rx22-stats>div:last-child{border:0}
.rx22-stat-icon{font-size:29px;line-height:1;color:#f44750;position:absolute;left:8px;top:5px;text-shadow:0 0 22px #fa313b44}
.rx22-stats>div:first-child .rx22-stat-icon{left:0}
.rx22-stats b{display:block;font:750 30px/1.05 'Space Grotesk',sans-serif;letter-spacing:-.045em}
.rx22-stats small{display:block;color:#c0c0cb;font-size:10px;line-height:1.42;margin-top:4px}
.rx22-cta{display:flex;align-items:center;gap:21px;flex-wrap:wrap}
.rx22-primary{display:inline-flex;align-items:center;gap:16px;background:linear-gradient(115deg,#ff5752,#f12f3b);color:#fff!important;border-radius:6px;padding:17px 21px;font-size:13px;font-weight:800;box-shadow:0 8px 34px #f5364582;transition:filter .16s,transform .16s}
.rx22-primary:hover{filter:brightness(1.1);transform:translateY(-2px)}
.rx22-primary span{font-size:17px}
.rx22-play{display:inline-flex;gap:11px;align-items:center;color:#fff;font-size:12px;font-weight:800;background:transparent;border:0;padding:0}
.rx22-play>span{border:1px solid #e4c6cb;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;font-size:13px;transition:background .16s}
.rx22-play:hover>span{background:#e9404c}
.rx22-stage{position:relative;height:490px;perspective:1700px;isolation:isolate}
.rx22-stage-grid{pointer-events:none;position:absolute;inset:0;z-index:0;background:linear-gradient(125deg,#f5464a00,#f5464a1a 55%,transparent 88%),repeating-linear-gradient(105deg,transparent 0 115px,#fd3b4b0d 116px,transparent 117px),repeating-linear-gradient(0deg,transparent 0 96px,#e02b3910 97px);mask-image:radial-gradient(ellipse at center,#000,transparent 85%)}
.rx22-stage-aura{pointer-events:none;position:absolute;z-index:0;inset:-60px -40px;background:radial-gradient(ellipse at 60% 44%,#eb223b50 0%,transparent 65%);filter:blur(23px)}
.rx22-neon{pointer-events:none;position:absolute;z-index:1;height:2px;background:linear-gradient(90deg,transparent,#ff3a48 34%,#f94b5c 65%,transparent);box-shadow:0 0 10px #f83247,0 0 29px #e9233a,0 0 63px #eb1e3677;transform-origin:center}
.rx22-neon-one{width:115%;top:91px;left:-8%;transform:rotate(-11deg)}
.rx22-neon-two{width:120%;top:255px;left:-11%;transform:rotate(16deg)}
.rx22-neon-three{width:105%;bottom:35px;left:2%;transform:rotate(-4deg)}
.rx22-screen{overflow:hidden;position:absolute;background:#0c1828;border:1px solid #da6172;border-radius:11px;box-shadow:0 32px 72px #000d,0 0 34px #e32c4962}
.rx22-screen img{display:block;width:100%;height:100%;object-fit:cover}
.rx22-screen-back-left{left:3%;top:87px;width:39%;height:342px;z-index:3;transform:perspective(1300px) rotateY(17deg) rotateZ(-2deg)}
.rx22-screen-back-right{right:6%;top:64px;width:38%;height:362px;z-index:2;transform:perspective(1100px) rotateY(-17deg) rotateZ(3deg)}
.rx22-screen-main{left:13%;top:55px;width:62%;height:427px;z-index:5;background:#091727;border-color:#e76a7b;border-radius:11px;transform:perspective(1500px) rotateY(-5.4deg) rotateZ(.2deg);box-shadow:0 32px 90px #000f,0 0 34px #fa304a73}
.rx22-window-bar{height:27px;background:#101a2a;display:flex;align-items:center;gap:10px;padding:0 13px;position:relative;z-index:2}
.rx22-window-bar img{width:54px;height:25px;object-fit:contain}
.rx22-window-bar span{color:#a8c3d7;font-size:9px;letter-spacing:.08em;font-weight:800}
.rx22-window-bar small{margin-left:auto;color:#f29c9a;font-size:8px;letter-spacing:.06em;white-space:nowrap}
.rx22-screen-main>img{height:100%;width:100%;object-fit:fill;object-position:top left}
.rx22-screen-main>a{position:absolute;z-index:5;inset:0;display:block}
.rx22-screen-main:hover{border-color:#ff9b9e}
.rx22-stage-reflection{position:absolute;z-index:1;bottom:2px;left:8%;width:92%;height:79px;pointer-events:none;background:radial-gradient(ellipse at 60% 50%,#f53b4a70,transparent 68%);transform:perspective(400px) rotateX(64deg);filter:blur(4px)}
.rx22-stage-glow{position:absolute;bottom:2px;left:23%;right:2%;height:2px;z-index:6;pointer-events:none;background:linear-gradient(90deg,transparent,#ff6268,transparent);box-shadow:0 0 14px #fa435a,0 0 38px #f1283f}
.rx22-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 10px;color:#ff6a67;font-size:9px;font-weight:800;letter-spacing:.15em}
.rx22-gallery-controls>div{display:flex;align-items:center;gap:7px}
.rx22-gallery-controls small{color:#d1b8bd;font-size:10px;letter-spacing:.05em;margin-right:9px}
.rx22-gallery-controls button{background:#181923;border:1px solid #784352;border-radius:50%;width:29px;height:29px;color:#f6eef3;font-size:21px;display:grid;place-items:center}
.rx22-gallery-controls button:hover{background:#e5424a}
.rx22-products{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.rx22-card{min-width:0;min-height:340px;display:flex;flex-direction:column;background:linear-gradient(170deg,#171925,#080c16 90%);border:1px solid color-mix(in srgb,var(--rx22-color),#30303d 70%);border-radius:11px;box-shadow:0 14px 30px #0009;overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
.rx22-card.is-active{border-color:var(--rx22-color);background:linear-gradient(160deg,#341922,#0c0c15 78%);box-shadow:0 0 30px color-mix(in srgb,var(--rx22-color),transparent 64%)}
.rx22-card:hover{transform:translateY(-4px);border-color:var(--rx22-color)}
.rx22-card-select{border:0;background:transparent;color:#fff;padding:0;display:block;text-align:left;width:100%;flex:1;cursor:pointer}
.rx22-card-select>img{width:100%;height:166px;object-fit:cover;object-position:top left;display:block;border-bottom:1px solid #424252;background:#dfe9f3}
.rx22-card-heading{display:flex;align-items:center;gap:11px;padding:13px 14px 0;min-height:47px}
.rx22-card-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:var(--rx22-color);color:#fff;font-size:24px;box-shadow:0 0 20px color-mix(in srgb,var(--rx22-color),transparent 48%)}
.rx22-card-heading strong{font-size:14px;color:#f6f6f8;line-height:1.23}
.rx22-card p{color:#b9becd;font-size:11.5px;line-height:1.55;margin:10px 14px 0}
.rx22-card>a{color:var(--rx22-color);font-weight:750;font-size:12px;display:flex;gap:9px;align-items:center;padding:12px 14px 15px}
.rx22-card>a span{font-size:18px}
.rx22-gallery-note{margin:10px 0 0;text-align:center}
.rx22-gallery-note small{font-size:9px;letter-spacing:.02em;color:#888a9b}
.rx22-below{margin-top:47px}
.rx22-selected-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:16px;scroll-margin-top:90px}
.rx22-selected-head small,.rx22-method>div:first-child>small{color:#fa7171;letter-spacing:.14em;font-size:10px;font-weight:800}
.rx22-selected-head h2{font-size:34px;letter-spacing:-.05em;margin:7px 0 0}
.rx22-selected-head a{font-size:12px;color:#fe7772}
.rx22-selected{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.rx22-selected-item{display:grid;grid-template-columns:42% 58%;background:#171b27;border:1px solid #41404e;border-radius:9px;overflow:hidden;min-height:180px;color:#e9eaf1}
.rx22-selected-item:hover{border-color:#fc565b}
.rx22-selected-item img{width:100%;height:100%;object-fit:cover;object-position:top left;background:#d9e4ee}
.rx22-selected-item>div{padding:18px;display:flex;flex-direction:column;gap:7px}
.rx22-selected-item small{font-size:9px;color:#fb7173;font-weight:800}
.rx22-selected-item h3{margin:0;font-size:20px;letter-spacing:-.04em}
.rx22-selected-item p{margin:0;font-size:11px;color:#b2bac6;line-height:1.55}
.rx22-selected-item b{color:#fd817a;font-size:11px;margin-top:auto}
.rx22-method{margin:35px 0;display:grid;grid-template-columns:27% 73%;gap:12px;align-items:center;scroll-margin-top:90px}
.rx22-method h2{font-size:28px;line-height:1.18;letter-spacing:-.04em;margin:9px 0}
.rx22-method h2 em{font-style:normal;color:#ff5d61}
.rx22-method-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.rx22-method-steps>div{display:flex;flex-direction:column;gap:7px;padding:14px;background:#171d28;border:1px solid #394454;border-radius:7px}
.rx22-method-steps span{font-size:12px;color:#ff6c68;font-weight:800}
.rx22-method-steps b{font-size:12px;color:white}
.rx22-method-steps small{font-size:10px;color:#a9b2bf;line-height:1.4}
.rx22-cta-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 28px;border:1px solid #823847;border-radius:9px;background:linear-gradient(120deg,#3b1927,#181622 70%,#261323)}
.rx22-cta-strip h2{margin:0 0 7px;font-size:25px}
.rx22-cta-strip p{color:#abb6c6;font-size:12px;margin:0}
.rx22-cta-strip>a{padding:14px 18px;background:#f0444d;border-radius:5px;color:white;font-size:12px;font-weight:800;white-space:nowrap}
@media(max-width:1300px){.rx22-copy{padding-left:20px}.rx22-copy h1{font-size:clamp(48px,4vw,62px)}.rx22-copy>p{font-size:13px}.rx22-screen-main{left:23%;width:66%}.rx22-stats b{font-size:27px}.rx22-card-heading strong{font-size:12px}.rx22-card-select>img{height:148px}.rx22-card{min-height:312px}.rx22-card p{font-size:10px}}
@media(max-width:1050px){.rx22-hero{height:auto;display:block}.rx22-copy{padding:30px 0 0}.rx22-copy h1{font-size:clamp(55px,7vw,72px)}.rx22-copy>p{max-width:590px}.rx22-stage{height:495px;margin-top:14px}.rx22-gallery-controls{margin:3px 0 11px}.rx22-products{grid-template-columns:repeat(3,minmax(0,1fr))}.rx22-card-select>img{height:170px}.rx22-selected{grid-template-columns:1fr 1fr}.rx22-selected-item:last-child{grid-column:span 2}.rx22-method{display:block}.rx22-method-steps{margin-top:17px}}
@media(max-width:650px){.rx22-gallery{padding-top:20px}.rx22-shell{width:calc(100% - 30px)}.rx22-copy{padding-top:7px}.rx22-eyebrow{font-size:9px}.rx22-copy h1{font-size:clamp(44px,11vw,59px);white-space:normal}.rx22-copy>p{font-size:13px;line-height:1.65}.rx22-stats>div{padding-left:24px}.rx22-stats>div:first-child{padding-left:29px}.rx22-stat-icon{font-size:17px;left:2px}.rx22-stats b{font-size:24px}.rx22-stats small{font-size:9px}.rx22-cta{gap:15px}.rx22-primary{padding:13px 15px}.rx22-play>span{width:36px;height:36px}.rx22-stage{height:245px;margin-top:10px}.rx22-screen-back-left{left:0;top:31px;width:48%;height:174px}.rx22-screen-back-right{right:-3%;top:33px;width:47%;height:174px}.rx22-screen-main{left:17%;top:14px;width:70%;height:203px}.rx22-window-bar{height:16px;padding:0 5px;gap:4px}.rx22-window-bar img{width:26px;height:13px}.rx22-window-bar span{font-size:5px}.rx22-window-bar small{font-size:5px}.rx22-screen-main>img{height:calc(100% - 16px)}.rx22-screen-main>a{top:16px}.rx22-stage-reflection{height:40px}.rx22-gallery-controls{margin:-1px 0 8px}.rx22-gallery-controls>span{font-size:8px}.rx22-products{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:11px;padding-bottom:14px}.rx22-card{flex:0 0 238px;scroll-snap-align:start;min-height:323px}.rx22-card-select>img{height:157px}.rx22-card-heading strong{font-size:13px}.rx22-card p{font-size:11px}.rx22-gallery-note{text-align:left}.rx22-selected-head h2{font-size:27px}.rx22-selected{grid-template-columns:1fr}.rx22-selected-item:last-child{grid-column:auto}.rx22-method-steps{grid-template-columns:1fr 1fr}.rx22-cta-strip{flex-direction:column;align-items:start}.rx22-selected-item{grid-template-columns:42% 58%}}
@media(max-width:375px){.rx22-copy h1{font-size:43px}.rx22-stage{height:222px}.rx22-screen-main{height:184px}.rx22-screen-back-left,.rx22-screen-back-right{height:153px}.rx22-stats small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.rx22-card,.rx22-primary{transition:none}}

/* Reference geometry QA — remove duplicate top bars and reveal full module previews. */
.rx22-window-bar{display:none!important}
.rx22-screen-back-left img,.rx22-screen-back-right img{object-fit:fill!important}
.rx22-gallery-controls>span{visibility:hidden}
.rx22-stage:before{content:"";position:absolute;z-index:1;left:-3%;right:0%;top:18%;height:1px;background:linear-gradient(90deg,transparent,#ed344b 38%,transparent 88%);transform:rotate(-13deg);box-shadow:0 0 13px #f52244,0 0 25px #fa3151;pointer-events:none}
.rx22-stage:after{content:"";position:absolute;z-index:2;left:7%;right:-5%;top:90%;height:1px;background:linear-gradient(90deg,transparent,#ff5762 30%,transparent 95%);transform:rotate(-2deg);box-shadow:0 0 15px #f63148,0 0 36px #fc3149;pointer-events:none}
@media(max-width:650px){.rx22-card{min-height:323px!important}}
