/* Tripski: the memories globe is the light and the demo. A still first, then the live one over it.
   --gx / --gy place the centre and --gr sets the radius (of the box height); ../../globe.js reads the same three, so the still and the
   live globe coincide. The still (img/ts-globe.webp, 1800 x 1200) has its globe centred at 50% / 80% with a radius of 70% of its height. */
.p-tripski{--glow:#8ecbff}
.hero{min-height:max(600px,min(92svh,820px))}
.hero-light{background:var(--night)}
.hero-light::after{background:linear-gradient(90deg,rgba(5,7,11,.7) 0,rgba(5,7,11,.4) 30%,rgba(5,7,11,0) 52%),linear-gradient(0deg,var(--night) 0,rgba(5,7,11,0) 22%)}
.hero-copy{pointer-events:none;max-width:min(100%,40rem)}
.hero-copy>*{pointer-events:auto}
.ts-globe{--gx:.7;--gy:.9;--gr:.74;position:absolute;inset:0;overflow:hidden;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none}
.ts-globe.is-drag{cursor:grabbing}
.ts-globe:focus-visible{outline-offset:-6px}
.ts-globe>img{position:absolute;left:calc(var(--gx) * 100%);top:calc(var(--gy) * 100%);height:calc(var(--gr) / .7 * 100%);width:auto;max-width:none;transform:translate(-50%,-80%);transition:opacity .9s var(--ease)}
.ts-globe>canvas{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .9s var(--ease)}
.mem-layer{position:absolute;inset:0;opacity:0;transition:opacity .9s var(--ease);pointer-events:none}
.ts-globe.is-live>img{opacity:0}
.ts-globe.is-live>canvas,.ts-globe.is-live .mem-layer{opacity:1}
.mem{--w:calc(var(--card) * var(--k,1));--h:calc(var(--w) * 1.4);--s:calc(var(--card) * 1.4 * var(--stem));position:absolute;left:calc(var(--w) / -2);top:calc((var(--h) + var(--s)) * -1);width:var(--w);height:var(--h);transform-origin:50% calc(100% + var(--s));will-change:transform}
.mem.is-off{visibility:hidden}
.mem img{width:100%;height:100%;object-fit:cover;border-radius:calc(var(--card) * .2);border:max(1.5px,calc(var(--card) * .05)) solid #fff;box-shadow:0 calc(var(--card) * .08) calc(var(--card) * .3) rgba(0,0,0,.55);background:#0b0f16}
.mem::after{content:"";position:absolute;left:calc(50% - .75px);top:100%;width:1.5px;height:var(--s);background:linear-gradient(180deg,#fff,rgba(255,255,255,.55))}
.mem::before{content:"";position:absolute;left:calc(50% - 3px);top:calc(100% + var(--s) - 3px);width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 8px 2px rgba(142,203,255,.9)}
.ts-hint{font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;color:var(--glow);display:flex;align-items:center;gap:12px}
.ts-hint::before{content:"";width:34px;height:1px;background:currentColor}
html:not(.js) .ts-hint{display:none}
@media (min-width:861px){.duo .phones{grid-column:1/5}}
@media (min-width:861px){.duo .feats{grid-column:6/13}}
@media (max-width:1180px){.ts-globe{--gx:.76}}
@media (max-width:860px){
  .hero{min-height:0}
  .hero-stage{height:min(96vw,560px)}
  .ts-globe{--gx:.5;--gy:1.02;--gr:.86}
  .hero-light::after{background:linear-gradient(180deg,rgba(5,7,11,.55) 0,rgba(5,7,11,0) 22%),linear-gradient(0deg,var(--night) 0,rgba(5,7,11,0) 16%)}
  .hero-copy{pointer-events:auto;margin-top:8px}
}
