/* rwxce shelf. Plain CSS, no build step. */

@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0e0f13;
  --ink-2: #2a2c35;
  --base: #f6f4ff;
  --accent: #ff4a1c;
  --lime: #c8f53c;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: clamp(20px, 4.5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
img, svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- Background haze: CSS port of the design's mesh glow ---------- */
.page { position: relative; overflow: hidden; min-height: 100vh; }
.haze { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* Two unpainted-edge, rectangular gradient layers drift slowly. No blur filter, no radius. */
.haze::before, .haze::after { content: ""; position: absolute; inset: -6% -10%; }
.haze::before {
  background:
    radial-gradient(ellipse 55% 9% at 50% 9%, #ffffffee, #ffffff00 72%),
    radial-gradient(ellipse 48% 12% at 0% 0%, #c9b8ffd9, #c9b8ff00 72%),
    radial-gradient(ellipse 46% 11% at 100% 3%, #8fb2ffcc, #8fb2ff00 72%),
    radial-gradient(ellipse 38% 9% at 96% 21%, #ff7a1a8c, #ff7a1a00 72%),
    radial-gradient(ellipse 42% 10% at 0% 30%, #ffe27ab3, #ffe27a00 72%);
  animation: haze-a 34s ease-in-out infinite alternate;
}
.haze::after {
  background:
    radial-gradient(ellipse 50% 11% at 100% 60%, #c9b8ffbf, #c9b8ff00 72%),
    radial-gradient(ellipse 48% 11% at 0% 72%, #8fb2ffb3, #8fb2ff00 72%),
    radial-gradient(ellipse 44% 10% at 30% 90%, #ff9bb8b3, #ff9bb800 72%),
    radial-gradient(ellipse 44% 10% at 90% 99%, #ff7a1a80, #ff7a1a00 72%);
  animation: haze-b 42s ease-in-out infinite alternate;
}
.grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .2 0 0 0 0 .25 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes haze-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(4%, 1.5%, 0); } }
@keyframes haze-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-4%, -1.2%, 0); } }

.wrap { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Header ---------- */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 28px; border-bottom: 2px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.brand-name { font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.brand-perm { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.navlink { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 14px; font-family: var(--mono); font-size: 14px; text-decoration: none; }
.navlink:hover { text-decoration: underline; }
.navlink.pill { padding-inline: 18px; border: 2px solid var(--ink); border-radius: 999px; }
.lang { display: flex; align-items: center; font-family: var(--mono); font-size: 14px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.lang a:hover { text-decoration: underline; color: var(--ink); }
.lang a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.lang .sep { color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.eyebrow { margin: 0 0 clamp(24px, 3vw, 40px); font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hero h1 { margin: 0; font-size: clamp(48px, 11.5vw, 168px); line-height: .92; font-weight: 700; letter-spacing: -.045em; }
:lang(es) .hero h1, :lang(ca) .hero h1 { font-size: clamp(38px, 10.4vw, 152px); }
.hero h1 > span { display: block; }
/* The tilt lives on an unpainted wrapper; the painted chip inside has no transform (Safari corners). */
.hero h1 > .tilt { display: inline-block; margin-top: .08em; transform: rotate(-2deg); transform-origin: left center; }
.chip-accent { display: inline-block; padding: .02em .16em .08em; background: var(--accent); border-radius: .12em; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(40px, 5vw, 72px); }
.intro { margin: 0; max-width: 520px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; text-wrap: pretty; }
.counter { display: flex; align-items: center; gap: 20px; }
.counter-badge { position: relative; width: 112px; height: 112px; flex: none; }
.counter-ring { position: absolute; inset: 0; width: 112px; height: 112px; animation: spin 18s linear infinite; }
.counter-num { position: absolute; inset: 12px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.counter-text { font-family: var(--mono); font-size: 14px; line-height: 1.6; }
.counter-text strong { display: block; }
.counter-text span { display: block; color: var(--ink-2); }
.blink { animation: blink 1.1s steps(1) infinite; }

/* ---------- Shelf ---------- */
.shelf { display: flex; flex-direction: column; gap: 24px; padding-bottom: clamp(64px, 8vw, 112px); scroll-margin-top: 16px; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.shelf-head h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.search { position: relative; display: none; align-items: center; flex: 0 1 380px; min-width: min(260px, 100%); }
.js .search { display: flex; }
.search svg { position: absolute; left: 18px; pointer-events: none; }
.search input { width: 100%; min-height: 52px; margin: 0; padding: 0 20px 0 46px; border: 2px solid var(--ink); border-radius: 999px; background: rgba(255, 255, 255, .72); color: var(--ink); font-family: var(--mono); font-size: 16px; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--ink-2); opacity: 1; }
.search input:focus { outline: 3px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Hover lift on an unpainted wrapper, never on the rounded plate itself. */
.lift { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.lift:hover { transform: translateY(-6px) rotate(-.4deg); }
.plate { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(28px, 4vw, 56px); padding: clamp(24px, 4vw, 56px); border-radius: 32px; }
.plate-body { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.plate-meta { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 14px; }
.plate-num { padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.plate h3 { margin: 0; font-size: clamp(36px, 5vw, 68px); line-height: .98; font-weight: 700; letter-spacing: -.04em; overflow-wrap: anywhere; }
.plate-desc { margin: 0; max-width: 480px; font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 13px; }
.tags li { padding: 6px 12px; border: 1px solid; border-radius: 999px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.cta { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding-inline: 24px; border-radius: 999px; font-size: 17px; font-weight: 700; text-decoration: none; }
.cta svg { transition: transform .2s ease; }
.cta:hover svg { transform: translate(3px, -3px); }
.src { display: inline-flex; align-items: center; min-height: 52px; padding-inline: 20px; font-family: var(--mono); font-size: 14px; text-decoration: none; }
.src:hover { text-decoration: underline; }

/* 001 */
.plate-kit { background: var(--ink); color: #f2f3ee; }
.plate-kit .plate-num { background: var(--lime); color: var(--ink); }
.plate-kit .plate-kind { color: #b9bcc6; }
.plate-kit .plate-desc { color: #d9dbe1; }
.plate-kit .tags li { border-color: #5b5f6b; }
.plate-kit .cta { background: var(--lime); color: var(--ink); }
.plate-kit .src { color: #f2f3ee; }
.term-col { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.term-tilt { transform: rotate(1.5deg); }
.term { border: 1px solid #3a3d47; border-radius: 20px; background: #16181f; padding: clamp(20px, 3vw, 36px); font-family: var(--mono); font-size: clamp(13px, 1.25vw, 17px); line-height: 2.1; overflow-wrap: anywhere; }
.term-dots { display: flex; gap: 8px; padding-bottom: 14px; }
.term-dots span { width: 11px; height: 11px; border-radius: 50%; background: #3a3d47; }
.term-dots span:last-child { background: var(--lime); }
.term .p { color: var(--lime); }
.term .o { color: #b9bcc6; }
.term .cursor { display: inline-block; width: .6em; height: 1.1em; vertical-align: text-bottom; background: var(--lime); }

/* 002 */
.plate-mem { background: #cdd2ff; color: #14153a; }
.plate-mem .plate-num { background: #14153a; color: #fff; }
.plate-mem .plate-kind { color: #2d2f6b; }
.plate-mem .plate-desc { color: #1f2052; }
.plate-mem .tags li { border-color: #5559a8; }
.plate-mem .cta { background: #14153a; color: #fff; }
.plate-mem .src { color: #14153a; }
.mem-art { position: relative; min-height: 400px; min-width: 0; }
/* Each float = unpainted moving wrapper (.fl) > rotated wrapper > painted card + painted drop plate. */
.fl { position: absolute; animation: bob 6s ease-in-out infinite; }
.fl > div { position: relative; }
.card { position: relative; background: #fff; }
.drop { position: absolute; inset: 0; transform: translateY(12px); background: rgba(20, 21, 58, .14); }
.fl-chat { left: 0; top: 10%; width: 54%; }
.fl-chat > div { rotate: -3deg; }
.fl-chat .card, .fl-chat .drop { border-radius: 22px 22px 22px 6px; }
.fl-chat .card { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.bar { display: block; border-radius: 5px; }
.fl-chat .bar { height: 10px; }
.fl-photo { right: 2%; top: 0; width: 38%; max-width: 230px; animation-delay: -2s; }
.fl-photo > div { rotate: 5deg; }
.fl-photo .card, .fl-photo .drop { border-radius: 10px; }
.fl-photo .card { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 14px; }
.photo { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 4px; background: #3b2fe0; overflow: hidden; }
.photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun { animation: sun 6s ease-in-out infinite; }
.photo-lines { display: flex; flex-direction: column; gap: 6px; padding-inline: 2px; }
.photo-lines .bar { height: 7px; border-radius: 4px; }
.fl-voice { left: 8%; bottom: 3%; width: 76%; animation-delay: -4s; }
.fl-voice > div { rotate: 2deg; }
.fl-voice .card, .fl-voice .drop { border-radius: 36px; }
.fl-voice .card { background: #14153a; padding: 14px 20px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.voice-row { display: flex; align-items: center; gap: 14px; }
.play { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #cdd2ff; }
.wv { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; height: 36px; overflow: hidden; }
.wv span { display: block; flex: none; width: 4px; border-radius: 2px; background: #cdd2ff; animation: wave 1.1s ease-in-out infinite; }
.wv span:nth-child(3n) { animation-delay: -.35s; }
.wv span:nth-child(3n+1) { animation-delay: -.7s; }
.wv span:nth-child(4n) { animation-duration: .8s; }
.wv span:nth-child(5n) { animation-duration: 1.4s; }
.track { display: block; height: 4px; margin-left: 54px; border-radius: 2px; background: #3a3c78; overflow: hidden; }
.track span { display: block; height: 100%; background: #cdd2ff; transform-origin: left center; animation: prog 9s linear infinite; }

/* 003 */
.plate-zl { position: relative; align-items: center; padding: clamp(28px, 4.4vw, 64px); background: #1622ee; color: #fff; overflow: hidden; isolation: isolate; }
/* CSS port of the design's blob glow: no canvas, no blur filter, no transform on the clipped layer (Safari). */
.z-glow { position: absolute; left: -90%; right: -20%; top: -30%; bottom: -30%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 17% 25% at 41% 47%, #fff4c4e6, #ffe27a99 40%, #ffe27a00 100%),
    radial-gradient(ellipse 27% 22% at 64% 86%, #ffe27ab3, #ffe27a00 72%),
    radial-gradient(ellipse 31% 22% at 51% 17%, #b9cdffd9, #8fb2ff00 72%),
    radial-gradient(ellipse 31% 33% at 49% 50%, #8fb2ff99, #8fb2ff00 75%),
    radial-gradient(ellipse 34% 44% at 93% 46%, #8a7ff7, #6a5ef200 75%),
    radial-gradient(ellipse 42% 58% at 74% 50%, #4b44f2, #4b44f200 75%);
  background-size: 115% 115%; background-position: 0% 0%;
  animation: z-glow 18s ease-in-out infinite alternate; }
.plate-zl::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .38; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.plate-zl > .plate-body { position: relative; z-index: 2; }
.plate-zl > .z-art { z-index: 1; }
.plate-zl .plate-body { gap: 28px; }
.plate-zl .plate-num { background: #ffe27a; color: #0e1130; }
.plate-zl .plate-kind { color: #e2e5ff; }
.plate-zl .z-titles { display: flex; flex-direction: column; gap: 18px; }
.plate-zl h3 { font-size: clamp(56px, 8vw, 120px); line-height: .86; letter-spacing: -.06em; }
.z-dot, .z-tag span { color: #ffe27a; }
.z-tag { margin: 0; max-width: 15ch; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.plate-zl .plate-desc { max-width: 400px; font-size: 17px; line-height: 1.55; color: #e2e5ff; }
.plate-zl .actions { gap: 18px; margin-top: 0; padding-top: 4px; }
.plate-zl .cta { min-height: 56px; padding-inline: 28px; background: #ffe27a; color: #0e1130; }
.z-url { font-family: var(--mono); font-size: 13px; color: #e2e5ff; }
.z-art { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: center; min-width: 0; }
/* The illustration is drawn at a fixed 600 px and scaled to the column (site.js sets --zs), so it keeps the design's proportions at any width. */
.z-inner { position: absolute; left: 0; top: 0; width: 600px; height: 600px; transform-origin: 0 0; transform: scale(var(--zs, 1)); }
/* Soft solid "drop" plates stand in for the design's blurred shadows. */
.z-drop { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(5, 6, 40, .32); transform: translate(0, 18px); }
.z-site { left: 0; top: 18%; width: 56%; animation-duration: 8s; rotate: -7deg; border-radius: 18px; }
.z-site-card { position: relative; border-radius: 18px; background: rgba(255, 255, 255, .96); color: #0e1130; overflow: hidden; }
.z-site-bar { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid #eceef8; }
.z-dots { display: flex; gap: 5px; }
.z-dots span { width: 8px; height: 8px; border-radius: 50%; background: #e1e4f2; }
.z-address { display: flex; align-items: center; flex: 1; min-width: 0; height: 26px; padding-inline: 12px; border-radius: 999px; background: #f2f3fa; font-family: var(--mono); font-size: 12px; color: #3a3e5c; }
.ztype { display: block; overflow: hidden; white-space: nowrap; animation: ztype 6s steps(11) infinite; }
.z-caret { display: block; width: 1.5px; height: 13px; margin-left: 1px; background: #1622ee; }
.z-site-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 22px; }
.z-brand { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.z-brand span { width: 14px; height: 14px; border-radius: 4px; background: #0e1130; }
.z-site-head { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.z-line { display: block; height: 6px; border-radius: 3px; background: #e1e4f2; }
.z-hero { display: block; aspect-ratio: 16 / 7; margin-top: 4px; border-radius: 10px; background: linear-gradient(110deg, #e6e9ff 30%, #fff 50%, #e6e9ff 70%); background-size: 250% 100%; animation: zscan 1.8s linear infinite; }
.z-stack { position: absolute; right: 6%; top: 3%; width: 44%; aspect-ratio: 9 / 18.5; rotate: 6deg; }
.z-back { position: absolute; inset: 0; }
.z-back div { width: 100%; height: 100%; border-radius: 30px; }
.z-b1 { translate: 14% 3%; rotate: 8deg; }
.z-b1 div { background: #ff7a1a; }
.z-b2 { translate: 7% 1.5%; rotate: 4deg; }
.z-b2 div { background: #fff; }
.z-phone-fl { inset: 0; border-radius: 34px; animation-duration: 7s; animation-delay: -2s; }
.z-drop-phone { background: rgba(5, 6, 40, .4); transform: translate(0, 24px); }
.z-phone-fl > .z-phone { position: absolute; inset: 0; box-sizing: border-box; padding: 3.2%; border-radius: 34px; background: #0e1130; outline: 1.5px solid rgba(255, 255, 255, .16); outline-offset: -1.5px; }
.z-screen { position: relative; width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #0e1130; }
.z-track { position: absolute; inset: 0; display: flex; width: 400%; animation: ztrack 12s cubic-bezier(.7, 0, .2, 1) infinite; }
.z-slide { position: relative; flex: 0 0 25%; box-sizing: border-box; height: 100%; padding: 7.5% 6.5% 11.5% 2.25%; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; color: #0e1130; }
.z-sl0 { background: #ffe27a; } .z-sl1 { background: #fff; } .z-sl2 { background: #ff7a1a; } .z-sl3 { background: #1a1f4d; color: #fff; }
.z-n { position: absolute; right: -6%; top: 14%; font-size: 110px; font-weight: 700; letter-spacing: -.06em; line-height: 1; opacity: .1; }
.z-chip { position: relative; align-self: flex-start; padding: 2px 7px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 10px; font-weight: 700; }
.z-hook { position: relative; font-size: 21px; font-weight: 700; line-height: 1.02; letter-spacing: -.03em; overflow-wrap: break-word; hyphens: auto; }
.z-shade-top, .z-shade-bottom { position: absolute; left: 0; right: 0; pointer-events: none; }
.z-shade-top { top: 0; height: 22%; background: linear-gradient(rgba(0, 0, 0, .32), rgba(0, 0, 0, 0)); }
.z-shade-bottom { bottom: 0; height: 42%; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .55)); }
.z-tabs { position: absolute; left: 0; right: 0; top: 4.5%; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.z-tabs svg { position: absolute; right: 7%; }
.z-dim { opacity: .7; }
.z-active { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.z-active span { width: 14px; height: 2px; border-radius: 1px; background: #fff; }
/* Slide progress: same inset on both sides. */
.z-bars { position: absolute; left: 6%; right: 6%; top: 12%; display: flex; gap: 3px; }
.z-bars > span { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.z-bars i { display: block; height: 100%; background: #fff; transform-origin: left center; }
.zs0 { animation: zs0 12s linear infinite; } .zs1 { animation: zs1 12s linear infinite; } .zs2 { animation: zs2 12s linear infinite; } .zs3 { animation: zs3 12s linear infinite; }
.z-rail { position: absolute; right: 3%; bottom: 17%; display: flex; flex-direction: column; align-items: center; gap: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.z-avatar { position: relative; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 50%; background: #1622ee; border: 1.5px solid #fff; box-sizing: border-box; font-size: 10px; font-weight: 700; }
.z-avatar span { position: absolute; left: 50%; bottom: -7px; display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: #ff3b5c; font-size: 12px; line-height: 1; }
.z-ico { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; font-weight: 700; }
.z-ico svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.z-disc { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: #20232e; border: 5px solid #3a3d4a; box-sizing: border-box; animation: spin 4s linear infinite; }
.z-disc span { width: 8px; height: 8px; border-radius: 50%; background: #1622ee; }
.z-caption { position: absolute; left: 6%; right: 24%; bottom: 11%; display: flex; flex-direction: column; gap: 4px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.z-handle { font-size: 12px; font-weight: 700; }
.z-cap { font-size: 10.5px; line-height: 1.3; opacity: .95; }
.z-sound { display: flex; align-items: center; gap: 4px; font-size: 10px; overflow: hidden; white-space: nowrap; }
.z-sound svg { flex: none; }
.z-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 8.5%; padding-inline: 4%; display: flex; align-items: center; justify-content: space-around; background: #000; }
.z-plus { display: flex; align-items: center; justify-content: center; width: 28px; height: 18px; border-radius: 6px; background: #fff; color: #000; font-size: 15px; font-weight: 700; line-height: 1; }
.z-toast { position: absolute; left: 14%; bottom: 8%; transform-origin: left center; animation: zpop 6s cubic-bezier(.2, .8, .2, 1) infinite both; }
.z-toast > div { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: #0e1130; white-space: nowrap; outline: 6px solid rgba(5, 6, 40, .12); }
.z-toast svg:first-child { flex: none; }
.z-toast-text { display: flex; flex-direction: column; gap: 1px; }
.z-toast-text strong { font-size: 14px; }
.z-toast-text span { font-family: var(--mono); font-size: 11px; color: #3a3e5c; }
.z-check { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #1622ee; }

/* Empty state */
.empty { margin: 0; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: rgba(255, 255, 255, .72); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }

/* 004 (next) */
.plate-next { display: flex; flex-direction: column; border-radius: 32px; border: 2px dashed var(--ink); background: rgba(255, 255, 255, .4); overflow: hidden; }
.next-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.next-title { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.plate-next .plate-num { background: var(--accent); color: var(--ink); font-family: var(--mono); font-size: 14px; }
.plate-next h3 { margin: 0; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
.next-note { margin: 0; max-width: 360px; font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.stripes { height: 14px; background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, var(--accent) 12px 24px); background-size: 68px 100%; animation: stripes 2.4s linear infinite; }

/* ---------- Footer ---------- */
.site-footer { display: flex; flex-direction: column; gap: 32px; padding-block: clamp(40px, 5vw, 64px) 40px; border-top: 2px solid var(--ink); }
.wordmark { font-size: clamp(80px, 23vw, 330px); line-height: .8; font-weight: 700; letter-spacing: -.06em; white-space: nowrap; }
.wordmark .tilt { display: inline-block; transform: rotate(-4deg); }
.wordmark .chip-accent { border-radius: .1em; padding: 0 .04em .06em; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 14px; }
.foot-row span { color: var(--ink-2); }
.foot-row a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; }
.foot-row a:hover { text-decoration: underline; }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes sun { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-4px); } }
@keyframes stripes { to { background-position: 68px 0; } }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes z-glow { to { background-position: 100% 60%; } }
@keyframes ztrack { 0%, 22% { transform: translateX(0); } 25%, 47% { transform: translateX(-25%); } 50%, 72% { transform: translateX(-50%); } 75%, 97% { transform: translateX(-75%); } 100% { transform: translateX(0); } }
@keyframes zs0 { 0% { transform: scaleX(0); } 25%, 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes zs1 { 0%, 25% { transform: scaleX(0); } 50%, 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes zs2 { 0%, 50% { transform: scaleX(0); } 75%, 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes zs3 { 0%, 75% { transform: scaleX(0); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes ztype { 0%, 8% { width: 0; } 30%, 92% { width: 11ch; } 100% { width: 0; } }
@keyframes zscan { to { background-position: -150% 0; } }
@keyframes zpop { 0%, 6% { transform: scale(.7) translateY(14px); opacity: 0; } 12%, 88% { transform: scale(1) translateY(0); opacity: 1; } 96%, 100% { transform: scale(.95) translateY(-6px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lift:hover { transform: none; }
  .ztype { width: 11ch; }
  .zs0, .zs1, .zs2, .zs3 { transform: scaleX(1); }
}
