/* Rex video block: one approved 4:5 video, click to play, nothing downloads until played */
.rexvid{padding:64px 0}
.rexvid-in{display:grid;grid-template-columns:minmax(0,520px) minmax(0,1fr);gap:56px;align-items:center;max-width:1180px;margin:0 auto;padding:0 24px}
.rexvid-frame{position:relative;border-radius:20px;overflow:hidden;box-shadow:0 24px 60px rgba(8,22,40,.35);background:#0f2440;aspect-ratio:4/5}
.rexvid-frame video{display:block;width:100%;height:100%;object-fit:cover;background:#0f2440}
.rexvid-eyebrow{display:inline-block;font:700 12px/1 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#f47b20;margin-bottom:14px}
.rexvid-copy h2{font-family:'Space Grotesk',Inter,system-ui,sans-serif;font-size:clamp(28px,3.4vw,40px);line-height:1.1;margin:0 0 16px;color:inherit}
.rexvid-copy p{font-size:17px;line-height:1.6;margin:0 0 12px;opacity:.85}
.rexvid-note{font-size:13px!important;opacity:.6!important}
@media(max-width:1000px) and (min-width:761px){.rexvid-in{grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:36px}}
@media(max-width:760px){.rexvid{padding:44px 0}.rexvid-in{grid-template-columns:1fr;gap:24px;padding:0 16px}.rexvid-frame{max-width:480px;width:100%;margin:0 auto}.rexvid-copy{text-align:center}}
.rexvid-sound{position:absolute;top:14px;right:14px;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:0;border-radius:999px;background:rgba(10,22,40,.82);color:#fff;font:700 14px/1 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.35);backdrop-filter:blur(6px)}
.rexvid-sound:hover{background:#f47b20}
.rexvid-sound:focus-visible{outline:3px solid #ffb27a;outline-offset:2px}
.rexvid-sound svg{width:18px;height:18px}
.rexvid-sound[hidden]{display:none}

/* Homepage variant: dark band, play button, chips, CTAs */
.rexvid--home{background:radial-gradient(120% 90% at 85% 10%,rgba(244,123,32,.22),transparent 55%),linear-gradient(160deg,#0b1d36 0%,#10284a 60%,#0b1d36 100%);color:#fff;padding:88px 0}
.rexvid--home .rexvid-in{grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:64px}
.rexvid--home .rexvid-frame{box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.08)}
.rexvid--home .rexvid-copy h2{font-size:clamp(32px,4.2vw,54px);line-height:1.05;letter-spacing:-.02em;color:#fff}
.rexvid--home .rexvid-copy h2 .accent{display:block;color:#ff8c42}
.rexvid--home .rexvid-copy p{opacity:.88}
.rexvid-chips{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0 28px;padding:0}
.rexvid-chips li{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:14px 10px 12px;text-align:center}
/* Whole logo, never cropped: contain inside a 3:1 box so the three line up */
.rexvid-chips img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:contain}
.rexvid-chips small{display:block;font-size:13px;color:rgba(255,255,255,.7);margin-top:10px}
.rexvid-ctas{display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;margin-bottom:18px}
.rexvid-link{color:#ffb27a;font-weight:600;text-decoration:none}
.rexvid-link:hover{color:#fff}
@media(max-width:1000px) and (min-width:761px){.rexvid--home .rexvid-in{grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:36px}}
/* Narrow: one card per row, logo beside its caption, so the taglines stay readable */
@media(max-width:1000px){.rexvid-chips{grid-template-columns:1fr;gap:8px}.rexvid-chips li{display:flex;align-items:center;gap:14px;padding:10px 14px;text-align:left}.rexvid-chips img{flex:0 0 auto;width:min(58%,220px)}.rexvid-chips small{font-size:14px;margin-top:0}}
@media(max-width:760px){.rexvid--home{padding:56px 0}.rexvid--home .rexvid-in{grid-template-columns:1fr}.rexvid--home .rexvid-frame{max-width:400px}.rexvid--home .rexvid-copy p{font-size:16px}.rexvid-ctas{justify-content:center}}
