/* Phone Turntable (2026-11-23): CSS phone holding real app screenshots.
   Scroll-scrubbed rotation + crossfade, drag to spin, static fallbacks.
   Deep green frame, gold rim, calm premium. Vanilla CSS only. */
.tt{
  --tt-gold:#d99a25;
  position:relative;
  width:min(320px,80vw);
  margin-inline:auto;
  perspective:1200px;
  -webkit-tap-highlight-color:transparent;
}
.tt-glow{
  position:absolute;inset:-12% -18% -6%;
  background:
    radial-gradient(closest-side,rgba(217,154,37,.28),transparent 70%),
    radial-gradient(closest-side at 70% 20%,rgba(46,158,68,.20),transparent 70%);
  filter:blur(6px);
  pointer-events:none;
}
.tt-phone{
  position:relative;
  aspect-ratio:39/80;
  background:linear-gradient(155deg,#1a4a38 0%,#0f2d24 55%,#0a2019 100%);
  border:1px solid rgba(217,154,37,.55);
  border-radius:48px;
  box-shadow:
    0 34px 60px rgba(13,32,25,.35),
    0 6px 18px rgba(13,32,25,.25),
    inset 0 0 0 2px rgba(255,233,184,.14),
    inset 0 0 22px rgba(0,0,0,.45);
  transform:perspective(1200px) rotateY(var(--ry,-13deg)) rotateX(var(--rx,4deg));
  transform-style:preserve-3d;
  cursor:grab;
  touch-action:pan-y;
  user-select:none;
  -webkit-user-select:none;
}
.tt-phone:active{cursor:grabbing}
.tt-btn{position:absolute;background:linear-gradient(90deg,#0a2019,#1a4a38);border-radius:3px}
.tt-btn-r{right:-3px;top:170px;width:3px;height:86px}
.tt-btn-l1{left:-3px;top:140px;width:3px;height:52px}
.tt-btn-l2{left:-3px;top:200px;width:3px;height:52px}
.tt-screen{
  position:absolute;inset:11px;
  border-radius:38px;overflow:hidden;
  background:#f4f1e6;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.35);
}
.tt-shot{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:top center;
  opacity:0;transition:opacity .5s ease;
  pointer-events:none;
}
.tt-shot.is-on{opacity:1}
.tt-notch{
  position:absolute;top:9px;left:50%;transform:translateX(-50%);
  width:86px;height:22px;border-radius:999px;
  background:#0a2019;opacity:.92;pointer-events:none;
}
.tt-glare{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(112deg,rgba(255,255,255,.14) 0%,rgba(255,255,255,.03) 32%,transparent 55%);
}
.tt-cap{
  margin:20px auto 0;max-width:34ch;text-align:center;
  font-weight:700;font-size:1.02rem;line-height:1.45;
  color:var(--ink-soft,#4f5f55);
  min-height:2.9em;
}
.tt-dots{display:flex;gap:8px;justify-content:center;margin-top:10px}
.tt-dots span{
  width:8px;height:8px;border-radius:50%;
  background:rgba(120,110,80,.35);transition:background .3s ease,transform .3s ease;
}
.tt-dots span.is-on{background:var(--tt-gold);transform:scale(1.25)}
.tt-hint{
  margin:10px 0 0;text-align:center;
  font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-faint,#77867c);
}
/* Pinned scroll runway: homepage hero only (wrapper added there).
   Desktop + motion-safe only; everywhere else the hero is untouched
   and the phone still turns as it scrolls through the viewport. */
@media (min-width:921px) and (prefers-reduced-motion:no-preference){
  .tt-runway{height:195vh}
  .tt-runway .hero{position:sticky;top:58px}
}
@media (prefers-reduced-motion:reduce){
  .tt-shot{transition:none}
  .tt-phone{transform:perspective(1200px) rotateY(-10deg) rotateX(3deg)}
}
