/* The guides' short explainer clips (help/clips.js): a navy stage, one idea per scene. */
.ta-clip { --c-navy: #1a365d; --c-gold: #e9b100; --c-card: #f6f3ec; --c-ink: #16202c;
  position: relative; background: var(--c-navy); color: #fff; border-radius: 16px; overflow: hidden;
  margin: 8px 0 22px; font-family: Barlow, 'Segoe UI', Arial, sans-serif; aspect-ratio: 16 / 9; min-height: 300px; }
.ta-clip .stage { position: absolute; inset: 0 0 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 100%); gap: 4%; padding: 4% 5% 2%; align-items: center; }
.ta-clip .stage.solo { grid-template-columns: 1fr; text-align: center; }
.ta-clip .words { min-width: 0; }
.ta-clip h3 { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-weight: 700; font-size: clamp(20px, 3.2vw, 34px); line-height: 1.1; margin: 0 0 10px; color: #fff; text-wrap: balance; }
.ta-clip .stage.solo h3 { font-size: clamp(26px, 4.6vw, 52px); }
.ta-clip p { margin: 0 0 8px; font-size: clamp(14px, 1.8vw, 19px); line-height: 1.35; color: #e8edf3; }
.ta-clip p.s { font-size: clamp(12px, 1.4vw, 15px); color: #b9c6d6; }
.ta-clip .rule { width: 72px; height: 6px; border-radius: 3px; background: var(--c-gold); margin: 12px auto 0; }
.ta-clip .brand { font-family: 'Barlow Condensed', Arial, sans-serif; font-weight: 700; font-size: clamp(22px, 3vw, 34px); letter-spacing: .02em; margin-bottom: 8px; }
.ta-clip .brand span { color: var(--c-gold); }
.ta-clip .show { min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; gap: 4%; position: relative; }
.ta-clip .fadein { animation: ta-clip-in .5s ease both; }
.ta-clip .fadein.d1 { animation-delay: .35s; } .ta-clip .fadein.d2 { animation-delay: .7s; } .ta-clip .fadein.d3 { animation-delay: 1.05s; } .ta-clip .fadein.d4 { animation-delay: 1.4s; }
@keyframes ta-clip-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ta-clip .frame { background: #fff; overflow: hidden; box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.ta-clip .frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ta-clip .frame.web { border-radius: 10px; border-top: 14px solid #dfe5ec; width: 100%; max-height: 100%; aspect-ratio: 4 / 3; }
.ta-clip .frame.phone { border-radius: 22px; border: 6px solid #0d1b2e; height: 100%; aspect-ratio: 9 / 19; flex: none; }
.ta-clip .two .frame.web { width: 62%; }
.ta-clip .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ta-clip .stage.solo .chips { justify-content: center; }
.ta-clip .chip { background: var(--c-card); color: var(--c-ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: clamp(12px, 1.5vw, 16px); }
.ta-clip .chip.gold { background: var(--c-gold); color: var(--c-ink); }
.ta-clip .flow .chip + .chip::before { content: '→'; color: var(--c-gold); margin: 0 8px 0 -4px; font-weight: 700; }
.ta-clip .flow .chip.on { background: var(--c-gold); transition: background .3s; }
.ta-clip .tiles { position: relative; width: min(100%, 360px); }
.ta-clip .tile { position: absolute; left: 34px; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--c-card); color: var(--c-ink); border-radius: 8px; padding: 0 12px; font-weight: 600; font-size: clamp(11px, 1.4vw, 15px); transition: top .7s cubic-bezier(.4, .1, .2, 1), opacity .5s, box-shadow .3s, background .3s; border: 2px solid transparent; }
.ta-clip .tile small { font-weight: 400; color: #5a6675; margin-left: 6px; }
.ta-clip .tile b { font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 1.25em; }
.ta-clip .tile.hi { background: var(--c-gold); }
.ta-clip .tile.ring { border-color: var(--c-gold); }
.ta-clip .tile .tag { background: #2e7d4f; color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .78em; }
.ta-clip .pos { position: absolute; left: 0; width: 26px; text-align: right; font-family: 'Barlow Condensed', Arial, sans-serif; font-weight: 700; color: var(--c-gold); }
.ta-clip .vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; width: 100%; text-align: center; }
.ta-clip .vs .who { background: var(--c-card); color: var(--c-ink); border-radius: 18px; padding: 14px 8px; font-weight: 600; }
.ta-clip .vs .pts { font-family: 'Barlow Condensed', Arial, sans-serif; font-weight: 700; font-size: clamp(30px, 5vw, 60px); display: block; color: var(--c-navy); }
.ta-clip .vs .win { background: var(--c-gold); }
.ta-clip .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: rgba(0, 0, 0, .18); }
.ta-clip .bar button { background: none; border: 0; color: #fff; font: 600 14px Barlow, Arial, sans-serif; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.ta-clip .bar button:focus-visible { outline: 2px solid var(--c-gold); }
.ta-clip .dots { display: flex; gap: 6px; flex: 1; }
.ta-clip .dots button { width: 22px; height: 6px; padding: 0; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.ta-clip .dots button.on { background: var(--c-gold); }
@media (max-width: 640px) {
  .ta-clip { aspect-ratio: auto; min-height: 520px; }
  .ta-clip .stage { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding: 18px 16px 8px; }
  .ta-clip .show { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .ta-clip .fadein { animation: none; } .ta-clip .tile { transition: none; } }
.ta-clip .tile > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ta-clip .show .tiles { flex: 1 1 auto; min-width: 170px; }
