/* ── The Solo app, promoted (Ofir 2026-11-22) ────────────────────────────────
   index.html #app: copy + store badges beside a fan of three real app screens.
   index.html hero: a pill that jumps to it.
   home.html #the-app: .ap-feats, four real screens with what each one does.
   Screens are frames of the real Solo app recordings (videos/solo-demo), 640x1390. */

/* Hero pill on the hub. */
.ap-pill-row { margin: 0 0 26px; text-align: center; }
.ap-pill {
    display: inline-flex; align-items: center; gap: 12px; padding: 7px 18px 7px 8px; border-radius: 999px;
    background: #fff; color: var(--hub-ink); text-decoration: none; font-size: 14.5px;
    box-shadow: 0 0 0 1px var(--hub-line), 0 14px 30px -20px rgba(20, 20, 26, .45);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ap-pill:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(169, 131, 60, .45), 0 18px 34px -20px rgba(20, 20, 26, .5); }
.ap-pill img { width: 28px; height: 28px; border-radius: 8px; }
.ap-pill b { color: var(--hub-gold); font-weight: 650; margin-right: 6px; }
.ap-pill i { font-style: normal; color: var(--hub-gold); }

/* ── #app on the hub ── */
.ap { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 136px) 0; background: linear-gradient(180deg, var(--hub-tint), #fff 85%); }
.ap__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ap__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.ap__list li { padding-left: 18px; border-left: 2px solid rgba(169, 131, 60, .45); }
.ap__list b { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 600; color: var(--hub-ink); }
.ap__list span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--hub-muted); }
.ap__get { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* The fan: three phones, the home screen in front. */
.ap__fan { position: relative; aspect-ratio: 1 / .95; }
.ap__glow { position: absolute; left: 50%; top: 52%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 90, .32), rgba(201, 162, 90, 0) 65%); z-index: 0; }
.ap__phone {
    position: absolute; top: 50%; left: 50%; margin: 0; width: 38%; aspect-ratio: 640 / 1390; padding: 1.2%;
    border-radius: 13% / 6%; background: #1a1a1f; z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 70px -30px rgba(20, 20, 26, .6);
    transition: transform .7s cubic-bezier(.3, .7, .2, 1);
}
.ap__phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 11.5% / 5.3%; }
.ap__phone--c { z-index: 3; transform: translate(-50%, -50%); }
.ap__phone--l { transform: translate(-108%, -46%) rotate(-8deg) scale(.88); }
.ap__phone--r { transform: translate(8%, -46%) rotate(8deg) scale(.88); }
.ap__fan:hover .ap__phone--l { transform: translate(-118%, -47%) rotate(-11deg) scale(.9); }
.ap__fan:hover .ap__phone--r { transform: translate(18%, -47%) rotate(11deg) scale(.9); }
@media (prefers-reduced-motion: no-preference) {
    .ap__phone--c { animation: ap-float 6s ease-in-out infinite; }
}
@keyframes ap-float { 50% { transform: translate(-50%, -52%); } }

@media (max-width: 900px) {
    .ap__inner { grid-template-columns: 1fr; }
    .ap__fan { order: -1; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
    .ap__list { grid-template-columns: 1fr; }
    .ap__phone { width: 44%; }
    .ap__phone--l { transform: translate(-100%, -46%) rotate(-8deg) scale(.82); }
    .ap__phone--r { transform: translate(0%, -46%) rotate(8deg) scale(.82); }
}

/* ── home.html: what is in the app, screen by screen ── */
.ap-feats { list-style: none; margin: clamp(48px, 6vw, 80px) 0 clamp(36px, 5vw, 56px); padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.ap-feats li { text-align: center; }
.ap-feats figure {
    margin: 0 auto 22px; width: min(100%, 230px); aspect-ratio: 640 / 1390; padding: 3.2%;
    border-radius: 13% / 6%; background: #1a1a1f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 34px 60px -32px rgba(20, 20, 26, .55);
    transition: transform .5s cubic-bezier(.3, .7, .2, 1), box-shadow .5s;
}
.ap-feats li:hover figure { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 44px 70px -32px rgba(20, 20, 26, .6); }
.ap-feats figure img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 11.5% / 5.3%; }
.ap-feats .ap-n { display: block; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .14em; color: var(--hub-gold); }
.ap-feats b { display: block; margin-top: 6px; font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 600; color: var(--hub-ink); }
.ap-feats span:last-child { display: block; margin: 6px auto 0; max-width: 250px; font-size: 15px; line-height: 1.5; color: var(--hub-muted); }
@media (max-width: 900px) {
    /* Phones: a row you swipe through, one and a bit at a time. */
    .ap-feats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto;
        scroll-snap-type: x mandatory; padding: 0 16px 12px; margin-left: -16px; margin-right: -16px; scrollbar-width: none; }
    .ap-feats::-webkit-scrollbar { display: none; }
    .ap-feats li { scroll-snap-align: center; }
}

/* ── home.html: the app, played (js/app-player.js) ─────────────────────────────
   Replaces the row of still screens. Pick a feature and a real recording of it plays in the
   phone; the phone leans toward the pointer; a few facts from that screen float beside it.
   When a clip ends, the next feature starts. Clips: videos/live/app-*.mp4, cut and sped up
   from videos/solo-demo (real app recordings). */
.apx {
    position: relative; margin: clamp(44px, 6vw, 76px) 0 clamp(36px, 5vw, 56px);
    border-radius: 32px; overflow: hidden; color: #f4f1ea;
    background: radial-gradient(70% 90% at 72% 45%, #2a2318 0%, #121115 55%, #0b0b0e 100%);
    box-shadow: 0 60px 120px -70px rgba(20, 20, 26, .9);
}
.apx__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(28px, 5vw, 64px); }

.apx__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.apx__tab {
    position: relative; display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; width: 100%; text-align: left;
    padding: 16px 18px; border: 0; border-radius: 18px; background: transparent; color: inherit; font: inherit; cursor: pointer;
    transition: background .35s;
}
.apx__tab:hover { background: rgba(255, 255, 255, .04); }
.apx__tab.is-on { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(217, 180, 106, .25); }
.apx__n { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11.5px; letter-spacing: .12em; padding-top: 6px; color: rgba(244, 241, 234, .35); }
.apx__tab.is-on .apx__n { color: #d9b46a; }
.apx__t { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; color: rgba(244, 241, 234, .55); transition: color .3s; }
.apx__tab.is-on .apx__t { color: #fff; }
.apx__d { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1); }
.apx__d > span { overflow: hidden; font-size: 15px; line-height: 1.5; color: rgba(244, 241, 234, .7); }
.apx__tab.is-on .apx__d { grid-template-rows: 1fr; }
.apx__tab.is-on .apx__d > span { padding-top: 6px; }
.apx__bar { grid-column: 2; display: block; height: 2px; margin-top: 12px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; opacity: 0; transition: opacity .3s; }
.apx__bar i { display: block; height: 100%; width: 100%; background: #d9b46a; transform-origin: 0 50%; transform: scaleX(0); }
.apx__tab.is-on .apx__bar { opacity: 1; }
.apx__tab:focus-visible { outline: 2px solid #d9b46a; outline-offset: 2px; }

/* The phone, leaning toward the pointer. */
.apx__device { position: relative; display: grid; place-items: center; perspective: 1200px; min-height: 560px; }
.apx__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(217, 180, 106, .35), rgba(217, 180, 106, 0) 65%); filter: blur(10px); }
.apx__phone {
    --rx: 0deg; --ry: 0deg;
    position: relative; width: min(290px, 70%); aspect-ratio: 540 / 1172; padding: 3%;
    border-radius: 14% / 6.5%; background: linear-gradient(145deg, #3a3a42, #121216 40%, #26262c);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 50px 90px -30px rgba(0, 0, 0, .9);
    transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.apx.is-tracking .apx__phone { transition: transform .12s linear; }
.apx__screen { position: relative; width: 100%; height: 100%; border-radius: 12% / 5.6%; overflow: hidden; background: #000; }
.apx__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.apx__screen video.is-on { opacity: 1; }
/* A sheen that slides with the lean, as glass would catch the light. */
.apx__sheen { position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .13) 46%, transparent 60%);
    background-size: 250% 100%; background-position: var(--sx, 60%) 0; mix-blend-mode: screen; }

/* Facts from the screen, floating out beside the phone. */
.apx__chips { position: absolute; inset: 0; pointer-events: none; }
.apx__chip {
    position: absolute; left: var(--x); top: var(--y); white-space: nowrap;
    padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #fff;
    background: rgba(28, 26, 30, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px rgba(217, 180, 106, .35), 0 18px 34px -16px rgba(0, 0, 0, .8);
    opacity: 0; transform: translateY(12px) scale(.94); transition: opacity .45s, transform .55s cubic-bezier(.2, .9, .25, 1.2);
}
.apx__chip b { color: #e2bd72; font-weight: 600; }
.apx__chips.is-on .apx__chip { opacity: 1; transform: none; }
.apx__chips.is-on .apx__chip:nth-child(2) { transition-delay: .18s; }
.apx__chips.is-on .apx__chip:nth-child(3) { transition-delay: .36s; }
@media (prefers-reduced-motion: no-preference) {
    .apx__chips.is-on .apx__chip { animation: apx-bob 5s ease-in-out 1s infinite; }
    .apx__chips.is-on .apx__chip:nth-child(2) { animation-delay: 1.8s; }
    .apx__chips.is-on .apx__chip:nth-child(3) { animation-delay: 2.6s; }
}
@keyframes apx-bob { 50% { transform: translateY(-6px); } }

@media (max-width: 900px) {
    .apx { border-radius: 24px; margin-left: -4px; margin-right: -4px; }
    .apx__stage { grid-template-columns: 1fr; padding: 22px 16px 18px; }
    .apx__device { order: -1; min-height: 0; padding: 18px 0 6px; }
    .apx__phone { width: min(250px, 62%); }
    .apx__chip { font-size: 11.5px; padding: 7px 11px; }
    .apx__chip:nth-child(3) { display: none; }
    /* The four as a row of pills; only the open one shows its sentence. */
    .apx__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .apx__tab { grid-template-columns: 1fr; padding: 10px 8px; text-align: center; border-radius: 14px; }
    .apx__n { padding: 0; }
    .apx__t { display: none; }
    .apx__s { display: block; margin-top: 2px; white-space: nowrap; font-family: 'Playfair Display', Georgia, serif; font-size: 13.5px; font-weight: 600; color: rgba(244, 241, 234, .55); }
    .apx__tab.is-on .apx__s { color: #fff; }
    .apx__d, .apx__bar { grid-column: 1; }
    .apx__d { display: none; }
    .apx__bar { margin-top: 8px; }
    .apx__say { display: block; margin: 14px 4px 0; min-height: 3em; text-align: center; font-size: 14.5px; line-height: 1.5; color: rgba(244, 241, 234, .75); }
}
@media (min-width: 901px) { .apx__say, .apx__s { display: none; } }

/* 05 · The Solo watch app (2026-11-22): the phone steps back and a drawn watch steps in, showing the five real App
   Store screenshots (Images/watch). Tap the watch for the next screen. */
.apx__phone { transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .45s, scale .55s cubic-bezier(.2, .7, .2, 1); }
.apx.is-watch .apx__phone { opacity: 0; scale: .86; pointer-events: none; }
.apx__watch {
    --rx: 0deg; --ry: 0deg;
    position: absolute; width: min(236px, 56%); aspect-ratio: 416 / 496;
    display: grid; place-items: center; opacity: 0; scale: 1.08; pointer-events: none;
    transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .45s, scale .55s cubic-bezier(.2, .7, .2, 1);
}
.apx.is-tracking .apx__watch { transition: transform .12s linear, opacity .45s, scale .55s; }
.apx.is-watch .apx__watch { opacity: 1; scale: 1; pointer-events: auto; }
/* The band, above and below the case. */
.apx__band { position: absolute; left: 16%; right: 16%; height: 46%; z-index: -1;
    background: linear-gradient(90deg, #17171b, #2a2a30 50%, #17171b); }
.apx__band--top { bottom: 82%; border-radius: 18px 18px 0 0; }
.apx__band--bot { top: 82%; border-radius: 0 0 18px 18px; }
.apx__case { position: relative; width: 100%; height: 100%; padding: 6.5%; border-radius: 30% / 26%;
    background: linear-gradient(145deg, #4a4a52, #141418 42%, #2c2c32);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 40px 70px -24px rgba(0, 0, 0, .9); }
.apx__crown { position: absolute; right: -4.5%; top: 26%; width: 5.5%; height: 17%; border-radius: 0 6px 6px 0;
    background: repeating-linear-gradient(180deg, #5a5a62 0 2px, #2e2e34 2px 4px); }
.apx__button { position: absolute; right: -2.5%; top: 52%; width: 3%; height: 15%; border-radius: 0 4px 4px 0; background: #3a3a40; }
.apx__wscreen { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 24% / 20%;
    overflow: hidden; background: #000; cursor: pointer; }
.apx__wscreen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.apx__wscreen img.is-on { opacity: 1; }
.apx__wscreen:focus-visible { outline: 2px solid #d9b46a; outline-offset: 4px; }
.apx__dots { position: absolute; left: 0; right: 0; bottom: -44%; display: flex; justify-content: center; gap: 6px; }
.apx__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: background .3s, width .3s; }
.apx__dots i.is-on { width: 16px; border-radius: 3px; background: #d9b46a; }
@media (max-width: 900px) {
    .apx__watch { width: min(176px, 48%); }
    .apx__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
    .apx__tab { padding: 10px 4px; }
    .apx__s { font-size: 12.5px; }
    .apx__dots { bottom: -40%; }
    .apx__chip { left: max(2%, var(--x)); }
}

/* Bars & clubs (nightlife.html #two): the Solo watch app for regulars — the same drawn watch, its five real
   screenshots crossfading on their own (2.6 s each, 13 s round). */
.gw { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 72px);
    margin-top: clamp(40px, 6vw, 72px); padding: clamp(36px, 5vw, 64px); border-radius: 32px; color: #f4f1ea;
    background: radial-gradient(120% 90% at 20% 30%, #2a2418 0%, #121110 55%, #0b0b0c 100%); }
.gw__watch { display: grid; place-items: center; min-height: 380px; }
.gw .apx__watch { position: relative; opacity: 1; scale: 1; pointer-events: none; width: min(220px, 70%); }
.gw .apx__wscreen { cursor: default; }
.gw .apx__wscreen img, .gw .apx__dots i { animation: gw-shot 13s infinite both; }
.gw .apx__wscreen img:nth-child(2), .gw .apx__dots i:nth-child(2) { animation-delay: 2.6s; }
.gw .apx__wscreen img:nth-child(3), .gw .apx__dots i:nth-child(3) { animation-delay: 5.2s; }
.gw .apx__wscreen img:nth-child(4), .gw .apx__dots i:nth-child(4) { animation-delay: 7.8s; }
.gw .apx__wscreen img:nth-child(5), .gw .apx__dots i:nth-child(5) { animation-delay: 10.4s; }
.gw .apx__wscreen img:first-child { opacity: 1; }
.gw .apx__dots i { animation-name: gw-dot; }
@keyframes gw-shot { 0% { opacity: 0; } 3%, 20% { opacity: 1; } 23%, 100% { opacity: 0; } }
@keyframes gw-dot { 0%, 22%, 100% { background: rgba(255, 255, 255, .22); width: 6px; } 3%, 20% { background: #d9b46a; width: 16px; } }
@media (prefers-reduced-motion: reduce) {
    .gw .apx__wscreen img, .gw .apx__dots i { animation: none; }
}
.gw__eyebrow { margin: 0 0 10px; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #d9b46a; }
.gw__h { margin: 0 0 14px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; line-height: 1.12; color: #fff; }
.gw__h em { font-style: italic; color: #e2bd72; }
.gw__p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: rgba(244, 241, 234, .75); }
.gw__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: gw; }
.gw__steps li { counter-increment: gw; display: flex; gap: 14px; align-items: baseline; font-size: 15px; line-height: 1.5; color: rgba(244, 241, 234, .7); }
.gw__steps li > span { flex: 1; min-width: 0; display: inline; }
.gw__steps li > span b { display: inline; margin-right: 4px; }
.gw__steps li::before { flex: none; width: 20px; content: '0' counter(gw); font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 11.5px; letter-spacing: .1em; color: rgba(217, 180, 106, .8); }
.gw__steps b { color: #fff; font-weight: 600; }
@media (max-width: 900px) {
    .gw { grid-template-columns: 1fr; padding: 28px 20px 30px; border-radius: 24px; }
    .gw__watch { min-height: 300px; }
    .gw .apx__watch { width: min(170px, 52%); }
}

/* The Solo app on the other pages (2026-11-22): the same pill above each hero title, and the hub's band worded
   for the page (#solo-app, before the contact form). Dark pages (pilot, menu-management): a dark pill. */
.ap--page { background: linear-gradient(180deg, #fff, var(--hub-tint, #f7f3ea) 30%, #fff); }
.ap-pill-row--start { text-align: left; }
.ap-pill--dark { background: rgba(255, 255, 255, .06); color: #f4f1ea; box-shadow: 0 0 0 1px rgba(217, 180, 106, .35); }
.ap-pill--dark:hover { box-shadow: 0 0 0 1px rgba(217, 180, 106, .6), 0 18px 34px -20px rgba(0, 0, 0, .6); }
.ap-pill--dark b, .ap-pill--dark i { color: #d9b46a; }
@media (max-width: 560px) { .ap-pill { font-size: 13px; gap: 9px; padding-right: 14px; } .ap-pill span { text-align: left; } }
