/* EBS Trading → Absolut Bikes B.V.: the EBS cyclist rides in from the right, stops, rides on – and Absolut Bikes appears where he stood */
:root { --red: #e6204d; --ink: #3f3f3b; --black: #0f0f0f; --text: #24262a; --muted: #6b6f75; --line: #e7e4e1; --paper: #faf9f8; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; min-height: 100vh; display: flex; color: var(--text); background: var(--paper); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.page { margin: auto; width: 100%; max-width: 680px; padding: 48px 24px 40px; text-align: center; overflow: hidden; }

/* the stage: the cyclist and the new logo on the same spot */
.stage { position: relative; height: clamp(150px, 30vw, 210px); margin: 0 auto 26px; }
.rider { position: absolute; left: 50%; bottom: 0; width: clamp(150px, 32vw, 220px); transform: translateX(-50%); animation: ride 4.6s cubic-bezier(.45, .05, .35, 1) .2s both; }
.ebs { display: block; width: 100%; height: auto; }
.ebs path, .ebs rect, .ebs polygon, .ebs ellipse { fill: var(--black); }
#spaken, #spaken-2 { transform-box: fill-box; transform-origin: center; animation: spin .55s linear infinite; }
.arrow { display: none; }
.newlogo { position: absolute; left: 50%; top: 50%; width: min(420px, 86vw); height: auto; transform: translate(-50%, -50%); opacity: 0; animation: appear .9s cubic-bezier(.2, .7, .2, 1) 4.1s both; }

/* he faces left: in from the right, off to the left, the wheels turning that way */
@keyframes ride {
    0%   { transform: translateX(calc(-50% + 70vw)); }
    40%  { transform: translateX(-50%); }
    62%  { transform: translateX(-50%); }
    100% { transform: translateX(calc(-50% - 75vw)); opacity: 1; }
}
@keyframes spin { to { transform: rotate(-360deg); } }
@keyframes appear { from { opacity: 0; transform: translate(-50%, -40%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes strike { from { background-size: 0 2px; } to { background-size: 100% 2px; } }

/* the text: the old name, struck through once he rides off, then the new one */
.old { margin: 0; display: inline-block; font-weight: 700; letter-spacing: .02em; color: var(--muted);
    background: linear-gradient(var(--red), var(--red)) no-repeat 0 55% / 0 2px; animation: rise .6s ease-out .9s both, strike .5s ease-in 3.2s both; }
h1 { margin: 4px 0 14px; font-size: clamp(1.5rem, 4.6vw, 2.1rem); font-weight: 600; line-height: 1.25; color: var(--ink); animation: rise .7s ease-out 4.5s both; }
h1 strong { color: var(--red); font-weight: 750; }
.lead { margin: 0 auto 6px; max-width: 32rem; color: var(--muted); animation: rise .7s ease-out 4.7s both; }
.en { margin: 0 0 26px; font-size: .9rem; color: #9a9da2; animation: rise .7s ease-out 4.8s both; }
.go { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 650;
    animation: rise .7s ease-out 5s both; transition: background .2s; }
.go::after { content: "→"; color: #ff8aa5; transition: transform .2s, color .2s; }
.go:hover, .go:focus-visible { background: var(--red); }
.go:hover::after, .go:focus-visible::after { color: #fff; transform: translateX(3px); }
.go:focus-visible { outline: 3px solid rgba(230, 32, 77, .35); outline-offset: 3px; }
.countdown { margin: 16px 0 0; font-size: .88rem; color: var(--muted); }
.countdown button { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; cursor: pointer; }
address { margin-top: 42px; padding-top: 16px; border-top: 1px solid var(--line); font-style: normal; font-size: .85rem; color: var(--muted); animation: rise .7s ease-out 5.2s both; }

/* no motion: the two logos side by side, an arrow between them, everything at once */
@media (prefers-reduced-motion: reduce) {
    .stage { display: flex; align-items: center; justify-content: center; gap: 22px; height: auto; }
    .rider, .newlogo { position: static; transform: none; animation: none; opacity: 1; }
    .rider { width: 110px; }
    .newlogo { width: min(300px, 55vw); }
    .arrow { display: block; font-size: 2rem; color: var(--red); }
    #spaken, #spaken-2 { animation: none; }
    .old, h1, .lead, .en, .go, address { animation: none; }
    .old { text-decoration: line-through; text-decoration-color: var(--red); background: none; }
}
@media (max-width: 520px) { .page { padding-top: 32px; } }
