.hero-showcase { margin: 48px auto 0; max-width: var(--container); position: relative; }
.showcase-stage { position: relative; height: 610px; isolation: isolate; }
.showcase-phone {
  position: absolute; z-index: 3; left: 50%; top: 8px; transform: translateX(-50%);
  width: 302px; height: 585px; padding: 8px; border: 1px solid #5a515f;
  border-radius: 46px; background: #19161c;
  box-shadow: 0 34px 60px -25px #24103565, inset 0 0 0 2px #302a35;
}
.phone-screen { height: 100%; position: relative; overflow: hidden; border-radius: 38px; background: #e9dcfa; }
.phone-feed { height:100%; overflow-y:auto; overflow-x:hidden; scroll-snap-type:y mandatory; scrollbar-width:none; touch-action:pan-y; cursor:grab; user-select:none; -webkit-user-select:none; }
.phone-feed.is-dragging { cursor:grabbing; }
.phone-feed.is-drag-scroll { scroll-snap-type:none; scroll-behavior:auto; }
.phone-feed img { -webkit-user-drag:none; }
.phone-feed::-webkit-scrollbar { display:none; }
.phone-feed:focus-visible { outline:2px solid #b999ef; outline-offset:-3px; }
.phone-scene { position:relative; height:100%; scroll-snap-align:start; scroll-snap-stop:always; background-size:cover; background-position:center; }
.phone-placeholder { height: 100%; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 30px; background: #eee6f9; color: #3c096c; overflow: hidden; }
.phone-placeholder::before { content: ''; position: absolute; width: 430px; height: 430px; border: 1px solid #9872bf30; border-radius: 50%; top: 110px; }
.phone-placeholder::after { content: ''; position: absolute; width: 340px; height: 340px; border: 1px solid #9872bf30; border-radius: 50%; top: 155px; }
.phone-format { position: absolute; top: 100px; right: 22px; font-size: 11px; letter-spacing: .07em; color: #87629f; }
.phone-brand-art { position: relative; z-index: 1; width: 112px; height: 112px; object-fit: cover; border-radius: 50%; margin-top: 18px; box-shadow: 0 15px 30px -18px #3c096c77; }
.phone-placeholder strong { position: relative; z-index: 1; font-size: 30px; line-height: 1.05; letter-spacing: -.055em; font-weight: 600; text-align: center; margin-top: 24px; max-width: 210px; }
.phone-sector { position: relative; z-index: 1; margin-top: 10px; font-size: 12px; color: #77558c; }
.phone-pending { position: absolute; bottom: 52px; font-size: 10px; color: #77558c; }
.phone-scene[data-phone-brand="antonio"] .phone-placeholder { background: #ddd6f2; }
.phone-scene[data-phone-brand="lilo"] .phone-placeholder { background: #f5eefb; }
.phone-scene[data-phone-brand="everly"] .phone-placeholder { background: #e1dcf7; }
.phone-scene video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; background:#18141c; }
.phone-profile { position: absolute; z-index: 2; inset: 44px 16px auto; display: flex; align-items: center; gap: 9px; color: #3c096c; }
.phone-profile>img:first-child { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; }
.phone-profile>div { min-width: 0; }
.phone-profile strong { display: block; font-size: 11px; font-weight: 600; }
.phone-profile span { display: block; font-size: 9px; opacity: .7; margin-top: 1px; }
.phone-scene.has-video .phone-profile { color: white; text-shadow: 0 1px 5px #0009; }
.phone-scene.has-video::after { content: ''; position: absolute; inset: 0 0 auto; height: 130px; background: linear-gradient(#0008,transparent); pointer-events: none; }
.phone-notch { position: absolute; z-index: 5; top: 8px; left: 50%; transform: translateX(-50%); width: 79px; height: 23px; background: #161319; border-radius: 20px; }
.phone-notch::after { content: ''; position: absolute; width: 6px; height: 6px; border: 2px solid #25202c; border-radius: 50%; right: 10px; top: 7px; background: #171c25; }
.phone-home { position: absolute; z-index: 5; bottom: 8px; left: 50%; transform: translateX(-50%); height: 4px; width: 88px; border-radius: 4px; background: #3c096c45; }
.showcase-phone:has(.is-active.has-video) .phone-home { background: #fff9; }
.phone-side-button { position: absolute; right: -3px; top: 120px; height: 65px; width: 3px; border-radius: 0 2px 2px 0; background: #3b3340; }
.brand-orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.brand-tile {
  --x: -270px; --y: -145px; --rotate: -7deg;
  position: absolute; left: 50%; top: 50%; width: 164px; height: 172px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px;
  margin: -86px 0 0 -82px; border: 1px solid #ffffffdd; border-radius: 22px;
  background: #ffffffc9; box-shadow: 0 12px 35px -20px #3c096c45;
  transform: translate(var(--x),var(--y)) rotate(var(--rotate));
  transition: transform 1.15s cubic-bezier(.22,1,.36,1), opacity .6s;
}
button.brand-tile { pointer-events:auto; }
button.brand-tile:hover { background:white; border-color:#a580c4; }
button.brand-tile[aria-pressed="true"] { border-color:#7f4ba8; box-shadow:0 12px 35px -20px #3c096c45, 0 0 0 1px #7f4ba8; }
button.brand-tile:focus-visible { outline:3px solid #7138b4; outline-offset:5px; }
.hero-showcase.is-manual .brand-tile { transition:background .2s, border-color .2s; }
.brand-tile[data-slot="1"] { --x: 270px; --y: 145px; --rotate: 7deg; }
.brand-tile[data-slot="2"] { --x: -345px; --y: 105px; --rotate: -11deg; }
.brand-tile[data-slot="3"] { --x: 345px; --y: -135px; --rotate: 9deg; }
.brand-tile img { width: 75px; height: 75px; border-radius: 50%; object-fit: cover; }
.brand-tile span { font-size: 13px; font-weight: 500; letter-spacing: -.025em; }
.brand-flight { position: absolute; z-index: 6; width: 75px; height: 75px; border-radius: 50%; object-fit: cover; pointer-events: none; transform-origin: top left; }
@media (max-width: 980px) {
  .brand-tile { --x: -240px; width: 140px; height: 150px; margin: -75px 0 0 -70px; }
  .brand-tile[data-slot="1"] { --x: 240px; }
}
@media (max-width: 700px) {
  .hero-showcase { margin-top: 35px; }
  .showcase-stage { height: 500px; }
  .showcase-phone { width: 252px; height: 485px; border-radius: 38px; padding: 6px; }
  .phone-screen { border-radius: 32px; }
  .phone-notch { width: 67px; height: 20px; top: 7px; }
  .phone-notch::after { top: 6px; }
  .phone-profile { inset: 39px 13px auto; gap: 7px; }
  .phone-profile strong { font-size: 10px; }
  .phone-profile span { font-size: 8px; }
  .phone-profile>img:first-child { width: 26px; height: 26px; }
  .phone-format { top: 85px; font-size: 9px; }
  .phone-brand-art { width: 95px; height: 95px; }
  .phone-placeholder strong { font-size: 27px; }
  .phone-placeholder::before { width: 360px; height: 360px; top: 88px; }
  .phone-placeholder::after { width: 290px; height: 290px; top: 123px; }
  .phone-sector { font-size: 11px; }
  .phone-pending { bottom: 43px; }
  .brand-tile { --x: -190px; --y: -80px; width: 120px; height: 130px; margin: -65px 0 0 -60px; gap: 11px; }
  .brand-tile[data-slot="1"] { --x: 190px; --y: 70px; }
  .brand-tile img { width: 58px; height: 58px; }
  .brand-tile span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-tile { transition: none; }
}


/* The phone stays in view while the page scrolls through this section. */
.hero { overflow: clip; }
.hero-showcase { --phone-height:min(585px,calc(100svh - 160px)); --stage-height:calc(var(--phone-height) + 24px); height:calc(var(--stage-height) + 120svh); }
.showcase-stage { position:sticky; top:96px; height:var(--stage-height); }
.showcase-phone { height:var(--phone-height); width:calc(var(--phone-height) * .51624); }
.phone-reach { display:none; position:absolute; z-index:2; bottom:32px; left:18px; right:18px; align-items:center; gap:8px; color:white; text-shadow:0 1px 6px #0007; }
.phone-scene.has-video .phone-reach { display:flex; }
.phone-reach svg { width:19px; height:19px; stroke:white; stroke-width:1.8; fill:none; flex-shrink:0; }
.phone-reach strong { font-size:15px; font-weight:600; letter-spacing:-.02em; }
.phone-reach span { font-size:10px; opacity:.85; }
.phone-scene.has-video::before { content:''; position:absolute; z-index:1; inset:auto 0 0; height:130px; background:linear-gradient(transparent,#000a); pointer-events:none; }
@media(max-width:980px) {
 .brand-tile[data-slot="2"] { --x:-335px; }
 .brand-tile[data-slot="3"] { --x:335px; }
}
@media(max-width:700px) {
 .hero-showcase { --phone-height:min(485px,calc(100svh - 270px)); --stage-height:calc(var(--phone-height) + 152px); height:calc(var(--stage-height) + 95svh); }
 .showcase-stage { top:82px; }
 .showcase-phone { width:calc(var(--phone-height) * .51958); }
 .brand-tile[data-slot="2"] { --x:-300px; --y:100px; }
 .brand-tile[data-slot="3"] { --x:300px; --y:-130px; }
 .brand-orbit { inset:calc(var(--phone-height) + 24px) 12px auto; display:grid; grid-template-columns:repeat(2,minmax(0,150px)); justify-content:center; gap:8px; }
 .brand-tile:not(button) { display:none; }
 button.brand-tile { position:relative; inset:auto; width:100%; height:52px; margin:0; padding:8px; flex-direction:row; gap:8px; transform:none; border-radius:13px; }
 button.brand-tile img { width:32px; height:32px; flex-shrink:0; }
 button.brand-tile span { font-size:10px; line-height:1.3; }
 .phone-reach { bottom:27px; left:14px; right:14px; gap:6px; }
 .phone-reach strong { font-size:13px; }
 .phone-reach span { font-size:9px; }
}
@media(max-height:520px) {
 .hero-showcase { --phone-height:485px; height:var(--stage-height); }
 .showcase-stage { position:relative; top:0; }
}
@media(prefers-reduced-motion:reduce) {
 .hero-showcase { height:var(--stage-height); }
 .showcase-stage { position:relative; top:0; }
}

.hero-showcase.has-many-brands .brand-tile{
 --orbit-spread:300px;width:145px;height:126px;margin:-63px 0 0 -72.5px;gap:10px;
 transform:translate(calc(var(--orbit-side) * var(--orbit-spread)),calc(var(--orbit-row) * var(--orbit-step))) rotate(var(--orbit-angle));
}
.hero-showcase.has-many-brands .brand-tile img{width:58px;height:58px}
.brand-tile img,.phone-profile>img:first-child,.brand-flight{object-fit:contain;background:#fff}
.hero-showcase.has-many-brands .brand-tile span{font-size:12px;text-align:center;max-width:130px;line-height:1.2}
@media(max-width:980px) and (min-width:701px){
 .hero-showcase.has-many-brands .brand-tile{--orbit-spread:260px;width:130px;margin-left:-65px}
}
@media(max-width:700px){
 .hero-showcase.has-many-brands{--brand-panel-height:calc(var(--brand-rows) * 60px + 32px);--phone-height:min(485px,calc(100svh - var(--brand-panel-height) - 118px));--stage-height:calc(var(--phone-height) + var(--brand-panel-height))}
 .hero-showcase.has-many-brands button.brand-tile{width:100%;height:52px;margin:0;gap:8px;transform:none}
 .hero-showcase.has-many-brands .brand-tile img{width:32px;height:32px}
 .hero-showcase.has-many-brands .brand-tile span{font-size:10px;max-width:none;text-align:left}
}
@media(max-height:520px){.hero-showcase.has-many-brands{--phone-height:485px}}
