/* KREATE SOUNDZ website
   Two looks, both from the plugins:
   - grief (default): After Blog's night-purple cartoon ink world
   - .lc: Little Computer's plated-metal robot panel                       */

:root {
  --bg: #050307;
  --bg2: #15101f;
  --panel: rgba(14, 9, 22, .9);
  --ink: #040307;
  --cream: #f4edf2;
  --text: #e9e0f0;
  --lav: #c7b4f6;
  --violet: #9c6df3;
  --blue: #22a9e2;
  --sky: #8fd3ff;
  --pink: #ff7ab8;
  --dim: #8d84a6;
  --accent: var(--violet);
  --accent2: var(--blue);
  --hand: "Patrick Hand", "Ink Free", "Segoe Print", cursive;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --pixel: "VT323", ui-monospace, monospace;
  --r: 16px;
  --shadow: 5px 6px 0 var(--ink);
  --nav-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lav); }
::selection { background: var(--violet); color: #fff; }

/* ---------- sky: fixed background scene (the KREATE banner art) ---------- */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background: #050307 url(brand/banner.webp) center / cover no-repeat;
}
.sky::before { /* darken the middle so text stays readable; the art lives at the edges */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, rgba(5, 3, 7, .82), rgba(5, 3, 7, .45) 70%, rgba(5, 3, 7, .25)),
    linear-gradient(rgba(5, 3, 7, .35), rgba(5, 3, 7, .6));
}
.sky::after { /* print grain */
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* four-point sparkle like the brand art */
.spark { position: absolute; width: 22px; height: 22px; animation: twinkle var(--t, 4s) ease-in-out var(--d, 0s) infinite; filter: drop-shadow(0 0 6px rgba(220, 200, 255, .8)); }
.spark svg { width: 100%; height: 100%; display: block; }
.spark.px { width: 10px; height: 10px; background: #e6dbff; box-shadow: 10px 10px 0 #e6dbff, 10px -10px 0 rgba(156, 109, 243, .9); filter: none; opacity: .8; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.55) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(8deg); } }
.sparkle-ico { display: inline-block; width: .7em; height: .7em; vertical-align: .05em; }
@media (prefers-reduced-motion: reduce) { .spark, .orbit-spin, .bob, .dance, .floaty { animation: none !important; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 14px; padding: 0 22px;
  background: linear-gradient(rgba(5, 3, 7, .94), rgba(5, 3, 7, .78));
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 1px 0 rgba(199, 180, 246, .12);
}
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); flex: none; }
.nav .brand img { height: 30px; width: auto; filter: drop-shadow(0 0 10px rgba(156, 109, 243, .7)); }
.nav .brand span { font: 20px var(--hand); letter-spacing: 1px; color: var(--lav); }
.nav .links { display: flex; gap: 8px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav .links::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 14px; border-radius: 999px; text-decoration: none;
  font: 18px/1.2 var(--hand); letter-spacing: .5px; color: var(--lav);
  border: 2px solid rgba(199, 180, 246, .35); background: rgba(21, 16, 33, .6);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.pill:hover { border-color: var(--lav); color: var(--cream); transform: translateY(-1px); }
.pill.on { background: linear-gradient(90deg, var(--violet), var(--blue)); color: #fff; border-color: var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.pill.cta { background: var(--lav); color: var(--ink); border-color: var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.pill.cta:hover { background: #fff; }
@media (max-width: 720px) {
  .nav { padding: 0 12px; gap: 8px; }
  .nav .brand span { display: none; }
  .pill { font-size: 16px; padding: 4px 11px; }
}

/* ---------- layout ---------- */
main { padding-top: var(--nav-h); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
section { padding: 72px 0; position: relative; }
@media (max-width: 720px) { section { padding: 48px 0; } }

/* ---------- type ---------- */
h1, h2, h3, .hand { font-family: var(--hand); font-weight: 400; letter-spacing: .5px; }
.title {
  font-size: clamp(64px, 11vw, 136px); line-height: .9; margin: 0 0 10px; color: var(--cream);
  text-shadow:
    4px 6px 0 var(--violet),
    -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
    6px 8px 0 var(--ink);
  transform: rotate(-2deg); transform-origin: left center;
}
.tagline { font: clamp(22px, 2.6vw, 30px)/1.25 var(--hand); color: var(--lav); margin: 0 0 18px; }
.tagline b { color: var(--sky); font-weight: 400; }
h2.sec {
  font-size: clamp(38px, 5vw, 56px); line-height: 1; margin: 0 0 8px; color: var(--cream);
  text-shadow: 3px 4px 0 var(--violet), -1.5px -1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink);
}
h2.sec .star { color: var(--lav); font-size: .5em; vertical-align: super; text-shadow: none; margin-left: 4px; }
.sub { color: var(--dim); font-size: 17px; margin: 0 0 34px; max-width: 640px; }
.kicker { font: 15px var(--pixel); letter-spacing: 2px; text-transform: uppercase; color: var(--sky); }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--text); max-width: 560px; }

/* ---------- sticker card ---------- */
.card {
  position: relative; background: var(--panel); border-radius: var(--r);
  border: 3px solid var(--ink); box-shadow: var(--shadow), inset 0 0 0 1px rgba(199, 180, 246, .25);
  padding: 22px;
}
.card.wobble { border-color: transparent; }
.card.wobble::before { /* hand-drawn outline: wobbled by the SVG filter */
  content: ""; position: absolute; inset: -3px; border: 3px solid var(--ink); border-radius: inherit;
  filter: url(#wobble); pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 23px/1.1 var(--hand); letter-spacing: .5px; color: #fff;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .3);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 var(--ink), inset 0 2px 0 rgba(255, 255, 255, .3); filter: brightness(1.08); }
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: rgba(21, 16, 33, .8); color: var(--lav); }
.btn.small { font-size: 19px; padding: 8px 18px; }
.btn svg { width: 22px; height: 22px; }
.meta { font: 18px var(--pixel); letter-spacing: 1px; color: var(--dim); margin-top: 14px; }
.meta b { color: var(--lav); font-weight: 400; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; }
.hero .grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero .shot { position: relative; transform: rotate(1.5deg); }
.hero .shot .frame { border-radius: 18px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--ink), 0 0 80px rgba(156, 109, 243, .35); }
.hero .shot .mo { position: absolute; width: 92px; top: -64px; left: 18%; }
.hero .shot .krx { position: absolute; width: 150px; bottom: -58px; right: -30px; }
@media (max-width: 920px) {
  .hero { min-height: 0; }
  .hero .grid { grid-template-columns: 1fr; gap: 72px; }
  .hero .shot .krx { width: 110px; right: -6px; bottom: -48px; }
}
.bob { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.dance { animation: dance .52s steps(2) infinite; }
@keyframes dance { 0% { transform: translateY(0) rotate(-6deg); } 100% { transform: translateY(-6px) rotate(6deg); } }

/* ---------- interface map (what's what) ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1080px; margin-inline: auto; }
.map { position: relative; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.map .dot {
  position: absolute; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; padding: 0;
  font: 17px/1 var(--hand); color: var(--ink); background: var(--lav);
  border: 2.5px solid var(--ink); box-shadow: 2px 3px 0 var(--ink);
  transition: transform .15s, background .15s;
}
.map .dot:hover, .map .dot.hot { transform: scale(1.25); background: #fff; z-index: 2; }
.map .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lav); opacity: 0; animation: ping 2.6s ease-out infinite; animation-delay: calc(var(--i) * 130ms); }
@keyframes ping { 0% { opacity: .8; transform: scale(.7); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.map .tip {
  position: absolute; z-index: 3; pointer-events: none; max-width: 230px;
  padding: 8px 12px; border-radius: 10px; background: var(--cream); color: var(--ink);
  border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); font: 15px/1.35 var(--body);
  opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s;
}
.map .tip.show { opacity: 1; transform: none; }
.map .tip b { font: 19px var(--hand); display: block; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 14px; }
@media (max-width: 1000px) { .legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .legend { grid-template-columns: 1fr; } }
.legend li { display: flex; gap: 10px; padding: 6px 8px; border-radius: 10px; cursor: default; transition: background .15s; }
.legend li.hot { background: rgba(199, 180, 246, .12); }
.legend .n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 15px var(--hand); color: var(--ink); background: var(--lav); border: 2px solid var(--ink); margin-top: 2px; }
.legend b { font: 19px/1.1 var(--hand); color: var(--cream); font-weight: 400; display: block; }
.legend span.d { font-size: 14px; line-height: 1.4; color: var(--dim); display: block; }

/* ---------- views gallery ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { font: inherit; }
.tabs .pill { cursor: pointer; }
.gallery { max-width: 1080px; margin-inline: auto; }
.gallery .stage { position: relative; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--shadow); aspect-ratio: 2000 / 1388; background: #0b0910; }
.gallery .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.gallery .stage img.on { opacity: 1; }
.gallery .cap { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; min-height: 84px; }
.gallery .cap h3 { margin: 0; font-size: 28px; color: var(--cream); flex: none; min-width: 170px; }
.gallery .cap p { margin: 4px 0 0; color: var(--text); }
.gallery .nav-row { display: flex; align-items: center; gap: 14px; justify-content: flex-end; margin-top: 8px; }
.gallery .count { font: 18px var(--pixel); color: var(--dim); }
@media (max-width: 640px) { .gallery .cap { flex-direction: column; gap: 4px; } }

/* ---------- listen (A/B player, only shown when tracks are set) ---------- */
.listen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.ab { padding: 18px; }
.ab h3 { margin: 0 0 2px; font-size: 24px; color: var(--cream); }
.ab .row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ab .play { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink); background: var(--lav); color: var(--ink); cursor: pointer; box-shadow: 2px 3px 0 var(--ink); font-size: 18px; }
.ab .seg { display: flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.ab .seg button { font: 17px var(--hand); padding: 4px 12px; border: 0; cursor: pointer; background: rgba(21, 16, 33, .8); color: var(--dim); }
.ab .seg button.on { background: var(--violet); color: #fff; }
.ab .bar { flex: 1; height: 8px; border-radius: 9px; background: rgba(199, 180, 246, .15); overflow: hidden; }
.ab .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--blue)); }

/* ---------- signal flow ---------- */
.flow { overflow-x: auto; padding: 26px 22px 30px; scrollbar-color: var(--violet) transparent; }
.flow .chain { display: flex; align-items: center; gap: 10px; width: max-content; }
.flow .node {
  font: 19px/1.1 var(--hand); color: var(--cream); padding: 10px 14px; border-radius: 12px; text-align: center;
  background: var(--g, #1d1530); border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); white-space: nowrap;
}
.flow .node small { display: block; font: 13px var(--body); color: var(--dim); margin-top: 2px; }
.flow .node.k1 { --g: #2a1a4a; } .flow .node.k2 { --g: #1a2a48; } .flow .node.k3 { --g: #3a1a3a; } .flow .node.k4 { --g: #16354a; }
.flow .arr { color: var(--lav); font-size: 22px; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 26px; }
@media (max-width: 860px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stages { grid-template-columns: 1fr; } }
.stages h3 { margin: 0; font-size: 26px; color: var(--cream); }
.stages .k { font: 15px var(--pixel); letter-spacing: 1.5px; text-transform: uppercase; }
.stages div:nth-child(1) .k { color: var(--lav); } .stages div:nth-child(2) .k { color: var(--sky); }
.stages div:nth-child(3) .k { color: var(--pink); } .stages div:nth-child(4) .k { color: #7fe0c6; }
.stages p { font-size: 15px; color: var(--dim); margin-top: 6px; }

/* ---------- crew ---------- */
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .crew { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .crew { grid-template-columns: 1fr; } }
.crew .card { text-align: center; padding: 0 0 18px; overflow: hidden; transition: transform .2s; }
.crew .card > div { padding: 0 16px; }
.crew .card:hover { transform: rotate(-1.5deg) translateY(-4px); }
.crew img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 3px solid var(--ink); margin-bottom: 12px; transition: transform .4s; }
.crew .card:hover img { transform: scale(1.04); }
.crew .art-small { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-bottom: 3px solid var(--ink); margin-bottom: 12px; background: radial-gradient(circle at 50% 45%, rgba(156, 109, 243, .55), transparent 60%), #0b0712; }
.crew .art-small img { width: 70%; aspect-ratio: auto; border: 0; margin: 0; filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, .6)); }
.crew h3 { margin: 0; font-size: 30px; color: var(--cream); }
.crew .role { font: 14px var(--pixel); letter-spacing: 1.5px; text-transform: uppercase; color: var(--sky); }
.crew p { font-size: 15px; color: var(--dim); margin: 8px 0 0; }
.crew .blog { box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 122, 184, .4); }
.crew .blog .role { color: var(--pink); }

/* ---------- get it ---------- */
.get { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .get { grid-template-columns: 1fr; } }
.get .card { display: flex; flex-direction: column; gap: 6px; }
.get .fmt { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 14px var(--pixel); letter-spacing: 1px; padding: 1px 8px; border-radius: 6px; background: rgba(199, 180, 246, .14); color: var(--lav); border: 1px solid rgba(199, 180, 246, .3); }
.get h3 { margin: 6px 0 0; font-size: 34px; color: var(--cream); }
.get .note { font-size: 14px; color: var(--dim); flex: 1; }
.get .btn { margin-top: 10px; align-self: flex-start; }
.get .card.off { opacity: .55; }
.get .card.off .btn { pointer-events: none; filter: grayscale(.8); }

/* ---------- support ---------- */
.support { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .support { grid-template-columns: 1fr; } }
.price { text-align: center; padding: 28px; }
.price .lbl { font: 15px var(--pixel); letter-spacing: 2px; color: var(--dim); }
.price .amt { font: 84px/1 var(--hand); color: var(--cream); text-shadow: 3px 4px 0 var(--violet); margin: 6px 0 12px; }
.price .presets { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.price .presets button { cursor: pointer; }
.price input[type=range] { width: 100%; accent-color: var(--violet); margin: 4px 0 18px; }
.price small { display: block; color: var(--dim); font-size: 13px; margin-top: 12px; }

/* ---------- release cards (home) ---------- */
.releases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .releases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .releases { grid-template-columns: 1fr; } }
.rel { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.rel:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 7px 10px 0 var(--ink), inset 0 0 0 1px rgba(199, 180, 246, .25); }
.rel .pic { aspect-ratio: 16 / 10.5; overflow: hidden; border-bottom: 3px solid var(--ink); background: #0b0910; }
.rel .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
a.rel:hover .pic img { transform: scale(1.04); }
.rel .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rel h3 { margin: 0; font-size: 36px; line-height: 1; color: var(--cream); }
.rel .what { font: 15px var(--pixel); letter-spacing: 1.5px; text-transform: uppercase; color: var(--sky); }
.rel p { font-size: 15px; color: var(--dim); margin: 6px 0 10px; flex: 1; }
.rel .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.status { font: 15px var(--pixel); letter-spacing: 1px; padding: 2px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.status.out { background: #7fe0c6; color: var(--ink); }
.status.test { background: var(--lav); color: var(--ink); }
.status.soon { background: #2a2338; color: var(--dim); border-color: #2a2338; }
.rel.lab .pic { max-height: 240px; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #15101f 0 14px, #120d1b 14px 28px); }
.rel.lab .pic span { font: 64px var(--hand); color: rgba(199, 180, 246, .25); transform: rotate(-6deg); }

/* ---------- home hero ---------- */
.home-hero { text-align: center; min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 40px 0 80px; }
.logo-big { position: relative; width: min(760px, 92vw); margin: 0 auto 8px; }
.logo-big img.logo { width: 100%; mix-blend-mode: screen; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
.blend { mix-blend-mode: screen; }
.logo-big svg.ring { position: absolute; inset: -30% -12%; width: 124%; height: 160%; pointer-events: none; overflow: visible; }
.orbit-spin { animation: spin 18s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes spin { to { stroke-dashoffset: -400; } }
.soundz { font: clamp(30px, 5vw, 56px)/1 var(--hand); letter-spacing: clamp(10px, 2vw, 22px); color: var(--lav); margin: 18px 0 18px; text-shadow: 2px 3px 0 var(--ink); padding-left: .4em; }
.home-hero .lead { margin: 0 auto 26px; }
.home-hero .krx { position: absolute; width: 120px; right: max(4vw, 10px); bottom: -20px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; }
.about img { width: 260px; border-radius: 18px; border: 3px solid var(--ink); box-shadow: var(--shadow), 0 0 60px rgba(156, 109, 243, .35); transform: rotate(-2deg); }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; text-align: center; } .about img { margin: 0 auto; width: 200px; } }

/* ---------- community / footer ---------- */
.community { text-align: center; padding: 40px 22px; }
.community .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
footer { position: relative; margin-top: 40px; }
footer svg.ground { display: block; width: 100%; height: 160px; }
footer .base { background: #08060d; padding: 18px 0 30px; }
footer .base .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; font: 18px var(--hand); color: var(--dim); }
footer .base img { height: 40px; width: auto; }
footer .base a { color: var(--dim); text-decoration: none; margin-left: 14px; }
footer .base a:hover { color: var(--lav); }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 99; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--cream); color: var(--ink); padding: 10px 18px; border-radius: 12px;
  border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font: 19px var(--hand);
  transition: opacity .2s, translate .2s;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .6s; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ======================================================================
   LITTLE COMPUTER theme: riveted steel plates, chunky robot buttons, CRT
   ====================================================================== */
body.lc {
  --bg: #1f3a44;
  --panel: #d9e1e5;
  --ink: #142128;
  --cream: #f6f1e3;
  --text: #22323a;
  --lav: #4fd1c5;
  --violet: #3fbfb2;
  --blue: #2d8f9e;
  --sky: #f2c94c;
  --pink: #e8534f;
  --dim: #5b6b73;
  --crt: #8ff5c8;
  --hand: "Kalam", "Segoe Print", cursive;
  color-scheme: light;
  color: var(--cream);
}
body.lc .sky {
  background:
    radial-gradient(ellipse 70% 50% at 70% 0%, rgba(79, 209, 197, .18), transparent 70%),
    linear-gradient(#24434e, #1c353f 70%, #172d35);
}
body.lc .sky::after { background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px); background-size: auto; }
body.lc .nav { background: linear-gradient(#cfd8dc, #b9c4c9); border-bottom: 3px solid var(--ink); }
body.lc .nav .brand img { filter: invert(1) drop-shadow(2px 2px 0 var(--blue)); }
body.lc .nav .brand span { color: var(--ink); }
body.lc .pill { color: var(--ink); background: var(--cream); border-color: var(--ink); }
body.lc .pill.on { background: var(--lav); color: var(--ink); }
body.lc .pill.cta { background: var(--sky); }
body.lc .title { color: var(--sky); text-shadow: 4px 6px 0 #c2851a, -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 6px 8px 0 var(--ink); }
body.lc .tagline { color: var(--cream); }
body.lc .tagline b { color: var(--lav); }
body.lc h2.sec { color: var(--cream); text-shadow: 3px 4px 0 var(--blue), -1.5px -1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink); }
body.lc h2.sec .star { color: var(--sky); }
body.lc .sub, body.lc .meta { color: #a9bcc3; }
body.lc .meta b { color: var(--lav); }
body.lc .lead { color: #e3ecee; }
body.lc .kicker { color: var(--sky); }
body.lc .card { /* steel plate with rivets */
  background:
    radial-gradient(circle at 14px 14px, #8a989f 3px, #f4f7f8 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, #8a989f 3px, #f4f7f8 3.5px, transparent 4.5px),
    radial-gradient(circle at 14px calc(100% - 14px), #8a989f 3px, #f4f7f8 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #8a989f 3px, #f4f7f8 3.5px, transparent 4.5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 7px),
    linear-gradient(#e2e9ec, #c9d3d8);
  color: var(--text);
  box-shadow: var(--shadow), inset 0 2px 0 rgba(255, 255, 255, .7);
}
body.lc .card h3, body.lc .get h3 { color: var(--ink); }
body.lc .legend b, body.lc .stages h3 { color: var(--cream); }
body.lc .get .note { color: var(--dim); }
body.lc .legend span.d, body.lc .stages p { color: #a9bcc3; }
body.lc .legend .n, body.lc .map .dot { background: var(--sky); }
body.lc .map .dot::after { border-color: var(--sky); }
body.lc .legend li.hot { background: rgba(242, 201, 76, .16); }
body.lc .btn { background: var(--lav); color: var(--ink); box-shadow: 4px 5px 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .55), inset 0 -4px 0 rgba(0, 0, 0, .15); }
body.lc .btn.ghost { background: var(--cream); }
body.lc .btn.red { background: var(--pink); color: #fff; }
body.lc .btn.yel { background: var(--sky); }
body.lc .chip { background: #1b2d34; color: var(--crt); border-color: #0f1c21; font-family: var(--pixel); }
body.lc .flow .node { background: var(--cream); color: var(--ink); }
body.lc .flow .node small { color: var(--dim); }
body.lc .flow .node.crt { background: #0f2a26; color: var(--crt); font-family: var(--pixel); font-size: 22px; letter-spacing: 1px; }
body.lc .flow .arr { color: var(--ink); }
body.lc .stages .k { color: var(--lav) !important; }
body.lc .price .amt { color: var(--ink); text-shadow: 3px 4px 0 var(--sky); }
body.lc .price .lbl, body.lc .price small { color: var(--dim); }
body.lc .price input[type=range] { accent-color: var(--blue); }
body.lc .spark { color: var(--crt); text-shadow: 0 0 8px rgba(143, 245, 200, .6); }
body.lc .spark.px { background: var(--crt); box-shadow: 4px 4px 0 var(--crt); }
body.lc footer .base { background: #10222a; }
body.lc .toast { background: var(--sky); }
body.lc ::selection { background: var(--sky); color: var(--ink); }

/* the CRT screen block */
.crt {
  background: radial-gradient(ellipse at 50% 40%, #12443b, #0a221e 75%);
  border: 4px solid var(--ink); border-radius: 22px; padding: 22px 26px; position: relative; overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .7), 0 0 0 10px #2f3f46, var(--shadow);
  color: var(--crt); font-family: var(--pixel); text-shadow: 0 0 6px rgba(143, 245, 200, .7);
}
.crt::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 2px, transparent 2px 4px); pointer-events: none; }
.crt .big { font-size: clamp(46px, 7vw, 84px); line-height: .95; letter-spacing: 3px; }
.crt .sm { font-size: 22px; letter-spacing: 2px; opacity: .85; }
.crt .face { position: absolute; right: 26px; top: 26px; width: 92px; height: 56px; }
.crt .face i { position: absolute; top: 0; width: 18px; height: 24px; background: var(--crt); box-shadow: 0 0 8px var(--crt); }
.crt .face i:nth-child(1) { left: 6px; } .crt .face i:nth-child(2) { right: 6px; }
.crt .face b { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 7px; background: var(--crt); box-shadow: 0 0 8px var(--crt); border-radius: 0 0 6px 6px; }
.crt .face.blink i { height: 4px; top: 12px; }

/* key demo (little computer) */
.keydemo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .keydemo { grid-template-columns: 1fr; } }
.keys { position: relative; display: flex; height: 150px; margin-top: 16px; background: #2f3f46; padding: 8px; border-radius: 14px; border: 3px solid var(--ink); }
.keys .w { flex: 1; margin: 0 2px; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 0 0 10px 10px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font: 15px var(--hand); color: var(--ink); cursor: pointer; transition: background .12s, transform .1s; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .08); }
.keys .w:hover { background: #fff; }
.keys .w.on { background: var(--lav); transform: translateY(2px); }
.keys .w.home { background: linear-gradient(#f6f1e3 70%, #f2c94c 70%); }
.keys .b { position: absolute; top: 8px; width: calc((100% - 16px) / 15 * .62); height: 58%; background: #22323a; border: 2.5px solid var(--ink); border-radius: 0 0 8px 8px; cursor: pointer; z-index: 2; color: #9fb4bc; font: 12px var(--hand); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; }
.keys .b:hover { background: #31464f; }
.keys .b.on { background: var(--lav); color: var(--ink); }
.trbtns { display: flex; gap: 14px; justify-content: center; margin: 18px 0 6px; }
.rb { width: 76px; height: 76px; border-radius: 50%; border: 4px solid var(--ink); font: 36px/1 var(--hand); cursor: pointer; box-shadow: 0 6px 0 var(--ink), inset 0 6px 0 rgba(255, 255, 255, .45), inset 0 -6px 0 rgba(0, 0, 0, .15); transition: transform .08s, box-shadow .08s; color: var(--ink); }
.rb:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink), inset 0 6px 0 rgba(255, 255, 255, .45); }
.rb.r { background: #e8534f; color: #fff; } .rb.y { background: #f2c94c; } .rb.t { background: #4fd1c5; }
.rb + small { display: block; }
.trlbl { display: flex; gap: 14px; justify-content: center; font: 16px var(--hand); color: var(--dim); }
.trlbl span { width: 76px; text-align: center; }

/* LC keeps its own teal scene, not the purple banner */
body.lc .sky::before { display: none; }
body.lc .sky::after { mix-blend-mode: normal; opacity: 1; background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px); }
body.lc .spark { filter: drop-shadow(0 0 6px rgba(143, 245, 200, .6)); }
body.lc .spark svg path { fill: #bff8de; }
body.lc .hero .shot .frame { box-shadow: 8px 10px 0 var(--ink), 0 0 80px rgba(79, 209, 197, .3); }

/* ---------- flagship (After Blog on the home page) ---------- */
.pill.flag { border-color: var(--lav); color: var(--cream); background: rgba(156, 109, 243, .25); }
.flagship {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; padding: 44px;
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(156, 109, 243, .28), transparent 70%),
    linear-gradient(135deg, rgba(26, 16, 44, .95), rgba(10, 7, 16, .95));
  box-shadow: 8px 10px 0 var(--ink), inset 0 0 0 1px rgba(199, 180, 246, .4), 0 0 90px rgba(156, 109, 243, .25);
}
.badge {
  display: inline-block; font: 16px var(--pixel); letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 999px; color: var(--ink); background: var(--lav); border: 2px solid var(--ink); box-shadow: 2px 3px 0 var(--ink);
}
.fs-title {
  font-size: clamp(56px, 8vw, 104px); line-height: .9; margin: 14px 0 8px; color: var(--cream);
  text-shadow: 4px 6px 0 var(--violet), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 6px 8px 0 var(--ink);
  transform: rotate(-2deg); transform-origin: left center;
}
.fs-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.fs-points li { font-size: 14px; color: var(--dim); line-height: 1.35; padding-left: 20px; position: relative; }
.fs-points li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--lav); }
.fs-points b { display: block; font: 21px/1.1 var(--hand); color: var(--cream); font-weight: 400; }
.fs-shot { position: relative; display: block; transform: rotate(1.5deg); transition: transform .3s; }
.fs-shot:hover { transform: rotate(0) scale(1.015); }
.fs-shot .frame { border-radius: 16px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--ink); }
.fs-shot .mo { position: absolute; width: 86px; top: -58px; left: 16%; z-index: 2; }
.fs-shot .krx { position: absolute; width: 140px; bottom: -54px; right: -24px; z-index: 2; }
@media (max-width: 960px) {
  .flagship { grid-template-columns: 1fr; padding: 28px 22px 64px; gap: 64px; }
  .fs-shot { order: -1; margin-top: 40px; }
  .fs-shot .krx { width: 104px; right: -8px; bottom: -44px; }
}
@media (max-width: 480px) { .fs-points { grid-template-columns: 1fr; } }
.releases.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
@media (max-width: 640px) { .releases.two { grid-template-columns: 1fr; } }
body.lc .pill.flag { background: #9c6df3; color: #fff; }

/* ---------- what's new (After Blog) ---------- */
.whatsnew {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding: 40px;
  background: radial-gradient(ellipse 60% 80% at 90% 40%, rgba(34, 169, 226, .18), transparent 70%), linear-gradient(135deg, rgba(20, 14, 36, .95), rgba(10, 7, 16, .95));
  box-shadow: 7px 9px 0 var(--ink), inset 0 0 0 1px rgba(143, 211, 255, .35);
}
.whatsnew .frame { border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 6px 8px 0 var(--ink); transform: rotate(1deg); }
@media (max-width: 960px) { .whatsnew { grid-template-columns: 1fr; padding: 26px 20px; } }

/* ---------- try-it demo on phones: everything shrinks to the screen ---------- */
.keydemo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.keydemo > * { min-width: 0; }
.keys .w, .keys .b { min-width: 0; overflow: hidden; }
@media (max-width: 900px) { .keydemo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .crt { padding: 18px 18px; }
  .crt .big { font-size: 44px; letter-spacing: 2px; }
  .crt .sm { font-size: 17px; letter-spacing: 1px; }
  .crt .face { right: 16px; top: 18px; transform: scale(.7); transform-origin: top right; }
  .keydemo .card { padding: 18px 14px; }
  .trbtns { gap: 10px; }
  .rb { width: 64px; height: 64px; font-size: 30px; }
  .trlbl { gap: 10px; } .trlbl span { width: 64px; }
  .keys { height: 120px; padding: 6px; }
  .keys .w { margin: 0 1px; font-size: 12px; padding-bottom: 6px; border-width: 2px; }
  .keys .b { font-size: 0; border-width: 2px; } /* sharps keep their colour, drop the tiny labels */
}

/* ---------- living background: drifting banner + galaxy canvas ---------- */
.sky { background: #050307; isolation: isolate; }
.sky-art {
  position: absolute; inset: -6%; z-index: -1;
  background: url(brand/banner.webp) center / cover no-repeat;
  animation: skydrift 70s ease-in-out infinite alternate;
  will-change: transform, translate;
}
@keyframes skydrift {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(1.07) rotate(1.2deg); }
  100% { transform: scale(1.03) rotate(-1deg); }
}
.sky canvas.galaxy { position: absolute; top: 0; left: 0; pointer-events: none; }
body.lc .sky-art { display: none; }
body.lc .sky { background: radial-gradient(ellipse 70% 50% at 70% 0%, rgba(79, 209, 197, .18), transparent 70%), linear-gradient(#24434e, #1c353f 70%, #172d35); }
@media (prefers-reduced-motion: reduce) { .sky-art { animation: none; } }

/* ---------- stable background on phones (the URL bar must never resize it) ---------- */
.sky { inset: auto; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; }
@media (pointer: coarse) {
  /* lighter page on touch devices = smooth scrolling */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 3, 7, .96); }
  body.lc .nav { background: linear-gradient(#cfd8dc, #b9c4c9); }
  .sky::after { display: none; }                 /* the grain overlay blend is costly while scrolling */
  .spark { filter: none; }
  .sky-art { will-change: transform; }
}

/* ---------- readability: text that sits straight on the background ---------- */
:root { --dim: #b4aacb; }
body.lc { --dim: #4d5c64; }
.sub, .lead, .meta, .tagline, .kicker, .soundz,
.support > div > p, .about p, .home-hero p, .gallery .cap p, .gallery .cap h3, .count {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 0 12px rgba(5, 3, 7, .9), 0 0 26px rgba(5, 3, 7, .7);
}
.sub { color: #c9c0dd; }
.meta { color: #b9b0d0; }
/* lists that used to float on the galaxy get a dark glass panel */
.legend, .stages, .gallery .caps {
  background: rgba(9, 6, 16, .78); border: 1px solid rgba(199, 180, 246, .16); border-radius: 16px;
}
.legend { padding: 12px; }
.stages { padding: 18px 20px; }
.gallery .caps { padding: 14px 18px; margin-top: 16px; }
.gallery .cap { margin-top: 0; min-height: 0; }
.legend span.d, .stages p { color: #bdb3d3; }
/* the galaxy stays bright at the edges but softer behind content */
.sky canvas.galaxy { opacity: .82; }

/* Little Computer: same idea on its teal scene */
body.lc .sub, body.lc .meta, body.lc .lead { color: #e3ecee; }
body.lc .legend, body.lc .stages, body.lc .gallery .caps { background: rgba(14, 32, 39, .8); border-color: rgba(143, 245, 200, .18); }
body.lc .legend span.d, body.lc .stages p { color: #b9ccd2; }
body.lc .gallery .cap h3 { color: var(--cream); }
body.lc .gallery .cap p { color: #d6e2e5; }

/* =====================================================================
   INTERDIMENSIONAL CABLE: two little TVs in the side margins (wide screens)
   ===================================================================== */
:root { --tv: clamp(118px, 9.2vw, 230px); }
@media (min-width: 1100px) and (pointer: fine) {
  /* make room for the TVs: content narrows a little when the margins are thin */
  body[data-cable] .wrap { width: min(1180px, 100% - 2 * (var(--tv) + 40px)); }
}
.cable {
  position: fixed; z-index: 6; width: var(--tv); cursor: pointer;
  top: calc(var(--nav-h) + 9vh);
  left: max(14px, calc((100vw - 1180px) / 4 - var(--tv) / 2));
  transition: transform .6s cubic-bezier(.3, .7, .3, 1), filter .2s;
  filter: drop-shadow(6px 8px 0 var(--ink));
}
.cable-right { left: auto; right: max(14px, calc((100vw - 1180px) / 4 - var(--tv) / 2)); top: calc(var(--nav-h) + 44vh); }
.cable:hover { filter: drop-shadow(6px 8px 0 var(--ink)) brightness(1.08); }
@media (max-height: 760px) { .cable { top: calc(var(--nav-h) + 4vh); } .cable-right { top: calc(var(--nav-h) + 40vh); } }

/* antennas */
.cable .ant { position: relative; height: calc(var(--tv) * .22); }
.cable .ant i {
  position: absolute; bottom: 0; left: 50%; width: 3px; height: 100%; background: var(--ink); border-radius: 2px; transform-origin: bottom center;
}
.cable .ant i:nth-child(1) { transform: rotate(-32deg); }
.cable .ant i:nth-child(2) { transform: rotate(26deg); height: 85%; }
.cable .ant i::after { content: ""; position: absolute; top: -5px; left: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--lav); border: 2.5px solid var(--ink); }
.cable-right .ant i:nth-child(1)::after { background: var(--sky); }

/* the set */
.cable .box {
  display: flex; gap: 6px; padding: 8px; border-radius: 16px 16px 14px 14px;
  background: linear-gradient(160deg, #6d48c8, #3b2378 60%, #2a1858);
  border: 3px solid var(--ink); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .25), inset 0 -4px 0 rgba(0, 0, 0, .25);
}
.cable-right .box { background: linear-gradient(160deg, #2f8fd0, #1d4f8f 60%, #183c70); }
.cable .screen {
  position: relative; flex: 1; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px / 16px;
  border: 3px solid var(--ink); background: #000;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .9);
}
.cable .knobs { width: 15%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 4px; }
.cable .knobs i { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #e9e0f5; border: 2.5px solid var(--ink); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .2); position: relative; }
.cable .knobs i::after { content: ""; position: absolute; left: 45%; top: 12%; width: 2px; height: 40%; background: var(--ink); border-radius: 2px; }
.cable .knobs i:nth-child(2)::after { transform: rotate(60deg); transform-origin: bottom center; }
.cable .knobs b { flex: 1; width: 70%; margin-top: 2px; border-radius: 3px; background: repeating-linear-gradient(0deg, var(--ink) 0 2px, transparent 2px 5px); opacity: .55; }
.cable .legs { display: flex; justify-content: space-between; padding: 0 18%; }
.cable .legs i { width: 6px; height: calc(var(--tv) * .08); background: var(--ink); border-radius: 0 0 3px 3px; }
.cable .legs i:first-child { transform: skewX(14deg); }
.cable .legs i:last-child { transform: skewX(-14deg); }

/* inside the screen */
.cable .show { position: absolute; inset: 0; }
.cable .show .pic { position: absolute; inset: 0; background-repeat: no-repeat; }
.cable .dance-show .pic { animation: dance .52s steps(2) infinite; }
.cable .screen::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 30%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .65));
}
.cable .screen::after {
  content: ""; position: absolute; left: 0; right: 0; height: 30%; z-index: 3; pointer-events: none;
  background: linear-gradient(transparent, rgba(255, 255, 255, .07), transparent);
  animation: roll 5.5s linear infinite;
}
@keyframes roll { from { top: -30%; } to { top: 100%; } }
.cable .static { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; opacity: 0; image-rendering: pixelated; transition: opacity .15s; }
.cable .osd {
  position: absolute; top: 5%; right: 7%; z-index: 5; font: calc(var(--tv) * .1) / 1 var(--pixel); color: #8ff5c8;
  text-shadow: 0 0 6px rgba(143, 245, 200, .8), 1px 1px 0 #000; opacity: 0;
}
.cable .osd.flash { animation: osd 2.4s steps(1) forwards; }
@keyframes osd { 0% { opacity: 1; } 15% { opacity: .2; } 22% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
.cable .tick {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; overflow: hidden; white-space: nowrap;
  background: rgba(10, 6, 18, .82); border-top: 1px solid rgba(199, 180, 246, .4);
  font: calc(var(--tv) * .072) / 1.5 var(--pixel); letter-spacing: 1px; color: #efe6ff;
}
.cable .tick span { display: inline-block; padding-left: 100%; animation: tick 12s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }
.cable .sub-line {
  position: absolute; left: 5%; right: 5%; bottom: 17%; z-index: 5; text-align: center;
  font: calc(var(--tv) * .052) / 1.2 var(--body); font-weight: 800; color: #fff; opacity: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 0 3px #000, 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.cable .sub-line.on { opacity: 1; }
.cable.on-ad .screen { cursor: alias; }

/* Little Computer channels (drawn, not pictures) */
.ch-face { position: absolute; left: 50%; top: 42%; width: 52%; height: 38%; translate: -50% -50%; }
.ch-face i { position: absolute; top: 0; width: 22%; height: 55%; background: #8ff5c8; box-shadow: 0 0 10px #8ff5c8; animation: blink 3.4s infinite; }
.ch-face i:first-child { left: 8%; }
.ch-face i:nth-child(2) { right: 8%; }
.ch-face b { position: absolute; left: 18%; right: 18%; bottom: 0; height: 14%; background: #8ff5c8; box-shadow: 0 0 10px #8ff5c8; border-radius: 0 0 8px 8px; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.ch-keys, .ch-808 { position: absolute; inset: 0 0 20% 0; display: grid; place-items: center; color: #8ff5c8; font-family: var(--pixel); text-shadow: 0 0 8px rgba(143, 245, 200, .8); }
.ch-keys span { grid-area: 1 / 1; font-size: calc(var(--tv) * .2); letter-spacing: 2px; opacity: 0; animation: keyflip 10.5s steps(1) infinite; }
.ch-keys span:nth-child(2) { animation-delay: 1.5s; }
.ch-keys span:nth-child(3) { animation-delay: 3s; }
.ch-keys span:nth-child(4) { animation-delay: 4.5s; }
.ch-keys span:nth-child(5) { animation-delay: 6s; }
.ch-keys span:nth-child(6) { animation-delay: 7.5s; }
.ch-keys span:nth-child(7) { animation-delay: 9s; }
@keyframes keyflip { 0% { opacity: 1; } 14.28% { opacity: 0; } 100% { opacity: 0; } }
.ch-808 { align-content: center; gap: 2px; }
.ch-808 span { font-size: calc(var(--tv) * .3); line-height: .9; animation: thump .66s ease-out infinite; }
.ch-808 small { font-size: calc(var(--tv) * .062); letter-spacing: 1px; opacity: .85; }
@keyframes thump { 0% { transform: scale(1.18); } 40% { transform: scale(1); } }
body.lc .cable .box {
  background:
    radial-gradient(circle at 8px 8px, #8a989f 2px, #f4f7f8 2.5px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 8px) calc(100% - 8px), #8a989f 2px, #f4f7f8 2.5px, transparent 3.5px),
    linear-gradient(#e2e9ec, #b9c4c9);
}
body.lc .cable-right .box { background: radial-gradient(circle at 8px 8px, #8a989f 2px, #f4f7f8 2.5px, transparent 3.5px), linear-gradient(#f2c94c, #c99a1e); }
body.lc .cable .ant i::after { background: #e8534f; }
body.lc .cable-right .ant i::after { background: #4fd1c5; }
body.lc .cable .tick { background: rgba(6, 22, 20, .85); border-top-color: rgba(143, 245, 200, .4); color: #bff8de; }
@media (prefers-reduced-motion: reduce) {
  .cable .tick span, .cable .screen::after, .ch-keys span, .ch-808 span, .ch-face i { animation: none; }
  .ch-keys span:first-child { opacity: 1; }
}

/* the DLC band row */
.crew-sub { font-size: 34px; color: var(--cream); margin: 46px 0 4px; text-shadow: 2px 3px 0 var(--violet), 0 0 14px rgba(5, 3, 7, .9); }
.crew-sub .chip { font-size: 15px; vertical-align: middle; }
.crew.five { grid-template-columns: repeat(5, 1fr); }
.crew.five img { object-fit: cover; }
.crew.five h3 { font-size: 26px; }
@media (max-width: 1100px) { .crew.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .crew.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .crew.five { gap: 12px; } .crew.five h3 { font-size: 22px; } .crew.five p { font-size: 13px; } }

/* Little Computer demo: drop a song on the CRT */
#try .crt { cursor: pointer; transition: box-shadow .2s, transform .2s; outline: none; }
#try .crt:hover, #try .crt:focus-visible { box-shadow: inset 0 0 40px rgba(0, 0, 0, .7), 0 0 0 10px #2f3f46, 0 0 0 13px var(--crt), var(--shadow); }
#try .crt.drag { transform: scale(1.015); box-shadow: inset 0 0 60px rgba(143, 245, 200, .35), 0 0 0 10px #2f3f46, 0 0 0 14px var(--crt), 0 0 40px rgba(143, 245, 200, .5); }
.drop-hint {
  margin-top: 12px; padding: 10px 12px; border: 2px dashed rgba(143, 245, 200, .6); border-radius: 12px; text-align: center;
  font-size: 22px; letter-spacing: 2px; animation: hintpulse 2.2s ease-in-out infinite;
}
.drop-hint small { display: block; font-size: 15px; letter-spacing: 1px; opacity: .75; margin-top: 2px; }
@keyframes hintpulse { 50% { border-color: rgba(143, 245, 200, .25); } }
#crtFile { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .drop-hint { font-size: 17px; } .drop-hint small { font-size: 12px; } }
.keys .b.home { background: linear-gradient(#22323a 62%, #f2c94c 62%); color: #f2c94c; }
.keys .w.on, .keys .b.on { background: var(--lav); color: var(--ink); }

/* ---------- the BLOG meter ---------- */
.bm-top { padding: 44px 0 40px; }
.bm-title { margin-top: 0; }
.bm { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 34px; align-items: start; }
.bm-stage { position: sticky; top: calc(var(--nav-h) + 20px); }
.bm-stage::before { content: ""; display: block; padding-top: 100%; }
.bm-stage img { position: absolute; left: 6%; top: 12%; width: 88%; height: auto; transition: opacity .18s; animation: floaty 6s ease-in-out infinite; }
.bm-stage img.grin { opacity: 0; }
.bm-stage.grin img.grin { opacity: 1; }
.bm-stage.grin img.calm { opacity: 0; }
.bm-stage.shake img { animation: bmshake .12s linear infinite; }
@keyframes bmshake { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-3px, 1px) rotate(-1.2deg); } 50% { transform: translate(2px, -2px) rotate(.8deg); } 75% { transform: translate(-1px, 2px) rotate(-.6deg); } 100% { transform: translate(0, 0) rotate(0); } }
.bm-glow { position: absolute; left: 4%; right: 4%; top: 14%; bottom: -2%; border-radius: 50%; background: radial-gradient(closest-side, rgba(156, 109, 243, .9), rgba(156, 109, 243, 0)); opacity: .25; transition: transform .15s; }
.bm-say {
  position: absolute; left: 4%; right: 4%; top: -10px; z-index: 2; min-height: 2.8em;
  background: var(--cream); color: var(--ink); font: 21px/1.25 var(--hand); padding: 10px 16px; border-radius: 18px;
  border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink);
}
.bm-say::after { content: ""; position: absolute; left: 50%; bottom: -21px; border: 9px solid transparent; border-top: 12px solid var(--ink); transform: translateX(-50%); }
.bm-say.pop { animation: bmpop .25s ease-out; }
@keyframes bmpop { from { transform: scale(.94) rotate(-1deg); } to { transform: none; } }
.bm-panel { display: flex; flex-direction: column; gap: 14px; }
.bm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bm-live { font: 18px var(--pixel); letter-spacing: 2px; color: var(--dim); }
body.bm-on .bm-live { color: #7fe0c6; }
.bm-status { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.bm-mbglow { position: absolute; left: -14px; top: -14px; width: 78px; height: 78px; border-radius: 50%; opacity: .15; pointer-events: none; background: radial-gradient(closest-side, rgba(122, 82, 201, .95), rgba(122, 82, 201, 0)); }
.bm-mb { position: relative; width: 50px; height: 50px; flex: 0 0 50px; overflow: visible; }
.bm-mb .cape { fill: #7a52c9; stroke: #040307; stroke-width: 3; stroke-linejoin: round; transition: fill .25s; }
.bm-mb .robe, .bm-mb .face, .bm-mb .pupil { fill: #040307; }
.bm-mb .gem { fill: #c7b4f6; stroke: #040307; stroke-width: 2; }
.bm-mb .shut { fill: none; stroke: #c7b4f6; stroke-width: 2.6; stroke-linecap: round; }
.bm-mb .open { display: none; transform-box: fill-box; transform-origin: center; animation: bmblink 4.5s infinite; }
.bm-mb .zz { font: 13px var(--hand); fill: var(--lav); }
.bm-mb .zz text { animation: bmzz 2.4s ease-in-out infinite; }
.bm-mb .zz text + text { animation-delay: .6s; }
body.bm-on .bm-mb .open { display: block; }
body.bm-on .bm-mb .shut, body.bm-on .bm-mb .zz { display: none; }
body:not(.bm-on) .bm-mb { animation: bmbreathe 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bmblink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes bmzz { 0%, 100% { opacity: .2; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes bmbreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04, .97); } }
@media (prefers-reduced-motion: reduce) { .bm-mb, .bm-mb .open, .bm-mb .zz text { animation: none !important; } }
.bm-seg { display: flex; gap: 6px; }
.bm-seg .pill, .bm-calrow .pill { cursor: pointer; font-size: 17px; }
.bm-read { display: flex; align-items: flex-end; gap: 14px; line-height: .8; }
.bm-read .num { font: clamp(84px, 12vw, 150px)/.8 var(--pixel); color: var(--lav); text-shadow: 0 0 24px rgba(156, 109, 243, .35); font-variant-numeric: tabular-nums; min-width: 4.2ch; transition: color .3s; }
.bm-read .u { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.bm-read .u b { font: 34px var(--pixel); color: var(--cream); font-weight: 400; }
.bm-read .u i { font: 18px var(--pixel); letter-spacing: 2px; color: var(--sky); font-style: normal; }
.bm-bar { position: relative; height: 22px; border-radius: 11px; background: #0d0915; border: 2px solid var(--ink); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6); overflow: hidden; }
.bm-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #22a9e2 0%, #9c6df3 27%, #ff7ab8 45%, #ff9f5a 59%, #ff5a6e 73%, #ff5a6e 100%); clip-path: inset(0 100% 0 0); transition: clip-path .06s linear; }
.bm-bar b { position: absolute; top: 2px; bottom: 2px; width: 3px; margin-left: -1px; background: var(--cream); border-radius: 2px; left: -10px; }
.bm-scale { position: relative; height: 16px; font: 15px var(--pixel); color: var(--dim); margin-top: -8px; }
.bm-scale span { position: absolute; transform: translateX(-50%); }
.bm-scale span:nth-child(1) { left: 0; transform: none; }
.bm-scale span:nth-child(2) { left: 18.18%; }
.bm-scale span:nth-child(3) { left: 36.36%; }
.bm-scale span:nth-child(4) { left: 54.54%; }
.bm-scale span:nth-child(5) { left: 72.72%; }
.bm-scale span:nth-child(6) { right: 0; transform: none; }
.bm-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bm-mini { all: unset; box-sizing: border-box; cursor: pointer; padding: 10px 12px; border-radius: 12px; border: 2px solid rgba(199, 180, 246, .2); background: rgba(21, 16, 33, .7); display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, background .15s; }
.bm-mini:hover { border-color: var(--lav); }
.bm-mini:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.bm-mini.on { border-color: var(--ink); background: linear-gradient(135deg, rgba(156, 109, 243, .55), rgba(34, 169, 226, .4)); box-shadow: 3px 4px 0 var(--ink); }
.bm-mini span { font: 17px var(--pixel); letter-spacing: 1px; color: var(--sky); }
.bm-mini b { font: 40px/1 var(--pixel); color: var(--cream); font-weight: 400; font-variant-numeric: tabular-nums; }
.bm-mini small { font-size: 12px; color: var(--dim); }
.bm-mini.on span, .bm-mini.on small { color: var(--text); }
.bm-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bm-stats div { background: rgba(5, 3, 7, .5); border-radius: 10px; padding: 6px 10px; display: flex; flex-direction: column; }
.bm-stats span { font: 14px var(--pixel); letter-spacing: 1px; color: var(--dim); white-space: nowrap; }
.bm-stats b { font: 28px/1.1 var(--pixel); color: var(--lav); font-weight: 400; font-variant-numeric: tabular-nums; }
.bm-safe { margin: 0; font-size: 15px; color: var(--text); padding: 10px 14px; border-radius: 10px; background: rgba(34, 169, 226, .08); border-left: 4px solid var(--blue); }
.bm-safe.ok { border-left-color: #7fe0c6; background: rgba(127, 224, 198, .08); }
.bm-safe.warn { border-left-color: #ff9f5a; background: rgba(255, 159, 90, .1); }
.bm-safe.bad { border-left-color: #ff5a6e; background: rgba(255, 90, 110, .14); }
.bm-err { margin: 0; color: #ffb3c0; font-size: 15px; }
.bm-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.bm-btns .btn[disabled] { opacity: .7; cursor: wait; }
.bm-hist { width: 100%; height: 140px; display: block; border-radius: 12px; background: rgba(5, 3, 7, .55); border: 2px solid rgba(199, 180, 246, .12); }
.bm-histcap { display: flex; justify-content: space-between; font: 14px var(--pixel); color: var(--dim); margin-top: -8px; }
.bm-cal { border-top: 1px dashed rgba(199, 180, 246, .2); padding-top: 10px; font-size: 15px; color: var(--text); }
.bm-cal summary { cursor: pointer; font: 22px var(--hand); color: var(--lav); }
.bm-calnote { font: 15px var(--body); color: var(--dim); }
.bm-calrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.bm-calrow input { font: 18px var(--body); width: 130px; padding: 7px 10px; border-radius: 10px; border: 2px solid var(--ink); background: #1b1428; color: var(--text); }
.bm-calrow b { font: 24px var(--pixel); color: var(--cream); font-weight: 400; min-width: 70px; text-align: center; }
.bm-calmsg { color: #7fe0c6; margin: 0; min-height: 1.2em; }
.bm-calsmall { font-size: 13px; color: var(--dim); margin: 0; }
.bm-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bm-how h3 { font-size: 30px; color: var(--cream); margin: 0 0 6px; }
.bm-how p { font-size: 16px; margin: 0 0 10px; }
@media (max-width: 900px) {
  .bm { grid-template-columns: 1fr; gap: 10px; }
  .bm-stage { position: relative; top: 0; width: min(300px, 64vw); margin: 54px auto 0; }
  .bm-how { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bm-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bm-mini { padding: 8px 10px; }
  .bm-mini b { font-size: 32px; }
  .bm-mini small { display: none; }
  .bm-say { font-size: 17px; left: -8%; right: -8%; top: -34px; padding: 8px 12px; }
  .bm-top .sub { font-size: 15px; }
  .bm-read .u b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .bm-stage img, .bm-stage.shake img { animation: none; } }
