/* Concept 02: TEMPO motion identity. Base styles are the finished logo; keyframes only run while .tempo is on screen and in motion mode. */
.tempo-concept{--tp-bg:#141113;--tp-cream:#f6efe4;--tp-coral:#ff5a47;margin-top:10px}
.tempo-intro{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:end;margin-bottom:26px}
.tempo-intro h3{margin:0;font:700 clamp(56px,7vw,104px)/.85 'Barlow Condensed','Arial Narrow',sans-serif;text-transform:uppercase;letter-spacing:-.02em;color:var(--tp-coral)}
.tempo-intro p{max-width:440px;margin:0;font-size:17px;line-height:1.55;color:var(--muted)}
.tempo{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:14px}

/* main stage */
.tp-stage{position:relative;display:grid;place-items:center;min-height:460px;overflow:hidden;border-radius:12px;background:radial-gradient(circle at 50% 55%,rgba(255,90,71,.18),transparent 60%),var(--tp-bg);color:var(--tp-cream)}
.tp-stage .concept-label{top:22px;left:24px;color:var(--tp-cream)}
.tp-main{font-size:clamp(84px,10.5vw,168px)}
.tp-modes{position:absolute;right:20px;top:16px;z-index:3;display:flex;padding:3px;border:1px solid rgba(246,239,228,.3);border-radius:30px}
.tp-modes button,.tp-pause{min-height:36px;padding:0 13px;border:0;border-radius:30px;background:transparent;color:var(--tp-cream);font:500 12px/1 'DM Sans',sans-serif}
.tp-modes button[aria-pressed=true]{background:var(--tp-coral);color:var(--tp-bg)}
.tp-pause{position:absolute;right:20px;bottom:18px;z-index:3;min-height:40px;border:1px solid rgba(246,239,228,.4)}
.tp-modes button:focus-visible,.tp-pause:focus-visible{outline:3px solid var(--tp-coral);outline-offset:2px}

/* the logo, sized in em so every mockup reuses it */
.tp-mark{--fg:var(--tp-cream);--acc:var(--tp-coral);position:relative;display:inline-flex;align-items:flex-end;padding-bottom:.24em;color:var(--fg);font:700 1em/.78 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:-.01em;text-transform:uppercase}
.tp-a,.tp-b{display:inline-block}
.tp-o{position:relative;display:inline-block;width:.6em;height:.7em;margin:0 0 .01em .05em}
.tp-o i{position:absolute;inset:0;border-radius:50%}
.tp-ring{border:.12em solid var(--fg)}
.tp-dot{inset:auto!important;left:50%!important;top:50%!important;width:.34em;height:.34em;margin:-.17em 0 0 -.17em;background:var(--acc);transform:scale(.42)}
.tp-ripple{border:2px solid var(--acc);opacity:0}
.tp-wave{position:absolute;left:0;right:0;bottom:0;width:100%;height:.16em;overflow:visible}
.tp-wave path{fill:none;stroke:var(--acc);stroke-width:2.5;vector-effect:non-scaling-stroke;stroke-linecap:round}

/* three places the identity lives */
.tp-apps{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr;gap:14px}
.tp-app{position:relative;overflow:hidden;border-radius:12px;background:#1f1a1d}
.tp-web{grid-column:1/-1}
.tp-bar{display:flex;gap:5px;padding:9px 12px;background:#2a2326}
.tp-bar i{width:7px;height:7px;border-radius:50%;background:rgba(246,239,228,.35)}
.tp-web-hero{position:relative;display:grid;place-items:center;align-content:center;gap:10px;height:150px;background:var(--tp-bg)}
.tp-web-hero .tp-mark{font-size:44px}
.tp-lines{display:grid;gap:5px;justify-items:center}
.tp-lines i{display:block;width:120px;height:5px;border-radius:3px;background:rgba(246,239,228,.18)}
.tp-lines i+i{width:70px}
.tp-wipe{position:absolute;inset:0;background:var(--tp-coral);transform:translateX(-101%)}
.tp-post{display:flex;flex-direction:column;background:var(--tp-cream);color:var(--tp-bg)}
.tp-post-head{display:flex;align-items:center;gap:7px;padding:9px 10px;font:700 11px/1 'DM Sans',sans-serif}
.tp-post-head i{width:16px;height:16px;border-radius:50%;background:var(--tp-coral)}
.tp-post-media{display:grid;flex:1;place-items:center;min-height:120px;background:var(--tp-bg)}
.tp-post-media .tp-mark{font-size:32px}
.tp-post-foot{display:flex;align-items:center;gap:7px;padding:8px 10px;font:600 11px/1 'DM Sans',sans-serif}
.tp-heart{width:17px;height:17px;fill:var(--tp-coral);stroke:var(--tp-coral);stroke-width:2;transform-origin:center}
.tp-phone{display:grid;place-items:center;padding:14px 0;background:#1f1a1d}
.tp-phone-screen{position:relative;display:grid;place-items:center;width:min(104px,70%);aspect-ratio:9/18;border:5px solid #0c0a0b;border-radius:18px;background:var(--tp-coral)}
.tp-phone .tp-mark{--fg:var(--tp-bg);--acc:var(--tp-cream);font-size:26px}
.tp-load{position:absolute;left:18%;right:18%;bottom:16%;height:3px;border-radius:2px;background:rgba(20,17,19,.25);overflow:hidden}
.tp-load i{display:block;width:100%;height:100%;background:var(--tp-bg)}
.tempo-foot{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-top:18px}
.tempo-foot p{margin:0;font-size:15px;line-height:1.6}
.tempo-foot span{font-size:12px;color:var(--muted)}

/* timeline: 5s loop; each mockup starts a little later so the identity travels across them */
.tempo .tp-mark *,.tempo .tp-wipe,.tempo .tp-heart,.tempo .tp-load i{animation-duration:5s;animation-iteration-count:infinite;animation-delay:var(--d,0s);animation-fill-mode:both}
.tp-web{--d:.4s}.tp-post{--d:.8s}.tp-phone{--d:1.2s}
.tempo .tp-dot{animation-name:tp-dot}
.tempo .tp-a{animation-name:tp-a}
.tempo .tp-b{animation-name:tp-b}
.tempo .tp-ring{animation-name:tp-ring}
.tempo .tp-ripple{animation-name:tp-ripple}
.tempo .tp-wave{animation-name:tp-wave}
.tempo .tp-wipe{animation-name:tp-wipe;animation-timing-function:cubic-bezier(.7,0,.3,1)}
.tempo .tp-heart{animation-name:tp-heart}
.tempo .tp-load i{animation-name:tp-load;animation-timing-function:linear}
.tempo:not(.is-on) *,.tempo.is-paused *{animation-play-state:paused!important}
.tempo.is-still *{animation:none!important}
.tempo.is-still .tp-pause{display:none}

@keyframes tp-dot{0%{opacity:0;transform:translateY(-1.4em) scale(1)}3%{opacity:1}7%{transform:translateY(0) scale(1)}10%{transform:scale(1.55)}13%{transform:scale(1)}20%{transform:scale(1.55)}23%{transform:scale(1)}30%{transform:scale(1.55)}33%{transform:scale(1)}42%,92%{opacity:1;transform:scale(.42)}100%{opacity:0;transform:scale(.42)}}
@keyframes tp-a{0%,9%{opacity:0;transform:translateY(.3em) scale(.9)}11%{opacity:1;transform:translateY(-.04em) scale(1.08)}15%,92%{opacity:1;transform:none}100%{opacity:0;transform:none}}
@keyframes tp-b{0%,19%{opacity:0;transform:translateY(.3em) scale(.9)}21%{opacity:1;transform:translateY(-.04em) scale(1.08)}25%,92%{opacity:1;transform:none}100%{opacity:0;transform:none}}
@keyframes tp-ring{0%,36%{opacity:0;transform:scale(.3)}42%{opacity:1;transform:scale(1.12)}46%,92%{opacity:1;transform:none}100%{opacity:0;transform:none}}
@keyframes tp-ripple{0%,45%{opacity:0;transform:scale(1)}46%{opacity:.9;transform:scale(1)}62%,100%{opacity:0;transform:scale(2.8)}}
@keyframes tp-wave{0%,29%{clip-path:inset(0 100% 0 0);opacity:1}40%,92%{clip-path:inset(0 0 0 0);opacity:1}100%{clip-path:inset(0 0 0 0);opacity:0}}
@keyframes tp-wipe{0%{transform:translateX(-101%)}6%{transform:translateX(0)}12%,100%{transform:translateX(101%)}}
@keyframes tp-heart{0%,44%{transform:scale(1);fill:transparent}48%{transform:scale(1.45);fill:var(--tp-coral)}53%,92%{transform:scale(1);fill:var(--tp-coral)}100%{transform:scale(1);fill:transparent}}
@keyframes tp-load{0%{transform:translateX(-100%)}42%,92%{transform:translateX(0)}100%{transform:translateX(0);opacity:0}}

@media(max-width:800px){
  .tempo-intro{grid-template-columns:1fr;gap:12px}
  .tempo{grid-template-columns:1fr}
  .tp-stage{min-height:300px}
  .tp-main{font-size:clamp(70px,24vw,120px)}
  .tp-modes{top:auto;bottom:16px;left:16px;right:auto}
  .tp-pause{bottom:16px;right:16px}
  .tp-web-hero{height:120px}
  .tempo-foot{flex-direction:column}
}
