/* ============================================================
   KASA OS — kasathekreator.com
   Dark 2026 desktop: live video wall, glass windows, dock.
   ============================================================ */

:root {
	--ink: #0a0a0c;
	--ink-2: #121216;
	--ink-3: #1b1b21;
	--paper: #f4f1ea;
	--paper-dim: rgba(244, 241, 234, .62);
	--line: rgba(244, 241, 234, .12);
	--violet: #8b5cf6;
	--magenta: #ff2fd2;
	--grad: linear-gradient(135deg, #8b5cf6 0%, #ff2fd2 100%);
	--glass: rgba(14, 14, 18, .78);
	--glass-2: rgba(22, 22, 28, .9);
	--radius: 14px;
	--display: 'Archivo Black', Impact, 'Arial Black', sans-serif;
	--ui: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
	--menubar: 40px;
	--dock: 84px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow: hidden; height: 100%; }
body {
	margin: 0; background: var(--ink); color: var(--paper);
	font-family: var(--ui); font-size: 16px; line-height: 1.5;
	overflow: hidden; height: 100dvh;
	-webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; }
.h-mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); margin: 1.4rem 0 .6rem; }
.h-mono:first-child { margin-top: 0; }

/* ---------- OS canvas ---------- */
.os { position: fixed; inset: 0; overflow: clip; }

/* ---------- Boot ---------- */
.boot { position: fixed; inset: 0; z-index: 900; background: var(--ink); display: grid; place-items: center; transition: opacity .5s var(--ease), visibility .5s; }
.boot.is-done { opacity: 0; visibility: hidden; }
.boot__inner { display: grid; justify-items: center; gap: 22px; }
.boot__k { width: 84px; height: 84px; animation: kpulse 1.4s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(255, 47, 210, .35)); }
@keyframes kpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.boot__bar { width: 200px; height: 3px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.boot__bar span { display: block; height: 100%; width: 0; background: var(--grad); animation: bootbar 1.3s var(--ease) forwards; }
@keyframes bootbar { to { width: 100%; } }
.boot__msg { color: var(--paper-dim); }

/* ---------- Wallpaper ---------- */
.wall { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #000; }
.wall__v { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); }
.wall__v--1 { filter: saturate(1.1) contrast(1.05) brightness(.95); }
.wall__shade { position: absolute; inset: 0; background:
	linear-gradient(180deg, rgba(10, 10, 12, .55) 0, rgba(10, 10, 12, 0) 22%, rgba(10, 10, 12, 0) 55%, rgba(10, 10, 12, .85) 100%); pointer-events: none; }
.wall__grain { position: absolute; inset: 0; pointer-events: none; opacity: .22; 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
@media (max-width: 820px) {
	.wall { grid-template-columns: 1fr; }
	.wall__v--1, .wall__v--2 { display: none; }
}

.wallmark { position: absolute; right: 28px; bottom: calc(var(--dock) + 26px); z-index: 1; pointer-events: none; display: grid; gap: 2px; justify-items: end; text-align: right; }
.wallmark__name { font-family: var(--display); font-size: clamp(88px, 15vw, 210px); line-height: .82; letter-spacing: -.04em; color: var(--paper); text-shadow: 0 0 40px rgba(255, 47, 210, .25), 0 0 2px rgba(0, 0, 0, .6); }
.wallmark__sub { color: var(--paper-dim); padding-right: 6px; }
@media (max-width: 820px) { .wallmark { right: 16px; bottom: calc(var(--dock) + 18px); } }

/* ---------- Menubar ---------- */
.menubar { position: absolute; top: 0; left: 0; right: 0; height: var(--menubar); z-index: 500;
	display: flex; align-items: center; gap: 18px; padding: 0 14px;
	background: rgba(10, 10, 12, .55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
	border-bottom: 1px solid var(--line); }
.menubar__apple { display: flex; align-items: center; gap: 8px; }
.menubar__apple svg { width: 22px; height: 22px; }
.menubar__brand { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; }
.menubar__nav { display: flex; gap: 4px; margin-left: 8px; }
.menubar__nav button { padding: 5px 11px; border-radius: 7px; font-size: .92rem; color: var(--paper); opacity: .85; transition: background .15s, opacity .15s; }
.menubar__nav button:hover, .menubar__nav button.is-open { background: rgba(255, 255, 255, .1); opacity: 1; }
.menubar__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.menubar__clock { color: var(--paper); }
.nowplaying { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-size: .78rem; color: var(--paper); }
.nowplaying:hover { background: rgba(255, 255, 255, .12); }
.nowplaying__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.nowplaying__bars i { width: 3px; background: var(--magenta); border-radius: 1px; animation: eq .9s ease-in-out infinite; height: 40%; }
.nowplaying__bars i:nth-child(2) { animation-delay: .2s; height: 100%; }
.nowplaying__bars i:nth-child(3) { animation-delay: .4s; height: 65%; }
@keyframes eq { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
@media (max-width: 820px) {
	.menubar { gap: 8px; padding: 0 10px; }
	.menubar__nav { display: none; }
	.nowplaying__txt { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---------- Windows ---------- */
.win { position: absolute; z-index: 20; width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - var(--menubar) - var(--dock) - 28px);
	display: flex; flex-direction: column;
	background: var(--glass); backdrop-filter: blur(28px) saturate(1.5); -webkit-backdrop-filter: blur(28px) saturate(1.5);
	border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .5);
	transform-origin: 50% 100%;
	animation: winin .32s var(--ease); }
.win[hidden] { display: none; }
.win.is-front { border-color: rgba(255, 255, 255, .22); }
.win.is-max { width: calc(100vw - 16px) !important; max-height: calc(100dvh - var(--menubar) - var(--dock) - 16px) !important; left: 8px !important; top: calc(var(--menubar) + 8px) !important; }
@keyframes winin { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.win__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; flex: 0 0 auto;
	border-bottom: 1px solid var(--line); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; }
.win__bar:active { cursor: grabbing; }
.win__lights { display: flex; gap: 2px; margin-left: -8px; }
/* 12px dots, 28px hit areas (WCAG 2.5.8 wants 24px minimum); glyphs appear on hover like macOS */
.win__lights button { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.win__lights button::before { content: ''; width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .35); background: var(--light); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .15s var(--ease); }
.win__lights button::after { content: attr(data-glyph); position: absolute; font: 700 11px/1 var(--mono); color: rgba(0, 0, 0, .65); opacity: 0; transition: opacity .15s; }
.win__bar:hover .win__lights button::after, .win__lights button:focus-visible::after { opacity: 1; }
.win__lights button:hover::before { transform: scale(1.15); }
.win__close { --light: #ff5f57; }
.win__min { --light: #febc2e; }
.win__max { --light: #28c840; }
.win__x { display: none; }
.win__title { color: var(--paper-dim); letter-spacing: .1em; text-transform: uppercase; }
.win__body { padding: 22px; overflow: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.win__body--flush { padding: 0; }
.win__body::-webkit-scrollbar { width: 8px; }
.win__body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .15); border-radius: 8px; }

/* Default positions (desktop). JS cascades. */
.win--music { width: min(900px, calc(100vw - 32px)); }
.win--notes { width: min(860px, calc(100vw - 32px)); }
.win--photos { width: min(860px, calc(100vw - 32px)); }
.win--video { width: min(980px, calc(100vw - 32px)); }
.win--shows, .win--contact, .win--about { width: min(520px, calc(100vw - 32px)); }
.win--term { width: min(620px, calc(100vw - 32px)); }
.win--listen { width: min(820px, calc(100vw - 32px)); }

@media (max-width: 820px) {
	.win { left: 8px !important; right: 8px !important; top: calc(var(--menubar) + 8px) !important; width: auto !important;
		max-height: calc(100dvh - var(--menubar) - var(--dock) - 16px); animation: winup .32s var(--ease); }
	@keyframes winup { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
	.win__bar { cursor: default; height: 44px; }
	.win__lights button { width: 36px; height: 36px; }
	.win__lights button::before { width: 15px; height: 15px; }
	.win__x { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; min-height: 32px; }
	.win__body { padding: 16px; }
}

/* ---------- Buttons / chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--paper); color: var(--ink);
	font-weight: 700; font-size: .9rem; text-decoration: none; border: 1px solid transparent; transition: transform .15s var(--ease), background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--spotify { background: #1ed760; color: #06210f; }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, .25); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 7px 12px; font-size: .8rem; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; margin-bottom: 10px; }
.chip--dim { background: rgba(255, 255, 255, .1); color: var(--paper-dim); }

/* ---------- MUSIC: releases ---------- */
.releases { display: grid; }
.rel { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; border-bottom: 1px solid var(--line); }
.rel--flip .rel__art { order: 2; }
.rel__art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.rel__txt { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.rel__title { font-family: var(--display); font-size: clamp(26px, 3.4vw, 46px); line-height: .95; letter-spacing: -.02em; margin: 0; text-transform: uppercase; }
.rel--lead .rel__title { font-size: clamp(34px, 4.2vw, 58px); }
.rel--lead .rel__txt { background: linear-gradient(160deg, rgba(139, 92, 246, .18), rgba(255, 47, 210, .08) 60%, transparent); }
.rel__meta { color: var(--paper-dim); margin: 0; }
.rel__blurb { margin: 4px 0 0; color: var(--paper-dim); font-size: .95rem; }
.rel__tracks { margin: 8px 0 0; padding-left: 1.2em; font-size: .88rem; color: var(--paper-dim); columns: 1; }
.rel__tracks li { padding: 2px 0; }
.rel__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.embed { padding: 14px; background: var(--ink-2); }
.embed iframe { border-radius: 12px; }
@media (max-width: 680px) {
	.rel { grid-template-columns: 1fr; min-height: 0; }
	.rel--flip .rel__art { order: 0; }
	.rel__txt { padding: 20px; }
}

/* ---------- VIDEO ---------- */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.reel { margin: 0; background: var(--ink); display: flex; flex-direction: column; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.reel--wide { grid-column: 1 / -1; }
.reel--wide video { aspect-ratio: 16 / 9; }
.reel figcaption { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.reel figcaption .mono { color: var(--paper-dim); }
@media (max-width: 820px) {
	.reels { grid-template-columns: 1fr; gap: 0; background: none; }
	.reel video { aspect-ratio: 9 / 16; max-height: 70dvh; }
	.reel--wide video { aspect-ratio: 16 / 9; max-height: none; }
}

/* ---------- SHOWS ---------- */
.shows { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border-radius: 10px; overflow: hidden; }
.show { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; background: var(--ink-2); }
.show__date { color: var(--paper); }
.show__venue { font-weight: 700; display: flex; flex-direction: column; }
.show__venue small { font-weight: 400; color: var(--paper-dim); }
.show__note { color: var(--paper-dim); }
.shows--past .show { opacity: .75; }
.shows__empty, .shows__book { color: var(--paper-dim); }
.shows__book { margin-top: 1.4rem; font-size: .9rem; }
@media (max-width: 520px) { .show { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- NOTES ---------- */
.notes { display: grid; grid-template-columns: 240px 1fr; min-height: 420px; height: 100%; }
.notes__side { background: rgba(0, 0, 0, .25); border-right: 1px solid var(--line); padding: 14px 0; overflow: auto; }
.notes__folder { padding: 0 16px 8px; color: var(--paper-dim); }
.notes__list { list-style: none; margin: 0; padding: 0 8px; display: grid; gap: 2px; }
.note-tab { width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px; display: flex; flex-direction: column; gap: 2px; }
.note-tab b { font-weight: 700; font-size: .92rem; }
.note-tab .mono { color: var(--paper-dim); }
.note-tab:hover { background: rgba(255, 255, 255, .06); }
.note-tab.is-active { background: rgba(139, 92, 246, .28); }
.notes__main { padding: 26px 30px; overflow: auto; }
.note__date { color: var(--paper-dim); text-align: center; margin: 0 0 8px; }
.note__title { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1; margin: 0 0 18px; letter-spacing: -.02em; }
.note h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); margin: 1.6rem 0 .4rem; }
.note p { margin: 0 0 1em; font-size: 1.02rem; max-width: 56ch; }
@media (max-width: 680px) {
	.notes { grid-template-columns: 1fr; min-height: 0; }
	.notes__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 0; }
	.notes__list { display: flex; overflow-x: auto; padding: 0 10px; gap: 6px; }
	.note-tab { white-space: nowrap; }
	.note-tab .mono { display: none; }
	.notes__main { padding: 20px 18px; }
}

/* ---------- LISTEN ---------- */
.arch { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
.arch__cover { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.arch__title { font-family: var(--display); font-size: clamp(28px, 3.4vw, 44px); line-height: .95; letter-spacing: -.02em; margin: 6px 0 12px; }
.arch__txt p { color: var(--paper-dim); margin: 0 0 12px; }
.arch__track { display: flex; flex-direction: column; margin-top: 14px !important; color: var(--paper) !important; }
.arch__track .mono { color: var(--paper-dim); }
.arch__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 680px) { .arch { grid-template-columns: 1fr; } .arch__cover { max-width: 240px; } }

/* ---------- Player ---------- */
.player { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); margin-top: 8px; }
.player__btn { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; }
.player__btn svg { width: 18px; height: 18px; }
.player__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); position: relative; cursor: pointer; overflow: hidden; }
.player__bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); }
.player__time { font-family: var(--mono); font-size: .72rem; color: var(--paper-dim); min-width: 84px; text-align: right; }

/* ---------- PHOTOS ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; }
.grid__item { aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), filter .3s; }
.grid__item:hover img { transform: scale(1.04); }
@media (max-width: 680px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.lightbox__close { position: absolute; top: 14px; right: 18px; font-size: 40px; line-height: 1; color: #fff; }

/* ---------- CONTACT ---------- */
.card { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(139, 92, 246, .22), rgba(255, 47, 210, .1)); border: 1px solid rgba(255, 255, 255, .12); margin-bottom: 18px; }
.card__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .25); }
.card__id h2 { font-family: var(--display); font-size: 28px; margin: 0; letter-spacing: -.02em; }
.card__id p { margin: 2px 0 0; color: var(--paper-dim); }
.contact__lead { margin: 0 0 4px; color: var(--paper-dim); }
.contact__mail { display: inline-block; font-family: var(--display); font-size: clamp(18px, 2.6vw, 24px); text-decoration: none; letter-spacing: -.01em; margin-bottom: 18px; word-break: break-all; }
.contact__mail:hover { color: var(--magenta); }
.contact__apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-size: .78rem; color: var(--paper-dim); }
.app:hover { color: var(--paper); }
.app__ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 16px rgba(0, 0, 0, .4); transition: transform .15s var(--ease); }
.app:hover .app__ic { transform: translateY(-3px) scale(1.04); }
.app__ic svg { width: 28px; height: 28px; }
.app__ic--sp { background: #1ed760; color: #06210f; }
.app__ic--ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.app__ic--tt { background: #111; border: 1px solid rgba(255, 255, 255, .2); }
.app__ic--yt { background: #ff0033; }
.app__ic--am { background: linear-gradient(180deg, #fb5c74, #fa233b); }
.app__ic--vc { background: var(--grad); }
.join { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.join label { color: var(--paper-dim); letter-spacing: .12em; text-transform: uppercase; }
.join__row { display: flex; gap: 8px; }
.join input[type=email] { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .3); color: var(--paper); font: inherit; }
.join small { color: var(--paper-dim); }
.contact__copy { margin: 18px 0 0; color: var(--paper-dim); }

/* ---------- ABOUT ---------- */
.about { text-align: center; }
.about__k { width: 72px; height: 72px; margin: 6px auto 12px; }
.about h2 { font-family: var(--display); margin: 0; font-size: 30px; letter-spacing: -.02em; }
.about p { color: var(--paper-dim); margin: 6px 0; }
.about__tag { color: var(--magenta); margin-top: 14px; }

/* ---------- TERMINAL ---------- */
.term { background: rgba(0, 0, 0, .55); font-family: var(--mono); font-size: .82rem; min-height: 260px; max-height: 60dvh; display: flex; flex-direction: column; }
.term__out { margin: 0; padding: 14px 16px 6px; white-space: pre-wrap; word-break: break-word; flex: 1; overflow: auto; color: #c7f9cc; }
.term__out b { color: #fff; }
.term__out .dim { color: var(--paper-dim); }
.term__out .mag { color: var(--magenta); }
.term__in { display: flex; gap: 8px; padding: 6px 16px 14px; align-items: center; color: #c7f9cc; }
.term__in input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: inherit; caret-color: var(--magenta); }

/* ---------- Dock ---------- */
.dock { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 600;
	display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px;
	background: rgba(20, 20, 26, .6); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.dock__app { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 2px 8px; transition: transform .18s var(--ease); }
.dock__app:hover { transform: translateY(-8px) scale(1.12); }
.dock__app.is-open::after { content: ''; position: absolute; bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--paper); }
.dock__label { position: absolute; top: -30px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .75); font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; opacity: 0; pointer-events: none; transition: opacity .15s; white-space: nowrap; }
.dock__app:hover .dock__label { opacity: 1; }
.dock__sep { width: 1px; height: 40px; background: rgba(255, 255, 255, .18); margin: 0 4px 12px; }
.tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 18px rgba(0, 0, 0, .45); }
.tile svg { width: 26px; height: 26px; }
.tile--music { background: linear-gradient(160deg, #fc5c7d, #6a82fb); }
.tile--video { background: linear-gradient(160deg, #ff2fd2, #8b5cf6); }
.tile--shows { background: linear-gradient(160deg, #f7971e, #ffd200); color: #2a1a00; }
.tile--notes { background: linear-gradient(160deg, #fff3b0, #ffd166); color: #3a2a00; }
.tile--photos { background: linear-gradient(160deg, #43e97b, #38f9d7); color: #04302a; }
.tile--listen { background: linear-gradient(160deg, #ff9966, #ff5e62); color: #3a1200; }
.tile--contact { background: linear-gradient(160deg, #4facfe, #00f2fe); color: #03293a; }
.tile--term { background: #1a1a1f; border: 1px solid rgba(255, 255, 255, .2); color: #c7f9cc; }
@media (max-width: 820px) {
	:root { --dock: 74px; }
	.dock { bottom: 8px; gap: 0; padding: 6px 5px; max-width: calc(100vw - 16px); overflow-x: auto; border-radius: 18px; }
	.dock__app { padding: 0 1px 6px; }
	.dock__app:hover { transform: none; }
	.tile { width: 40px; height: 40px; border-radius: 11px; }
	.tile svg { width: 20px; height: 20px; }
	.dock__sep { display: none; }
}

/* ---------- Generic page (index.php) ---------- */
.k-page { max-width: 720px; margin: 0 auto; padding: 60px 20px; height: 100dvh; overflow: auto; }
.k-page__back { color: var(--paper-dim); text-decoration: none; font-family: var(--mono); font-size: .8rem; }
.k-prose h1 { font-family: var(--display); font-size: 40px; letter-spacing: -.02em; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	.win, .boot__k, .nowplaying__bars i, .boot__bar span { animation: none !important; }
	.boot__bar span { width: 100%; }
}
