/* The front door: the homepage at / (assets/js/pages/home.js).
   Built from the tokens in style.css. Mobile first, then wider screens.
   New components are listed in STYLE_GUIDE.md under "Front page". */

/* ---------- Shared bits ---------- */
.front-credit { position: absolute; z-index: 3; right: 10px; top: 10px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; line-height: 1.3; color: rgba(255,255,255,.92); background: rgba(5,7,11,.7); padding: 4px 9px; border-radius: 999px; pointer-events: none; }
.front-tag { display: inline-block; align-self: flex-start; justify-self: start; font: 700 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px 5px; border-radius: 999px; background: var(--accent); color: var(--logo-black); }
/* (.front-more retired October 2026: section links use .see-all, style.css) */
/* Pictures fade in once they've arrived (see pic() in home.js) */
.front-fade:not(.is-loaded) { opacity: 0; }
.front-fade.is-loaded { animation: front-fade-in .45s ease both; }
@keyframes front-fade-in { from { opacity: 0; } }
.front-empty { display: grid; place-items: center; text-align: center; color: var(--muted); min-height: 220px; padding: 24px; }

.front-section { padding: 64px 0; }
.front-section + .front-section { border-top: 1px solid var(--line); }
.front-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.front-head h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.04; letter-spacing: -.02em; margin: 10px 0 0; }
.front-head p { color: var(--muted); margin: 10px 0 0; max-width: 54ch; }
@media (max-width: 620px) {
  .front-section { padding: 52px 0; }
  .front-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
}

/* ---------- Hero ---------- */
.front-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(92svh, 760px); background: var(--bg); }
/* Until the first picture has loaded, the hero is charcoal with a faint purple
   glow and a slow sheen: never an empty box, never a stand-in picture. */
.front-hero-media { position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 520px at 75% 15%, rgba(124,92,255,.16), transparent 65%), linear-gradient(160deg, var(--panel), var(--bg) 70%); }
.front-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.035) 50%, transparent 70%) 150% 0 / 250% 100% no-repeat; transition: opacity .8s; }
.front-hero-media.has-art::after { opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .front-hero-media:not(.has-art)::after { animation: front-sheen 2.6s ease-in-out infinite; } }
@keyframes front-sheen { to { background-position: -50% 0; } }
.front-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0; transition: opacity 1.2s ease; }
.front-slide.is-on { opacity: 1; animation: front-kb 9s ease-out both; }
@keyframes front-kb { from { transform: scale(1.1); } to { transform: scale(1); } }
.front-hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(180deg, transparent 85%, var(--bg) 100%),
  linear-gradient(180deg, rgba(5,7,11,.55) 0%, rgba(5,7,11,.3) 18%, rgba(5,7,11,.62) 40%, rgba(5,7,11,.88) 66%, var(--bg) 100%),
  radial-gradient(700px 420px at 0% 100%, rgba(124,92,255,.22), transparent 70%); }
.front-hero-in { position: relative; width: 100%; padding-top: 120px; padding-bottom: 36px; display: grid; gap: 26px; }
.front-hero-copy { max-width: 760px; }
.front-hero-copy.is-waiting { visibility: hidden; } /* until the first story, so the general tagline never flashes up */
.front-tagline { margin: 0 0 12px; font: 500 clamp(17px, 2.2vw, 22px)/1.2 var(--display); letter-spacing: -.01em; color: var(--on-image); text-shadow: var(--on-image-shadow); }
.front-tagline em { font-style: normal; color: var(--accent); }
.front-hero h1 { font-size: clamp(42px, 8vw, 86px); line-height: .98; letter-spacing: -.035em; max-width: 12ch; color: var(--on-image); text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.front-lead { color: var(--on-image-muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; max-width: 54ch; margin: 18px 0 26px; text-shadow: var(--on-image-shadow); }
.front-hero .brand-pill { background: rgba(5,7,11,.62); }
.front-btn { padding: 13px 22px; font-size: 15px; }
.front-hero .btn.ghost { background: rgba(5,7,11,.5); color: var(--on-image); border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.front-hero .btn.ghost:hover { background: rgba(5,7,11,.7); }

.front-now { display: grid; gap: 8px; max-width: 440px; padding: 14px 16px 12px; border-radius: var(--radius); background: rgba(11,13,18,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.front-now { transition: opacity .6s ease; }
.front-now[hidden] { display: grid; visibility: hidden; opacity: 0; } /* keeps its space, so the headline doesn't jump when it appears */
.front-now-k { font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.front-now-k { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.front-now-k [hidden] { display: none; }
/* Feature tiles: thin mint border and the badge (style.css .feature-badge) in place of the tag. */
.front-tile.is-feature { border-color: rgba(130,228,180,.5); }
.front-tile-copy .feature-badge { align-self: flex-start; justify-self: start; width: max-content; }
.front-now-title { display: grid; gap: 6px; color: var(--on-image); }
.front-now-title b { font: 700 17px/1.25 var(--display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.front-now-go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.front-now-go svg { width: 15px; height: 15px; transition: transform .2s; }
.front-now-title:hover .front-now-go svg { transform: translateX(3px); }
.front-dots { display: flex; gap: 6px; margin-top: 2px; min-height: 20px; }
.front-dots button { flex: 1; height: 20px; padding: 8px 0; border: 0; background: none; cursor: pointer; }
.front-dots i { display: block; height: 4px; border-radius: 999px; background: rgba(255,255,255,.22); overflow: hidden; position: relative; }
.front-dots .on i { background: rgba(255,255,255,.4); }
.front-dots .on i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: front-progress 7s linear both; }
@keyframes front-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.front-hero-credit { top: auto; bottom: 12px; right: 12px; }
@media (min-width: 900px) {
  .front-hero-in { grid-template-columns: minmax(0, 1fr) 380px; align-items: end; padding-bottom: 56px; }
  .front-now { justify-self: end; width: 100%; }
  /* The top layer blends the last stretch into the page across the full
     width, so the darker left band and the purple glow can't end in a line. */
  .front-hero-shade { background:
    linear-gradient(180deg, transparent 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5,7,11,.82) 0%, rgba(5,7,11,.5) 42%, rgba(5,7,11,0) 70%),
    linear-gradient(180deg, rgba(5,7,11,.45) 0%, rgba(5,7,11,0) 25%, rgba(5,7,11,.2) 60%, rgba(5,7,11,.85) 88%, var(--bg) 100%),
    radial-gradient(700px 420px at 0% 100%, rgba(124,92,255,.22), transparent 70%); }
  .front-hero-credit { bottom: 46px; right: 18px; }
}

/* ---------- Gateways: a way into every part of the site ---------- */
.front-gates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.front-gate { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding: 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .15s ease, border-color .15s; }
.front-gate::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 80px at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); opacity: .7; transition: opacity .2s; pointer-events: none; }
.front-gate:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.front-gate:hover::before { opacity: 1; }
.front-gate-ico { position: relative; width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.front-gate-ico svg { width: 20px; height: 20px; }
.front-gate-txt { position: relative; display: grid; gap: 2px; min-width: 0; }
.front-gate-txt b { font: 700 15px/1.2 var(--display); }
.front-gate-txt small { color: var(--muted); font-size: 12px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.front-gate-arrow { display: none; }
@media (min-width: 900px) {
  .front-gates { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: -34px; position: relative; z-index: 2; }
  .front-gate { padding: 16px; min-height: 148px; background: rgba(20,24,33,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .front-gate-arrow { display: block; position: absolute; right: 14px; top: 16px; color: var(--muted); transition: transform .2s, color .2s; }
  .front-gate-arrow svg { width: 16px; height: 16px; }
  .front-gate:hover .front-gate-arrow { color: var(--c); transform: translateX(3px); }
}

/* ---------- News: one big story and four more ---------- */
.front-bento { display: grid; gap: 12px; }
.front-tile { position: relative; display: flex; align-items: flex-end; min-height: 260px; border-radius: var(--radius); overflow: hidden; background: var(--panel2); border: 1px solid var(--line); isolation: isolate; }
.front-tile.skeleton { min-height: 260px; }
.front-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.front-tile:hover > img { transform: scale(1.04); }
.front-tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,7,11,0) 25%, rgba(5,7,11,.62) 55%, rgba(5,7,11,.92) 100%); }
.front-tile-copy { display: grid; gap: 8px; padding: 16px; color: var(--on-image); }
.front-tile-copy b { font: 700 18px/1.22 var(--display); letter-spacing: -.01em; text-shadow: var(--on-image-shadow); }
.front-tile-copy small { color: var(--on-image-muted); font-size: 12px; }
.front-tile-sum { color: var(--on-image-muted); font-size: 15px; line-height: 1.5; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.front-tile.is-lead { min-height: 400px; }
.front-tile.is-blank { background: radial-gradient(120% 90% at 0% 0%, rgba(124,92,255,.28), transparent 60%), radial-gradient(100% 80% at 100% 100%, rgba(130,228,180,.14), transparent 60%), var(--panel2); }
.front-tile.is-lead b { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
@media (max-width: 759px) {
  /* The four smaller stories become a swipeable row under the big one */
  .front-bento-rest { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 6px; scroll-padding: 0 18px; scrollbar-width: none; }
  .front-bento-rest::-webkit-scrollbar { display: none; }
  .front-bento-rest > * { scroll-snap-align: start; }
  .front-tile.is-lead { min-height: 440px; }
  .front-tile-sum { -webkit-line-clamp: 2; }
}
@media (min-width: 760px) {
  .front-bento { grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 260px 260px; }
  .front-bento-rest { display: contents; }
  .front-bento > .is-lead { grid-row: 1 / span 2; min-height: 0; }
  .front-tile { min-height: 0; }
  .front-tile-copy { padding: 18px; }
  .front-tile.is-lead .front-tile-copy { padding: 28px; gap: 12px; }
}

/* ---------- Reviews ---------- */
.front-reviews { display: grid; gap: 14px; }
.front-spot { display: grid; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.front-spot:hover { border-color: rgba(130,228,180,.4); }
.front-spot.is-slop:hover { border-color: rgba(255,107,154,.6); }
.front-spot-art { position: relative; aspect-ratio: 16 / 9; background: var(--panel2); overflow: hidden; }
.front-spot-art > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.front-spot:hover .front-spot-art > img:first-child { transform: scale(1.03); }
.front-spot-art .seal { position: absolute; left: 12px; bottom: 12px; height: 30px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.front-spot-body { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.front-spot-body h3 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; letter-spacing: -.02em; }
.front-spot-sum { color: var(--muted); font-size: 16px; }
.front-spot-verdict { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.front-spot-why { color: rgba(242,244,248,.9); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.front-spot-art.is-blank { display: grid; place-items: center; width: 100%; min-height: 240px; background: radial-gradient(80% 70% at 50% 40%, rgba(130,228,180,.18), transparent 70%), linear-gradient(160deg, var(--panel2), var(--bg)); }
/* No picture yet: the verdict label, big, on the drawn stand-in */
.front-spot-art.is-blank .vlabel { align-self: center; font-size: clamp(22px, 3.2vw, 32px); }
.front-spot-art .pick-seal { --s: 92px; position: absolute; top: 14px; right: 14px; z-index: 2; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.front-spot-lists { display: grid; gap: 6px; font-size: 14px; }
.front-spot-lists .good::first-letter { color: var(--accent); font-weight: 900; }
.front-spot-lists .bad::first-letter { color: var(--slop); font-weight: 900; }
.front-spot-go { display: inline-flex; align-items: center; gap: 6px; padding-top: 4px; color: var(--accent); font-weight: 700; font-size: 14px; }
.front-spot-go svg { width: 16px; height: 16px; transition: transform .2s; }
.front-spot:hover .front-spot-go svg { transform: translateX(3px); }
.front-side { display: grid; gap: 14px; align-content: start; }
.front-key ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.front-key li { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; font-size: 14px; color: rgba(242,244,248,.9); }
.front-key .vlabel { justify-self: start; }
.front-key .vlabel small { display: none; } /* the key just names the verdicts */
.front-slop { position: relative; display: grid; gap: 6px; align-content: end; min-height: 220px; padding: 18px; border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid rgba(255,107,154,.45); background: var(--panel) center / cover no-repeat; color: var(--on-image); transition: border-color .2s; }
.front-slop:hover { border-color: rgba(255,107,154,.8); }
.front-slop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,7,11,.1) 0%, rgba(5,7,11,.62) 45%, rgba(5,7,11,.92) 100%); }
.front-slop > picture { display: contents; }
.front-slop > img, .front-slop > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.front-slop b { font: 700 20px/1.2 var(--display); text-shadow: var(--on-image-shadow); }
.front-slop > span:last-child { color: var(--on-image-muted); font-size: 14px; }
.front-slop .kicker { display: inline-block; justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--slop-solid); color: #fff; line-height: 1.2; }
.front-more-reviews:not(:empty) { margin-top: 16px; }
@media (min-width: 900px) {
  .front-reviews { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; }
  .front-spot { grid-template-columns: 1.1fr 1fr; }
  .front-spot-art { aspect-ratio: auto; min-height: 100%; }
  .front-spot-body { padding: 30px; justify-content: center; }
  .front-side { grid-template-rows: auto 1fr; }
  .front-slop { min-height: 0; height: 100%; }
}

/* ---------- Coming Soon: countdown and poster rail ---------- */
.front-cd { position: relative; display: flex; align-items: flex-end; min-height: 380px; border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: var(--panel2); }
.front-cd.skeleton { min-height: 380px; }
.front-cd > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.front-cd:hover > img { transform: scale(1.03); }
.front-cd-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,7,11,.15) 0%, rgba(5,7,11,.62) 45%, rgba(5,7,11,.92) 100%); }
.front-cd-copy { display: grid; gap: 10px; padding: 20px; color: var(--on-image); width: 100%; }
.front-cd-copy .kicker { justify-self: start; padding: 5px 10px; border-radius: 999px; line-height: 1.2; background: var(--accent); color: var(--logo-black); }
.front-cd-title { font: 700 clamp(28px, 4.6vw, 52px)/1.02 var(--display); letter-spacing: -.02em; text-shadow: var(--on-image-shadow); }
.front-cd-plat { color: var(--on-image-muted); font-size: 14px; }
.front-cd .boxes { max-width: 460px; margin-top: 4px; }
.front-cd .boxes div { background: rgba(5,7,11,.72); border: 1px solid rgba(255,255,255,.1); }
.front-cd .boxes b { color: var(--on-image); }
.front-cd .boxes span { color: var(--on-image-muted); }
.front-cd-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--accent); }
.front-cd-go svg { width: 16px; height: 16px; transition: transform .2s; }
.front-cd:hover .front-cd-go svg { transform: translateX(3px); }
@media (min-width: 900px) {
  .front-cd { min-height: 440px; }
  .front-cd-shade { background: linear-gradient(90deg, rgba(5,7,11,.9) 0%, rgba(5,7,11,.66) 40%, rgba(5,7,11,0) 75%), linear-gradient(180deg, rgba(5,7,11,0) 55%, rgba(5,7,11,.5) 100%); }
  .front-cd-copy { padding: 34px; max-width: 620px; }
}

.front-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 152px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 16px -18px 0; padding: 4px 18px 10px; scroll-padding: 0 18px; scrollbar-width: thin; scrollbar-color: var(--panel2) transparent; }
.front-rail:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.front-poster { scroll-snap-align: start; display: grid; gap: 4px; align-content: start; min-width: 0; }
.front-poster-art { position: relative; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--panel2); border: 1px solid var(--line); margin-bottom: 6px; transition: border-color .2s, transform .2s; }
.front-poster:hover .front-poster-art { border-color: rgba(130,228,180,.45); transform: translateY(-3px); }
.front-poster-art img { width: 100%; height: 100%; object-fit: cover; }
.front-poster-blank { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.front-poster-blank svg { width: 28px; height: 28px; }
.front-poster-blank.is-title { padding: 14px; text-align: center; background: radial-gradient(100% 70% at 50% 0%, rgba(124,92,255,.32), transparent 70%), linear-gradient(180deg, var(--panel2), var(--bg)); }
.front-poster-blank.is-title b { font: 700 17px/1.15 var(--display); color: var(--ink); -webkit-line-clamp: 4; }
.front-poster-when { position: absolute; left: 8px; bottom: 8px; font: 700 11px/1 var(--display); letter-spacing: .04em; padding: 6px 9px 5px; border-radius: 999px; color: var(--on-image); background: rgba(5,7,11,.78); border: 1px solid rgba(255,255,255,.14); }
.front-poster-when.is-out { background: var(--accent); color: var(--logo-black); border-color: transparent; }
.front-poster b { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.front-poster small { color: var(--muted); font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.front-poster .front-poster-credit { font-size: 10.5px; opacity: .8; -webkit-line-clamp: 1; }
.front-poster-all .front-poster-art { background: radial-gradient(120% 80% at 50% 0%, rgba(130,228,180,.16), var(--panel) 70%); }
.front-poster-all .front-poster-blank { color: var(--accent); }
@media (min-width: 900px) { .front-rail { grid-auto-columns: 172px; margin: 18px 0 0; padding: 4px 0 12px; scroll-padding: 0; } }

/* ---------- The app showcase ---------- */
.front-app { position: relative; overflow: hidden; padding: 76px 0 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background:
  radial-gradient(900px 520px at 50% 0%, rgba(124,92,255,.2), transparent 65%),
  radial-gradient(700px 480px at 100% 100%, rgba(130,228,180,.10), transparent 60%), var(--bg); }
.front-app .apx-glow.g1 { left: -120px; top: 80px; }
.front-app .apx-glow.g2 { right: -140px; top: 520px; bottom: auto; }
.front-app .wrap { position: relative; z-index: 1; }
.front-app-head { text-align: center; max-width: 820px; margin: 0 auto; }
.front-app-head h2 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1; letter-spacing: -.03em; margin: 18px 0 16px; }
.front-app-head p { color: #C3CAD6; font-size: clamp(16px, 1.5vw, 18px); max-width: 60ch; margin: 0 auto; }

/* Phones: a swipe gallery, one phone centred with a peek of the next. --col leaves
   room for the floating chips; the side padding lets the first and last centre. */
.front-phones { --col: min(70vw, 280px); display: grid; grid-auto-flow: column; grid-auto-columns: var(--col); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: 40px -18px 0; padding: 28px calc((100% + 36px - var(--col)) / 2) 10px; scrollbar-width: none; }
.front-phones::-webkit-scrollbar { display: none; }
.front-phones:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius); }
@media (prefers-reduced-motion: no-preference) { .front-phones { scroll-behavior: smooth; } }
.front-phone { margin: 0; scroll-snap-align: center; scroll-snap-stop: always; display: grid; justify-items: center; align-content: start; gap: 18px; }
.front-phone-dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.front-phone-dots button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 999px; }
.front-phone-dots i { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.22); transition: width .2s, background .2s; }
.front-phone-dots .on i { width: 22px; background: var(--accent); }
.front-phone-dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.front-phone .ph { --pw: 236px; }
.front-phone figcaption { text-align: center; display: grid; gap: 4px; max-width: 28ch; }
.front-phone figcaption b { font: 700 18px/1.2 var(--display); }
.front-phone figcaption span { color: var(--muted); font-size: 14px; }
.front-phone.main { order: -1; }
.front-phone-stage { position: relative; }
.front-phone .apx-chip { font-size: 12px; }
.front-phone .apx-chip.f1 { left: -22px; top: 22%; }
.front-phone .apx-chip.f2 { right: -24px; top: 44%; background: var(--accent); color: var(--logo-black); border-color: transparent; }
.front-phone .apx-chip.f3 { left: -14px; bottom: 18%; }
@media (min-width: 900px) {
  .front-phones { grid-auto-flow: row; grid-template-columns: 1fr auto 1fr; align-items: center; overflow: visible; margin: 48px 0 0; padding: 20px 0 0; gap: 34px; }
  .front-phone { align-content: normal; }
  .front-phone-dots { display: none; }
  .front-phone.main { order: 0; }
  .front-phone.main .ph { --pw: 290px; }
  .front-phone.side .ph { --pw: 236px; }
  .front-phone.side { transform: translateY(36px); }
  .front-phone.side:first-child { justify-self: end; }
  .front-phone.side:last-child { justify-self: start; }
  .front-phone .apx-chip { font-size: 13.5px; }
  .front-phone .apx-chip.f1 { left: -64px; }
  .front-phone .apx-chip.f2 { right: -54px; }
  .front-phone .apx-chip.f3 { left: -50px; }
}

.front-feats { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 12px; }
.front-feats li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--radius); background: rgba(20,24,33,.8); border: 1px solid var(--line); }
.front-feat-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); margin-bottom: 6px; }
.front-feat-ico svg { width: 21px; height: 21px; }
.front-feats b { font: 700 18px/1.25 var(--display); }
.front-feats li > span:last-child { color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 619px) {
  .front-feats { gap: 0; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(20,24,33,.8); overflow: hidden; }
  .front-feats li { grid-template-columns: 42px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; border: 0; border-radius: 0; background: none; }
  .front-feats li + li { border-top: 1px solid var(--line); }
  .front-feat-ico { grid-row: span 2; margin: 0; }
}
@media (min-width: 620px) { .front-feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .front-feats { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.front-how { margin-top: 48px; }
.front-how h3 { font-size: 22px; margin-bottom: 16px; }
.front-how ol { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; gap: 12px; }
.front-how li { counter-increment: how; position: relative; display: grid; gap: 4px; padding: 18px 18px 18px 72px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(124,92,255,.14), rgba(20,24,33,.6) 60%); }
.front-how li::before { content: counter(how, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font: 700 30px/1 var(--display); color: var(--accent); text-shadow: 0 0 18px rgba(130,228,180,.35); font-variant-numeric: tabular-nums; }
.front-how b { font: 700 17px/1.3 var(--display); }
.front-how li span { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .front-how ol { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.front-app-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 44px; }

/* ---------- Tech Sanctuary and Giving back ---------- */
.front-duo { display: grid; gap: 14px; }
@media (min-width: 900px) { .front-duo { grid-template-columns: 1fr 1fr; gap: 16px; } }
.front-panel { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 380px; border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .15s; }
.front-panel:hover { transform: translateY(-2px); }
.front-panel.p-tech:hover { border-color: rgba(130,228,180,.45); }
.front-panel.p-give:hover { border-color: rgba(255,107,154,.55); }
.front-panel h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.08; letter-spacing: -.02em; }
.front-panel p { color: var(--muted); margin: 0; max-width: 52ch; }

.front-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.front-points svg, .front-points span { flex: none; }
.front-points span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 999px; background: var(--panel2); }
.front-points svg { width: 15px; height: 15px; color: var(--accent); }
.p-give .front-points svg { color: var(--slop); }
.front-panel-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--accent); }
.p-give .front-panel-go { color: var(--slop); }
.front-panel-go svg { width: 16px; height: 16px; transition: transform .2s; }
.front-panel:hover .front-panel-go svg { transform: translateX(3px); }
/* Drawn, not photographed: a screen with bias lighting, and a glowing gift */
.front-panel-art { position: relative; height: 150px; margin: -4px 0 6px; display: grid; place-items: center; }
.front-panel-art .tv { position: relative; width: 190px; height: 108px; border-radius: 10px; background: linear-gradient(160deg, #1B2030, #0B0D12); border: 2px solid rgba(255,255,255,.12); box-shadow: 0 0 60px 18px rgba(124,92,255,.35), 0 0 120px 40px rgba(130,228,180,.12); }
.front-panel-art .tv::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 70px; height: 6px; margin-left: -35px; border-radius: 999px; background: rgba(255,255,255,.14); }
.front-panel-art .tv i { position: absolute; inset: 10px; border-radius: 4px; background: linear-gradient(120deg, rgba(130,228,180,.25), rgba(124,92,255,.3)); }
.front-panel-art .heart { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--slop), var(--slop-solid)); box-shadow: 0 0 70px 20px rgba(255,107,154,.28); }
.front-panel-art .heart svg { width: 44px; height: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .front-panel-art .tv { animation: front-glow 5s ease-in-out infinite alternate; }
  .front-panel-art .heart { animation: front-float 6s ease-in-out infinite; }
}
@keyframes front-glow { to { box-shadow: 0 0 70px 22px rgba(130,228,180,.3), 0 0 130px 46px rgba(124,92,255,.16); } }
@keyframes front-float { 50% { transform: translateY(-6px) rotate(-3deg); } }

/* ---------- Join ---------- */
.front-join { padding: 8px 0 48px; }
.front-join-in { text-align: center; padding: 40px 22px; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 0%, rgba(130,228,180,.14), transparent 70%), linear-gradient(135deg, rgba(124,92,255,.22), rgba(20,24,33,.9) 60%); }
.front-join-in > img { width: 72px; height: 72px; margin: 0 auto 18px; }
.front-join-in h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.front-join-in h2 em { font-style: normal; color: var(--accent); }
.front-join-in > p { color: #C3CAD6; max-width: 56ch; margin: 14px auto 18px; }
.front-join-perks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.front-join-perks span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(11,13,18,.6); border: 1px solid var(--line); }
.front-join-perks svg { width: 15px; height: 15px; color: var(--accent); }
.front-join .hero-actions { justify-content: center; }

/* ---------- Reduced motion: nothing moves by itself ---------- */
@media (prefers-reduced-motion: reduce) {
  .front-slide, .front-now { transition: none; }
  .front-fade.is-loaded { animation: none; }
  .front-slide.is-on { animation: none; }
  .front-dots .on i::after { animation: none; transform: none; }
  .front-tile > img, .front-cd > img, .front-spot-art > img, .front-gate, .front-panel, .front-poster-art, .front-phone-dots i { transition: none; }
}
@media (max-width: 420px) { .front-app-head .apx-pill { font-size: 9.5px; letter-spacing: .08em; } }

/* With a Spotlight on, the slideshow steps aside and the pitch is one line under the card. */
.front-pitch { margin-top: 18px; margin-bottom: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.front-pitch .front-tagline { display: inline; margin: 0 6px 0 0; font-size: 17px; color: var(--ink); text-shadow: none; }

/* The banner (1 November 2026): each slide's own kicker, headline, text and
   buttons, like the holding page. Dots sit under the buttons. */
.front-hero h1 a { color: inherit; text-decoration: none; }
.front-hero h1 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* Smaller than the old 86 px and wider, so "Grand Theft Auto VI" fits on one
   line and long news headlines don't fill the banner (Alan, 1 November 2026). */
.front-hero h1 { font-size: clamp(34px, 5vw, 62px); max-width: 22ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.front-hero h1.is-long { font-size: clamp(30px, 3.8vw, 48px); max-width: 26ch; }
#hero-kick { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#hero-lead { max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#hero-cd:not(:empty) { margin: 14px 0 4px; }
.front-hero-dots { max-width: 360px; margin-top: 18px; }
.front-spot-section { padding-top: 28px; }
.front-spot-section .spot-wrap { margin-top: 0; }

/* Everything a player needs: a tile for each part of the site. */
.front-explore { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.front-explore-tile { display: grid; gap: 6px; padding: 18px; border-radius: var(--radius); color: var(--ink); text-decoration: none;
  background: radial-gradient(120% 120% at 100% 0, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%), var(--panel);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); transition: transform .2s, border-color .2s; }
.front-explore-tile:hover { transform: translateY(-2px); border-color: var(--c); }
.front-explore-tile b { font: 700 19px/1.2 var(--display); }
.front-explore-tile > span:last-child { color: var(--muted); font-size: 14px; }
.front-explore-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 20px;
  background: color-mix(in srgb, var(--c) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
@media (prefers-reduced-motion: reduce) { .front-explore-tile { transition: none; } .front-explore-tile:hover { transform: none; } }
.front-spot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.front-spot-news { display: grid; gap: 12px; }
.front-spot-news .front-tile { min-height: 120px; }
@media (max-width: 860px) { .front-spot-grid { grid-template-columns: 1fr; } }
