/* DVinyl page, V4 */
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
/* Layout: soft lit rooms. Each section is one live object (the shelf, a record coming out, the Studio) on a softly tinted ground; text stays short and big. */
:root {
  --bg: #f4f5f8;
  --paper: #ffffff;
  --ink: #0e1320;
  --sub: #5a6478;
  --line: rgb(14 19 32 / 0.08);
  --accent: #2f6bff;
  --accent-soft: #e6edff;
  --peach: #f6d9c4;
  --mint: #cfe8e2;
  --lilac: #ddd6f0;
  --butter: #f3e6b8;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --spring: cubic-bezier(.2, 1.35, .4, 1);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shelf-niche: rgb(14 19 32 / 0.035);
  --shelf-niche-shadow: inset 0 1px 3px rgb(0 0 0 / 0.06);
  --shelf-floor: rgb(14 19 32 / 0.13);
  --spine-ink: #0f172a;
  --highlight-rgb: 47 107 255;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; letter-spacing: -0.035em; text-wrap: balance; margin: 0; }
/* ---------- nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 25; transition: background-color .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgb(244 245 248 / 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--sub); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { font-size: 14px; font-weight: 600; text-decoration: none; padding: 9px 16px; border-radius: 12px; background: var(--ink); color: #fff; transition: transform .2s var(--spring); }
.nav-cta:hover { transform: translateY(-1px); }
@media (max-width: 760px) {
.nav-links { display: none; }
.nav-cta { margin-left: auto; } }
/* ---------- hero ---------- */
.hero { position: relative; padding-top: 128px; padding-bottom: 40px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0 0 -160px; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.hero-bg i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; opacity: .75; will-change: transform; background: radial-gradient(closest-side, var(--c), transparent); animation: drift 22s ease-in-out infinite alternate; }
.hero-bg i:nth-child(1) { --c: var(--peach); left: -18vmax; top: -22vmax; }
.hero-bg i:nth-child(2) { --c: var(--mint); right: -20vmax; top: -10vmax; animation-duration: 26s; animation-delay: -6s; }
.hero-bg i:nth-child(3) { --c: var(--lilac); left: 25%; top: 30%; animation-duration: 30s; animation-delay: -12s; }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .35; 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Endless loops stop while their section is off screen (class set by v4.js). */
.hero.is-off .hero-bg i, .wall.is-off .lane { animation-play-state: paused; }
.disc.spin { animation-play-state: running; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.08); } }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 7vw, 88px); line-height: .95; max-width: 16ch; }
.hero h1 .w { display: inline-block; animation: rise .9s var(--ease) backwards; }
.hero h1 .soft { color: transparent; background: linear-gradient(100deg, #2f6bff 10%, #8a6cf0 55%, #e07a5f 95%); -webkit-background-clip: text; background-clip: text; }
@keyframes rise { from { transform: translateY(40%) rotate(2deg); opacity: 0; } }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--sub); max-width: 52ch; margin: 26px 0 0; animation: rise .9s .35s var(--ease) backwards; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; animation: rise .9s .45s var(--ease) backwards; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 14px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--spring), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgb(14 19 32 / .5); }
.btn-ghost { background: rgb(255 255 255 / .82); box-shadow: inset 0 0 0 1px var(--line); }
.btn svg { width: 16px; height: 16px; }
/* ---------- live shelf scene ---------- */
.scene { position: relative; margin-top: 76px; perspective: 1800px; animation: rise 1.1s .55s var(--ease) backwards; }
.note { position: absolute; right: 2%; top: -58px; font-family: var(--hand); font-size: 26px; color: var(--accent); transform: rotate(-4deg); display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.note svg { width: 56px; height: 46px; margin-bottom: -22px; }
@media (max-width: 760px) {
.note { display: none; } }
.rig { position: relative; }
.rig::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -34px; height: 50px; border-radius: 50%; background: radial-gradient(closest-side, rgb(14 19 32 / .18), transparent); filter: blur(6px); z-index: -1; }
.board { position: relative; background: rgb(255 255 255 / .8); border-radius: 28px; padding: 14px; box-shadow: 0 1px 0 rgb(255 255 255 / .9) inset, 0 0 0 1px var(--line), 0 40px 80px -40px rgb(14 19 32 / .35); overflow: hidden; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 4px 4px 14px; }
.coll { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.coll b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
.coll span { font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 13px; background: rgb(14 19 32 / .05); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { position: relative; z-index: 1; flex: 0 0 auto; border: 0; background: transparent; padding: 7px 13px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--sub); cursor: pointer; transition: color .25s; white-space: nowrap; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg .pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 4px 10px -4px rgb(0 0 0 / .12); transition: transform .45s var(--spring), width .45s var(--spring); }
/* shelf: from views/partials/shelf-view.ejs */
.shelf-grid { display: grid; gap: 12px; grid-template-columns: repeat(var(--shelf-columns, 1), minmax(0, 1fr)); }
@media (max-width: 760px) {
.shelf-grid { grid-template-columns: minmax(0, 1fr); }
.stage { --spine-scale: .78; } }
.shelf-niche { background: var(--shelf-niche); box-shadow: var(--shelf-niche-shadow); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.niche-head { padding: 11px 14px 0; display: flex; align-items: center; gap: 8px; }
.niche-head h3 { font-family: var(--text); letter-spacing: .1em; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.niche-count { margin-left: auto; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.shelf-gauge { width: 44px; height: 4px; border-radius: 2px; background: rgb(0 0 0 / .08); overflow: hidden; flex-shrink: 0; }
.shelf-gauge > span { display: block; height: 100%; border-radius: 2px; background: currentColor; transition: width .6s var(--ease); }
.shelf-fill { opacity: .45; }
.shelf-fill.is-full { opacity: 1; color: rgb(var(--highlight-rgb)); }
.shelf-fill.is-over { opacity: 1; color: #f59e0b; }
.shelf-scroll { overflow-x: auto; overflow-y: hidden; padding: 22px 14px 0; border-bottom: 5px solid var(--shelf-floor); scrollbar-width: thin; }
.shelf-plank { display: flex; align-items: flex-end; gap: 2px; min-width: min-content; height: calc(var(--plank-h) * var(--spine-scale, 1)); }
.shelf-spine { position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: var(--w); height: calc(var(--h) * var(--spine-scale, 1)); border-radius: 3px 3px 0 0; background-color: var(--tone, #d9dfe7); color: var(--spine-ink); transform-origin: bottom left; transition: transform .3s var(--spring), box-shadow .2s ease, opacity .25s; cursor: pointer; border: 0; padding: 0; animation: drop .7s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 22ms + var(--d0, 0ms)); }
@keyframes drop { from { transform: translateY(-170px) rotate(-6deg); opacity: 0; } 30% { opacity: 1; } }
.shelf-spine:hover, .shelf-spine.is-open { transform: translateY(-14px); box-shadow: 0 0 0 2px rgb(var(--highlight-rgb)), 0 12px 18px -8px rgb(14 19 32 / .35); }
.stage.leaving .shelf-spine, .stage.leaving .card, .stage.leaving tr { transition: transform .28s ease-in, opacity .28s ease-in; transition-delay: calc(var(--i, 0) * 8ms); transform: translateY(-40px); opacity: 0; }
.shelf-label { display: flex; flex-direction: column; align-items: center; gap: 4px; writing-mode: vertical-rl; max-height: calc(100% - 14px); overflow: hidden; pointer-events: none; }
.shelf-title, .shelf-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 100%; line-height: 1; }
.shelf-title { font-size: 10.5px; font-weight: 700; }
.shelf-sub { font-size: 9.5px; font-weight: 500; opacity: .6; }
.shelf-spine[data-shape="sleeve"] { background-image: linear-gradient(90deg, rgb(255 255 255 / .35) 0 1px, transparent 1px); }
.shelf-spine[data-shape="jewel"] { border-radius: 2px 2px 0 0; background-image: linear-gradient(90deg, rgb(255 255 255 / .55) 0 2px, rgb(0 0 0 / .12) 2px 3px, transparent 3px); }
.shelf-spine[data-shape="case"] { border-radius: 7px 7px 0 0; background-image: linear-gradient(180deg, rgb(0 0 0 / .12) 0 3px, transparent 3px); }
.shelf-spine[data-shape="book"] { border-radius: 6px 6px 0 0; background-image: linear-gradient(180deg, transparent 0 10px, rgb(0 0 0 / .16) 10px 12px, transparent 12px calc(100% - 12px), rgb(0 0 0 / .16) calc(100% - 12px) calc(100% - 10px), transparent calc(100% - 10px)); }
.shelf-spine[data-shape="book"] .shelf-label { max-height: calc(100% - 30px); }
.shelf-spine[data-shape="box"] { border-radius: 4px 4px 0 0; background-image: linear-gradient(180deg, rgb(255 255 255 / .25) 0 2px, transparent 2px); }
.shelf-plank[data-lean] > .shelf-spine:last-of-type:not(:first-of-type) { transform: rotate(-5deg); margin-left: calc(var(--h) * var(--spine-scale, 1) * .09 + 2px); }
.shelf-plank[data-lean] > .shelf-spine:last-of-type:not(:first-of-type):hover { transform: rotate(-5deg) translateY(-14px); }
.shelf-pile { display: flex; flex-direction: column-reverse; align-items: flex-start; flex: 0 0 auto; margin-left: 6px; }
.shelf-pile .shelf-spine { width: calc(var(--h) * var(--spine-scale, 1)); height: var(--w); justify-content: flex-start; padding: 0 8px; border-radius: 0 4px 4px 0; border-bottom: 1px solid rgb(0 0 0 / .08); background-image: none; }
.shelf-pile .shelf-spine:hover, .shelf-pile .shelf-spine.is-open { transform: translateX(8px); }
.shelf-pile .shelf-spine .shelf-label { writing-mode: horizontal-tb; align-items: flex-start; max-height: none; max-width: 100%; }
.shelf-pile .shelf-sub { display: none; }
.tone-0 {--tone:#ead9c3}
.tone-1 {--tone:#c9dbea}
.tone-2 {--tone:#d4e6cf}
.tone-3 {--tone:#eccac5}
.tone-4 {--tone:#dad3ea}
.tone-5 {--tone:#f1e2b3}
.tone-6 {--tone:#c8e3df}
.tone-7 {--tone:#e6d0e2}
.tone-8 {--tone:#d9dfe7}
.tone-9 {--tone:#ebd6bf}
.tone-10 {--tone:#bfd9cd}
.tone-11 {--tone:#f1d4bf}
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; }
.card { background: #fff; border: 0; border-radius: 16px; padding: 8px; cursor: pointer; text-align: left; box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--spring), box-shadow .3s, opacity .25s; animation: pop .55s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 25ms); }
@keyframes pop { from { transform: scale(.85) translateY(20px); opacity: 0; } }
.card:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 0 0 1px var(--line), 0 18px 30px -16px rgb(14 19 32 / .4); }
.card .cover { width: 100%; aspect-ratio: var(--ratio, 1); border-radius: 10px; }
.card .t { font-size: 13px; font-weight: 700; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .s { font-size: 12px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody tr { cursor: pointer; animation: pop .45s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 15ms); transition: background-color .2s, transform .28s, opacity .28s; }
tbody tr:hover { background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td .mini { width: 32px; height: 32px; border-radius: 7px; display: block; }
.fmt { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 6px; background: var(--bg); }
.peek { position: fixed; z-index: 50; width: 268px; background: rgb(255 255 255 / .97); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -16px rgb(14 19 32 / .4); padding: 10px; display: flex; gap: 12px; pointer-events: none; transform-origin: 50% 100%; animation: peek .35s var(--spring); }
@keyframes peek { from { transform: scale(.85) translateY(8px); opacity: 0; } }
.peek .cover { width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0; }
.peek > div { min-width: 0; }
.peek-t { font-size: 14px; font-weight: 700; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-s { font-size: 12px; color: var(--sub); margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-w { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 8px 0 0; }
.sheet { margin-top: 12px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 14px; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: start; animation: pop .45s var(--spring); }
.sheet .cover { width: 120px; aspect-ratio: 1; border-radius: 12px; }
.sheet h4 { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.sheet .by { margin: 2px 0 12px; color: var(--sub); font-size: 14px; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px 16px; margin: 0; }
.kv div { min-width: 0; }
.kv dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); font-weight: 600; }
.kv dd { margin: 0; font-size: 14px; font-weight: 600; }
.sheet-close { border: 0; background: var(--bg); border-radius: 10px; width: 34px; height: 34px; cursor: pointer; font-size: 18px; line-height: 1; }
@media (max-width: 560px) {
.sheet { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; }
.sheet .cover { width: 76px; }
.board { padding: 10px; border-radius: 22px; } }
/* ---------- section heads ---------- */
.sec { position: relative; padding-block: 140px 40px; }
.kick { font-family: var(--hand); font-size: 26px; color: var(--accent); transform: rotate(-2deg); display: inline-block; margin-bottom: 6px; }
.sec h2 { font-weight: 800; font-size: clamp(36px, 5.6vw, 72px); line-height: .98; max-width: 15ch; }
.sec .intro { color: var(--sub); font-size: clamp(17px, 1.8vw, 20px); max-width: 54ch; margin: 20px 0 0; }
/* ---------- story: a record comes out ---------- */
.story { height: 340vh; position: relative; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; }
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) {
.story-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.steps { order: 2; } }
.steps { display: grid; }
.step { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step:not(.on) { opacity: 0; transform: translateY(16px); pointer-events: none; }
.step .num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { font-weight: 800; font-size: clamp(30px, 4.2vw, 54px); line-height: 1; margin-top: 10px; }
.step p { color: var(--sub); font-size: 18px; max-width: 42ch; margin: 16px 0 0; }
.progress { display: flex; gap: 6px; margin-top: 28px; }
.progress span { height: 4px; width: 46px; border-radius: 2px; background: rgb(14 19 32 / .1); overflow: hidden; }
.progress span i { display: block; height: 100%; width: 100%; transform: scaleX(var(--f, 0)); transform-origin: left; background: var(--ink); }
@media (max-width: 900px) {
.step h3 { font-size: 28px; }
.step p { font-size: 15px; margin-top: 8px; }
.progress { margin-top: 14px; } }
.vis { position: relative; height: min(560px, 62svh); }
.vis-glow { position: absolute; inset: 6% 4%; border-radius: 40px; background: radial-gradient(60% 60% at 40% 40%, var(--peach), transparent 70%), radial-gradient(50% 60% at 75% 60%, var(--lilac), transparent 70%); opacity: .8; }
.sleeve-wrap { position: absolute; left: 22%; top: 8%; width: min(300px, 58vw); aspect-ratio: 1; perspective: 1200px; z-index: 3; transform-origin: center; }
@media (max-width: 900px) {
.vis { height: 50svh; }
.sleeve-wrap { left: 8%; top: 4%; width: min(210px, 50vw); } }
.sleeve { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--flip, 180deg)); }
.face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 6px; box-shadow: 0 30px 60px -24px rgb(14 19 32 / .5), inset 0 0 0 1px rgb(255 255 255 / .2); overflow: hidden; }
.front { background: radial-gradient(circle at 30% 28%, #fde68a, #f97316 38%, #be123c 70%, #3b0a2a); }
.front::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgb(255 255 255 / .07) 22px 23px); }
.front span { position: absolute; left: 18px; bottom: 16px; color: #fff; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3vw, 30px); letter-spacing: -0.03em; line-height: .95; text-shadow: 0 2px 12px rgb(0 0 0 / .25); }
.back { transform: rotateY(180deg); background: #f3efe6; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.back .tl { font-size: 11px; color: #6b6255; line-height: 1.5; }
.back .tl b { color: #2d281f; }
.barcode { margin-top: auto; align-self: flex-end; background: #fff; padding: 8px 10px 4px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.barcode i { display: block; width: 110px; height: 44px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 7px, #111 7px 10px, transparent 10px 11px); }
.barcode small { font: 600 10px/1 var(--text); letter-spacing: .12em; }
.laser { position: absolute; left: -6%; right: -6%; height: 3px; top: var(--ly2, 50%); background: #ff3b5c; box-shadow: 0 0 18px 4px rgb(255 59 92 / .55); border-radius: 2px; opacity: var(--lo, 0); z-index: 5; }
.disc { position: absolute; left: 22%; top: 8%; width: min(290px, 56vw); aspect-ratio: 1; margin: 1.5% 0 0 1.5%; border-radius: 50%; z-index: 2; translate: var(--dx, 0) 0; animation: spin 3.75s linear infinite paused; background: radial-gradient(circle, #f8fafc 0 3%, #e11d48 3.2% 17%, #111 17.4% 19%, transparent 19.2%), repeating-radial-gradient(circle, #141414 0 1px, #1f1f1f 1px 3px), #111; box-shadow: 0 24px 50px -20px rgb(0 0 0 / .6); }
.disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgb(255 255 255 / .12) 25%, transparent 32% 70%, rgb(255 255 255 / .1) 75%, transparent 82%); }
@media (max-width: 900px) {
.disc { left: 8%; top: 4%; width: min(200px, 48vw); } }
.info { position: absolute; right: 0; top: 10%; width: min(300px, 70%); background: rgb(255 255 255 / .95); border-radius: 20px; padding: 16px 18px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgb(14 19 32 / .4); z-index: 4; transition: opacity .4s, transform .5s var(--spring); }
.info.off { opacity: 0; transform: translateY(20px) scale(.96); }
@media (max-width: 900px) {
.info { top: auto; bottom: 26%; width: 62%; padding: 12px 14px; } }
.info .src { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sub); display: flex; justify-content: space-between; }
.info .src em { font-style: normal; color: #1c7a47; }
.field { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; transition: opacity .35s, transform .45s var(--spring); }
.field:last-child { border-bottom: 0; }
.field span { color: var(--sub); }
.field b { font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field.off { opacity: 0; transform: translateX(14px); }
@media (max-width: 900px) {
.field { font-size: 12px; padding: 4px 0; } }
.mini-shelf { position: absolute; left: 0; right: 0; bottom: 0; background: rgb(255 255 255 / .86); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 10px 14px 0; z-index: 1; }
.mini-shelf .niche-head { padding: 0 0 8px; }
.mini-plank { display: flex; align-items: flex-end; gap: 2px; height: 120px; border-bottom: 5px solid var(--shelf-floor); overflow: hidden; }
.mini-plank .shelf-spine { animation: none; cursor: default; height: calc(100% - 2px); }
.mini-plank .shelf-spine:hover { transform: none; box-shadow: none; }
.mini-plank .slot { width: 20px; height: 120px; flex: 0 0 auto; position: relative; }
.mini-plank .slot .shelf-spine { position: absolute; bottom: 0; left: 0; opacity: var(--so, 0); transform: translateY(calc((1 - var(--so, 0)) * -20px)); box-shadow: 0 0 0 2px rgb(var(--highlight-rgb) / var(--so, 0)); }
@media (max-width: 900px) {
.mini-plank { height: 90px; }
.mini-plank .slot { height: 90px; } }
/* ---------- studio ---------- */
.studio-sec { background: linear-gradient(180deg, var(--bg), #ebeef8 30%, #eef0f7 70%, var(--bg)); }
.studio-box { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 960px) {
.studio-box { grid-template-columns: minmax(0, 1fr); } }
.preview { --p-bg: #f8fafc; --p-card: #fff; --p-nav: #f1f5f9; --p-text: #0f172a; --p-sub: #475569; --p-acc: #10b981; --p-r: 12px; --p-font: var(--text); --p-head: var(--text);
  position: relative; background: var(--p-bg); color: var(--p-text); font-family: var(--p-font); border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgb(14 19 32 / .5); transition: background-color .6s var(--ease), color .6s var(--ease); min-height: 440px; }
.preview * { transition: background-color .6s var(--ease), color .6s var(--ease), border-radius .6s var(--ease), box-shadow .3s, transform .3s var(--spring); }
.preview-bg { position: absolute; inset: 0; pointer-events: none; }
.p-inner { position: relative; padding: 18px; }
.p-nav { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--p-nav); border-radius: var(--p-r); font-size: 13px; }
.p-nav b { font-family: var(--p-head); font-size: 16px; }
.p-links { display: flex; gap: 14px; color: var(--p-sub); font-weight: 600; }
.p-links span:first-child { color: var(--p-acc); }
@media (max-width: 560px) {
.p-links span:nth-child(n+2) { display: none; } }
.p-add { margin-left: auto; background: var(--p-acc); color: #fff; font-weight: 700; padding: 7px 13px; border-radius: calc(var(--p-r) * .7); font-size: 12px; white-space: nowrap; }
.p-head { display: flex; align-items: baseline; gap: 10px; margin: 24px 2px 16px; }
.p-head h4 { margin: 0; font-family: var(--p-head); font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.p-head.upper h4 { text-transform: uppercase; letter-spacing: .02em; }
.p-head span { color: var(--p-sub); font-size: 13px; }
.p-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: var(--p-gap, 14px); }
.p-card { position: relative; background: var(--p-card); border-radius: var(--p-r); padding: 7px; }
.p-card .cv { overflow: hidden; border-radius: calc(var(--p-r) * .7); }
.p-card .cover { width: 100%; aspect-ratio: 1; transition: transform .35s var(--ease); }
.p-card .t { font-family: var(--p-head); font-size: 13px; font-weight: 700; margin-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-card .s { font-size: 12px; color: var(--p-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-card .meta { padding: 0 2px 2px; }
.preview[data-frame="outline"] .p-card { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-text) 16%, transparent); }
.preview[data-frame="frameless"] .p-card { background: transparent; padding: 0; }
.preview[data-glass="1"] .p-card, .preview[data-glass="1"] .p-nav { background: color-mix(in srgb, var(--p-card) 55%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.preview[data-text="overlay"] .p-card .meta { position: absolute; left: 7px; right: 7px; bottom: 7px; padding: 26px 8px 7px; border-radius: 0 0 calc(var(--p-r) * .7) calc(var(--p-r) * .7); background: linear-gradient(transparent, rgb(0 0 0 / .72)); color: #fff; }
.preview[data-frame="frameless"][data-text="overlay"] .p-card .meta { left: 0; right: 0; bottom: 0; }
.preview[data-text="overlay"] .p-card .s { color: rgb(255 255 255 / .8); }
.preview[data-text="overlay"] .p-card .t { margin-top: 0; }
.preview[data-hover="lift"] .p-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .45); }
.preview[data-hover="zoom"] .p-card:hover .cover { transform: scale(1.08); }
.preview[data-hover="glow"] .p-card:hover { box-shadow: 0 0 0 2px var(--p-acc), 0 0 28px -2px var(--p-acc); }
.controls { background: rgb(255 255 255 / .8); border-radius: 24px; box-shadow: 0 0 0 1px var(--line); padding: 16px; display: flex; flex-direction: column; gap: 18px; }
.controls h3 { font-family: var(--text); letter-spacing: .1em; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--sub); display: flex; justify-content: space-between; align-items: center; }
.auto { font-family: var(--text); letter-spacing: 0; text-transform: none; font-size: 12px; font-weight: 600; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 0; }
.group { display: flex; flex-direction: column; gap: 10px; }
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 960px) {
.looks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) {
.looks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.look { position: relative; border: 0; background: rgb(14 19 32 / .04); border-radius: 14px; padding: 7px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 6px; overflow: hidden; transition: background-color .2s, transform .25s var(--spring); }
.look:hover { transform: translateY(-2px); }
.look[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.look-swatch { display: flex; height: 24px; border-radius: 8px; overflow: hidden; }
.look-swatch span { flex: 1; }
.look-name { font-size: 12px; font-weight: 700; padding: 0 2px; }
.look .timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.look .timer.run { animation: timer var(--dur, 3.2s) linear forwards; }
@keyframes timer { to { width: 100%; } }
.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.color { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: transform .25s var(--spring); }
.color:hover { transform: scale(1.12); }
.color[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
/* ---------- everything else ---------- */
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 48px; margin-top: 56px; }
.feat div { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; }
.feat .dot { grid-row: span 2; width: 34px; height: 34px; border-radius: 11px; background: var(--c, var(--mint)); display: grid; place-items: center; transition: transform .35s var(--spring); }
.feat div:hover .dot { transform: rotate(-8deg) scale(1.08); }
.feat .dot svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat b { font-size: 16px; }
.feat span { color: var(--sub); font-size: 14px; }
/* ---------- install ---------- */
.install { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) {
.install { grid-template-columns: minmax(0, 1fr); } }
.code { background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgb(14 19 32 / .45); overflow: hidden; }
.code-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.copy { border: 0; background: var(--bg); border-radius: 9px; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
pre { margin: 0; padding: 18px; overflow-x: auto; font: 500 13.5px/1.7 "JetBrains Mono", ui-monospace, monospace; color: #334155; }
pre .k { color: var(--accent); }
pre .s { color: #1c7a47; }
pre .c { color: #94a3b8; }
.guides { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.guides a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .25s var(--spring); }
.guides a:hover { transform: translateY(-2px); }
/* ---------- hero board, v3: fixed height, mixed shelf, search ---------- */
.search { position: relative; flex: 1 1 200px; max-width: 280px; }
.search input { width: 100%; border: 0; background: rgb(14 19 32 / .05); border-radius: 12px; padding: 9px 12px 9px 34px; font: 500 14px var(--text); color: var(--ink); outline: none; transition: background-color .2s, box-shadow .2s; }
.search input:focus { background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.search svg { position: absolute; left: 11px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); stroke: var(--sub); fill: none; stroke-width: 2; stroke-linecap: round; }
.stage { position: relative; }
.stage.scrolly { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); padding-bottom: 40px; }
.stage .cards { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.is-dimmed { opacity: .16 !important; filter: grayscale(1); }
.shelf-spine.is-dimmed:hover { opacity: .6 !important; }
.match { font-size: 13px; color: var(--sub); min-width: 0; }
@media (max-width: 760px) {
.stage .shelf-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.stage .shelf-grid::-webkit-scrollbar { display: none; }
.stage .shelf-niche { scroll-snap-align: start; }
.search { max-width: none; order: 3; flex-basis: 100%; }
}
/* ---------- types: the wall ---------- */
.wall { margin-top: 52px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lane { display: flex; gap: 12px; width: max-content; animation: lane 46s linear infinite; will-change: transform; }
.lane.rev { animation-direction: reverse; animation-duration: 54s; }
.wall:hover .lane { animation-play-state: paused; }
@keyframes lane { to { transform: translateX(-50%); } }
.chip { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.chip i { width: 38px; height: 38px; border-radius: 12px; background: var(--c); display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 17px; color: rgb(14 19 32 / .75); }
.chip b { display: block; font-size: 15px; line-height: 1.2; }
.chip small { display: block; font-size: 12px; color: var(--sub); }
.chip.yours { background: transparent; box-shadow: inset 0 0 0 2px rgb(47 107 255 / .35); color: var(--accent); }
.chip.yours i { background: var(--accent-soft); color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
.lane { flex-wrap: wrap; width: auto; }
.lane > .dup { display: none !important; } }
/* ---------- workshop ---------- */
.shop { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) {
.shop { grid-template-columns: minmax(0, 1fr); } }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 480px) {
.two { grid-template-columns: minmax(0, 1fr); } }
.inp { width: 100%; border: 0; background: rgb(14 19 32 / .05); border-radius: 12px; padding: 10px 12px; font: 600 15px var(--text); color: var(--ink); outline: none; }
.inp:focus { background: #fff; box-shadow: 0 0 0 2px var(--accent); }
/* ---------- people ---------- */
.people { margin-top: 56px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) {
.people { grid-template-columns: minmax(0, 1fr); } }
.member { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; animation: pop .4s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
.av { width: 36px; height: 36px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: rgb(14 19 32 / .75); }
.member b { font-size: 14px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member small { font-size: 12px; color: var(--sub); }
.role { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--bg); }
.role.admin { background: var(--accent-soft); color: var(--accent); }
.made { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 12px; padding: 8px 8px 8px 12px; animation: pop .45s var(--spring); }
.made code { font: 500 13px "JetBrains Mono", monospace; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.made small { color: var(--sub); font-size: 12px; white-space: nowrap; }
.req { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; }
.req .cover { width: 52px; height: 52px; border-radius: 10px; }
.req p { margin: 0; font-size: 14px; }
.req p small { display: block; color: var(--sub); font-size: 12px; }
.own { margin-top: 72px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 32px; align-items: center; }
@media (max-width: 960px) {
.own { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.own h3 { font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.own p { color: var(--sub); font-size: 16px; margin: 12px 0 0; max-width: 40ch; }
.ex { background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgb(14 19 32 / .4); transition: transform .4s var(--spring); }
.ex:hover { transform: translateY(-6px) rotate(.6deg); }
.ex .name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 4px 4px; }
.ex .name b { font-size: 15px; }
.ex .name small { font-size: 12px; color: var(--sub); white-space: nowrap; }
.ex dl { margin: 4px 4px 2px; display: grid; gap: 0; }
.ex dl div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ex dt { color: var(--sub); }
.ex dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ppl { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
@media (max-width: 960px) {
.ppl { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.ppl .scene2 { order: -1; } }
.points { display: grid; gap: 22px; }
.points div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; }
.points i { grid-row: span 2; width: 40px; height: 40px; border-radius: 13px; background: var(--c); display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; color: rgb(14 19 32 / .7); }
.points b { font-size: 17px; }
.points span { color: var(--sub); font-size: 15px; }
.scene2 { position: relative; padding: 0 0 46px 0; }
.stackc { position: absolute; inset: 22px -10px auto 26px; height: 70%; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); transform: rotate(3deg); opacity: .7; }
.stackc.b { transform: rotate(-2.5deg); inset: 12px 18px auto -6px; opacity: .85; }
.hcard { position: relative; background: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgb(14 19 32 / .45); }
.hcard-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hcard-top i { width: 44px; height: 44px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 18px; color: rgb(14 19 32 / .7); }
.hcard-top b { display: block; font-size: 16px; }
.hcard-top small { color: var(--sub); font-size: 12px; }
.hcard-top .avs { margin-left: auto; display: flex; }
.hcard-top .avs .av { width: 30px; height: 30px; font-size: 11px; box-shadow: 0 0 0 2px #fff; margin-left: -8px; }
.hcard .member { padding: 10px 0 0; }
.toast { position: absolute; right: -12px; bottom: 0; width: min(330px, 92%); background: rgb(255 255 255 / .98); border-radius: 18px; padding: 12px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -20px rgb(14 19 32 / .45); display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 12px; align-items: center; transform: rotate(-1.5deg); }
@media (max-width: 560px) {
.toast { right: 0; } }
.toast.in { animation: toast .7s var(--spring) backwards; }
@keyframes toast { from { transform: translateY(30px) rotate(-1.5deg) scale(.9); opacity: 0; } }
.toast .cover { width: 46px; height: 46px; border-radius: 10px; grid-row: span 2; }
.toast p { margin: 0; font-size: 14px; }
.toast p small { display: block; color: var(--sub); font-size: 12px; }
.toast .acts { display: flex; gap: 6px; }
.toast .acts span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: #fff; }
.toast .acts span + span { background: var(--bg); color: var(--ink); }
.looks.one { grid-template-columns: minmax(0, 1fr); }
.look.mine { background: transparent; box-shadow: inset 0 0 0 1.5px rgb(14 19 32 / .2); border: 0; }
.look.mine[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.look.mine .look-swatch { height: 28px; }
.mine-note { margin: 0; font-size: 13px; color: var(--sub); line-height: 1.5; }
@media (max-width: 960px) {
.looks.one { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.own2 { margin-top: 72px; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: 40px; align-items: center; }
@media (max-width: 960px) {
.own2 { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.own2 h3 { font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.own2 p { color: var(--sub); font-size: 16px; margin: 12px 0 0; max-width: 42ch; }
.flow { display: grid; grid-template-columns: minmax(0, .85fr) 40px minmax(0, 1.25fr); gap: 12px; align-items: center; }
@media (max-width: 680px) {
.flow { grid-template-columns: minmax(0, 1fr); }
.arrow { transform: rotate(90deg); justify-self: center; } }
.wk, .app { background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgb(14 19 32 / .4); min-height: 236px; }
.wk-top { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.wk-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: start; padding: 6px 0; font-size: 13px; }
.wk-row > span { color: var(--sub); padding-top: 6px; }
.wk-row b { background: var(--bg); border-radius: 9px; padding: 6px 10px; font-weight: 600; min-height: 31px; display: block; white-space: nowrap; overflow: hidden; }
.wk-row b::after { content: ""; display: inline-block; width: 1.5px; height: 14px; background: var(--accent); margin-left: 1px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.wk-row b.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.wk-fields { display: flex; flex-wrap: wrap; gap: 6px; min-height: 31px; }
.wk-fields span { background: var(--bg); border-radius: 9px; padding: 6px 10px; font-weight: 600; animation: pop .35s var(--spring); }
.wk-btn { margin-top: 12px; text-align: center; background: var(--ink); color: #fff; border-radius: 11px; padding: 9px; font-size: 13px; font-weight: 600; opacity: .35; transition: opacity .3s, transform .2s; }
.wk-btn.ready { opacity: 1; }
.wk-btn.press { transform: scale(.95); }
.arrow { color: var(--accent); width: 40px; }
.app-nav { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.app-nav span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 9px; background: rgb(14 19 32 / .05); color: var(--sub); }
.app-nav span.new { background: var(--ink); color: #fff; animation: pop .5s var(--spring); }
.app-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 150px; }
.app-cards .card { cursor: default; padding: 6px; border-radius: 13px; }
.app-cards .card .cover { aspect-ratio: 1; border-radius: 9px; }
.app-cards .card .t { font-size: 12px; margin-top: 6px; }
.app-cards .card .s { font-size: 11px; }
.app-empty { grid-column: 1 / -1; display: grid; place-items: center; color: var(--sub); font-size: 13px; border: 1.5px dashed var(--line); border-radius: 14px; }
/* ---------- v7: hero facts, phone, final ---------- */
.facts2 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; margin-top: 56px; font-size: 14px; color: var(--sub); }
.facts2 span { display: inline-flex; align-items: center; gap: 8px; }
.facts2 span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .6; }
.btn.sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
@media (max-width: 560px) {
.facts2 { gap: 8px 16px; font-size: 13px; }
.facts2 .btn { flex-basis: 100%; justify-content: center; } }
.phone-story { height: 400vh; }
.phone-wrap { display: grid; place-items: center; }
.phone { position: relative; width: 290px; height: 600px; border-radius: 46px; background: #0e1320; padding: 10px; box-shadow: 0 50px 100px -40px rgb(14 19 32 / .6), inset 0 0 0 2px #2a3142; }
@media (max-width: 900px) {
.phone { width: 220px; height: 456px; border-radius: 36px; padding: 8px; }
.phone-wrap { order: -1; }
.phone-story .steps .step p { display: none; } }
@media (max-width: 900px) and (max-height: 720px) {
.phone { width: 190px; height: 394px; } }
.ph-notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: 12px; background: #0e1320; z-index: 3; }
@media (max-width: 900px) {
.ph-notch { top: 14px; width: 60px; height: 16px; margin-left: -30px; } }
.scr { position: absolute; inset: 0; padding: 44px 14px 14px; display: flex; flex-direction: column; gap: 10px; transition: opacity .5s var(--ease), transform .6s var(--ease); font-size: 12px; overflow: hidden; }
.scr:not(.on) { opacity: 0; transform: translateY(24px) scale(.98); pointer-events: none; }
@media (max-width: 900px) {
.scr { padding: 34px 10px 10px; gap: 7px; zoom: .76; } }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiles div { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 0 0 1px var(--line); }
.tiles b { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tiles small { color: var(--sub); font-size: 10px; }
.tiles svg { width: 100%; height: 40px; display: block; margin-top: 4px; }
.scr.cam { padding: 0; background: #11151f; }
@keyframes sweep { from { top: 18%; } to { top: 82%; } }
.final { text-align: center; padding-bottom: 60px; }
.final h2 { margin-inline: auto; font-size: clamp(48px, 9vw, 120px); max-width: none; }
.final .intro { margin-inline: auto; }
.final-shelf { margin: 48px auto 0; max-width: 820px; border-bottom: 6px solid var(--shelf-floor); padding: 0 10px; overflow: hidden; }
.final-shelf .shelf-plank { justify-content: center; }
.final-shelf .shelf-spine { cursor: default; }
.final-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; text-align: left; }
@media (max-width: 900px) {
.final-grid { grid-template-columns: minmax(0, 1fr); } }
.cmd { background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 18px; font: 500 15px "JetBrains Mono", monospace; overflow-x: auto; }
.cmd code::before { content: "$ "; color: #7d8794; }
.final-side p { color: var(--sub); margin: 14px 0 0; }
.final-side p b { color: var(--ink); font-weight: 600; }
.final-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
/* ---------- phone, drawn from the real 4.0 mobile UI (Midnight light, aurora, Space Grotesk + Manrope) ---------- */
.phone.rp { display: flex; flex-direction: column; overflow: hidden; }
.rp { --rp-bg: #f0f4ff; --rp-text: #0d0d2b; --rp-sub: #4b4f7a; --rp-acc: #4f46e5; --rp-green: #16a34a; font-family: "Manrope", system-ui, sans-serif; color: var(--rp-text); }
.rp-screen { position: relative; flex: 1; border-radius: 36px 36px 0 0; overflow: hidden; background: var(--rp-bg); }
@media (max-width: 900px) {
.rp-screen { border-radius: 28px 28px 0 0; } }
.rp-bg { position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, rgb(79 70 229 / .32), transparent 55%), radial-gradient(circle at 100% 38%, rgb(84 150 235 / .26), transparent 60%), radial-gradient(circle at 20% 100%, rgb(226 132 200 / .22), transparent 55%); }
.rp-scr { position: absolute; inset: 0; padding: 40px 13px 10px; display: flex; flex-direction: column; gap: 9px; font-size: 10px; transition: opacity .5s var(--ease), transform .6s var(--ease); overflow: hidden; }
.rp-scr:not(.on) { opacity: 0; transform: translateY(20px); pointer-events: none; }
@media (max-width: 900px) {
.rp-scr { zoom: .76; padding-top: 36px; } }
.rp h5 { margin: 0; font-family: "Space Grotesk", var(--display); font-weight: 700; letter-spacing: -0.02em; }
.rp-round { width: 30px; height: 30px; border-radius: 50%; background: rgb(255 255 255 / .75); display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: 10px; }
.rp-round svg { width: 14px; height: 14px; }
.rp-hello { display: flex; justify-content: space-between; align-items: center; }
.rp-hello small { font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rp-acc); }
.rp-hello h5 { font-size: 22px; }
.rp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rp-tiles div { background: rgb(255 255 255 / .6); border: 1px solid rgb(255 255 255 / .8); border-radius: 13px; padding: 9px 9px 8px; }
.rp-tiles b { display: block; font-family: "Space Grotesk", var(--display); font-size: 17px; }
.rp-tiles small { color: var(--rp-sub); font-size: 8.5px; }
.rp-chips { display: flex; gap: 5px; }
.rp-chips span { background: rgb(255 255 255 / .7); border-radius: 999px; padding: 5px 10px; font-weight: 700; font-size: 9.5px; white-space: nowrap; }
.rp-h { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.rp-h b { font-family: "Space Grotesk", var(--display); font-size: 14px; }
.rp-h span { color: var(--rp-acc); font-weight: 700; font-size: 9.5px; }
.rp-latest { display: flex; gap: 8px; margin-right: -13px; }
.rp-latest > div { flex: 0 0 96px; }
.rp-latest .c { position: relative; aspect-ratio: 1; border-radius: 11px; box-shadow: 0 6px 14px -8px rgb(0 0 0 / .4); }
.rp-badge { position: absolute; top: 5px; right: 5px; background: var(--rp-green); color: #fff; font-size: 7.5px; font-weight: 800; padding: 2px 6px; border-radius: 5px; }
.rp-latest b { display: block; font-size: 9.5px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-latest small { color: var(--rp-sub); font-size: 8.5px; }
.rp-wish { display: flex; flex-direction: column; gap: 5px; }
.rp-wish > div { display: flex; align-items: center; gap: 8px; background: rgb(255 255 255 / .65); border-radius: 12px; padding: 6px 8px; }
.rp-wish i { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.rp-wish b { display: block; font-size: 10.5px; }
.rp-wish small { color: var(--rp-sub); font-size: 8.5px; }
.rp-wish em { margin-left: auto; font-style: normal; color: var(--rp-sub); font-size: 12px; }
.rp-back { color: var(--rp-acc); font-weight: 700; font-size: 11px; }
.rp-addhead { display: grid; justify-items: center; gap: 4px; text-align: center; margin: 4px 0 2px; }
.rp-ico { width: 38px; height: 38px; border-radius: 12px; background: rgb(255 255 255 / .6); color: var(--rp-acc); display: grid; place-items: center; margin-bottom: 4px; }
.rp-ico svg { width: 18px; height: 18px; }
.rp-addhead h5 { font-size: 19px; }
.rp-addhead small { color: var(--rp-sub); font-size: 9.5px; }
.rp-fmt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rp-fmt span { display: grid; justify-items: center; gap: 3px; background: rgb(255 255 255 / .55); border-radius: 12px; padding: 9px 0; font-weight: 700; font-size: 9px; color: #334; }
.rp-fmt span svg { width: 14px; height: 14px; }
.rp-fmt span.on { background: var(--rp-green); color: #fff; }
.rp-input { display: flex; align-items: center; gap: 7px; background: rgb(255 255 255 / .6); border-radius: 12px; padding: 9px 10px; color: #8a8fb0; font-size: 10px; }
.rp-input svg { width: 12px; height: 12px; }
.rp-btn { display: flex; justify-content: center; align-items: center; gap: 6px; background: var(--rp-acc); color: #fff; border-radius: 12px; padding: 10px; font-weight: 800; font-size: 11px; }
.rp-btn svg { width: 12px; height: 12px; }
.rp-adv, .rp-or { text-align: center; color: var(--rp-sub); font-size: 8.5px; font-weight: 700; letter-spacing: .08em; }
.rp-scanbtn { justify-self: center; align-self: center; display: inline-flex; align-items: center; gap: 6px; background: rgb(255 255 255 / .65); border-radius: 11px; padding: 8px 14px; font-weight: 800; font-size: 10.5px; transition: transform .2s, background-color .2s; }
.rp-scanbtn svg { width: 13px; height: 13px; }
.rp-scanbtn.press { transform: scale(.94); background: #fff; box-shadow: 0 0 0 2px var(--rp-acc); }
.rp-manual { text-align: center; color: var(--rp-acc); font-size: 9px; font-weight: 700; }
.rp-cam { position: absolute; inset: 0; background: #000; z-index: 4; transform: translateY(var(--cam, 100%)); transition: transform .55s var(--ease); display: grid; place-items: center; }
.rp-x { position: absolute; top: 34px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; display: grid; place-items: center; font-size: 18px; z-index: 2; }
.rp-feed { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, #4a4639, #15130f 75%); display: grid; place-items: center; overflow: hidden; }
.rp-sleeve { width: 82%; aspect-ratio: 1; background: #ece6d8; border-radius: 3px; transform: rotate(-4deg) translateY(var(--sway, 0)); padding: 14px; display: flex; flex-direction: column; box-shadow: 0 20px 40px rgb(0 0 0 / .5); filter: blur(var(--blur, 1.2px)); transition: filter .4s; will-change: transform; }
.rp-sleeve .tl { font-size: 8px; color: #6b6255; line-height: 1.6; }
.rp-sleeve .tl b { color: #2d281f; }
.rp-sleeve .barcode { margin-top: auto; align-self: flex-end; background: #fff; padding: 6px 8px 3px; border-radius: 3px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rp-sleeve .barcode i { width: 84px; height: 34px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 3px, #111 3px 4px, transparent 4px 7px, #111 7px 10px, transparent 10px 11px); }
.rp-sleeve .barcode small { font: 600 7px/1 var(--text); letter-spacing: .12em; }
.rp-found { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%) scale(var(--fs, 0)); background: var(--rp-green); color: #fff; font-weight: 800; font-size: 12px; padding: 7px 16px; border-radius: 999px; transition: transform .35s var(--spring); z-index: 2; }
.rp-cover { margin: 2px 14px 0; aspect-ratio: 1; border-radius: 14px; position: relative; overflow: hidden; background: radial-gradient(circle at 30% 28%, #fde68a, #f97316 38%, #be123c 70%, #3b0a2a); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .5); }
.rp-cover span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: .95; letter-spacing: -0.03em; }
.rp-tag { align-self: flex-start; font-size: 8px; font-weight: 800; letter-spacing: .1em; background: rgb(255 255 255 / .7); padding: 2px 7px; border-radius: 5px; margin-top: 4px; }
.rp-title { font-size: 17px; }
.rp-artist { color: var(--rp-sub); font-size: 11px; margin-top: -6px; }
.rp-pills { display: flex; gap: 5px; }
.rp-pills span { font-size: 8.5px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: rgb(255 255 255 / .6); }
.rp-pills .ok { background: #d9f2e3; color: #15803d; }
.rp-label { font-size: 8.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rp-sub); margin-top: 2px; }
.rp-card { background: rgb(255 255 255 / .65); border: 1px solid rgb(255 255 255 / .85); border-radius: 14px; padding: 9px 10px; }
.rp-loc { display: flex; gap: 8px; align-items: center; padding-bottom: 7px; border-bottom: 1px solid rgb(0 0 0 / .06); }
.rp-box { width: 26px; height: 26px; border-radius: 8px; background: #d9f2ee; color: #0f766e; display: grid; place-items: center; }
.rp-box svg { width: 13px; height: 13px; }
.rp-loc small { display: block; color: var(--rp-sub); font-size: 8.5px; }
.rp-loc b { font-size: 11px; }
.rp-kv { display: flex; justify-content: space-between; padding-top: 7px; font-size: 10.5px; }
.rp-kv span { color: var(--rp-sub); }
.rp-reqh { display: flex; justify-content: space-between; align-items: center; }
.rp-reqh small { font-size: 8.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rp-sub); }
.rp-reqh span { background: #0f766e; color: #fff; font-weight: 800; font-size: 9px; padding: 5px 9px; border-radius: 8px; }
.rp-req p { margin: 7px 0 0; color: var(--rp-sub); font-size: 9.5px; }
.rp-collh { display: flex; justify-content: space-between; align-items: center; }
.rp-collh h5 { font-size: 21px; }
.rp-collh em { font-style: normal; color: var(--rp-acc); font-size: 14px; }
.rp-count { color: var(--rp-sub); font-size: 9.5px; margin-top: -5px; }
.rp-barico { margin-left: auto; color: #555; }
.rp-cats { display: flex; gap: 5px; overflow: hidden; }
.rp-cats span { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: rgb(255 255 255 / .6); font-weight: 700; font-size: 9.5px; }
.rp-cats span.on { background: var(--rp-acc); color: #fff; }
.rp-sortrow { display: flex; gap: 6px; }
.rp-sort { flex: 1; }
.rp-views { display: flex; gap: 2px; background: rgb(255 255 255 / .5); border-radius: 11px; padding: 3px; }
.rp-views i { width: 26px; border-radius: 8px; display: grid; place-items: center; color: #9aa0b8; }
.rp-views i svg { width: 12px; height: 12px; }
.rp-views i.on { background: #fff; color: var(--rp-acc); box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
.rp-scr > * { flex-shrink: 0; }
.phone.rp.cam-on .rp-nav { visibility: hidden; }
.phone.rp.cam-on .rp-screen { border-radius: 36px; }
.rp-map small { display: block; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rp-sub); margin-bottom: 6px; }
.rp-mapg { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.rp-mapg b { display: block; font-size: 9px; margin-bottom: 3px; }
.rp-mapg i { display: block; height: 3px; border-radius: 2px; background: rgb(0 0 0 / .08); overflow: hidden; width: 70%; }
.rp-mapg u { display: block; height: 100%; background: var(--rp-acc); }
.rp-comp { padding: 0; overflow: hidden; }
.rp-comp .niche-head { padding: 8px 10px 0; }
.rp-comp .shelf-scroll { padding: 10px 8px 0; overflow: hidden; }
.rp-comp .shelf-spine { animation: none; --highlight-rgb: 79 70 229; }
.rp-comp .shelf-spine.hl { transform: translateY(-8px); box-shadow: 0 0 0 2px rgb(79 70 229); }
.rp-nav { position: relative; display: grid; grid-template-columns: 1fr 1fr 54px 1fr 1fr; align-items: center; height: 56px; background: rgb(240 244 255 / .96); border-radius: 0 0 36px 36px; padding: 0 6px 6px; box-shadow: 0 -1px 0 rgb(0 0 0 / .05); }
.rp-nav span { display: grid; justify-items: center; gap: 2px; color: #6b7280; transition: color .3s; }
.rp-nav span svg { width: 16px; height: 16px; fill: currentColor; }
.rp-nav span:nth-child(2) svg { fill: none; }
.rp-nav span b { font-size: 8px; font-weight: 700; }
.rp-nav span.on { color: var(--rp-acc); }
.rp-fab { justify-self: center; width: 44px; height: 44px; margin-top: -26px; border-radius: 50%; background: var(--rp-acc); color: #fff; font-style: normal; font-size: 24px; font-weight: 400; display: grid; place-items: center; box-shadow: 0 10px 20px -6px rgb(79 70 229 / .6), 0 0 0 4px rgb(240 244 255); }
@media (max-width: 900px) {
.rp-nav { height: 46px; border-radius: 0 0 28px 28px; grid-template-columns: 1fr 1fr 44px 1fr 1fr; }
.rp-fab { width: 36px; height: 36px; font-size: 20px; }
.rp-nav span b { font-size: 7px; } }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(40px); }

/* Reduced motion: calmer, not frozen. Fades, colour changes and scroll-driven scenes stay;
   travel, bounce, blur and endless loops go. */
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
.hero-bg i, .cam-laser, .disc { animation: none; }
.hero h1 .w, .lead, .cta, .scene, .shelf-spine, .card, tbody tr, .peek, .sheet, .frow, .member, .pf, .wk-fields span, .app-nav span.new, .navtypes span.new, .toast.in, .made, .status { animation-name: fade !important; }
.reveal.pending { transform: none; }
.stage.leaving .shelf-spine, .stage.leaving .card, .stage.leaving tr { transform: none; }
.shelf-spine:hover, .shelf-spine.is-open { transform: translateY(-4px); }
.card:hover, .look:hover, .btn:hover, .ex:hover, .look-ex:hover .preview { transform: none; }
.rig { transform: none !important; }
}

/* footer: centred, as on the previous page */
.foot { margin-top: 120px; border-top: 1px solid var(--line); padding-block: 48px 36px; font-size: 14px; color: var(--sub); text-align: center; }
.foot-top { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.foot .brand { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.foot-links a { text-decoration: none; font-weight: 500; transition: color .2s; }
.foot-links a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 28px auto 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; font-size: 12px; }
.foot-bottom span:last-child { opacity: .6; font-size: 11px; }

/* ---------- mobile menu ---------- */
.nav-menu { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgb(14 19 32 / .06); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-menu span { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .3s var(--spring); }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-panel { display: grid; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 18px; background: rgb(244 245 248 / .98); box-shadow: 0 20px 40px -24px rgb(14 19 32 / .35); border-top: 1px solid var(--line); }
.menu-panel a { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-panel a:last-child { border-bottom: 0; }
@media (min-width: 761px) { .menu-panel { display: none !important; } }
@media (max-width: 760px) { .nav-menu { display: inline-flex; } .nav-cta { margin-left: auto; } .nav .wrap { gap: 10px; } }

/* ---------- phone layout ---------- */
@media (max-width: 900px) {
  .sec { padding-block: 88px 24px; }
  .story-pin { align-items: safe center; padding-top: calc(64px + env(safe-area-inset-top, 0px)); padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .story-grid > div:first-child { order: 2; }
  .story-grid { gap: 14px; }
  .vis { height: min(48svh, 420px); }
  .step h3 { font-size: 26px; }
  .step p { font-size: 15px; }
  .studio-box { display: flex; flex-direction: column; align-items: stretch; margin-top: 28px; gap: 12px; }
  .controls { min-width: 0; }
  .controls { order: -1; flex-direction: row; gap: 6px; padding: 2px max(16px, env(safe-area-inset-left, 0px)) 8px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .controls::-webkit-scrollbar { display: none; }
  .controls .group { flex-direction: row; gap: 6px; flex: 0 0 auto; }
  .controls h3, .mine-note { display: none; }
  .looks, .looks.one { display: flex; gap: 6px; }
  .look { flex: 0 0 112px; scroll-snap-align: start; }
  .preview { min-height: 0; }
  .p-cards .p-card:nth-child(n+5) { display: none; }
  .final-grid { margin-top: 28px; }
  .final-grid > .final-side { order: -1; }
  .final-shelf { margin-top: 32px; }
  .foot { margin-top: 64px; }
  .own2 { margin-top: 48px; }
  .wk, .app { min-height: 0; }
  .app-cards { min-height: 120px; }
}
@media (max-width: 600px) {
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin-top: 32px; }
  .feat div { grid-template-columns: 30px minmax(0, 1fr); padding: 14px 0; align-items: center; }
  .feat .dot { grid-row: auto; width: 30px; height: 30px; border-radius: 10px; }
  .feat .dot svg { width: 15px; height: 15px; }
  .feat b { font-size: 14px; line-height: 1.25; }
  .feat div > span:not(.dot) { display: none; }
  .hero { padding-top: 104px; }
  .scene { margin-top: 48px; }
  .facts2 { margin-top: 36px; }
}

/* headroom so a spine lifted by the pointer is not cut at the top */
.final-shelf { padding-top: 22px; overflow: visible; overflow-x: clip; }

/* ---------- contributors ---------- */
.contribs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 56px; }
.contrib { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px 14px; align-content: start; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: transform .3s var(--spring), box-shadow .3s; }
.contrib:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 18px 30px -18px rgb(14 19 32 / .4); }
.contrib-av { position: relative; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--c); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 15px; color: rgb(14 19 32 / .7); text-transform: uppercase; }
.contrib-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contrib-who { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.contrib-who b { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contrib-who small { font-size: 13px; font-weight: 600; color: var(--accent); }
.contrib-what { grid-column: 1 / -1; color: var(--sub); font-size: 14px; line-height: 1.5; }
#contributors code { font: 500 .88em "JetBrains Mono", monospace; background: rgb(14 19 32 / .06); padding: 1px 5px; border-radius: 5px; }
.contrib-cta { margin-top: 32px; display: flex; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .contrib:hover { transform: none; } }
